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
Jonas Kastberg
iris
Commits
ba714f5a
Commit
ba714f5a
authored
Feb 15, 2017
by
Ralf Jung
Browse files
fix arrows
parent
445003cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/proofmode/class_instances.v
View file @
ba714f5a
...
...
@@ -44,19 +44,19 @@ Global Instance into_pure_cmra_valid `{CMRADiscrete A} (a : A) :
Proof
.
by
rewrite
/
IntoPure
discrete_valid
.
Qed
.
Global
Instance
into_pure_pure_and
(
φ
1
φ
2
:
Prop
)
P1
P2
:
IntoPure
P1
φ
1
->
IntoPure
P2
φ
2
->
IntoPure
(
P1
∧
P2
)
(
φ
1
∧
φ
2
).
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
).
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_or
(
φ
1
φ
2
:
Prop
)
P1
P2
:
IntoPure
P1
φ
1
->
IntoPure
P2
φ
2
->
IntoPure
(
P1
∨
P2
)
(
φ
1
∨
φ
2
).
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
:
FromPure
P1
φ
1
->
IntoPure
P2
φ
2
->
IntoPure
(
P1
→
P2
)
(
φ
1
→
φ
2
).
FromPure
P1
φ
1
→
IntoPure
P2
φ
2
→
IntoPure
(
P1
→
P2
)
(
φ
1
→
φ
2
).
Proof
.
rewrite
/
FromPure
/
IntoPure
pure_impl
.
by
intros
->
->.
Qed
.
Global
Instance
into_pure_pure_wand
(
φ
1
φ
2
:
Prop
)
P1
P2
:
FromPure
P1
φ
1
->
IntoPure
P2
φ
2
->
IntoPure
(
P1
-
∗
P2
)
(
φ
1
→
φ
2
).
FromPure
P1
φ
1
→
IntoPure
P2
φ
2
→
IntoPure
(
P1
-
∗
P2
)
(
φ
1
→
φ
2
).
Proof
.
rewrite
/
FromPure
/
IntoPure
pure_impl
always_impl_wand
.
by
intros
->
->.
Qed
.
...
...
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