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
Environments
Terraform modules
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
Ike Mulder
Iris
Commits
e9e55145
Commit
e9e55145
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Turn iProp into a notation.
This avoids Coq distinguishing iProp and uPred (iResUR _) when it should not.
parent
3ba59838
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
program_logic/model.v
+2
-4
2 additions, 4 deletions
program_logic/model.v
with
2 additions
and
4 deletions
program_logic/model.v
+
2
−
4
View file @
e9e55145
...
...
@@ -116,7 +116,7 @@ Module Type iProp_solution_sig.
Parameter
iPreProp
:
gFunctors
→
cofeT
.
Definition
iResUR
(
Σ
:
gFunctors
)
:
ucmraT
:=
iprodUR
(
λ
i
,
gmapUR
gname
(
Σ
i
(
iPreProp
Σ
)))
.
Defini
tion
iProp
(
Σ
:
gFunctors
)
:
cofeT
:=
uPredC
(
iResUR
Σ
)
.
Nota
tion
iProp
Σ
:=
(
uPredC
(
iResUR
Σ
)
)
.
Parameter
iProp_unfold
:
∀
{
Σ
},
iProp
Σ
-
n
>
iPreProp
Σ
.
Parameter
iProp_fold
:
∀
{
Σ
},
iPreProp
Σ
-
n
>
iProp
Σ
.
...
...
@@ -134,7 +134,7 @@ Module Export iProp_solution : iProp_solution_sig.
Definition
iPreProp
(
Σ
:
gFunctors
)
:
cofeT
:=
iProp_result
Σ
.
Definition
iResUR
(
Σ
:
gFunctors
)
:
ucmraT
:=
iprodUR
(
λ
i
,
gmapUR
gname
(
Σ
i
(
iPreProp
Σ
)))
.
Defini
tion
iProp
(
Σ
:
gFunctors
)
:
cofeT
:=
uPredC
(
iResUR
Σ
)
.
Nota
tion
iProp
Σ
:=
(
uPredC
(
iResUR
Σ
)
)
.
Definition
iProp_unfold
{
Σ
}
:
iProp
Σ
-
n
>
iPreProp
Σ
:=
solution_fold
(
iProp_result
Σ
)
.
...
...
@@ -145,8 +145,6 @@ Module Export iProp_solution : iProp_solution_sig.
Proof
.
apply
solution_fold_unfold
.
Qed
.
End
iProp_solution
.
Bind
Scope
uPred_scope
with
iProp
.
(** * Properties of the solution to the recursive domain equation *)
Lemma
iProp_unfold_equivI
{
Σ
}
(
P
Q
:
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