use Simplifier.context to avoid 'no proof context in simpset' errors from fixrec_simp after theory merge
authorhuffman
Sat, 13 Mar 2010 19:06:18 -0800
changeset 35780 98fd7910f70a
parent 35779 7de1e14d9277
child 35781 b7738ab762b1
use Simplifier.context to avoid 'no proof context in simpset' errors from fixrec_simp after theory merge
src/HOLCF/Tools/fixrec.ML
--- a/src/HOLCF/Tools/fixrec.ML	Sat Mar 13 18:16:48 2010 -0800
+++ b/src/HOLCF/Tools/fixrec.ML	Sat Mar 13 19:06:18 2010 -0800
@@ -305,7 +305,7 @@
 fun fixrec_simp_tac ctxt =
   let
     val tab = FixrecUnfoldData.get (Context.Proof ctxt);
-    val ss = FixrecSimpData.get (Context.Proof ctxt);
+    val ss = Simplifier.context ctxt (FixrecSimpData.get (Context.Proof ctxt));
     fun concl t =
       if Logic.is_all t then concl (snd (Logic.dest_all t))
       else HOLogic.dest_Trueprop (Logic.strip_imp_concl t);