src/Pure/raw_simplifier.ML
changeset 67649 1e1782c1aedf
parent 67561 f0b11413f1c9
child 67721 5348bea4accd
--- a/src/Pure/raw_simplifier.ML	Sat Feb 17 20:03:37 2018 +0100
+++ b/src/Pure/raw_simplifier.ML	Sun Feb 18 15:05:21 2018 +0100
@@ -579,8 +579,7 @@
 local
 
 fun comb_simps ctxt comb mk_rrule thms =
-  let
-    val rews = extract_rews ctxt (map (Thm.transfer (Proof_Context.theory_of ctxt)) thms);
+  let val rews = extract_rews ctxt (map (Thm.transfer' ctxt) thms);
   in fold (fold comb o mk_rrule) rews ctxt end;
 
 in
@@ -1388,7 +1387,7 @@
 local
 
 fun gen_norm_hhf ss ctxt =
-  Thm.transfer (Proof_Context.theory_of ctxt) #>
+  Thm.transfer' ctxt #>
   (fn th =>
     if Drule.is_norm_hhf (Thm.prop_of th) then th
     else