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

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

> 

with⁡Magma:

> 

m≔1|2|3,2|3|1,3|1|2

m≔123231312

(1)
> 

IsAssociative⁡m

true

(2)
> 

m≔1|2|3,2|3|3,3|1|2

m≔123233312

(3)
> 

IsSemigroup⁡m

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