CategoryTheory.Functor.overTotalMap
A map of relative families preserves the actual parameter map in their total families.
Source context 5 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
universe u v w
open CategoryTheory Opposite
namespace CategoryTheory.Functor
variable {C : Type u} [Category.{v} C] {S : C}
{G : (Over S)ᵒᵖ ⥤ Type (max v w)} {F : Cᵒᵖ ⥤ Type (max v w)}Lean source · full declaration
def overTotalMap {H : (Over S)ᵒᵖ ⥤ Type (max v w)} (a : G ⟶ H) :
G.overTotal ⟶ H.overTotal where
app T := TypeCat.ofHom (fun x => ⟨x.1, a.app (op (Over.mk x.1)) x.2⟩)
naturality {T T'} f := by
apply TypeCat.homEquiv.injective
funext x
exact congrArg
(fun z : H.obj (op (Over.mk (f.unop ≫ x.1))) =>
(⟨f.unop ≫ x.1, z⟩ : H.OverTotal T'.unop))
(a.naturality_apply
(Over.homMk f.unop rfl : Over.mk (f.unop ≫ x.1) ⟶ Over.mk x.1).op x.2)