Categorical bridge
In category theory, a discipline in mathematics, a bridge between categories πΈ and πΉ is a category β such that πΈ and πΉ are disjoint full subcategories of β and Obββ=βObπΈβ βͺβ ObπΉ. Morphisms of πΈ and πΉ are called homomorphisms and the rest (passing between πΈ and πΉ) are called heteromorphisms.
In notation: ββ:βπΈβββπΉ.
As an example, the empty bridge between two categories is just their disjoint union.
A directed bridge from πΈ to πΉ is a bridge without arrows of the form BβββA (where BβββObπΉ and AβββObπΈ). We can easily see that directed bridges and profunctors (i.e. functors Fβ:βπΈopβ Γβ πΉβββSet) are eventually the same [by identifying F(A,B) with the set of heteromorphisms AβββB].
Bridge morphism
A morphism between bridges β,βπβ:βπΈβββπΉ is just a functor Οβ:βββββπ which is identical on both πΈ and πΉ, i.e. Οβ£πΈβ=βidπΈ and Οβ£πΉβ=βidπΉ.
Profunctors (directed bridges)
...