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

Commit 12be0aa

Browse files
rwbartoncipher1024
authored andcommitted
refactor(category_theory/instances): rename examples to instances
1 parent 829b49b commit 12be0aa

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

src/category_theory/examples/measurable_space.lean renamed to src/category_theory/instances/measurable_space.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ Authors: Johannes Hölzl
55
Basic setup for measurable spaces.
66
-/
77

8-
import category_theory.examples.topological_spaces
8+
import category_theory.instances.topological_spaces
99
import measure_theory.borel_space
1010

1111
open category_theory
1212
universes u v
1313

14-
namespace category_theory.examples
14+
namespace category_theory.instances
1515

1616
@[reducible] def Meas : Type (u+1) := bundled measurable_space
1717

@@ -29,4 +29,4 @@ end Meas
2929
def Borel : Top ⥤ Meas :=
3030
concrete_functor @measure_theory.borel @measure_theory.measurable_of_continuous
3131

32-
end category_theory.examples
32+
end category_theory.instances

src/category_theory/examples/monoids.lean renamed to src/category_theory/instances/monoids.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ universes u v
1616

1717
open category_theory
1818

19-
namespace category_theory.examples
19+
namespace category_theory.instances
2020

2121
/-- The category of monoids and monoid morphisms. -/
2222
@[reducible] def Mon : Type (u+1) := bundled monoid
@@ -55,4 +55,4 @@ instance : faithful (forget_to_Mon) := {}
5555

5656
end CommMon
5757

58-
end category_theory.examples
58+
end category_theory.instances

src/category_theory/examples/rings.lean renamed to src/category_theory/instances/rings.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Currently only the basic setup.
88
-/
99

1010
import category_theory.concrete_category
11-
import category_theory.examples.monoids
11+
import category_theory.instances.monoids
1212
import category_theory.fully_faithful
1313
import category_theory.adjunction
1414
import linear_algebra.multivariate_polynomial
@@ -18,7 +18,7 @@ universes u v
1818

1919
open category_theory
2020

21-
namespace category_theory.examples
21+
namespace category_theory.instances
2222

2323
/-- The category of rings. -/
2424
@[reducible] def Ring : Type (u+1) := bundled ring
@@ -138,4 +138,4 @@ end
138138

139139
end CommRing
140140

141-
end category_theory.examples
141+
end category_theory.instances

src/category_theory/examples/topological_spaces.lean renamed to src/category_theory/instances/topological_spaces.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ open topological_space
1919

2020
universe u
2121

22-
namespace category_theory.examples
22+
namespace category_theory.instances
2323

2424
/-- The category of topological spaces and continuous maps. -/
2525
@[reducible] def Top : Type (u+1) := bundled topological_space
@@ -110,9 +110,9 @@ instance : small_category (opens X) := by apply_instance
110110
def nbhd (x : X.α) := { U : opens X // x ∈ U }
111111
def nbhds (x : X.α) : small_category (nbhd x) := begin unfold nbhd, apply_instance end
112112

113-
end category_theory.examples
113+
end category_theory.instances
114114

115-
open category_theory.examples
115+
open category_theory.instances
116116

117117
namespace topological_space.opens
118118

0 commit comments

Comments
 (0)