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
Iris
Iris
Commits
445003cc
Commit
445003cc
authored
Feb 15, 2017
by
Ralf Jung
Browse files
fix naming
parent
9d661288
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/proofmode/class_instances.v
View file @
445003cc
...
...
@@ -43,13 +43,13 @@ Global Instance into_pure_cmra_valid `{CMRADiscrete A} (a : A) :
@
IntoPure
M
(
✓
a
)
(
✓
a
).
Proof
.
by
rewrite
/
IntoPure
discrete_valid
.
Qed
.
Global
Instance
into_pure_pure_
conj
(
φ
1
φ
2
:
Prop
)
P1
P2
:
Global
Instance
into_pure_pure_
and
(
φ
1
φ
2
:
Prop
)
P1
P2
:
IntoPure
P1
φ
1
->
IntoPure
P2
φ
2
->
IntoPure
(
P1
∧
P2
)
(
φ
1
∧
φ
2
).
Proof
.
rewrite
/
IntoPure
pure_and
.
by
intros
->
->.
Qed
.
Global
Instance
into_pure_pure_sep
(
φ
1
φ
2
:
Prop
)
P1
P2
:
IntoPure
P1
φ
1
->
IntoPure
P2
φ
2
->
IntoPure
(
P1
∗
P2
)
(
φ
1
∧
φ
2
).
Proof
.
rewrite
/
IntoPure
sep_and
pure_and
.
by
intros
->
->.
Qed
.
Global
Instance
into_pure_pure_
disj
(
φ
1
φ
2
:
Prop
)
P1
P2
:
Global
Instance
into_pure_pure_
or
(
φ
1
φ
2
:
Prop
)
P1
P2
:
IntoPure
P1
φ
1
->
IntoPure
P2
φ
2
->
IntoPure
(
P1
∨
P2
)
(
φ
1
∨
φ
2
).
Proof
.
rewrite
/
IntoPure
pure_or
.
by
intros
->
->.
Qed
.
Global
Instance
into_pure_pure_impl
(
φ
1
φ
2
:
Prop
)
P1
P2
:
...
...
@@ -91,13 +91,13 @@ Qed.
Global
Instance
from_pure_bupd
P
φ
:
FromPure
P
φ
→
FromPure
(|==>
P
)
φ
.
Proof
.
rewrite
/
FromPure
=>
->.
apply
bupd_intro
.
Qed
.
Global
Instance
from_pure_pure_
conj
(
φ
1
φ
2
:
Prop
)
P1
P2
:
Global
Instance
from_pure_pure_
and
(
φ
1
φ
2
:
Prop
)
P1
P2
:
FromPure
P1
φ
1
->
FromPure
P2
φ
2
->
FromPure
(
P1
∧
P2
)
(
φ
1
∧
φ
2
).
Proof
.
rewrite
/
FromPure
pure_and
.
by
intros
->
->.
Qed
.
Global
Instance
from_pure_pure_sep
(
φ
1
φ
2
:
Prop
)
P1
P2
:
FromPure
P1
φ
1
->
FromPure
P2
φ
2
->
FromPure
(
P1
∗
P2
)
(
φ
1
∧
φ
2
).
Proof
.
rewrite
/
FromPure
pure_and
always_and_sep_l
.
by
intros
->
->.
Qed
.
Global
Instance
from_pure_pure_
disj
(
φ
1
φ
2
:
Prop
)
P1
P2
:
Global
Instance
from_pure_pure_
or
(
φ
1
φ
2
:
Prop
)
P1
P2
:
FromPure
P1
φ
1
->
FromPure
P2
φ
2
->
FromPure
(
P1
∨
P2
)
(
φ
1
∨
φ
2
).
Proof
.
rewrite
/
FromPure
pure_or
.
by
intros
->
->.
Qed
.
Global
Instance
from_pure_pure_impl
(
φ
1
φ
2
:
Prop
)
P1
P2
:
...
...
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