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
Michael Sammler
iris-coq
Commits
a94cfec9
Commit
a94cfec9
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Add missing file program_logic/iris.
parent
4d8c4ac8
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
program_logic/iris.v
+29
-0
29 additions, 0 deletions
program_logic/iris.v
with
29 additions
and
0 deletions
program_logic/iris.v
0 → 100644
+
29
−
0
View file @
a94cfec9
From
iris
.
program_logic
Require
Export
ghost_ownership
language
.
From
iris
.
prelude
Require
Export
coPset
.
From
iris
.
algebra
Require
Import
gmap
auth
agree
gset
coPset
upred_big_op
.
Class
irisPreG
(
Λ
:
language
)
(
Σ
:
gFunctors
)
:
Set
:=
IrisPreG
{
state_inG
:>
inG
Σ
(
authUR
(
optionUR
(
exclR
(
stateC
Λ
))));
invariant_inG
:>
inG
Σ
(
authUR
(
gmapUR
positive
(
agreeR
(
laterC
(
iPreProp
Σ
)))));
enabled_inG
:>
inG
Σ
coPset_disjUR
;
disabled_inG
:>
inG
Σ
(
gset_disjUR
positive
);
}
.
Class
irisG
(
Λ
:
language
)
(
Σ
:
gFunctors
)
:
Set
:=
IrisG
{
iris_pre_inG
:>
irisPreG
Λ
Σ
;
state_name
:
gname
;
invariant_name
:
gname
;
enabled_name
:
gname
;
disabled_name
:
gname
;
}
.
Definition
irisPreGF
(
Λ
:
language
)
:
gFunctorList
:=
[
GFunctor
(
constRF
(
authUR
(
optionUR
(
exclR
(
stateC
Λ
)))));
GFunctor
(
authRF
(
gmapURF
positive
(
agreeRF
(
laterCF
idCF
))));
GFunctor
(
constRF
coPset_disjUR
);
GFunctor
(
constRF
(
gset_disjUR
positive
))]
.
Instance
inGF_barrierG
`{
H
:
inGFs
Σ
(
irisPreGF
Λ
)}
:
irisPreG
Λ
Σ
.
Proof
.
by
destruct
H
as
(?
%
inGF_inG
&
?
%
inGF_inG
&
?
%
inGF_inG
&
?
%
inGF_inG
&
_)
.
Qed
.
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