Skip to content
Snippets Groups Projects
Commit 1da42076 authored by Ralf Jung's avatar Ralf Jung
Browse files

use < and <= instead of > and >=

parent e4b58ebf
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ Qed.
Lemma wp_le E (n1 n2 : nat) P Q :
(n1 n2 P Q (LitV true))
(n1 > n2 P Q (LitV false))
(n2 < n1 P Q (LitV false))
P wp E ('n1 'n2) Q.
Proof.
intros. rewrite -wp_bin_op //; [].
......@@ -89,7 +89,7 @@ Qed.
Lemma wp_lt E (n1 n2 : nat) P Q :
(n1 < n2 P Q (LitV true))
(n1 n2 P Q (LitV false))
(n2 n1 P Q (LitV false))
P wp E ('n1 < 'n2) Q.
Proof.
intros. rewrite -wp_bin_op //; [].
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment