Skip to content

Commit 8c38971

Browse files
committed
doc(CategoryTheory): fix stale names (#33035)
These stale names were found and fixed by Codex.
1 parent c31cde0 commit 8c38971

File tree

16 files changed

+25
-25
lines changed

16 files changed

+25
-25
lines changed

Mathlib/CategoryTheory/Bicategory/CatEnriched.lean

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ We define a type alias `CatEnriched C` for a type `C` with an `EnrichedCategory
2020
provide this with an instance of a strict bicategory structure constructing
2121
`Bicategory.Strict (CatEnriched C)`.
2222
23-
If `C` is a type with an `EnrichedOrdinaryCategory Cat C` structure, then it has an `Enriched Cat C`
24-
structure, so the previous construction would again produce a strict bicategory. However, in this
25-
setting `C` is also given a `Category C` structure, together with an equivalence between this
26-
category and the underlying category of the `Enriched Cat C`, and in examples the given category
27-
structure is the preferred one.
23+
If `C` is a type with an `EnrichedOrdinaryCategory Cat C` structure, then it has an
24+
`EnrichedCategory Cat C` structure, so the previous construction would again produce a strict
25+
bicategory. However, in this setting `C` is also given a `Category C` structure, together with an
26+
equivalence between this category and the underlying category of the `EnrichedCategory Cat C`, and
27+
in examples the given category structure is the preferred one.
2828
2929
Thus, we define a type alias `CatEnrichedOrdinary C` for a type `C` with an
3030
`EnrichedOrdinaryCategory Cat C` structure. We provide this with an instance of a strict bicategory

Mathlib/CategoryTheory/Functor/EpiMono.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ theorem mono_map_iff_mono [hF₁ : PreservesMonomorphisms F] [hF₂ : ReflectsMo
269269
· intro h
270270
exact F.map_mono f
271271

272-
/-- If `F : C ⥤ D` is an equivalence of categories and `C` is a `split_epi_category`,
272+
/-- If `F : C ⥤ D` is an equivalence of categories and `C` is a `SplitEpiCategory`,
273273
then `D` also is. -/
274274
theorem splitEpiCategoryImpOfIsEquivalence [IsEquivalence F] [SplitEpiCategory C] :
275275
SplitEpiCategory D :=

Mathlib/CategoryTheory/Iso.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This file defines isomorphisms between objects of a category.
1616
## Main definitions
1717
1818
- `structure Iso` : a bundled isomorphism between two objects of a category;
19-
- `class IsIso` : an unbundled version of `iso`;
19+
- `class IsIso` : an unbundled version of `Iso`;
2020
note that `IsIso f` is a `Prop`, and only asserts the existence of an inverse.
2121
Of course, this inverse is unique, so it doesn't cost us much to use choice to retrieve it.
2222
- `inv f`, for the inverse of a morphism with `[IsIso f]`

Mathlib/CategoryTheory/Limits/Shapes/Equalizers.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Each of these has a dual.
3838
3939
## Implementation notes
4040
As with the other special shapes in the limits library, all the definitions here are given as
41-
`abbreviation`s of the general statements for limits, so all the `simp` lemmas and theorems about
41+
`abbrev`s of the general statements for limits, so all the `simp` lemmas and theorems about
4242
general limits can be used.
4343
4444
## References

Mathlib/CategoryTheory/Limits/Shapes/FiniteLimits.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace CategoryTheory.Limits
3131

3232
variable (C : Type u) [Category.{v} C]
3333

34-
-- We can't just made this an `abbreviation`
34+
-- We can't just made this an `abbrev`
3535
-- because of https://github.com/leanprover-community/lean/issues/429
3636
/-- A category has all finite limits if every functor `J ⥤ C` with a `FinCategory J`
3737
instance and `J : Type` has a limit.
@@ -213,7 +213,7 @@ instance finCategoryWidePullback [Fintype J] : FinCategory (WidePullbackShape J)
213213
instance finCategoryWidePushout [Fintype J] : FinCategory (WidePushoutShape J) where
214214
fintypeHom := WidePushoutShape.fintypeHom
215215

216-
-- We can't just made this an `abbreviation`
216+
-- We can't just made this an `abbrev`
217217
-- because of https://github.com/leanprover-community/lean/issues/429
218218
/-- A category `HasFiniteWidePullbacks` if it has all limits of shape `WidePullbackShape J` for
219219
finite `J`, i.e. if it has a wide pullback for every finite collection of morphisms with the same

Mathlib/CategoryTheory/Limits/Shapes/Images.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ section
825825

826826
variable (C) [HasImages C]
827827

828-
/-- If a category `has_image_maps`, then all commutative squares induce morphisms on images. -/
828+
/-- If a category `HasImageMaps`, then all commutative squares induce morphisms on images. -/
829829
class HasImageMaps : Prop where
830830
has_image_map : ∀ {f g : Arrow C} (st : f ⟶ g), HasImageMap st
831831

Mathlib/CategoryTheory/Limits/Shapes/IsTerminal.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def IsInitial.ofUniqueHom {X : C} (h : ∀ Y : C, X ⟶ Y) (uniq : ∀ (Y : C) (
136136
def isInitialBot {α : Type*} [Preorder α] [OrderBot α] : IsInitial (⊥ : α) :=
137137
IsInitial.ofUnique _
138138

139-
/-- Transport a term of type `is_initial` across an isomorphism. -/
139+
/-- Transport a term of type `IsInitial` across an isomorphism. -/
140140
def IsInitial.ofIso {X Y : C} (hX : IsInitial X) (i : X ≅ Y) : IsInitial Y :=
141141
IsColimit.ofIsoColimit hX
142142
{ hom := { hom := i.hom }

Mathlib/CategoryTheory/Limits/Shapes/Kernels.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ and the corresponding dual statements.
3939
4040
## Implementation notes
4141
As with the other special shapes in the limits library, all the definitions here are given as
42-
`abbreviation`s of the general statements for limits, so all the `simp` lemmas and theorems about
42+
`abbrev`s of the general statements for limits, so all the `simp` lemmas and theorems about
4343
general limits can be used.
4444
4545
## References

Mathlib/CategoryTheory/Limits/Shapes/Products.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Each of these has a dual.
2929
3030
## Implementation notes
3131
As with the other special shapes in the limits library, all the definitions here are given as
32-
`abbreviation`s of the general statements for limits, so all the `simp` lemmas and theorems about
32+
`abbrev`s of the general statements for limits, so all the `simp` lemmas and theorems about
3333
general limits can be used.
3434
-/
3535

Mathlib/CategoryTheory/Limits/Shapes/WideEqualizers.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Each of these has a dual.
3535
3636
## Implementation notes
3737
As with the other special shapes in the limits library, all the definitions here are given as
38-
`abbreviation`s of the general statements for limits, so all the `simp` lemmas and theorems about
38+
`abbrev`s of the general statements for limits, so all the `simp` lemmas and theorems about
3939
general limits can be used.
4040
4141
## References

0 commit comments

Comments
 (0)