The areas / V23. Manifolds and bundles
Mathlib.Geometry.Manifold.VectorBundle.CovariantDerivative.LeviCivita
18 declarations. Mathlib docs · Source
The Levi-Civita connection on a Riemannian manifold
This file defines the Levi-Civita connection on a (finite-dimensional) Riemannian manifold (M, g).
A connection ∇ on the tangent bundle of a Riemannian manifold (M, g) is called a
Levi-Civita connection if it is both compatible with the metric g and torsion-free.
Any two such connections are equal (on differentiable vector fields), which is why one speaks of
the Levi-Civita connection on TM. We prove this uniqueness, construct a Levi-Civita connection
and prove that is defines a compatible torsion-free connection.
Future PRs will prove smoothness: if M is C^{n+2} and g is C^{n+1}, the Levi-Civita
connection is a C^n connection.
Main definitions and results
-
CovariantDerivative.IsLeviCivitaConnection: a covariant derivative∇on(M, g)is a Levi-Civita connection if and only if it is both torsion-free and compatible withg -
CovariantDerivative.IsLeviCivitaConnection.apply_eq: the Koszul formula, expressing the term⟨∇ X Y, Z⟩for all differentiable vector fieldsX,YandZ, without reference to∇. -
CovariantDerivative.IsLeviCivitaConnection.uniqueness: a Levi-Civita connection on(M, g)is uniquely determined on differentiable vector fields -
CovariantDerivative.leviCivitaConnection: a choice of Levi-Civita connection on the tangent bundleTMof a Riemannian manifold(M, g): this is unique up to the value on non-differentiable vector fields. If you know the Levi-Civita connection already, you can useIsLeviCivitaConnectioninstead. -
CovariantDerivative.isLeviCivitaConnection_leviCivitaConnection:leviCivitaConnectionis a Levi-Civita connection (i.e., compatible and torsion-free)
Implementation notes
- The starting observation to the construction of the Levi-Civita is the Koszul formula, expressing
a term
⟪∇ X Y, Z⟫(for differentiable vector fieldsX,YandZ) without reference to the Levi-Civita connection. Our construction recovers∇ X Yfrom expressions⟪∇ X Y, Z⟫by duality. We use a tensoriality argument and the musical isomorphism: the metricginduces a map from(2,0)-tensors (i.e., a mapT_pM × T_pM → ℝat each point) to(1,1)-tensors (i.e., a mapT_pM → (T_pM)*at each point); we apply this to the(2,0)-tensor(X, Z) ↦ ⟪∇ X Y, Z⟫, to obtain a(1,1)-tensor denoted∇ Y. This avoids the use of local frames and trivializations (which require auxiliary choices and/or gluing on local constructions).
Tags
Levi-Civita connection, metric, torsion-free, Koszul formula, musical isomorphism
theorem CovariantDerivative.torsion.congr_simp E1 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {H : Type u_3} [inst_3 : TopologicalSpace H] {I : ModelWithCorners 𝕜 E H} {M : Type u_4}
[inst_4 : TopologicalSpace M] [inst_5 : ChartedSpace H M] [inst_6 : CompleteSpace 𝕜] [inst_7 : CompleteSpace E]
[inst_8 : FiniteDimensional 𝕜 E] [inst_9 : IsManifold I 2 M] (cov cov_1 : CovariantDerivative I E (TangentSpace I)),
cov = cov_1 → ∀ (x : M), cov.torsion x = cov_1.torsion x
theorem CovariantDerivative.leviCivitaConnection.congr_simp 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 : IsManifold I 2 M] [inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x]
[inst_7 : IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x] [inst_8 : FiniteDimensional ℝ E],
CovariantDerivative.leviCivitaConnection I M = CovariantDerivative.leviCivitaConnection I M
theorem CovariantDerivative.IsLeviCivitaConnection.congr_simp 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 : IsManifold I 2 M] [inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x]
(cov cov_1 : CovariantDerivative I E (TangentSpace I)),
cov = cov_1 →
∀ [inst_7 : IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x] [inst_8 : FiniteDimensional ℝ E],
CovariantDerivative.IsLeviCivitaConnection I cov = CovariantDerivative.IsLeviCivitaConnection I cov_1
theorem injective_inner_mdifferentiableAt_section E1 #
∀ {EB : Type u_1} [inst : NormedAddCommGroup EB] [inst_1 : NormedSpace ℝ EB] {HB : Type u_2}
[inst_2 : TopologicalSpace HB] (IB : ModelWithCorners ℝ EB HB) {B : Type u_3} [inst_3 : TopologicalSpace B]
[inst_4 : ChartedSpace HB B] (F : Type u_4) [inst_5 : NormedAddCommGroup F] [inst_6 : NormedSpace ℝ F]
(E : B → Type u_5) [inst_7 : TopologicalSpace (Bundle.TotalSpace F E)] [inst_8 : (x : B) → NormedAddCommGroup (E x)]
[inst_9 : (x : B) → InnerProductSpace ℝ (E x)] [inst_10 : FiberBundle F E] (x : B),
Function.Injective fun X₀ Z x_1 ↦ inner ℝ X₀ (Z x)
A vector in E x is uniquely determined by its scalar product with sections that
are differentiable at x
theorem injective_inner_contMDiffAt_section E1 #
∀ {EB : Type u_1} [inst : NormedAddCommGroup EB] [inst_1 : NormedSpace ℝ EB] {HB : Type u_2}
[inst_2 : TopologicalSpace HB] (IB : ModelWithCorners ℝ EB HB) {B : Type u_3} [inst_3 : TopologicalSpace B]
[inst_4 : ChartedSpace HB B] (F : Type u_4) [inst_5 : NormedAddCommGroup F] [inst_6 : NormedSpace ℝ F]
(E : B → Type u_5) [inst_7 : TopologicalSpace (Bundle.TotalSpace F E)] [inst_8 : (x : B) → NormedAddCommGroup (E x)]
[inst_9 : (x : B) → InnerProductSpace ℝ (E x)] [inst_10 : FiberBundle F E] (n : WithTop ℕ∞) (x : B),
Function.Injective fun X₀ Z x_1 ↦ inner ℝ X₀ (Z x)
A vector in E x is uniquely determined by its scalar product with sections that
are C^n at x
structure CovariantDerivative.IsLeviCivitaConnection 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 : IsManifold I 2 M] →
[inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x] →
CovariantDerivative I E (TangentSpace I) →
[IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x] → [FiniteDimensional ℝ E] → Prop
A covariant derivative on the tangent bundle TM to a Riemannian manifold is called a
Levi-Civita connection if it is torsion-free and compatible with g.
Note that the bundle metric on TM is implicitly hidden in this definition.
ctor CovariantDerivative.IsLeviCivitaConnection.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 : ChartedSpace H M]
[inst_5 : IsManifold I 2 M] [inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x]
{cov : CovariantDerivative I E (TangentSpace I)} [inst_7 : IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x]
[inst_8 : FiniteDimensional ℝ E],
cov.IsMetricCompatible → cov.torsion = 0 → CovariantDerivative.IsLeviCivitaConnection I cov
theorem CovariantDerivative.IsLeviCivitaConnection.isMetricCompatible 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 : IsManifold I 2 M] [inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x]
{cov : CovariantDerivative I E (TangentSpace I)} [inst_7 : IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x]
[inst_8 : FiniteDimensional ℝ E], CovariantDerivative.IsLeviCivitaConnection I cov → cov.IsMetricCompatible
theorem CovariantDerivative.IsLeviCivitaConnection.torsion 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 : IsManifold I 2 M] [inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x]
{cov : CovariantDerivative I E (TangentSpace I)} [inst_7 : IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x]
[inst_8 : FiniteDimensional ℝ E], CovariantDerivative.IsLeviCivitaConnection I cov → cov.torsion = 0
theorem CovariantDerivative.IsLeviCivitaConnection.apply_eq 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 : IsManifold I 2 M] [inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x]
{X Y Z : (x : M) → TangentSpace I x} {cov : CovariantDerivative I E (TangentSpace I)}
[inst_7 : IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x] {x : M} [inst_8 : FiniteDimensional ℝ E],
CovariantDerivative.IsLeviCivitaConnection I cov →
(MDiffAt fun x ↦ ⟨x, X x⟩) x →
(MDiffAt fun x ↦ ⟨x, Y x⟩) x →
(MDiffAt fun x ↦ ⟨x, Z x⟩) x →
(fun x ↦ inner ℝ ((fun x ↦ (↑cov Y x) (X x)) x) (Z x)) x =
(((d% fun x ↦ inner ℝ (Y x) (Z x)) x) (X x) + ((d% fun x ↦ inner ℝ (Z x) (X x)) x) (Y x) -
((d% fun x ↦ inner ℝ (X x) (Y x)) x) (Z x) -
(fun x ↦ inner ℝ (Y x) (VectorField.mlieBracket I X Z x)) x -
(fun x ↦ inner ℝ (Z x) (VectorField.mlieBracket I Y X x)) x +
(fun x ↦ inner ℝ (X x) (VectorField.mlieBracket I Z Y x)) x) /
2
The Koszul formula, expressing the term ⟨∇ X Y, Z⟩ for all differentiable vector fields
X, Y and Z, without reference to ∇.
This is the key insight to prove uniqueness of the Levi-Civita connection.
theorem CovariantDerivative.IsLeviCivitaConnection.apply_eq_extend E2 #
∀ {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 : IsManifold I 2 M] [inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x]
{Y Z : (x : M) → TangentSpace I x} {cov : CovariantDerivative I E (TangentSpace I)}
[inst_7 : IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x] [inst_8 : FiniteDimensional ℝ E],
CovariantDerivative.IsLeviCivitaConnection I cov →
∀ {x : M} (X₀ : TangentSpace I x),
(MDiffAt fun x ↦ ⟨x, Y x⟩) x →
(MDiffAt fun x ↦ ⟨x, Z x⟩) x →
inner ℝ ((↑cov Y x) X₀) (Z x) =
(((d% fun x ↦ inner ℝ (Y x) (Z x)) x) X₀ +
((d% fun x_1 ↦ inner ℝ (Z x_1) (FiberBundle.extend E X₀ x_1)) x) (Y x) -
((d% fun x_1 ↦ inner ℝ (FiberBundle.extend E X₀ x_1) (Y x_1)) x) (Z x) -
(fun x_1 ↦ inner ℝ (Y x_1) (VectorField.mlieBracket I (FiberBundle.extend E X₀) Z x_1)) x -
(fun x_1 ↦ inner ℝ (Z x_1) (VectorField.mlieBracket I Y (FiberBundle.extend E X₀) x_1)) x +
inner ℝ X₀ (VectorField.mlieBracket I Z Y x)) /
2
The Koszul formula, expressing the term ⟨∇ X Y, Z⟩ for all differentiable vector fields
X, Y and Z, without reference to ∇.
This is the key insight to prove uniqueness of the Levi-Civita connection.
This version of IsLeviCivitaConnection.apply_eq does not require the direction in which we are
differentiating to be coming from a differentiable vector field.
theorem CovariantDerivative.IsLeviCivitaConnection.uniqueness 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 : IsManifold I 2 M] [inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x]
{Y : (x : M) → TangentSpace I x} {cov cov' : CovariantDerivative I E (TangentSpace I)}
[inst_7 : IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x] {x : M} [inst_8 : FiniteDimensional ℝ E],
CovariantDerivative.IsLeviCivitaConnection I cov →
CovariantDerivative.IsLeviCivitaConnection I cov' →
(MDiffAt fun x ↦ ⟨x, Y x⟩) x → ∀ (X₀ : TangentSpace I x), (↑cov Y x) X₀ = (↑cov' Y x) X₀
The Levi-Civita connection on (M, g) is uniquely determined on differentiable vector fields.
Note that the differentiability hypothesis on Y is required, since CovariantDerivative objects
are unconstrained in their behaviour on non-differentiable vector fields.
def CovariantDerivative.leviCivitaConnection 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 : IsManifold I 2 M] →
[inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x] →
[IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x] →
[FiniteDimensional ℝ E] → CovariantDerivative I E (TangentSpace I)
A choice of Levi-Civita connection on the tangent bundle TM of a Riemannian manifold (M, g):
this is unique up to the value on non-differentiable vector fields.
If you know the Levi-Civita connection already, you can use IsLeviCivitaConnection instead.
theorem CovariantDerivative.leviCivitaConnection_apply_inner 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 : IsManifold I 2 M] [inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x]
{X Y Z : (x : M) → TangentSpace I x} [inst_7 : IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x] {x : M}
[inst_8 : FiniteDimensional ℝ E],
(MDiffAt fun x ↦ ⟨x, X x⟩) x →
(MDiffAt fun x ↦ ⟨x, Y x⟩) x →
(MDiffAt fun x ↦ ⟨x, Z x⟩) x →
inner ℝ ((↑(CovariantDerivative.leviCivitaConnection I M) Y x) (X x)) (Z x) =
(((d% fun x ↦ inner ℝ (Y x) (Z x)) x) (X x) + ((d% fun x ↦ inner ℝ (Z x) (X x)) x) (Y x) -
((d% fun x ↦ inner ℝ (X x) (Y x)) x) (Z x) -
(fun x ↦ inner ℝ (Y x) (VectorField.mlieBracket I X Z x)) x -
(fun x ↦ inner ℝ (Z x) (VectorField.mlieBracket I Y X x)) x +
(fun x ↦ inner ℝ (X x) (VectorField.mlieBracket I Z Y x)) x) /
2
theorem CovariantDerivative.leviCivitaConnection_apply_inner_right 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 : IsManifold I 2 M] [inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x]
{X Y Z : (x : M) → TangentSpace I x} [inst_7 : IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x] {x : M}
[inst_8 : FiniteDimensional ℝ E],
(MDiffAt fun x ↦ ⟨x, X x⟩) x →
(MDiffAt fun x ↦ ⟨x, Y x⟩) x →
(MDiffAt fun x ↦ ⟨x, Z x⟩) x →
inner ℝ (X x) ((↑(CovariantDerivative.leviCivitaConnection I M) Y x) (Z x)) =
(((d% fun x ↦ inner ℝ (Y x) (X x)) x) (Z x) + ((d% fun x ↦ inner ℝ (X x) (Z x)) x) (Y x) -
((d% fun x ↦ inner ℝ (Z x) (Y x)) x) (X x) -
(fun x ↦ inner ℝ (Y x) (VectorField.mlieBracket I Z X x)) x -
(fun x ↦ inner ℝ (X x) (VectorField.mlieBracket I Y Z x)) x +
(fun x ↦ inner ℝ (Z x) (VectorField.mlieBracket I X Y x)) x) /
2
theorem CovariantDerivative.isMetricCompatible_leviCivitaConnection 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 : IsManifold I 2 M] [inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x]
[inst_7 : IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x] [inst_8 : FiniteDimensional ℝ E],
(CovariantDerivative.leviCivitaConnection I M).IsMetricCompatible
theorem CovariantDerivative.torsion_leviCivitaConnection_eq_zero 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 : IsManifold I 2 M] [inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x]
[inst_7 : IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x] [inst_8 : FiniteDimensional ℝ E],
(CovariantDerivative.leviCivitaConnection I M).torsion = 0
theorem CovariantDerivative.isLeviCivitaConnection_leviCivitaConnection 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 : IsManifold I 2 M] [inst_6 : Bundle.RiemannianBundle fun x ↦ TangentSpace I x]
[inst_7 : IsContMDiffRiemannianBundle I 1 E fun x ↦ TangentSpace I x] [inst_8 : FiniteDimensional ℝ E],
CovariantDerivative.IsLeviCivitaConnection I (CovariantDerivative.leviCivitaConnection I M)
leviCivitaConnection is a Levi-Civita connection (i.e., compatible and torsion-free)