## Logiweb aspects of eval-Deref ( " , " , " ) in pyk

### The "pyk" aspect

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

### The "value" aspect

define value of eval-Deref ( x , d , c ) as norm { x is val : { d is val : { c is val : LET x 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 LET R stmt-rhs ( c ) BE { asterisk IN LET asterisk BE { R prime IN if R prime = true then error ( d , LocateProofLine ( d , c ) diag ( "Deref-seqop used on undefined statement:" ) disp ( R ) end diagnose ) else if R prime metaterm ( c ) then P :: { C :: { R prime :: <<>> } } else error ( d , LocateProofLine ( d , c ) diag ( "Deref-seqop applied to" ) disp ( R ) diag ( "produced non-meta term:" ) disp ( R prime ) 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