IsCommutative( sg )
A semigroup (S,cdot) is called commutative if forall a, b in S: a cdot b = b cdot a.
The function IsCommutative returns the according value true or false for a semigroup sg.
IsCommutative
true
false
gap> IsCommutative( s ); false
Previous Up Top NextIndex