define pyk of double rule prime mp as text unicode start of text unicode small d unicode small o unicode small u unicode small b unicode small l unicode small e unicode space unicode small r unicode small u unicode small l unicode small e unicode space unicode small p unicode small r unicode small i unicode small m unicode small e unicode space unicode small m unicode small p unicode end of text end unicode text end text end define
define tex of double rule prime mp as text unicode start of text unicode capital m unicode capital p unicode apostrophe unicode underscore unicode left brace unicode small d unicode right brace unicode end of text end unicode text end text end define
define statement of double rule prime mp as system prime s infer all metavar var a end metavar indeed all metavar var b end metavar indeed all metavar var c end metavar indeed ( ( metavar var a end metavar peano imply ( metavar var b end metavar peano imply metavar var c end metavar ) ) infer ( metavar var a end metavar infer ( metavar var b end metavar infer metavar var c end metavar ) ) ) end define
define proof of double rule prime mp as lambda var c dot lambda var x dot proof expand quote system prime s infer all metavar var a end metavar indeed all metavar var b end metavar indeed all metavar var c end metavar indeed ( ( metavar var a end metavar peano imply ( metavar var b end metavar peano imply metavar var c end metavar ) ) infer ( metavar var a end metavar infer ( metavar var b end metavar infer ( ( ( ( rule prime mp modus ponens ( metavar var a end metavar peano imply ( metavar var b end metavar peano imply metavar var c end metavar ) ) ) modus ponens metavar var a end metavar ) conclude ( metavar var b end metavar peano imply metavar var c end metavar ) ) cut ( ( ( rule prime mp modus ponens ( metavar var b end metavar peano imply metavar var c end metavar ) ) modus ponens metavar var b end metavar ) conclude metavar var c end metavar ) ) ) ) ) end quote state proof state cache var c end expand end define
The pyk compiler, version 0.grue.20050603 by Klaus Grue,