Logiweb(TM)

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

Up Help

The "pyk" aspect

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

The "value" aspect

define value of eval-all ( x , y , d , c ) as norm { x is val : { y is val : { d is val : { c is val : 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 if .not. { x metaavoid* ( c ) P } then error ( d , LocateProofLine ( d , c ) diag ( "All-seqop catches variable" ) disp ( x ) diag ( "which is free in the following premise:" ) disp ( x metaavoid* ( c ) P ) end diagnose ) else if .not. { x metaavoid* ( c ) C } then error ( d , LocateProofLine ( d , c ) diag ( "All-seqop catches variable" ) disp ( x ) diag ( "which is free in the following condition:" ) disp ( x metaavoid* ( c ) C ) end diagnose ) else { P :: { C :: { { make-root ( R , quote All x unquote : { 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