Calc
FreshVar()
FreshVars()
Inductive()
Lemma()
NewType()
PTheorem()
Proof
QExists()
QForAll()
QImplies()
Struct()
Theorem()
axiom()
cond()
define()
prove()
search()
simp()
subst()
Defn
Judgement
LemmaError
andI()
compose()
define_fix()
defns
ext()
forget()
fresh_const()
generalize()
herb()
induct_inductive()
instan()
is_defined()
is_fresh_var()
is_proof()
modus()
obtain()
rename_vars2()
specialize()
unfold()
Substitute using equality proofs
>>> x, y = smt.Ints("x y") >>> eq = kd.prove(x == ((x + 1) - 1)) >>> subst(x + 3, [eq]) (x + 1 - 1 + 3, |= x + 3 == x + 1 - 1 + 3)
t (ExprRef)
eqs (Sequence[Proof])
tuple[ExprRef, Proof]