fix(library/blast/strategies): constructor action was being applied too soon

This commit is contained in:
Leonardo de Moura 2015-12-05 19:43:48 -08:00
parent 20d7727a9c
commit 648f6c5f82
2 changed files with 8 additions and 1 deletions

View file

@ -52,8 +52,8 @@ class simple_strategy_fn : public strategy_fn {
Try(trivial_action());
Try(assumption_action());
Try(recursor_action());
Try(constructor_action());
Try(ematch_action());
Try(constructor_action());
Try(by_contradiction_action());
TryStrategy(mk_backward_strategy());
Try(qfc_action(list<gexpr>()));

View file

@ -0,0 +1,7 @@
constants {A : Type.{1}} (P : A → Prop) (Q : A → Prop)
definition H : ∀ a, (: P a :) → Exists Q := sorry
set_option blast.ematch true
example (a : A) : P a → Exists Q :=
by blast