Let the free algebra on
generators in
Var
be denoted
.
Theorem (Birkhoff)
can be constructed as follows:
Let
be the set of all functions
, and let
.
For
let
be the
element whose
-th coordinate is
.
Let
be the subalgebra of
generated by
.
Then
.
Example. To generate
(=
FDL
), where
2 is the 2-element lattice, proceed as shown in Figure
.
As another example, Figure
shows the table obtain for
Z
under subtraction and for
:
The rows form the free algebra
inside
.
Of course, this example is really a disguised version of an additive
group.