src/HOL/Nominal/nominal_inductive2.ML
changeset 60801 7664e0916eec
parent 60787 12cd198f07af
child 61144 5e94dfead1c2
--- a/src/HOL/Nominal/nominal_inductive2.ML	Mon Jul 27 16:35:12 2015 +0200
+++ b/src/HOL/Nominal/nominal_inductive2.ML	Mon Jul 27 17:44:55 2015 +0200
@@ -227,7 +227,7 @@
     val ([fs_ctxt_name], ctxt'') = Variable.variant_fixes ["z"] ctxt';
     val fsT = TFree (fs_ctxt_tyname, ind_sort);
 
-    val inductive_forall_def' = Drule.instantiate'
+    val inductive_forall_def' = Thm.instantiate'
       [SOME (Thm.global_ctyp_of thy fsT)] [] inductive_forall_def;
 
     fun lift_pred' t (Free (s, T)) ts =
@@ -316,7 +316,7 @@
         val {at_inst, ...} = NominalAtoms.the_atom_info thy atom;
         val fs_atom = Global_Theory.get_thm thy
           ("fs_" ^ Long_Name.base_name atom ^ "1");
-        val avoid_th = Drule.instantiate'
+        val avoid_th = Thm.instantiate'
           [SOME (Thm.global_ctyp_of thy (fastype_of p))] [SOME (Thm.global_cterm_of thy p)]
           ([at_inst, fin, fs_atom] MRS @{thm at_set_avoiding});
         val (([(_, cx)], th1 :: th2 :: ths), ctxt') = Obtain.result