Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
coq-stdpp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
David Swasey
coq-stdpp
Commits
3ebeaca2
Commit
3ebeaca2
authored
Jan 06, 2017
by
Jacques-Henri Jourdan
Committed by
Robbert Krebbers
Jan 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Recursive [inv_vec].
parent
0158faa7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
theories/vector.v
theories/vector.v
+2
-1
No files found.
theories/vector.v
View file @
3ebeaca2
...
...
@@ -191,7 +191,8 @@ Ltac inv_vec v :=
|
vec
_
0
=>
revert
dependent
v
;
match
goal
with
|-
∀
v
,
@
?P
v
=>
apply
(
vec_0_inv
P
)
end
|
vec
_
(
S
?n
)
=>
revert
dependent
v
;
match
goal
with
|-
∀
v
,
@
?P
v
=>
apply
(
vec_S_inv
P
)
end
revert
dependent
v
;
match
goal
with
|-
∀
v
,
@
?P
v
=>
apply
(
vec_S_inv
P
)
end
;
try
(
let
x
:
=
fresh
"x"
in
intros
x
v
;
inv_vec
v
;
revert
x
)
end
.
(** The following tactic performs case analysis on all hypotheses of the shape
...
...
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