Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/tst/testbugfix/   (GAP Algebra Version 4.15.1©)  Datei vom 18.9.2025 mit Größe 988 B image not shown  

Quelle  2021-04-08-non-associative-semigroup.tst   Sprache: unbekannt

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

https://github.com/gap-system/gap/issues/4030
#
gap> T := [
>   [ 126543 ],
>   [ 214225 ],
>   [ 651664 ],
>   [ 563412 ],
>   [ 432156 ],
>   [ 345331 ]
> ];;
gap> M := MagmaByMultiplicationTable(T);
<magma with 6 generators>
gap> IsAssociative(M);
false
gap> AsSemigroup(M);
fail
gap> M := MagmaByMultiplicationTable(T);
<magma with 6 generators>
gap> AsSemigroup(M);
fail
gap> AsSemigroup(Elements(M));
fail

#
gap> T := [
>   [ 12345 ],
>   [ 22255 ],
>   [ 32345 ],
>   [ 42435 ],
>   [ 52525 ]
> ];;
gap> M := MagmaByMultiplicationTable(T);
<magma with 5 generators>
gap> IsAssociative(M);
true
gap> S := AsSemigroup(M);;
gap> IsSemigroup(S);
true
gap> Size(S);
5
gap> M := MagmaByMultiplicationTable(T);
<magma with 5 generators>
gap> S := AsSemigroup(M);;
gap> IsSemigroup(S);
true
gap> Size(S);
5
gap> S := AsSemigroup(Elements(M));;
gap> IsSemigroup(S);
true
gap> Size(S);
5

[Dauer der Verarbeitung: 0.17 Sekunden, vorverarbeitet 2026-06-13]