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
51da9c32
Commit
51da9c32
authored
2 years ago
by
Ralf Jung
Browse files
Options
Downloads
Plain Diff
Merge branch 'logatom_lock' into 'master'
logatom_lock tweaks See merge request
iris/iris!829
parents
75c9df64
fc4b08fe
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iris_heap_lang/lib/logatom_lock.v
+4
-3
4 additions, 3 deletions
iris_heap_lang/lib/logatom_lock.v
with
4 additions
and
3 deletions
iris_heap_lang/lib/logatom_lock.v
+
4
−
3
View file @
51da9c32
(** A TaDA-style logically atomic specification for a lock, derived for an
arbitrary implementation of the lock interfacne. The opposite direction
could also be derived rather easily, as shown in the TaDA paper.
could also be derived rather easily (modulo a later in the [acquire] postcondition
or a restriction to timeless lock invariants), as shown in the TaDA paper.
In essence, this is an instance of the general fact that 'invariant-based'
("HoCAP-style") logically atomic specifications are equivalent to TaDA-style
...
...
@@ -27,8 +28,8 @@ Section tada.
Context
`{
!
heapGS
Σ
,
!
lockG
Σ
}
(
l
:
lock
)
.
Record
tada_lock_name
:=
TadaLockName
{
tada_lock_name_state
:
gname
;
tada_lock_name_lock
:
l
.(
name
);
tada_lock_name_state
:
gname
;
tada_lock_name_lock
:
l
.(
name
);
}
.
Definition
tada_lock_state
(
γ
:
tada_lock_name
)
(
s
:
state
)
:
iProp
Σ
:=
...
...
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