-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Cardinality of partitions of negative values #33323
Comments
Commit: |
comment:2
I would rather think that most combinatorial objects return a
But If you prefer, returning the empty set would be another solution. Do we have such an object ? |
comment:3
Perhaps it would be better for these to raise a
We do not seem to have a singular |
comment:4
In order to keep that continuing to work, I think we would need a more long-term fix, which would include specifying the valid indices for the grading monoid of any graded module. |
comment:5
This looks simple and these things work:
I'm somewhat agnostic about whether |
comment:6
For the sake of (e.g.) the Euler pentagonal number theorem, it makes the most sense to return the empty set. Otherwise, the sum needs to be broken up at some nasty bounds. |
comment:7
This can also be a stopgap ticket until a more permanent solution is found. |
comment:8
An interesting comparison point:
So there are bugs there that can be handled on another ticket. |
comment:9
In my opinion we should merge this ticket and then think about long-term solutions elsewhere. |
comment:10
@fchapoton, any objections to John doing the review for this as a stopgap ticket? |
comment:11
no objection whatsoever ; I have no monopoly on reviews |
comment:12
We value your opinion. Plus, all objections should be resolved before a positive review too. |
comment:13
Let's merge this as is, and on other tickets continue to think about how to handle these situations. |
Reviewer: John Palmieri |
Changed branch from public/combinat/negative_partition_card-33323 to |
This should work (as long as it accepts negative values, which there is nothing wrong with it, it is just an empty set), but it results in an overflow error:
CC: @darijgr @fchapoton @jhpalmieri
Component: combinatorics
Author: Travis Scrimshaw
Branch/Commit:
c340478
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/33323
The text was updated successfully, but these errors were encountered: