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
Jonas Kastberg
iris
Commits
d2b71e0a
Commit
d2b71e0a
authored
Nov 01, 2016
by
Robbert Krebbers
Browse files
Instantiate foralls behind boxes by removing those.
That's like what we are doing when instantiating an arrow or wand.
parent
bb5e21f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
proofmode/coq_tactics.v
View file @
d2b71e0a
...
...
@@ -787,6 +787,9 @@ Global Instance forall_specialize_cons A As x xs Φ (Ψ : A → himpl As (uPred
(
∀
x
,
ForallSpecialize
xs
(
Φ
x
)
(
Ψ
x
))
→
ForallSpecialize
(
hcons
x
xs
)
(
∀
x
:
A
,
Φ
x
)
Ψ
.
Proof
.
rewrite
/
ForallSpecialize
/=
=>
<-.
by
rewrite
(
forall_elim
x
).
Qed
.
Global
Instance
forall_specialize_always
As
xs
P
(
Ψ
:
himpl
As
(
uPred
M
))
:
ForallSpecialize
xs
P
Ψ
→
ForallSpecialize
xs
(
□
P
)
Ψ
|
101
.
Proof
.
rewrite
/
ForallSpecialize
=>
->.
by
rewrite
always_elim
.
Qed
.
Lemma
tac_forall_specialize
{
As
}
Δ
Δ
'
i
p
P
(
Φ
:
himpl
As
(
uPred
M
))
Q
xs
:
envs_lookup
i
Δ
=
Some
(
p
,
P
)
→
ForallSpecialize
xs
P
Φ
→
...
...
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