src/HOL/Tools/record.ML
changeset 35410 1ea89d2a1bd4
parent 35408 b48ab741683b
child 35430 df2862dc23a8
--- a/src/HOL/Tools/record.ML	Sun Feb 28 22:30:51 2010 +0100
+++ b/src/HOL/Tools/record.ML	Sun Feb 28 23:51:31 2010 +0100
@@ -1416,7 +1416,7 @@
         | name =>
             (case get_equalities thy name of
               NONE => NONE
-            | SOME thm => SOME (thm RS Eq_TrueI)))
+            | SOME thm => SOME (thm RS @{thm Eq_TrueI})))
       | _ => NONE));
 
 
@@ -1462,7 +1462,7 @@
         fun prove prop =
           prove_global true thy [] prop
             (fn _ => simp_tac (Simplifier.inherit_context ss (get_simpset thy)
-                addsimps simp_thms addsimprocs [record_split_simproc (K ~1)]) 1);
+                addsimps @{thms simp_thms} addsimprocs [record_split_simproc (K ~1)]) 1);
 
         fun mkeq (lr, Teq, (sel, Tsel), x) i =
           if is_selector thy sel then