Bicategories of spans in a category #
In this file, given a category C and two morphism properties
Wₗ and Wᵣ in C that are stable under compositions, contain identities and
such that for any morphism b : x₃ ⟶ x₄ in Wₗ and any morphism r : x₂ → x₃ in Wᵣ,
there exists a pullback square
t
x₁ --> x₂
| |
l | | r
v v
x₃ --> x₄
b
in C such that t satisfies Wₗ and l satisfies Wᵣ,
we construct the bicategory of spans in C with left morphism in Wₗ and right morphism
in Wᵣ (TODO @robin-carlier).
A (Wₗ, Wᵣ)-span from c to c' is the data of an
object a : C, together with a morphism a ⟶ c in Wₗ,
and a morphism a ⟶ c' in Wᵣ.
Instances For
A morphism of spans is a morphism between the apices compatible with the projections.
the map between the apices
Instances For
Equations
- One or more equations did not get rendered due to their size.
Construct an isomorphism of spans from an isomorphism between the apices that is compatible with the projections.
Equations
Instances For
The identity span, where both legs are identity morphisms.
Equations
- CategoryTheory.Span.id c = { apex := c, l := CategoryTheory.CategoryStruct.id c, r := CategoryTheory.CategoryStruct.id c, wl := ⋯, wr := ⋯ }
Instances For
The composition of two spans: if the relevant pullback exists and if the morphism properties are stable under the relevant base change, it is given by the total span
P
/ \
/ \
X₁ X₂
/ \ / \
c c' c''
where the top diamond is a pullback square
Equations
- One or more equations did not get rendered due to their size.