You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
text\<open> The next law is a degenerate partial correctness law, which ignores the variant. \<close>
284
+
text\<open> The next two laws are degenerate partial correctness laws, which ignore the variant. \<close>
285
285
286
286
lemmahl_while_inv_var[hoare_safe]:
287
287
assumes"\<^bold>{I \<and> B\<^bold>} S \<^bold>{I\<^bold>}""`P \<longrightarrow> I`""`(\<not> B \<and> I) \<longrightarrow> Q`"
@@ -296,6 +296,22 @@ proof -
296
296
done
297
297
qed
298
298
299
+
lemmahl_while_inv_var_prestate[hoare_safe]:
300
+
assumes
301
+
\<comment>\<open> The notation @{term "P\<lbrakk>\<guillemotleft>s\<^sub>0\<guillemotright>/\<^bold>v\<rbrakk>"} means the @{term P} holds on the initial state @{term s\<^sub>0}. \<close>
0 commit comments