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
Bug in product of Schur symmetric functions #15397
Comments
comment:1
This bug was reported to me by Mercedes Rosas. I haven't experimented yet to identify the problem precisely. Since the product of Schur functions is done with lrcalc (which may or may not be where the bug is) I included Anders Buch in the cc of the developers list (this is the 'report upstream'). |
comment:2
Remark: I do not have similarly incorrect answers with the product of monomial symmetric functions.
|
comment:4
My first test indicates that the bug does not lie in lrcalc, but is actually a problem in symmetrica.
|
Changed upstream from Reported upstream. No feedback yet. to none |
comment:6
One fix for this bug could be to switch the product from symmetrica to lrcalc since the problem seems to be within symmetrica:
lrcalc seems to have a known reported bug in #14625 (to my eye, significantly less serious). Any advice? |
comment:7
You can test the symmetrica bug is also triggered on the website for symmetrica |
comment:8
An email message was sent to the addresses at the website for symmetrica as well as to Axel Kohnert (Nicolas indicated that he might be a contact for symmetrica). |
Upstream: Reported upstream. No feedback yet. |
comment:11
Wow, this is a terrible bug!!! One option would be to do the computations using lrcalc since we already have an interface to it and in addition ask Anders Buch to try to fix the lrcalc bug reported in #14625. |
comment:12
I am not sure if "Developers acknowledge bug." is quite accurate, but will have to do for now. Axel Kohnert has been seriously hurt and is unconscious. Adalbert Kerber from Bayreuth acknowledged the bug report though. I am posting here a patch to change the multiplication from symmetrica to lrcalc. I don't consider it quite ready for review, but it seems to solve the problem. As a happy side effect it also seems to have a serious speedup.
has a speedup from 169.30s to 27.75s running on sage cloud. |
Changed upstream from Reported upstream. No feedback yet. to Reported upstream. Developers acknowledge bug. |
comment:13
Doing some more experimenting I have found minor modifications of how to trigger the bug and the second example has very bad behavior:
|
comment:14
I guess I shouldn't have stopped there because:
|
Attachment: trac_15397_fix_with_lrcalc.patch.gz |
comment:15
I don't see the fix for symmetrica. There is clearly a bug there that one can recreate on their website. The attached patch changes That does not mean that the bug in symmetrica should not be fixed. The following command causes a
My recommendation is to review this patch and move on to fixing the problems with lrcalc mentioned in #14625. Anders Buch has a version 1.1.7 of lrcalc while the version in Sage now is 1.1.6. |
Changed keywords from none to symmetrica, lrcalc, symmetric functions |
Author: Mike Zabrocki |
comment:19
The fix looks good to me! |
Reviewer: Anne Schilling |
comment:21
The bug in symmetrica was moved to ticket #15407 |
Merged: sage-5.13.beta3 |
For partitions with first part >123 the product of Schur functions has problems.
Upstream: Reported upstream. Developers acknowledge bug.
CC: @sagetrac-sage-combinat @anneschilling @asbuch @mguaypaq @saliola @darijgr @sagetrac-tfeulner
Component: combinatorics
Keywords: symmetrica, lrcalc, symmetric functions
Author: Mike Zabrocki
Reviewer: Anne Schilling
Merged: sage-5.13.beta3
Issue created by migration from https://trac.sagemath.org/ticket/15397
The text was updated successfully, but these errors were encountered: