-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(Topology/Category): fix imports in TopCat.Basic (#17258)
A new file `TopCat.Sphere` is added so as to remove the import to `Analysis.InnerProductSpace.PiL2` that was added to the file `Topology.Category.TopCat.Basic` in PR #12502.
- Loading branch information
Showing
4 changed files
with
49 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/- | ||
Copyright (c) 2024 Elliot Dean Young and Jiazhen Xia. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: Jiazhen Xia, Elliot Dean Young | ||
-/ | ||
|
||
import Mathlib.Analysis.InnerProductSpace.PiL2 | ||
import Mathlib.Topology.Category.TopCat.Basic | ||
|
||
/-! | ||
# Euclidean spheres | ||
This files defines the `n`-sphere `𝕊 n` and the `n`-disk `𝔻` as objects in `TopCat`. | ||
The parameter `n` is in `ℤ` so as to facilitate the definition of | ||
CW-complexes (see the file `Topology.CWComplex`). | ||
-/ | ||
|
||
universe u | ||
|
||
namespace TopCat | ||
|
||
/-- The `n`-sphere is the set of points in ℝⁿ⁺¹ whose norm equals `1`, | ||
endowed with the subspace topology. -/ | ||
noncomputable def sphere (n : ℤ) : TopCat.{u} := | ||
TopCat.of <| ULift <| Metric.sphere (0 : EuclideanSpace ℝ <| Fin <| (n + 1).toNat) 1 | ||
|
||
/-- The `n`-disk is the set of points in ℝⁿ whose norm is at most `1`, | ||
endowed with the subspace topology. -/ | ||
noncomputable def disk (n : ℤ) : TopCat.{u} := | ||
TopCat.of <| ULift <| Metric.closedBall (0 : EuclideanSpace ℝ <| Fin <| n.toNat) 1 | ||
|
||
/-- `𝕊 n` denotes the `n`-sphere. -/ | ||
scoped prefix:arg "𝕊 " => sphere | ||
|
||
/-- `𝔻 n` denotes the `n`-disk. -/ | ||
scoped prefix:arg "𝔻 " => disk | ||
|
||
end TopCat |