Logiweb(TM)

Logiweb aspects of add-first-hyp ( " , " , " ) in pyk

Up Help

The "pyk" aspect

Define pyk of add-first-hyp ( asterisk , asterisk , asterisk ) as "add-first-hyp ( "! , "! , "! )" end define

The "value" aspect

define value of add-first-hyp ( h , p , c ) as norm { h is val : { p is val : { c is val : LET p 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 { l 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 { r 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 { a IN LET asterisk prime prime prime head BE { asterisk IN LET asterisk prime prime prime tail BE { asterisk prime prime prime IN if is-meta-term ( r , c ) then p else LET make-root ( a , quote { { A1' Init Deref Ponens at { h unquote } } at { r unquote } } ;; { a unquote } end quote ) :: { { make-root ( a , quote { A1' Init Deref Ponens at { h unquote } } at { r unquote } end quote ) :: { { make-root ( a , quote A1' Init Deref Ponens at { h unquote } end quote ) :: { { make-root ( a , quote A1' Init Deref Ponens end quote ) :: { { make-root ( a , quote A1' Init Deref end quote ) :: { { make-root ( a , quote A1' Init end quote ) :: { { make-root ( a , quote A1' end quote ) :: true } :: true } } :: true } } :: true } } :: { h :: true } } } :: { r :: true } } } :: { a :: true } } BE { asterisk IN LET asterisk BE { a IN LET make-root ( r , quote h unquote imply { r unquote } end quote ) :: { h :: { r :: true } } BE { asterisk IN LET asterisk BE { r IN { l :: { r :: { a :: <<>> } } } } } } } } } } } } } } } } } } } } } } } } } } } } } 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