-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - feat(finset/basic): downward induction for finsets #7379
Conversation
YaelDillies
commented
Apr 27, 2021
•
edited by jcommelin
edited by jcommelin
I didn't manage to get an equivalent of |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
src/data/finset/basic.lean
Outdated
by { dunfold strong_downward_induction_on, rw strong_downward_induction } | ||
|
||
/-- Analogue of `strong_downward_induction_on` but over a set. -/ | ||
def strong_downward_induction_on_set {p : finset α → Sort*} {A : set (finset α)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really necessary? We don't have analogues of this lemma for any other induction principle.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know. I found it handy in my case, but it's true that it's mostly strong_downward_induction_on
applied to λ s, s ∈ A → p s
with s ∈ A → s.card ≤ n
factored out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I've removed it. We'll see whether I can do without it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 🎉
bors merge
This PR was included in a batch that was canceled, it will be automatically retried |
Build failed (retrying...): |
Pull request successfully merged into master. Build succeeded: |