Logiweb(TM)

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

Up Help

The "pyk" aspect

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

The "value" aspect

define value of LocateProofLine ( v , c ) y as norm { v is val : { c is val : { y is val : LET Locate ( v , "proof" , c ) BE { asterisk IN LET asterisk BE { p IN LET Locate ( v , "line" , c ) BE { asterisk IN LET asterisk BE { l IN if { .not. p } .and. .not. l then dbug ( v ) diag ( "Line" ) form ( nth ( l tail , l head ) ) diag ( "in proof of" ) form ( nth ( p tail , p head ) ) glue ( ":\newline " ) y else if .not. p then dbug ( v ) diag ( "In proof of" ) form ( nth ( p tail , p head ) ) glue ( ":\newline " ) y else dbug ( v ) diag ( "Cannot locate error." ) diag ( "Look at ``macro'' and ``locate'' definitions." ) diag ( "" ) y } } } } } } } 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