The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V25. Higher structures in categories

Mathlib.CategoryTheory.MorphismProperty.OverAdjunction

76 declarations. Mathlib docs · Source

Adjunction of pushforward and pullback in P.Over Q X

Under suitable assumptions on P, Q and f, a morphism f : X ⟶ Y defines two functors:

  • Over.map: post-composition with f
  • Over.pullback: base-change along f

such that Over.map is the left adjoint to Over.pullback.

theorem CategoryTheory.MorphismProperty.Over.isoMk.congr_simp E1 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T} {X : T}
  [inst_1 : Q.IsMultiplicative] [inst_2 : Q.RespectsIso] {A B : P.Over Q X} (f f_1 : A.left ≅ B.left) (e_f : f = f_1)
  (w : CategoryTheory.CategoryStruct.comp f.hom B.hom = A.hom),
  CategoryTheory.MorphismProperty.Over.isoMk f w = CategoryTheory.MorphismProperty.Over.isoMk f_1 ⋯

theorem CategoryTheory.MorphismProperty.Over.pullbackComp.congr_simp E1 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] {X Y Z : T} (f : X ⟶ Y) (g : Y ⟶ Z) [inst_2 : P.IsStableUnderBaseChangeAlong f]
  [inst_3 : P.IsStableUnderBaseChangeAlong g] [inst_4 : P.HasPullbacksAlong f] [inst_5 : P.HasPullbacksAlong g]
  [inst_6 : Q.RespectsIso] [inst_7 : Q.IsStableUnderBaseChange] (fg : X ⟶ Z)
  (hfg : fg = CategoryTheory.CategoryStruct.comp f g),
  CategoryTheory.MorphismProperty.Over.pullbackComp f g fg hfg =
    CategoryTheory.MorphismProperty.Over.pullbackComp f g fg hfg

theorem CategoryTheory.MorphismProperty.Under.homMk.congr_simp E1 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T} {X : T}
  [inst_1 : Q.IsMultiplicative] {A B : P.Under Q X} (f f_1 : A.right ⟶ B.right) (e_f : f = f_1)
  (w : CategoryTheory.CategoryStruct.comp A.hom f = B.hom) (hf : Q f),
  CategoryTheory.MorphismProperty.Under.homMk f w hf = CategoryTheory.MorphismProperty.Under.homMk f_1 ⋯ ⋯

theorem CategoryTheory.MorphismProperty.Comma.mk.congr_simp E1 #

∀ {A : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} A] {B : Type u_2}
  [inst_1 : CategoryTheory.Category.{v_2, u_2} B] {T : Type u_3} [inst_2 : CategoryTheory.Category.{v_3, u_3} T]
  {L : CategoryTheory.Functor A T} {R : CategoryTheory.Functor B T} {P : CategoryTheory.MorphismProperty T}
  {Q : CategoryTheory.MorphismProperty A} {W : CategoryTheory.MorphismProperty B}
  (toComma toComma_1 : CategoryTheory.Comma L R) (e_toComma : toComma = toComma_1) (prop : P toComma.hom),
  { toComma := toComma, prop := prop } = { toComma := toComma_1, prop := ⋯ }

theorem CategoryTheory.MorphismProperty.Under.isoMk.congr_simp E1 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T} {X : T}
  [inst_1 : Q.IsMultiplicative] [inst_2 : Q.RespectsIso] {A B : P.Under Q X} (f f_1 : A.right ≅ B.right) (e_f : f = f_1)
  (w : CategoryTheory.CategoryStruct.comp A.hom f.hom = B.hom),
  CategoryTheory.MorphismProperty.Under.isoMk f w = CategoryTheory.MorphismProperty.Under.isoMk f_1 ⋯

theorem CategoryTheory.Limits.pushout.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {Y Z X : C} (f f_1 : X ⟶ Y) (e_f : f = f_1) (g g_1 : X ⟶ Z)
  (e_g : g = g_1) [inst_1 : CategoryTheory.Limits.HasPushout f g],
  CategoryTheory.Limits.pushout f g = CategoryTheory.Limits.pushout f_1 g_1

def CategoryTheory.MorphismProperty.Over.map E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P : CategoryTheory.MorphismProperty T} →
      (Q : CategoryTheory.MorphismProperty T) →
        [inst_1 : Q.IsMultiplicative] →
          {X Y : T} →
            [P.IsStableUnderComposition] → {f : X ⟶ Y} → P f → CategoryTheory.Functor (P.Over Q X) (P.Over Q Y)

If P is stable under composition and f : X ⟶ Y satisfies P, this is the functor P.Over Q X ⥤ P.Over Q Y given by composing with f.

theorem CategoryTheory.MorphismProperty.Over.map_obj_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] {X Y : T} [inst_2 : P.IsStableUnderComposition]
  {f : X ⟶ Y} (hPf : P f)
  (X_1 :
    CategoryTheory.MorphismProperty.Comma (CategoryTheory.Functor.id T) (CategoryTheory.Functor.fromPUnit X) P Q ⊤),
  ((CategoryTheory.MorphismProperty.Over.map Q hPf).obj X_1).left = X_1.left

theorem CategoryTheory.MorphismProperty.Over.map_map_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] {X Y : T} [inst_2 : P.IsStableUnderComposition]
  {f : X ⟶ Y} (hPf : P f)
  {X_1 Y_1 :
    CategoryTheory.MorphismProperty.Comma (CategoryTheory.Functor.id T) (CategoryTheory.Functor.fromPUnit X) P Q ⊤}
  (f_1 : X_1 ⟶ Y_1),
  ((CategoryTheory.MorphismProperty.Over.map Q hPf).map f_1).left =
    (CategoryTheory.MorphismProperty.Comma.Hom.hom f_1).left

theorem CategoryTheory.MorphismProperty.Over.map_obj_hom E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] {X Y : T} [inst_2 : P.IsStableUnderComposition]
  {f : X ⟶ Y} (hPf : P f)
  (X_1 :
    CategoryTheory.MorphismProperty.Comma (CategoryTheory.Functor.id T) (CategoryTheory.Functor.fromPUnit X) P Q ⊤),
  ((CategoryTheory.MorphismProperty.Over.map Q hPf).obj X_1).hom = CategoryTheory.CategoryStruct.comp X_1.hom f

theorem CategoryTheory.MorphismProperty.Over.map_comp E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] {X Y Z : T}
  [inst_2 : P.IsStableUnderComposition] {f : X ⟶ Y} (hf : P f) {g : Y ⟶ Z} (hg : P g),
  CategoryTheory.MorphismProperty.Over.map Q ⋯ =
    (CategoryTheory.MorphismProperty.Over.map Q hf).comp (CategoryTheory.MorphismProperty.Over.map Q hg)

def CategoryTheory.MorphismProperty.Over.mapCongr E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P : CategoryTheory.MorphismProperty T} →
      (Q : CategoryTheory.MorphismProperty T) →
        [inst_1 : Q.IsMultiplicative] →
          [inst_2 : P.IsStableUnderComposition] →
            [Q.RespectsIso] →
              {X Y : T} →
                {f g : X ⟶ Y} →
                  (hfg : f = g) →
                    (hf : P f) →
                      CategoryTheory.MorphismProperty.Over.map Q hf ≅ CategoryTheory.MorphismProperty.Over.map Q ⋯

Promote an equality to an isomorphism of Over.map functors.

theorem CategoryTheory.MorphismProperty.Over.mapCongr_inv_app_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] [inst_2 : P.IsStableUnderComposition]
  [inst_3 : Q.RespectsIso] {X Y : T} {f g : X ⟶ Y} (hfg : f = g) (hf : P f) (X_1 : P.Over Q X),
  ((CategoryTheory.MorphismProperty.Over.mapCongr Q hfg hf).inv.app X_1).left =
    CategoryTheory.CategoryStruct.id X_1.left

theorem CategoryTheory.MorphismProperty.Over.mapCongr_hom_app_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] [inst_2 : P.IsStableUnderComposition]
  [inst_3 : Q.RespectsIso] {X Y : T} {f g : X ⟶ Y} (hfg : f = g) (hf : P f) (X_1 : P.Over Q X),
  ((CategoryTheory.MorphismProperty.Over.mapCongr Q hfg hf).hom.app X_1).left =
    CategoryTheory.CategoryStruct.id X_1.left

def CategoryTheory.MorphismProperty.Over.mapId E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P : CategoryTheory.MorphismProperty T} →
      (Q : CategoryTheory.MorphismProperty T) →
        [inst_1 : Q.IsMultiplicative] →
          [inst_2 : P.IsStableUnderComposition] →
            [inst_3 : P.IsMultiplicative] →
              [Q.RespectsIso] →
                (X : T) →
                  (f : optParam (X ⟶ X) (CategoryTheory.CategoryStruct.id X)) →
                    (hf :
                        autoParam (f = CategoryTheory.CategoryStruct.id X)
                          CategoryTheory.MorphismProperty.Over.mapId._auto_1) →
                      CategoryTheory.MorphismProperty.Over.map Q ⋯ ≅ CategoryTheory.Functor.id (P.Over Q X)

Over.map preserves identities.

theorem CategoryTheory.MorphismProperty.Over.mapId_inv_app_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] [inst_2 : P.IsStableUnderComposition]
  [inst_3 : P.IsMultiplicative] [inst_4 : Q.RespectsIso] (X : T)
  (f : optParam (X ⟶ X) (CategoryTheory.CategoryStruct.id X))
  (hf : autoParam (f = CategoryTheory.CategoryStruct.id X) CategoryTheory.MorphismProperty.Over.mapId._auto_1)
  (X_1 : P.Over Q X),
  ((CategoryTheory.MorphismProperty.Over.mapId Q X f hf).inv.app X_1).left = CategoryTheory.CategoryStruct.id X_1.left

theorem CategoryTheory.MorphismProperty.Over.mapId_hom_app_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] [inst_2 : P.IsStableUnderComposition]
  [inst_3 : P.IsMultiplicative] [inst_4 : Q.RespectsIso] (X : T)
  (f : optParam (X ⟶ X) (CategoryTheory.CategoryStruct.id X))
  (hf : autoParam (f = CategoryTheory.CategoryStruct.id X) CategoryTheory.MorphismProperty.Over.mapId._auto_1)
  (X_1 : P.Over Q X),
  ((CategoryTheory.MorphismProperty.Over.mapId Q X f hf).hom.app X_1).left = CategoryTheory.CategoryStruct.id X_1.left

def CategoryTheory.MorphismProperty.Over.mapComp E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P : CategoryTheory.MorphismProperty T} →
      (Q : CategoryTheory.MorphismProperty T) →
        [inst_1 : Q.IsMultiplicative] →
          {X Y Z : T} →
            [inst_2 : P.IsStableUnderComposition] →
              {f : X ⟶ Y} →
                (hf : P f) →
                  {g : Y ⟶ Z} →
                    (hg : P g) →
                      [Q.RespectsIso] →
                        (fg : optParam (X ⟶ Z) (CategoryTheory.CategoryStruct.comp f g)) →
                          (hfg :
                              autoParam (fg = CategoryTheory.CategoryStruct.comp f g)
                                CategoryTheory.MorphismProperty.Over.mapComp._auto_1) →
                            CategoryTheory.MorphismProperty.Over.map Q ⋯ ≅
                              (CategoryTheory.MorphismProperty.Over.map Q hf).comp
                                (CategoryTheory.MorphismProperty.Over.map Q hg)

Over.map commutes with composition.

theorem CategoryTheory.MorphismProperty.Over.mapComp_hom_app_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] {X Y Z : T}
  [inst_2 : P.IsStableUnderComposition] {f : X ⟶ Y} (hf : P f) {g : Y ⟶ Z} (hg : P g) [inst_3 : Q.RespectsIso]
  (fg : optParam (X ⟶ Z) (CategoryTheory.CategoryStruct.comp f g))
  (hfg : autoParam (fg = CategoryTheory.CategoryStruct.comp f g) CategoryTheory.MorphismProperty.Over.mapComp._auto_1)
  (X_1 : P.Over Q X),
  ((CategoryTheory.MorphismProperty.Over.mapComp Q hf hg fg hfg).hom.app X_1).left =
    CategoryTheory.CategoryStruct.id X_1.left

theorem CategoryTheory.MorphismProperty.Over.mapComp_inv_app_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] {X Y Z : T}
  [inst_2 : P.IsStableUnderComposition] {f : X ⟶ Y} (hf : P f) {g : Y ⟶ Z} (hg : P g) [inst_3 : Q.RespectsIso]
  (fg : optParam (X ⟶ Z) (CategoryTheory.CategoryStruct.comp f g))
  (hfg : autoParam (fg = CategoryTheory.CategoryStruct.comp f g) CategoryTheory.MorphismProperty.Over.mapComp._auto_1)
  (X_1 : P.Over Q X),
  ((CategoryTheory.MorphismProperty.Over.mapComp Q hf hg fg hfg).inv.app X_1).left =
    CategoryTheory.CategoryStruct.id X_1.left

instance CategoryTheory.MorphismProperty.instHasPullbackHomDiscretePUnitOfHasPullbacksAlong E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P Q : CategoryTheory.MorphismProperty T) {X Y : T}
  (f : X ⟶ Y) [P.HasPullbacksAlong f] (A : P.Over Q Y), CategoryTheory.Limits.HasPullback A.hom f

instance CategoryTheory.MorphismProperty.instHasPullbackSndHomDiscretePUnitOfHasPullbacksAlongOfIsStableUnderBaseChangeAlong E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P Q : CategoryTheory.MorphismProperty T) {X Y Z : T}
  (f : X ⟶ Y) (g : Y ⟶ Z) [P.HasPullbacksAlong f] [inst_2 : P.HasPullbacksAlong g] [P.IsStableUnderBaseChangeAlong g]
  (A : P.Over Q Z), CategoryTheory.Limits.HasPullback (CategoryTheory.Limits.pullback.snd A.hom g) f

def CategoryTheory.MorphismProperty.Over.pullback E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    (P Q : CategoryTheory.MorphismProperty T) →
      [inst_1 : Q.IsMultiplicative] →
        {X Y : T} →
          (f : X ⟶ Y) →
            [P.HasPullbacksAlong f] →
              [P.IsStableUnderBaseChangeAlong f] →
                [Q.IsStableUnderBaseChange] → CategoryTheory.Functor (P.Over Q Y) (P.Over Q X)

If P and Q are stable under base change and pullbacks along f exist for morphisms in P, this is the functor P.Over Q Y ⥤ P.Over Q X given by base change along f.

theorem CategoryTheory.MorphismProperty.Over.pullback_obj_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P Q : CategoryTheory.MorphismProperty T)
  [inst_1 : Q.IsMultiplicative] {X Y : T} (f : X ⟶ Y) [inst_2 : P.HasPullbacksAlong f]
  [inst_3 : P.IsStableUnderBaseChangeAlong f] [inst_4 : Q.IsStableUnderBaseChange] (A : P.Over Q Y),
  ((CategoryTheory.MorphismProperty.Over.pullback P Q f).obj A).left = CategoryTheory.Limits.pullback A.hom f

theorem CategoryTheory.MorphismProperty.Over.pullback_map_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P Q : CategoryTheory.MorphismProperty T)
  [inst_1 : Q.IsMultiplicative] {X Y : T} (f : X ⟶ Y) [inst_2 : P.HasPullbacksAlong f]
  [inst_3 : P.IsStableUnderBaseChangeAlong f] [inst_4 : Q.IsStableUnderBaseChange] {A B : P.Over Q Y} (g : A ⟶ B),
  ((CategoryTheory.MorphismProperty.Over.pullback P Q f).map g).left =
    CategoryTheory.Limits.pullback.lift
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst A.hom f) g.left)
      (CategoryTheory.Limits.pullback.snd A.hom f) ⋯

theorem CategoryTheory.MorphismProperty.Over.pullback_obj_hom E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P Q : CategoryTheory.MorphismProperty T)
  [inst_1 : Q.IsMultiplicative] {X Y : T} (f : X ⟶ Y) [inst_2 : P.HasPullbacksAlong f]
  [inst_3 : P.IsStableUnderBaseChangeAlong f] [inst_4 : Q.IsStableUnderBaseChange] (A : P.Over Q Y),
  ((CategoryTheory.MorphismProperty.Over.pullback P Q f).obj A).hom = CategoryTheory.Limits.pullback.snd A.hom f

def CategoryTheory.MorphismProperty.Over.pullbackComp E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P Q : CategoryTheory.MorphismProperty T} →
      [inst_1 : Q.IsMultiplicative] →
        {X Y Z : T} →
          (f : X ⟶ Y) →
            (g : Y ⟶ Z) →
              [inst_2 : P.IsStableUnderBaseChangeAlong f] →
                [inst_3 : P.IsStableUnderBaseChangeAlong g] →
                  [inst_4 : P.HasPullbacksAlong f] →
                    [inst_5 : P.HasPullbacksAlong g] →
                      [Q.RespectsIso] →
                        [inst_7 : Q.IsStableUnderBaseChange] →
                          (fg : optParam (X ⟶ Z) (CategoryTheory.CategoryStruct.comp f g)) →
                            (hfg :
                                autoParam (fg = CategoryTheory.CategoryStruct.comp f g)
                                  CategoryTheory.MorphismProperty.Over.pullbackComp._auto_1) →
                              CategoryTheory.MorphismProperty.Over.pullback P Q fg ≅
                                (CategoryTheory.MorphismProperty.Over.pullback P Q g).comp
                                  (CategoryTheory.MorphismProperty.Over.pullback P Q f)

Over.pullback commutes with composition.

theorem CategoryTheory.MorphismProperty.Over.pullbackComp_hom_app_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] {X Y Z : T} (f : X ⟶ Y) (g : Y ⟶ Z) [inst_2 : P.IsStableUnderBaseChangeAlong f]
  [inst_3 : P.IsStableUnderBaseChangeAlong g] [inst_4 : P.HasPullbacksAlong f] [inst_5 : P.HasPullbacksAlong g]
  [inst_6 : Q.RespectsIso] [inst_7 : Q.IsStableUnderBaseChange]
  (fg : optParam (X ⟶ Z) (CategoryTheory.CategoryStruct.comp f g))
  (hfg :
    autoParam (fg = CategoryTheory.CategoryStruct.comp f g) CategoryTheory.MorphismProperty.Over.pullbackComp._auto_1)
  (X_1 : P.Over Q Z),
  ((CategoryTheory.MorphismProperty.Over.pullbackComp f g fg hfg).hom.app X_1).left =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.map X_1.hom fg X_1.hom (CategoryTheory.CategoryStruct.comp f g)
        (CategoryTheory.CategoryStruct.id X_1.left) (CategoryTheory.CategoryStruct.id X)
        (CategoryTheory.CategoryStruct.id Z) ⋯ ⋯)
      (CategoryTheory.Limits.pullbackLeftPullbackSndIso X_1.hom g f).inv

theorem CategoryTheory.MorphismProperty.Over.pullbackComp_inv_app_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] {X Y Z : T} (f : X ⟶ Y) (g : Y ⟶ Z) [inst_2 : P.IsStableUnderBaseChangeAlong f]
  [inst_3 : P.IsStableUnderBaseChangeAlong g] [inst_4 : P.HasPullbacksAlong f] [inst_5 : P.HasPullbacksAlong g]
  [inst_6 : Q.RespectsIso] [inst_7 : Q.IsStableUnderBaseChange]
  (fg : optParam (X ⟶ Z) (CategoryTheory.CategoryStruct.comp f g))
  (hfg :
    autoParam (fg = CategoryTheory.CategoryStruct.comp f g) CategoryTheory.MorphismProperty.Over.pullbackComp._auto_1)
  (X_1 : P.Over Q Z),
  ((CategoryTheory.MorphismProperty.Over.pullbackComp f g fg hfg).inv.app X_1).left =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackLeftPullbackSndIso X_1.hom g f).hom
      (CategoryTheory.Limits.pullback.map X_1.hom (CategoryTheory.CategoryStruct.comp f g) X_1.hom fg
        (CategoryTheory.CategoryStruct.id X_1.left) (CategoryTheory.CategoryStruct.id X)
        (CategoryTheory.CategoryStruct.id Z) ⋯ ⋯)

theorem CategoryTheory.MorphismProperty.Over.pullbackComp_left_fst_fst E1 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] {X Y Z : T} (f : X ⟶ Y) (g : Y ⟶ Z) [inst_2 : P.IsStableUnderBaseChangeAlong f]
  [inst_3 : P.IsStableUnderBaseChangeAlong g] [inst_4 : P.HasPullbacksAlong f] [inst_5 : P.HasPullbacksAlong g]
  [inst_6 : Q.IsStableUnderBaseChange] (A : P.Over Q Z),
  CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.MorphismProperty.Over.pullbackComp f g (CategoryTheory.CategoryStruct.comp f g) ⋯).hom.app
          A).left
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.snd A.hom g) f)
        (CategoryTheory.Limits.pullback.fst A.hom g)) =
    CategoryTheory.Limits.pullback.fst A.hom (CategoryTheory.CategoryStruct.comp f g)

def CategoryTheory.MorphismProperty.Over.pullbackCongr E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P Q : CategoryTheory.MorphismProperty T} →
      [inst_1 : Q.IsMultiplicative] →
        {X Y : T} →
          {f : X ⟶ Y} →
            [inst_2 : P.HasPullbacksAlong f] →
              [inst_3 : P.IsStableUnderBaseChangeAlong f] →
                [inst_4 : Q.IsStableUnderBaseChange] →
                  {g : X ⟶ Y} →
                    (h : f = g) →
                      CategoryTheory.MorphismProperty.Over.pullback P Q f ≅
                        CategoryTheory.MorphismProperty.Over.pullback P Q g

If f = g, then base change along f is naturally isomorphic to base change along g.

theorem CategoryTheory.MorphismProperty.Over.pullbackCongr_hom_app_left_fst E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] {X Y : T} {f : X ⟶ Y} [inst_2 : P.HasPullbacksAlong f] {g : X ⟶ Y}
  [inst_3 : P.IsStableUnderBaseChangeAlong f] [inst_4 : Q.IsStableUnderBaseChange] (h : f = g) (A : P.Over Q Y),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.MorphismProperty.Over.pullbackCongr h).hom.app A).left
      (CategoryTheory.Limits.pullback.fst A.hom g) =
    CategoryTheory.Limits.pullback.fst A.hom f

theorem CategoryTheory.MorphismProperty.Over.pullbackCongr_hom_app_left_fst_assoc E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] {X Y : T} {f : X ⟶ Y} [inst_2 : P.HasPullbacksAlong f] {g : X ⟶ Y}
  [inst_3 : P.IsStableUnderBaseChangeAlong f] [inst_4 : Q.IsStableUnderBaseChange] (h : f = g) (A : P.Over Q Y) {Z : T}
  (h_1 : A.left ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((CategoryTheory.MorphismProperty.Over.pullbackCongr h).hom.app A).left
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst A.hom g) h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst A.hom f) h_1

def CategoryTheory.MorphismProperty.Over.pullbackMapHomPullback E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P Q : CategoryTheory.MorphismProperty T} →
      [inst_1 : Q.IsMultiplicative] →
        [inst_2 : P.IsStableUnderComposition] →
          {X Y Z : T} →
            (f : X ⟶ Y) →
              (hPf : P f) →
                Q f →
                  (g : Y ⟶ Z) →
                    [inst_3 : P.IsStableUnderBaseChangeAlong f] →
                      [inst_4 : P.IsStableUnderBaseChangeAlong g] →
                        [inst_5 : Q.IsStableUnderBaseChange] →
                          [inst_6 : CategoryTheory.Limits.HasPullbacks T] →
                            (fg : optParam (X ⟶ Z) (CategoryTheory.CategoryStruct.comp f g)) →
                              (hfg :
                                  autoParam (CategoryTheory.CategoryStruct.comp f g = fg)
                                    CategoryTheory.MorphismProperty.Over.pullbackMapHomPullback._auto_1) →
                                (CategoryTheory.MorphismProperty.Over.pullback P Q fg).comp
                                    (CategoryTheory.MorphismProperty.Over.map Q hPf) ⟶
                                  CategoryTheory.MorphismProperty.Over.pullback P Q g

The natural map between pullback functors induced by pullback.map.

theorem CategoryTheory.MorphismProperty.Over.pullbackMapHomPullback_app E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] [inst_2 : P.IsStableUnderComposition] {X Y Z : T} (f : X ⟶ Y) (hPf : P f) (hQf : Q f)
  (g : Y ⟶ Z) [inst_3 : P.IsStableUnderBaseChangeAlong f] [inst_4 : P.IsStableUnderBaseChangeAlong g]
  [inst_5 : Q.IsStableUnderBaseChange] [inst_6 : CategoryTheory.Limits.HasPullbacks T]
  (fg : optParam (X ⟶ Z) (CategoryTheory.CategoryStruct.comp f g))
  (hfg :
    autoParam (CategoryTheory.CategoryStruct.comp f g = fg)
      CategoryTheory.MorphismProperty.Over.pullbackMapHomPullback._auto_1)
  (A : P.Over Q Z),
  (CategoryTheory.MorphismProperty.Over.pullbackMapHomPullback f hPf hQf g fg hfg).app A =
    CategoryTheory.MorphismProperty.Over.homMk
      (CategoryTheory.Limits.pullback.map A.hom fg A.hom g (CategoryTheory.CategoryStruct.id A.left) f
        (CategoryTheory.CategoryStruct.id Z) ⋯ ⋯)
      ⋯ ⋯

def CategoryTheory.MorphismProperty.Over.pullbackCompForgetIso E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P Q : CategoryTheory.MorphismProperty T} →
      [inst_1 : Q.IsMultiplicative] →
        {X Y : T} →
          (f : X ⟶ Y) →
            [inst_2 : CategoryTheory.Limits.HasPullbacksAlong f] →
              [inst_3 : P.IsStableUnderBaseChangeAlong f] →
                [inst_4 : Q.IsStableUnderBaseChange] →
                  (CategoryTheory.MorphismProperty.Over.pullback P Q f).comp
                      (CategoryTheory.MorphismProperty.Over.forget P Q X) ≅
                    (CategoryTheory.MorphismProperty.Over.forget P Q Y).comp (CategoryTheory.Over.pullback f)

MorphismProperty.Over.pullback commutes with MorphismProperty.Over.forget.

theorem CategoryTheory.MorphismProperty.Over.pullbackCompForgetIso_inv_app_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] {X Y : T} (f : X ⟶ Y) [inst_2 : CategoryTheory.Limits.HasPullbacksAlong f]
  [inst_3 : P.IsStableUnderBaseChangeAlong f] [inst_4 : Q.IsStableUnderBaseChange] (X_1 : P.Over Q Y),
  ((CategoryTheory.MorphismProperty.Over.pullbackCompForgetIso f).inv.app X_1).left =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Limits.pullback X_1.hom f)

theorem CategoryTheory.MorphismProperty.Over.pullbackCompForgetIso_hom_app_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] {X Y : T} (f : X ⟶ Y) [inst_2 : CategoryTheory.Limits.HasPullbacksAlong f]
  [inst_3 : P.IsStableUnderBaseChangeAlong f] [inst_4 : Q.IsStableUnderBaseChange] (X_1 : P.Over Q Y),
  ((CategoryTheory.MorphismProperty.Over.pullbackCompForgetIso f).hom.app X_1).left =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Limits.pullback X_1.hom f)

def CategoryTheory.MorphismProperty.Over.mapPullbackAdj E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    (P Q : CategoryTheory.MorphismProperty T) →
      [inst_1 : Q.IsMultiplicative] →
        {X Y : T} →
          [inst_2 : P.IsStableUnderComposition] →
            [inst_3 : Q.IsStableUnderBaseChange] →
              (f : X ⟶ Y) →
                [inst_4 : P.HasPullbacksAlong f] →
                  [inst_5 : P.IsStableUnderBaseChangeAlong f] →
                    [Q.HasOfPostcompProperty Q] →
                      (hPf : P f) →
                        Q f →
                          (CategoryTheory.MorphismProperty.Over.map Q hPf ⊣
                            CategoryTheory.MorphismProperty.Over.pullback P Q f)

P.Over.map is left adjoint to P.Over.pullback if pullbacks of morphisms satisfying P exist along f and are also in P, and f is in both P and Q.

theorem CategoryTheory.MorphismProperty.Over.mapPullbackAdj_counit_app E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P Q : CategoryTheory.MorphismProperty T)
  [inst_1 : Q.IsMultiplicative] {X Y : T} [inst_2 : P.IsStableUnderComposition] [inst_3 : Q.IsStableUnderBaseChange]
  (f : X ⟶ Y) [inst_4 : P.HasPullbacksAlong f] [inst_5 : P.IsStableUnderBaseChangeAlong f]
  [inst_6 : Q.HasOfPostcompProperty Q] (hPf : P f) (hQf : Q f) (A : P.Over Q Y),
  (CategoryTheory.MorphismProperty.Over.mapPullbackAdj P Q f hPf hQf).counit.app A =
    CategoryTheory.MorphismProperty.Over.homMk (CategoryTheory.Limits.pullback.fst A.hom f) ⋯ ⋯

theorem CategoryTheory.MorphismProperty.Over.mapPullbackAdj_unit_app E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P Q : CategoryTheory.MorphismProperty T)
  [inst_1 : Q.IsMultiplicative] {X Y : T} [inst_2 : P.IsStableUnderComposition] [inst_3 : Q.IsStableUnderBaseChange]
  (f : X ⟶ Y) [inst_4 : P.HasPullbacksAlong f] [inst_5 : P.IsStableUnderBaseChangeAlong f]
  [inst_6 : Q.HasOfPostcompProperty Q] (hPf : P f) (hQf : Q f) (A : P.Over Q X),
  (CategoryTheory.MorphismProperty.Over.mapPullbackAdj P Q f hPf hQf).unit.app A =
    CategoryTheory.MorphismProperty.Over.homMk
      (CategoryTheory.Limits.pullback.lift (CategoryTheory.CategoryStruct.id A.left) A.hom ⋯) ⋯ ⋯

instance CategoryTheory.MorphismProperty.instIsLeftAdjointOverTopMapOfHasPullbacksAlongOfIsStableUnderBaseChangeAlong E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P : CategoryTheory.MorphismProperty T) {X Y : T}
  [inst_1 : P.IsStableUnderComposition] (f : X ⟶ Y) [P.HasPullbacksAlong f] [P.IsStableUnderBaseChangeAlong f]
  (hPf : P f), (CategoryTheory.MorphismProperty.Over.map ⊤ hPf).IsLeftAdjoint

theorem CategoryTheory.MorphismProperty.isRightAdjoint_pullback E1 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P : CategoryTheory.MorphismProperty T) {X Y : T}
  [P.IsStableUnderComposition] (f : X ⟶ Y) [inst_2 : P.HasPullbacksAlong f] [inst_3 : P.IsStableUnderBaseChangeAlong f],
  P f → (CategoryTheory.MorphismProperty.Over.pullback P ⊤ f).IsRightAdjoint

def CategoryTheory.MorphismProperty.Under.map E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P : CategoryTheory.MorphismProperty T} →
      (Q : CategoryTheory.MorphismProperty T) →
        [inst_1 : Q.IsMultiplicative] →
          {X Y : T} →
            [P.IsStableUnderComposition] → {f : X ⟶ Y} → P f → CategoryTheory.Functor (P.Under Q Y) (P.Under Q X)

If P is stable under composition and f : X ⟶ Y satisfies P, this is the functor P.Under Q Y ⥤ P.Under Q X given by composing with f.

theorem CategoryTheory.MorphismProperty.Under.map_obj_hom E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] {X Y : T} [inst_2 : P.IsStableUnderComposition]
  {f : X ⟶ Y} (hPf : P f)
  (X_1 :
    CategoryTheory.MorphismProperty.Comma (CategoryTheory.Functor.fromPUnit Y) (CategoryTheory.Functor.id T) P ⊤ Q),
  ((CategoryTheory.MorphismProperty.Under.map Q hPf).obj X_1).hom = CategoryTheory.CategoryStruct.comp f X_1.hom

theorem CategoryTheory.MorphismProperty.Under.map_obj_right E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] {X Y : T} [inst_2 : P.IsStableUnderComposition]
  {f : X ⟶ Y} (hPf : P f)
  (X_1 :
    CategoryTheory.MorphismProperty.Comma (CategoryTheory.Functor.fromPUnit Y) (CategoryTheory.Functor.id T) P ⊤ Q),
  ((CategoryTheory.MorphismProperty.Under.map Q hPf).obj X_1).right = X_1.right

theorem CategoryTheory.MorphismProperty.Under.map_map_right E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] {X Y : T} [inst_2 : P.IsStableUnderComposition]
  {f : X ⟶ Y} (hPf : P f)
  {X_1 Y_1 :
    CategoryTheory.MorphismProperty.Comma (CategoryTheory.Functor.fromPUnit Y) (CategoryTheory.Functor.id T) P ⊤ Q}
  (f_1 : X_1 ⟶ Y_1),
  ((CategoryTheory.MorphismProperty.Under.map Q hPf).map f_1).right =
    (CategoryTheory.MorphismProperty.Comma.Hom.hom f_1).right

theorem CategoryTheory.MorphismProperty.Under.map_comp E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] {X Y Z : T}
  [inst_2 : P.IsStableUnderComposition] {f : X ⟶ Y} (hf : P f) {g : Y ⟶ Z} (hg : P g),
  CategoryTheory.MorphismProperty.Under.map Q ⋯ =
    (CategoryTheory.MorphismProperty.Under.map Q hg).comp (CategoryTheory.MorphismProperty.Under.map Q hf)

def CategoryTheory.MorphismProperty.Under.mapCongr E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P : CategoryTheory.MorphismProperty T} →
      (Q : CategoryTheory.MorphismProperty T) →
        [inst_1 : Q.IsMultiplicative] →
          [inst_2 : P.IsStableUnderComposition] →
            [Q.RespectsIso] →
              {X Y : T} →
                {f g : X ⟶ Y} →
                  (hfg : f = g) →
                    (hf : P f) →
                      CategoryTheory.MorphismProperty.Under.map Q hf ≅ CategoryTheory.MorphismProperty.Under.map Q ⋯

Promote an equality to an isomorphism of Under.map functors.

theorem CategoryTheory.MorphismProperty.Under.mapCongr_hom_app_right E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] [inst_2 : P.IsStableUnderComposition]
  [inst_3 : Q.RespectsIso] {X Y : T} {f g : X ⟶ Y} (hfg : f = g) (hf : P f) (X_1 : P.Under Q Y),
  ((CategoryTheory.MorphismProperty.Under.mapCongr Q hfg hf).hom.app X_1).right =
    CategoryTheory.CategoryStruct.id X_1.right

theorem CategoryTheory.MorphismProperty.Under.mapCongr_inv_app_right E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] [inst_2 : P.IsStableUnderComposition]
  [inst_3 : Q.RespectsIso] {X Y : T} {f g : X ⟶ Y} (hfg : f = g) (hf : P f) (X_1 : P.Under Q Y),
  ((CategoryTheory.MorphismProperty.Under.mapCongr Q hfg hf).inv.app X_1).right =
    CategoryTheory.CategoryStruct.id X_1.right

def CategoryTheory.MorphismProperty.Under.mapId E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P : CategoryTheory.MorphismProperty T} →
      (Q : CategoryTheory.MorphismProperty T) →
        [inst_1 : Q.IsMultiplicative] →
          [inst_2 : P.IsStableUnderComposition] →
            [inst_3 : P.IsMultiplicative] →
              [Q.RespectsIso] →
                (X : T) →
                  (f : optParam (X ⟶ X) (CategoryTheory.CategoryStruct.id X)) →
                    (hf :
                        autoParam (f = CategoryTheory.CategoryStruct.id X)
                          CategoryTheory.MorphismProperty.Under.mapId._auto_1) →
                      CategoryTheory.MorphismProperty.Under.map Q ⋯ ≅ CategoryTheory.Functor.id (P.Under Q X)

Under.map preserves identities.

theorem CategoryTheory.MorphismProperty.Under.mapId_hom_app_right E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] [inst_2 : P.IsStableUnderComposition]
  [inst_3 : P.IsMultiplicative] [inst_4 : Q.RespectsIso] (X : T)
  (f : optParam (X ⟶ X) (CategoryTheory.CategoryStruct.id X))
  (hf : autoParam (f = CategoryTheory.CategoryStruct.id X) CategoryTheory.MorphismProperty.Under.mapId._auto_1)
  (X_1 : P.Under Q X),
  ((CategoryTheory.MorphismProperty.Under.mapId Q X f hf).hom.app X_1).right =
    CategoryTheory.CategoryStruct.id X_1.right

theorem CategoryTheory.MorphismProperty.Under.mapId_inv_app_right E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] [inst_2 : P.IsStableUnderComposition]
  [inst_3 : P.IsMultiplicative] [inst_4 : Q.RespectsIso] (X : T)
  (f : optParam (X ⟶ X) (CategoryTheory.CategoryStruct.id X))
  (hf : autoParam (f = CategoryTheory.CategoryStruct.id X) CategoryTheory.MorphismProperty.Under.mapId._auto_1)
  (X_1 : P.Under Q X),
  ((CategoryTheory.MorphismProperty.Under.mapId Q X f hf).inv.app X_1).right =
    CategoryTheory.CategoryStruct.id X_1.right

def CategoryTheory.MorphismProperty.Under.mapComp E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P : CategoryTheory.MorphismProperty T} →
      (Q : CategoryTheory.MorphismProperty T) →
        [inst_1 : Q.IsMultiplicative] →
          {X Y Z : T} →
            [inst_2 : P.IsStableUnderComposition] →
              {f : X ⟶ Y} →
                (hf : P f) →
                  {g : Y ⟶ Z} →
                    (hg : P g) →
                      [Q.RespectsIso] →
                        (fg : optParam (X ⟶ Z) (CategoryTheory.CategoryStruct.comp f g)) →
                          (hfg :
                              autoParam (fg = CategoryTheory.CategoryStruct.comp f g)
                                CategoryTheory.MorphismProperty.Under.mapComp._auto_1) →
                            CategoryTheory.MorphismProperty.Under.map Q ⋯ ≅
                              (CategoryTheory.MorphismProperty.Under.map Q hg).comp
                                (CategoryTheory.MorphismProperty.Under.map Q hf)

Under.map commutes with composition.

theorem CategoryTheory.MorphismProperty.Under.mapComp_hom_app_left E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P : CategoryTheory.MorphismProperty T}
  (Q : CategoryTheory.MorphismProperty T) [inst_1 : Q.IsMultiplicative] {X Y Z : T}
  [inst_2 : P.IsStableUnderComposition] {f : X ⟶ Y} (hf : P f) {g : Y ⟶ Z} (hg : P g) [inst_3 : Q.RespectsIso]
  (fg : optParam (X ⟶ Z) (CategoryTheory.CategoryStruct.comp f g))
  (hfg : autoParam (fg = CategoryTheory.CategoryStruct.comp f g) CategoryTheory.MorphismProperty.Under.mapComp._auto_1)
  (X_1 : P.Under Q Z),
  ((CategoryTheory.MorphismProperty.Under.mapComp Q hf hg fg hfg).hom.app X_1).left =
    CategoryTheory.CategoryStruct.id ((CategoryTheory.MorphismProperty.Under.map Q ⋯).obj X_1).toComma.1

instance CategoryTheory.MorphismProperty.instHasPushoutHomDiscretePUnitOfHasPushoutsAlong E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P Q : CategoryTheory.MorphismProperty T) {X Y : T}
  (f : X ⟶ Y) [P.HasPushoutsAlong f] (A : P.Under Q X), CategoryTheory.Limits.HasPushout A.hom f

instance CategoryTheory.MorphismProperty.instHasPushoutInrHomDiscretePUnitOfHasPushoutsAlongOfIsStableUnderCobaseChangeAlong E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P Q : CategoryTheory.MorphismProperty T) {X Y Z : T}
  (f : Y ⟶ X) (g : Z ⟶ Y) [P.HasPushoutsAlong f] [inst_2 : P.HasPushoutsAlong g] [P.IsStableUnderCobaseChangeAlong g]
  (A : P.Under Q Z), CategoryTheory.Limits.HasPushout (CategoryTheory.Limits.pushout.inr A.hom g) f

def CategoryTheory.MorphismProperty.Under.pushout E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    (P Q : CategoryTheory.MorphismProperty T) →
      [inst_1 : Q.IsMultiplicative] →
        {X Y : T} →
          (f : X ⟶ Y) →
            [P.HasPushoutsAlong f] →
              [P.IsStableUnderCobaseChangeAlong f] →
                [Q.IsStableUnderCobaseChange] → CategoryTheory.Functor (P.Under Q X) (P.Under Q Y)

If P and Q are stable under cobase change and pushouts along f exist for morphisms in P, this is the functor P.Under Q X ⥤ P.Under Q Y given by cobase change along f.

theorem CategoryTheory.MorphismProperty.Under.pushout_map_right E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P Q : CategoryTheory.MorphismProperty T)
  [inst_1 : Q.IsMultiplicative] {X Y : T} (f : X ⟶ Y) [inst_2 : P.HasPushoutsAlong f]
  [inst_3 : P.IsStableUnderCobaseChangeAlong f] [inst_4 : Q.IsStableUnderCobaseChange] {A B : P.Under Q X} (g : A ⟶ B),
  ((CategoryTheory.MorphismProperty.Under.pushout P Q f).map g).right =
    CategoryTheory.Limits.pushout.desc
      (CategoryTheory.CategoryStruct.comp g.right (CategoryTheory.Limits.pushout.inl B.hom f))
      (CategoryTheory.Limits.pushout.inr B.hom f) ⋯

theorem CategoryTheory.MorphismProperty.Under.pushout_obj_right E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P Q : CategoryTheory.MorphismProperty T)
  [inst_1 : Q.IsMultiplicative] {X Y : T} (f : X ⟶ Y) [inst_2 : P.HasPushoutsAlong f]
  [inst_3 : P.IsStableUnderCobaseChangeAlong f] [inst_4 : Q.IsStableUnderCobaseChange] (A : P.Under Q X),
  ((CategoryTheory.MorphismProperty.Under.pushout P Q f).obj A).right = CategoryTheory.Limits.pushout A.hom f

theorem CategoryTheory.MorphismProperty.Under.pushout_obj_hom E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P Q : CategoryTheory.MorphismProperty T)
  [inst_1 : Q.IsMultiplicative] {X Y : T} (f : X ⟶ Y) [inst_2 : P.HasPushoutsAlong f]
  [inst_3 : P.IsStableUnderCobaseChangeAlong f] [inst_4 : Q.IsStableUnderCobaseChange] (A : P.Under Q X),
  ((CategoryTheory.MorphismProperty.Under.pushout P Q f).obj A).hom = CategoryTheory.Limits.pushout.inr A.hom f

def CategoryTheory.MorphismProperty.Under.pushoutComp E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P Q : CategoryTheory.MorphismProperty T} →
      [inst_1 : Q.IsMultiplicative] →
        {X Y Z : T} →
          (f : X ⟶ Y) →
            (g : Y ⟶ Z) →
              [inst_2 : P.IsStableUnderCobaseChangeAlong f] →
                [inst_3 : P.IsStableUnderCobaseChangeAlong g] →
                  [inst_4 : P.HasPushoutsAlong f] →
                    [inst_5 : P.HasPushoutsAlong g] →
                      [Q.RespectsIso] →
                        [inst_7 : Q.IsStableUnderCobaseChange] →
                          (fg : optParam (X ⟶ Z) (CategoryTheory.CategoryStruct.comp f g)) →
                            (hfg :
                                autoParam (fg = CategoryTheory.CategoryStruct.comp f g)
                                  CategoryTheory.MorphismProperty.Under.pushoutComp._auto_1) →
                              CategoryTheory.MorphismProperty.Under.pushout P Q fg ≅
                                (CategoryTheory.MorphismProperty.Under.pushout P Q f).comp
                                  (CategoryTheory.MorphismProperty.Under.pushout P Q g)

Under.pushout commutes with composition.

theorem CategoryTheory.MorphismProperty.Under.pushoutComp_inv_app_right E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] {X Y Z : T} (f : X ⟶ Y) (g : Y ⟶ Z) [inst_2 : P.IsStableUnderCobaseChangeAlong f]
  [inst_3 : P.IsStableUnderCobaseChangeAlong g] [inst_4 : P.HasPushoutsAlong f] [inst_5 : P.HasPushoutsAlong g]
  [inst_6 : Q.RespectsIso] [inst_7 : Q.IsStableUnderCobaseChange]
  (fg : optParam (X ⟶ Z) (CategoryTheory.CategoryStruct.comp f g))
  (hfg :
    autoParam (fg = CategoryTheory.CategoryStruct.comp f g) CategoryTheory.MorphismProperty.Under.pushoutComp._auto_1)
  (X_1 : P.Under Q X),
  ((CategoryTheory.MorphismProperty.Under.pushoutComp f g fg hfg).inv.app X_1).right =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushoutLeftPushoutInrIso X_1.hom f g).hom
      (CategoryTheory.Limits.pushout.map X_1.hom (CategoryTheory.CategoryStruct.comp f g) X_1.hom fg
        (CategoryTheory.CategoryStruct.id X_1.right) (CategoryTheory.CategoryStruct.id Z)
        (CategoryTheory.CategoryStruct.id X) ⋯ ⋯)

theorem CategoryTheory.MorphismProperty.Under.pushoutComp_hom_app_right E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] {X Y Z : T} (f : X ⟶ Y) (g : Y ⟶ Z) [inst_2 : P.IsStableUnderCobaseChangeAlong f]
  [inst_3 : P.IsStableUnderCobaseChangeAlong g] [inst_4 : P.HasPushoutsAlong f] [inst_5 : P.HasPushoutsAlong g]
  [inst_6 : Q.RespectsIso] [inst_7 : Q.IsStableUnderCobaseChange]
  (fg : optParam (X ⟶ Z) (CategoryTheory.CategoryStruct.comp f g))
  (hfg :
    autoParam (fg = CategoryTheory.CategoryStruct.comp f g) CategoryTheory.MorphismProperty.Under.pushoutComp._auto_1)
  (X_1 : P.Under Q X),
  ((CategoryTheory.MorphismProperty.Under.pushoutComp f g fg hfg).hom.app X_1).right =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pushout.map X_1.hom fg X_1.hom (CategoryTheory.CategoryStruct.comp f g)
        (CategoryTheory.CategoryStruct.id X_1.right) (CategoryTheory.CategoryStruct.id Z)
        (CategoryTheory.CategoryStruct.id X) ⋯ ⋯)
      (CategoryTheory.Limits.pushoutLeftPushoutInrIso X_1.hom f g).inv

def CategoryTheory.MorphismProperty.Under.pushoutCongr E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P Q : CategoryTheory.MorphismProperty T} →
      [inst_1 : Q.IsMultiplicative] →
        {X Y : T} →
          {f : X ⟶ Y} →
            [inst_2 : P.HasPushoutsAlong f] →
              [inst_3 : P.IsStableUnderCobaseChangeAlong f] →
                [inst_4 : Q.IsStableUnderCobaseChange] →
                  {g : X ⟶ Y} →
                    (h : f = g) →
                      CategoryTheory.MorphismProperty.Under.pushout P Q f ≅
                        CategoryTheory.MorphismProperty.Under.pushout P Q g

If f = g, then cobase change along f is naturally isomorphic to cobase change along g.

theorem CategoryTheory.MorphismProperty.Under.pushoutCongr_hom_app_left_fst E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] {X Y : T} {f : X ⟶ Y} [inst_2 : P.HasPushoutsAlong f] {g : X ⟶ Y}
  [inst_3 : P.IsStableUnderCobaseChangeAlong f] [inst_4 : Q.IsStableUnderCobaseChange] (h : f = g) (A : P.Under Q X),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl A.hom f)
      ((CategoryTheory.MorphismProperty.Under.pushoutCongr h).hom.app A).right =
    CategoryTheory.Limits.pushout.inl A.hom g

theorem CategoryTheory.MorphismProperty.Under.pushoutCongr_hom_app_left_fst_assoc E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] {X Y : T} {f : X ⟶ Y} [inst_2 : P.HasPushoutsAlong f] {g : X ⟶ Y}
  [inst_3 : P.IsStableUnderCobaseChangeAlong f] [inst_4 : Q.IsStableUnderCobaseChange] (h : f = g) (A : P.Under Q X)
  {Z : T} (h_1 : ((CategoryTheory.MorphismProperty.Under.pushout P Q g).obj A).right ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl A.hom f)
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.MorphismProperty.Under.pushoutCongr h).hom.app A).right
        h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl A.hom g) h_1

def CategoryTheory.MorphismProperty.Under.pushoutCompForgetIso E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    {P Q : CategoryTheory.MorphismProperty T} →
      [inst_1 : Q.IsMultiplicative] →
        {X Y : T} →
          (f : X ⟶ Y) →
            [inst_2 : CategoryTheory.Limits.HasPushoutsAlong f] →
              [inst_3 : P.IsStableUnderCobaseChangeAlong f] →
                [inst_4 : Q.IsStableUnderCobaseChange] →
                  (CategoryTheory.MorphismProperty.Under.pushout P Q f).comp
                      (CategoryTheory.MorphismProperty.Under.forget P Q Y) ≅
                    (CategoryTheory.MorphismProperty.Under.forget P Q X).comp (CategoryTheory.Under.pushout f)

MorphismProperty.Under.pushout commutes with MorphismProperty.Under.forget.

theorem CategoryTheory.MorphismProperty.Under.pushoutCompForgetIso_hom_app_right E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] {X Y : T} (f : X ⟶ Y) [inst_2 : CategoryTheory.Limits.HasPushoutsAlong f]
  [inst_3 : P.IsStableUnderCobaseChangeAlong f] [inst_4 : Q.IsStableUnderCobaseChange] (X_1 : P.Under Q X),
  ((CategoryTheory.MorphismProperty.Under.pushoutCompForgetIso f).hom.app X_1).right =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Limits.pushout X_1.hom f)

theorem CategoryTheory.MorphismProperty.Under.pushoutCompForgetIso_inv_app_right E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] {P Q : CategoryTheory.MorphismProperty T}
  [inst_1 : Q.IsMultiplicative] {X Y : T} (f : X ⟶ Y) [inst_2 : CategoryTheory.Limits.HasPushoutsAlong f]
  [inst_3 : P.IsStableUnderCobaseChangeAlong f] [inst_4 : Q.IsStableUnderCobaseChange] (X_1 : P.Under Q X),
  ((CategoryTheory.MorphismProperty.Under.pushoutCompForgetIso f).inv.app X_1).right =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Limits.pushout X_1.hom f)

def CategoryTheory.MorphismProperty.Under.mapPushoutAdj E1 #

{T : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} T] →
    (P Q : CategoryTheory.MorphismProperty T) →
      [inst_1 : Q.IsMultiplicative] →
        {X Y : T} →
          [inst_2 : P.IsStableUnderComposition] →
            [inst_3 : Q.IsStableUnderCobaseChange] →
              (f : X ⟶ Y) →
                [inst_4 : P.HasPushoutsAlong f] →
                  [inst_5 : P.IsStableUnderCobaseChangeAlong f] →
                    [Q.HasOfPrecompProperty Q] →
                      (hPf : P f) →
                        Q f →
                          (CategoryTheory.MorphismProperty.Under.pushout P Q f ⊣
                            CategoryTheory.MorphismProperty.Under.map Q hPf)

P.Under.pushout is left adjoint to P.Under.map if pushouts of morphisms satisfying P exist along f and are also in P, and f is in both P and Q.

theorem CategoryTheory.MorphismProperty.Under.mapPushoutAdj_counit_app E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P Q : CategoryTheory.MorphismProperty T)
  [inst_1 : Q.IsMultiplicative] {X Y : T} [inst_2 : P.IsStableUnderComposition] [inst_3 : Q.IsStableUnderCobaseChange]
  (f : X ⟶ Y) [inst_4 : P.HasPushoutsAlong f] [inst_5 : P.IsStableUnderCobaseChangeAlong f]
  [inst_6 : Q.HasOfPrecompProperty Q] (hPf : P f) (hQf : Q f) (A : P.Under Q Y),
  (CategoryTheory.MorphismProperty.Under.mapPushoutAdj P Q f hPf hQf).counit.app A =
    CategoryTheory.MorphismProperty.Under.homMk
      (CategoryTheory.Limits.pushout.desc (CategoryTheory.CategoryStruct.id A.right) A.hom ⋯) ⋯ ⋯

theorem CategoryTheory.MorphismProperty.Under.mapPushoutAdj_unit_app E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P Q : CategoryTheory.MorphismProperty T)
  [inst_1 : Q.IsMultiplicative] {X Y : T} [inst_2 : P.IsStableUnderComposition] [inst_3 : Q.IsStableUnderCobaseChange]
  (f : X ⟶ Y) [inst_4 : P.HasPushoutsAlong f] [inst_5 : P.IsStableUnderCobaseChangeAlong f]
  [inst_6 : Q.HasOfPrecompProperty Q] (hPf : P f) (hQf : Q f) (A : P.Under Q X),
  (CategoryTheory.MorphismProperty.Under.mapPushoutAdj P Q f hPf hQf).unit.app A =
    CategoryTheory.MorphismProperty.Under.homMk (CategoryTheory.Limits.pushout.inl A.hom f) ⋯ ⋯

instance CategoryTheory.MorphismProperty.instIsRightAdjointUnderTopMapOfHasPushoutsAlongOfIsStableUnderCobaseChangeAlong E0 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P : CategoryTheory.MorphismProperty T) {X Y : T}
  [inst_1 : P.IsStableUnderComposition] (f : X ⟶ Y) [P.HasPushoutsAlong f] [P.IsStableUnderCobaseChangeAlong f]
  (hPf : P f), (CategoryTheory.MorphismProperty.Under.map ⊤ hPf).IsRightAdjoint

theorem CategoryTheory.MorphismProperty.isLeftAdjoint_pushout E1 #

∀ {T : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} T] (P : CategoryTheory.MorphismProperty T) {X Y : T}
  [P.IsStableUnderComposition] (f : X ⟶ Y) [inst_2 : P.HasPushoutsAlong f]
  [inst_3 : P.IsStableUnderCobaseChangeAlong f],
  P f → (CategoryTheory.MorphismProperty.Under.pushout P ⊤ f).IsLeftAdjoint