Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Category of relations

From Wikipedia, the free encyclopedia
Category whose objects are sets and whose morphisms are binary relations
Rel
Category of RelationsRel.
Relop
Rel's oppositeRelop.

Inmathematics, thecategoryRel has the class ofsets asobjects andbinary relations asmorphisms.

A morphism (or arrow)R :AB in this category is a relation between the setsA andB, soRA ×B.

Thecomposition of two relationsR:AB andS:BC is given by

(a,c) ∈SoR ⇔ for somebB, (a,b) ∈R and (b,c) ∈S.[1]

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

Properties

[edit]

The categoryRel has thecategory of setsSet as a (wide)subcategory, where the arrowf :XY inSet corresponds to the relationFX ×Y defined by(x,y) ∈Ff(x) =y.[note 1][3]

A morphism inRel is a relation, and the corresponding morphism in theopposite category toRel has arrows reversed, so it is theconverse relation. ThusRel contains its opposite and isself-dual.[4]

Theinvolution represented by taking the converse relation provides thedagger to makeRel adagger category.

The category has twofunctors into itself given by thehom functor: Abinary relationRA ×B and its transposeRTB ×A may be composed either asR RT or asRTR. The first composition results in ahomogeneous relation onA and the second is onB. Since the images of these hom functors are inRel itself, in this case hom is aninternal hom functor. With its internal hom functor,Rel is aclosed category, and furthermore adagger compact category.

The categoryRel can be obtained from the categorySet as theKleisli category for themonad whose functor corresponds topower set, interpreted as a covariant functor.

Perhaps a bit surprising at first sight is the fact thatproduct inRel is given by thedisjoint union[4]: 181  (rather than thecartesian product as it is inSet), and so is thecoproduct.

Rel ismonoidal closed, if one defines both the monoidal productAB and theinternal homAB by thecartesian product of sets. It is also amonoidal category if one defines the monoidal product by the disjoint union of sets.[5]

The categoryRel was the prototype for the algebraic structure called anallegory byPeter J. Freyd and Andre Scedrov in 1990.[6] Starting with aregular category and a functorF:AB, they note properties of the induced functor Rel(A,B) → Rel(FA, FB). For instance, it preserves composition, conversion, and intersection. Such properties are then used to provide axioms for an allegory.

Relations as objects

[edit]

David Rydeheard andRod Burstall considerRel to have objects that are homogeneous relations. For example,A is a set andRA ×A is a binary relation onA. The morphisms of this category are functions between sets that preserve a relation: SaySB ×B is a second relation andf:AB is a function such thatxRyf(x)Sf(y),{\displaystyle xRy\implies f(x)Sf(y),} thenf is a morphism.[7]

The same idea is advanced by Adamek, Herrlich and Strecker, where they designate the objects (A, R) and (B, S), set and relation.[8]

Notes

[edit]
  1. ^This category is calledSetRel by Rydeheard and Burstall.

References

[edit]
  1. ^Mac Lane, S. (1988).Categories for the Working Mathematician (1st ed.). Springer. p. 26.ISBN 0-387-90035-7.
  2. ^Pareigis, Bodo (1970).Categories and Functors. Pure and Applied Mathematics. Vol. 39.Academic Press. p. 6.ISBN 978-0-12-545150-5.
  3. ^Bergman, George (1998). "§7.2 RelSet".An Invitation to General Algebra and Universal Constructions. Henry Helson.ISBN 0-9655211-4-1.
  4. ^abBarr, Michael;Wells, Charles (1990).Category Theory for Computing Science(PDF). Prentice Hall. p. 181.ISBN 978-0131204867.
  5. ^Fong, Brendan; David I Spivak (2019). "Supplying bells and whistles in symmetric monoidal categories".arXiv:1908.02633 [math.CT].
  6. ^Freyd, Peter J.; Scedrov, Andre (1990).Categories, Allegories. North Holland. pp. 79, 196.ISBN 0-444-70368-3.
  7. ^Rydeheard, David;Burstall, Rod (1988).Computational Category Theory. Prentice-Hall. p. 41.ISBN 978-0131627369.
  8. ^Adamek, Juri; Herrlich, Horst; Strecker, George E. (2004) [1990]. "§3.3, example 2(d)".Abstract and Concrete Categories(PDF). KatMAT Research group,University of Bremen. p. 22. Archived fromthe original(PDF) on 2022-08-11.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Category_of_relations&oldid=1318589874"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp