Removed some unfoldings of defs after declaring wf_java_prog as syntax
authorstreckem
Mon Oct 01 13:36:25 2001 +0200 (2001-10-01)
changeset 116443dfde687f0d7
parent 11643 0b3a02daf7fb
child 11645 09a1876e739b
Removed some unfoldings of defs after declaring wf_java_prog as syntax
src/HOL/MicroJava/J/JTypeSafe.thy
     1.1 --- a/src/HOL/MicroJava/J/JTypeSafe.thy	Mon Oct 01 13:33:49 2001 +0200
     1.2 +++ b/src/HOL/MicroJava/J/JTypeSafe.thy	Mon Oct 01 13:36:25 2001 +0200
     1.3 @@ -118,7 +118,6 @@
     1.4            xi\<le>|h' \<and> (h', xj)::\<preceq>(G, lT) \<and> (x' = None --> G,h'\<turnstile>v::\<preceq>T));  
     1.5    G,xh\<turnstile>a'::\<preceq> Class C |] ==>  
     1.6    xc\<le>|h' \<and> (h', l)::\<preceq>(G, lT) \<and>  (x' = None --> G,h'\<turnstile>v::\<preceq>rTa)"
     1.7 -apply (unfold wf_java_prog_def)
     1.8  apply( drule max_spec2mheads)
     1.9  apply( clarify)
    1.10  apply( drule (2) non_np_objD')
    1.11 @@ -187,7 +186,6 @@
    1.12  apply( tactic "ALLGOALS strip_tac")
    1.13  apply( tactic {* ALLGOALS (eresolve_tac (thms "ty_expr_ty_exprs_wt_stmt.elims") THEN_ALL_NEW Full_simp_tac) *})
    1.14  apply( tactic "ALLGOALS (EVERY' [REPEAT o (etac conjE), REPEAT o hyp_subst_tac])")
    1.15 -apply( unfold wf_java_prog_def)
    1.16  
    1.17  (* Level 7 *)
    1.18  
    1.19 @@ -308,10 +306,10 @@
    1.20  apply(clarsimp)
    1.21  apply(unfold is_class_def)
    1.22  apply(clarsimp)
    1.23 -apply(rule Call_type_sound [unfolded wf_java_prog_def]);
    1.24 +apply(rule Call_type_sound);
    1.25  prefer 11
    1.26  apply blast
    1.27 -apply (simp (no_asm_simp))+
    1.28 +apply (simp (no_asm_simp))+ 
    1.29  done
    1.30  ML{*
    1.31  Unify.search_bound := 20;
    1.32 @@ -342,7 +340,6 @@
    1.33    method (G,fst (the (heap s' (the_Addr a')))) sig \<noteq> None"
    1.34  apply( drule (4) eval_type_sound)
    1.35  apply(clarsimp)
    1.36 -apply(unfold wf_java_prog_def)
    1.37  apply( frule widen_methd)
    1.38  apply(   assumption)
    1.39  prefer 2