Internal hom in functor categories #
Given functors F G : C ⥤ D
, define a functor functorHom F G
from C
to Type max v' v u
,
which is a proxy for the "internal hom" functor Hom(F ⊗ coyoneda(-), G). This is used to show
that the functor category C ⥤ D
is enriched over C ⥤ Type max v' v u
. This is also useful
for showing that C ⥤ Type max w v u
is monoidal closed.
See Mathlib.CategoryTheory.Closed.FunctorToTypes
.
Given functors F G : C ⥤ D
, HomObj F G A
is a proxy for the type
of "morphisms" F ⊗ A ⟶ G
, where A : C ⥤ Type w
(w
an arbitrary universe).
The morphism
F.obj c ⟶ G.obj c
associated witha : A.obj c
.- naturality {c d : C} (f : c ⟶ d) (a : A.obj c) : CategoryTheory.CategoryStruct.comp (F.map f) (self.app d (A.map f a)) = CategoryTheory.CategoryStruct.comp (self.app c a) (G.map f)
Instances For
When F
, G
, and A
are all functors C ⥤ Type w
, then HomObj F G A
is in
bijection with F ⊗ A ⟶ G
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Given a natural transformation F ⟶ G
, get a term of HomObj F G A
by "ignoring" A
.
Equations
- CategoryTheory.Functor.HomObj.ofNatTrans f = { app := fun (X : C) (x : A.obj X) => f.app X, naturality := ⋯ }
Instances For
The identity HomObj F F A
.
Equations
Instances For
Composition of f : HomObj F G A
with g : HomObj G M A
.
Equations
- f.comp g = { app := fun (X : C) (a : A.obj X) => CategoryTheory.CategoryStruct.comp (f.app X a) (g.app X a), naturality := ⋯ }
Instances For
Given a morphism A' ⟶ A
, send a term of HomObj F G A
to a term of HomObj F G A'
.
Equations
- CategoryTheory.Functor.HomObj.map f x = { app := fun (Δ : C) (a : A'.obj Δ) => x.app Δ (f.app Δ a), naturality := ⋯ }
Instances For
The contravariant functor taking A : C ⥤ Type w
to HomObj F G A
, i.e. Hom(F ⊗ -, G).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Composition of homObjFunctor
with the co-Yoneda embedding, i.e. Hom(F ⊗ coyoneda(-), G).
When F G : C ⥤ Type max v' v u
, this is the internal hom of F
and G
: see
Mathlib.CategoryTheory.Closed.FunctorToTypes
.
Equations
- F.functorHom G = CategoryTheory.coyoneda.rightOp.comp (F.homObjFunctor G)
Instances For
The equivalence (A ⟶ F.functorHom G) ≃ HomObj F G A
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Morphisms (𝟙_ (C ⥤ Type max v' v u) ⟶ F.functorHom G)
are in bijection with
morphisms F ⟶ G
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.