Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Mathlib/CategoryTheory/EssentiallySmall.lean
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,10 @@ end ShrinkHoms

namespace Shrink

noncomputable instance [Small.{w} C] : Category.{v} (Shrink.{w} C) :=
/- The priority is lower than that of `Preorder.smallCategory`: when `C` is a small preorder,
`Shrink.{w} C` then gets its category structure from `Preorder (Shrink.{w} C)`
(see `Mathlib/Order/Shrink.lean`), with morphisms in `Type w` rather than in `Type v`. -/
noncomputable instance (priority := 50) [Small.{w} C] : Category.{v} (Shrink.{w} C) :=
inferInstanceAs (Category (InducedCategory _ (equivShrink C).symm))

/-- The categorical equivalence between `C` and `Shrink C`, when `C` is small. -/
Expand Down
Loading