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
Tej Chajed
iris
Commits
26ae0c67
Commit
26ae0c67
authored
Nov 25, 2016
by
Robbert Krebbers
Browse files
Make iLeft and iRight work with always.
parent
37f022e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
proofmode/class_instances.v
View file @
26ae0c67
...
...
@@ -330,9 +330,12 @@ Proof. done. Qed.
Global
Instance
from_or_bupd
P
Q1
Q2
:
FromOr
P
Q1
Q2
→
FromOr
(|==>
P
)
(|==>
Q1
)
(|==>
Q2
).
Proof
.
rewrite
/
FromOr
=><-.
apply
or_elim
;
apply
bupd_mono
;
auto
with
I
.
Qed
.
Global
Instance
from_or_always
P
Q1
Q2
:
FromOr
P
Q1
Q2
→
FromOr
(
□
P
)
(
□
Q1
)
(
□
Q2
).
Proof
.
rewrite
/
FromOr
=>
<-.
by
rewrite
always_or
.
Qed
.
Global
Instance
from_or_later
P
Q1
Q2
:
FromOr
P
Q1
Q2
→
FromOr
(
▷
P
)
(
▷
Q1
)
(
▷
Q2
).
Proof
.
rewrite
/
FromOr
=><-.
apply
or_elim
;
apply
later_mono
;
auto
with
I
.
Qed
.
Proof
.
rewrite
/
FromOr
=><-.
by
rewrite
later_or
.
Qed
.
(* IntoOr *)
Global
Instance
into_or_or
P
Q
:
IntoOr
(
P
∨
Q
)
P
Q
.
...
...
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