Logiweb(TM)

Logiweb aspects of seqeval ( " , " ) in pyk

Up Help

The "pyk" aspect

Define pyk of seqeval ( asterisk , asterisk ) as "seqeval ( "! , "! )" end define

The "value" aspect

define value of seqeval ( t , c ) as norm { t is val : { c is val : if t r= quote x Init end quote then eval-Init ( t first , c ) else if t r= quote x Ponens end quote then eval-Ponens ( seqeval ( t first , c ) , t first , c ) else if t r= quote x Probans end quote then eval-Probans ( seqeval ( t first , c ) , t first , c ) else if t r= quote x Verify end quote then eval-Verify ( seqeval ( t first , c ) , t first , c ) else if t r= quote x Curry end quote then eval-Curry ( seqeval ( t first , c ) , t first , c ) else if t r= quote x Uncurry end quote then eval-Uncurry ( seqeval ( t first , c ) , t first , c ) else if t r= quote x Deref end quote then eval-Deref ( seqeval ( t first , c ) , t first , c ) else if t r= quote x at y end quote then eval-at ( t , true , c ) else if t r= quote x infer y end quote then eval-infer ( t first , seqeval ( t second , c ) , t second , c ) else if t r= quote x endorse y end quote then eval-endorse ( t first , seqeval ( t second , c ) , t second , c ) else if t r= quote x id est y end quote then eval-ie ( seqeval ( t first , c ) , t second , t first , c ) else if t r= quote All x : y end quote then eval-all ( t first , seqeval ( t second , c ) , t second , c ) else if t r= quote x ;; y end quote then eval-cut ( seqeval ( t first , c ) , seqeval ( t second , c ) , c ) else error ( t , LocateProofLine ( t , c ) diag ( "Unknown seqop in root of" ) disp ( t ) end diagnose ) } } end define

The pyk compiler, version 0.1.9 by Klaus Grue,
GRD-2007-07-12.UTC:20:11:58.175987 = MJD-54293.TAI:20:12:31.175987 = LGT-4690987951175987e-6