Skip to content

Commit 263364d

Browse files
committed
Default intuition solver is now auto
1 parent bf260b4 commit 263364d

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

plugins/ltac/tauto.ml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -256,19 +256,6 @@ let with_flags flags _ ist =
256256
let ist = { ist with lfun = Id.Map.add x.CAst.v arg ist.lfun } in
257257
eval_tactic_ist ist (CAst.make @@ TacArg (TacCall (CAst.make (Locus.ArgVar f, [Reference (Locus.ArgVar x)]))))
258258

259-
let warn_auto_with_star = CWarnings.create ~name:"intuition-auto-with-star" ~category:Deprecation.Version.v8_17
260-
Pp.(fun () ->
261-
str "\"auto with *\" was used through the default \"intuition_solver\" tactic."
262-
++ spc() ++ str "This will be replaced by just \"auto\" in the future.")
263-
264-
let warn_auto_with_star_tac _ _ =
265-
Proofview.tclBIND
266-
(Proofview.tclUNIT ())
267-
begin fun () ->
268-
warn_auto_with_star ();
269-
Proofview.tclUNIT()
270-
end
271-
272259
let val_of_id id =
273260
let open Geninterp in
274261
let id = CAst.make @@ Tactypes.IntroNaming (IntroIdentifier id) in
@@ -327,5 +314,4 @@ let () = register_tauto_tactic apply_nnpp "apply_nnpp" []
327314
let () = register_tauto_tactic reduction_not_iff "reduction_not_iff" []
328315
let () = register_tauto_tactic (with_flags tauto_uniform_unit_flags) "with_uniform_flags" ["f"]
329316
let () = register_tauto_tactic (with_flags tauto_power_flags) "with_power_flags" ["f"]
330-
let () = register_tauto_tactic warn_auto_with_star_tac "warn_auto_with_star" []
331317
let () = register_tauto_tactic find_cut "find_cut" ["k"]

theories/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)