Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Marianna Rapoport
iris-coq
Commits
a3a70c30
Commit
a3a70c30
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
complete writing down the invariant of the barrier protocol
parent
7c8f9427
No related branches found
Branches containing commit
Tags
iris-3.1.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
barrier/barrier.v
+4
-2
4 additions, 2 deletions
barrier/barrier.v
with
4 additions
and
2 deletions
barrier/barrier.v
+
4
−
2
View file @
a3a70c30
From
algebra
Require
Export
upred_big_op
.
From
program_logic
Require
Export
sts
saved_prop
.
From
program_logic
Require
Export
sts
saved_prop
.
From
heap_lang
Require
Export
derived
heap
wp_tactics
notation
.
From
heap_lang
Require
Export
derived
heap
wp_tactics
notation
.
...
@@ -102,10 +103,11 @@ Section proof.
...
@@ -102,10 +103,11 @@ Section proof.
Notation
iProp
:=
(
iPropG
heap_lang
Σ
)
.
Notation
iProp
:=
(
iPropG
heap_lang
Σ
)
.
Definition
waiting
(
P
:
iProp
)
(
I
:
gset
gname
)
:
iProp
:=
Definition
waiting
(
P
:
iProp
)
(
I
:
gset
gname
)
:
iProp
:=
(
∃
Q
:
gmap
gname
iProp
,
True
)
%
I
.
(
∃
Q
:
gmap
gname
iProp
,
▷
(
P
-★
Π
★
{
map
Q
}
(
λ
_
Q
,
Q
))
★
Π
★
{
map
Q
}
(
λ
i
Q
,
saved_prop_own
SpI
i
Q
))
%
I
.
Definition
ress
(
I
:
gset
gname
)
:
iProp
:=
Definition
ress
(
I
:
gset
gname
)
:
iProp
:=
(
True
)
%
I
.
(
Π
★
{
set
I
}
(
λ
i
,
∃
Q
,
saved_prop_own
SpI
i
Q
★
▷
Q
)
)
%
I
.
Definition
barrier_inv
(
l
:
loc
)
(
P
:
iProp
)
(
s
:
stateT
)
:
iProp
:=
Definition
barrier_inv
(
l
:
loc
)
(
P
:
iProp
)
(
s
:
stateT
)
:
iProp
:=
match
s
with
match
s
with
...
...
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