A stronger form of relationship (than equivalence) between
algebras which does assert such a structure preserving property
is homomorphism. Suppose two algebras
and
as defined above are denoted by the same signature. The
operations
from algebra
and
from algebra
of arity k can
therefore be put into a one-to-one correspondence as noted above.
Consider a mapping
between the carrier sets A and B. Then his a homomorphism from algebra
to algebra
if for every operation
of arity k with
corresponding operation
| (10.1) |
This rather formidable equation states the following. The
outcome of applying an operation
from
to
values of the carrier of A and then finding the result when the
mapping h is applied is the same as finding the transform of
the values of A using h first and then applying the
corresponding operation
of
.
(Note that the existence of a homomorphism from
to
does not imply that a homomorphism exists from
to
and that although, by convention, we talk about a homomorphism h
from one algebra
to another algebra
,
and write
,
the mapping h
is strictly a mapping between the carrier sets. Also
is only well defined if the operations
and
are in one-to-one
correspondence).
We can get a feel for the nature of homomorphisms and the meaning of equation (10.1) by looking at one particular homomorphism that has been used over the years to ease the effort involved in multiplying real numbers.
Consider the (homogeneous) algebras
and
The mapping
given by
h(x) = log(x) where
is a homomorphism between
and
and we
can formally prove this result by demonstrating that (10.1) holds.
To start, we note that the two operations
and + have arity
2 so the arity constraint of (10.1) is satisfied. Furthermore,
since each algebra has only the one operation, the correspondence
between the operations of
and
is immediate and we
can therefore take
as
and
as +respectively.
Using the familiar infix form for the operations
and +, the
left-hand side of (10.1) is
), that is
,