Category of relations

In mathematics, the category Rel has the class of sets as objects and binary relations as morphisms.

Category of Relations Rel.
Rel's opposite Relop.

A morphism (or arrow) R : AB in this category is a relation between the sets A and B, so RA × B.

The composition of two relations R: AB and S: BC is given by

(a, c) ∈ S o R ⇔ for some bB, (a, b) ∈ R and (b, c) ∈ S.

Rel has also been called the "category of correspondences of sets".

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.