Lably
Skip to content

Allegory (mathematics)

  • 4 min read
  • 2 chapters

Related on Lably

Through Category (mathematics), Commutative property and Associative property

In this article we adopt the convention that morphisms compose from right to left, so RS means "first do S, then do R".

Definition

An allegory is a category in which

  • every morphism R:X→Y is associated with an anti-involution, i.e. a morphism R∘:Y→X with R∘∘=R and (RS)∘=S∘R∘; and
  • every pair of morphisms R,S:X→Y with common domain/codomain is associated with an intersection, i.e. a morphism R∩S:X→Y

all such that

  • intersections are idempotent: R∩R=R, commutative: R∩S=S∩R, and associative: (R∩S)∩T=R∩(S∩T);
  • anti-involution distributes over intersection: (R∩S)∘=R∘∩S∘;
  • composition is semi-distributive over intersection: R(S∩T)⊆RS∩RT and (R∩S)T⊆RT∩ST; and
  • the modularity law is satisfied: RS∩T⊆(R∩TS∘)S.

Here, we are abbreviating using the order defined by the intersection: R⊆S means R=R∩S.

A first example of an allegory is the category of sets and relations. The objects of this allegory are sets, and a morphism X→Y is a binary relation between X and Y. Composition of morphisms is composition of relations, and the anti-involution of R is the converse relation R∘: yR∘x if and only if xRy. Intersection of morphisms is (set-theoretic) intersection of relations.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Writers