src/Provers/classical.ML
changeset 82873 e567fd948ff0
parent 82868 c2a88a1cd07d
child 82874 abfb6ed8ec21
--- a/src/Provers/classical.ML	Tue Jul 15 11:22:02 2025 +0200
+++ b/src/Provers/classical.ML	Tue Jul 15 11:26:31 2025 +0200
@@ -353,7 +353,7 @@
   else if kind = Bires.elim_bang_kind orelse kind = Bires.dest_bang_kind then
     let
       val _ = Thm.no_prems th andalso err_thm_illformed ctxt kind th;
-      val elim = if Bires.kind_make_elim kind then Tactic.make_elim th else th;
+      val elim = Bires.kind_make_elim kind th;
     in make_info1 (no_swapped_rl (classical_rule ctxt (flat_rule ctxt elim))) elim end
   else if kind = Bires.intro_kind then
     let
@@ -363,7 +363,7 @@
   else if kind = Bires.elim_kind orelse kind = Bires.dest_kind then
     let
       val _ = Thm.no_prems th andalso err_thm_illformed ctxt kind th;
-      val elim = if Bires.kind_make_elim kind then Tactic.make_elim th else th;
+      val elim = Bires.kind_make_elim kind th;
       val th' = classical_rule ctxt (flat_rule ctxt elim);
       val dup_th' = dup_elim ctxt th' handle THM _ => err_thm_illformed ctxt kind th;
     in make_info (no_swapped_rl th') (no_swapped_rl dup_th') elim end