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
Joshua Yanovski
iris-coq
Commits
0b908b36
Commit
0b908b36
authored
Mar 20, 2017
by
Robbert Krebbers
Browse files
Some missing unicode arrows.
parent
dc9135cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/proofmode/class_instances.v
View file @
0b908b36
...
...
@@ -94,19 +94,19 @@ Global Instance from_pure_bupd P φ : FromPure P φ → FromPure (|==> P) φ.
Proof
.
rewrite
/
FromPure
=>
->
.
apply
bupd_intro
.
Qed
.
Global
Instance
from_pure_pure_and
(
φ
1
φ
2
:
Prop
)
P1
P2
:
FromPure
P1
φ
1
->
FromPure
P2
φ
2
->
FromPure
(
P1
∧
P2
)
(
φ
1
∧
φ
2
).
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
).
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_or
(
φ
1
φ
2
:
Prop
)
P1
P2
:
FromPure
P1
φ
1
->
FromPure
P2
φ
2
->
FromPure
(
P1
∨
P2
)
(
φ
1
∨
φ
2
).
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
:
IntoPure
P1
φ
1
->
FromPure
P2
φ
2
->
FromPure
(
P1
→
P2
)
(
φ
1
→
φ
2
).
IntoPure
P1
φ
1
→
FromPure
P2
φ
2
→
FromPure
(
P1
→
P2
)
(
φ
1
→
φ
2
).
Proof
.
rewrite
/
FromPure
/
IntoPure
pure_impl
.
by
intros
->
->
.
Qed
.
Global
Instance
from_pure_pure_wand
(
φ
1
φ
2
:
Prop
)
P1
P2
:
IntoPure
P1
φ
1
->
FromPure
P2
φ
2
->
FromPure
(
P1
-
∗
P2
)
(
φ
1
→
φ
2
).
IntoPure
P1
φ
1
→
FromPure
P2
φ
2
→
FromPure
(
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