Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tej Chajed
iris
Commits
1da42076
Commit
1da42076
authored
Feb 11, 2016
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use < and <= instead of > and >=
parent
e4b58ebf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
heap_lang/sugar.v
heap_lang/sugar.v
+2
-2
No files found.
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
Markdown
is supported
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