src/HOL/TLA/Action.ML
changeset 4089 96fba19bcbe2
parent 3945 ae9c61d69888
child 4477 b3e5857d8d99
equal deleted inserted replaced
4088:9be9e39fd862 4089:96fba19bcbe2
    54          Const("Intensional.TrueInt",_) $ p 
    54          Const("Intensional.TrueInt",_) $ p 
    55            => (action_unlift th
    55            => (action_unlift th
    56                   handle _ => int_unlift th)
    56                   handle _ => int_unlift th)
    57        | _ => th);
    57        | _ => th);
    58 
    58 
    59 simpset := !simpset setmksimps ((mksimps mksimps_pairs) o maybe_unlift);
    59 simpset_ref() := simpset() setmksimps ((mksimps mksimps_pairs) o maybe_unlift);
    60 
    60 
    61 (* make act_rews be always active -- intensional_rews has been added before *)
    61 (* make act_rews be always active -- intensional_rews has been added before *)
    62 Addsimps act_rews;
    62 Addsimps act_rews;
    63 
    63 
    64 use "cladata.ML";        (* local version! *)
    64 use "cladata.ML";        (* local version! *)
    73     (asm_full_simp_tac 
    73     (asm_full_simp_tac 
    74          (ss setloop ((resolve_tac (intros @ [refl,impI,conjI,actionI,allI]))
    74          (ss setloop ((resolve_tac (intros @ [refl,impI,conjI,actionI,allI]))
    75 		      ORELSE' (eresolve_tac (elims @ [conjE,disjE,exE_prop]))))
    75 		      ORELSE' (eresolve_tac (elims @ [conjE,disjE,exE_prop]))))
    76          i);
    76          i);
    77 (* default version without additional plug-in rules *)
    77 (* default version without additional plug-in rules *)
    78 fun Action_simp_tac i = (action_simp_tac (!simpset) [] [] i);
    78 fun Action_simp_tac i = (action_simp_tac (simpset()) [] [] i);
    79 
    79 
    80 
    80 
    81 (* ==================== Simplification of abstractions ==================== *)
    81 (* ==================== Simplification of abstractions ==================== *)
    82 
    82 
    83 (* Somewhat obscure simplifications, rarely necessary to get rid
    83 (* Somewhat obscure simplifications, rarely necessary to get rid