src/HOL/Decision_Procs/langford.ML
changeset 74570 7625b5d7cfe2
parent 74569 f4613ca298e6
child 74614 c496550dd2c2
--- a/src/HOL/Decision_Procs/langford.ML	Sun Oct 24 18:29:21 2021 +0200
+++ b/src/HOL/Decision_Procs/langford.ML	Sun Oct 24 20:25:51 2021 +0200
@@ -81,7 +81,7 @@
   | _ => [ct]);
 
 val list_conj =
-  foldr1 (fn (A, B) => \<^let>\<open>A = A and B = B in cterm \<open>A \<and> B\<close>\<close>);
+  foldr1 (fn (A, B) => \<^instantiate>\<open>A and B in cterm \<open>A \<and> B\<close>\<close>);
 
 fun mk_conj_tab th =
   let
@@ -144,7 +144,7 @@
                 [] => NONE
               | _ =>
                 conj_aci_rule
-                  \<^let>\<open>A = p and B = \<open>list_conj (ndx @ dx)\<close> in cterm \<open>Trueprop A \<equiv> Trueprop B\<close>\<close>
+                  \<^instantiate>\<open>A = p and B = \<open>list_conj (ndx @ dx)\<close> in cterm \<open>Trueprop A \<equiv> Trueprop B\<close>\<close>
                 |> Thm.abstract_rule xn x
                 |> Drule.arg_cong_rule e
                 |> Conv.fconv_rule
@@ -155,7 +155,7 @@
             end
         | _ =>
             conj_aci_rule
-              \<^let>\<open>A = p and B = \<open>list_conj (eqs @ neqs)\<close> in cterm \<open>Trueprop A \<equiv> Trueprop B\<close>\<close>
+              \<^instantiate>\<open>A = p and B = \<open>list_conj (eqs @ neqs)\<close> in cterm \<open>Trueprop A \<equiv> Trueprop B\<close>\<close>
             |> Thm.abstract_rule xn x |> Drule.arg_cong_rule e
             |> Conv.fconv_rule
                 (Conv.arg_conv