The areas / V23. Manifolds and bundles
Mathlib.Geometry.Manifold.Instances.Real
76 declarations and 1 deprecated aliases. Mathlib docs · Source
Constructing examples of manifolds over ℝ
We introduce the necessary bits to be able to define manifolds modelled over ℝ^n, boundaryless
or with boundary or with corners. As a concrete example, we construct explicitly the manifold with
boundary structure on the real interval [x, y], and prove that its boundary is indeed {x, y}
whenever x < y. As a corollary, a product M × [x, y] with a manifold M without boundary
has boundary M × {x, y}.
More specifically, we introduce
modelWithCornersEuclideanHalfSpace n : ModelWithCorners ℝ (EuclideanSpace ℝ (Fin n)) (EuclideanHalfSpace n)for the model space used to definen-dimensional real manifolds with boundarymodelWithCornersEuclideanQuadrant n : ModelWithCorners ℝ (EuclideanSpace ℝ (Fin n)) (EuclideanQuadrant n)for the model space used to definen-dimensional real manifolds with corners
Notation
In the scope Manifold, we introduce the notations
𝓡 nfor the identity model with corners onEuclideanSpace ℝ (Fin n)𝓡∂ nformodelWithCornersEuclideanHalfSpace n.
For instance, if a manifold M is boundaryless, smooth and modelled on EuclideanSpace ℝ (Fin m),
and N is smooth with boundary modelled on EuclideanHalfSpace n, and f : M → N is a smooth
map, then the derivative of f can be written simply as mfderiv (𝓡 m) (𝓡∂ n) f (as to why the
model with corners cannot be implicit, see the discussion in
Geometry.Manifold.IsManifold).
Implementation notes
The manifold structure on the interval [x, y] = Icc x y requires the assumption x < y as a
typeclass. We provide it as [Fact (x < y)].
Register the manifold structure on Icc 0 1. These are merely special cases of
instIccChartedSpace and instIsManifoldIcc.
theorem IccRightChart.congr_simp E1 #
∀ (x y : ℝ) [h : Fact (x < y)], IccRightChart x y = IccRightChart x y
theorem IccLeftChart.congr_simp E1 #
∀ (x y : ℝ) [h : Fact (x < y)], IccLeftChart x y = IccLeftChart x y
def EuclideanHalfSpace E1 #
(n : ℕ) → [NeZero n] → Type
The half-space in ℝ^n, used to model manifolds with boundary. We only define it when
1 ≤ n, as the definition only makes sense in this case.
instance instTopologicalSpaceEuclideanHalfSpace E0 #
(n : ℕ) → [inst : NeZero n] → TopologicalSpace (EuclideanHalfSpace n)
def EuclideanQuadrant E1 #
ℕ → Type
The quadrant in ℝ^n, used to model manifolds with corners, made of all vectors with nonnegative
coordinates.
instance instTopologicalSpaceEuclideanQuadrant E0 #
(n : ℕ) → TopologicalSpace (EuclideanQuadrant n)
instance instZeroEuclideanHalfSpace E0 #
{n : ℕ} → [inst : NeZero n] → Zero (EuclideanHalfSpace n)
instance instZeroEuclideanQuadrant E0 #
{n : ℕ} → Zero (EuclideanQuadrant n)
instance instInhabitedEuclideanHalfSpace E0 #
{n : ℕ} → [inst : NeZero n] → Inhabited (EuclideanHalfSpace n)
instance instInhabitedEuclideanQuadrant E0 #
{n : ℕ} → Inhabited (EuclideanQuadrant n)
theorem EuclideanQuadrant.ext_iff E0 #
∀ {n : ℕ} {x y : EuclideanQuadrant n}, x = y ↔ ↑x = ↑y
theorem EuclideanQuadrant.ext E1 #
∀ {n : ℕ} (x y : EuclideanQuadrant n), ↑x = ↑y → x = y
theorem EuclideanHalfSpace.ext_iff E0 #
∀ {n : ℕ} [inst : NeZero n] {x y : EuclideanHalfSpace n}, x = y ↔ ↑x = ↑y
theorem EuclideanHalfSpace.ext E1 #
∀ {n : ℕ} [inst : NeZero n] (x y : EuclideanHalfSpace n), ↑x = ↑y → x = y
theorem EuclideanHalfSpace.convex E1 #
∀ {n : ℕ} [inst : NeZero n], Convex ℝ {x | 0 ≤ x.ofLp 0}
theorem EuclideanQuadrant.convex E1 #
∀ {n : ℕ}, Convex ℝ {x | ∀ (i : Fin n), 0 ≤ x.ofLp i}
instance EuclideanHalfSpace.pathConnectedSpace E0 #
∀ {n : ℕ} [inst : NeZero n], PathConnectedSpace (EuclideanHalfSpace n)
instance EuclideanQuadrant.pathConnectedSpace E0 #
∀ {n : ℕ}, PathConnectedSpace (EuclideanQuadrant n)
instance instLocallyPathConnectedSpaceEuclideanHalfSpace E0 #
∀ {n : ℕ} [inst : NeZero n], LocallyPathConnectedSpace (EuclideanHalfSpace n)
instance instLocallyPathConnectedSpaceEuclideanQuadrant E0 #
∀ {n : ℕ}, LocallyPathConnectedSpace (EuclideanQuadrant n)
theorem range_euclideanHalfSpace E1 #
∀ (n : ℕ) [inst : NeZero n], Set.range Subtype.val = {y | 0 ≤ y.ofLp 0}
theorem interior_halfSpace E0 #
∀ {n : ℕ} (p : ENNReal) (a : ℝ) (i : Fin n), interior {y | a ≤ y.ofLp i} = {y | a < y.ofLp i}
theorem closure_halfSpace E0 #
∀ {n : ℕ} (p : ENNReal) (a : ℝ) (i : Fin n), closure {y | a ≤ y.ofLp i} = {y | a ≤ y.ofLp i}
theorem closure_open_halfSpace E0 #
∀ {n : ℕ} (p : ENNReal) (a : ℝ) (i : Fin n), closure {y | a < y.ofLp i} = {y | a ≤ y.ofLp i}
theorem frontier_halfSpace E0 #
∀ {n : ℕ} (p : ENNReal) (a : ℝ) (i : Fin n), frontier {y | a ≤ y.ofLp i} = {y | a = y.ofLp i}
theorem range_euclideanQuadrant E1 #
∀ (n : ℕ), Set.range Subtype.val = {y | ∀ (i : Fin n), 0 ≤ y.ofLp i}
theorem interior_quadrant E0 #
∀ {n : ℕ} (p : ENNReal) (a : ℝ), interior {y | ∀ (i : Fin n), a ≤ y.ofLp i} = {y | ∀ (i : Fin n), a < y.ofLp i}
theorem closure_quadrant E0 #
∀ {n : ℕ} (p : ENNReal) (a : ℝ), closure {y | ∀ (i : Fin n), a ≤ y.ofLp i} = {y | ∀ (i : Fin n), a ≤ y.ofLp i}
theorem frontier_quadrant E0 #
∀ {n : ℕ} (p : ENNReal) (a : ℝ),
frontier {y | ∀ (i : Fin n), a ≤ y.ofLp i} = {y | (∀ (i : Fin n), a ≤ y.ofLp i) ∧ ∃ i, a = y.ofLp i}
def modelWithCornersEuclideanHalfSpace E1 #
(n : ℕ) → [inst : NeZero n] → ModelWithCorners ℝ (EuclideanSpace ℝ (Fin n)) (EuclideanHalfSpace n)
Definition of the model with corners (EuclideanSpace ℝ (Fin n), EuclideanHalfSpace n), used as
a model for manifolds with boundary. In the scope Manifold, use the shortcut 𝓡∂ n.
def modelWithCornersEuclideanQuadrant E1 #
(n : ℕ) → ModelWithCorners ℝ (EuclideanSpace ℝ (Fin n)) (EuclideanQuadrant n)
Definition of the model with corners (EuclideanSpace ℝ (Fin n), EuclideanQuadrant n), used as a
model for manifolds with corners
def Manifold.term𝓡_ E1 #
Lean.ParserDescr
The model space used to define n-dimensional real manifolds without boundary.
def Manifold.«term𝓡∂_» E1 #
Lean.ParserDescr
The model space used to define n-dimensional real manifolds with boundary.
def Manifold.term𝓡c_ E1 #
Lean.ParserDescr
The model space used to define n-dimensional real manifolds with corners.
theorem modelWithCornersEuclideanHalfSpace_toFun E0 #
∀ (n : ℕ) [inst : NeZero n], ↑(modelWithCornersEuclideanHalfSpace n) = Subtype.val
theorem modelWithCornersEuclideanHalfSpace_apply E0 #
∀ (n : ℕ) [inst : NeZero n] {p : EuclideanHalfSpace n}, ↑(modelWithCornersEuclideanHalfSpace n) p = ↑p
theorem modelWithCornersEuclideanHalfSpace_symm_apply E0 #
∀ {n : ℕ} [inst : NeZero n] (x : EuclideanSpace ℝ (Fin n)),
↑(modelWithCornersEuclideanHalfSpace n).symm x = ⟨WithLp.toLp 2 (Function.update x.ofLp 0 (max (x.ofLp 0) 0)), ⋯⟩
theorem modelWithCornersEuclideanHalfSpace_symm_apply_of_le E1 #
∀ {n : ℕ} [inst : NeZero n] {x : EuclideanSpace ℝ (Fin n)} (hx : 0 ≤ x.ofLp 0),
↑(modelWithCornersEuclideanHalfSpace n).symm x = ⟨x, hx⟩
theorem modelWithCornersEuclideanHalfSpace_zero E1 #
∀ {n : ℕ} [inst : NeZero n], ↑(modelWithCornersEuclideanHalfSpace n) 0 = 0
theorem range_modelWithCornersEuclideanHalfSpace E1 #
∀ (n : ℕ) [inst : NeZero n], Set.range ↑(modelWithCornersEuclideanHalfSpace n) = {y | 0 ≤ y.ofLp 0}
theorem interior_range_modelWithCornersEuclideanHalfSpace E1 #
∀ (n : ℕ) [inst : NeZero n], interior (Set.range ↑(modelWithCornersEuclideanHalfSpace n)) = {y | 0 < y.ofLp 0}
theorem frontier_range_modelWithCornersEuclideanHalfSpace E1 #
∀ (n : ℕ) [inst : NeZero n], frontier (Set.range ↑(modelWithCornersEuclideanHalfSpace n)) = {y | 0 = y.ofLp 0}
theorem modelWithCornersEuclideanQuadrant_apply E0 #
∀ (n : ℕ) {p : EuclideanQuadrant n}, ↑(modelWithCornersEuclideanQuadrant n) p = ↑p
theorem modelWithCornersEuclideanQuadrant_symm_apply E0 #
∀ {n : ℕ} (x : EuclideanSpace ℝ (Fin n)),
↑(modelWithCornersEuclideanQuadrant n).symm x = ⟨WithLp.toLp 2 fun i ↦ max (x.ofLp i) 0, ⋯⟩
theorem modelWithCornersEuclideanQuadrant_symm_apply_of_le E1 #
∀ {n : ℕ} {x : EuclideanSpace ℝ (Fin n)} (hx : ∀ (i : Fin n), 0 ≤ x.ofLp i),
↑(modelWithCornersEuclideanQuadrant n).symm x = ⟨x, hx⟩
theorem modelWithCornersEuclideanQuadrant_zero E1 #
∀ {n : ℕ}, ↑(modelWithCornersEuclideanQuadrant n) 0 = 0
theorem range_modelWithCornersEuclideanQuadrant E1 #
∀ (n : ℕ), Set.range ↑(modelWithCornersEuclideanQuadrant n) = {y | ∀ (i : Fin n), 0 ≤ y.ofLp i}
theorem interior_range_modelWithCornersEuclideanQuadrant E1 #
∀ (n : ℕ), interior (Set.range ↑(modelWithCornersEuclideanQuadrant n)) = {y | ∀ (i : Fin n), 0 < y.ofLp i}
theorem frontier_range_modelWithCornersEuclideanQuadrant E1 #
∀ (n : ℕ),
frontier (Set.range ↑(modelWithCornersEuclideanQuadrant n)) = {y | (∀ (i : Fin n), 0 ≤ y.ofLp i) ∧ ∃ i, 0 = y.ofLp i}
def IccLeftChart E1 #
(x y : ℝ) → [h : Fact (x < y)] → OpenPartialHomeomorph (↑(Set.Icc x y)) (EuclideanHalfSpace 1)
The left chart for the topological space [x, y], defined on [x,y) and sending x to 0 in
EuclideanHalfSpace 1.
theorem IccLeftChart_apply E0 #
∀ {x y : ℝ} [hxy : Fact (x < y)] (z : ↑(Set.Icc x y)), ↑(IccLeftChart x y) z = ⟨WithLp.toLp 2 fun x_1 ↦ ↑z - x, ⋯⟩
theorem IccLeftChart_symm_apply E0 #
∀ (x y : ℝ) [h : Fact (x < y)] (z : EuclideanHalfSpace 1), ↑(IccLeftChart x y).symm z = ⟨min ((↑z).ofLp 0 + x) y, ⋯⟩
theorem IccLeftChart_symm_apply_of_le E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)] {z : EuclideanHalfSpace 1} (hz : (↑z).ofLp 0 ≤ y - x),
↑(IccLeftChart x y).symm z = ⟨(↑z).ofLp 0 + x, ⋯⟩
theorem Fact.Manifold.instLeReal E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)], Fact (x ≤ y)
theorem IccLeftChart_extend_bot E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)], ↑((IccLeftChart x y).extend (modelWithCornersEuclideanHalfSpace 1)) ⊥ = 0
theorem iccLeftChart_extend_zero E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)] {p : ↑(Set.Icc x y)},
(↑((IccLeftChart x y).extend (modelWithCornersEuclideanHalfSpace 1)) p).ofLp 0 = ↑p - x
theorem IccLeftChart_extend_interior_pos E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)] {p : ↑(Set.Icc x y)},
x < ↑p ∧ ↑p < y → 0 < (↑((IccLeftChart x y).extend (modelWithCornersEuclideanHalfSpace 1)) p).ofLp 0
theorem IccLeftChart_extend_bot_mem_frontier E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)],
↑((IccLeftChart x y).extend (modelWithCornersEuclideanHalfSpace 1)) ⊥ ∈
frontier (Set.range ↑(modelWithCornersEuclideanHalfSpace 1))
def IccRightChart E1 #
(x y : ℝ) → [h : Fact (x < y)] → OpenPartialHomeomorph (↑(Set.Icc x y)) (EuclideanHalfSpace 1)
The right chart for the topological space [x, y], defined on (x,y] and sending y to 0 in
EuclideanHalfSpace 1.
theorem IccRightChart_apply E0 #
∀ {x y : ℝ} [hxy : Fact (x < y)] (z : ↑(Set.Icc x y)), ↑(IccRightChart x y) z = ⟨WithLp.toLp 2 fun x_1 ↦ y - ↑z, ⋯⟩
theorem IccRightChart_symm_apply E0 #
∀ (x y : ℝ) [h : Fact (x < y)] (z : EuclideanHalfSpace 1), ↑(IccRightChart x y).symm z = ⟨max (y - (↑z).ofLp 0) x, ⋯⟩
theorem IccRightChart_symm_apply_of_le E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)] {z : EuclideanHalfSpace 1} (hz : (↑z).ofLp 0 ≤ y - x),
↑(IccRightChart x y).symm z = ⟨y - (↑z).ofLp 0, ⋯⟩
theorem IccRightChart_extend_top E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)], ↑((IccRightChart x y).extend (modelWithCornersEuclideanHalfSpace 1)) ⊤ = 0
theorem IccRightChart_extend_top_mem_frontier E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)],
↑((IccRightChart x y).extend (modelWithCornersEuclideanHalfSpace 1)) ⊤ ∈
frontier (Set.range ↑(modelWithCornersEuclideanHalfSpace 1))
instance instIccChartedSpace E0 #
(x y : ℝ) → [h : Fact (x < y)] → ChartedSpace (EuclideanHalfSpace 1) ↑(Set.Icc x y)
Charted space structure on [x, y], using only two charts taking values in
EuclideanHalfSpace 1.
theorem Icc_chartedSpaceChartAt E0 #
∀ {x y : ℝ} [hxy : Fact (x < y)] {z : ↑(Set.Icc x y)},
chartAt (EuclideanHalfSpace 1) z = if ↑z < y then IccLeftChart x y else IccRightChart x y
theorem Icc_chartedSpaceChartAt_of_le_top E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)] {z : ↑(Set.Icc x y)}, ↑z < y → chartAt (EuclideanHalfSpace 1) z = IccLeftChart x y
theorem Icc_chartedSpaceChartAt_of_top_le E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)] {z : ↑(Set.Icc x y)}, y ≤ ↑z → chartAt (EuclideanHalfSpace 1) z = IccRightChart x y
theorem Icc_isBoundaryPoint_bot E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)], (modelWithCornersEuclideanHalfSpace 1).IsBoundaryPoint ⊥
theorem Icc_isBoundaryPoint_top E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)], (modelWithCornersEuclideanHalfSpace 1).IsBoundaryPoint ⊤
theorem Icc_isInteriorPoint_interior E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)] {p : ↑(Set.Icc x y)},
x < ↑p ∧ ↑p < y → (modelWithCornersEuclideanHalfSpace 1).IsInteriorPoint p
theorem boundary_Icc E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)], ModelWithCorners.boundary ↑(Set.Icc x y) = {⊥, ⊤}
theorem boundary_product E1 #
∀ {x y : ℝ} [hxy : Fact (x < y)] {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2}
[inst_2 : TopologicalSpace H] (I : ModelWithCorners ℝ E H) {M : Type u_3} [inst_3 : TopologicalSpace M]
[inst_4 : ChartedSpace H M] [I.Boundaryless], ModelWithCorners.boundary (M × ↑(Set.Icc x y)) = Set.univ.prod {⊥, ⊤}
A product M × [x,y] for M boundaryless has boundary M × {x, y}.
instance instIsManifoldIcc E3 #
∀ (x y : ℝ) [inst : Fact (x < y)] {n : WithTop ℕ∞}, IsManifold (modelWithCornersEuclideanHalfSpace 1) n ↑(Set.Icc x y)
The manifold structure on [x, y] is smooth.
instance instChartedSpaceEuclideanHalfSpaceOfNatNatElemRealIcc E0 #
ChartedSpace (EuclideanHalfSpace 1) ↑(Set.Icc 0 1)
instance instIsManifoldRealEuclideanSpaceFinOfNatNatEuclideanHalfSpaceModelWithCornersEuclideanHalfSpaceElemIcc E0 #
∀ {n : WithTop ℕ∞}, IsManifold (modelWithCornersEuclideanHalfSpace 1) n ↑(Set.Icc 0 1)
Deprecated aliases
| Name | New name | Since |
|---|---|---|
interior_euclideanQuadrant | interior_quadrant | 2026-09-30 |