Uses option_case_tac
authorpaulson
Thu, 22 May 1997 15:10:05 +0200
changeset 3297 078d5f7d0d09
parent 3296 2ee6c397003d
child 3298 5f0ed3caa991
Uses option_case_tac
src/HOL/IOA/IOA.ML
--- a/src/HOL/IOA/IOA.ML	Thu May 22 15:09:37 1997 +0200
+++ b/src/HOL/IOA/IOA.ML	Thu May 22 15:10:05 1997 +0200
@@ -82,12 +82,10 @@
   by (nat_ind_tac "n" 1);
   by (fast_tac (!claset addIs [p1,reachable_0]) 1);
   by (eres_inst_tac[("x","n")]allE 1);
-  by (eres_inst_tac[("P","%x.!a.?Q x a"), ("opt","fst ex n")] optionE 1);
-  by (Asm_simp_tac 1);
+  by (option_case_tac "fst ex n" 1);
   by (safe_tac (!claset));
   by (etac (p2 RS mp) 1);
-  by (ALLGOALS(fast_tac(!claset addDs [hd Option.option.inject RS iffD1,
-                                      reachable_n])));
+  by (ALLGOALS(fast_tac(!claset addDs [reachable_n])));
 qed "invariantI";
 
 val [p1,p2] = goal IOA.thy