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.Functor.TwoSquare

28 declarations and 4 deprecated aliases. Mathlib docs · Source

2-squares of functors

Given four functors T, L, R and B, a 2-square TwoSquare T L R B consists of a natural transformation w : T ⋙ R ⟶ L ⋙ B:

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

We define operations to paste such squares horizontally and vertically and prove the interchange law of those two operations.

TODO

Generalize all of this to double categories.

abbrev CategoryTheory.TwoSquare E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : 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₄] →
                CategoryTheory.Functor C₁ C₂ →
                  CategoryTheory.Functor C₁ C₃ →
                    CategoryTheory.Functor C₂ C₄ → CategoryTheory.Functor C₃ C₄ → Type (max u₁ v₄)

A 2-square consists of a natural transformation T ⋙ R ⟶ L ⋙ B involving fours functors T, L, R, B that are on the top/left/right/bottom sides of a square of categories.

abbrev CategoryTheory.TwoSquare.mk E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : 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₄] →
                (T : CategoryTheory.Functor C₁ C₂) →
                  (L : CategoryTheory.Functor C₁ C₃) →
                    (R : CategoryTheory.Functor C₂ C₄) →
                      (B : CategoryTheory.Functor C₃ C₄) → (T.comp R ⟶ L.comp B) → CategoryTheory.TwoSquare T L R B

Constructor for TwoSquare.

theorem CategoryTheory.TwoSquare.equivNatTrans_symm_apply E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : 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₄] (T : CategoryTheory.Functor C₁ C₂) (L : CategoryTheory.Functor C₁ C₃)
  (R : CategoryTheory.Functor C₂ C₄) (B : CategoryTheory.Functor C₃ C₄) (α : T.comp R ⟶ L.comp B),
  (CategoryTheory.TwoSquare.equivNatTrans T L R B).symm α = CategoryTheory.TwoSquare.mk T L R B α

theorem CategoryTheory.TwoSquare.equivNatTrans_apply E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : 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₄] (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),
  (CategoryTheory.TwoSquare.equivNatTrans T L R B) w = w.natTrans

abbrev CategoryTheory.TwoSquare.op E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : 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₄] →
                {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 → CategoryTheory.TwoSquare L.op T.op B.op R.op

The opposite of a 2-square.

def CategoryTheory.TwoSquare.hId E1 #

{C₁ : Type u₁} →
  {C₃ : Type u₃} →
    [inst : CategoryTheory.Category.{v₁, u₁} C₁] →
      [inst_1 : CategoryTheory.Category.{v₃, u₃} C₃] →
        (L : CategoryTheory.Functor C₁ C₃) →
          CategoryTheory.TwoSquare (CategoryTheory.Functor.id C₁) L L (CategoryTheory.Functor.id C₃)

The horizontal identity 2-square.

theorem CategoryTheory.TwoSquare.hId_app E0 #

∀ {C₁ : Type u₁} {C₃ : Type u₃} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₃, u₃} C₃] (L : CategoryTheory.Functor C₁ C₃) (X : C₁),
  (CategoryTheory.TwoSquare.hId L).app X = CategoryTheory.CategoryStruct.id (L.obj X)

def CategoryTheory.TwoSquare.«term𝟙ₕ» E1 #

Lean.ParserDescr

Notation for the horizontal identity 2-square.

def CategoryTheory.TwoSquare.vId E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C₁] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] →
        (T : CategoryTheory.Functor C₁ C₂) →
          CategoryTheory.TwoSquare T (CategoryTheory.Functor.id C₁) (CategoryTheory.Functor.id C₂) T

The vertical identity 2-square.

theorem CategoryTheory.TwoSquare.vId_app E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C₁]
  [inst_1 : CategoryTheory.Category.{v₂, u₂} C₂] (T : CategoryTheory.Functor C₁ C₂) (X : C₁),
  (CategoryTheory.TwoSquare.vId T).app X = CategoryTheory.CategoryStruct.id (T.obj X)

def CategoryTheory.TwoSquare.«term𝟙ᵥ» E1 #

Lean.ParserDescr

Notation for the vertical identity 2-square.

def CategoryTheory.TwoSquare.whiskerTop E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : 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₄] →
                {T : CategoryTheory.Functor C₁ C₂} →
                  {L : CategoryTheory.Functor C₁ C₃} →
                    {R : CategoryTheory.Functor C₂ C₄} →
                      {B : CategoryTheory.Functor C₃ C₄} →
                        {T' : CategoryTheory.Functor C₁ C₂} →
                          CategoryTheory.TwoSquare T' L R B → (T ⟶ T') → CategoryTheory.TwoSquare T L R B

Whiskering a 2-square with a natural transformation at the top.

theorem CategoryTheory.TwoSquare.whiskerTop_app E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : 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₄] {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃}
  {R : CategoryTheory.Functor C₂ C₄} {B : CategoryTheory.Functor C₃ C₄} {T' : CategoryTheory.Functor C₁ C₂}
  (w : CategoryTheory.TwoSquare T' L R B) (α : T ⟶ T') (X : C₁),
  (w.whiskerTop α).app X = CategoryTheory.CategoryStruct.comp (R.map (α.app X)) (w.app X)

def CategoryTheory.TwoSquare.whiskerLeft E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : 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₄] →
                {T : CategoryTheory.Functor C₁ C₂} →
                  {L : CategoryTheory.Functor C₁ C₃} →
                    {R : CategoryTheory.Functor C₂ C₄} →
                      {B : CategoryTheory.Functor C₃ C₄} →
                        {L' : CategoryTheory.Functor C₁ C₃} →
                          CategoryTheory.TwoSquare T L R B → (L ⟶ L') → CategoryTheory.TwoSquare T L' R B

Whiskering a 2-square with a natural transformation at the left side.

theorem CategoryTheory.TwoSquare.whiskerLeft_app E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : 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₄] {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃}
  {R : CategoryTheory.Functor C₂ C₄} {B : CategoryTheory.Functor C₃ C₄} {L' : CategoryTheory.Functor C₁ C₃}
  (w : CategoryTheory.TwoSquare T L R B) (α : L ⟶ L') (X : C₁),
  (w.whiskerLeft α).app X = CategoryTheory.CategoryStruct.comp (w.app X) (B.map (α.app X))

def CategoryTheory.TwoSquare.whiskerRight E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : 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₄] →
                {T : CategoryTheory.Functor C₁ C₂} →
                  {L : CategoryTheory.Functor C₁ C₃} →
                    {R : CategoryTheory.Functor C₂ C₄} →
                      {B : CategoryTheory.Functor C₃ C₄} →
                        {R' : CategoryTheory.Functor C₂ C₄} →
                          CategoryTheory.TwoSquare T L R' B → (R ⟶ R') → CategoryTheory.TwoSquare T L R B

Whiskering a 2-square with a natural transformation at the right side.

theorem CategoryTheory.TwoSquare.whiskerRight_app E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : 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₄] {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃}
  {R : CategoryTheory.Functor C₂ C₄} {B : CategoryTheory.Functor C₃ C₄} {R' : CategoryTheory.Functor C₂ C₄}
  (w : CategoryTheory.TwoSquare T L R' B) (α : R ⟶ R') (X : C₁),
  (w.whiskerRight α).app X = CategoryTheory.CategoryStruct.comp (α.app (T.obj X)) (w.app X)

def CategoryTheory.TwoSquare.whiskerBottom E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : 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₄] →
                {T : CategoryTheory.Functor C₁ C₂} →
                  {L : CategoryTheory.Functor C₁ C₃} →
                    {R : CategoryTheory.Functor C₂ C₄} →
                      {B B' : CategoryTheory.Functor C₃ C₄} →
                        CategoryTheory.TwoSquare T L R B → (B ⟶ B') → CategoryTheory.TwoSquare T L R B'

Whiskering a 2-square with a natural transformation at the bottom.

theorem CategoryTheory.TwoSquare.whiskerBottom_app E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : 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₄] {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃}
  {R : CategoryTheory.Functor C₂ C₄} {B B' : CategoryTheory.Functor C₃ C₄} (w : CategoryTheory.TwoSquare T L R B)
  (α : B ⟶ B') (X : C₁), (w.whiskerBottom α).app X = CategoryTheory.CategoryStruct.comp (w.app X) (α.app (L.obj X))

def CategoryTheory.TwoSquare.hComp E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : 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₄] →
                {T : CategoryTheory.Functor C₁ C₂} →
                  {L : CategoryTheory.Functor C₁ C₃} →
                    {R : CategoryTheory.Functor C₂ C₄} →
                      {B : CategoryTheory.Functor C₃ C₄} →
                        {C₅ : Type u₅} →
                          {C₆ : Type u₆} →
                            [inst_4 : CategoryTheory.Category.{v₅, u₅} C₅] →
                              [inst_5 : CategoryTheory.Category.{v₆, u₆} C₆] →
                                {T' : CategoryTheory.Functor C₂ C₅} →
                                  {R' : CategoryTheory.Functor C₅ C₆} →
                                    {B' : CategoryTheory.Functor C₄ C₆} →
                                      CategoryTheory.TwoSquare T L R B →
                                        CategoryTheory.TwoSquare T' R R' B' →
                                          CategoryTheory.TwoSquare (T.comp T') L R' (B.comp B')

The horizontal composition of 2-squares.

theorem CategoryTheory.TwoSquare.hComp_app E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : 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₄] {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃}
  {R : CategoryTheory.Functor C₂ C₄} {B : CategoryTheory.Functor C₃ C₄} {C₅ : Type u₅} {C₆ : Type u₆}
  [inst_4 : CategoryTheory.Category.{v₅, u₅} C₅] [inst_5 : CategoryTheory.Category.{v₆, u₆} C₆]
  {T' : CategoryTheory.Functor C₂ C₅} {R' : CategoryTheory.Functor C₅ C₆} {B' : CategoryTheory.Functor C₄ C₆}
  (w : CategoryTheory.TwoSquare T L R B) (w' : CategoryTheory.TwoSquare T' R R' B') (X : C₁),
  (w.hComp w').app X = CategoryTheory.CategoryStruct.comp (w'.app (T.obj X)) (B'.map (w.app X))

def CategoryTheory.TwoSquare.«term_≫ₕ_» E1 #

Lean.TrailingParserDescr

Notation for the horizontal composition of 2-squares.

def CategoryTheory.TwoSquare.vComp E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : 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₄] →
                {T : CategoryTheory.Functor C₁ C₂} →
                  {L : CategoryTheory.Functor C₁ C₃} →
                    {R : CategoryTheory.Functor C₂ C₄} →
                      {B : CategoryTheory.Functor C₃ C₄} →
                        {C₇ : Type u₇} →
                          {C₈ : Type u₈} →
                            [inst_4 : CategoryTheory.Category.{v₇, u₇} C₇] →
                              [inst_5 : CategoryTheory.Category.{v₈, u₈} C₈] →
                                {L' : CategoryTheory.Functor C₃ C₇} →
                                  {R'' : CategoryTheory.Functor C₄ C₈} →
                                    {B'' : CategoryTheory.Functor C₇ C₈} →
                                      CategoryTheory.TwoSquare T L R B →
                                        CategoryTheory.TwoSquare B L' R'' B'' →
                                          CategoryTheory.TwoSquare T (L.comp L') (R.comp R'') B''

The vertical composition of 2-squares.

theorem CategoryTheory.TwoSquare.vComp_app E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : 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₄] {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃}
  {R : CategoryTheory.Functor C₂ C₄} {B : CategoryTheory.Functor C₃ C₄} {C₇ : Type u₇} {C₈ : Type u₈}
  [inst_4 : CategoryTheory.Category.{v₇, u₇} C₇] [inst_5 : CategoryTheory.Category.{v₈, u₈} C₈]
  {L' : CategoryTheory.Functor C₃ C₇} {R'' : CategoryTheory.Functor C₄ C₈} {B'' : CategoryTheory.Functor C₇ C₈}
  (w : CategoryTheory.TwoSquare T L R B) (w' : CategoryTheory.TwoSquare B L' R'' B'') (X : C₁),
  (w.vComp w').app X = CategoryTheory.CategoryStruct.comp (R''.map (w.app X)) (w'.app (L.obj X))

def CategoryTheory.TwoSquare.«term_≫ᵥ_» E1 #

Lean.TrailingParserDescr

Notation for the vertical composition of 2-squares.

theorem CategoryTheory.TwoSquare.hCompVCompHComp E1 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : 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₄] {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃}
  {R : CategoryTheory.Functor C₂ C₄} {B : CategoryTheory.Functor C₃ C₄} {C₅ : Type u₅} {C₆ : Type u₆} {C₇ : Type u₇}
  {C₈ : Type u₈} [inst_4 : CategoryTheory.Category.{v₅, u₅} C₅] [inst_5 : CategoryTheory.Category.{v₆, u₆} C₆]
  [inst_6 : CategoryTheory.Category.{v₇, u₇} C₇] [inst_7 : CategoryTheory.Category.{v₈, u₈} C₈]
  {T' : CategoryTheory.Functor C₂ C₅} {R' : CategoryTheory.Functor C₅ C₆} {B' : CategoryTheory.Functor C₄ C₆}
  {L' : CategoryTheory.Functor C₃ C₇} {R'' : CategoryTheory.Functor C₄ C₈} {B'' : CategoryTheory.Functor C₇ C₈}
  {C₉ : Type u₉} [inst_8 : CategoryTheory.Category.{v₉, u₉} C₉] {R₃ : CategoryTheory.Functor C₆ C₉}
  {B₃ : CategoryTheory.Functor C₈ C₉} (w₁ : CategoryTheory.TwoSquare T L R B) (w₂ : CategoryTheory.TwoSquare T' R R' B')
  (w₃ : CategoryTheory.TwoSquare B L' R'' B'') (w₄ : CategoryTheory.TwoSquare B' R'' R₃ B₃),
  (w₁.hComp w₂).vComp (w₃.hComp w₄) = (w₁.vComp w₃).hComp (w₂.vComp w₄)

When composing 2-squares which form a diagram of grid, composing horizontally first yields the same result as composing vertically first.

def CategoryTheory.TwoSquare.prod E1 #

{C₁ : Type u₁} →
  {C₂ : Type u₂} →
    {C₃ : Type u₃} →
      {C₄ : 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₄] →
                {T : CategoryTheory.Functor C₁ C₂} →
                  {L : CategoryTheory.Functor C₁ C₃} →
                    {R : CategoryTheory.Functor C₂ C₄} →
                      {B : CategoryTheory.Functor C₃ C₄} →
                        {D₁ : Type u_1} →
                          {D₂ : Type u_2} →
                            {D₃ : Type u_3} →
                              {D₄ : Type u_4} →
                                [inst_4 : CategoryTheory.Category.{v_1, u_1} D₁] →
                                  [inst_5 : CategoryTheory.Category.{v_2, u_2} D₂] →
                                    [inst_6 : CategoryTheory.Category.{v_3, u_3} D₃] →
                                      [inst_7 : CategoryTheory.Category.{v_4, u_4} D₄] →
                                        {T' : CategoryTheory.Functor D₁ D₂} →
                                          {L' : CategoryTheory.Functor D₁ D₃} →
                                            {R' : CategoryTheory.Functor D₂ D₄} →
                                              {B' : CategoryTheory.Functor D₃ D₄} →
                                                CategoryTheory.TwoSquare T L R B →
                                                  CategoryTheory.TwoSquare T' L' R' B' →
                                                    CategoryTheory.TwoSquare (T.prod T') (L.prod L') (R.prod R')
                                                      (B.prod B')

The external product of two 2-squares of functors.

theorem CategoryTheory.TwoSquare.prod_app E0 #

∀ {C₁ : Type u₁} {C₂ : Type u₂} {C₃ : Type u₃} {C₄ : 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₄] {T : CategoryTheory.Functor C₁ C₂} {L : CategoryTheory.Functor C₁ C₃}
  {R : CategoryTheory.Functor C₂ C₄} {B : CategoryTheory.Functor C₃ C₄} {D₁ : Type u_1} {D₂ : Type u_2} {D₃ : Type u_3}
  {D₄ : Type u_4} [inst_4 : CategoryTheory.Category.{v_1, u_1} D₁] [inst_5 : CategoryTheory.Category.{v_2, u_2} D₂]
  [inst_6 : CategoryTheory.Category.{v_3, u_3} D₃] [inst_7 : CategoryTheory.Category.{v_4, u_4} D₄]
  {T' : CategoryTheory.Functor D₁ D₂} {L' : CategoryTheory.Functor D₁ D₃} {R' : CategoryTheory.Functor D₂ D₄}
  {B' : CategoryTheory.Functor D₃ D₄} (w : CategoryTheory.TwoSquare T L R B) (w' : CategoryTheory.TwoSquare T' L' R' B')
  (X : C₁ × D₁), (w.prod w').app X = CategoryTheory.Prod.mkHom (w.app X.1) (w'.app X.2)

Deprecated aliases

NameNew nameSince
CategoryTheory.TwoSquare.equivNatTrans2026-09-18
CategoryTheory.TwoSquare.ext2026-09-18
CategoryTheory.TwoSquare.natTrans2026-09-18
CategoryTheory.TwoSquare.natTrans_op2026-09-18