HOME

TheInfoList



OR:

In the mathematical field of
category theory Category theory is a general theory of mathematical structures and their relations that was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Nowadays, cate ...
, an allegory is a
category Category, plural categories, may refer to: Philosophy and general uses * Categorization, categories in cognitive science, information science and generally *Category of being * ''Categories'' (Aristotle) *Category (Kant) *Categories (Peirce) * ...
that has some of the structure of the category Rel of sets and
binary relation In mathematics, a binary relation associates elements of one set, called the ''domain'', with elements of another set, called the ''codomain''. A binary relation over Set (mathematics), sets and is a new set of ordered pairs consisting of ele ...
s between them. Allegories can be used as an abstraction of categories of relations, and in this sense the theory of allegories is a generalization of relation algebra to relations between different sorts. Allegories are also useful in defining and investigating certain constructions in category theory, such as
exact Exact may refer to: * Exaction, a concept in real property law * ''Ex'Act'', 2016 studio album by Exo * Schooner Exact, the ship which carried the founders of Seattle Companies * Exact (company), a Dutch software company * Exact Change, an Ameri ...
completions. In this article we adopt the convention that
morphism In mathematics, particularly in category theory, a morphism is a structure-preserving map from one mathematical structure to another one of the same type. The notion of morphism recurs in much of contemporary mathematics. In set theory, morphisms a ...
s compose from right to left, so means "first do , then do ".


Definition

An allegory is a
category Category, plural categories, may refer to: Philosophy and general uses * Categorization, categories in cognitive science, information science and generally *Category of being * ''Categories'' (Aristotle) *Category (Kant) *Categories (Peirce) * ...
in which * every morphism R\colon X\to Y is associated with an anti-involution, i.e. a morphism R^\circ\colon Y\to X with R^ = R and (RS)^\circ = S^\circ R^\circ\text and * every pair of morphisms R,S \colon X\to Y with common domain/codomain is associated with an intersection, i.e. a morphism R \cap S\colon X\to Y all such that * intersections are
idempotent Idempotence (, ) is the property of certain operations in mathematics and computer science whereby they can be applied multiple times without changing the result beyond the initial application. The concept of idempotence arises in a number of pl ...
: R\cap R = R,
commutative In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Most familiar as the name o ...
: R\cap S = S\cap R, and
associative In mathematics, the associative property is a property of some binary operations, which means that rearranging the parentheses in an expression will not change the result. In propositional logic, associativity is a valid rule of replacement f ...
: (R\cap S)\cap T = R\cap (S\cap T); * anti-involution distributes over intersection: (R\cap S)^\circ = S^\circ \cap R^\circ; * composition is semi-distributive over intersection: R(S\cap T) \subseteq RS\cap RT and (R\cap S)T \subseteq RT\cap ST; and * the modularity law is satisfied: RS \cap T \subseteq (R\cap TS^\circ)S. Here, we are abbreviating using the order defined by the intersection: R \subseteq S means R = R\cap S. A first example of an allegory is the
category of sets and relations In mathematics, the category Rel has the class of sets as objects and binary relations as morphisms. A morphism (or arrow) ''R'' : ''A'' → ''B'' in this category is a relation between the sets ''A'' and ''B'', so . The composition of two rela ...
. The
objects Object may refer to: General meanings * Object (philosophy), a thing, being, or concept ** Object (abstract), an object which does not exist at any particular time or place ** Physical object, an identifiable collection of matter * Goal, an ...
of this allegory are sets, and a morphism X \to Y is a binary relation between and . Composition of morphisms is
composition of relations In the mathematics of binary relations, the composition of relations is the forming of a new binary relation from two given binary relations ''R'' and ''S''. In the calculus of relations, the composition of relations is called relative multiplica ...
, and the anti-involution of R is the
converse relation In mathematics, the converse relation, or transpose, of a binary relation is the relation that occurs when the order of the elements is switched in the relation. For example, the converse of the relation 'child of' is the relation 'parent& ...
R^\circ: y R^\circ x if and only if xRy. Intersection of morphisms is (set-theoretic) intersection of relations.


Regular categories and allegories


Allegories of relations in regular categories

In a category , a relation between objects and is a
span Span may refer to: Science, technology and engineering * Span (unit), the width of a human hand * Span (engineering), a section between two intermediate supports * Wingspan, the distance between the wingtips of a bird or aircraft * Sorbitan ester ...
of morphisms X\gets R\to Y that is jointly monic. Two such spans X\gets S\to Y and X\gets T\to Y are considered equivalent when there is an isomorphism between and that make everything commute; strictly speaking, relations are only defined up to equivalence (one may formalise this either by using
equivalence class In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements a ...
es or by using bicategories). If the category has products, a relation between and is the same thing as a
monomorphism In the context of abstract algebra or universal algebra, a monomorphism is an injective homomorphism. A monomorphism from to is often denoted with the notation X\hookrightarrow Y. In the more general setting of category theory, a monomorphism ...
into (or an equivalence class of such). In the presence of pullbacks and a proper factorization system, one can define the composition of relations. The composition X\gets R\to Y\gets S\to Z is found by first pulling back the cospan R\to Y\gets S and then taking the jointly-monic image of the resulting span X\gets R\gets\bullet\to S\to Z. Composition of relations will be associative if the factorization system is appropriately stable. In this case, one can consider a category , with the same objects as , but where morphisms are relations between the objects. The identity relations are the diagonals X \to X\times X. A
regular category In category theory, a regular category is a category with finite limits and coequalizers of a pair of morphisms called kernel pairs, satisfying certain ''exactness'' conditions. In that way, regular categories recapture many properties of abelian ...
(a category with finite limits and images in which covers are stable under pullback) has a stable regular epi/mono factorization system. The category of relations for a regular category is always an allegory. Anti-involution is defined by turning the source/target of the relation around, and intersections are intersections of subobjects, computed by pullback.


Maps in allegories, and tabulations

A morphism in an allegory is called a map if it is entire (1\subseteq R^\circ R) and deterministic (RR^\circ \subseteq 1). Another way of saying this is that a map is a morphism that has a
right adjoint In mathematics, specifically category theory, adjunction is a relationship that two functors may exhibit, intuitively corresponding to a weak form of equivalence between two related categories. Two functors that stand in this relationship are kn ...
in when is considered, using the local order structure, as a
2-category In category theory, a strict 2-category is a category with "morphisms between morphisms", that is, where each hom-set itself carries the structure of a category. It can be formally defined as a category enriched over Cat (the category of catego ...
. Maps in an allegory are closed under identity and composition. Thus, there is a subcategory of with the same objects but only the maps as morphisms. For a regular category , there is an isomorphism of categories C \cong \operatorname(\operatorname(C)). In particular, a morphism in is just an ordinary
set function In mathematics, especially measure theory, a set function is a function whose domain is a family of subsets of some given set and that (usually) takes its values in the extended real number line \R \cup \, which consists of the real numbers \R a ...
. In an allegory, a morphism R\colon X\to Y is tabulated by a pair of maps f\colon Z\to X and g\colon Z\to Y if gf^\circ = R and f^\circ f \cap g^\circ g = 1. An allegory is called tabular if every morphism has a tabulation. For a regular category , the allegory is always tabular. On the other hand, for any tabular allegory , the category of maps is a locally regular category: it has pullbacks, equalizers, and images that are stable under pullback. This is enough to study relations in , and in this setting, A\cong \operatorname(\operatorname(A)).


Unital allegories and regular categories of maps

A unit in an allegory is an object for which the identity is the largest morphism U\to U, and such that from every other object, there is an entire relation to . An allegory with a unit is called unital. Given a tabular allegory , the category is a regular category (it has a
terminal object In category theory, a branch of mathematics, an initial object of a category is an object in such that for every object in , there exists precisely one morphism . The dual notion is that of a terminal object (also called terminal element): ...
) if and only if is unital.


More sophisticated kinds of allegory

Additional properties of allegories can be axiomatized. Distributive allegories have a
union Union commonly refers to: * Trade union, an organization of workers * Union (set theory), in mathematics, a fundamental operation on sets Union may also refer to: Arts and entertainment Music * Union (band), an American rock group ** ''Un ...
-like operation that is suitably well-behaved, and division allegories have a generalization of the division operation of relation algebra. Power allegories are distributive division allegories with additional
powerset In mathematics, the power set (or powerset) of a set is the set of all subsets of , including the empty set and itself. In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is postu ...
-like structure. The connection between allegories and regular categories can be developed into a connection between power allegories and
toposes In mathematics, a topos (, ; plural topoi or , or toposes) is a category (mathematics), category that behaves like the category of Sheaf (mathematics), sheaves of Set (mathematics), sets on a topological space (or more generally: on a Site (math ...
.


References

* * {{Authority control Category theory Mathematical relations