Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joshua Yanovski
iris-coq
Commits
31f0ec05
Commit
31f0ec05
authored
Feb 23, 2016
by
Robbert Krebbers
Browse files
Turn stuff like iRes Definitions instead of Notations.
With Set Printing All, these notations make me loose overview entirely.
parent
3fdd636a
Changes
1
Hide whitespace changes
Inline
Side-by-side
program_logic/model.v
View file @
31f0ec05
...
...
@@ -31,11 +31,11 @@ End iProp.
(
*
Solution
*
)
Definition
iPreProp
(
Λ
:
language
)
(
Σ
:
iFunctor
)
:
cofeT
:=
iProp
.
result
Λ
Σ
.
Nota
tion
iRes
Λ
Σ
:=
(
res
Λ
Σ
(
laterC
(
iPreProp
Λ
Σ
))
)
.
Nota
tion
iResRA
Λ
Σ
:=
(
resRA
Λ
Σ
(
laterC
(
iPreProp
Λ
Σ
))
)
.
Nota
tion
iWld
Λ
Σ
:=
(
mapRA
positive
(
agreeRA
(
laterC
(
iPreProp
Λ
Σ
)))
)
.
Nota
tion
iPst
Λ
:=
(
exclRA
(
istateC
Λ
)
)
.
Nota
tion
iGst
Λ
Σ
:=
(
ifunctor_car
Σ
(
laterC
(
iPreProp
Λ
Σ
))
)
.
Defini
tion
iRes
Λ
Σ
:=
res
Λ
Σ
(
laterC
(
iPreProp
Λ
Σ
)).
Defini
tion
iResRA
Λ
Σ
:=
resRA
Λ
Σ
(
laterC
(
iPreProp
Λ
Σ
)).
Defini
tion
iWld
Λ
Σ
:=
mapRA
positive
(
agreeRA
(
laterC
(
iPreProp
Λ
Σ
))).
Defini
tion
iPst
Λ
:=
exclRA
(
istateC
Λ
).
Defini
tion
iGst
Λ
Σ
:=
ifunctor_car
Σ
(
laterC
(
iPreProp
Λ
Σ
)).
Definition
iProp
(
Λ
:
language
)
(
Σ
:
iFunctor
)
:
cofeT
:=
uPredC
(
iResRA
Λ
Σ
).
Definition
iProp_unfold
{
Λ
Σ
}
:
iProp
Λ
Σ
-
n
>
iPreProp
Λ
Σ
:=
solution_fold
_.
Definition
iProp_fold
{
Λ
Σ
}
:
iPreProp
Λ
Σ
-
n
>
iProp
Λ
Σ
:=
solution_unfold
_.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment