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 | /- Adapted from Mapher `PoincareMT/Proofs/M03/Existence/DeTurckMixedForcingNative.lean` at |
| 2 | f927d9e1f0810042766d3b5f64d3f4da02ee93cc. See |
| 3 | `references/ricci-flow/mapher/local-theory/port.json`. -/ |
| 4 | |
| 5 | import PoincareLib.Geometry.RicciFlow.Local.DeTurck.Construction.DeTurckMetricProducer |
| 6 | import PoincareLib.Geometry.RicciFlow.Local.DeTurck.Jets.DeTurckJetAffine |
| 7 | import PoincareLib.Geometry.RicciFlow.Local.DeTurck.Jets.DeTurckSourceJet |
| 8 | |
| 9 | /-! |
| 10 | The actual mixed DeTurck forcing acts smoothly on continuous lower jets and |
| 11 | one unrestricted space-time L2 second jet. The fixed generator metric value |
| 12 | and the varying geometric background jets occupy separate input slots. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | set_option maxHeartbeats 1600000 |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | noncomputable section |
| 20 | |
| 21 | open MeasureTheory Set Filter Metric |
| 22 | open scoped Topology ContDiff Matrix.Norms.Elementwise |
| 23 | |
| 24 | namespace PoincareMT.DeTurckMetricProducerNative |
| 25 | |
| 26 | open DeTurckNative DeTurckQuasilinearEstimateNative DeTurckInverseCompositionNative |
| 27 | open SpectralHeatNative TimeL2BilinearNative |
| 28 | |
| 29 | universe u v w z |
| 30 | |
| 31 | variable {M : Type u} [TopologicalSpace M] [T2Space M] [SecondCountableTopology M] |
| 32 | [CompactSpace M] |
| 33 | [MeasurableSpace M] [BorelSpace M] (μ : Measure M) [IsFiniteMeasure μ] |
| 34 | {V W : Type v} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 35 | [FiniteDimensional ℝ V] [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 36 | {E : Type w} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 37 | {H : Type z} [NormedAddCommGroup H] [NormedSpace ℝ H] {T : ℝ} |
| 38 | |
| 39 | def spatialCoefficientAction (B : W →L[ℝ] E →L[ℝ] H) : |
| 40 | C(M, W) →L[ℝ] Lp E 2 μ →L[ℝ] Lp H 2 μ := |
| 41 | (B.holderL μ (⊤ : ENNReal) 2 2).comp (ContinuousMap.toLp (⊤ : ENNReal) μ ℝ) |
| 42 | |
| 43 | set_option backward.isDefEq.respectTransparency false in |
| 44 | theorem spatialCoefficientAction_coe (B : W →L[ℝ] E →L[ℝ] H) |
| 45 | (A : C(M, W)) (Q : Lp E 2 μ) : |
| 46 | spatialCoefficientAction μ B A Q =ᵐ[μ] fun x => B (A x) (Q x) := by |
| 47 | filter_upwards [B.coeFn_holder (r := (2 : ENNReal)) |
| 48 | (ContinuousMap.toLp (⊤ : ENNReal) μ ℝ A) Q, |
| 49 | ContinuousMap.coeFn_toLp (p := (⊤ : ENNReal)) (μ := μ) (𝕜 := ℝ) A] with x hx hA |
| 50 | change spatialCoefficientAction μ B A Q x = |
| 51 | B ((ContinuousMap.toLp (⊤ : ENNReal) μ ℝ A) x) (Q x) at hx |
| 52 | rw [hA] at hx |
| 53 | exact hx |
| 54 | |
| 55 | set_option backward.isDefEq.respectTransparency false in |
| 56 | theorem exists_smooth_coefficient_forcing_extension (hT : 0 ≤ T) |
| 57 | {U : Set V} (hU : IsOpen U) (f : V → W) |
| 58 | (hf : ∀ z ∈ U, ContDiffAt ℝ ∞ f z) (B : W →L[ℝ] E →L[ℝ] H) |
| 59 | (u : TimePath C(M, V) T) (hu : ∀ t x, u t x ∈ U) : |
| 60 | ∃ epsilon : ℝ, 0 < epsilon ∧ |
| 61 | ∃ Phi : (TimePath C(M, V) T × TimeL2 (Lp E 2 μ) T) → TimeL2 (Lp H 2 μ) T, |
| 62 | ContDiff ℝ ∞ Phi ∧ ∀ v, ‖v - u‖ < epsilon → ∀ Q : TimeL2 (Lp E 2 μ) T, |
| 63 | ∀ᵐ t ∂timeMeasure T, ∀ ht : t ∈ Icc (0 : ℝ) T, |
| 64 | Phi (v, Q) t =ᵐ[μ] fun x => B (f (v ⟨t, ht⟩ x)) (Q t x) := by |
| 65 | have hS : IsCompact (range u.uncurry) := isCompact_range u.uncurry.continuous |
| 66 | obtain ⟨fExt, hfExt, O, hO, hSO, hEq⟩ := exists_contDiff_extension_near_compact hS hU |
| 67 | (by rintro _ ⟨⟨t, x⟩, rfl⟩; exact hu t x) f hf |
| 68 | obtain ⟨epsilon, hepsilon, hthick⟩ := hS.exists_thickening_subset_open hO hSO |
| 69 | let G : C(C(M, V), C(M, W)) := ⟨fun v => fExt.comp v, fExt.continuous_postcomp⟩ |
| 70 | have hG : ContDiff ℝ ∞ G := |
| 71 | ContinuousPathCompositionNative.contDiff_postcomp M fExt hfExt |
| 72 | let coefficient : TimePath C(M, V) T → TimePath C(M, W) T := fun v => G.comp v |
| 73 | have hcoefficient : ContDiff ℝ ∞ coefficient := |
| 74 | ContinuousPathCompositionNative.contDiff_postcomp (Icc (0 : ℝ) T) G hG |
| 75 | let P := productOperator hT (spatialCoefficientAction μ B) |
| 76 | refine ⟨epsilon, hepsilon, fun z => P (coefficient z.1) z.2, |
| 77 | (P.contDiff.comp (hcoefficient.comp contDiff_fst)).clm_apply contDiff_snd, ?_⟩ |
| 78 | intro v hv Q |
| 79 | filter_upwards [product_ae_eq_on_interval hT (spatialCoefficientAction μ B) |
| 80 | (coefficient v) Q] with t ht |
| 81 | intro htmem |
| 82 | change P (coefficient v) Q t =ᵐ[μ] _ |
| 83 | rw [show P (coefficient v) Q t = spatialCoefficientAction μ B |
| 84 | (coefficient v ⟨t, htmem⟩) (Q t) from ht htmem] |
| 85 | filter_upwards [spatialCoefficientAction_coe μ B (coefficient v ⟨t, htmem⟩) (Q t)] |
| 86 | with x hx |
| 87 | rw [hx] |
| 88 | change B (fExt (v ⟨t, htmem⟩ x)) (Q t x) = _ |
| 89 | rw [hEq (hthick (mem_thickening_iff.mpr |
| 90 | ⟨u ⟨t, htmem⟩ x, |
| 91 | mem_range_self (f := u.uncurry) ((⟨t, htmem⟩ : Icc (0 : ℝ) T), x), by |
| 92 | rw [dist_eq_norm] |
| 93 | exact ((v ⟨t, htmem⟩ - u ⟨t, htmem⟩).norm_coe_le_norm x).trans_lt |
| 94 | (((v - u).norm_coe_le_norm ⟨t, htmem⟩).trans_lt hv)⟩))] |
| 95 | |
| 96 | /-- The extra scalar slot is the actual constant-one L2 class in space and time. -/ |
| 97 | def augmentHighInput (Q : TimeL2 (Lp E 2 μ) T) : TimeL2 (Lp (E × ℝ) 2 μ) T := |
| 98 | ((ContinuousLinearMap.inl ℝ E ℝ).compLpL 2 μ).compLpL 2 (timeMeasure T) Q + |
| 99 | (memLp_const ((memLp_const ((0 : E), (1 : ℝ))).toLp |
| 100 | (fun _ : M => ((0 : E), (1 : ℝ))))).toLp |
| 101 | (fun _ : ℝ => (memLp_const ((0 : E), (1 : ℝ))).toLp |
| 102 | (fun _ : M => ((0 : E), (1 : ℝ)))) |
| 103 | |
| 104 | theorem contDiff_augmentHighInput : |
| 105 | ContDiff ℝ ∞ (augmentHighInput (E := E) (T := T) μ) := |
| 106 | (((ContinuousLinearMap.inl ℝ E ℝ).compLpL 2 μ).compLpL 2 |
| 107 | (timeMeasure T)).contDiff.add contDiff_const |
| 108 | |
| 109 | theorem augmentHighInput_coe (Q : TimeL2 (Lp E 2 μ) T) : |
| 110 | ∀ᵐ t ∂timeMeasure T, augmentHighInput μ Q t =ᵐ[μ] fun x => (Q t x, (1 : ℝ)) := by |
| 111 | let J := (ContinuousLinearMap.inl ℝ E ℝ).compLpL 2 μ |
| 112 | let c : Lp (E × ℝ) 2 μ := (memLp_const ((0 : E), (1 : ℝ))).toLp (fun _ => (0, 1)) |
| 113 | let C : TimeL2 (Lp (E × ℝ) 2 μ) T := (memLp_const c).toLp (fun _ => c) |
| 114 | filter_upwards [J.coeFn_compLpL (p := 2) (μ := timeMeasure T) Q, |
| 115 | (memLp_const c : MemLp (fun _ : ℝ => c) 2 (timeMeasure T)).coeFn_toLp, |
| 116 | Lp.coeFn_add (J.compLpL 2 (timeMeasure T) Q) C] with t hJ hC hadd |
| 117 | change (J.compLpL 2 (timeMeasure T) Q + C) t =ᵐ[μ] _ |
| 118 | rw [hadd, Pi.add_apply, hJ, hC] |
| 119 | filter_upwards [(ContinuousLinearMap.inl ℝ E ℝ).coeFn_compLpL (Q t), |
| 120 | (memLp_const ((0 : E), (1 : ℝ)) : |
| 121 | MemLp (fun _ : M => ((0 : E), (1 : ℝ))) 2 μ).coeFn_toLp, |
| 122 | Lp.coeFn_add (J (Q t)) c] with x hQ hc hx |
| 123 | change J (Q t) x = (Q t x, (0 : ℝ)) at hQ |
| 124 | change c x = ((0 : E), (1 : ℝ)) at hc |
| 125 | rw [hx, Pi.add_apply, hQ, hc] |
| 126 | simp only [Prod.mk_add_mk, add_zero, zero_add] |
| 127 | |
| 128 | variable {n : ℕ} |
| 129 | |
| 130 | def mixedLowerJetOperator : |
| 131 | (Matrix (Fin n) (Fin n) ℝ × Matrix (Fin n) (Fin n) ℝ) →L[ℝ] |
| 132 | (MetricSecondJet n × ℝ) →L[ℝ] Matrix (Fin n) (Fin n) ℝ := |
| 133 | ((ContinuousLinearMap.compL ℝ (MetricSecondJet n × ℝ) |
| 134 | (MetricSecondJet n) (Matrix (Fin n) (Fin n) ℝ)).flip |
| 135 | (ContinuousLinearMap.fst ℝ (MetricSecondJet n) ℝ)).comp |
| 136 | (lowerJetContractionOperator.comp |
| 137 | (ContinuousLinearMap.fst ℝ (Matrix (Fin n) (Fin n) ℝ) (Matrix (Fin n) (Fin n) ℝ))) + |
| 138 | ((ContinuousLinearMap.compL ℝ (MetricSecondJet n × ℝ) |
| 139 | ℝ (Matrix (Fin n) (Fin n) ℝ)).flip |
| 140 | (ContinuousLinearMap.snd ℝ (MetricSecondJet n) ℝ)).comp |
| 141 | ((ContinuousLinearMap.lsmul ℝ ℝ (E := Matrix (Fin n) (Fin n) ℝ)).flip.comp |
| 142 | (ContinuousLinearMap.snd ℝ (Matrix (Fin n) (Fin n) ℝ) (Matrix (Fin n) (Fin n) ℝ))) |
| 143 | |
| 144 | @[simp] theorem mixedLowerJetOperator_apply |
| 145 | (A L : Matrix (Fin n) (Fin n) ℝ) (Q : MetricSecondJet n) (c : ℝ) : |
| 146 | mixedLowerJetOperator (A, L) (Q, c) = lowerJetContraction A Q + c • L := rfl |
| 147 | |
| 148 | set_option backward.isDefEq.respectTransparency false in |
| 149 | /-- The first slot is the fixed generator value; the second holds varying background jets. -/ |
| 150 | theorem exists_smooth_mixed_forcing_extension (hT : 0 ≤ T) |
| 151 | (u : TimePath C(M, Matrix (Fin n) (Fin n) ℝ × |
| 152 | ChartState (n := n) × MetricLowerJet n) T) |
| 153 | (h0 : ∀ t x, (u t x).1.PosDef) |
| 154 | (hB : ∀ t x, (u t x).2.1.1.PosDef) (hg : ∀ t x, (u t x).2.2.1.PosDef) : |
| 155 | ∃ epsilon : ℝ, 0 < epsilon ∧ |
| 156 | ∃ Phi : (TimePath C(M, Matrix (Fin n) (Fin n) ℝ × |
| 157 | ChartState (n := n) × MetricLowerJet n) T × |
| 158 | TimeL2 (Lp (MetricSecondJet n) 2 μ) T) → |
| 159 | TimeL2 (Lp (Matrix (Fin n) (Fin n) ℝ) 2 μ) T, |
| 160 | ContDiff ℝ ∞ Phi ∧ ∀ v, ‖v - u‖ < epsilon → |
| 161 | ∀ Q : TimeL2 (Lp (MetricSecondJet n) 2 μ) T, |
| 162 | ∀ᵐ t ∂timeMeasure T, ∀ ht : t ∈ Icc (0 : ℝ) T, |
| 163 | Phi (v, Q) t =ᵐ[μ] fun x => |
| 164 | lowerJetContraction ((v ⟨t, ht⟩ x).2.2.1⁻¹ - (v ⟨t, ht⟩ x).1⁻¹) (Q t x) + |
| 165 | lowerPerturbationSource (chartStateJet (v ⟨t, ht⟩ x).2.1) |
| 166 | (v ⟨t, ht⟩ x).2.2 := by |
| 167 | let V := Matrix (Fin n) (Fin n) ℝ × ChartState (n := n) × MetricLowerJet n |
| 168 | let U : Set V := {z | z.1.det ≠ 0 ∧ z.2.1.1.det ≠ 0 ∧ z.2.2.1.det ≠ 0} |
| 169 | let f : V → Matrix (Fin n) (Fin n) ℝ × Matrix (Fin n) (Fin n) ℝ := |
| 170 | fun z => (z.2.2.1⁻¹ - z.1⁻¹, lowerPerturbationSource (chartStateJet z.2.1) z.2.2) |
| 171 | have hU : IsOpen U := |
| 172 | (isOpen_ne_fun continuous_fst.matrix_det continuous_const).inter |
| 173 | ((isOpen_ne_fun continuous_snd.fst.fst.matrix_det continuous_const).inter |
| 174 | (isOpen_ne_fun continuous_snd.snd.fst.matrix_det continuous_const)) |
| 175 | have hf (z : V) (hz : z ∈ U) : ContDiffAt ℝ ∞ f z := by |
| 176 | have hp : ContDiffAt ℝ ∞ (fun q : V => matrixInverseEntries q.2.2.1) z := |
| 177 | (contDiffAt_matrixInverseEntries_infty _ hz.2.2).comp |
| 178 | (f := fun q : Matrix (Fin n) (Fin n) ℝ × ChartState (n := n) × MetricLowerJet n => |
| 179 | q.2.2.1) (g := matrixInverseEntries) z (by fun_prop) |
| 180 | have hfixed : ContDiffAt ℝ ∞ (fun q : V => matrixInverseEntries q.1) z := |
| 181 | (contDiffAt_matrixInverseEntries_infty _ hz.1).comp |
| 182 | (f := fun q : Matrix (Fin n) (Fin n) ℝ × ChartState (n := n) × MetricLowerJet n => |
| 183 | q.1) (g := matrixInverseEntries) z (by fun_prop) |
| 184 | exact (hp.sub hfixed).prodMk |
| 185 | ((contDiffAt_jointLowerPerturbationSource_of_det_ne_zero z.2 hz.2.1 hz.2.2).comp |
| 186 | (f := fun q : Matrix (Fin n) (Fin n) ℝ × ChartState (n := n) × MetricLowerJet n => |
| 187 | q.2) z (by fun_prop)) |
| 188 | obtain ⟨epsilon, hepsilon, Psi, hPsi, hEq⟩ := |
| 189 | exists_smooth_coefficient_forcing_extension μ hT hU f hf mixedLowerJetOperator u |
| 190 | (fun t x => ⟨((u t x).1.isUnit_iff_isUnit_det.mp (h0 t x).isUnit).ne_zero, |
| 191 | ((u t x).2.1.1.isUnit_iff_isUnit_det.mp (hB t x).isUnit).ne_zero, |
| 192 | ((u t x).2.2.1.isUnit_iff_isUnit_det.mp (hg t x).isUnit).ne_zero⟩) |
| 193 | refine ⟨epsilon, hepsilon, fun z => Psi (z.1, augmentHighInput μ z.2), |
| 194 | hPsi.comp (contDiff_fst.prodMk ((contDiff_augmentHighInput μ).comp contDiff_snd)), ?_⟩ |
| 195 | intro v hv Q |
| 196 | filter_upwards [hEq v hv (augmentHighInput μ Q), augmentHighInput_coe μ Q] with t ht hQ |
| 197 | intro htmem |
| 198 | filter_upwards [ht htmem, hQ] with x hx hQx |
| 199 | rw [hx, hQx] |
| 200 | simp only [f, mixedLowerJetOperator_apply, one_smul] |
| 201 | rfl |
| 202 | |
| 203 | def fixedGeneratorInput (b0 : C(M, Matrix (Fin n) (Fin n) ℝ)) |
| 204 | (v : TimePath C(M, ChartState (n := n) × MetricLowerJet n) T) : |
| 205 | TimePath C(M, Matrix (Fin n) (Fin n) ℝ × |
| 206 | ChartState (n := n) × MetricLowerJet n) T := |
| 207 | ((ContinuousLinearMap.inr ℝ (Matrix (Fin n) (Fin n) ℝ) |
| 208 | (ChartState (n := n) × MetricLowerJet n)).compLeftContinuous ℝ M).compLeftContinuous |
| 209 | ℝ (Icc (0 : ℝ) T) v + |
| 210 | ContinuousMap.const (Icc (0 : ℝ) T) |
| 211 | ((ContinuousLinearMap.inl ℝ (Matrix (Fin n) (Fin n) ℝ) |
| 212 | (ChartState (n := n) × MetricLowerJet n)).compLeftContinuous ℝ M b0) |
| 213 | |
| 214 | @[simp] theorem fixedGeneratorInput_apply (b0 : C(M, Matrix (Fin n) (Fin n) ℝ)) |
| 215 | (v : TimePath C(M, ChartState (n := n) × MetricLowerJet n) T) |
| 216 | (t : Icc (0 : ℝ) T) (x : M) : fixedGeneratorInput b0 v t x = (b0 x, v t x) := by |
| 217 | change (0, v t x) + (b0 x, 0) = (b0 x, v t x) |
| 218 | simp |
| 219 | |
| 220 | theorem contDiff_fixedGeneratorInput (b0 : C(M, Matrix (Fin n) (Fin n) ℝ)) : |
| 221 | ContDiff ℝ ∞ (fixedGeneratorInput (T := T) b0) := by |
| 222 | let L : TimePath C(M, ChartState (n := n) × MetricLowerJet n) T →L[ℝ] |
| 223 | TimePath C(M, Matrix (Fin n) (Fin n) ℝ × ChartState (n := n) × MetricLowerJet n) T := |
| 224 | ((ContinuousLinearMap.inr ℝ (Matrix (Fin n) (Fin n) ℝ) |
| 225 | (ChartState (n := n) × MetricLowerJet n)).compLeftContinuous ℝ M).compLeftContinuous |
| 226 | ℝ (Icc (0 : ℝ) T) |
| 227 | let c := ContinuousMap.const (Icc (0 : ℝ) T) |
| 228 | ((ContinuousLinearMap.inl ℝ (Matrix (Fin n) (Fin n) ℝ) |
| 229 | (ChartState (n := n) × MetricLowerJet n)).compLeftContinuous ℝ M b0) |
| 230 | change ContDiff ℝ ∞ (fun v => L v + c) |
| 231 | have hL : ContDiff ℝ ∞ |
| 232 | (fun v : TimePath C(M, ChartState (n := n) × MetricLowerJet n) T => L v) := |
| 233 | ContinuousLinearMap.contDiff (𝕜 := ℝ) |
| 234 | (E := TimePath C(M, ChartState (n := n) × MetricLowerJet n) T) |
| 235 | (F := TimePath C(M, |
| 236 | Matrix (Fin n) (Fin n) ℝ × ChartState (n := n) × MetricLowerJet n) T) |
| 237 | (n := ∞) L |
| 238 | exact hL.add contDiff_const |
| 239 | |
| 240 | theorem norm_fixedGeneratorInput_sub_le (b0 : C(M, Matrix (Fin n) (Fin n) ℝ)) |
| 241 | (v u : TimePath C(M, ChartState (n := n) × MetricLowerJet n) T) : |
| 242 | ‖fixedGeneratorInput b0 v - fixedGeneratorInput b0 u‖ ≤ ‖v - u‖ := by |
| 243 | apply (ContinuousMap.norm_le _ (norm_nonneg (v - u))).mpr |
| 244 | intro t |
| 245 | apply (ContinuousMap.norm_le _ (norm_nonneg (v - u))).mpr |
| 246 | intro x |
| 247 | change ‖fixedGeneratorInput b0 v t x - fixedGeneratorInput b0 u t x‖ ≤ ‖v - u‖ |
| 248 | rw [fixedGeneratorInput_apply, fixedGeneratorInput_apply] |
| 249 | change max ‖b0 x - b0 x‖ ‖v t x - u t x‖ ≤ ‖v - u‖ |
| 250 | simp only [sub_self, norm_zero, max_eq_right (norm_nonneg _)] |
| 251 | exact ((v t - u t).norm_coe_le_norm x).trans ((v - u).norm_coe_le_norm t) |
| 252 | |
| 253 | set_option backward.isDefEq.respectTransparency false in |
| 254 | /-- The generator background stays fixed throughout the whole low-input neighborhood. -/ |
| 255 | theorem exists_smooth_fixed_generator_forcing_extension (hT : 0 ≤ T) |
| 256 | (b0 : C(M, Matrix (Fin n) (Fin n) ℝ)) (hb0 : ∀ x, (b0 x).PosDef) |
| 257 | (u : TimePath C(M, ChartState (n := n) × MetricLowerJet n) T) |
| 258 | (hB : ∀ t x, (u t x).1.1.PosDef) (hg : ∀ t x, (u t x).2.1.PosDef) : |
| 259 | ∃ epsilon : ℝ, 0 < epsilon ∧ |
| 260 | ∃ Phi : (TimePath C(M, ChartState (n := n) × MetricLowerJet n) T × |
| 261 | TimeL2 (Lp (MetricSecondJet n) 2 μ) T) → |
| 262 | TimeL2 (Lp (Matrix (Fin n) (Fin n) ℝ) 2 μ) T, |
| 263 | ContDiff ℝ ∞ Phi ∧ ∀ v, ‖v - u‖ < epsilon → |
| 264 | ∀ Q : TimeL2 (Lp (MetricSecondJet n) 2 μ) T, |
| 265 | ∀ᵐ t ∂timeMeasure T, ∀ ht : t ∈ Icc (0 : ℝ) T, |
| 266 | Phi (v, Q) t =ᵐ[μ] fun x => |
| 267 | lowerJetContraction ((v ⟨t, ht⟩ x).2.1⁻¹ - (b0 x)⁻¹) (Q t x) + |
| 268 | lowerPerturbationSource (chartStateJet (v ⟨t, ht⟩ x).1) |
| 269 | (v ⟨t, ht⟩ x).2 := by |
| 270 | obtain ⟨epsilon, hepsilon, Psi, hPsi, hEq⟩ := |
| 271 | exists_smooth_mixed_forcing_extension μ hT (fixedGeneratorInput b0 u) |
| 272 | (by intro t x; simpa only [fixedGeneratorInput_apply] using hb0 x) |
| 273 | (by intro t x; simpa only [fixedGeneratorInput_apply] using hB t x) |
| 274 | (by intro t x; simpa only [fixedGeneratorInput_apply] using hg t x) |
| 275 | refine ⟨epsilon, hepsilon, fun z => Psi (fixedGeneratorInput b0 z.1, z.2), |
| 276 | hPsi.comp (((contDiff_fixedGeneratorInput b0).comp contDiff_fst).prodMk contDiff_snd), ?_⟩ |
| 277 | intro v hv Q |
| 278 | exact (hEq (fixedGeneratorInput b0 v) |
| 279 | ((norm_fixedGeneratorInput_sub_le b0 v u).trans_lt hv) Q).mono |
| 280 | (fun t ht htmem => by simpa only [fixedGeneratorInput_apply] using ht htmem) |
| 281 | |
| 282 | open DeTurckRationalJetNative DeTurckJetAffineNative |
| 283 | |
| 284 | def finiteJetAffineOperator : ((E →L[ℝ] ℝ) × ℝ) →L[ℝ] (E × ℝ) →L[ℝ] ℝ := |
| 285 | ((ContinuousLinearMap.compL ℝ (E × ℝ) E ℝ).flip |
| 286 | (ContinuousLinearMap.fst ℝ E ℝ)).comp (ContinuousLinearMap.fst ℝ (E →L[ℝ] ℝ) ℝ) + |
| 287 | ((ContinuousLinearMap.compL ℝ (E × ℝ) ℝ ℝ).flip |
| 288 | (ContinuousLinearMap.snd ℝ E ℝ)).comp |
| 289 | ((ContinuousLinearMap.lsmul ℝ ℝ (E := ℝ)).flip.comp |
| 290 | (ContinuousLinearMap.snd ℝ (E →L[ℝ] ℝ) ℝ)) |
| 291 | |
| 292 | @[simp] theorem finiteJetAffineOperator_apply (L : E →L[ℝ] ℝ) (c : ℝ) |
| 293 | (Q : E) (a : ℝ) : finiteJetAffineOperator (L, c) (Q, a) = L Q + a * c := rfl |
| 294 | |
| 295 | variable {iota : Type v} |
| 296 | |
| 297 | /-- Spatial affine augmentation uses the actual constant-one class. -/ |
| 298 | def augmentSpatialHighInput (Q : Lp E 2 μ) : Lp (E × ℝ) 2 μ := |
| 299 | (ContinuousLinearMap.inl ℝ E ℝ).compLpL 2 μ Q + |
| 300 | (memLp_const ((0 : E), (1 : ℝ))).toLp (fun _ : M => ((0 : E), (1 : ℝ))) |
| 301 | |
| 302 | theorem contDiff_augmentSpatialHighInput : |
| 303 | ContDiff ℝ ∞ (augmentSpatialHighInput (E := E) μ) := |
| 304 | ((ContinuousLinearMap.inl ℝ E ℝ).compLpL 2 μ).contDiff.add contDiff_const |
| 305 | |
| 306 | theorem augmentSpatialHighInput_coe (Q : Lp E 2 μ) : |
| 307 | augmentSpatialHighInput μ Q =ᵐ[μ] fun x => (Q x, (1 : ℝ)) := by |
| 308 | let c : Lp (E × ℝ) 2 μ := |
| 309 | (memLp_const ((0 : E), (1 : ℝ))).toLp (fun _ : M => ((0 : E), (1 : ℝ))) |
| 310 | filter_upwards [(ContinuousLinearMap.inl ℝ E ℝ).coeFn_compLpL Q, |
| 311 | (memLp_const ((0 : E), (1 : ℝ)) : |
| 312 | MemLp (fun _ : M => ((0 : E), (1 : ℝ))) 2 μ).coeFn_toLp, |
| 313 | Lp.coeFn_add ((ContinuousLinearMap.inl ℝ E ℝ).compLpL 2 μ Q) c] with x hQ hc hadd |
| 314 | change ((ContinuousLinearMap.inl ℝ E ℝ).compLpL 2 μ Q + c) x = _ |
| 315 | change c x = ((0 : E), (1 : ℝ)) at hc |
| 316 | rw [hadd, Pi.add_apply, hQ, hc] |
| 317 | simp only [ContinuousLinearMap.inl_apply, Prod.mk_add_mk, add_zero, zero_add] |
| 318 | |
| 319 | abbrev FiniteSpatialJetInput (p : Expr iota n) (m : ℕ) := |
| 320 | C(M, LowAtom p m → ℝ) × Lp (HighAtom p m → ℝ) 2 μ |
| 321 | |
| 322 | def finiteSpatialJetCoefficient (p : Expr iota n) (m : ℕ) : |
| 323 | C(LowAtom p m → ℝ, ((HighAtom p m → ℝ) →L[ℝ] ℝ) × ℝ) := |
| 324 | ⟨fun low => (finiteLinearPart p m low, finiteConstantPart p m low), |
| 325 | ((contDiff_finiteLinearPart p m).prodMk (contDiff_finiteConstantPart p m)).continuous⟩ |
| 326 | |
| 327 | theorem contDiff_finiteSpatialJetCoefficient (p : Expr iota n) (m : ℕ) : |
| 328 | ContDiff ℝ ∞ (finiteSpatialJetCoefficient p m) := |
| 329 | (contDiff_finiteLinearPart p m).prodMk (contDiff_finiteConstantPart p m) |
| 330 | |
| 331 | /-- The finite jet acts on spatial continuous low coordinates and spatial L2 high coordinates. -/ |
| 332 | def finiteSpatialJetAction (p : Expr iota n) (m : ℕ) |
| 333 | (z : FiniteSpatialJetInput μ p m) : Lp ℝ 2 μ := |
| 334 | spatialCoefficientAction μ finiteJetAffineOperator |
| 335 | ((finiteSpatialJetCoefficient p m).comp z.1) (augmentSpatialHighInput μ z.2) |
| 336 | |
| 337 | theorem contDiff_finiteSpatialJetAction (p : Expr iota n) (m : ℕ) : |
| 338 | ContDiff ℝ ∞ (finiteSpatialJetAction μ p m) := by |
| 339 | have hcoefficient := ContinuousPathCompositionNative.contDiff_postcomp M |
| 340 | (finiteSpatialJetCoefficient p m) (contDiff_finiteSpatialJetCoefficient p m) |
| 341 | exact ((spatialCoefficientAction μ |
| 342 | (finiteJetAffineOperator (E := HighAtom p m → ℝ))).contDiff.comp |
| 343 | (hcoefficient.comp contDiff_fst)).clm_apply |
| 344 | ((contDiff_augmentSpatialHighInput μ).comp contDiff_snd) |
| 345 | |
| 346 | theorem finiteSpatialJetAction_coe (p : Expr iota n) (m : ℕ) |
| 347 | (z : FiniteSpatialJetInput μ p m) : |
| 348 | finiteSpatialJetAction μ p m z =ᵐ[μ] fun x => |
| 349 | finiteConstantPart p m (z.1 x) + finiteLinearPart p m (z.1 x) (z.2 x) := by |
| 350 | filter_upwards [spatialCoefficientAction_coe μ finiteJetAffineOperator |
| 351 | ((finiteSpatialJetCoefficient p m).comp z.1) (augmentSpatialHighInput μ z.2), |
| 352 | augmentSpatialHighInput_coe μ z.2] with x hx hQ |
| 353 | change finiteSpatialJetAction μ p m z x = _ at hx |
| 354 | rw [hx, hQ] |
| 355 | change finiteLinearPart p m (z.1 x) (z.2 x) + 1 * finiteConstantPart p m (z.1 x) = _ |
| 356 | rw [one_mul, add_comm] |
| 357 | |
| 358 | theorem finiteSpatialJetAction_ae_eq_eval (p : Expr iota n) (m : ℕ) |
| 359 | (hp : p.degree ≤ 2 * m) (z : FiniteSpatialJetInput μ p m) |
| 360 | (values : M → Atom iota n → ℝ) |
| 361 | (hLow : ∀ x, (fun a : LowAtom p m => values x a.val.val) = z.1 x) |
| 362 | (hHigh : (fun x => fun a : HighAtom p m => values x a.val.val) =ᵐ[μ] z.2) : |
| 363 | finiteSpatialJetAction μ p m z =ᵐ[μ] fun x => p.eval (values x) := by |
| 364 | filter_upwards [finiteSpatialJetAction_coe μ p m z, hHigh] with x hx hQ |
| 365 | rw [hx, ← hLow x, ← hQ] |
| 366 | exact (eval_eq_finiteParts p m hp (values x)).symm |
| 367 | |
| 368 | /-- Continuous traces enter time L2 by multiplication with the constant-one scalar class. -/ |
| 369 | def tracePathL2 (hT : 0 ≤ T) : TimePath E T →L[ℝ] TimeL2 E T := |
| 370 | (productOperator hT (ContinuousLinearMap.lsmul ℝ ℝ (E := E)).flip).flip |
| 371 | ((memLp_const (1 : ℝ)).toLp (fun _ : ℝ => (1 : ℝ))) |
| 372 | |
| 373 | theorem tracePathL2_ae_eq (hT : 0 ≤ T) (A : TimePath E T) : |
| 374 | ∀ᵐ t ∂timeMeasure T, ∀ ht : t ∈ Icc (0 : ℝ) T, |
| 375 | tracePathL2 hT A t = A ⟨t, ht⟩ := by |
| 376 | let c : TimeL2 ℝ T := (memLp_const (1 : ℝ)).toLp (fun _ : ℝ => (1 : ℝ)) |
| 377 | filter_upwards [product_ae_eq_on_interval hT |
| 378 | (ContinuousLinearMap.lsmul ℝ ℝ (E := E)).flip A c, |
| 379 | (memLp_const (1 : ℝ) : MemLp (fun _ : ℝ => (1 : ℝ)) 2 (timeMeasure T)).coeFn_toLp] |
| 380 | with t ht hc |
| 381 | intro htmem |
| 382 | change product hT (ContinuousLinearMap.lsmul ℝ ℝ (E := E)).flip A c t = _ |
| 383 | rw [ht htmem, hc] |
| 384 | simp only [ContinuousLinearMap.flip_apply, ContinuousLinearMap.lsmul_apply, one_smul] |
| 385 | |
| 386 | theorem norm_tracePathL2_apply_le (hT : 0 ≤ T) (A : TimePath E T) : |
| 387 | ‖tracePathL2 hT A‖ ≤ Real.sqrt T * ‖A‖ := by |
| 388 | let c : TimeL2 ℝ T := (memLp_const (1 : ℝ)).toLp (fun _ : ℝ => (1 : ℝ)) |
| 389 | have hmeasure : (timeMeasure T Set.univ).toReal = T := by |
| 390 | simp only [timeMeasure, Measure.restrict_apply_univ, Real.volume_Ioc, |
| 391 | sub_zero, ENNReal.toReal_ofReal hT] |
| 392 | have hc : ‖c‖ = Real.sqrt T := by |
| 393 | change ‖Lp.const 2 (timeMeasure T) (1 : ℝ)‖ = Real.sqrt T |
| 394 | rw [Lp.norm_const' (p := (2 : ENNReal)) (μ := timeMeasure T) (c := (1 : ℝ)) |
| 395 | (by norm_num) (by norm_num)] |
| 396 | simp only [norm_one, one_mul, measureReal_def, |
| 397 | ENNReal.toReal_ofNat, hmeasure, Real.sqrt_eq_rpow] |
| 398 | have hB : ‖(ContinuousLinearMap.lsmul ℝ ℝ (E := E)).flip‖ ≤ 1 := by |
| 399 | rw [ContinuousLinearMap.opNorm_flip] |
| 400 | exact ContinuousLinearMap.opNorm_lsmul_le |
| 401 | calc |
| 402 | ‖tracePathL2 hT A‖ ≤ |
| 403 | ‖(ContinuousLinearMap.lsmul ℝ ℝ (E := E)).flip‖ * ‖A‖ * ‖c‖ := |
| 404 | norm_product_le hT (ContinuousLinearMap.lsmul ℝ ℝ (E := E)).flip A c |
| 405 | _ ≤ 1 * ‖A‖ * Real.sqrt T := by |
| 406 | rw [hc] |
| 407 | exact mul_le_mul_of_nonneg_right |
| 408 | (mul_le_mul_of_nonneg_right hB (norm_nonneg A)) (Real.sqrt_nonneg T) |
| 409 | _ = Real.sqrt T * ‖A‖ := by ring |
| 410 | |
| 411 | theorem norm_tracePathL2_le (hT : 0 ≤ T) : |
| 412 | ‖tracePathL2 (E := E) hT‖ ≤ Real.sqrt T := |
| 413 | ContinuousLinearMap.opNorm_le_bound _ (Real.sqrt_nonneg T) (norm_tracePathL2_apply_le hT) |
| 414 | |
| 415 | def finiteJetTraceForcing (hT : 0 ≤ T) (p : Expr iota n) (m : ℕ) |
| 416 | (z : TimePath (FiniteSpatialJetInput μ p m) T) : TimeL2 (Lp ℝ 2 μ) T := |
| 417 | tracePathL2 hT ((⟨finiteSpatialJetAction μ p m, |
| 418 | (contDiff_finiteSpatialJetAction μ p m).continuous⟩ : |
| 419 | C(FiniteSpatialJetInput μ p m, Lp ℝ 2 μ)).comp z) |
| 420 | |
| 421 | theorem contDiff_finiteJetTraceForcing (hT : 0 ≤ T) (p : Expr iota n) (m : ℕ) : |
| 422 | ContDiff ℝ ∞ (finiteJetTraceForcing μ hT p m) := by |
| 423 | let e : ULift.{v} (Lp ℝ 2 μ) ≃L[ℝ] Lp ℝ 2 μ := ContinuousLinearEquiv.ulift |
| 424 | let f : C(FiniteSpatialJetInput μ p m, ULift.{v} (Lp ℝ 2 μ)) := |
| 425 | ⟨fun q => e.symm (finiteSpatialJetAction μ p m q), |
| 426 | e.symm.continuous.comp (contDiff_finiteSpatialJetAction μ p m).continuous⟩ |
| 427 | have hf : ContDiff ℝ ∞ f := |
| 428 | e.symm.contDiff.comp (contDiff_finiteSpatialJetAction μ p m) |
| 429 | let down : TimePath (ULift.{v} (Lp ℝ 2 μ)) T →L[ℝ] TimePath (Lp ℝ 2 μ) T := |
| 430 | e.toContinuousLinearMap.compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 431 | change ContDiff ℝ ∞ (fun z : TimePath (FiniteSpatialJetInput μ p m) T => |
| 432 | tracePathL2 hT (down (f.comp z))) |
| 433 | exact (tracePathL2 (E := Lp ℝ 2 μ) hT).contDiff.comp |
| 434 | (down.contDiff.comp |
| 435 | (ContinuousPathCompositionNative.contDiff_postcomp (Icc (0 : ℝ) T) f hf)) |
| 436 | |
| 437 | theorem finiteJetTraceForcing_ae_eq_eval (hT : 0 ≤ T) (p : Expr iota n) (m : ℕ) |
| 438 | (hp : p.degree ≤ 2 * m) (z : TimePath (FiniteSpatialJetInput μ p m) T) |
| 439 | (values : ℝ → M → Atom iota n → ℝ) |
| 440 | (hLow : ∀ t (ht : t ∈ Icc (0 : ℝ) T) x, |
| 441 | (fun a : LowAtom p m => values t x a.val.val) = (z ⟨t, ht⟩).1 x) |
| 442 | (hHigh : ∀ t (ht : t ∈ Icc (0 : ℝ) T), |
| 443 | (fun x => fun a : HighAtom p m => values t x a.val.val) =ᵐ[μ] (z ⟨t, ht⟩).2) : |
| 444 | ∀ᵐ t ∂timeMeasure T, ∀ ht : t ∈ Icc (0 : ℝ) T, |
| 445 | finiteJetTraceForcing μ hT p m z t =ᵐ[μ] fun x => p.eval (values t x) := by |
| 446 | let f : C(FiniteSpatialJetInput μ p m, Lp ℝ 2 μ) := |
| 447 | ⟨finiteSpatialJetAction μ p m, (contDiff_finiteSpatialJetAction μ p m).continuous⟩ |
| 448 | filter_upwards [tracePathL2_ae_eq hT (f.comp z)] with t ht |
| 449 | intro htmem |
| 450 | change tracePathL2 hT (f.comp z) t =ᵐ[μ] _ |
| 451 | rw [ht htmem] |
| 452 | exact finiteSpatialJetAction_ae_eq_eval μ p m hp (z ⟨t, htmem⟩) |
| 453 | (values t) (hLow t htmem) (hHigh t htmem) |
| 454 | |
| 455 | /-- The spatial neighborhood and its Lipschitz constant are chosen before the time interval. -/ |
| 456 | theorem exists_finiteJetTraceForcing_lipschitz_bound (p : Expr iota n) (m : ℕ) |
| 457 | (u : FiniteSpatialJetInput μ p m) : |
| 458 | ∃ K : NNReal, ∃ epsilon : ℝ, 0 < epsilon ∧ |
| 459 | ∀ (S : ℝ) (hS : 0 ≤ S) (z w : TimePath (FiniteSpatialJetInput μ p m) S), |
| 460 | (∀ t, z t ∈ Metric.ball u epsilon) → |
| 461 | (∀ t, w t ∈ Metric.ball u epsilon) → |
| 462 | ‖finiteJetTraceForcing μ hS p m z - finiteJetTraceForcing μ hS p m w‖ ≤ |
| 463 | Real.sqrt S * (K : ℝ) * ‖z - w‖ := by |
| 464 | have hf : ContDiffAt ℝ 1 (finiteSpatialJetAction μ p m) u := |
| 465 | ((contDiff_finiteSpatialJetAction μ p m).of_le (by simp)).contDiffAt |
| 466 | obtain ⟨K, s, hs, hK⟩ := hf.exists_lipschitzOnWith |
| 467 | obtain ⟨epsilon, hepsilon, hball⟩ := Metric.mem_nhds_iff.mp hs |
| 468 | refine ⟨K, epsilon, hepsilon, ?_⟩ |
| 469 | intro S hS z w hz hw |
| 470 | let f : C(FiniteSpatialJetInput μ p m, Lp ℝ 2 μ) := |
| 471 | ⟨finiteSpatialJetAction μ p m, (contDiff_finiteSpatialJetAction μ p m).continuous⟩ |
| 472 | have hpath : ‖f.comp z - f.comp w‖ ≤ (K : ℝ) * ‖z - w‖ := by |
| 473 | apply (ContinuousMap.norm_le _ (by positivity)).mpr |
| 474 | intro t |
| 475 | have hpoint := (lipschitzOnWith_iff_dist_le_mul.mp hK) |
| 476 | (z t) (hball (hz t)) (w t) (hball (hw t)) |
| 477 | simp only [dist_eq_norm] at hpoint |
| 478 | exact hpoint.trans (mul_le_mul_of_nonneg_left |
| 479 | ((z - w).norm_coe_le_norm t) K.2) |
| 480 | change ‖tracePathL2 hS (f.comp z) - tracePathL2 hS (f.comp w)‖ ≤ _ |
| 481 | rw [← map_sub] |
| 482 | exact (norm_tracePathL2_apply_le hS (f.comp z - f.comp w)).trans |
| 483 | ((mul_le_mul_of_nonneg_left hpath (Real.sqrt_nonneg S)).trans_eq (by ring)) |
| 484 | |
| 485 | /-- The finite differentiated source gives an actual smooth space-time L2 forcing map. -/ |
| 486 | theorem exists_smooth_finite_jet_forcing_extension (hT : 0 ≤ T) (p : Expr iota n) (m : ℕ) |
| 487 | (u : TimePath C(M, LowAtom p m → ℝ) T) : |
| 488 | ∃ epsilon : ℝ, 0 < epsilon ∧ |
| 489 | ∃ Phi : (TimePath C(M, LowAtom p m → ℝ) T × |
| 490 | TimeL2 (Lp (HighAtom p m → ℝ) 2 μ) T) → TimeL2 (Lp ℝ 2 μ) T, |
| 491 | ContDiff ℝ ∞ Phi ∧ ∀ v, ‖v - u‖ < epsilon → |
| 492 | ∀ Q : TimeL2 (Lp (HighAtom p m → ℝ) 2 μ) T, |
| 493 | ∀ᵐ t ∂timeMeasure T, ∀ ht : t ∈ Icc (0 : ℝ) T, |
| 494 | Phi (v, Q) t =ᵐ[μ] fun x => finiteConstantPart p m (v ⟨t, ht⟩ x) + |
| 495 | finiteLinearPart p m (v ⟨t, ht⟩ x) (Q t x) := by |
| 496 | let f : (LowAtom p m → ℝ) → ((HighAtom p m → ℝ) →L[ℝ] ℝ) × ℝ := |
| 497 | fun low => (finiteLinearPart p m low, finiteConstantPart p m low) |
| 498 | have hf : ContDiff ℝ ∞ f := |
| 499 | (contDiff_finiteLinearPart p m).prodMk (contDiff_finiteConstantPart p m) |
| 500 | obtain ⟨epsilon, hepsilon, Psi, hPsi, hEq⟩ := |
| 501 | exists_smooth_coefficient_forcing_extension μ hT isOpen_univ f |
| 502 | (fun _ _ => hf.contDiffAt) finiteJetAffineOperator u (fun _ _ => mem_univ _) |
| 503 | refine ⟨epsilon, hepsilon, fun z => Psi (z.1, augmentHighInput μ z.2), |
| 504 | hPsi.comp (contDiff_fst.prodMk ((contDiff_augmentHighInput μ).comp contDiff_snd)), ?_⟩ |
| 505 | intro v hv Q |
| 506 | filter_upwards [hEq v hv (augmentHighInput μ Q), augmentHighInput_coe μ Q] with t ht hQ |
| 507 | intro htmem |
| 508 | filter_upwards [ht htmem, hQ] with x hx hQx |
| 509 | rw [hx, hQx] |
| 510 | change finiteLinearPart p m (v ⟨t, htmem⟩ x) (Q t x) + |
| 511 | 1 * finiteConstantPart p m (v ⟨t, htmem⟩ x) = _ |
| 512 | rw [one_mul, add_comm] |
| 513 | |
| 514 | /-- The affine forcing is the original expression on its actual finite jet restrictions. -/ |
| 515 | theorem finite_jet_forcing_ae_eq_eval (p : Expr iota n) (m : ℕ) (hp : p.degree ≤ 2 * m) |
| 516 | (v : TimePath C(M, LowAtom p m → ℝ) T) (Q : TimeL2 (Lp (HighAtom p m → ℝ) 2 μ) T) |
| 517 | (values : ℝ → M → Atom iota n → ℝ) |
| 518 | (hLow : ∀ t (ht : t ∈ Icc (0 : ℝ) T) x, |
| 519 | (fun a : LowAtom p m => values t x a.val.val) = v ⟨t, ht⟩ x) |
| 520 | (hHigh : ∀ᵐ t ∂timeMeasure T, ∀ _ht : t ∈ Icc (0 : ℝ) T, |
| 521 | (fun x => fun a : HighAtom p m => values t x a.val.val) =ᵐ[μ] Q t) : |
| 522 | ∀ᵐ t ∂timeMeasure T, ∀ ht : t ∈ Icc (0 : ℝ) T, |
| 523 | (fun x => finiteConstantPart p m (v ⟨t, ht⟩ x) + |
| 524 | finiteLinearPart p m (v ⟨t, ht⟩ x) (Q t x)) =ᵐ[μ] |
| 525 | (fun x => p.eval (values t x)) := by |
| 526 | filter_upwards [hHigh] with t ht |
| 527 | intro htmem |
| 528 | filter_upwards [ht htmem] with x hx |
| 529 | rw [← hx, ← hLow t htmem x] |
| 530 | exact (eval_eq_finiteParts p m hp (values t x)).symm |
| 531 | |
| 532 | section NativeLowerSource |
| 533 | |
| 534 | open TensorProbeNative DeTurckSourceJetNative |
| 535 | open scoped Manifold |
| 536 | |
| 537 | variable [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 538 | [Fintype iota] |
| 539 | |
| 540 | /-- The finite forcing is the actual ordered lower source on compatible native jets. -/ |
| 541 | theorem exists_smooth_ordered_lower_forcing_extension (hT : 0 ≤ T) |
| 542 | (F : iota → SmoothField (n := n) (M := M)) (e : Fin n → iota) |
| 543 | (i j : Fin n) (word : List iota) (r : ℕ) (hword : word.length ≤ 2 * r) |
| 544 | (u : TimePath C(M, |
| 545 | LowAtom ((lowerPerturbationExpr e i j).orderedDerivative word) (r + 1) → ℝ) T) : |
| 546 | ∃ epsilon : ℝ, 0 < epsilon ∧ |
| 547 | ∃ Phi : (TimePath C(M, |
| 548 | LowAtom ((lowerPerturbationExpr e i j).orderedDerivative word) (r + 1) → ℝ) T × |
| 549 | TimeL2 (Lp |
| 550 | (HighAtom ((lowerPerturbationExpr e i j).orderedDerivative word) (r + 1) → ℝ) |
| 551 | 2 μ) T) → TimeL2 (Lp ℝ 2 μ) T, |
| 552 | ContDiff ℝ ∞ Phi ∧ ∀ v, ‖v - u‖ < epsilon → |
| 553 | ∀ Q : TimeL2 (Lp |
| 554 | (HighAtom ((lowerPerturbationExpr e i j).orderedDerivative word) (r + 1) → ℝ) |
| 555 | 2 μ) T, |
| 556 | ∀ G : ℝ → Bool → M → Matrix (Fin n) (Fin n) ℝ, |
| 557 | (∀ t b, ContMDiff (𝓡 n) 𝓘(ℝ, Fin n → Fin n → ℝ) ∞ |
| 558 | (fun x i j => G t b x i j)) → |
| 559 | (∀ t b x, (G t b x).det ≠ 0) → |
| 560 | (∀ t (ht : t ∈ Icc (0 : ℝ) T) x, |
| 561 | (fun a : LowAtom ((lowerPerturbationExpr e i j).orderedDerivative word) (r + 1) => |
| 562 | nativeValues F (G t) x a.val.val) = v ⟨t, ht⟩ x) → |
| 563 | (∀ᵐ t ∂timeMeasure T, ∀ _ht : t ∈ Icc (0 : ℝ) T, |
| 564 | (fun x => fun a : |
| 565 | HighAtom ((lowerPerturbationExpr e i j).orderedDerivative word) (r + 1) => |
| 566 | nativeValues F (G t) x a.val.val) =ᵐ[μ] Q t) → |
| 567 | ∀ᵐ t ∂timeMeasure T, ∀ ht : t ∈ Icc (0 : ℝ) T, |
| 568 | Phi (v, Q) t =ᵐ[μ] fun x => |
| 569 | directionalWord F word (fun y => |
| 570 | secondJetSource (G t false y) (nativeJet F (G t) e false true y).second i j + |
| 571 | ricciDeTurckSource (nativeJet F (G t) e false true y) |
| 572 | (eraseSecondJet (nativeJet F (G t) e false false y)) i j) x := by |
| 573 | let p := (lowerPerturbationExpr e i j).orderedDerivative word |
| 574 | have hp : p.degree ≤ 2 * (r + 1) := |
| 575 | (degree_ordered_lowerPerturbationExpr_le e i j word).trans (by omega) |
| 576 | obtain ⟨epsilon, hepsilon, Phi, hPhi, hEq⟩ := |
| 577 | exists_smooth_finite_jet_forcing_extension μ hT p (r + 1) u |
| 578 | refine ⟨epsilon, hepsilon, Phi, hPhi, ?_⟩ |
| 579 | intro v hv Q G hG hdet hLow hHigh |
| 580 | have hEval := finite_jet_forcing_ae_eq_eval μ p (r + 1) hp v Q |
| 581 | (fun t x => nativeValues F (G t) x) hLow hHigh |
| 582 | filter_upwards [hEq v hv Q, hEval] with t ht heval |
| 583 | intro htmem |
| 584 | filter_upwards [ht htmem, heval htmem] with x hx hvalue |
| 585 | exact hx.trans (hvalue.trans (ordered_lowerPerturbationExpr_native F (G t) e |
| 586 | (hG t) (hdet t) i j word x)) |
| 587 | |
| 588 | open DeTurckCompatibleJetNative DeTurckJetCoordinatesNative |
| 589 | |
| 590 | /-- Matrix inversion is extended smoothly on a neighborhood of the actual background field. -/ |
| 591 | theorem exists_smooth_native_inverse_extension |
| 592 | (F : iota → SmoothField (n := n) (M := M)) {a : M} {K : Set M} |
| 593 | (C : Cutoffs (n := n) a K) (g0 : RiemannianMetric n M) (m : ℕ) : |
| 594 | ∃ delta : ℝ, 0 < delta ∧ |
| 595 | ∃ Inv : C(M, Matrix (Fin n) (Fin n) ℝ) → C(M, Matrix (Fin n) (Fin n) ℝ), |
| 596 | ContDiff ℝ ∞ Inv ∧ |
| 597 | ∀ Q : NativeProbeContinuous (M := M) (iota := iota) m, ‖Q‖ < delta → |
| 598 | ∀ x, Inv (matrixValueContinuous F C g0 Q) x = |
| 599 | (matrixValueContinuous F C g0 Q x)⁻¹ := by |
| 600 | have hU : IsOpen {A : Matrix (Fin n) (Fin n) ℝ | A.det ≠ 0} := |
| 601 | isOpen_ne_fun continuous_id.matrix_det continuous_const |
| 602 | obtain ⟨epsilon, hepsilon, Inv, hInv, hInvEq⟩ := |
| 603 | exists_smooth_pointwise_extension hU matrixInverseEntries |
| 604 | (fun A hA => contDiffAt_matrixInverseEntries_infty A hA) |
| 605 | (backgroundMatrixContinuous C g0) |
| 606 | (fun x => ((C.matrix g0 x).isUnit_iff_isUnit_det.mp |
| 607 | (C.matrix_posDef g0 x).isUnit).ne_zero) |
| 608 | let L := matrixDifferenceValueContinuous (k := m) F C g0 |
| 609 | have hLpos : 0 < ‖L‖ + 1 := by positivity |
| 610 | refine ⟨epsilon / (‖L‖ + 1), div_pos hepsilon hLpos, Inv, hInv, ?_⟩ |
| 611 | intro Q hQsmall x |
| 612 | have hprod : ‖Q‖ * (‖L‖ + 1) < epsilon := (lt_div_iff₀ hLpos).mp hQsmall |
| 613 | have hnear : ‖matrixValueContinuous F C g0 Q - backgroundMatrixContinuous C g0‖ < |
| 614 | epsilon := by |
| 615 | rw [matrixValueContinuous_sub] |
| 616 | change ‖L Q‖ < epsilon |
| 617 | exact (L.le_opNorm Q).trans_lt (by nlinarith [norm_nonneg Q]) |
| 618 | exact hInvEq (matrixValueContinuous F C g0 Q) hnear x |
| 619 | |
| 620 | /-- The native low-atom map contains a constructed smooth extension of actual matrix inversion. -/ |
| 621 | theorem exists_smooth_native_low_atom_extension |
| 622 | (F : iota → SmoothField (n := n) (M := M)) {a : M} {K : Set M} |
| 623 | (C : Cutoffs (n := n) a K) (g0 : RiemannianMetric n M) |
| 624 | (hF : ∀ (x : M) (v : TangentSpace (𝓡 n) x), |
| 625 | (∑ a, g0.inner x (F a x) v • F a x) = v) |
| 626 | (p : Expr (Fin n ⊕ iota) n) (m : ℕ) : |
| 627 | ∃ delta : ℝ, 0 < delta ∧ |
| 628 | ∃ Phi : NativeProbeContinuous (M := M) (iota := iota) m → C(M, LowAtom p m → ℝ), |
| 629 | ContDiff ℝ ∞ Phi ∧ |
| 630 | ∀ Q : NativeProbeContinuous (M := M) (iota := iota) m, ‖Q‖ < delta → |
| 631 | ∀ g : RiemannianMetric n M, |
| 632 | (∀ ab w (hw : w.length ≤ m) x, |
| 633 | Q ab (wordIndex w hw) x = directionalWord F w (probeDifference F g g0 ab) x) → |
| 634 | ∀ x b, Phi Q x b = |
| 635 | nativeValues (combinedFields F C) (compatibleMatrix C g0 g) x b.val.val := by |
| 636 | obtain ⟨delta, hdelta, Inv, hInv, hInvEq⟩ := |
| 637 | exists_smooth_native_inverse_extension F C g0 m |
| 638 | refine ⟨delta, hdelta, |
| 639 | lowAtomTupleContinuous F C g0 p m Inv, |
| 640 | contDiff_lowAtomTupleContinuous F C g0 p m Inv hInv, ?_⟩ |
| 641 | intro Q hQsmall g hQ x b |
| 642 | exact lowAtomTupleContinuous_eq F C g0 hF p m Inv Q g hQ (hInvEq Q hQsmall) x b |
| 643 | |
| 644 | /-- Centering the actual inverse extension makes the entire top coefficient vanish at zero. -/ |
| 645 | theorem exists_smooth_native_inverse_difference |
| 646 | (F : iota → SmoothField (n := n) (M := M)) {a : M} {K : Set M} |
| 647 | (C : Cutoffs (n := n) a K) (g0 : RiemannianMetric n M) |
| 648 | (hF : ∀ (x : M) (v : TangentSpace (𝓡 n) x), |
| 649 | (∑ a, g0.inner x (F a x) v • F a x) = v) (m : ℕ) : |
| 650 | ∃ delta : ℝ, 0 < delta ∧ |
| 651 | ∃ A : NativeProbeContinuous (M := M) (iota := iota) m → |
| 652 | C(M, Matrix (Fin n) (Fin n) ℝ), |
| 653 | ContDiff ℝ ∞ A ∧ A 0 = 0 ∧ |
| 654 | ∀ Q : NativeProbeContinuous (M := M) (iota := iota) m, ‖Q‖ < delta → |
| 655 | ∀ g : RiemannianMetric n M, |
| 656 | (∀ ab w (hw : w.length ≤ m) x, |
| 657 | Q ab (wordIndex w hw) x = directionalWord F w (probeDifference F g g0 ab) x) → |
| 658 | ∀ x, A Q x = (C.matrix g x)⁻¹ - (C.matrix g0 x)⁻¹ := by |
| 659 | obtain ⟨delta, hdelta, Inv, hInv, hInvEq⟩ := |
| 660 | exists_smooth_native_inverse_extension F C g0 m |
| 661 | let A : NativeProbeContinuous (M := M) (iota := iota) m → |
| 662 | C(M, Matrix (Fin n) (Fin n) ℝ) := fun Q => |
| 663 | Inv (matrixValueContinuous F C g0 Q) - Inv (backgroundMatrixContinuous C g0) |
| 664 | have hzero : matrixValueContinuous F C g0 |
| 665 | (0 : NativeProbeContinuous (M := M) (iota := iota) m) = |
| 666 | backgroundMatrixContinuous C g0 := by |
| 667 | simp only [matrixValueContinuous, map_zero, add_zero] |
| 668 | refine ⟨delta, hdelta, A, |
| 669 | (hInv.comp (contDiff_matrixValueContinuous F C g0)).sub contDiff_const, ?_, ?_⟩ |
| 670 | · change Inv (matrixValueContinuous F C g0 0) - Inv (backgroundMatrixContinuous C g0) = 0 |
| 671 | rw [hzero, sub_self] |
| 672 | · intro Q hQsmall g hQ x |
| 673 | have hbg := hInvEq 0 (by simpa only [norm_zero] using hdelta) x |
| 674 | rw [hzero] at hbg |
| 675 | change Inv (matrixValueContinuous F C g0 Q) x - Inv (backgroundMatrixContinuous C g0) x = _ |
| 676 | rw [hInvEq Q hQsmall x, hbg, matrixValueContinuous_eq F C g0 hF Q g hQ x] |
| 677 | rfl |
| 678 | |
| 679 | /-- Actual native probes construct the whole finite expression, including its inverse entries. -/ |
| 680 | theorem exists_smooth_native_jet_action |
| 681 | (F : iota → SmoothField (n := n) (M := M)) {a : M} {K : Set M} |
| 682 | (C : Cutoffs (n := n) a K) (g0 : RiemannianMetric n M) |
| 683 | (hF : ∀ (x : M) (v : TangentSpace (𝓡 n) x), |
| 684 | (∑ a, g0.inner x (F a x) v • F a x) = v) |
| 685 | (p : Expr (Fin n ⊕ iota) n) (m k : ℕ) |
| 686 | (hp : p.degree ≤ 2 * m) (hk : p.metricOrder false ≤ k) : |
| 687 | ∃ delta : ℝ, 0 < delta ∧ |
| 688 | ∃ Phi : (NativeProbeContinuous (M := M) (iota := iota) m × |
| 689 | NativeProbeL2 (iota := iota) μ k) → Lp ℝ 2 μ, |
| 690 | ContDiff ℝ ∞ Phi ∧ |
| 691 | ∀ Q : NativeProbeContinuous (M := M) (iota := iota) m, ‖Q‖ < delta → |
| 692 | ∀ H : NativeProbeL2 (iota := iota) μ k, ∀ g : RiemannianMetric n M, |
| 693 | (∀ ab w (hw : w.length ≤ m) x, |
| 694 | Q ab (wordIndex w hw) x = directionalWord F w (probeDifference F g g0 ab) x) → |
| 695 | (∀ ab w (hw : w.length ≤ k), |
| 696 | H ab (wordIndex w hw) =ᵐ[μ] directionalWord F w (probeDifference F g g0 ab)) → |
| 697 | Phi (Q, H) =ᵐ[μ] fun x => |
| 698 | p.eval (nativeValues (combinedFields F C) (compatibleMatrix C g0 g) x) := by |
| 699 | obtain ⟨delta, hdelta, low, hlow, hlowEq⟩ := |
| 700 | exists_smooth_native_low_atom_extension F C g0 hF p m |
| 701 | refine ⟨delta, hdelta, fun z => |
| 702 | finiteSpatialJetAction μ p m (low z.1, highAtomTupleL2 F C g0 μ p m k hk z.2), |
| 703 | (contDiff_finiteSpatialJetAction μ p m).comp |
| 704 | ((hlow.comp contDiff_fst).prodMk |
| 705 | ((contDiff_highAtomTupleL2 F C g0 μ p m k hk).comp contDiff_snd)), ?_⟩ |
| 706 | intro Q hQsmall H g hQ hH |
| 707 | apply finiteSpatialJetAction_ae_eq_eval μ p m hp |
| 708 | (low Q, highAtomTupleL2 F C g0 μ p m k hk H) |
| 709 | (fun x => nativeValues (combinedFields F C) (compatibleMatrix C g0 g) x) |
| 710 | · intro x |
| 711 | funext b |
| 712 | exact (hlowEq Q hQsmall g hQ x b).symm |
| 713 | · exact (highAtomTupleL2_ae_eq F C g0 μ hF p m k hk H g hH).symm |
| 714 | |
| 715 | /-- The fixed-background metric specialization supplies its own smooth invertible native jets. -/ |
| 716 | theorem exists_smooth_compatible_ordered_lower_forcing_extension (hT : 0 ≤ T) |
| 717 | (F : iota → SmoothField (n := n) (M := M)) {a : M} {K : Set M} |
| 718 | (C : Cutoffs (n := n) a K) (g0 : RiemannianMetric n M) |
| 719 | (i j : Fin n) (word : List iota) (r : ℕ) (hword : word.length ≤ 2 * r) |
| 720 | (u : TimePath C(M, LowAtom |
| 721 | ((lowerPerturbationExpr (Sum.inl : Fin n → Fin n ⊕ iota) i j).orderedDerivative |
| 722 | (word.map Sum.inr)) (r + 1) → ℝ) T) : |
| 723 | ∃ epsilon : ℝ, 0 < epsilon ∧ |
| 724 | ∃ Phi : (TimePath C(M, LowAtom |
| 725 | ((lowerPerturbationExpr (Sum.inl : Fin n → Fin n ⊕ iota) i j).orderedDerivative |
| 726 | (word.map Sum.inr)) (r + 1) → ℝ) T × |
| 727 | TimeL2 (Lp (HighAtom |
| 728 | ((lowerPerturbationExpr (Sum.inl : Fin n → Fin n ⊕ iota) i j).orderedDerivative |
| 729 | (word.map Sum.inr)) (r + 1) → ℝ) 2 μ) T) → TimeL2 (Lp ℝ 2 μ) T, |
| 730 | ContDiff ℝ ∞ Phi ∧ ∀ v, ‖v - u‖ < epsilon → |
| 731 | ∀ Q : TimeL2 (Lp (HighAtom |
| 732 | ((lowerPerturbationExpr (Sum.inl : Fin n → Fin n ⊕ iota) i j).orderedDerivative |
| 733 | (word.map Sum.inr)) (r + 1) → ℝ) 2 μ) T, |
| 734 | ∀ g : ℝ → RiemannianMetric n M, |
| 735 | (∀ t (ht : t ∈ Icc (0 : ℝ) T) x, |
| 736 | (fun b : LowAtom |
| 737 | ((lowerPerturbationExpr (Sum.inl : Fin n → Fin n ⊕ iota) i j).orderedDerivative |
| 738 | (word.map Sum.inr)) (r + 1) => |
| 739 | nativeValues (combinedFields F C) (compatibleMatrix C g0 (g t)) x b.val.val) = |
| 740 | v ⟨t, ht⟩ x) → |
| 741 | (∀ᵐ t ∂timeMeasure T, ∀ _ht : t ∈ Icc (0 : ℝ) T, |
| 742 | (fun x => fun b : HighAtom |
| 743 | ((lowerPerturbationExpr (Sum.inl : Fin n → Fin n ⊕ iota) i j).orderedDerivative |
| 744 | (word.map Sum.inr)) (r + 1) => |
| 745 | nativeValues (combinedFields F C) (compatibleMatrix C g0 (g t)) x b.val.val) =ᵐ[μ] |
| 746 | Q t) → |
| 747 | ∀ᵐ t ∂timeMeasure T, ∀ ht : t ∈ Icc (0 : ℝ) T, |
| 748 | Phi (v, Q) t =ᵐ[μ] fun x => |
| 749 | directionalWord F word (fun y => |
| 750 | lowerJetContraction (C.matrix (g t) y)⁻¹ (C.jet g0 y).second i j + |
| 751 | lowerJetSource (C.jet g0 y) (backgroundLowerJet (C.jet (g t) y)) i j) x := by |
| 752 | let p := (lowerPerturbationExpr (Sum.inl : Fin n → Fin n ⊕ iota) i j).orderedDerivative |
| 753 | (word.map Sum.inr) |
| 754 | have hp : p.degree ≤ 2 * (r + 1) := by |
| 755 | have h := degree_ordered_lowerPerturbationExpr_le |
| 756 | (Sum.inl : Fin n → Fin n ⊕ iota) i j (word.map Sum.inr) |
| 757 | simp only [List.length_map] at h |
| 758 | exact h.trans (by omega) |
| 759 | obtain ⟨epsilon, hepsilon, Phi, hPhi, hEq⟩ := |
| 760 | exists_smooth_finite_jet_forcing_extension μ hT p (r + 1) u |
| 761 | refine ⟨epsilon, hepsilon, Phi, hPhi, ?_⟩ |
| 762 | intro v hv Q g hLow hHigh |
| 763 | have hEval := finite_jet_forcing_ae_eq_eval μ p (r + 1) hp v Q |
| 764 | (fun t x => nativeValues (combinedFields F C) (compatibleMatrix C g0 (g t)) x) |
| 765 | hLow hHigh |
| 766 | filter_upwards [hEq v hv Q, hEval] with t ht heval |
| 767 | intro htmem |
| 768 | filter_upwards [ht htmem, heval htmem] with x hx hvalue |
| 769 | exact hx.trans (hvalue.trans |
| 770 | (ordered_lowerPerturbationExpr_compatible F C g0 (g t) i j word x)) |
| 771 | |
| 772 | end NativeLowerSource |
| 773 | |
| 774 | end PoincareMT.DeTurckMetricProducerNative |