From 4f6aa5c3b23d875ffaefe83c6b63519efaa5d0d0 Mon Sep 17 00:00:00 2001 From: Alexander Hulpke Date: Sun, 30 Dec 2018 10:57:05 +0200 Subject: [PATCH] FIX: Fitting free data use in clashom If the group has been obtained as subgroup from a fitting free computation, the data will be inherited and might not guarantee that the factor group really is fitting free. Test/resolve this. This fixes #3139 --- lib/clashom.gi | 9 ++++++++- tst/testbugfix/2018-12-30-clashom.tst | 5 +++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 tst/testbugfix/2018-12-30-clashom.tst diff --git a/lib/clashom.gi b/lib/clashom.gi index e4844ec413..ffdb11559e 100644 --- a/lib/clashom.gi +++ b/lib/clashom.gi @@ -2391,8 +2391,15 @@ local r, #radical hom:=ser.factorhom; ntrihom:=true; f:=Image(hom); + # if lift setup is inherited, f might not be trivial-fitting + if Size(RadicalGroup(f))>1 then + # this is proper recursion + cl:=ConjugacyClasses(f:onlysizes:=false); + cl:=List(cl,x->[Representative(x),Centralizer(x)]); + else # we need centralizers - cl:=ConjugacyClassesFittingFreeGroup(f:onlysizes:=false); + cl:=ConjugacyClassesFittingFreeGroup(f:onlysizes:=false); + fi; fants:=Filtered(NormalSubgroups(f),x->Size(x)>1 and Size(x) wreathy := WreathProduct(SymmetricGroup(2),SymmetricGroup(5));; +gap> classes := ConjugacyClasses(wreathy);; +gap> badsubgroup := StabilizerOfExternalSet( classes[2] );; +gap> ConjugacyClasses( badsubgroup );;