src/HOL/IOA/IOA.ML
changeset 4153 e534c4c32d54
parent 4089 96fba19bcbe2
child 4530 ac1821645636
     1.1 --- a/src/HOL/IOA/IOA.ML	Wed Nov 05 13:14:15 1997 +0100
     1.2 +++ b/src/HOL/IOA/IOA.ML	Wed Nov 05 13:23:46 1997 +0100
     1.3 @@ -55,7 +55,7 @@
     1.4  goalw IOA.thy (reachable_def::exec_rws)
     1.5  "!!A. [| reachable A s; (s,a,t) : trans_of(A) |] ==> reachable A t";
     1.6    by (asm_full_simp_tac (simpset() delsimps bex_simps) 1);
     1.7 -  by (safe_tac (claset()));
     1.8 +  by Safe_tac;
     1.9    by (res_inst_tac [("x","(%i. if i<n then fst ex i                    \
    1.10  \                            else (if i=n then Some a else None),    \
    1.11  \                         %i. if i<Suc n then snd ex i else t)")] bexI 1);
    1.12 @@ -77,13 +77,13 @@
    1.13  \     !!s t a. [|reachable A s; P(s)|] ==> (s,a,t): trans_of(A) --> P(t) |] \
    1.14  \  ==> invariant A P";
    1.15    by (rewrite_goals_tac(reachable_def::Let_def::exec_rws));
    1.16 -  by (safe_tac (claset()));
    1.17 +  by Safe_tac;
    1.18    by (res_inst_tac [("Q","reachable A (snd ex n)")] conjunct1 1);
    1.19    by (nat_ind_tac "n" 1);
    1.20    by (fast_tac (claset() addIs [p1,reachable_0]) 1);
    1.21    by (eres_inst_tac[("x","n")]allE 1);
    1.22    by (exhaust_tac "fst ex n" 1 THEN ALLGOALS Asm_full_simp_tac);
    1.23 -  by (safe_tac (claset()));
    1.24 +  by Safe_tac;
    1.25    by (etac (p2 RS mp) 1);
    1.26    by (ALLGOALS(fast_tac(claset() addDs [reachable_n])));
    1.27  qed "invariantI";