  
  [1m[4m[31m4. Idempotents[0m
  
  
  [1m[4m[31m4.1 Computing idempotents from character table[0m
  
  [1m[4m[31m4.1-1 PrimitiveCentralIdempotentsByCharacterTable[0m
  
  [1m[34m> PrimitiveCentralIdempotentsByCharacterTable( [0m[22m[34mFG[0m[1m[34m ) _______________[0moperation
  [1mReturns:[0m  A list of group algebra elements.
  
  The input [22m[34mFG[0m should be a semisimple group algebra.
  
  Returns  the list of primitive central idempotents of [22m[34mFG[0m using the character
  table of G ([1m7.4[0m).
  
  [22m[35m---------------------------  Example  ----------------------------[0m
    [22m[35m[0m
    [22m[35mgap> QS3 := GroupRing( Rationals, SymmetricGroup(3) );;                 [0m
    [22m[35mgap> PrimitiveCentralIdempotentsByCharacterTable( QS3 );[0m
    [22m[35m[ (1/6)*()+(-1/6)*(2,3)+(-1/6)*(1,2)+(1/6)*(1,2,3)+(1/6)*(1,3,2)+(-1/6)*(1,3),[0m
    [22m[35m  (2/3)*()+(-1/3)*(1,2,3)+(-1/3)*(1,3,2), (1/6)*()+(1/6)*(2,3)+(1/6)*(1,2)+(1/[0m
    [22m[35m    6)*(1,2,3)+(1/6)*(1,3,2)+(1/6)*(1,3) ][0m
    [22m[35mgap> QG:=GroupRing( Rationals , SmallGroup(24,3) );[0m
    [22m[35m<algebra-with-one over Rationals, with 4 generators>[0m
    [22m[35mgap> FG:=GroupRing( CF(3) , SmallGroup(24,3) );[0m
    [22m[35m<algebra-with-one over CF(3), with 4 generators>[0m
    [22m[35mgap> pciQG := PrimitiveCentralIdempotentsByCharacterTable(QG);;[0m
    [22m[35mgap> pciFG := PrimitiveCentralIdempotentsByCharacterTable(FG);;[0m
    [22m[35mgap> Length(pciQG);[0m
    [22m[35m5[0m
    [22m[35mgap> Length(pciFG);[0m
    [22m[35m7[0m
    [22m[35m[0m
  [22m[35m------------------------------------------------------------------[0m
  
  
  [1m[4m[31m4.2 Testing lists of idempotents for completeness[0m
  
  [1m[4m[31m4.2-1 IsCompleteSetOfOrthogonalIdempotents[0m
  
  [1m[34m> IsCompleteSetOfOrthogonalIdempotents( [0m[22m[34mR, list[0m[1m[34m ) _________________[0moperation
  
  The input should be formed by a unital ring [22m[34mR[0m and a list [22m[34mlist[0m of elements of
  [22m[34mR[0m.
  
  Returns  [22m[32mtrue[0m  if the list [22m[34mlist[0m is a complete list of orthogonal idempotents
  of  [22m[34mR[0m.  That  is,  the  output is [22m[32mtrue[0m provided the following conditions are
  satisfied:
  
  * The sum of the elements of [22m[34mlist[0m is the identity of [22m[34mR[0m,
  
  * e^2=e, for every e in [22m[34mlist[0m and
  
  * e*f=0, if e and f are elements in different positions of [22m[34mlist[0m.
  
  No claim is made on the idempotents being central or primitive.
  
  Note  that  the  if  a  non-zero  element  t  of  [22m[34mR[0m appears in two different
  positions  of [22m[34mlist[0m then the output is [22m[32mfalse[0m, and that the list [22m[34mlist[0m must not
  contain zeroes.
  
  [22m[35m---------------------------  Example  ----------------------------[0m
    [22m[35m[0m
    [22m[35mgap> QS5 := GroupRing( Rationals, SymmetricGroup(5) );;[0m
    [22m[35mgap> idemp := PrimitiveCentralIdempotentsByCharacterTable( QS5 );;[0m
    [22m[35mgap> IsCompleteSetOfOrthogonalIdempotents( QS5, idemp );[0m
    [22m[35mtrue[0m
    [22m[35mgap> IsCompleteSetOfOrthogonalIdempotents( QS5, [ One( QS5 ) ] );[0m
    [22m[35mtrue[0m
    [22m[35mgap> IsCompleteSetOfOrthogonalIdempotents( QS5, [ One( QS5 ), One( QS5 ) ] );[0m
    [22m[35mfalse[0m
    [22m[35m[0m
  [22m[35m------------------------------------------------------------------[0m
  
  
  [1m[4m[31m4.3 Idempotents from Shoda pairs[0m
  
  [1m[4m[31m4.3-1 PrimitiveCentralIdempotentsByStrongSP[0m
  
  [1m[34m> PrimitiveCentralIdempotentsByStrongSP( [0m[22m[34mFG[0m[1m[34m ) _____________________[0mattribute
  [1mReturns:[0m  A list of group algebra elements.
  
  The  input [22m[34mFG[0m should be a semisimple group algebra of a finite group G whose
  coefficient field F is either a finite field or the field Q of rationals.
  
  If F = Q then the output is the list of primitive central idempotents of the
  group algebra [22m[34mFG[0m realizable by strong Shoda pairs ([1m7.15[0m) of G.
  
  If  F  is  a  finite  field then the output is the list of primitive central
  idempotents  of  [22m[34mFG[0m  realizable  by  strong  Shoda  pairs  (K,H)  of  G  and
  q-cyclotomic classes modulo the index of H in K ([1m7.17[0m).
  
  If  the  list  of  primitive  central idempotents given by the output is not
  complete  (i.e.  if  the  group  G  is  not [22m[36mstrongly monomial[0m ([1m7.16[0m)) then a
  warning is displayed.
  
  [22m[35m---------------------------  Example  ----------------------------[0m
    [22m[35m[0m
    [22m[35mgap> QG:=GroupRing( Rationals, AlternatingGroup(4) );;           [0m
    [22m[35mgap> PrimitiveCentralIdempotentsByStrongSP( QG );[0m
    [22m[35m[ (1/12)*()+(1/12)*(2,3,4)+(1/12)*(2,4,3)+(1/12)*(1,2)(3,4)+(1/12)*(1,2,3)+(1/[0m
    [22m[35m    12)*(1,2,4)+(1/12)*(1,3,2)+(1/12)*(1,3,4)+(1/12)*(1,3)(2,4)+(1/12)*[0m
    [22m[35m    (1,4,2)+(1/12)*(1,4,3)+(1/12)*(1,4)(2,3),[0m
    [22m[35m  (1/6)*()+(-1/12)*(2,3,4)+(-1/12)*(2,4,3)+(1/6)*(1,2)(3,4)+(-1/12)*(1,2,3)+([0m
    [22m[35m    -1/12)*(1,2,4)+(-1/12)*(1,3,2)+(-1/12)*(1,3,4)+(1/6)*(1,3)(2,4)+(-1/12)*[0m
    [22m[35m    (1,4,2)+(-1/12)*(1,4,3)+(1/6)*(1,4)(2,3),[0m
    [22m[35m  (3/4)*()+(-1/4)*(1,2)(3,4)+(-1/4)*(1,3)(2,4)+(-1/4)*(1,4)(2,3) ][0m
    [22m[35mgap> QG := GroupRing( Rationals, SmallGroup(24,3) );;[0m
    [22m[35mgap> PrimitiveCentralIdempotentsByStrongSP( QG );;[0m
    [22m[35mWedderga: Warning!!![0m
    [22m[35mThe output is a NON-COMPLETE list of prim. central idemp.s of the input! [0m
    [22m[35mgap> FG := GroupRing( GF(2), Group((1,2,3)) );;[0m
    [22m[35mgap> PrimitiveCentralIdempotentsByStrongSP( FG );[0m
    [22m[35m[ (Z(2)^0)*()+(Z(2)^0)*(1,2,3)+(Z(2)^0)*(1,3,2), [0m
    [22m[35m  (Z(2)^0)*(1,2,3)+(Z(2)^0)*(1,3,2) ][0m
    [22m[35mgap> FG := GroupRing( GF(5), SmallGroup(24,3) );; [0m
    [22m[35mgap> PrimitiveCentralIdempotentsByStrongSP( FG );;[0m
    [22m[35mWedderga: Warning!!![0m
    [22m[35mThe output is a NON-COMPLETE list of prim. central idemp.s of the input! [0m
    [22m[35m[0m
  [22m[35m------------------------------------------------------------------[0m
  
  [1m[4m[31m4.3-2 PrimitiveCentralIdempotentsBySP[0m
  
  [1m[34m> PrimitiveCentralIdempotentsBySP( [0m[22m[34mQG[0m[1m[34m ) ____________________________[0mfunction
  [1mReturns:[0m  A list of group algebra elements.
  
  The input should be a rational group algebra of a finite group G.
  
  Returns  a  list  containing  all the primitive central idempotents e of the
  rational group algebra [22m[34mQG[0m such that chi(e)ne 0 for some irreducible monomial
  character chi of G.
  
  The  output  is  the  list of all primitive central idempotents of [22m[34mQG[0m if and
  only if G is monomial, otherwise a warning message is displayed.
  
  [22m[35m---------------------------  Example  ----------------------------[0m
    [22m[35m[0m
    [22m[35mgap> QG := GroupRing( Rationals, SymmetricGroup(4) );[0m
    [22m[35m<algebra-with-one over Rationals, with 2 generators>[0m
    [22m[35mgap> pci:=PrimitiveCentralIdempotentsBySP( QG );[0m
    [22m[35m[ (1/24)*()+(1/24)*(3,4)+(1/24)*(2,3)+(1/24)*(2,3,4)+(1/24)*(2,4,3)+(1/24)*[0m
    [22m[35m    (2,4)+(1/24)*(1,2)+(1/24)*(1,2)(3,4)+(1/24)*(1,2,3)+(1/24)*(1,2,3,4)+(1/[0m
    [22m[35m    24)*(1,2,4,3)+(1/24)*(1,2,4)+(1/24)*(1,3,2)+(1/24)*(1,3,4,2)+(1/24)*[0m
    [22m[35m    (1,3)+(1/24)*(1,3,4)+(1/24)*(1,3)(2,4)+(1/24)*(1,3,2,4)+(1/24)*(1,4,3,2)+([0m
    [22m[35m    1/24)*(1,4,2)+(1/24)*(1,4,3)+(1/24)*(1,4)+(1/24)*(1,4,2,3)+(1/24)*(1,4)[0m
    [22m[35m    (2,3), (1/24)*()+(-1/24)*(3,4)+(-1/24)*(2,3)+(1/24)*(2,3,4)+(1/24)*[0m
    [22m[35m    (2,4,3)+(-1/24)*(2,4)+(-1/24)*(1,2)+(1/24)*(1,2)(3,4)+(1/24)*(1,2,3)+(-1/[0m
    [22m[35m    24)*(1,2,3,4)+(-1/24)*(1,2,4,3)+(1/24)*(1,2,4)+(1/24)*(1,3,2)+(-1/24)*[0m
    [22m[35m    (1,3,4,2)+(-1/24)*(1,3)+(1/24)*(1,3,4)+(1/24)*(1,3)(2,4)+(-1/24)*[0m
    [22m[35m    (1,3,2,4)+(-1/24)*(1,4,3,2)+(1/24)*(1,4,2)+(1/24)*(1,4,3)+(-1/24)*(1,4)+([0m
    [22m[35m    -1/24)*(1,4,2,3)+(1/24)*(1,4)(2,3), (3/8)*()+(-1/8)*(3,4)+(-1/8)*(2,3)+([0m
    [22m[35m    -1/8)*(2,4)+(-1/8)*(1,2)+(-1/8)*(1,2)(3,4)+(1/8)*(1,2,3,4)+(1/8)*[0m
    [22m[35m    (1,2,4,3)+(1/8)*(1,3,4,2)+(-1/8)*(1,3)+(-1/8)*(1,3)(2,4)+(1/8)*(1,3,2,4)+([0m
    [22m[35m    1/8)*(1,4,3,2)+(-1/8)*(1,4)+(1/8)*(1,4,2,3)+(-1/8)*(1,4)(2,3), [0m
    [22m[35m  (3/8)*()+(1/8)*(3,4)+(1/8)*(2,3)+(1/8)*(2,4)+(1/8)*(1,2)+(-1/8)*(1,2)(3,4)+([0m
    [22m[35m    -1/8)*(1,2,3,4)+(-1/8)*(1,2,4,3)+(-1/8)*(1,3,4,2)+(1/8)*(1,3)+(-1/8)*(1,3)[0m
    [22m[35m    (2,4)+(-1/8)*(1,3,2,4)+(-1/8)*(1,4,3,2)+(1/8)*(1,4)+(-1/8)*(1,4,2,3)+(-1/[0m
    [22m[35m    8)*(1,4)(2,3), (1/6)*()+(-1/12)*(2,3,4)+(-1/12)*(2,4,3)+(1/6)*(1,2)(3,4)+([0m
    [22m[35m    -1/12)*(1,2,3)+(-1/12)*(1,2,4)+(-1/12)*(1,3,2)+(-1/12)*(1,3,4)+(1/6)*(1,3)[0m
    [22m[35m    (2,4)+(-1/12)*(1,4,2)+(-1/12)*(1,4,3)+(1/6)*(1,4)(2,3) ][0m
    [22m[35mgap> IsCompleteSetOfPCIs(QG,pci);[0m
    [22m[35mtrue[0m
    [22m[35mgap> QS5 := GroupRing( Rationals, SymmetricGroup(5) );;[0m
    [22m[35mgap> pci:=PrimitiveCentralIdempotentsBySP( QS5 );;[0m
    [22m[35mWedderga: Warning!![0m
    [22m[35mThe output is a NON-COMPLETE list of prim. central idemp.s of the input![0m
    [22m[35mgap> IsCompleteSetOfPCIs( QS5 , pci );[0m
    [22m[35mfalse[0m
    [22m[35m[0m
  [22m[35m------------------------------------------------------------------[0m
  
  The   output  of  [1m[34mPrimitiveCentralIdempotentsBySP[0m  contains  the  output  of
  [1m[34mPrimitiveCentralIdempotentsByStrongSP[0m ([1m4.3-1[0m), possibly properly.
  
  [22m[35m---------------------------  Example  ----------------------------[0m
    [22m[35m[0m
    [22m[35mgap> QG := GroupRing( Rationals, SmallGroup(48,28) );;[0m
    [22m[35mgap> pci:=PrimitiveCentralIdempotentsBySP( QG );;[0m
    [22m[35mWedderga: Warning!![0m
    [22m[35mThe output is a NON-COMPLETE list of prim. central idemp.s of the input! [0m
    [22m[35mgap> Length(pci);    [0m
    [22m[35m6[0m
    [22m[35mgap> spci:=PrimitiveCentralIdempotentsByStrongSP( QG );;  [0m
    [22m[35mWedderga: Warning!!![0m
    [22m[35mThe output is a NON-COMPLETE list of prim. central idemp.s of the input! [0m
    [22m[35mgap> Length(spci);[0m
    [22m[35m5[0m
    [22m[35mgap> IsSubset(pci,spci);          [0m
    [22m[35mtrue[0m
    [22m[35mgap> QG:=GroupRing(Rationals,SmallGroup(1000,86));[0m
    [22m[35m<algebra-with-one over Rationals, with 6 generators>[0m
    [22m[35mgap> IsCompleteSetOfPCIs( QG , PrimitiveCentralIdempotentsBySP(QG) );[0m
    [22m[35mtrue[0m
    [22m[35mgap> IsCompleteSetOfPCIs( QG , PrimitiveCentralIdempotentsByStrongSP(QG) );[0m
    [22m[35mWedderga: Warning!!![0m
    [22m[35mThe output is a NON-COMPLETE list of prim. central idemp.s of the input![0m
    [22m[35mfalse[0m
    [22m[35m[0m
  [22m[35m------------------------------------------------------------------[0m
  
