tuned proof;
authorwenzelm
Fri, 12 Jul 2013 15:39:46 +0200
changeset 52620 0b30bde83185
parent 52619 70d5f2f7d27f
child 52621 0d0c20a0a34f
tuned proof;
src/HOL/MicroJava/BV/Typing_Framework_JVM.thy
--- a/src/HOL/MicroJava/BV/Typing_Framework_JVM.thy	Fri Jul 12 15:37:48 2013 +0200
+++ b/src/HOL/MicroJava/BV/Typing_Framework_JVM.thy	Fri Jul 12 15:39:46 2013 +0200
@@ -301,21 +301,19 @@
  
   shows 
   "wf_prog (\<lambda>G C bd. Q G C bd) G"
-proof -
-  from wf show ?thesis
-    apply (unfold wf_prog_def wf_cdecl_def)
-    apply clarsimp
-    apply (drule bspec, assumption)
-    apply (unfold wf_cdecl_mdecl_def)
-    apply clarsimp
-    apply (drule bspec, assumption)
-    apply (frule methd [OF wf [THEN wf_prog_ws_prog]], assumption+)
-    apply (frule is_type_pTs [OF wf], assumption+)
-    apply clarify
-    apply (drule rule [OF wf], assumption+)
-    apply (rule HOL.refl)
-    apply assumption+
-    done
-qed
+  using wf
+  apply (unfold wf_prog_def wf_cdecl_def)
+  apply clarsimp
+  apply (drule bspec, assumption)
+  apply (unfold wf_cdecl_mdecl_def)
+  apply clarsimp
+  apply (drule bspec, assumption)
+  apply (frule methd [OF wf [THEN wf_prog_ws_prog]], assumption+)
+  apply (frule is_type_pTs [OF wf], assumption+)
+  apply clarify
+  apply (drule rule [OF wf], assumption+)
+  apply (rule HOL.refl)
+  apply assumption+
+  done
 
 end