Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marianna Rapoport
iris-coq
Commits
1da42076
Commit
1da42076
authored
Feb 11, 2016
by
Ralf Jung
Browse files
use < and <= instead of > and >=
parent
e4b58ebf
Changes
1
Hide whitespace changes
Inline
Side-by-side
heap_lang/sugar.v
View file @
1da42076
...
...
@@ -80,7 +80,7 @@ Qed.
Lemma
wp_le
E
(
n1
n2
:
nat
)
P
Q
:
(
n1
≤
n2
→
P
⊑
▷
Q
(
LitV
true
))
→
(
n
1
>
n
2
→
P
⊑
▷
Q
(
LitV
false
))
→
(
n
2
<
n
1
→
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
))
→
(
n
1
≥
n
2
→
P
⊑
▷
Q
(
LitV
false
))
→
(
n
2
≤
n
1
→
P
⊑
▷
Q
(
LitV
false
))
→
P
⊑
wp
E
(
'
n1
<
'
n2
)
Q
.
Proof
.
intros
.
rewrite
-
wp_bin_op
//
;
[].
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment