Algebras and their subalgebras are represented by records. Once an algebra record is created you may add record components to it but you must not alter information already present.
Algebra records must always contain the components isDomain and
isAlgebra. Subalgebras contain an additional component parent.
The components generators, zero and one are not necessarily
contained.
The contents of important record components of an algebra A is described below.
The category components are
isDomain:true.
isAlgebra:true.
isUnitalAlgebra:true) if A is a unital algebra.
The identification components are
field:
generators:generators.
If generators is not bound it can be computed using Generators.
parent:
zero:Zero.
The component operations contains the operations record of A.
This will usually be one of AlgebraOps, UnitalAlgebraOps, or a
record for more specific algebras.
GAP 3.4.4