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 / V24. Category theory

Mathlib.CategoryTheory.GuitartExact.KanExtension

30 declarations. Mathlib docs · Source

Guitart exact squares and Kan extensions

Given a Guitart exact square w : T ⋙ R ⟶ L ⋙ B,

     T
  C₁ ⥤ C₂
L |     | R
  v     v
  C₃ ⥤ C₄
     B

we show that an extension F' : C₄ ⥤ D of F : C₂ ⥤ D along R is a pointwise left Kan extension at B.obj X₃ iff the composition T ⋙ F' is a pointwise left Kan extension at X₃ of B ⋙ F'.

When suitable (pointwise) left Kan extensions exist, we also show that the natural transformation of functors (C₂ ⥤ D) ⥤ C₃ ⥤ D (whiskeringLeft C₁ C₂ D).obj T ⋙ L.lan ⟶ R.lan ⋙ (whiskeringLeft C₃ C₄ D).obj B induced by a Guitart exact square w is an isomorphism.

The dual results for right Kan extensions are also obtained.

References

  • https://ncatlab.org/nlab/show/exact+square

abbrev CategoryTheory.Functor.LeftExtension.compTwoSquare E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : Type u₄} →
        {D : Type u₅} →
          [inst : CategoryTheory.Category.{v₁, u₁} C₁] →
            [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] →
              [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃] →
                [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] →
                  [inst_4 : CategoryTheory.Category.{v₅, u₅} D] →
                    {T : CategoryTheory.Functor C₁ C₂} →
                      {L : CategoryTheory.Functor C₁ C₃} →
                        {R : CategoryTheory.Functor C₂ C₄} →
                          {B : CategoryTheory.Functor C₃ C₄} →
                            {F : CategoryTheory.Functor C₂ D} →
                              R.LeftExtension F → CategoryTheory.TwoSquare T L R B → L.LeftExtension (T.comp F)

Given a square w : TwoSquare T L R B (consisting of a natural transformation T ⋙ R ⟶ L ⋙ B), this is the obvious map R.LeftExtension F → L.LeftExtension (T ⋙ F) obtained by the precomposition with T and the postcomposition with w.

def CategoryTheory.Functor.LeftExtension.isPointwiseLeftKanExtensionAtCompTwoSquareEquiv E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : Type u₄} →
        {D : Type u₅} →
          [inst : CategoryTheory.Category.{v₁, u₁} C₁] →
            [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] →
              [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃] →
                [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] →
                  [inst_4 : CategoryTheory.Category.{v₅, u₅} D] →
                    {T : CategoryTheory.Functor C₁ C₂} →
                      {L : CategoryTheory.Functor C₁ C₃} →
                        {R : CategoryTheory.Functor C₂ C₄} →
                          {B : CategoryTheory.Functor C₃ C₄} →
                            {F : CategoryTheory.Functor C₂ D} →
                              (E : R.LeftExtension F) →
                                (w : CategoryTheory.TwoSquare T L R B) →
                                  (X₃ : C₃) →
                                    [(w.costructuredArrowRightwards X₃).Final] →
                                      (E.compTwoSquare w).IsPointwiseLeftKanExtensionAt X₃ ≃
                                        E.IsPointwiseLeftKanExtensionAt (B.obj X₃)

If w : TwoSquare T L R B is a Guitart exact square, and E is a left extension of F along R, then E is a pointwise left Kan extension of F along R at B.obj X₃ iff E.compTwoSquare w is a pointwise left Kan extension of T ⋙ F along L at X₃.

theorem CategoryTheory.Functor.LeftExtension.nonempty_isPointwiseLeftKanExtensionAt_compTwoSquare_iff E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} {F : CategoryTheory.Functor C₂ D} (E : R.LeftExtension F)
  (w : CategoryTheory.TwoSquare T L R B) (X₃ : C₃) [(w.costructuredArrowRightwards X₃).Final],
  Nonempty ((E.compTwoSquare w).IsPointwiseLeftKanExtensionAt X₃) ↔
    Nonempty (E.IsPointwiseLeftKanExtensionAt (B.obj X₃))

def CategoryTheory.Functor.LeftExtension.IsPointwiseLeftKanExtension.compTwoSquare E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : Type u₄} →
        {D : Type u₅} →
          [inst : CategoryTheory.Category.{v₁, u₁} C₁] →
            [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] →
              [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃] →
                [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] →
                  [inst_4 : CategoryTheory.Category.{v₅, u₅} D] →
                    {T : CategoryTheory.Functor C₁ C₂} →
                      {L : CategoryTheory.Functor C₁ C₃} →
                        {R : CategoryTheory.Functor C₂ C₄} →
                          {B : CategoryTheory.Functor C₃ C₄} →
                            {F : CategoryTheory.Functor C₂ D} →
                              {E : R.LeftExtension F} →
                                E.IsPointwiseLeftKanExtension →
                                  (w : CategoryTheory.TwoSquare T L R B) →
                                    [w.GuitartExact] → (E.compTwoSquare w).IsPointwiseLeftKanExtension

If w : TwoSquare T L R B is a Guitart exact square, and E is a pointwise left Kan extension of F along R, then E.compTwoSquare w is a pointwise left Kan extension of T ⋙ F along L.

def CategoryTheory.Functor.LeftExtension.isPointwiseLeftKanExtensionOfCompTwoSquare E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : Type u₄} →
        {D : Type u₅} →
          [inst : CategoryTheory.Category.{v₁, u₁} C₁] →
            [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] →
              [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃] →
                [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] →
                  [inst_4 : CategoryTheory.Category.{v₅, u₅} D] →
                    {T : CategoryTheory.Functor C₁ C₂} →
                      {L : CategoryTheory.Functor C₁ C₃} →
                        {R : CategoryTheory.Functor C₂ C₄} →
                          {B : CategoryTheory.Functor C₃ C₄} →
                            {F : CategoryTheory.Functor C₂ D} →
                              (E : R.LeftExtension F) →
                                (w : CategoryTheory.TwoSquare T L R B) →
                                  [w.GuitartExact] →
                                    [B.EssSurj] →
                                      (E.compTwoSquare w).IsPointwiseLeftKanExtension → E.IsPointwiseLeftKanExtension

If w : TwoSquare T L R B is a Guitart exact square, with B essentially surjective, and E is a left extension of F along R, then E is a pointwise left Kan extension of F along R provided E.compTwoSquare w is a pointwise left Kan extension of T ⋙ F along L.

def CategoryTheory.Functor.LeftExtension.isPointwiseLeftKanExtensionEquivOfGuitartExact E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : Type u₄} →
        {D : Type u₅} →
          [inst : CategoryTheory.Category.{v₁, u₁} C₁] →
            [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] →
              [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃] →
                [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] →
                  [inst_4 : CategoryTheory.Category.{v₅, u₅} D] →
                    {T : CategoryTheory.Functor C₁ C₂} →
                      {L : CategoryTheory.Functor C₁ C₃} →
                        {R : CategoryTheory.Functor C₂ C₄} →
                          {B : CategoryTheory.Functor C₃ C₄} →
                            {F : CategoryTheory.Functor C₂ D} →
                              (E : R.LeftExtension F) →
                                (w : CategoryTheory.TwoSquare T L R B) →
                                  [w.GuitartExact] →
                                    [B.EssSurj] →
                                      (E.compTwoSquare w).IsPointwiseLeftKanExtension ≃ E.IsPointwiseLeftKanExtension

If w : TwoSquare T L R B is a Guitart exact square, with B essentially surjective, and E is a left extension of F along R, then E is a pointwise left Kan extension of F along R iff E.compTwoSquare w is a pointwise left Kan extension of T ⋙ F along L.

abbrev CategoryTheory.Functor.RightExtension.compTwoSquare E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : Type u₄} →
        {D : Type u₅} →
          [inst : CategoryTheory.Category.{v₁, u₁} C₁] →
            [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] →
              [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃] →
                [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] →
                  [inst_4 : CategoryTheory.Category.{v₅, u₅} D] →
                    {T : CategoryTheory.Functor C₁ C₂} →
                      {L : CategoryTheory.Functor C₁ C₃} →
                        {R : CategoryTheory.Functor C₂ C₄} →
                          {B : CategoryTheory.Functor C₃ C₄} →
                            {F : CategoryTheory.Functor C₃ D} →
                              B.RightExtension F → CategoryTheory.TwoSquare T L R B → T.RightExtension (L.comp F)

Given a square w : TwoSquare T L R B (consisting of a natural transformation T ⋙ R ⟶ L ⋙ B), this is the obvious map B.RightExtension F → T.RightExtension (L ⋙ F) obtained by the precomposition with L and the postcomposition with w.

def CategoryTheory.Functor.RightExtension.isPointwiseRightKanExtensionAtCompTwoSquareEquiv E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : Type u₄} →
        {D : Type u₅} →
          [inst : CategoryTheory.Category.{v₁, u₁} C₁] →
            [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] →
              [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃] →
                [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] →
                  [inst_4 : CategoryTheory.Category.{v₅, u₅} D] →
                    {T : CategoryTheory.Functor C₁ C₂} →
                      {L : CategoryTheory.Functor C₁ C₃} →
                        {R : CategoryTheory.Functor C₂ C₄} →
                          {B : CategoryTheory.Functor C₃ C₄} →
                            {F : CategoryTheory.Functor C₃ D} →
                              (E : B.RightExtension F) →
                                (w : CategoryTheory.TwoSquare T L R B) →
                                  (X₂ : C₂) →
                                    [(w.structuredArrowDownwards X₂).Initial] →
                                      (E.compTwoSquare w).IsPointwiseRightKanExtensionAt X₂ ≃
                                        E.IsPointwiseRightKanExtensionAt (R.obj X₂)

If w : TwoSquare T L R B is a Guitart exact square, and E is a right extension of F along B, then E is a pointwise right Kan extension of F along B at R.obj X₃ iff E.compTwoSquare w is a pointwise right Kan extension of L ⋙ F along T at X₃.

theorem CategoryTheory.Functor.RightExtension.nonempty_isPointwiseRightKanExtensionAt_compTwoSquare_iff E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} {F : CategoryTheory.Functor C₃ D} (E : B.RightExtension F)
  (w : CategoryTheory.TwoSquare T L R B) (X₂ : C₂) [(w.structuredArrowDownwards X₂).Initial],
  Nonempty ((E.compTwoSquare w).IsPointwiseRightKanExtensionAt X₂) ↔
    Nonempty (E.IsPointwiseRightKanExtensionAt (R.obj X₂))

def CategoryTheory.Functor.RightExtension.IsPointwiseRightKanExtension.compTwoSquare E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : Type u₄} →
        {D : Type u₅} →
          [inst : CategoryTheory.Category.{v₁, u₁} C₁] →
            [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] →
              [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃] →
                [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] →
                  [inst_4 : CategoryTheory.Category.{v₅, u₅} D] →
                    {T : CategoryTheory.Functor C₁ C₂} →
                      {L : CategoryTheory.Functor C₁ C₃} →
                        {R : CategoryTheory.Functor C₂ C₄} →
                          {B : CategoryTheory.Functor C₃ C₄} →
                            {F : CategoryTheory.Functor C₃ D} →
                              {E : B.RightExtension F} →
                                E.IsPointwiseRightKanExtension →
                                  (w : CategoryTheory.TwoSquare T L R B) →
                                    [w.GuitartExact] → (E.compTwoSquare w).IsPointwiseRightKanExtension

If w : TwoSquare T L R B is a Guitart exact square, and E is a pointwise right Kan extension of F along B, then E.compTwoSquare w is a pointwise right Kan extension of L ⋙ F along T.

def CategoryTheory.Functor.RightExtension.isPointwiseRightKanExtensionOfCompTwoSquare E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : Type u₄} →
        {D : Type u₅} →
          [inst : CategoryTheory.Category.{v₁, u₁} C₁] →
            [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] →
              [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃] →
                [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] →
                  [inst_4 : CategoryTheory.Category.{v₅, u₅} D] →
                    {T : CategoryTheory.Functor C₁ C₂} →
                      {L : CategoryTheory.Functor C₁ C₃} →
                        {R : CategoryTheory.Functor C₂ C₄} →
                          {B : CategoryTheory.Functor C₃ C₄} →
                            {F : CategoryTheory.Functor C₃ D} →
                              (E : B.RightExtension F) →
                                (w : CategoryTheory.TwoSquare T L R B) →
                                  [w.GuitartExact] →
                                    [R.EssSurj] →
                                      (E.compTwoSquare w).IsPointwiseRightKanExtension → E.IsPointwiseRightKanExtension

If w : TwoSquare T L R B is a Guitart exact square, with R essentially surjective, and E is a right extension of F along B, then E is a pointwise right Kan extension of F along R provided E.compTwoSquare w is a pointwise right Kan extension of L ⋙ F along T.

def CategoryTheory.Functor.RightExtension.isPointwiseRightKanExtensionEquivOfGuitartExact E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : Type u₄} →
        {D : Type u₅} →
          [inst : CategoryTheory.Category.{v₁, u₁} C₁] →
            [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] →
              [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃] →
                [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] →
                  [inst_4 : CategoryTheory.Category.{v₅, u₅} D] →
                    {T : CategoryTheory.Functor C₁ C₂} →
                      {L : CategoryTheory.Functor C₁ C₃} →
                        {R : CategoryTheory.Functor C₂ C₄} →
                          {B : CategoryTheory.Functor C₃ C₄} →
                            {F : CategoryTheory.Functor C₃ D} →
                              (E : B.RightExtension F) →
                                (w : CategoryTheory.TwoSquare T L R B) →
                                  [w.GuitartExact] →
                                    [R.EssSurj] →
                                      (E.compTwoSquare w).IsPointwiseRightKanExtension ≃ E.IsPointwiseRightKanExtension

If w : TwoSquare T L R B is a Guitart exact square, with R essentially surjective, and E is a right extension of F along B, then E is a pointwise right Kan extension of F along B iff E.compTwoSquare w is a pointwise right Kan extension of L ⋙ F along T.

theorem CategoryTheory.TwoSquare.hasPointwiseLeftKanExtensionAt_iff E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B) (F : CategoryTheory.Functor C₂ D) (X₃ : C₃)
  [(w.costructuredArrowRightwards X₃).Final],
  L.HasPointwiseLeftKanExtensionAt (T.comp F) X₃ ↔ R.HasPointwiseLeftKanExtensionAt F (B.obj X₃)

theorem CategoryTheory.TwoSquare.hasPointwiseLeftKanExtension_iff E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B) [w.GuitartExact] [B.EssSurj]
  (F : CategoryTheory.Functor C₂ D), L.HasPointwiseLeftKanExtension (T.comp F) ↔ R.HasPointwiseLeftKanExtension F

theorem CategoryTheory.TwoSquare.hasPointwiseLeftKanExtension E1 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B) [w.GuitartExact]
  (F : CategoryTheory.Functor C₂ D) [R.HasPointwiseLeftKanExtension F], L.HasPointwiseLeftKanExtension (T.comp F)

theorem CategoryTheory.TwoSquare.hasLeftKanExtension E1 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B) [w.GuitartExact]
  (F : CategoryTheory.Functor C₂ D) [R.HasPointwiseLeftKanExtension F], L.HasLeftKanExtension (T.comp F)

theorem CategoryTheory.TwoSquare.hasPointwiseRightKanExtensionAt_iff E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B) (F : CategoryTheory.Functor C₃ D) (X₂ : C₂)
  [(w.structuredArrowDownwards X₂).Initial],
  T.HasPointwiseRightKanExtensionAt (L.comp F) X₂ ↔ B.HasPointwiseRightKanExtensionAt F (R.obj X₂)

theorem CategoryTheory.TwoSquare.hasPointwiseRightKanExtension_iff E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B) [w.GuitartExact] [R.EssSurj]
  (F : CategoryTheory.Functor C₃ D), T.HasPointwiseRightKanExtension (L.comp F) ↔ B.HasPointwiseRightKanExtension F

theorem CategoryTheory.TwoSquare.hasPointwiseRightKanExtension E1 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B) [w.GuitartExact]
  (F : CategoryTheory.Functor C₃ D) [B.HasPointwiseRightKanExtension F], T.HasPointwiseRightKanExtension (L.comp F)

theorem CategoryTheory.TwoSquare.hasRightKanExtension E1 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B) [w.GuitartExact]
  (F : CategoryTheory.Functor C₃ D) [B.HasPointwiseRightKanExtension F], T.HasRightKanExtension (L.comp F)

def CategoryTheory.TwoSquare.lanBaseChange E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : Type u₄} →
        {D : Type u₅} →
          [inst : CategoryTheory.Category.{v₁, u₁} C₁] →
            [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] →
              [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃] →
                [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] →
                  [inst_4 : CategoryTheory.Category.{v₅, u₅} D] →
                    {T : CategoryTheory.Functor C₁ C₂} →
                      {L : CategoryTheory.Functor C₁ C₃} →
                        {R : CategoryTheory.Functor C₂ C₄} →
                          {B : CategoryTheory.Functor C₃ C₄} →
                            CategoryTheory.TwoSquare T L R B →
                              [inst_5 : ∀ (F : CategoryTheory.Functor C₁ D), L.HasLeftKanExtension F] →
                                [inst_6 : ∀ (F : CategoryTheory.Functor C₂ D), R.HasLeftKanExtension F] →
                                  ((CategoryTheory.Functor.whiskeringLeft C₁ C₂ D).obj T).comp L.lan ⟶
                                    R.lan.comp ((CategoryTheory.Functor.whiskeringLeft C₃ C₄ D).obj B)

The base change natural transformation for left Kan extensions associated to a 2-square.

theorem CategoryTheory.TwoSquare.lanBaseChange_app E1 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B)
  [inst_5 : ∀ (F : CategoryTheory.Functor C₁ D), L.HasLeftKanExtension F]
  [inst_6 : ∀ (F : CategoryTheory.Functor C₂ D), R.HasLeftKanExtension F] (F : CategoryTheory.Functor C₂ D),
  w.lanBaseChange.app F =
    ((L.lanAdjunction D).homEquiv (((CategoryTheory.Functor.whiskeringLeft C₁ C₂ D).obj T).obj F)
          ((R.lan.comp ((CategoryTheory.Functor.whiskeringLeft C₃ C₄ D).obj B)).obj F)).symm
      (CategoryTheory.StructuredArrow.hom
        ((CategoryTheory.Functor.LeftExtension.mk (R.lan.obj F) (R.lanUnit.app F)).compTwoSquare w))

theorem CategoryTheory.TwoSquare.isIso_lanBaseChange_app_iff E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B)
  [inst_5 : ∀ (F : CategoryTheory.Functor C₁ D), L.HasLeftKanExtension F]
  [inst_6 : ∀ (F : CategoryTheory.Functor C₂ D), R.HasLeftKanExtension F] (F : CategoryTheory.Functor C₂ D),
  CategoryTheory.IsIso (w.lanBaseChange.app F) ↔
    (CategoryTheory.StructuredArrow.right
          ((CategoryTheory.Functor.LeftExtension.mk (R.lan.obj F) (R.lanUnit.app F)).compTwoSquare
            w)).IsLeftKanExtension
      (CategoryTheory.StructuredArrow.hom
        ((CategoryTheory.Functor.LeftExtension.mk (R.lan.obj F) (R.lanUnit.app F)).compTwoSquare w))

instance CategoryTheory.TwoSquare.isIso_lanBaseChange_app E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B)
  [inst_5 : ∀ (F : CategoryTheory.Functor C₁ D), L.HasLeftKanExtension F]
  [inst_6 : ∀ (F : CategoryTheory.Functor C₂ D), R.HasLeftKanExtension F] (F : CategoryTheory.Functor C₂ D)
  [R.HasPointwiseLeftKanExtension F] [w.GuitartExact], CategoryTheory.IsIso (w.lanBaseChange.app F)

instance CategoryTheory.TwoSquare.instIsIsoFunctorLanBaseChangeOfGuitartExact E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B)
  [inst_5 : ∀ (F : CategoryTheory.Functor C₁ D), L.HasLeftKanExtension F]
  [inst_6 : ∀ (F : CategoryTheory.Functor C₂ D), R.HasPointwiseLeftKanExtension F] [w.GuitartExact],
  CategoryTheory.IsIso w.lanBaseChange

def CategoryTheory.TwoSquare.ranBaseChange E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : Type u₄} →
        {D : Type u₅} →
          [inst : CategoryTheory.Category.{v₁, u₁} C₁] →
            [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] →
              [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃] →
                [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] →
                  [inst_4 : CategoryTheory.Category.{v₅, u₅} D] →
                    {T : CategoryTheory.Functor C₁ C₂} →
                      {L : CategoryTheory.Functor C₁ C₃} →
                        {R : CategoryTheory.Functor C₂ C₄} →
                          {B : CategoryTheory.Functor C₃ C₄} →
                            CategoryTheory.TwoSquare T L R B →
                              [inst_5 : ∀ (F : CategoryTheory.Functor C₁ D), T.HasRightKanExtension F] →
                                [inst_6 : ∀ (F : CategoryTheory.Functor C₃ D), B.HasRightKanExtension F] →
                                  B.ran.comp ((CategoryTheory.Functor.whiskeringLeft C₂ C₄ D).obj R) ⟶
                                    ((CategoryTheory.Functor.whiskeringLeft C₁ C₃ D).obj L).comp T.ran

The base change natural transformation for left Kan extensions associated to a 2-square.

theorem CategoryTheory.TwoSquare.ranBaseChange_app E1 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B)
  [inst_5 : ∀ (F : CategoryTheory.Functor C₁ D), T.HasRightKanExtension F]
  [inst_6 : ∀ (F : CategoryTheory.Functor C₃ D), B.HasRightKanExtension F] (F : CategoryTheory.Functor C₃ D),
  w.ranBaseChange.app F =
    ((T.ranAdjunction D).homEquiv ((B.ran.comp ((CategoryTheory.Functor.whiskeringLeft C₂ C₄ D).obj R)).obj F)
        (((CategoryTheory.Functor.whiskeringLeft C₁ C₃ D).obj L).obj F))
      (CategoryTheory.CostructuredArrow.hom
        ((CategoryTheory.Functor.RightExtension.mk (B.ran.obj F) (B.ranCounit.app F)).compTwoSquare w))

theorem CategoryTheory.TwoSquare.isIso_ranBaseChange_app_iff E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B)
  [inst_5 : ∀ (F : CategoryTheory.Functor C₁ D), T.HasRightKanExtension F]
  [inst_6 : ∀ (F : CategoryTheory.Functor C₃ D), B.HasRightKanExtension F] (F : CategoryTheory.Functor C₃ D),
  CategoryTheory.IsIso (w.ranBaseChange.app F) ↔
    (CategoryTheory.CostructuredArrow.left
          ((CategoryTheory.Functor.RightExtension.mk (B.ran.obj F) (B.ranCounit.app F)).compTwoSquare
            w)).IsRightKanExtension
      (CategoryTheory.CostructuredArrow.hom
        ((CategoryTheory.Functor.RightExtension.mk (B.ran.obj F) (B.ranCounit.app F)).compTwoSquare w))

instance CategoryTheory.TwoSquare.isIso_ranBaseChange_app E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B)
  [inst_5 : ∀ (F : CategoryTheory.Functor C₁ D), T.HasRightKanExtension F]
  [inst_6 : ∀ (F : CategoryTheory.Functor C₃ D), B.HasRightKanExtension F] (F : CategoryTheory.Functor C₃ D)
  [B.HasPointwiseRightKanExtension F] [w.GuitartExact], CategoryTheory.IsIso (w.ranBaseChange.app F)

instance CategoryTheory.TwoSquare.instIsIsoFunctorRanBaseChangeOfGuitartExact E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : Type u₄} {D : Type u₅} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] [inst_2 : CategoryTheory.Category.{v₃, u₃} C₃]
  [inst_3 : CategoryTheory.Category.{v₄, u₄} C₄] [inst_4 : CategoryTheory.Category.{v₅, u₅} D]
  {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃} {R : CategoryTheory.Functor C₂ C₄}
  {B : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B)
  [inst_5 : ∀ (F : CategoryTheory.Functor C₁ D), T.HasRightKanExtension F]
  [inst_6 : ∀ (F : CategoryTheory.Functor C₃ D), B.HasPointwiseRightKanExtension F] [w.GuitartExact],
  CategoryTheory.IsIso w.ranBaseChange