61.2 Elements of Free Magma Rings

  • IsElementOfFreeMagmaRing( obj ) C
  • IsElementOfFreeMagmaRingCollection( obj ) C

  • IsElementOfFreeMagmaRingFamily( Fam ) C

    Elements of families in this category have trivial normalisation, i.e., efficient methods for \= and \<.

    In order to treat elements of free magma rings uniformly, also without an external representation, the attributes CoefficientsAndMagmaElements (see CoefficientsAndMagmaElements) and ZeroCoefficient (see ZeroCoefficient) were introduced that allow one to ``take an element of an arbitrary magma ring into pieces''.

    Conversely, for constructing magma ring elements from coefficients and magma elements, ElementOfMagmaRing (see ElementOfMagmaRing) can be used. (Of course one can also embed each magma element into the magma ring, see Natural Embeddings related to Magma Rings, and then form the linear combination, but many unnecessary intermediate elements are created this way.)

  • CoefficientsAndMagmaElements( elm ) A

    is a list that contains at the odd positions the magma elements, and at the even positions their coefficients in the element elm.

  • ZeroCoefficient( elm ) A

    For an element elm of a magma ring (modulo relations) RM, ZeroCoefficient returns the zero element of the coefficient ring R.

  • ElementOfMagmaRing( Fam, zerocoeff, coeffs, mgmelms ) O

    ElementOfMagmaRing returns the element åi = 1n ci mi¢, where coeffs = [ c1, c2, ¼, cn ] is a list of coefficients, mgmelms = [ m1, m2, ¼, mn ] is a list of magma elements, and mi¢ is the image of mi under an embedding of a magma containing mi into a magma ring whose elements lie in the family Fam. zerocoeff must be the zero of the coefficient ring containing the ci.

    [Top] [Previous] [Up] [Next] [Index]

    GAP 4 manual
    February 2000