Calc
FreshVar()
FreshVars()
Inductive()
Lemma
NewType()
Proof
QExists()
QForAll()
Struct()
axiom()
cond()
define()
prove()
search()
simp()
compose()
Defn
Judgement
LemmaError
andI()
consider()
define_fix()
defns
einstan()
forget()
forget2()
free_in()
fresh_const()
generalize()
herb()
induct_inductive()
instan()
instan2()
is_defined()
is_fresh_var()
is_proof()
modus()
rename_vars()
skolem()
subst()
substitute_fresh_vars()
unfold()
Compose two implications. Useful for chaining implications.
>>> a,b,c = smt.Bools("a b c") >>> ab = axiom(smt.Implies(a, b)) >>> bc = axiom(smt.Implies(b, c)) >>> compose(ab, bc) |= Implies(a, c)
ab (Proof)
bc (Proof)