The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V23. Manifolds and bundles

Mathlib.Geometry.Manifold.VectorBundle.CovariantDerivative.Metric

8 declarations. Mathlib docs · Source

Metric connections

This file defines connections on a Riemannian vector bundle which are compatible with the ambient metric. A bundled connection ∇ on a Riemannian vector bundle (V, g) is compatible with the metric g if and only if the differentiated metric tensor ∇ g (defined by (X, σ, τ) ↦ 𝓛_X g(σ, τ) - g(∇_X σ, τ) - g(σ, ∇_X τ)) vanishes on all differentiable vector fields X and differentiable sections σ, τ.

Main definitions and results

  • CovariantDerivative.derivMetricTensor: the tensor (X, σ, τ) ↦ 𝓛_X g(σ, τ) - g(∇_X σ, τ) - g(σ, ∇_X τ) defining when a connection ∇ on a Riemannian vector bundle (V, g) is compatible with the metric g.
  • CovariantDerivative.derivMetricTensor_apply and CovariantDerivative.derivMetricTensor_apply_eq_extend give formulas for applying the compatibility tensor at x to vector fields and sections which are differentiable at x, resp. to extensions of tangent vectors and sections at x to differentiable vector fields and sections near x.
  • CovariantDerivative.IsMetricCompatible: predicate for a connection to be metric, namely that ∇ is metric iff its derivMetricTensor vanishes

TODO

  • When Mathlib has a notion of parallel transport, prove the equivalence of CovariantDerivative.IsMetricCompatible with the characterisation that parallel transport be an isometry.

  • Given connections on bundles V and W, there is an induced connection on the bundle Hom(V, W). When this induced connection has been defined in Mathlib, rephrase the definition of CovariantDerivative.derivMetricTensor, to be simply the covariant derivative of the metric tensor (considered as a section of Hom(V, Hom(V, ℝ))).

Compatible connections

A connection on V is compatible with the metric on V iff 𝓛_X ⟨σ, τ⟩ = ⟨∇_X σ, τ⟩ + ⟨σ, ∇_X τ⟩ holds for all sufficiently nice vector fields X on M and sections σ, τ of V. The left hand side is the Lie derivative of the function ⟨σ, τ⟩ w.r.t. the vector field X: its value at x is df(X x), where f := ⟨σ, τ⟩ (ie. X is seen a derivation on the algebra of functions on the base manifold acting on the function ⟨σ, τ⟩). In our definition, we ask for this identity to hold at each x : M, whenever X, σ and τ are differentiable at x.

theorem CovariantDerivative.derivMetricTensor.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] {F : Type u_4}
  [inst_5 : NormedAddCommGroup F] [inst_6 : NormedSpace ℝ F] {V : M → Type u_5}
  [inst_7 : TopologicalSpace (Bundle.TotalSpace F V)] [inst_8 : (x : M) → NormedAddCommGroup (V x)]
  [inst_9 : (x : M) → InnerProductSpace ℝ (V x)] [inst_10 : FiberBundle F V] (cov cov_1 : CovariantDerivative I F V),
  cov = cov_1 →
    ∀ [inst_11 : VectorBundle ℝ F V] [inst_12 : IsContMDiffRiemannianBundle I 1 F V]
      [inst_13 : ContMDiffVectorBundle 1 F V I] [inst_14 : FiniteDimensional ℝ F] (x : M),
      cov.derivMetricTensor x = cov_1.derivMetricTensor x

theorem TensorialAt.mkHom₂.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 I_1 : ModelWithCorners 𝕜 E H}
  (e_I : I = I_1) {M : Type u_4} [inst_4 : TopologicalSpace M] [inst_5 : ChartedSpace H M] {F : Type u_5}
  [inst_6 : NormedAddCommGroup F] [inst_7 : NormedSpace 𝕜 F] {V : M → Type u_6}
  [inst_8 : TopologicalSpace (Bundle.TotalSpace F V)] [inst_9 : (x : M) → AddCommGroup (V x)]
  [inst_10 : (x : M) → Module 𝕜 (V x)] [inst_11 : (x : M) → TopologicalSpace (V x)] [inst_12 : FiberBundle F V]
  {F' : Type u_7} [inst_13 : NormedAddCommGroup F'] [inst_14 : NormedSpace 𝕜 F'] {V' : M → Type u_8}
  [inst_15 : TopologicalSpace (Bundle.TotalSpace F' V')] [inst_16 : (x : M) → AddCommGroup (V' x)]
  [inst_17 : (x : M) → Module 𝕜 (V' x)] [inst_18 : (x : M) → TopologicalSpace (V' x)] [inst_19 : FiberBundle F' V']
  {A : Type u_9} [inst_20 : AddCommGroup A] [inst_21 : Module 𝕜 A] [inst_22 : VectorBundle 𝕜 F V]
  [inst_23 : VectorBundle 𝕜 F' V'] [inst_24 : CompleteSpace 𝕜] [inst_25 : FiniteDimensional 𝕜 F]
  [inst_26 : FiniteDimensional 𝕜 F'] [inst_27 : ContMDiffVectorBundle 1 F V I]
  [inst_28 : ContMDiffVectorBundle 1 F' V' I] [inst_29 : TopologicalSpace A] [inst_30 : IsTopologicalAddGroup A]
  [inst_31 : ContinuousSMul 𝕜 A] (Φ Φ_1 : ((x : M) → V x) → ((x : M) → V' x) → A) (e_Φ : Φ = Φ_1) (x : M)
  (hΦ₁ : ∀ (τ : (x : M) → V' x), (MDiffAt fun x ↦ ⟨x, τ x⟩) x → TensorialAt I F (fun x ↦ Φ x τ) x)
  (hΦ₂ : ∀ (σ : (x : M) → V x), (MDiffAt fun x ↦ ⟨x, σ x⟩) x → TensorialAt I F' (Φ σ) x),
  TensorialAt.mkHom₂ Φ x hΦ₁ hΦ₂ = TensorialAt.mkHom₂ Φ_1 x ⋯ ⋯

def CovariantDerivative.derivMetricTensor 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] →
                  {F : Type u_4} →
                    [inst_5 : NormedAddCommGroup F] →
                      [inst_6 : NormedSpace ℝ F] →
                        {V : M → Type u_5} →
                          [inst_7 : TopologicalSpace (Bundle.TotalSpace F V)] →
                            [inst_8 : (x : M) → NormedAddCommGroup (V x)] →
                              [inst_9 : (x : M) → InnerProductSpace ℝ (V x)] →
                                [inst_10 : FiberBundle F V] →
                                  CovariantDerivative I F V →
                                    [inst_11 : VectorBundle ℝ F V] →
                                      [IsContMDiffRiemannianBundle I 1 F V] →
                                        [ContMDiffVectorBundle 1 F V I] →
                                          [FiniteDimensional ℝ F] →
                                            (x : M) → V x →L[ℝ] V x →L[ℝ] TangentSpace I x →L[ℝ] ℝ

The tensor (X, σ, τ) ↦ X g(σ, τ) - g(∇_X σ, τ) - g(σ, ∇_X τ) defining when a connection ∇ on a Riemannian bundle (M, V) is compatible with the metric g.

theorem CovariantDerivative.derivMetricTensor_apply 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] {F : Type u_4}
  [inst_5 : NormedAddCommGroup F] [inst_6 : NormedSpace ℝ F] {V : M → Type u_5}
  [inst_7 : TopologicalSpace (Bundle.TotalSpace F V)] [inst_8 : (x : M) → NormedAddCommGroup (V x)]
  [inst_9 : (x : M) → InnerProductSpace ℝ (V x)] [inst_10 : FiberBundle F V] {σ τ : (x : M) → V x}
  (cov : CovariantDerivative I F V) [inst_11 : VectorBundle ℝ F V] [inst_12 : IsContMDiffRiemannianBundle I 1 F V]
  {X : (x : M) → TangentSpace I x} [inst_13 : ContMDiffVectorBundle 1 F V I] [inst_14 : FiniteDimensional ℝ F] (x : M),
  (MDiffAt fun x ↦ ⟨x, σ x⟩) x →
    (MDiffAt fun x ↦ ⟨x, τ x⟩) x →
      (((cov.derivMetricTensor x) (σ x)) (τ x)) (X x) =
        ((d% fun x ↦ inner ℝ (σ x) (τ x)) x) (X x) - (fun x ↦ inner ℝ ((fun x ↦ (↑cov σ x) (X x)) x) (τ x)) x -
          (fun x ↦ inner ℝ (σ x) ((fun x ↦ (↑cov τ x) (X x)) x)) x

theorem CovariantDerivative.derivMetricTensor_apply_eq_extend 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] {F : Type u_4}
  [inst_5 : NormedAddCommGroup F] [inst_6 : NormedSpace ℝ F] {V : M → Type u_5}
  [inst_7 : TopologicalSpace (Bundle.TotalSpace F V)] [inst_8 : (x : M) → NormedAddCommGroup (V x)]
  [inst_9 : (x : M) → InnerProductSpace ℝ (V x)] [inst_10 : FiberBundle F V] (cov : CovariantDerivative I F V)
  [inst_11 : VectorBundle ℝ F V] [inst_12 : IsContMDiffRiemannianBundle I 1 F V] {x : M}
  [inst_13 : ContMDiffVectorBundle 1 F V I] [inst_14 : FiniteDimensional ℝ F] (X₀ : TangentSpace I x) (σ₀ τ₀ : V x),
  (((cov.derivMetricTensor x) σ₀) τ₀) X₀ =
    ((d% fun x_1 ↦ inner ℝ (FiberBundle.extend F σ₀ x_1) (FiberBundle.extend F τ₀ x_1)) x) X₀ -
        inner ℝ ((↑cov (FiberBundle.extend F σ₀) x) X₀) τ₀ -
      inner ℝ σ₀ ((↑cov (FiberBundle.extend F τ₀) x) X₀)

def CovariantDerivative.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] →
                  {F : Type u_4} →
                    [inst_5 : NormedAddCommGroup F] →
                      [inst_6 : NormedSpace ℝ F] →
                        {V : M → Type u_5} →
                          [inst_7 : TopologicalSpace (Bundle.TotalSpace F V)] →
                            [inst_8 : (x : M) → NormedAddCommGroup (V x)] →
                              [inst_9 : (x : M) → InnerProductSpace ℝ (V x)] →
                                [inst_10 : FiberBundle F V] →
                                  CovariantDerivative I F V →
                                    [inst_11 : VectorBundle ℝ F V] →
                                      [IsContMDiffRiemannianBundle I 1 F V] →
                                        [ContMDiffVectorBundle 1 F V I] → [FiniteDimensional ℝ F] → Prop

Predicate saying that a connection ∇ on a Riemannian bundle (V, g) is compatible with the ambient metric, i.e. for all differentiable vector fields X on M and sections σ and τ of V, we have X ⟨σ, τ⟩ = ⟨∇_X σ, τ⟩ + ⟨σ, ∇_X τ⟩.

theorem CovariantDerivative.IsMetricCompatible.mvfderiv_inner_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] {F : Type u_4}
  [inst_5 : NormedAddCommGroup F] [inst_6 : NormedSpace ℝ F] {V : M → Type u_5}
  [inst_7 : TopologicalSpace (Bundle.TotalSpace F V)] [inst_8 : (x : M) → NormedAddCommGroup (V x)]
  [inst_9 : (x : M) → InnerProductSpace ℝ (V x)] [inst_10 : FiberBundle F V] {cov : CovariantDerivative I F V}
  [inst_11 : VectorBundle ℝ F V] [inst_12 : IsContMDiffRiemannianBundle I 1 F V]
  [inst_13 : ContMDiffVectorBundle 1 F V I] [inst_14 : FiniteDimensional ℝ F],
  cov.IsMetricCompatible →
    ∀ {x : M} (X : (x : M) → TangentSpace I x) {σ τ : (x : M) → V x},
      (MDiffAt fun x ↦ ⟨x, σ x⟩) x →
        (MDiffAt fun x ↦ ⟨x, τ x⟩) x →
          ((d% fun x ↦ inner ℝ (σ x) (τ x)) x) (X x) =
            (fun x ↦ inner ℝ ((fun x ↦ (↑cov σ x) (X x)) x) (τ x)) x +
              (fun x ↦ inner ℝ (σ x) ((fun x ↦ (↑cov τ x) (X x)) x)) x

theorem CovariantDerivative.isMetricCompatible_iff 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] {F : Type u_4}
  [inst_5 : NormedAddCommGroup F] [inst_6 : NormedSpace ℝ F] {V : M → Type u_5}
  [inst_7 : TopologicalSpace (Bundle.TotalSpace F V)] [inst_8 : (x : M) → NormedAddCommGroup (V x)]
  [inst_9 : (x : M) → InnerProductSpace ℝ (V x)] [inst_10 : FiberBundle F V] (cov : CovariantDerivative I F V)
  [inst_11 : VectorBundle ℝ F V] [inst_12 : IsContMDiffRiemannianBundle I 1 F V]
  [inst_13 : ContMDiffVectorBundle 1 F V I] [inst_14 : IsManifold I 1 M] [inst_15 : FiniteDimensional ℝ F],
  cov.IsMetricCompatible ↔
    ∀ {x : M} {X : (x : M) → TangentSpace I x} {σ τ : (x : M) → V x},
      (MDiffAt fun x ↦ ⟨x, X x⟩) x →
        (MDiffAt fun x ↦ ⟨x, σ x⟩) x →
          (MDiffAt fun x ↦ ⟨x, τ x⟩) x →
            ((d% fun x ↦ inner ℝ (σ x) (τ x)) x) (X x) =
              (fun x ↦ inner ℝ ((fun x ↦ (↑cov σ x) (X x)) x) (τ x)) x +
                (fun x ↦ inner ℝ (σ x) ((fun x ↦ (↑cov τ x) (X x)) x)) x