## Logiweb aspects of f.unitac-At ( " ) in pyk

### The "pyk" aspect

Define pyk of f.unitac-At ( asterisk ) as "f.unitac-At ( "! )" end define

### The "value" aspect

define value of f.unitac-At ( u ) as norm { u is val : LET u 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 { t 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 { s 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 { c IN LET asterisk prime prime prime head BE { asterisk IN LET asterisk prime prime prime tail BE { asterisk prime prime prime IN LET unieval ( t first , s , c ) BE { asterisk IN LET asterisk BE { s IN LET f.unitac-adapt ( "all" , s , c ) BE { asterisk IN LET asterisk BE { s IN LET s [[ hook-arg ]] BE { asterisk IN LET asterisk BE { a IN LET s [[ hook-res ]] BE { asterisk IN LET asterisk BE { r IN if .not. { r r= quote x imply y end quote } then error ( t , LocateProofLine ( t , c ) diag ( "Malformed result of hypothetical reasoning" ) disp ( r ) end diagnose ) else LET r first BE { asterisk IN LET asterisk BE { h IN LET r second BE { asterisk IN LET asterisk BE { r IN LET r First BE { asterisk IN LET asterisk BE { x IN LET r Second BE { asterisk IN LET asterisk BE { y IN LET s [[ hook-idx ]] BE { asterisk IN LET asterisk BE { i IN LET s [[ hook-idx -> i + 1 ]] BE { asterisk IN LET asterisk BE { s IN LET univar ( a , x , i ) BE { asterisk IN LET asterisk BE { v IN LET f.subst ( y , { x :: v } :: <<>> , c ) BE { asterisk IN LET asterisk BE { r prime IN LET make-root ( t , quote a unquote ;; { { { { LAP4' Init Deref Ponens at { h unquote } } at { r unquote } } at { r prime unquote } } Verify Ponens } end quote ) :: { a :: { { make-root ( t , quote { { { LAP4' Init Deref Ponens at { h unquote } } at { r unquote } } at { r prime unquote } } Verify Ponens end quote ) :: { { make-root ( t , quote { { { LAP4' Init Deref Ponens at { h unquote } } at { r unquote } } at { r prime unquote } } Verify end quote ) :: { { make-root ( t , quote { { LAP4' Init Deref Ponens at { h unquote } } at { r unquote } } at { r prime unquote } end quote ) :: { { make-root ( t , quote { LAP4' Init Deref Ponens at { h unquote } } at { r unquote } end quote ) :: { { make-root ( t , quote LAP4' Init Deref Ponens at { h unquote } end quote ) :: { { make-root ( t , quote LAP4' Init Deref Ponens end quote ) :: { { make-root ( t , quote LAP4' Init Deref end quote ) :: { { make-root ( t , quote LAP4' Init end quote ) :: { { make-root ( t , quote LAP4' end quote ) :: true } :: true } } :: true } } :: true } } :: { h :: true } } } :: { r :: true } } } :: { r prime :: true } } } :: true } } :: true } } :: true } } BE { asterisk IN LET asterisk BE { a IN LET make-root ( r , quote h unquote imply { r prime unquote } end quote ) :: { h :: { r prime :: true } } BE { asterisk IN LET asterisk BE { r IN { s [[ hook-arg -> a ]] [[ hook-res -> r ]] } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } end define

The pyk compiler, version 0.1.9 by Klaus Grue,
GRD-2007-07-12.UTC:20:13:13.678589 = MJD-54293.TAI:20:13:46.678589 = LGT-4690988026678589e-6