Skip to content
Snippets Groups Projects
Commit d066da83 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Alternative definition of `no_new_unsolved_evars` tactic by @jung.

parent 46e72edb
No related branches found
No related tags found
No related merge requests found
...@@ -722,10 +722,9 @@ Lemma forall_and_distr (A : Type) (P Q : A → Prop) : ...@@ -722,10 +722,9 @@ Lemma forall_and_distr (A : Type) (P Q : A → Prop) :
Proof. firstorder. Qed. Proof. firstorder. Qed.
(** The tactic [no_new_unsolved_evars tac] executes [tac] and fails if it (** The tactic [no_new_unsolved_evars tac] executes [tac] and fails if it
creates any new evars. This trick is by Jonathan Leivent, see: creates any new evars. *)
https://coq.inria.fr/bugs/show_bug.cgi?id=3872 *)
Ltac no_new_unsolved_evars tac := exact ltac:(tac). Ltac no_new_unsolved_evars tac := solve [unshelve tac].
Tactic Notation "naive_solver" tactic(tac) := Tactic Notation "naive_solver" tactic(tac) :=
unfold iff, not in *; unfold iff, not in *;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment