define pyk of lemma negativeToLeft(Leq)(1 term) as text unicode start of text unicode small l unicode small e unicode small m unicode small m unicode small a unicode space unicode small n unicode small e unicode small g unicode small a unicode small t unicode small i unicode small v unicode small e unicode capital t unicode small o unicode capital l unicode small e unicode small f unicode small t unicode left parenthesis unicode capital l unicode small e unicode small q unicode right parenthesis unicode left parenthesis unicode one unicode space unicode small t unicode small e unicode small r unicode small m unicode right parenthesis unicode end of text end unicode text end text end define
define tex of lemma negativeToLeft(Leq)(1 term) as text unicode start of text unicode small n unicode small e unicode small g unicode small a unicode small t unicode small i unicode small v unicode small e unicode capital t unicode small o unicode capital l unicode small e unicode small f unicode small t unicode left parenthesis unicode capital l unicode small e unicode small q unicode right parenthesis unicode left parenthesis unicode one unicode space unicode small t unicode small e unicode small r unicode small m unicode right parenthesis unicode end of text end unicode text end text end define
define statement of lemma negativeToLeft(Leq)(1 term) as system Q infer all metavar var y end metavar indeed all metavar var z end metavar indeed 0 <= metavar var y end metavar + - metavar var z end metavar infer metavar var z end metavar <= metavar var y end metavar end define
define proof of lemma negativeToLeft(Leq)(1 term) as lambda var c dot lambda var x dot proof expand quote system Q infer all metavar var y end metavar indeed all metavar var z end metavar indeed 0 <= metavar var y end metavar + - metavar var z end metavar infer lemma negativeToLeft(Leq) modus ponens 0 <= metavar var y end metavar + - metavar var z end metavar conclude 0 + metavar var z end metavar <= metavar var y end metavar cut lemma plus0Left conclude 0 + metavar var z end metavar = metavar var z end metavar cut lemma subLeqLeft modus ponens 0 + metavar var z end metavar = metavar var z end metavar conclude metavar var z end metavar <= metavar var y end metavar end quote state proof state cache var c end expand end define
The pyk compiler, version 0.grue.20060417+ by Klaus Grue,