Calc
Inductive()
Lemma
NewType()
Proof
QExists()
QForAll()
Struct()
axiom()
cond()
define()
prove()
search()
simp()
compose()
Defn
Judgement
LemmaError
SchemaVar()
consider()
define_fix()
defns
einstan()
forget()
forget2()
fresh_const()
generalize()
herb()
induct_inductive()
instan()
instan2()
is_defined()
is_proof()
is_schema_var()
modus()
skolem()
substitute_schema_vars()
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)