Logiweb(TM)

Logiweb aspects of seqcnt ( " , " ) in pyk

Up Help

The "pyk" aspect

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

The "value" aspect

define value of seqcnt ( t , c ) as norm { t is val : { c is val : if t r= quote x Init end quote then 1 else if t r= quote x Ponens end quote then 1 + seqcnt ( t first , c ) else if t r= quote x Probans end quote then 1 + seqcnt ( t first , c ) else if t r= quote x Verify end quote then 1 + seqcnt ( t first , c ) else if t r= quote x Curry end quote then 1 + seqcnt ( t first , c ) else if t r= quote x Uncurry end quote then 1 + seqcnt ( t first , c ) else if t r= quote x Deref end quote then 1 + seqcnt ( t first , c ) else if t r= quote x at y end quote then 1 + seqcnt ( t first , c ) else if t r= quote x infer y end quote then 1 + seqcnt ( t second , c ) else if t r= quote x endorse y end quote then 1 + seqcnt ( t second , c ) else if t r= quote x id est y end quote then 1 + seqcnt ( t first , c ) else if t r= quote All x : y end quote then 1 + seqcnt ( t second , c ) else if t r= quote x ;; y end quote then { 1 + seqcnt ( t first , c ) } + seqcnt ( t second , c ) else error ( t , LocateProofLine ( t , c ) diag ( "In seqcnt: 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