Skip to content

Commit 0cd2a91

Browse files
Merge PR rocq-prover#21129: Stop using auto with * in intuition solver.
Reviewed-by: SkySkimmer Co-authored-by: SkySkimmer <SkySkimmer@users.noreply.github.com>
2 parents 4e48624 + deaf7ea commit 0cd2a91

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
- **Removed:**
2+
the implicit call to `auto with *` in intuition solver, that
3+
was deprecated since 8.17
4+
(`#21129 <https://github.com/rocq-prover/rocq/pull/21129>`_,
5+
fixes `#4949 <https://github.com/rocq-prover/rocq/issues/4949>`_,
6+
by Pierre-Marie Pédrot).

theories/Corelib/Init/Tauto.v

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ Local Ltac tauto_gen flags := tauto_intuitionistic flags || tauto_classical flag
105105
Ltac tauto := with_uniform_flags ltac:(fun flags => tauto_gen flags).
106106
Ltac dtauto := with_power_flags ltac:(fun flags => tauto_gen flags).
107107

108-
Ltac intuition_solver :=
109-
first [solve [auto]
110-
| tryif solve [auto with *] then warn_auto_with_star else idtac].
108+
Ltac intuition_solver := auto.
111109

112110
Local Ltac intuition_then tac := with_uniform_flags ltac:(fun flags => intuition_gen flags tac).
113111
Ltac intuition := intuition_then ltac:(idtac;intuition_solver).

0 commit comments

Comments
 (0)