B. L.
unread,Apr 4, 2024, 5:24:22 AM4/4/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-devel
Hello,
to me it seems that with 10.3 there might be a bug in ".subgroup", see example below. The subgroup cardinality is wrong and the equality test of the group and the subgroup generated by all group elements yields "False". In previous versionls of SAGE this worked as expected.
Can anybody help?
Thanks and kind regards,
Barbara
sage: g = AbelianGroup([4, 4])
sage: gg = g.subgroup(g.list())
sage: g
Multiplicative Abelian group isomorphic to C4 x C4
sage: gg
Multiplicative Abelian subgroup isomorphic to C4 x C4 generated by {f1, f1^2, f1^3, f0, f0*f1, f0*f1^2, f0*f1^3, f0^2, f0^2*f1, f0^2*f1^2, f0^2*f1^3, f0^3, f0^3*f1, f0^3*f1^2, f0^3*f1^3}
sage: g.cardinality()
16
sage: gg.cardinality()
134217728
sage: g==gg
False