src/HOLCF/Fix.ML
changeset 4098 71e05eb27fb6
parent 3842 b55686a7b22c
child 4423 a129b817b58a
--- a/src/HOLCF/Fix.ML	Mon Nov 03 12:36:48 1997 +0100
+++ b/src/HOLCF/Fix.ML	Mon Nov 03 14:06:27 1997 +0100
@@ -330,7 +330,7 @@
 qed_goalw "fix_eq" thy  [fix_def] "fix`F = F`(fix`F)"
  (fn prems =>
         [
-        (asm_simp_tac (!simpset addsimps [cont_Ifix]) 1),
+        (asm_simp_tac (simpset() addsimps [cont_Ifix]) 1),
         (rtac Ifix_eq 1)
         ]);
 
@@ -338,7 +338,7 @@
  (fn prems =>
         [
         (cut_facts_tac prems 1),
-        (asm_simp_tac (!simpset addsimps [cont_Ifix]) 1),
+        (asm_simp_tac (simpset() addsimps [cont_Ifix]) 1),
         (etac Ifix_least 1)
         ]);
 
@@ -439,7 +439,7 @@
  (fn prems =>
         [
         (fold_goals_tac [Ifix_def]),
-        (asm_simp_tac (!simpset addsimps [cont_Ifix]) 1)
+        (asm_simp_tac (simpset() addsimps [cont_Ifix]) 1)
         ]);
 
 
@@ -563,7 +563,7 @@
 	strip_tac 1,
 	dtac chfin_fappR 1,
 	eres_inst_tac [("x","s")] allE 1,
-	fast_tac (HOL_cs addss (!simpset addsimps [chfin])) 1]);
+	fast_tac (HOL_cs addss (simpset() addsimps [chfin])) 1]);
 
 (* adm_flat not needed any more, since it is a special case of adm_chfindom *)
 
@@ -670,7 +670,7 @@
 
 qed_goal "adm_eq"  thy 
         "!!u. [|cont u ; cont v|]==> adm(%x. u x = v x)"
- (fn prems => [asm_simp_tac (!simpset addsimps [po_eq_conv]) 1]);
+ (fn prems => [asm_simp_tac (simpset() addsimps [po_eq_conv]) 1]);
 
 
 
@@ -691,13 +691,13 @@
   val adm_disj_lemma2 = prove_goal thy  
   "!!Q. [| adm(Q); ? X. is_chain(X) & (!n. Q(X(n))) &\
   \   lub(range(Y))=lub(range(X))|] ==> Q(lub(range(Y)))"
- (fn _ => [fast_tac (!claset addEs [admD] addss !simpset) 1]);
+ (fn _ => [fast_tac (claset() addEs [admD] addss simpset()) 1]);
 
   val adm_disj_lemma3 = prove_goalw thy [is_chain]
   "!!Q. is_chain(Y) ==> is_chain(%m. if m < Suc i then Y(Suc i) else Y m)"
  (fn _ =>
         [
-        asm_simp_tac (!simpset setloop (split_tac[expand_if])) 1,
+        asm_simp_tac (simpset() setloop (split_tac[expand_if])) 1,
         safe_tac HOL_cs,
         subgoal_tac "ia = i" 1,
         Asm_simp_tac 1,
@@ -708,7 +708,7 @@
   "!!Q. !j. i < j --> Q(Y(j))  ==> !n. Q( if n < Suc i then Y(Suc i) else Y n)"
  (fn _ =>
         [
-        asm_simp_tac (!simpset setloop (split_tac[expand_if])) 1,
+        asm_simp_tac (simpset() setloop (split_tac[expand_if])) 1,
         strip_tac 1,
         etac allE 1,
         etac mp 1,
@@ -722,7 +722,7 @@
         [
         safe_tac (HOL_cs addSIs [lub_equal2,adm_disj_lemma3]),
         atac 2,
-        asm_simp_tac (!simpset setloop (split_tac[expand_if])) 1,
+        asm_simp_tac (simpset() setloop (split_tac[expand_if])) 1,
         res_inst_tac [("x","i")] exI 1,
         strip_tac 1,
         trans_tac 1