Magma - Maple Programming Help

Home : Support : Online Help : Mathematics : Algebra : Magma : Magma/IsRightAlternative

Magma

 IsRightAlternative
 test whether a finite magma is right alternative

 Calling Sequence IsRightAlternative( m )

Parameters

 m - Array representing the Cayley table of a finite magma

Description

 • A magma is right alternative if it satisfies the identity (XY)Y = X(YY).
 • The IsRightAlternative command returns true if the given magma is right alternative. It returns false otherwise.

Examples

 > $\mathrm{with}\left(\mathrm{Magma}\right):$
 > $m≔⟨⟨⟨1|2|3⟩,⟨2|3|1⟩,⟨3|1|2⟩⟩⟩$
 ${m}{≔}\left[\begin{array}{ccc}{1}& {2}& {3}\\ {2}& {3}& {1}\\ {3}& {1}& {2}\end{array}\right]$ (1)
 > $\mathrm{IsRightAlternative}\left(m\right)$
 ${\mathrm{true}}$ (2)
 > $m≔⟨⟨⟨1|2|3⟩,⟨2|3|3⟩,⟨3|1|2⟩⟩⟩$
 ${m}{≔}\left[\begin{array}{ccc}{1}& {2}& {3}\\ {2}& {3}& {3}\\ {3}& {1}& {2}\end{array}\right]$ (3)
 > $\mathrm{IsRightAlternative}\left(m\right)$
 ${\mathrm{false}}$ (4)

Compatibility

 • The Magma[IsRightAlternative] command was introduced in Maple 15.