#13997: Fixing a bug in the cyclic sieving phenomenon
---------------------------------------------+------------------------------
Reporter: stumpc5 | Owner: sage-combinat
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.7
Component: combinatorics | Resolution:
Keywords: cyclic sieving phenomenon | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Christian Stump | Merged in:
Dependencies: | Stopgaps:
---------------------------------------------+------------------------------
Changes (by stumpc5):
* status: new => needs_review
Old description:
> This patch fixes a bug in the cyclic sieving phenomenon.
New description:
This patch fixes a bug in the cyclic sieving phenomenon.
Without the patch applied, we have
{{{
sage: from sage.combinat.cyclic_sieving_phenomenon import
CyclicSievingPolynomial
sage: S42 = [ Set(S) for S in subsets([1,2,3,4]) if len(S) == 2 ]; S42
sage: cyc_act = lambda S: Set( i.mod(4)+1 for i in S)
sage: CyclicSievingPolynomial( S42, cyc_act, order=8, get_order=True )
[q^6 + 2*q^4 + q^2 + 2, 4]
}}}
while with the patch applied, you get
{{{
sage: CyclicSievingPolynomial( S42, cyc_act, order=8, get_order=True )
[q^6 + 2*q^4 + q^2 + 2, 8]
}}}
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13997#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.