Poincaré conjecture: the Lean proof, cleaned up together
The 2026 Lean proof of the Poincaré conjecture after Morgan and Tian, 3 million lines, cleaned up together: smaller, faster to build, more readable, the theorems unchanged

| 1 | import PoincareLib.Geometry.RicciFlow.Curvature.Calculus.Tensors.TensorDerivativeClosure |
| 2 | import PoincareLib.Geometry.RicciFlow.Curvature.Calculus.Fields.CurvaturePointwise |
| 3 | import PoincareLib.Geometry.RicciFlow.Curvature.Calculus.Fields.ScalarBracket |
| 4 | |
| 5 | /-! Adapted from Mapher06/Poincare-MorganTian, `PoincareMT/Proofs/M04/TensorCommutator.lean`, |
| 6 | revision `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. See the curvature import record under |
| 7 | `references/ricci-flow/mapher/curvature/`. -/ |
| 8 | |
| 9 | /-! |
| 10 | # Commutation of the actual covariant tensor derivatives |
| 11 | |
| 12 | The derivative inputs are outer then inner. Curvature acts negatively on |
| 13 | each covariant input, with the frozen vector-valued curvature convention. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | |
| 18 | open scoped Manifold ContDiff Bundle |
| 19 | open Topology Filter |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace PoincareMT.RicciFlowAnalysis |
| 24 | |
| 25 | variable {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 26 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 27 | {g : RiemannianMetric n M} |
| 28 | |
| 29 | set_option backward.isDefEq.respectTransparency false in |
| 30 | private theorem tensor_field_derivative (D : LeviCivitaData g) {k : ℕ} |
| 31 | {T : CovariantTensorEvaluation n M k} (hT : IsSmoothCovariantTensor T) |
| 32 | {U : Set M} (hU : IsOpen U) {A : (x : M) → TangentSpace (𝓡 n) x} |
| 33 | {V : Fin k → (x : M) → TangentSpace (𝓡 n) x} |
| 34 | (hA : ContMDiffOn (𝓡 n) ((𝓡 n).prod 𝓘(ℝ, EuclideanSpace ℝ (Fin n))) |
| 35 | ∞ (T% A) U) |
| 36 | (hV : ∀ i, ContMDiffOn (𝓡 n) ((𝓡 n).prod 𝓘(ℝ, EuclideanSpace ℝ (Fin n))) |
| 37 | ∞ (T% (V i)) U) {x : M} (hx : x ∈ U) : |
| 38 | mvfderiv (𝓡 n) (fun y ↦ T y (fun i ↦ V i y)) x (A x) = |
| 39 | D.covariantTensorDerivative T x (Fin.cons (A x) (fun i ↦ V i x)) + |
| 40 | ∑ i, T x (Function.update (fun j ↦ V j x) i (D.connection (V i) x (A x))) := by |
| 41 | let AV : Fin (k + 1) → (y : M) → TangentSpace (𝓡 n) y := Fin.cons A V |
| 42 | have hAV (i : Fin (k + 1)) : ContMDiffOn (𝓡 n) |
| 43 | ((𝓡 n).prod 𝓘(ℝ, EuclideanSpace ℝ (Fin n))) ∞ (T% (AV i)) U := by |
| 44 | cases i using Fin.cases with |
| 45 | | zero => exact hA |
| 46 | | succ i => exact hV i |
| 47 | have he := covariantTensorDerivativeOnFields_eq D hT hU hAV hx |
| 48 | have hpoint : (fun i ↦ AV i x) = Fin.cons (A x) (fun i ↦ V i x) := by |
| 49 | funext i |
| 50 | cases i using Fin.cases <;> rfl |
| 51 | rw [hpoint] at he |
| 52 | simp only [covariantTensorDerivativeOnFields, AV, Fin.cons_succ, Fin.cons_zero] at he |
| 53 | exact sub_eq_iff_eq_add.mp he |
| 54 | |
| 55 | set_option maxHeartbeats 3000000 in |
| 56 | -- Expanding both covariant derivatives and cancelling the slot sums needs extra elaboration. |
| 57 | set_option backward.isDefEq.respectTransparency false in |
| 58 | private theorem tensor_commutator_on_fields (D : LeviCivitaData g) {k : ℕ} |
| 59 | {T : CovariantTensorEvaluation n M k} (hT : IsSmoothCovariantTensor T) |
| 60 | {U : Set M} (hU : IsOpen U) {A B : (x : M) → TangentSpace (𝓡 n) x} |
| 61 | {V : Fin k → (x : M) → TangentSpace (𝓡 n) x} |
| 62 | (hA : ContMDiffOn (𝓡 n) ((𝓡 n).prod 𝓘(ℝ, EuclideanSpace ℝ (Fin n))) |
| 63 | ∞ (T% A) U) |
| 64 | (hB : ContMDiffOn (𝓡 n) ((𝓡 n).prod 𝓘(ℝ, EuclideanSpace ℝ (Fin n))) |
| 65 | ∞ (T% B) U) |
| 66 | (hV : ∀ i, ContMDiffOn (𝓡 n) ((𝓡 n).prod 𝓘(ℝ, EuclideanSpace ℝ (Fin n))) |
| 67 | ∞ (T% (V i)) U) {x : M} (hx : x ∈ U) : |
| 68 | D.covariantTensorDerivative (D.covariantTensorDerivative T) x |
| 69 | (Fin.cons (A x) (Fin.cons (B x) (fun i ↦ V i x))) - |
| 70 | D.covariantTensorDerivative (D.covariantTensorDerivative T) x |
| 71 | (Fin.cons (B x) (Fin.cons (A x) (fun i ↦ V i x))) = |
| 72 | -(∑ i, T x (Function.update (fun j ↦ V j x) i |
| 73 | (D.curvatureOnFields A B (V i) x))) := by |
| 74 | classical |
| 75 | let Smooth (Z : (y : M) → TangentSpace (𝓡 n) y) := |
| 76 | ContMDiffOn (𝓡 n) ((𝓡 n).prod 𝓘(ℝ, EuclideanSpace ℝ (Fin n))) ∞ (T% Z) U |
| 77 | let W : Fin 2 → (y : M) → TangentSpace (𝓡 n) y := ![A, B] |
| 78 | have hW (i : Fin 2) : Smooth (W i) := by |
| 79 | fin_cases i |
| 80 | · exact hA |
| 81 | · exact hB |
| 82 | let C (i : Fin 2) (Z : (y : M) → TangentSpace (𝓡 n) y) := |
| 83 | fun y ↦ D.connection Z y (W i y) |
| 84 | have hC (i : Fin 2) (a : Fin k) : Smooth (C i (V a)) := by |
| 85 | intro y hy |
| 86 | apply ContMDiffAt.contMDiffWithinAt |
| 87 | apply contMDiffAt_section_of_metric_pairings g |
| 88 | intro v |
| 89 | let e := trivializationAt (EuclideanSpace ℝ (Fin n)) |
| 90 | (TangentSpace (𝓡 n) : M → Type _) y |
| 91 | have hye : y ∈ U ∩ e.baseSet := ⟨hy, FiberBundle.mem_baseSet_trivializationAt' y⟩ |
| 92 | exact (contMDiffOn_connection_pairing D (hU.inter e.open_baseSet) |
| 93 | ((hW i).mono Set.inter_subset_left) ((hV a).mono Set.inter_subset_left) |
| 94 | ((contMDiffOn_extend_baseSet v).mono Set.inter_subset_right)).contMDiffAt |
| 95 | ((hU.inter e.open_baseSet).mem_nhds hye) |
| 96 | have hCons {l : ℕ} {P : (y : M) → TangentSpace (𝓡 n) y} |
| 97 | {S : Fin l → (y : M) → TangentSpace (𝓡 n) y} |
| 98 | (hP : Smooth P) (hS : ∀ i, Smooth (S i)) : |
| 99 | ∀ i, Smooth ((Fin.cons P S : Fin (l + 1) → |
| 100 | (y : M) → TangentSpace (𝓡 n) y) i) := by |
| 101 | intro i |
| 102 | cases i using Fin.cases with |
| 103 | | zero => exact hP |
| 104 | | succ i => exact hS i |
| 105 | have hPointCons {l : ℕ} (P : (y : M) → TangentSpace (𝓡 n) y) |
| 106 | (S : Fin l → (y : M) → TangentSpace (𝓡 n) y) (y : M) : |
| 107 | (fun i ↦ (Fin.cons P S : Fin (l + 1) → |
| 108 | (z : M) → TangentSpace (𝓡 n) z) i y) = Fin.cons (P y) (fun i ↦ S i y) := by |
| 109 | funext i |
| 110 | cases i using Fin.cases <;> rfl |
| 111 | have hPointUpdate (S : Fin k → (y : M) → TangentSpace (𝓡 n) y) |
| 112 | (a : Fin k) (P : (y : M) → TangentSpace (𝓡 n) y) (y : M) : |
| 113 | (fun i ↦ Function.update S a P i y) = |
| 114 | Function.update (fun i ↦ S i y) a (P y) := by |
| 115 | funext i |
| 116 | by_cases hi : i = a <;> simp [Function.update, hi] |
| 117 | let Z (i : Fin 2) (a : Fin k) := Function.update V a (C i (V a)) |
| 118 | have hZ (i : Fin 2) (a b : Fin k) : Smooth (Z i a b) := by |
| 119 | by_cases hb : b = a |
| 120 | · subst b |
| 121 | simpa only [Z, Function.update_self] using hC i a |
| 122 | · simpa only [Z, Function.update_of_ne hb] using hV b |
| 123 | let K := D.covariantTensorDerivative T |
| 124 | let K2 := D.covariantTensorDerivative K |
| 125 | have hK : IsSmoothCovariantTensor K := isSmoothCovariantTensor_covariantTensorDerivative D hT |
| 126 | let f := fun y ↦ T y (fun a ↦ V a y) |
| 127 | let F (i : Fin 2) := fun y ↦ mvfderiv (𝓡 n) f y (W i y) |
| 128 | have hF (i : Fin 2) : F i =ᶠ[𝓝 x] |
| 129 | (fun y ↦ K y (Fin.cons (W i y) (fun a ↦ V a y)) + |
| 130 | ∑ a, T y (fun b ↦ Z i a b y)) := by |
| 131 | filter_upwards [hU.mem_nhds hx] with y hy |
| 132 | simpa only [F, f, K, Z, hPointUpdate, C] using |
| 133 | tensor_field_derivative D hT hU (hW i) hV hy |
| 134 | have hKs (i : Fin 2) : ContMDiffOn (𝓡 n) 𝓘(ℝ, ℝ) ∞ |
| 135 | (fun y ↦ K y (Fin.cons (W i y) (fun a ↦ V a y))) U := by |
| 136 | simpa only [hPointCons] using hK.2 U hU _ (hCons (hW i) hV) |
| 137 | have hTs (i : Fin 2) (a : Fin k) : ContMDiffOn (𝓡 n) 𝓘(ℝ, ℝ) ∞ |
| 138 | (fun y ↦ T y (fun b ↦ Z i a b y)) U := hT.2 U hU _ (hZ i a) |
| 139 | have hKd (i : Fin 2) := ((hKs i).contMDiffAt (hU.mem_nhds hx)).mdifferentiableAt (by simp) |
| 140 | have hTd (i : Fin 2) (a : Fin k) := |
| 141 | ((hTs i a).contMDiffAt (hU.mem_nhds hx)).mdifferentiableAt (by simp) |
| 142 | have hSd (i : Fin 2) : MDifferentiableAt (𝓡 n) 𝓘(ℝ, ℝ) |
| 143 | (fun y ↦ ∑ a, T y (fun b ↦ Z i a b y)) x := by |
| 144 | simpa only [Finset.sum_fn] using MDifferentiableAt.sum (t := Finset.univ) |
| 145 | (fun a _ ↦ hTd i a) |
| 146 | have hSum (i j : Fin 2) : |
| 147 | mvfderiv (𝓡 n) (fun y ↦ ∑ a, T y (fun b ↦ Z j a b y)) x (W i x) = |
| 148 | ∑ a, mvfderiv (𝓡 n) (fun y ↦ T y (fun b ↦ Z j a b y)) x (W i x) := by |
| 149 | have hs (s : Finset (Fin k)) : |
| 150 | mvfderiv (𝓡 n) (fun y ↦ ∑ a ∈ s, T y (fun b ↦ Z j a b y)) x (W i x) = |
| 151 | ∑ a ∈ s, mvfderiv (𝓡 n) (fun y ↦ T y (fun b ↦ Z j a b y)) x (W i x) := by |
| 152 | induction s using Finset.induction_on with |
| 153 | | empty => simp only [Finset.sum_empty, mvfderiv_const, zero_apply] |
| 154 | | @insert a s ha ih => |
| 155 | have hss : MDifferentiableAt (𝓡 n) 𝓘(ℝ, ℝ) |
| 156 | (fun y ↦ ∑ b ∈ s, T y (fun c ↦ Z j b c y)) x := by |
| 157 | have hh : ContMDiffAt (𝓡 n) 𝓘(ℝ, ℝ) ∞ |
| 158 | (fun y ↦ ∑ b ∈ s, T y (fun c ↦ Z j b c y)) x := |
| 159 | ContMDiffAt.sum (fun b _ ↦ (hTs j b).contMDiffAt (hU.mem_nhds hx)) |
| 160 | exact hh.mdifferentiableAt (by simp) |
| 161 | simp only [Finset.sum_insert ha] |
| 162 | erw [mvfderiv_add (hTd j a) hss, add_apply, ih] |
| 163 | exact hs Finset.univ |
| 164 | have hKDiff (i j : Fin 2) : |
| 165 | mvfderiv (𝓡 n) (fun y ↦ K y (Fin.cons (W j y) (fun a ↦ V a y))) x (W i x) = |
| 166 | K2 x (Fin.cons (W i x) (Fin.cons (W j x) (fun a ↦ V a x))) + |
| 167 | K x (Fin.cons (C i (W j) x) (fun a ↦ V a x)) + |
| 168 | ∑ a, K x (Fin.cons (W j x) |
| 169 | (Function.update (fun b ↦ V b x) a (C i (V a) x))) := by |
| 170 | have he := tensor_field_derivative D hK hU (hW i) (hCons (hW j) hV) hx |
| 171 | simp only [hPointCons, Fin.sum_univ_succ, Fin.cons_zero, Fin.cons_succ, |
| 172 | Fin.update_cons_zero, ← Fin.cons_update] at he |
| 173 | change _ = K2 x _ + (K x _ + ∑ a, K x _) at he |
| 174 | simpa only [add_assoc, C] using he |
| 175 | let H (i j : Fin 2) (a b : Fin k) := |
| 176 | T x (Function.update (Function.update (fun l ↦ V l x) a (C j (V a) x)) b |
| 177 | (C i (Z j a b) x)) |
| 178 | have hTDiff (i j : Fin 2) (a : Fin k) : |
| 179 | mvfderiv (𝓡 n) (fun y ↦ T y (fun b ↦ Z j a b y)) x (W i x) = |
| 180 | K x (Fin.cons (W i x) (Function.update (fun b ↦ V b x) a (C j (V a) x))) + |
| 181 | ∑ b, H i j a b := by |
| 182 | simpa only [Z, hPointUpdate, H, K, C] using |
| 183 | tensor_field_derivative D hT hU (hW i) (hZ j a) hx |
| 184 | have hSecond (i j : Fin 2) : mvfderiv (𝓡 n) (F j) x (W i x) = |
| 185 | K2 x (Fin.cons (W i x) (Fin.cons (W j x) (fun a ↦ V a x))) + |
| 186 | K x (Fin.cons (C i (W j) x) (fun a ↦ V a x)) + |
| 187 | (∑ a, K x (Fin.cons (W j x) (Function.update (fun b ↦ V b x) a (C i (V a) x)))) + |
| 188 | (∑ a, K x (Fin.cons (W i x) (Function.update (fun b ↦ V b x) a (C j (V a) x)))) + |
| 189 | ∑ a, ∑ b, H i j a b := by |
| 190 | have he : mvfderiv (𝓡 n) (F j) x = mvfderiv (𝓡 n) |
| 191 | (fun y ↦ K y (Fin.cons (W j y) (fun a ↦ V a y)) + |
| 192 | ∑ a, T y (fun b ↦ Z j a b y)) x := (hF j).mfderiv_eq |
| 193 | rw [he] |
| 194 | erw [mvfderiv_add (hKd j) (hSd j), add_apply] |
| 195 | rw [hKDiff, hSum] |
| 196 | simp only [hTDiff, Finset.sum_add_distrib] |
| 197 | ring |
| 198 | have hDouble : (∑ a, ∑ b, H 0 1 a b) - (∑ a, ∑ b, H 1 0 a b) = |
| 199 | (∑ a, T x (Function.update (fun b ↦ V b x) a (C 0 (C 1 (V a)) x))) - |
| 200 | ∑ a, T x (Function.update (fun b ↦ V b x) a (C 1 (C 0 (V a)) x)) := by |
| 201 | have hterm (a b : Fin k) : H 0 1 a b - H 1 0 b a = |
| 202 | if b = a then |
| 203 | T x (Function.update (fun l ↦ V l x) a (C 0 (C 1 (V a)) x)) - |
| 204 | T x (Function.update (fun l ↦ V l x) a (C 1 (C 0 (V a)) x)) |
| 205 | else 0 := by |
| 206 | by_cases hb : b = a |
| 207 | · subst b |
| 208 | simp only [H, Z, Function.update_self, Function.update_idem, if_true] |
| 209 | · simp only [H, Z, Function.update_of_ne hb, Function.update_of_ne (Ne.symm hb), |
| 210 | if_neg hb] |
| 211 | rw [Function.update_comm (Ne.symm hb), sub_self] |
| 212 | calc |
| 213 | _ = ∑ a, ∑ b, (H 0 1 a b - H 1 0 b a) := by |
| 214 | simp only [Finset.sum_sub_distrib] |
| 215 | rw [Finset.sum_comm (f := fun a b ↦ H 1 0 b a)] |
| 216 | _ = _ := by simp [hterm, Finset.sum_sub_distrib] |
| 217 | let br := VectorField.mlieBracket (𝓡 n) A B |
| 218 | let : IsManifold (𝓡 n) (minSmoothness ℝ 2) M := by |
| 219 | apply IsManifold.of_le (n := (↑(⊤ : ℕ∞) : ℕ∞ω)) |
| 220 | simpa [minSmoothness_eq_infty] using |
| 221 | (minSmoothness_monotone (𝕜 := ℝ) |
| 222 | (WithTop.coe_le_coe.mpr (show (2 : ℕ∞) ≤ (⊤ : ℕ∞) from le_top))) |
| 223 | let : IsManifold (𝓡 n) (∞ + 1) M := by |
| 224 | simpa using (inferInstance : IsManifold (𝓡 n) ∞ M) |
| 225 | have hbr : Smooth br := by |
| 226 | intro y hy |
| 227 | exact (((hA y hy).contMDiffAt (hU.mem_nhds hy)).mlieBracket_vectorField |
| 228 | (m := ⊤) (n := ⊤) ((hB y hy).contMDiffAt (hU.mem_nhds hy)) |
| 229 | (by simp)).contMDiffWithinAt |
| 230 | have hBracket : C 0 (W 1) x - C 1 (W 0) x = br x := |
| 231 | connection_commutator D |
| 232 | (((hA x hx).contMDiffAt (hU.mem_nhds hx)).mdifferentiableAt (by simp)) |
| 233 | (((hB x hx).contMDiffAt (hU.mem_nhds hx)).mdifferentiableAt (by simp)) |
| 234 | have hKB : K x (Fin.cons (br x) (fun a ↦ V a x)) = |
| 235 | K x (Fin.cons (C 0 (W 1) x) (fun a ↦ V a x)) - |
| 236 | K x (Fin.cons (C 1 (W 0) x) (fun a ↦ V a x)) := by |
| 237 | obtain ⟨L, hL⟩ := hK.1 x |
| 238 | rw [← hBracket] |
| 239 | simp only [hL] |
| 240 | simpa only [Fin.update_cons_zero] using L.map_update_sub |
| 241 | (Fin.cons (C 0 (W 1) x) (fun a ↦ V a x)) 0 (C 0 (W 1) x) (C 1 (W 0) x) |
| 242 | have hcomm := mvfderiv_mlieBracket hU (hT.2 U hU V hV) hA hB hx |
| 243 | have hbrdiff := tensor_field_derivative D hT hU hbr hV hx |
| 244 | change mvfderiv (𝓡 n) f x (br x) = |
| 245 | mvfderiv (𝓡 n) (F 1) x (W 0 x) - mvfderiv (𝓡 n) (F 0) x (W 1 x) at hcomm |
| 246 | rw [hSecond, hSecond] at hcomm |
| 247 | change mvfderiv (𝓡 n) f x (br x) = K x _ + _ at hbrdiff |
| 248 | rw [hKB] at hbrdiff |
| 249 | have hout : |
| 250 | K2 x (Fin.cons (W 0 x) (Fin.cons (W 1 x) (fun a ↦ V a x))) - |
| 251 | K2 x (Fin.cons (W 1 x) (Fin.cons (W 0 x) (fun a ↦ V a x))) = |
| 252 | (∑ a, T x (Function.update (fun b ↦ V b x) a (D.connection (V a) x (br x)))) - |
| 253 | ((∑ a, ∑ b, H 0 1 a b) - (∑ a, ∑ b, H 1 0 a b)) := by |
| 254 | linarith only [hcomm, hbrdiff] |
| 255 | have hR (a : Fin k) : T x (Function.update (fun b ↦ V b x) a |
| 256 | (D.curvatureOnFields A B (V a) x)) = |
| 257 | T x (Function.update (fun b ↦ V b x) a (C 0 (C 1 (V a)) x)) - |
| 258 | T x (Function.update (fun b ↦ V b x) a (C 1 (C 0 (V a)) x)) - |
| 259 | T x (Function.update (fun b ↦ V b x) a (D.connection (V a) x (br x))) := by |
| 260 | obtain ⟨L, hL⟩ := hT.1 x |
| 261 | simp only [LeviCivitaData.curvatureOnFields, hL, L.map_update_sub] |
| 262 | rfl |
| 263 | rw [hDouble] at hout |
| 264 | change K2 x (Fin.cons (W 0 x) (Fin.cons (W 1 x) (fun a ↦ V a x))) - |
| 265 | K2 x (Fin.cons (W 1 x) (Fin.cons (W 0 x) (fun a ↦ V a x))) = _ |
| 266 | rw [hout] |
| 267 | simp only [hR, Finset.sum_sub_distrib] |
| 268 | ring |
| 269 | |
| 270 | theorem covariantTensorDerivative_commutator (D : LeviCivitaData g) {k : ℕ} |
| 271 | {T : CovariantTensorEvaluation n M k} (hT : IsSmoothCovariantTensor T) |
| 272 | (x : M) (a b : TangentSpace (𝓡 n) x) (v : Fin k → TangentSpace (𝓡 n) x) : |
| 273 | D.iteratedCovariantTensorDerivative T 2 x (Fin.cons a (Fin.cons b v)) - |
| 274 | D.iteratedCovariantTensorDerivative T 2 x (Fin.cons b (Fin.cons a v)) = |
| 275 | -(∑ i, T x (Function.update v i (D.curvature x a b (v i)))) := by |
| 276 | let e := trivializationAt (EuclideanSpace ℝ (Fin n)) |
| 277 | (TangentSpace (𝓡 n) : M → Type _) x |
| 278 | let A := FiberBundle.extend (EuclideanSpace ℝ (Fin n)) a |
| 279 | let B := FiberBundle.extend (EuclideanSpace ℝ (Fin n)) b |
| 280 | let V := fun i ↦ FiberBundle.extend (EuclideanSpace ℝ (Fin n)) (v i) |
| 281 | have hA : ContMDiffOn (𝓡 n) ((𝓡 n).prod 𝓘(ℝ, EuclideanSpace ℝ (Fin n))) |
| 282 | ∞ (T% A) e.baseSet := contMDiffOn_extend_baseSet a |
| 283 | have hB : ContMDiffOn (𝓡 n) ((𝓡 n).prod 𝓘(ℝ, EuclideanSpace ℝ (Fin n))) |
| 284 | ∞ (T% B) e.baseSet := contMDiffOn_extend_baseSet b |
| 285 | have hV (i : Fin k) : ContMDiffOn (𝓡 n) |
| 286 | ((𝓡 n).prod 𝓘(ℝ, EuclideanSpace ℝ (Fin n))) ∞ (T% (V i)) e.baseSet := |
| 287 | contMDiffOn_extend_baseSet (v i) |
| 288 | have hx : x ∈ e.baseSet := FiberBundle.mem_baseSet_trivializationAt' x |
| 289 | have he := tensor_commutator_on_fields D hT e.open_baseSet hA hB hV hx |
| 290 | have hR (i : Fin k) : D.curvatureOnFields A B (V i) x = D.curvature x a b (v i) := by |
| 291 | simpa only [A, B, V, FiberBundle.extend_apply_self] using |
| 292 | curvatureOnFields_eq_curvature D e.open_baseSet hA hB (hV i) hx |
| 293 | simpa only [hR, A, B, V, FiberBundle.extend_apply_self, |
| 294 | LeviCivitaData.iteratedCovariantTensorDerivative] using he |
| 295 | |
| 296 | end PoincareMT.RicciFlowAnalysis |
| 297 |