Logiweb(TM)

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

Up Help

The "pyk" aspect

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

The "value" aspect

define value of pterm1 ( t , s , n , c ) as norm { t is val : { s is val : { n is val : { c is val : LET t metadef ( c ) BE { asterisk IN LET asterisk BE { d IN if d != "all" then pterm2 ( t , s , c ) else LET univar ( t first , t first , n ) BE { asterisk IN LET asterisk BE { v IN LET pterm1 ( t second , { t first :: v } :: s , n + 1 , c ) BE { asterisk IN LET asterisk BE { t prime IN { make-root ( t , quote All v unquote : { t prime unquote } end quote ) :: { v :: { t prime :: true } } } } } } } } } } } } } 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