For a general algebraic structure ("universal algebra"), a congruence is defined as an equivalence relation compatible with all operations of the algebra, i.e. $\,a'\equiv a,\ b'\equiv b\,\Rightarrow\, a'\circ b'\equiv a\circ b,\, $ for all operations $\,\circ\,$ (like ring congruences on integers). Such compatibility implies the algebraic operations persist as well-defined operations on the equivalence classes, so the algebraic structure persists on the congruence classes, yielding a quotient algebra of the same type. Equivalently, congruences can be viewed as certain subalgebras of the squared algebra $\rm\:A^2\:,\:$ e.g. see here.
Algebras like groups and rings, where we can normalize $\,a = b\,$ to $\,a\!-\!b = 0\,$ have congruences that are determined by a single congruence class (e.g. an ideal in a ring). This has the effect of collapsing the relationship of congruences with subalgebras from $\rm\,A^2\,$ down to $\rm\,A.\,$ Such algebras are called ideal determined varieties and they have been much studied. One basic result is that they are characterized by two properties of their congruences, being $0$-regular and permutable. Below is an excerpt of one paper on related topics that yields an entry point into such literature.
On subtractive varieties iv: Definability of principal ideals.
Paolo Agliano and Aldo Ursini
- Foreword
We have been asked the following questions:
- (a) What are ideals in universal algebra good for?
- (b) What are subtractive varieties good for?
- (c) Is there a reason to study definability of principal ideals?
Being in the middle of a project in subtractive varieties,
this seems the right place to address them.
To (a). The notion of ideal in general algebra [13], [17], [22] aims
at recapturing some essential properties of the congruence classes of $0$,
for some given constant $0$. It encompasses: normal subgroups, ideals
in rings or operator groups, filters in Boolean or Heyting algebras,
ideals in Banach algebra, in l-groups and in many more classical
settings. In a sense it is a luxury, if one is satisfied with the
notion of "congruence class of $0$". Thus in part this question might
become: Why ideals in rings? Why normal subgroups in groups? Why filters
in Boolean algebras?, and many more. We do not feel like attempting any
answer to those questions. In another sense, question (a) suggests similar
questions: What are subalgebras in universal algebra good for? and many
more. Possibly, the whole enterprise called "universal algebra" is
there to answer such questions?
Having said that, it is clear that the most proper setting for a theory
of ideals is that of ideal determined classes (namely, when mapping a
congruence E to its $0$-class $\,0/E$ establishes a lattice isomorphism between
the congruence lattice and the ideal lattice). The first paper in this
direction [22] bore that in its title.
It comes out that -- for a variety V -- being ideal determined is the
conjunction of two independent features:
- V has $\,0$-regular congruences, namely for any congruences $\rm\,E,E'$
of any member of $V,$ from $\,\rm 0/E = 0/E'$ it follows $\rm\,E = E'$.
- V has $0$-permutable congruences, namely for any congruences $\,\rm E,E'$
of any member of $V,$ if $\,\rm 0 \ E\ y \ E'\, x,\,$ then for some $\rm z,\ 0\ E'\, z\ E\ x.$