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

Override `intuition_solver` instead of redeclaring `intuition`.

parent 0b4d25e7
No related branches found
No related tags found
1 merge request!473Take advantage of new Coq features in Coq 8.15
...@@ -36,6 +36,8 @@ Notably: ...@@ -36,6 +36,8 @@ Notably:
* It blocks `simpl` on all operations involving integers `Z` (by setting * It blocks `simpl` on all operations involving integers `Z` (by setting
`Arguments op : simpl never`). We do this because `simpl` tends to expose `Arguments op : simpl never`). We do this because `simpl` tends to expose
the internals of said operations (e.g. try `simpl` on `Z.of_nat (S n) + y`). the internals of said operations (e.g. try `simpl` on `Z.of_nat (S n) + y`).
* It sets `intuition_solver` to `auto`. The default is `auto with *`, which is
very expensive.
## Prerequisites ## Prerequisites
......
...@@ -29,7 +29,7 @@ be very bad, so use with care! *) ...@@ -29,7 +29,7 @@ be very bad, so use with care! *)
(** The tactic [intuition] expands to [intuition auto with *] by default. This (** The tactic [intuition] expands to [intuition auto with *] by default. This
is rather inefficient when having big hint databases, or expensive [Hint Extern] is rather inefficient when having big hint databases, or expensive [Hint Extern]
declarations as the ones above. *) declarations as the ones above. *)
Tactic Notation "intuition" := intuition auto. Ltac intuition_solver ::= auto.
(** The [fast_reflexivity] tactic only works on syntactically equal terms. It (** The [fast_reflexivity] tactic only works on syntactically equal terms. It
can be used to avoid expensive failing unification. *) can be used to avoid expensive failing unification. *)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment