Calc
Inductive()
Lemma
NewType()
Proof
QExists()
QForAll()
Struct()
axiom()
cond()
define()
prove()
search()
simp()
subst()
Defn
LemmaError
andI()
beta_conv()
cong()
consider()
define_fix()
defns
einstan()
eqrefl()
eqsym()
eqtrans()
forget()
forget2()
fresh_const()
herb()
induct_inductive()
instan()
instan2()
is_defined()
is_proof()
modus()
proj()
skolem()
Substitute subterms using equality proof
>>> x, y = smt.Ints("x y") >>> eq = prove(x == ((x + 1) - 1)) >>> subst(eq, x + 3) |- x + 3 == x + 1 - 1 + 3
eq (Proof)
t (ExprRef)