define pyk of inference inference mendelson proposition three two d as text unicode start of text unicode small i unicode small n unicode small f unicode small e unicode small r unicode small e unicode small n unicode small c unicode small e unicode space unicode small i unicode small n unicode small f unicode small e unicode small r unicode small e unicode small n unicode small c unicode small e unicode space unicode small m unicode small e unicode small n unicode small d unicode small e unicode small l unicode small s unicode small o unicode small n unicode space unicode small p unicode small r unicode small o unicode small p unicode small o unicode small s unicode small i unicode small t unicode small i unicode small o unicode small n unicode space unicode small t unicode small h unicode small r unicode small e unicode small e unicode space unicode small t unicode small w unicode small o unicode space unicode small d unicode end of text end unicode text end text end define
define tex of inference inference mendelson proposition three two d as text unicode start of text unicode capital m unicode small e unicode small n unicode small d unicode small e unicode small l unicode small s unicode small o unicode small n unicode backslash unicode space unicode backslash unicode small t unicode small e unicode small x unicode small t unicode small b unicode small f unicode left brace unicode three unicode period unicode two unicode right brace unicode backslash unicode space unicode small d unicode underscore unicode left brace unicode small i unicode small i unicode right brace unicode end of text end unicode text end text end define
define statement of inference inference mendelson proposition three two d 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 is metavar var b end metavar ) infer ( ( metavar var c end metavar peano is metavar var b end metavar ) infer ( metavar var a end metavar peano is metavar var c end metavar ) ) ) end define
define proof of inference inference mendelson proposition three two d 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 is metavar var b end metavar ) infer ( ( metavar var c end metavar peano is metavar var b end metavar ) infer ( ( mendelson proposition three two d conclude ( ( metavar var a end metavar peano is metavar var b end metavar ) peano imply ( ( metavar var c end metavar peano is metavar var b end metavar ) peano imply ( metavar var a end metavar peano is metavar var c end metavar ) ) ) ) cut ( ( ( ( double rule prime mp modus ponens ( ( metavar var a end metavar peano is metavar var b end metavar ) peano imply ( ( metavar var c end metavar peano is metavar var b end metavar ) peano imply ( metavar var a end metavar peano is metavar var c end metavar ) ) ) ) modus ponens ( metavar var a end metavar peano is metavar var b end metavar ) ) modus ponens ( metavar var c end metavar peano is metavar var b end metavar ) ) conclude ( metavar var a end metavar peano is 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,