Quotient category #
Constructs the quotient of a category by an arbitrary family of relations on its hom-sets, by introducing a type synonym for the objects, and identifying homs as necessary.
This is analogous to 'the quotient of a group by the normal closure of a subset', rather
than 'the quotient of a group by a normal subgroup'. When taking the quotient by a congruence
relation, functor_map_eq_iff
says that no unnecessary identifications have been made.
A functor induces a HomRel
on its domain, relating those maps that have the same image.
Equations
Instances For
A HomRel
is a congruence when it's an equivalence on every hom-set, and it can be composed
from left and right.
- equivalence {X Y : C} : _root_.Equivalence r
r
is an equivalence on every hom-set. - compLeft {X Y Z : C} (f : X ⟶ Y) {g g' : Y ⟶ Z} : r g g' → r (CategoryStruct.comp f g) (CategoryStruct.comp f g')
Precomposition with an arrow respects
r
. - compRight {X Y Z : C} {f f' : X ⟶ Y} (g : Y ⟶ Z) : r f f' → r (CategoryStruct.comp f g) (CategoryStruct.comp f' g)
Postcomposition with an arrow respects
r
.
Instances
For F : C ⥤ D
, F.homRel
is a congruence.
A type synonym for C
, thought of as the objects of the quotient category.
- as : C
The object of
C
.
Instances For
Equations
Generates the closure of a family of relations w.r.t. composition from left and right.
- intro {C : Type u_1} [Category.{u_2, u_1} C] {r : HomRel C} ⦃s t : C⦄ {a b : C} (f : s ⟶ a) (m₁ m₂ : a ⟶ b) (g : b ⟶ t) (h : r m₁ m₂) : CompClosure r (CategoryStruct.comp f (CategoryStruct.comp m₁ g)) (CategoryStruct.comp f (CategoryStruct.comp m₂ g))
Instances For
Hom-sets of the quotient category.
Equations
Instances For
Equations
Composition in the quotient category.
Equations
Instances For
Equations
The functor from a category to its quotient.
Equations
Instances For
Equations
The induced functor on the quotient category.
Equations
Instances For
The original functor factors through the induced functor.
Equations
Instances For
In order to define a natural transformation F ⟶ G
with F G : Quotient r ⥤ D
, it suffices
to do so after precomposing with Quotient.functor r
.
Equations
Instances For
In order to define a natural isomorphism F ≅ G
with F G : Quotient r ⥤ D
, it suffices
to do so after precomposing with Quotient.functor r
.