tuned
authornipkow
Mon, 27 May 2013 10:13:51 +0200
changeset 52168 785d39ee8753
parent 52167 31bd65d96f4d
child 52169 418f5ad4c1c5
child 52175 626a757d3c2d
tuned
src/HOL/IMP/Hoare_Sound_Complete.thy
--- a/src/HOL/IMP/Hoare_Sound_Complete.thy	Mon May 27 09:15:26 2013 +0200
+++ b/src/HOL/IMP/Hoare_Sound_Complete.thy	Mon May 27 10:13:51 2013 +0200
@@ -8,12 +8,12 @@
 proof(induction rule: hoare.induct)
   case (While P b c)
   { fix s t
-    have "(WHILE b DO c,s) \<Rightarrow> t  \<Longrightarrow>  P s \<longrightarrow> P t \<and> \<not> bval b t"
+    have "(WHILE b DO c,s) \<Rightarrow> t  \<Longrightarrow>  P s  \<Longrightarrow>  P t \<and> \<not> bval b t"
     proof(induction "WHILE b DO c" s t rule: big_step_induct)
       case WhileFalse thus ?case by blast
     next
       case WhileTrue thus ?case
-        using While(2) unfolding hoare_valid_def by blast
+        using While.IH unfolding hoare_valid_def by blast
     qed
   }
   thus ?case unfolding hoare_valid_def by blast