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
Pierre-Marie Pédrot
stdpp
Commits
c699fda3
Commit
c699fda3
authored
May 11, 2013
by
Robbert Krebbers
Browse files
Improve "decompose_Forall_hyps" tactic.
parent
361308c7
Changes
1
Show whitespace changes
Inline
Side-by-side
theories/list.v
View file @
c699fda3
...
@@ -2703,10 +2703,11 @@ Ltac simplify_zip_equality := repeat
...
@@ -2703,10 +2703,11 @@ Ltac simplify_zip_equality := repeat
Ltac
decompose_Forall_hyps
:
=
repeat
Ltac
decompose_Forall_hyps
:
=
repeat
match
goal
with
match
goal
with
|
H
:
Forall
_
[]
|-
_
=>
inversion
H
|
H
:
Forall
_
[]
|-
_
=>
clear
H
|
H
:
Forall
_
(
_
::
_
)
|-
_
=>
rewrite
Forall_cons
in
H
;
destruct
H
|
H
:
Forall
_
(
_
::
_
)
|-
_
=>
rewrite
Forall_cons
in
H
;
destruct
H
|
H
:
Forall
_
(
_
++
_
)
|-
_
=>
rewrite
Forall_app
in
H
;
destruct
H
|
H
:
Forall
_
(
_
++
_
)
|-
_
=>
rewrite
Forall_app
in
H
;
destruct
H
|
H
:
Forall
_
(
_
<$>
_
)
|-
_
=>
rewrite
Forall_fmap
in
H
|
H
:
Forall
_
(
_
<$>
_
)
|-
_
=>
rewrite
Forall_fmap
in
H
|
H
:
Forall
_
?l
,
H'
:
length
?l
≠
0
|-
_
=>
is_var
l
;
destruct
H
;
[
done
|]
|
H
:
Forall2
_
[]
[]
|-
_
=>
clear
H
|
H
:
Forall2
_
[]
[]
|-
_
=>
clear
H
|
H
:
Forall2
_
(
_
::
_
)
[]
|-
_
=>
destruct
(
Forall2_cons_nil_inv
_
_
_
H
)
|
H
:
Forall2
_
(
_
::
_
)
[]
|-
_
=>
destruct
(
Forall2_cons_nil_inv
_
_
_
H
)
|
H
:
Forall2
_
[]
(
_
::
_
)
|-
_
=>
destruct
(
Forall2_nil_cons_inv
_
_
_
H
)
|
H
:
Forall2
_
[]
(
_
::
_
)
|-
_
=>
destruct
(
Forall2_nil_cons_inv
_
_
_
H
)
...
...
Write
Preview
Markdown
is supported
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