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
Pierre Roux
Iris
Commits
954d43aa
Commit
954d43aa
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
changelog and improve docs
parent
aba3bee9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+10
-0
10 additions, 0 deletions
CHANGELOG.md
iris/algebra/dyn_reservation_map.v
+6
-5
6 additions, 5 deletions
iris/algebra/dyn_reservation_map.v
with
16 additions
and
5 deletions
CHANGELOG.md
+
10
−
0
View file @
954d43aa
...
...
@@ -12,6 +12,16 @@ lemma.
(
`dfrac`
) instead of a fraction (
`frac`
). Normal fractions are now denoted
`●{#q} a`
and
`●V{#q} a`
. Lemmas affected by this have been renamed such that
the "frac" in their name has been changed into "dfrac".
*
Generalize
`namespace_map`
to
`reservation_map`
which enhances
`gmap positive
A`
with a notion of 'tokens' that enable allocating a particular name in the
map. See
[
algebra.reservation_map
](
iris/algebra/reservation_map.v
)
for further
information.
*
Add
`dyn_reservation_map`
which further extends
`reservation_map`
with the
ability to dynamically allocate an infinite set of tokens. This is useful to
perform synchronized allocation of the same name in two maps/APIs without
dedicated support from one of the involved maps/APIs. See
[
algebra.dyn_reservation_map
](
iris/algebra/dyn_reservation_map.v
)
for further
information.
**Changes in `base_logic`:**
...
...
This diff is collapsed.
Click to expand it.
iris/algebra/dyn_reservation_map.v
+
6
−
5
View file @
954d43aa
...
...
@@ -8,11 +8,12 @@ coPset] which represent the right to allocate a map entry at any position [k ∈
E]. Unlike [reservation_map], [dyn_reservation_map] supports dynamically
allocating these tokens, including infinite sets of them. This is useful when
syncing the keys of this map with another API that dynamically allocates names:
we can first reserve a fresh infinite set of tokens here, then allocate a new
*in that set* with the other API, and then use our tokens to allocate the same
name here. In effect, we have performed synchronized allocation of the same
name across two maps, without the other API having to have dedicated support for
this.
we can first reserve a fresh infinite set [E] of tokens here, then allocate a
new name *in [E]* with the other API (assuming it offers the usual "allocate a
fresh name in an infinite set" API), and then use our tokens to allocate the
same name here. In effect, we have performed synchronized allocation of the
same name across two maps, without the other API having to have dedicated
support for this.
The key connectives are [dyn_reservation_map_data k a] (the "points-to"
assertion of this map), which associates data [a : A] with a key [k : positive],
...
...
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