Logiweb(TM)

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

Up Help

The "pyk" aspect

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

The "value" aspect

define value of taceval ( t , s , c ) as norm { t is val : { s is val : { c is val : LET t tactic-rhs ( c ) BE { asterisk IN LET asterisk BE { d IN if .not. d then { eval ( d , true , c ) apply { { t :: { s :: { c :: <<>> } } } maptag } } untag else LET lookup ( t , s [[ hook-pre ]] , true ) 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 { r 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 { a IN LET asterisk prime prime head BE { asterisk IN LET asterisk prime prime tail BE { asterisk prime prime IN if .not. a then s [[ hook-res -> r ]] [[ hook-arg -> a ]] else error ( t , diag ( "Unknown tactic operator in root of argumentation:" ) 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