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
feat(combinatorics/stars_and_bars): Add a dedicated type for stars and bars #13063
base: master
Are you sure you want to change the base?
Conversation
eric-wieser
commented
Mar 30, 2022
•
edited
edited
@eric-wieser , is this file meant as a standalone "leaf node," or do you forsee uses for it in other developments? I'll admit, I've always thought of "stars and bars" as just a thing that can be counted with binomial coefficients, not as a data structure itself. So I'm wondering about the motivation for this new file. |
I've seen a bunch of cardinality arguments that just say "well this type is isomorphic to stars and bars in some obvious way, so the cardinality is the same". For such an argument to be visible in the lean code, we presumably need some I'll change this back to awaiting author though, since it probably does make sense to add the particular cardinality argument I had in mind, which is waiting on me to cleanup another PR. |
What's the status of this? |