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
Janno
iris-coq
Commits
efd17201
Commit
efd17201
authored
May 23, 2018
by
Ralf Jung
Browse files
elim_inv_acc_with_close: also support ElimModal with a side-condition
parent
58e2394c
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/proofmode/class_instances_bi.v
View file @
efd17201
...
...
@@ -868,15 +868,16 @@ Proof.
Qed
.
Global
Instance
elim_inv_acc_with_close
{
X
:
Type
}
φ
Pinv
Pin
φ
1
φ
2
Pinv
Pin
M1
M2
α
β
m
γ
Q
Q'
:
IntoAcc
Pinv
φ
Pin
M1
M2
α
β
m
γ
→
(
∀
R
,
ElimModal
True
false
false
(
M1
R
)
R
Q
Q'
)
→
ElimInv
(
X
:
=
X
)
φ
Pinv
Pin
α
(
Some
(
λ
x
,
β
x
-
∗
M2
(
proofmode
.
base
.
from_option
id
emp
(
m
γ
x
))))%
I
IntoAcc
Pinv
φ
1
Pin
M1
M2
α
β
m
γ
→
(
∀
R
,
ElimModal
φ
2
false
false
(
M1
R
)
R
Q
Q'
)
→
ElimInv
(
X
:
=
X
)
(
φ
1
∧
φ
2
)
Pinv
Pin
α
(
Some
(
λ
x
,
β
x
-
∗
M2
(
proofmode
.
base
.
from_option
id
emp
(
m
γ
x
))))%
I
Q
(
λ
_
,
Q'
).
Proof
.
rewrite
/
ElimAcc
/
IntoAcc
/
ElimInv
.
iIntros
(
Hacc
Helim
H
φ
)
"(Hinv & Hin & Hcont)"
.
iIntros
(
Hacc
Helim
[??]
)
"(Hinv & Hin & Hcont)"
.
iMod
(
Hacc
with
"Hinv Hin"
)
as
(
x
)
"[Hα Hclose]"
;
first
done
.
iApply
"Hcont"
.
simpl
.
iSplitL
"Hα"
;
done
.
Qed
.
...
...
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