Calc
FreshVar()
FreshVars()
Inductive()
Lemma
NewType()
Proof
QExists()
QForAll()
Struct()
axiom()
cond()
define()
prove()
search()
simp()
andI()
Defn
Judgement
LemmaError
compose()
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()
Prove an and from two kd.Proofs of its conjuncts.
>>> a, b = smt.Bools("a b") >>> pa = kd.axiom(smt.Implies(True, a)) >>> pb = kd.axiom(smt.Implies(True, b)) >>> andI([pa, pb, pb]) |= Implies(True, And(a, b, b))
pfs (Sequence[Proof])