The areas / V23. Manifolds and bundles
Mathlib.Geometry.Manifold.Riemannian.Basic
24 declarations and 6 deprecated aliases. Mathlib docs Β· Source
Riemannian manifolds
A Riemannian manifold M is a real manifold such that its tangent spaces are endowed with an
inner product, depending smoothly on the point, and such that M has an emetric space
structure for which the distance is the infimum of lengths of paths.
We register a Prop-valued typeclass IsRiemannianManifold I M recording this fact, building on top
of [EMetricSpace M] [RiemannianBundle (fun (x : M) β¦ TangentSpace I x)].
We show that an inner product vector space, with the associated canonical Riemannian metric,
satisfies the predicate IsRiemannianManifold π(β, E) E.
In a general manifold with a Riemannian metric, we define the associated extended distance in the
manifold, and show that it defines the same topology as the pre-existing one. Therefore, one
may endow the manifold with an emetric space structure, see EMetricSpace.ofRiemannianMetric.
By definition, it then satisfies the predicate IsRiemannianManifold I M.
The following code block is the standard way to say "Let M be a C^β Riemannian manifold".
open scoped Bundle
variable
{E : Type*} [NormedAddCommGroup E] [NormedSpace β E]
{H : Type*} [TopologicalSpace H] {I : ModelWithCorners β E H}
{M : Type*} [EMetricSpace M] [ChartedSpace H M] [IsManifold I β M]
[RiemannianBundle (fun (x : M) β¦ TangentSpace I x)]
[IsContMDiffRiemannianBundle I β E (fun (x : M) β¦ TangentSpace I x)]
[IsRiemannianManifold I M]
To register a C^n manifold for a general n, one should replace [IsManifold I β M] with
[IsManifold I n M] [IsManifold I 1 M], where the second one is needed to ensure that the
tangent bundle is well behaved (not necessary when n is concrete like 2 or 3 as there are
automatic instances for these cases). One can require whatever regularity one wants in the
IsContMDiffRiemannianBundle instance above, for example
[IsContMDiffRiemannianBundle I n E (fun (x : M) β¦ TangentSpace I x)], and one should also add
[IsContinuousRiemannianBundle E (fun (x : M) β¦ TangentSpace I x)] (as above, Lean cannot infer
the latter from the former as it cannot guess n).
Riemannian structure on an inner product vector space
We endow an inner product vector space with the canonical Riemannian metric, given by the
inner product of the vector space in each of the tangent spaces, and we show that this construction
satisfies the IsRiemannianManifold π(β, E) E predicate, i.e., the extended distance between
two points is the infimum of the length of paths between these points.
Constructing a distance from a Riemannian structure
Let M be a real manifold with a Riemannian structure. We construct the associated distance and
show that the associated topology coincides with the pre-existing topology. Therefore, one may
endow M with an emetric space structure, called EMetricSpace.ofRiemannianMetric.
Moreover, we show that in this case the resulting emetric space satisfies the predicate
IsRiemannianManifold I M.
Showing that the distance topology coincides with the pre-existing topology is not trivial. The
two inclusions are proved respectively in eventually_riemannianEDist_lt and
setOfPred_riemannianEDist_lt_subset_nhds.
For the first one, we have to show that points which are close for the topology are at small distance. For this, we use the path between the two points which is the pullback of the segment in the extended chart, and argue that it is short because the images are close in the extended chart.
For the second one, we have to show that any neighborhood of x contains all the points y
with riemannianEDist x y < c for some c > 0. For this, we argue that a short path from x
to y remains short in the extended chart, and therefore it doesn't have the time to exit
the image of the neighborhood in the extended chart.
class IsRiemannianManifold E3 #
{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] β
[PseudoEMetricSpace M] β
[inst_5 : ChartedSpace H M] β [Bundle.RiemannianBundle fun x β¦ TangentSpace I x] β Prop
Consider a manifold in which the tangent spaces are already endowed with an inner product, and
the space is already endowed with an extended distance. We say that this is a Riemannian manifold
if the distance is given by the infimum of the lengths of C^1 paths, measured using the norm in
the tangent spaces.
This is a Prop-valued typeclass, on top of existing data.
If you need to construct a distance using a Riemannian structure,
see EMetricSpace.ofRiemannianMetric.
ctor IsRiemannianManifold.mk E0 #
β {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 : PseudoEMetricSpace M]
[inst_5 : ChartedSpace H M] [inst_6 : Bundle.RiemannianBundle fun x β¦ TangentSpace I x],
(β (x y : M), edist x y = Manifold.riemannianEDist I x y) β IsRiemannianManifold I M
theorem IsRiemannianManifold.out E1 #
β {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 : PseudoEMetricSpace M}
{inst_5 : ChartedSpace H M} {inst_6 : Bundle.RiemannianBundle fun x β¦ TangentSpace I x}
[self : IsRiemannianManifold I M] (x y : M), edist x y = Manifold.riemannianEDist I x y
def riemannianMetricVectorSpace E1 #
(F : Type u_4) β
[inst : NormedAddCommGroup F] β
[inst_1 : InnerProductSpace β F] β
Bundle.ContMDiffRiemannianMetric (modelWithCornersSelf β F) β€ F fun x β¦ TangentSpace (modelWithCornersSelf β F) x
The standard Riemannian metric on a vector space with an inner product, given by this inner product on each tangent space.
instance instRiemannianBundleTangentSpaceRealModelWithCornersSelf E0 #
{F : Type u_4} β
[inst : NormedAddCommGroup F] β
[inst_1 : InnerProductSpace β F] β Bundle.RiemannianBundle fun x β¦ TangentSpace (modelWithCornersSelf β F) x
theorem norm_tangentSpace_vectorSpace E1 #
β {F : Type u_4} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x : F}
{v : TangentSpace (modelWithCornersSelf β F) x}, βvβ = β(NormedSpace.fromTangentSpace x) vβ
theorem nnNorm_tangentSpace_vectorSpace E1 #
β {F : Type u_4} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x : F}
{v : TangentSpace (modelWithCornersSelf β F) x}, βvββ = β(NormedSpace.fromTangentSpace x) vββ
theorem eNorm_tangentSpace_vectorSpace E1 #
β {F : Type u_4} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F] {x : F}
{v : TangentSpace (modelWithCornersSelf β F) x}, βvββ = β(NormedSpace.fromTangentSpace x) vββ
theorem lintegral_fderiv_lineMap_eq_edist E1 #
β {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace β E] {x y : E},
β«β» (t : β) in Set.Icc 0 1, β(fderivWithin β (β(ContinuousAffineMap.lineMap x y)) (Set.Icc 0 1) t) 1ββ = edist x y
instance instIsRiemannianManifoldModelWithCornersSelfReal E0 #
β {F : Type u_4} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace β F],
IsRiemannianManifold (modelWithCornersSelf β F) F
An inner product vector space is a Riemannian manifold, i.e., the distance between two points is the infimum of the lengths of paths between these points.
def normedAddCommGroupTangentSpaceVectorSpace E1 #
{E : Type u_1} β
[inst : NormedAddCommGroup E] β
[inst_1 : NormedSpace β E] β (x : E) β NormedAddCommGroup (TangentSpace (modelWithCornersSelf β E) x)
Register on the tangent space to a normed vector space the same NormedAddCommGroup structure
as in the vector space.
Should not be a global instance, as it does not coincide definitionally with the Riemannian structure for inner product spaces, but can be activated locally.
def normedSpaceTangentSpaceVectorSpace E1 #
{E : Type u_1} β
[inst : NormedAddCommGroup E] β
[inst_1 : NormedSpace β E] β (x : E) β NormedSpace β (TangentSpace (modelWithCornersSelf β E) x)
Register on the tangent space to a normed vector space the same NormedSpace structure
as in the vector space.
Should not be a global instance, as it does not coincide definitionally with the Riemannian structure for inner product spaces, but can be activated locally.
theorem eventually_norm_mfderiv_extChartAt_lt E1 #
β {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]
[inst_5 : Bundle.RiemannianBundle fun x β¦ TangentSpace I x] [inst_6 : IsManifold I 1 M]
[IsContinuousRiemannianBundle E fun x β¦ TangentSpace I x] (x : M),
β C > 0, βαΆ (y : M) in nhds x, βmfderiv% β(extChartAt I x) yβ < C
theorem eventually_eNorm_mfderiv_extChartAt_lt E1 #
β {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]
[inst_5 : Bundle.RiemannianBundle fun x β¦ TangentSpace I x] [inst_6 : IsManifold I 1 M]
[IsContinuousRiemannianBundle E fun x β¦ TangentSpace I x] (x : M),
β C > 0, βαΆ (y : M) in nhds x, βmfderiv% β(extChartAt I x) yββ < βC
theorem eventually_norm_mfderivWithin_symm_extChartAt_comp_lt E1 #
β {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]
[inst_5 : Bundle.RiemannianBundle fun x β¦ TangentSpace I x] [inst_6 : IsManifold I 1 M]
[IsContinuousRiemannianBundle E fun x β¦ TangentSpace I x] (x : M),
β C > 0, βαΆ (y : M) in nhds x, βmfderiv[Set.range βI] β(extChartAt I x).symm (β(extChartAt I x) y)β < C
theorem eventually_norm_mfderivWithin_symm_extChartAt_lt E1 #
β {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]
[inst_5 : Bundle.RiemannianBundle fun x β¦ TangentSpace I x] [inst_6 : IsManifold I 1 M]
[IsContinuousRiemannianBundle E fun x β¦ TangentSpace I x] (x : M),
β C > 0,
βαΆ (y : E) in nhdsWithin (β(extChartAt I x) x) (Set.range βI), βmfderiv[Set.range βI] β(extChartAt I x).symm yβ < C
theorem eventually_eNorm_mfderivWithin_symm_extChartAt_lt E1 #
β {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]
[inst_5 : Bundle.RiemannianBundle fun x β¦ TangentSpace I x] [inst_6 : IsManifold I 1 M]
[IsContinuousRiemannianBundle E fun x β¦ TangentSpace I x] (x : M),
β C > 0,
βαΆ (y : E) in nhdsWithin (β(extChartAt I x) x) (Set.range βI),
βmfderiv[Set.range βI] β(extChartAt I x).symm yββ < βC
theorem eventually_riemannianEDist_le_edist_extChartAt E1 #
β {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]
[inst_5 : Bundle.RiemannianBundle fun x β¦ TangentSpace I x] [inst_6 : IsManifold I 1 M]
[IsContinuousRiemannianBundle E fun x β¦ TangentSpace I x] (x : M),
β C > 0, βαΆ (y : M) in nhds x, Manifold.riemannianEDist I x y β€ βC * edist (β(extChartAt I x) x) (β(extChartAt I x) y)
Around any point x, the Riemannian distance between two points is controlled by the distance
in the extended chart. In other words, the extended chart is locally Lipschitz.
theorem eventually_riemannianEDist_lt E1 #
β {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]
[inst_5 : Bundle.RiemannianBundle fun x β¦ TangentSpace I x] [inst_6 : IsManifold I 1 M]
[IsContinuousRiemannianBundle E fun x β¦ TangentSpace I x] (x : M) {c : ENNReal},
0 < c β βαΆ (y : M) in nhds x, Manifold.riemannianEDist I x y < c
If points are close for the topology, then their Riemannian distance is small.
theorem setOfPred_riemannianEDist_lt_subset_nhds E1 #
β {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]
[inst_5 : Bundle.RiemannianBundle fun x β¦ TangentSpace I x] [inst_6 : IsManifold I 1 M]
[IsContinuousRiemannianBundle E fun x β¦ TangentSpace I x] [RegularSpace M] {x : M} {s : Set M},
s β nhds x β β c > 0, {y | Manifold.riemannianEDist I x y < βc} β s
Any neighborhood of x contains all the points which are close enough to x for the
Riemannian distance, ββ₯0 version.
theorem setOfPred_riemannianEDist_lt_subset_nhds' E1 #
β {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]
[inst_5 : Bundle.RiemannianBundle fun x β¦ TangentSpace I x] [inst_6 : IsManifold I 1 M]
[IsContinuousRiemannianBundle E fun x β¦ TangentSpace I x] [RegularSpace M] {x : M} {s : Set M},
s β nhds x β β c > 0, {y | Manifold.riemannianEDist I x y < c} β s
Any neighborhood of x contains all the points which are close enough to x for the
Riemannian distance, ββ₯0β version.
def PseudoEMetricSpace.ofRiemannianMetric E1 #
{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] β
[inst_5 : Bundle.RiemannianBundle fun x β¦ TangentSpace I x] β
[inst_6 : IsManifold I 1 M] β
[IsContinuousRiemannianBundle E fun x β¦ TangentSpace I x] β
[RegularSpace M] β PseudoEMetricSpace M
The pseudoemetric space structure associated to a Riemannian metric on a manifold. Designed so that the topology is defeq to the original one.
This should only be used when constructing data in specific situations. To develop the theory,
one should rather assume that there is an already existing emetric space structure, which satisfies
additionally the predicate IsRiemannianManifold I M.
instance instIsRiemannianManifold E0 #
β {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]
[inst_5 : Bundle.RiemannianBundle fun x β¦ TangentSpace I x] [inst_6 : IsManifold I 1 M]
[inst_7 : IsContinuousRiemannianBundle E fun x β¦ TangentSpace I x] [inst_8 : RegularSpace M], IsRiemannianManifold I M
Given a manifold with a Riemannian metric, consider the associated Riemannian distance. Then
by definition the distance is the infimum of the length of paths between the points, i.e., the
manifold satisfies the IsRiemannianManifold I M predicate.
def EMetricSpace.ofRiemannianMetric E1 #
{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] β
[inst_5 : Bundle.RiemannianBundle fun x β¦ TangentSpace I x] β
[inst_6 : IsManifold I 1 M] β
[IsContinuousRiemannianBundle E fun x β¦ TangentSpace I x] β [T3Space M] β EMetricSpace M
The emetric space structure associated to a Riemannian metric on a manifold. Designed so that the topology is defeq to the original one.
This should only be used when constructing data in specific situations. To develop the theory,
one should rather assume that there is an already existing emetric space structure, which satisfies
additionally the predicate IsRiemannianManifold I M.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
enorm_tangentSpace_vectorSpace | eNorm_tangentSpace_vectorSpace | 2026-11-06 |
eventually_enorm_mfderivWithin_symm_extChartAt_lt | eventually_eNorm_mfderivWithin_symm_extChartAt_lt | 2026-11-06 |
eventually_enorm_mfderiv_extChartAt_lt | eventually_eNorm_mfderiv_extChartAt_lt | 2026-11-06 |
nnnorm_tangentSpace_vectorSpace | nnNorm_tangentSpace_vectorSpace | 2026-10-31 |
setOf_riemannianEDist_lt_subset_nhds | setOfPred_riemannianEDist_lt_subset_nhds | 2026-07-09 |
setOf_riemannianEDist_lt_subset_nhds' | setOfPred_riemannianEDist_lt_subset_nhds' | 2026-07-09 |