Logiweb(TM)

Logiweb aspects of eval-endorse ( " , " , " , " ) in pyk

Up Help

The "pyk" aspect

Define pyk of eval-endorse ( asterisk , asterisk , asterisk , asterisk ) as "eval-endorse ( "! , "! , "! , "! )" end define

The "value" aspect

define value of eval-endorse ( x , y , d , c ) as norm { x is val : { y is val : { d is val : { c is val : if .not. { x metaterm ( c ) } then error ( d , LocateProofLine ( d , c ) diag ( "Endorse-seqop used on non-meta term:" ) disp ( x ) end diagnose ) else LET y BE { asterisk IN LET { if asterisk atom then asterisk else { asterisk head } } :: { { if asterisk atom then asterisk else { asterisk tail } } :: true } BE { asterisk prime IN LET asterisk prime head BE { asterisk IN LET asterisk prime tail BE { asterisk prime IN LET asterisk BE { P IN LET asterisk prime head BE { asterisk IN LET asterisk prime tail BE { asterisk prime IN LET { if asterisk atom then asterisk else { asterisk head } } :: { { if asterisk atom then asterisk else { asterisk tail } } :: true } BE { asterisk prime prime IN LET asterisk prime prime head BE { asterisk IN LET asterisk prime prime tail BE { asterisk prime prime IN LET asterisk BE { C IN LET asterisk prime prime head BE { asterisk IN LET asterisk prime prime tail BE { asterisk prime prime IN LET { if asterisk atom then asterisk else { asterisk head } } :: { { if asterisk atom then asterisk else { asterisk tail } } :: true } BE { asterisk prime prime prime IN LET asterisk prime prime prime head BE { asterisk IN LET asterisk prime prime prime tail BE { asterisk prime prime prime IN LET asterisk BE { R IN LET asterisk prime prime prime head BE { asterisk IN LET asterisk prime prime prime tail BE { asterisk prime prime prime IN { P :: { { C set- x } :: { { make-root ( R , quote x unquote endorse { R unquote } end quote ) :: { x :: { R :: true } } } :: <<>> } } } } } } } } } } } } } } } } } } } } } } } } } } 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