Hi all, I have realized a problem with the computation of intersections of sets. A minimal example reproducing the problem is the following:
sage: G = AlternatingGroup(5); sage: g = (1,2,3); sage: cl = Set([x*G(g)*x^(-1) for x in G]) sage: A = Set(G.centralizer(G(g))); sage: A, A.intersection(Set(cl)) ({(1,2,3), (1,3,2), ()}, {}) G is the alternating group A(5), g the 3-cycle (1,2,3), cl is the conjugacy class of g inside G (which consists on all 3-cycles), and A is the centralizer of g in G. According to SAGE, A = {(1,2,3), (1,3,2), ()} so the intersection of A with cl should be {(1,2,3), (1,3,2)}, but when trying to compute the intersection the output is the empty set {} Am I doing something wrong here? Cheers Javier --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---