Skip to content

Commit 3de2350

Browse files
committed
chore(CategoryTheory/Limits/Shapes/Pullback): Split CommSq (leanprover-community#33968)
Split the file `CategoryTheory/Limits/Shapes/Pullback/CommSq.lean` in twain: move defs/thms about `BicartesianSq`, `HasZeroObject` and `HasZeroMorphism` to `CategoryTheory/Limits/Shapes/Pullback/BicartesianSq.lean` Co-authored-by: Edward van de Meent <edwardvdmeent@gmail.com>
1 parent 2f3db78 commit 3de2350

40 files changed

Lines changed: 1654 additions & 1577 deletions

Mathlib.lean

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2693,6 +2693,9 @@ public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Connected
26932693
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Cospan
26942694
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Equalizer
26952695
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.HasPullback
2696+
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic
2697+
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.BicartesianSq
2698+
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Defs
26962699
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Iso
26972700
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Mono
26982701
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Pasting

Mathlib/Algebra/Category/Ring/Constructions.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module
88
public import Mathlib.Algebra.Category.Ring.Colimits
99
public import Mathlib.Algebra.Category.Ring.Instances
1010
public import Mathlib.Algebra.Category.Ring.Limits
11-
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq
11+
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.BicartesianSq
1212
public import Mathlib.CategoryTheory.Limits.Shapes.StrictInitial
1313
public import Mathlib.RingTheory.Localization.BaseChange
1414

Mathlib/Algebra/Category/Ring/LinearAlgebra.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Authors: Christian Merten
66
module
77

88
public import Mathlib.Algebra.Category.Ring.Constructions
9-
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq
9+
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.BicartesianSq
1010
public import Mathlib.LinearAlgebra.Basis.VectorSpace
1111
public import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic
1212

Mathlib/Algebra/Homology/CommSq.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Authors: Joël Riou
66
module
77

88
public import Mathlib.Algebra.Homology.ShortComplex.Basic
9-
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq
9+
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.BicartesianSq
1010
public import Mathlib.CategoryTheory.Preadditive.Biproducts
1111

1212
/-!

Mathlib/AlgebraicGeometry/OpenImmersion.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module
77

88
public import Mathlib.Geometry.RingedSpace.OpenImmersion
99
public import Mathlib.AlgebraicGeometry.Scheme
10-
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq
10+
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.BicartesianSq
1111
public import Mathlib.CategoryTheory.MorphismProperty.Limits
1212

1313
/-!

Mathlib/AlgebraicTopology/SimplicialSet/FiniteProd.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Authors: Joël Riou
66
module
77

88
public import Mathlib.AlgebraicTopology.SimplicialSet.ProdStdSimplex
9-
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq
9+
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.BicartesianSq
1010

1111
/-!
1212
# A binary product of finite simplicial sets is finite

Mathlib/AlgebraicTopology/SimplicialSet/SubcomplexColimits.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Authors: Joël Riou
66
module
77

88
public import Mathlib.AlgebraicTopology.SimplicialSet.Subcomplex
9-
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq
9+
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.BicartesianSq
1010
public import Mathlib.CategoryTheory.Limits.Types.Multicoequalizer
1111

1212
/-!

Mathlib/CategoryTheory/Abelian/CommSq.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Authors: Joël Riou
66
module
77

88
public import Mathlib.CategoryTheory.Abelian.Refinements
9-
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq
9+
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.BicartesianSq
1010
public import Mathlib.Algebra.Homology.CommSq
1111

1212
/-!

Mathlib/CategoryTheory/Abelian/GrothendieckAxioms/Connected.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module
77

88
public import Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Basic
99
public import Mathlib.CategoryTheory.Limits.Connected
10-
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq
10+
public import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.BicartesianSq
1111
public import Mathlib.CategoryTheory.Limits.FunctorCategory.Shapes.Pullbacks
1212

1313
/-!

Mathlib/CategoryTheory/CommSq.lean

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ If `top`, `left`, `right` and `bottom` are four morphisms which are the edges
1515
of a square, `CommSq top left right bottom` is the predicate that this
1616
square is commutative.
1717
18-
The structure `CommSq` is extended in `Mathlib/CategoryTheory/Limits/Shapes/Pullback/CommSq.lean`
18+
The structure `CommSq` is extended in
19+
`Mathlib/CategoryTheory/Limits/Shapes/Pullback/IsPullback/Defs.lean`
1920
as `IsPullback` and `IsPushout` in order to define pullback and pushout squares.
2021
2122
## Future work
@@ -48,6 +49,7 @@ structure CommSq {W X Y Z : C} (f : W ⟶ X) (g : W ⟶ Y) (h : X ⟶ Z) (i : Y
4849
w : f ≫ h = g ≫ i := by cat_disch
4950

5051
attribute [reassoc] CommSq.w
52+
attribute [simp] CommSq.mk
5153

5254
namespace CommSq
5355

0 commit comments

Comments
 (0)