Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
Iris
Commits
11e0f153
Commit
11e0f153
authored
Nov 29, 2017
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test-case.
parent
7453ecb0
Pipeline
#5681
passed with stages
in 7 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
theories/tests/heap_lang.v
theories/tests/heap_lang.v
+10
-0
No files found.
theories/tests/heap_lang.v
View file @
11e0f153
...
...
@@ -10,6 +10,16 @@ Section LiftingTests.
Implicit
Types
P
Q
:
iProp
Σ
.
Implicit
Types
Φ
:
val
→
iProp
Σ
.
Definition
simpl_test
:
⌜
(
10
=
4
+
6
)%
nat
⌝
-
∗
WP
let
:
"x"
:
=
ref
#
1
in
"x"
<-
!
"x"
;;
!
"x"
{{
v
,
⌜
v
=
#
1
⌝
}}.
Proof
.
iIntros
"?"
.
wp_alloc
l
.
repeat
(
wp_pure
_
)
||
wp_load
||
wp_store
.
match
goal
with
|
|-
context
[
(
10
=
4
+
6
)%
nat
]
=>
done
end
.
Qed
.
Definition
heap_e
:
expr
:
=
let
:
"x"
:
=
ref
#
1
in
"x"
<-
!
"x"
+
#
1
;;
!
"x"
.
...
...
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