Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Rodolphe Lepigre
Iris
Commits
2f61a6b7
Commit
2f61a6b7
authored
Jan 22, 2017
by
Robbert Krebbers
Browse files
Use uPred_pure for instead of uPred_forall in core.v.
parent
8e0effe3
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/base_logic/lib/core.v
View file @
2f61a6b7
...
...
@@ -8,7 +8,7 @@ Import uPred.
in the shallow embedding. *)
Definition
coreP
{
M
:
ucmraT
}
(
P
:
uPred
M
)
:
uPred
M
:
=
(
∀
`
(!
PersistentP
Q
,
P
⊢
Q
),
Q
)%
I
.
(
∀
`
(!
PersistentP
Q
)
,
⌜
P
⊢
Q
⌝
→
Q
)%
I
.
Instance
:
Params
(@
coreP
)
1
.
Typeclasses
Opaque
coreP
.
...
...
@@ -25,7 +25,7 @@ Section core.
Global
Instance
coreP_mono
:
Proper
((
⊢
)
==>
(
⊢
))
(@
coreP
M
).
Proof
.
rewrite
/
coreP
.
iIntros
(
P
P'
?)
"H"
;
iIntros
(
Q
??).
unshelve
iApply
(
"H"
$!
Q
).
by
etrans
.
iApply
(
"H"
$!
Q
with
"[%]"
).
by
etrans
.
Qed
.
Global
Instance
coreP_proper
:
Proper
((
⊣
⊢
)
==>
(
⊣
⊢
))
(@
coreP
M
).
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment