Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Isaac van Bakel
Iris
Commits
305121db
Commit
305121db
authored
1 year ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
fix some outdated references to heapG
parent
4a3660ca
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/resource_algebras.md
+4
-4
4 additions, 4 deletions
docs/resource_algebras.md
with
4 additions
and
4 deletions
docs/resource_algebras.md
+
4
−
4
View file @
305121db
...
...
@@ -59,12 +59,12 @@ Now you can add `one_shotG` as an assumption to all your module definitions and
proofs. We typically use a section for this:
```
coq
Section
proof
.
Context
`{
!
heapG
Σ
,
!
one_shotG
Σ
}.
Context
`{
!
heapG
S
Σ
,
!
one_shotG
Σ
}.
```
Notice that besides our own assumptions
`one_shotG`
, we also assume
`heapG`
,
Notice that besides our own assumptions
`one_shotG`
, we also assume
`heapG
S
`
,
which are assumptions that every HeapLang proof makes (they are related to
defining the
`↦`
connective as well as the basic Iris infrastructure for
invariants and WP). For this purpose,
`heapG`
contains not only assumptions
invariants and WP). For this purpose,
`heapG
S
`
contains not only assumptions
about
`Σ`
, it also contains some ghost names to refer to particular ghost state
(see "global ghost state instances" below).
...
...
@@ -102,7 +102,7 @@ see the next section), you have to call the respective initialization or
adequacy lemma.
[
For example
](
tests/one_shot.v
)
:
```
coq
Section
client
.
Context
`{
!
heapG
Σ
,
!
one_shotG
Σ
,
!
spawnG
Σ
}
.
Context
`{
!
heapG
S
Σ
,
!
one_shotG
Σ
,
!
spawnG
Σ
}
.
Lemma
client_safe
:
WP
client
{{
_,
True
}}
%
I
.
(* ... *)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment