Skip to content

Commit

Permalink
ENHANCE: Avoid Agemo if subgroup is trivial
Browse files Browse the repository at this point in the history
  • Loading branch information
hulpke committed Aug 15, 2016
1 parent e1fcd18 commit ebe9955
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions lib/autsr.gi
Original file line number Diff line number Diff line change
Expand Up @@ -176,23 +176,25 @@ local ff,r,d,ser,u,v,i,j,p,bd,e,gens,lhom,M,N,hom,Q,Mim,q,ocr,split,MPcgs,
d:=RefinedSubnormalSeries(d,Centre(r));
for i in Set(Factors(Size(r))) do
u:=PCore(r,i);
d:=RefinedSubnormalSeries(d,u);
j:=1;
repeat
v:=Agemo(u,i,j);
if Size(v)>1 then
d:=RefinedSubnormalSeries(d,v);
fi;
j:=j+1;
until Size(v)=1;
j:=1;
repeat
v:=Omega(u,i,j);
if Size(v)<Size(u) then
d:=RefinedSubnormalSeries(d,v);
fi;
j:=j+1;
until Size(v)=Size(u);
if Size(u)>1 then
d:=RefinedSubnormalSeries(d,u);
j:=1;
repeat
v:=Agemo(u,i,j);
if Size(v)>1 then
d:=RefinedSubnormalSeries(d,v);
fi;
j:=j+1;
until Size(v)=1;
j:=1;
repeat
v:=Omega(u,i,j);
if Size(v)<Size(u) then
d:=RefinedSubnormalSeries(d,v);
fi;
j:=j+1;
until Size(v)=Size(u);
fi;

od;
Assert(1,ForAll([1..Length(d)-1],x->Size(d[x])<>Size(d[x+1])));
Expand Down

0 comments on commit ebe9955

Please sign in to comment.