feat(library/init/meta/smt/smt_tactic): add smt_tactic.induction

Non-interactive version.
This commit is contained in:
Leonardo de Moura 2017-01-13 16:49:54 -08:00
parent 05d86e49ca
commit 6ebc23eca4

View file

@ -353,6 +353,9 @@ meta def add_lemmas_from_facts_core : list expr → smt_tactic unit
meta def add_lemmas_from_facts : smt_tactic unit :=
get_facts >>= add_lemmas_from_facts_core
meta def induction (e : expr) (rec : name) (ids : list name) : smt_tactic unit :=
slift (tactic.induction e rec ids)
end smt_tactic
open smt_tactic