In a finitely complete category , a congruence on an object is an internal equivalence relation on .
To be precise, this consists of a subobject equipped with the following maps:
internal reflexivity: which is a section both of and of ;
internal symmetry: which interchanges and , namely and ;
internal transitivity: ; where with the notation for the projections in the cartesian square
the following holds: and .
Note that since is a monomorphism, the maps , , and are necessarily unique if they exist.
Any kernel pair is a congruence; a congruence which is the kernel pair of some morphism is called effective. The coequalizer of a congruence is called a quotient object. An effective congruence is always the kernel pair of its quotient if that quotient exists; the quotient of an effective congruence is an effective quotient. A regular category is called an exact category if every congruence is effective.
An equivalence relation is precisely a congruence in Set.
The eponymous example is congruence modulo (for a fixed natural number ), which is a congruence on in the category of rigs.
A Mal'cev category is a finitely complete category in which every internal relation satisfying reflexivity is thereby actually a congruence.