Composition of total arrows and sums over arrows with a given source #
The total arrows Quiver.Total C of a category form a space of their own, as for the arrows of a
topological or étale groupoid. Two total arrows a and b are composable when the target of a
is the source of b, and then Quiver.Total.comp is the total arrow a ≫ b. Its continuity on
the subspace of composable pairs is the continuity of composition of a topological groupoid.
A total arrow with identified endpoints is read as a morphism between those endpoints by Mathlib's
Quiver.homOfEq, which recovers the total arrow (Quiver.Total.mk_homOfEq) and turns composition
of morphisms into composition of total arrows (Quiver.Total.mk_homOfEq_comp_homOfEq).
A sum over the total arrows with source x is a sum over the arrows x ⟶ y for all y
(Quiver.Total.finsum_mem_preimage_left_singleton). In a category, an isomorphism x ≅ y matches
the arrows out of x with those out of y with the same targets, so the sum of a function of the
target over the arrows with source x depends only on the isomorphism class of x
(Quiver.Total.finsum_mem_preimage_left_singleton_eq_of_iso). Such sums define the cutoff
functions of étale groupoids. In a groupoid, inverting arrows turns it into the sum of the same
function of the source over the arrows Quiver.Costar x with target x
(Quiver.Total.finsum_costar_eq_finsum_mem_preimage_left_singleton).
Main declarations #
Quiver.Total.comp: the composite of two composable total arrows of a category.Quiver.Total.comp_inv_comp,Quiver.Total.inv_comp_comp: in a groupoid, composing with an arrow and with its inverse cancel.
A sum over the total arrows with source x is a sum over the arrows x ⟶ y.
The sum of a function of the target over the total arrows with source x only depends on the
isomorphism class of x: an isomorphism x ≅ y identifies the arrows out of x with those out
of y, preserving targets.
In a groupoid, inverting arrows identifies the arrows with target x with those with source
x. So the sum of a function of the source over the arrows with target x is the sum of the same
function of the target over the total arrows with source x.
The composite of total arrows a and b of a category with the target of a equal to the
source of b: the first arrow is followed by the second.
Instances For
Composing two total arrows read as morphisms with matching endpoints gives their composite as total arrows.
Following a by the composite of its inverse with c gives back c.
Following the inverse of a by the composite of a with b gives back b.