Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
David Swasey
coq-stdpp
Commits
04359663
Commit
04359663
authored
Sep 28, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Induction principle for finite sets with Leibniz equality.
parent
a26ede46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
theories/fin_collections.v
theories/fin_collections.v
+3
-0
No files found.
theories/fin_collections.v
View file @
04359663
...
...
@@ -157,6 +157,9 @@ Proof.
apply
Hadd
.
set_solver
.
apply
IH
;
set_solver
.
-
by
rewrite
HX
.
Qed
.
Lemma
collection_ind_L
`
{!
LeibnizEquiv
C
}
(
P
:
C
→
Prop
)
:
P
∅
→
(
∀
x
X
,
x
∉
X
→
P
X
→
P
({[
x
]}
∪
X
))
→
∀
X
,
P
X
.
Proof
.
apply
collection_ind
.
by
intros
??
->%
leibniz_equiv_iff
.
Qed
.
(** * The [collection_fold] operation *)
Lemma
collection_fold_ind
{
B
}
(
P
:
B
→
C
→
Prop
)
(
f
:
A
→
B
→
B
)
(
b
:
B
)
:
...
...
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