Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 744d59a

Browse files
committed
refactor(category_theory/limits): split file (#6751)
This splits `category_theory.limits.limits` into `category_theory.limits.is_limit` and `category_theory.limits.has_limits`. It doesn't meaningfully reduce imports, as everything imports `has_limits`, but in principle it could, and hopefully it makes the content slightly easier to understand when separated. In any case, the file was certainly too large. Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
1 parent 58581d0 commit 744d59a

File tree

18 files changed

+890
-856
lines changed

18 files changed

+890
-856
lines changed

src/algebra/category/CommRing/colimits.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
44
Authors: Scott Morrison
55
-/
66
import algebra.category.CommRing.basic
7-
import category_theory.limits.limits
7+
import category_theory.limits.has_limits
88
import category_theory.limits.concrete_category
99

1010
/-!

src/algebra/category/Group/colimits.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Authors: Scott Morrison
55
-/
66
import algebra.category.Group.preadditive
77
import group_theory.quotient_group
8-
import category_theory.limits.limits
98
import category_theory.limits.concrete_category
109
import category_theory.limits.shapes.kernels
1110
import category_theory.limits.shapes.concrete_category

src/algebra/category/Mon/colimits.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
44
Authors: Scott Morrison
55
-/
66
import algebra.category.Mon.basic
7-
import category_theory.limits.limits
7+
import category_theory.limits.has_limits
88
import category_theory.limits.concrete_category
99

1010
/-!

src/category_theory/limits/concrete_category.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Copyright (c) 2017 Scott Morrison. All rights reserved.
33
Released under Apache 2.0 license as described in the file LICENSE.
44
Authors: Scott Morrison
55
-/
6-
import category_theory.limits.limits
6+
import category_theory.limits.has_limits
77
import category_theory.concrete_category.basic
88

99
/-!

src/category_theory/limits/fubini.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Copyright (c) 2020 Scott Morrison. All rights reserved.
33
Released under Apache 2.0 license as described in the file LICENSE.
44
Authors: Scott Morrison
55
-/
6-
import category_theory.limits.limits
6+
import category_theory.limits.has_limits
77
import category_theory.products.basic
88
import category_theory.currying
99

0 commit comments

Comments
 (0)