Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/wedderga/tst/   (GAP Algebra Version 4.15.1©)  Datei vom 7.6.2025 mit Größe 5 kB image not shown  

Quelle  bugfix.tst   Sprache: unbekannt

 
Spracherkennung für: .tst vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

# Andreas Bachle, Mauricio Caceido, and Inneke van Gelder reported a problem with 
# LocalIndexAtTwo for quaternion algebras over local fields in November 2014.  
# Allen Herman provided a bugfix November 212014 that will be included in 
# Wedderga 4.7.2

gap> F:=Field([ER(-39)]);
NF(39,[ 1245810111620222532 ])
gap> G:=SmallGroup(8,4);        
<pc group of size 8 with 3 generators>
gap> R:=GroupRing(F,G);        
<algebra-with-one over NF(39,[ 1245810111620222532 
 ]), with 3 generators>
gap> W:=WedderburnDecompositionWithDivAlgParts(R);
[ [ 1, NF(39,[ 1245810111620222532 ]) ], 
  [ 1, NF(39,[ 1245810111620222532 ]) ], 
  [ 1, NF(39,[ 1245810111620222532 ]) ], 
  [ 1, NF(39,[ 1245810111620222532 ]) ], 
  [ 1, rec( Center := NF(39,[ 1245810111620222532 ]), 
          DivAlg := true, LocalIndices := [ [ 22 ] ], SchurIndex := 2 ) ] ]

# Andreas Bachle and Inneke van Gelder reported a problem when there is 
# a simple component that is a division algebra with index 2 whose local
# index at infinity is 1, caused by "DefiningCharacterOfCyclotomicAlgebra" 
# looking for a field of values that was larger than it should be for these 
# groups. This was fixed by Allen Herman in Wedderga 4.6.2 (September 2014).
gap> w := WedderburnDecompositionWithDivAlgParts(GroupRing(Rationals, SmallGroup(288,69)));;
gap> w1 := SortedList( Filtered( w, t -> not IsRecord(t[2]) ) );
[ [ 1, Rationals ], [ 1, Rationals ], [ 1, GaussianRationals ], 
  [ 2, Rationals ], [ 2, NF(8,[ 13 ]) ], [ 2, NF(9,[ 18 ]) ], 
  [ 3, Rationals ], [ 3, Rationals ], [ 3, GaussianRationals ], 
  [ 4, Rationals ], [ 4, NF(9,[ 18 ]) ], [ 6, Rationals ] ]
gap> w2 := SortedList( Filtered( w, t -> IsRecord(t[2]) ) );
[ [ 1
      rec( Center := Rationals, DivAlg := true, 
          LocalIndices := [ [ 32 ], [ infinity, 2 ] ], SchurIndex := 2 ) ], 
  [ 1
      rec( Center := NF(8,[ 17 ]), DivAlg := true, 
          LocalIndices := [ [ infinity, 2 ] ], SchurIndex := 2 ) ], 
  [ 1
      rec( Center := NF(9,[ 18 ]), DivAlg := true, 
          LocalIndices := [ [ 32 ], [ infinity, 2 ] ], SchurIndex := 2 ) ], 
  [ 2
      rec( Center := Rationals, DivAlg := true, 
          LocalIndices := [ [ 32 ], [ infinity, 2 ] ], SchurIndex := 2 ) ], 
  [ 2
      rec( Center := NF(9,[ 18 ]), DivAlg := true, 
          LocalIndices := [ [ infinity, 2 ] ], SchurIndex := 2 ) ], 
  [ 3
      rec( Center := Rationals, DivAlg := true, 
          LocalIndices := [ [ 32 ], [ infinity, 2 ] ], SchurIndex := 2 ) ] ]
gap> WedderburnDecompositionWithDivAlgParts(GroupRing(Rationals, SmallGroup(336,118)));
[ [ 1, Rationals ], [ 1, Rationals ], [ 2, Rationals ], [ 2, NF(7,[ 16 ]) ],
  [ 2, NF(21,[ 120 ]) ], [ 6, NF(7,[ 16 ]) ], [ 3, Rationals ], 
  [ 3, Rationals ], 
  [ 1
      rec( Center := NF(8,[ 17 ]), DivAlg := true, 
          LocalIndices := [ [ infinity, 2 ] ], SchurIndex := 2 ) ], 
  [ 2
      rec( Center := Rationals, DivAlg := true, 
          LocalIndices := [ [ 32 ], [ infinity, 2 ] ], SchurIndex := 2 ) ], 
  [ 2
      rec( Center := NF(7,[ 16 ]), DivAlg := true, 
          LocalIndices := [ [ infinity, 2 ], [ 22 ] ], SchurIndex := 2 ) ], 
  [ 2
      rec( Center := NF(21,[ 120 ]), DivAlg := true, 
          LocalIndices := [ [ infinity, 2 ] ], SchurIndex := 2 ) ] ]
gap> WedderburnDecompositionWithDivAlgParts(GroupRing(Rationals, SmallGroup(432,37))); 
[ [ 1, Rationals ], [ 1, Rationals ], [ 2, Rationals ], [ 2, NF(9,[ 18 ]) ],
  [ 2, NF(27,[ 126 ]) ], [ 6, Rationals ], [ 6, NF(9,[ 18 ]) ], 
  [ 3, Rationals ], [ 3, Rationals ], 
  [ 1
      rec( Center := NF(8,[ 17 ]), DivAlg := true, 
          LocalIndices := [ [ infinity, 2 ] ], SchurIndex := 2 ) ], 
  [ 2
      rec( Center := Rationals, DivAlg := true, 
          LocalIndices := [ [ 32 ], [ infinity, 2 ] ], SchurIndex := 2 ) ], 
  [ 2
      rec( Center := NF(9,[ 18 ]), DivAlg := true, 
          LocalIndices := [ [ infinity, 2 ] ], SchurIndex := 2 ) ], 
  [ 2
      rec( Center := NF(27,[ 126 ]), DivAlg := true, 
          LocalIndices := [ [ infinity, 2 ] ], SchurIndex := 2 ) ] ]

# Fix for a bug reported by Ángel del Río on 14/11/2014
gap> G:=SmallGroup(16,7);;
gap> QG:=GroupRing(Rationals,G);;
gap> pci := PrimitiveCentralIdempotentsByCharacterTable(QG);;
gap> Length(pci);
6
gap> Length(pci)=Length(RationalClasses(G));
true

# Fix the issue with LocalIndexAtOddP and LocalIndexAtTwo (Feb 2020)
gap> G:=SmallGroup(81,3);
<pc group of size 81 with 4 generators>
gap> QG:=GroupRing(Rationals,G);
<algebra-with-one over Rationals, with 4 generators>
gap> WedderburnDecompositionWithDivAlgParts(QG);
[ [ 1, Rationals ], [ 1, CF(3) ], [ 1, CF(3) ], [ 1, CF(3) ], [ 1, CF(3) ],
  [ 1, CF(9) ], [ 1, CF(9) ], [ 1, CF(9) ], [ 3, CF(3) ], [ 3, CF(3) ],
  [ 3, CF(3) ] ]
gap> A:=[1,CF(7),4,[2,3,2]];
1, CF(7), 4, [ 232 ] ]
gap> CyclotomicAlgebraWithDivAlgPart(A);
1, rec( Center := CF(7), DivAlg := true, LocalIndices := [ [ 22 ] ],
      SchurIndex := 2 ) ]

# Fix returning wrong result determining commutativity of a crossed product (issue #96)
gap> IsCommutative(WedderburnDecomposition(GroupRing(Rationals, QuaternionGroup(8)))[5]);
Error, no method found to check commutativity of a crossed product

[Dauer der Verarbeitung: 0.27 Sekunden, vorverarbeitet 2026-06-05]