Magma - Maple Programming Help

Online Help

All Products    Maple    MapleSim

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

Magma

 IsLeftAlternative
 test whether a finite magma is left alternative

 Calling Sequence IsLeftAlternative( m )

Parameters

 m - Array representing the Cayley table of a finite magma

Description

 • The IsLeftAlternative command returns true if the given magma satisfies the left alternative law X(XY) = (XX)Y.  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{IsLeftAlternative}\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{IsLeftAlternative}\left(m\right)$
 ${\mathrm{false}}$ (4)

Compatibility

 • The Magma[IsLeftAlternative] command was introduced in Maple 15.
 • For more information on Maple 15 changes, see Updates in Maple 15.

 See Also