Logiweb(TM)

Logiweb aspects of unitac1 ( " , " , " ) in pyk

Up Help

The "pyk" aspect

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

The "value" aspect

define value of unitac1 ( t , s , c ) as norm { t is val : { s is val : { c is val : LET s [[ hook-idx -> 1 ]] [[ hook-uni -> true ]] BE { asterisk IN LET asterisk BE { s IN LET unieval ( t , s , c ) BE { asterisk IN LET asterisk BE { s IN LET inst ( s [[ hook-arg ]] , t , s [[ hook-uni ]] ) BE { asterisk IN LET asterisk BE { t IN LET taceval ( t , s , c ) catch 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 { e IN LET asterisk prime head BE { asterisk IN LET asterisk prime tail BE { asterisk prime IN LET asterisk BE { v IN if .not. e then v else if .not. v then v raise else error ( t , diag ( "Post unification tactic evalutation: Uncaught exception" ) 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