Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(CategoryTheory/Enriched/Ordinary/Limits): Add conical limits for enriched ordinary categories #20904

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion Mathlib.lean
Original file line number Diff line number Diff line change
Expand Up @@ -1774,7 +1774,8 @@ import Mathlib.CategoryTheory.Enriched.Basic
import Mathlib.CategoryTheory.Enriched.FunctorCategory
import Mathlib.CategoryTheory.Enriched.HomCongr
import Mathlib.CategoryTheory.Enriched.Opposite
import Mathlib.CategoryTheory.Enriched.Ordinary
import Mathlib.CategoryTheory.Enriched.Ordinary.Basic
import Mathlib.CategoryTheory.Enriched.Ordinary.Limits.IsConicalLimit
import Mathlib.CategoryTheory.EpiMono
import Mathlib.CategoryTheory.EqToHom
import Mathlib.CategoryTheory.Equivalence
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/AlgebraicTopology/SimplicialCategory/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joël Riou
-/
import Mathlib.AlgebraicTopology.SimplicialSet.Monoidal
import Mathlib.CategoryTheory.Enriched.Ordinary
import Mathlib.CategoryTheory.Enriched.Ordinary.Basic

/-!
# Simplicial categories
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/CategoryTheory/Enriched/FunctorCategory.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2024 Joël Riou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joël Riou
-/
import Mathlib.CategoryTheory.Enriched.Ordinary
import Mathlib.CategoryTheory.Enriched.Ordinary.Basic
import Mathlib.CategoryTheory.Functor.Category
import Mathlib.CategoryTheory.Limits.Shapes.End

Expand Down
2 changes: 1 addition & 1 deletion Mathlib/CategoryTheory/Enriched/HomCongr.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2024 Nick Ward. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Nick Ward
-/
import Mathlib.CategoryTheory.Enriched.Ordinary
import Mathlib.CategoryTheory.Enriched.Ordinary.Basic

/-!
# Congruence of enriched homs
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/CategoryTheory/Enriched/Opposite.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2024 Daniel Carranza. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Daniel Carranza
-/
import Mathlib.CategoryTheory.Enriched.Ordinary
import Mathlib.CategoryTheory.Enriched.Ordinary.Basic
import Mathlib.CategoryTheory.Monoidal.Braided.Basic

/-!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ using an abbreviation for `EnrichedOrdinaryCategory SSet C`.

universe v' v u u'

open CategoryTheory Category MonoidalCategory
open CategoryTheory Category MonoidalCategory Opposite

namespace CategoryTheory

Expand Down Expand Up @@ -173,4 +173,7 @@ instance ForgetEnrichment.EnrichedOrdinaryCategory {D : Type*} [EnrichedCategory
homEquiv_id _ := Category.id_comp _
homEquiv_comp _ _ := Category.assoc _ _ _

/-- enriched coyoneda functor `(X ⟶[V] _) : C ⥤ V`. -/
abbrev eCoyoneda (X : C) := (eHomFunctor V C).obj (op X)

end CategoryTheory
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/-
Copyright (c) 2025 Jon Eugster. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Emily Riehl, Dagur Asgeirsson, Jon Eugster
-/
import Mathlib.CategoryTheory.Enriched.Ordinary.Basic

/-!
# Conical limits / enriched limits

If `V` is a monoidal category and `C` a `V`-enriched ordinary category,
a `V`-enriched limit, or "conical limit", is a limit cone `c` in `C` with
the property that for every `X : C`, the cone obtained by applying the coyoneda
functor `(X ⟶[V] -)` to `c` is a limit cone in `V`.
-/

universe v₁ u₁ w v' v u u'

namespace CategoryTheory.Enriched

open Limits

variable {J : Type u₁} [Category.{v₁} J]
variable (V : outParam <| Type u') [Category.{v'} V] [MonoidalCategory V]
Copy link
Collaborator

@joelriou joelriou Jan 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think V should be an explicit parameter to IsConicalLimit. (This is what we have in the rest of the enriched category API, and I believe it should not change.)
Could you also add references to the mathematical literature? and also some minimal API (like constructors which under suitable assumptions may take as input only the isLimit field, or only the isConicalLimit fields?)

Copy link
Collaborator

@joelriou joelriou Jan 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be more precise, for the API I am suggesting, I do not think we would have to assume HasLimitsOfShape J V as in #20905.

variable {C : Type u} [Category.{v} C] [EnrichedOrdinaryCategory V C]
variable {F : J ⥤ C} (c : Cone F)

/--
A limit cone `c` in a `V`-enriched ordinary category `C` is a *`V`-enriched limit*
(or *conical limit*) if for every `X : C`, the cone obtained by applying the coyoneda
functor `(X ⟶[V] -)` to `c` is a limit cone in `V`.
-/
structure IsConicalLimit where
/-- A conical limit cone is a limit cone. -/
isLimit : IsLimit c
/--
The cone obtained by applying the coyoneda functor `(X ⟶[V] -)` to `c` is a limit cone in `V`.
-/
isConicalLimit (X : C) : IsLimit <| (eCoyoneda V X).mapCone c

end CategoryTheory.Enriched
Loading