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
Dan Frumin
iris-coq
Commits
6615248b
Commit
6615248b
authored
Jun 15, 2016
by
Robbert Krebbers
Browse files
Make iDestructing of existentials go through always.
parent
1f3636b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
proofmode/coq_tactics.v
View file @
6615248b
...
...
@@ -939,6 +939,9 @@ Proof. done. Qed.
Global
Instance
exist_destruct_later
{
A
}
P
(
Φ
:
A
→
uPred
M
)
:
ExistDestruct
P
Φ
→
Inhabited
A
→
ExistDestruct
(
▷
P
)
(
λ
a
,
▷
(
Φ
a
))
%
I
.
Proof
.
rewrite
/
ExistDestruct
=>
HP
?
.
by
rewrite
HP
later_exist
.
Qed
.
Global
Instance
exist_destruct_always
{
A
}
P
(
Φ
:
A
→
uPred
M
)
:
ExistDestruct
P
Φ
→
ExistDestruct
(
□
P
)
(
λ
a
,
□
(
Φ
a
))
%
I
.
Proof
.
rewrite
/
ExistDestruct
=>
HP
.
by
rewrite
HP
always_exist
.
Qed
.
Lemma
tac_exist_destruct
{
A
}
Δ
i
p
j
P
(
Φ
:
A
→
uPred
M
)
Q
:
envs_lookup
i
Δ
=
Some
(
p
,
P
)
→
ExistDestruct
P
Φ
→
...
...
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