IsAssociative - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Algebra : Magma : IsAssociative

Magma

  

IsAssociative

  

test whether a given magma is associative

  

IsSemigroup

  

test whether a given magma is a semigroup

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

IsAssociative( m )

IsSemigroup( m )

Parameters

m

-

Array representing the Cayley table of a finite magma

Description

• 

The IsAssociative command returns true if the given magma satisfies the associativity identity (XY)Z = X(YZ).  It returns false otherwise.

• 

The IsSemigroup command is an alias for IsAssociative. A semigroup is an associative magma.

Examples

withMagma:

m1|2|3,2|3|1,3|1|2

m123231312

(1)

IsAssociativem

true

(2)

m1|2|3,2|3|3,3|1|2

m123233312

(3)

IsSemigroupm

false

(4)

Compatibility

• 

The Magma[IsAssociative] and Magma[IsSemigroup] commands were introduced in Maple 15.

• 

For more information on Maple 15 changes, see Updates in Maple 15.

See Also

Magma