Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
Fairis
Commits
fcf38b87
Commit
fcf38b87
authored
Feb 09, 2016
by
Ralf Jung
Browse files
fix and_exist_r
parent
0cc4e7be
Changes
1
Show whitespace changes
Inline
Side-by-side
program_logic/upred.v
View file @
fcf38b87
...
...
@@ -560,8 +560,11 @@ Proof.
-
apply
exist_elim
=>
a
.
apply
and_intro
;
first
by
rewrite
and_elim_l
.
by
rewrite
-
(
exist_intro
a
)
and_elim_r
.
Qed
.
Lemma
and_exist_r
{
A
}
P
(
Q
:
A
→
uPred
M
)
:
(
P
∧
∃
a
,
Q
a
)
%
I
≡
(
∃
a
,
P
∧
Q
a
)
%
I
.
Proof
.
by
rewrite
(
commutative
_
P
)
-
and_exist_l
(
commutative
_
P
).
Qed
.
Lemma
and_exist_r
{
A
}
P
(
Q
:
A
→
uPred
M
)
:
((
∃
a
,
Q
a
)
∧
P
)
%
I
≡
(
∃
a
,
Q
a
∧
P
)
%
I
.
Proof
.
rewrite
-
(
commutative
_
P
)
and_exist_l
.
apply
exist_proper
=>
a
.
by
rewrite
commutative
.
Qed
.
(
*
BI
connectives
*
)
Lemma
sep_mono
P
P
'
Q
Q
'
:
P
⊑
Q
→
P
'
⊑
Q
'
→
(
P
★
P
'
)
⊑
(
Q
★
Q
'
).
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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