Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
POPL21 Iris Tutorial
Commits
31b71f8f
Commit
31b71f8f
authored
Nov 04, 2022
by
Ralf Jung
Browse files
re-generate exercises
parent
0c9caad4
Pipeline
#77433
passed with stage
in 11 minutes and 32 seconds
Changes
1
Pipelines
78
Hide whitespace changes
Inline
Side-by-side
exercises/ex_02_sumlist.v
View file @
31b71f8f
...
...
@@ -51,7 +51,10 @@ Definition map_list : val :=
Section
proof
.
Context
`
{!
heapGS
Σ
}.
(** Representation predicate in separation logic for a list of integers [l]: *)
(** Representation predicate in separation logic for a list of integers [l].
The ⌜...⌝ brackets are used to take a Coq proposition (of type Prop)
and embed it into an Iris proposition (of type iProp). *)
Fixpoint
is_list
(
l
:
list
Z
)
(
v
:
val
)
:
iProp
Σ
:
=
match
l
with
|
[]
=>
⌜
v
=
NONEV
⌝
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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