Calc
Inductive()
Lemma
NewType()
Proof
QExists()
QForAll()
Struct()
axiom()
cond()
define()
prove()
search()
simp()
prune()
alpha_eq()
ast_size_sexpr()
decls()
free_vars()
generate()
is_subterm()
is_value()
lemma_db()
occurs()
open_binder()
open_binder_unhygienic()
pmatch()
pmatch_rec()
prompt()
quant_kind_eq()
sanity_check_consistency()
search_decl()
search_expr()
sorts()
subterms()
unify_db()
Prune the theorems used using unsat core. Helpful to speedup future proof verification.
>>> p,q,r = smt.Bools("p q r") >>> sorted(prune(p & q, [p, q, r]), key=lambda b: b.decl().name()) [p, q]
thm (BoolRef | QuantifierRef | Proof)
list[ExprRef | Proof]