Strange bug connected to GAP as a backend

11 views
Skip to first unread message

Peter Mueller

unread,
Nov 20, 2022, 3:22:04 PM11/20/22
to sage-support
Start with

g = SymmetricGroup(3)
chi = g.trivial_character()
u = g.subgroup([])

Next

reg = u.trivial_character().induct(g)
print(chi.scalar_product(reg))

yields as expected the answer 1.

Now repeat the very same two lines, but before doing so compute the  representatives of conjugacy classes of subgroups:

lg = g.conjugacy_classes_subgroups()
reg = u.trivial_character().induct(g)
print(chi.scalar_product(reg))

This results in
---------------------------------------------------------------------------
GAPError                                  Traceback (most recent call last)
[...]
GAPError: Error, no method found! Error, no 1st choice method found for `=' on 2 arguments

I omit the full traceback, because it is very well reproducible in versions 9.7 and 9.8.beta3, and also on the SageCell.

-- Peter Müller
Reply all
Reply to author
Forward
0 new messages