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/DeTurckStatePullbackContinuityNative.lean` at |
| 2 | f927d9e1f0810042766d3b5f64d3f4da02ee93cc. See |
| 3 | `references/ricci-flow/mapher/local-theory/port.json`. -/ |
| 4 | |
| 5 | import PoincareLib.Geometry.RicciFlow.Local.DeTurck.Gauge.DeTurckStatePullback |
| 6 | import PoincareLib.Geometry.RicciFlow.Local.DeTurck.Forcing.DeTurckParameterBackground |
| 7 | import PoincareLib.Analysis.Parabolic.Quasilinear.Heat.SpectralLpOperator |
| 8 | import Mathlib.MeasureTheory.Integral.DominatedConvergence |
| 9 | |
| 10 | /-! |
| 11 | Strong continuity of the actual even-level tensor pullback. The finite |
| 12 | coefficient maps vary continuously in operator norm, while composition |
| 13 | with a diffeomorphism is used only in the strong operator topology. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | set_option maxHeartbeats 1800000 |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | noncomputable section |
| 21 | |
| 22 | open MeasureTheory Set Filter |
| 23 | open scoped Manifold ContDiff Bundle Topology BigOperators ENNReal |
| 24 | |
| 25 | namespace PoincareMT.DeTurckStatePullbackContinuityNative |
| 26 | |
| 27 | open TensorProbeNative TensorHilbertNative ParsevalTensorNative ChartMeasureNative |
| 28 | DeTurckJetCoordinatesNative DeTurckJetAffineNative DeTurckMetricDomainNative |
| 29 | DeTurckCompletedOutputNative DeTurckStatePullbackNative |
| 30 | DeTurckParameterBackgroundNative ChartLpNative SpectralHeatNative |
| 31 | |
| 32 | variable {n : ℕ} {M P : Type*} [TopologicalSpace M] |
| 33 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 34 | [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 35 | |
| 36 | local notation "E" => EuclideanSpace ℝ (Fin n) |
| 37 | local notation "I" => 𝓡 n |
| 38 | |
| 39 | theorem contMDiffOn_transportedField {U : Set P} |
| 40 | (Phi : P → Diffeomorph I I M M ∞) |
| 41 | (hPhi : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 42 | (fun q : P × M => Phi q.1 q.2) (U ×ˢ univ)) |
| 43 | (hInv : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 44 | (fun q : P × M => (Phi q.1).symm q.2) (U ×ˢ univ)) |
| 45 | (V : SmoothField (n := n) (M := M)) : |
| 46 | ContMDiffOn (𝓘(ℝ, P).prod I) ((𝓡 n).prod 𝓘(ℝ, E)) ∞ |
| 47 | (fun q : P × M => (⟨q.2, transportedField (Phi q.1) V q.2⟩ : TangentBundle I M)) |
| 48 | (U ×ˢ univ) := by |
| 49 | have h := (contMDiffOn_parameter_pushforward Phi hPhi V).comp |
| 50 | (contMDiffOn_fst.prodMk hInv) (fun q hq => ⟨hq.1, mem_univ _⟩) |
| 51 | apply h.congr |
| 52 | intro q _ |
| 53 | have heq := transportedField_apply (Phi q.1) V ((Phi q.1).symm q.2) |
| 54 | rw [(Phi q.1).apply_symm_apply] at heq |
| 55 | simp only [Function.comp_def, heq] |
| 56 | exact Bundle.TotalSpace.ext ((Phi q.1).apply_symm_apply q.2).symm HEq.rfl |
| 57 | |
| 58 | variable [T2Space M] [CompactSpace M] {g0 : RiemannianMetric n M} (d : Data g0) |
| 59 | |
| 60 | theorem contMDiffOn_transportCoefficient {U : Set P} |
| 61 | (Phi : P → Diffeomorph I I M M ∞) |
| 62 | (hPhi : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 63 | (fun q : P × M => Phi q.1 q.2) (U ×ˢ univ)) |
| 64 | (hInv : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 65 | (fun q : P × M => (Phi q.1).symm q.2) (U ×ˢ univ)) |
| 66 | (i a : Fin d.fieldCount) : |
| 67 | ContMDiffOn (𝓘(ℝ, P).prod I) 𝓘(ℝ, ℝ) ∞ |
| 68 | (fun q : P × M => transportCoefficient d (Phi q.1) i a q.2) (U ×ˢ univ) := by |
| 69 | have hsnd : ContMDiff (𝓘(ℝ, P).prod (𝓡 n)) (𝓡 n) ∞ |
| 70 | (Prod.snd : P × M → M) := contMDiff_snd |
| 71 | have hg := (g0.contMDiff.comp hsnd).contMDiffOn (s := U ×ˢ univ) |
| 72 | have hF := ((d.fields a).contMDiff.comp hsnd).contMDiffOn (s := U ×ˢ univ) |
| 73 | have hG := contMDiffOn_transportedField Phi hPhi hInv (d.fields i) |
| 74 | have hpair := ContMDiffOn.clm_bundle_apply₂ |
| 75 | (F₁ := E) (F₂ := E) (F₃ := ℝ) |
| 76 | (E₁ := TangentSpace I) (E₂ := TangentSpace I) (E₃ := fun _ : M => ℝ) |
| 77 | (b := Prod.snd) (ψ := fun q : P × M => g0.inner q.2) hg hF hG |
| 78 | intro q hq |
| 79 | exact (Bundle.contMDiffWithinAt_totalSpace.mp (hpair q hq)).2 |
| 80 | |
| 81 | /-- A coefficient family retains global spatial smoothness for every parameter. -/ |
| 82 | structure CoefficientFamily (U : Set P) where |
| 83 | toFun : P × M → ℝ |
| 84 | slice_smooth : ∀ p, ContMDiff I 𝓘(ℝ, ℝ) ∞ (fun x => toFun (p, x)) |
| 85 | joint_smooth : ContMDiffOn (𝓘(ℝ, P).prod I) 𝓘(ℝ, ℝ) ∞ toFun (U ×ˢ univ) |
| 86 | |
| 87 | def coefficientProduct {U : Set P} |
| 88 | (c e : CoefficientFamily (n := n) (M := M) U) : CoefficientFamily (n := n) (M := M) U where |
| 89 | toFun q := c.toFun q * e.toFun q |
| 90 | slice_smooth p := (c.slice_smooth p).mul (e.slice_smooth p) |
| 91 | joint_smooth := c.joint_smooth.mul e.joint_smooth |
| 92 | |
| 93 | def coefficientDirectional {U : Set P} (i : Fin d.fieldCount) |
| 94 | (c : CoefficientFamily (n := n) (M := M) U) : CoefficientFamily (n := n) (M := M) U where |
| 95 | toFun q := scalarDirectional (d.fields i) (fun x => c.toFun (q.1, x)) q.2 |
| 96 | slice_smooth p := contMDiff_directional (c.slice_smooth p) (d.fields i) |
| 97 | joint_smooth := contMDiffOn_parameter_directional c.toFun c.joint_smooth (d.fields i) |
| 98 | |
| 99 | structure PullbackTermFamily (U : Set P) where |
| 100 | coefficient : CoefficientFamily (n := n) (M := M) U |
| 101 | word : List (Fin d.fieldCount) |
| 102 | |
| 103 | def termAt {U : Set P} (p : P) (t : PullbackTermFamily d U) : |
| 104 | DirectionalTerm (n := n) (M := M) (iota := Fin d.fieldCount) := |
| 105 | ⟨fun x => t.coefficient.toFun (p, x), t.coefficient.slice_smooth p, t.word⟩ |
| 106 | |
| 107 | def termsAt {U : Set P} (p : P) (ts : List (PullbackTermFamily d U)) : |
| 108 | List (DirectionalTerm (n := n) (M := M) (iota := Fin d.fieldCount)) := |
| 109 | ts.map (termAt d p) |
| 110 | |
| 111 | def familyScale {U : Set P} (c : CoefficientFamily (n := n) (M := M) U) |
| 112 | (ts : List (PullbackTermFamily d U)) : List (PullbackTermFamily d U) := |
| 113 | ts.map (fun t => ⟨coefficientProduct c t.coefficient, t.word⟩) |
| 114 | |
| 115 | def familyDifferentiate {U : Set P} (i : Fin d.fieldCount) |
| 116 | (ts : List (PullbackTermFamily d U)) : List (PullbackTermFamily d U) := |
| 117 | ts.flatMap (fun t => [⟨coefficientDirectional d i t.coefficient, t.word⟩, |
| 118 | ⟨t.coefficient, i :: t.word⟩]) |
| 119 | |
| 120 | def familyExpand {U : Set P} |
| 121 | (c : Fin d.fieldCount → Fin d.fieldCount → CoefficientFamily (n := n) (M := M) U) |
| 122 | (i : Fin d.fieldCount) (ts : List (PullbackTermFamily d U)) : |
| 123 | List (PullbackTermFamily d U) := |
| 124 | Finset.univ.toList.flatMap (fun a => familyScale d (c i a) (familyDifferentiate d a ts)) |
| 125 | |
| 126 | theorem termsAt_scale {U : Set P} (p : P) |
| 127 | (c : CoefficientFamily (n := n) (M := M) U) (ts : List (PullbackTermFamily d U)) : |
| 128 | termsAt d p (familyScale d c ts) = |
| 129 | scaleTerms (fun x => c.toFun (p, x)) (c.slice_smooth p) (termsAt d p ts) := by |
| 130 | simp only [termsAt, familyScale, scaleTerms, List.map_map] |
| 131 | rfl |
| 132 | |
| 133 | theorem termsAt_differentiate {U : Set P} (p : P) (i : Fin d.fieldCount) |
| 134 | (ts : List (PullbackTermFamily d U)) : |
| 135 | termsAt d p (familyDifferentiate d i ts) = |
| 136 | differentiateDirectionalTerms d.fields i (termsAt d p ts) := by |
| 137 | simp only [termsAt, familyDifferentiate, differentiateDirectionalTerms, |
| 138 | List.map_flatMap, List.flatMap_map, List.map_cons, List.map_nil] |
| 139 | rfl |
| 140 | |
| 141 | theorem termsAt_expand {U : Set P} (p : P) |
| 142 | (c : Fin d.fieldCount → Fin d.fieldCount → CoefficientFamily (n := n) (M := M) U) |
| 143 | (i : Fin d.fieldCount) (ts : List (PullbackTermFamily d U)) : |
| 144 | termsAt d p (familyExpand d c i ts) = |
| 145 | expandedDerivative d.fields (fun j a x => (c j a).toFun (p, x)) |
| 146 | (fun j a => (c j a).slice_smooth p) i (termsAt d p ts) := by |
| 147 | simp only [termsAt, familyExpand, expandedDerivative, List.map_flatMap] |
| 148 | congr 1 |
| 149 | funext a |
| 150 | exact (termsAt_scale d p (c i a) (familyDifferentiate d a ts)).trans |
| 151 | (congrArg (scaleTerms (fun x => (c i a).toFun (p, x)) ((c i a).slice_smooth p)) |
| 152 | (termsAt_differentiate d p a ts)) |
| 153 | |
| 154 | def familyWords {U : Set P} |
| 155 | (c : Fin d.fieldCount → Fin d.fieldCount → CoefficientFamily (n := n) (M := M) U) |
| 156 | (seed : CoefficientFamily (n := n) (M := M) U) : |
| 157 | List (Fin d.fieldCount) → List (PullbackTermFamily d U) |
| 158 | | [] => [⟨seed, []⟩] |
| 159 | | i :: w => familyExpand d c i (familyWords c seed w) |
| 160 | |
| 161 | theorem termsAt_words {U : Set P} (p : P) |
| 162 | (c : Fin d.fieldCount → Fin d.fieldCount → CoefficientFamily (n := n) (M := M) U) |
| 163 | (seed : CoefficientFamily (n := n) (M := M) U) (w : List (Fin d.fieldCount)) : |
| 164 | termsAt d p (familyWords d c seed w) = |
| 165 | weightedWordTerms d.fields (fun j a x => (c j a).toFun (p, x)) |
| 166 | (fun j a => (c j a).slice_smooth p) |
| 167 | (fun x => seed.toFun (p, x)) (seed.slice_smooth p) w := by |
| 168 | induction w with |
| 169 | | nil => rfl |
| 170 | | cons i w ih => rw [familyWords, termsAt_expand, ih, weightedWordTerms] |
| 171 | |
| 172 | theorem familyWords_order {U : Set P} |
| 173 | (c : Fin d.fieldCount → Fin d.fieldCount → CoefficientFamily (n := n) (M := M) U) |
| 174 | (seed : CoefficientFamily (n := n) (M := M) U) (w : List (Fin d.fieldCount)) : |
| 175 | ∀ t ∈ familyWords d c seed w, t.word.length ≤ w.length := by |
| 176 | intro t ht |
| 177 | have hm : termAt d (0 : P) t ∈ termsAt d (0 : P) (familyWords d c seed w) := |
| 178 | List.mem_map.mpr ⟨t, ht, rfl⟩ |
| 179 | rw [termsAt_words] at hm |
| 180 | exact weightedWordTerms_order d.fields (fun j a x => (c j a).toFun (0, x)) |
| 181 | (fun j a => (c j a).slice_smooth 0) |
| 182 | (fun x => seed.toFun (0, x)) (seed.slice_smooth 0) w _ hm |
| 183 | |
| 184 | def transportFamily {U : Set P} (Phi : P → Diffeomorph I I M M ∞) |
| 185 | (hPhi : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 186 | (fun q : P × M => Phi q.1 q.2) (U ×ˢ univ)) |
| 187 | (hInv : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 188 | (fun q : P × M => (Phi q.1).symm q.2) (U ×ˢ univ)) |
| 189 | (i a : Fin d.fieldCount) : CoefficientFamily (n := n) (M := M) U where |
| 190 | toFun q := transportCoefficient d (Phi q.1) i a q.2 |
| 191 | slice_smooth p := transportCoefficient_contMDiff d (Phi p) i a |
| 192 | joint_smooth := contMDiffOn_transportCoefficient d Phi hPhi hInv i a |
| 193 | |
| 194 | def pullbackTermFamilies {U : Set P} (Phi : P → Diffeomorph I I M M ∞) |
| 195 | (hPhi : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 196 | (fun q : P × M => Phi q.1 q.2) (U ×ˢ univ)) |
| 197 | (hInv : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 198 | (fun q : P × M => (Phi q.1).symm q.2) (U ×ˢ univ)) |
| 199 | (ab cd : d.ProbeIndex) (w : List (Fin d.fieldCount)) : List (PullbackTermFamily d U) := |
| 200 | familyWords d (transportFamily d Phi hPhi hInv) |
| 201 | (coefficientProduct (transportFamily d Phi hPhi hInv ab.1 cd.1) |
| 202 | (transportFamily d Phi hPhi hInv ab.2 cd.2)) w |
| 203 | |
| 204 | theorem termsAt_pullbackTermFamilies {U : Set P} (Phi : P → Diffeomorph I I M M ∞) |
| 205 | (hPhi : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 206 | (fun q : P × M => Phi q.1 q.2) (U ×ˢ univ)) |
| 207 | (hInv : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 208 | (fun q : P × M => (Phi q.1).symm q.2) (U ×ˢ univ)) |
| 209 | (ab cd : d.ProbeIndex) (w : List (Fin d.fieldCount)) (p : P) : |
| 210 | termsAt d p (pullbackTermFamilies d Phi hPhi hInv ab cd w) = |
| 211 | pullbackTerms d (Phi p) ab cd w := |
| 212 | termsAt_words d p _ _ w |
| 213 | |
| 214 | theorem termsAt_order {U : Set P} (p : P) (ts : List (PullbackTermFamily d U)) |
| 215 | {k : ℕ} (horder : ∀ t ∈ ts, t.word.length ≤ k) : |
| 216 | ∀ t ∈ termsAt d p ts, t.word.length ≤ k := by |
| 217 | intro t ht |
| 218 | obtain ⟨q, hq, rfl⟩ := List.mem_map.mp ht |
| 219 | exact horder q hq |
| 220 | |
| 221 | variable [MeasurableSpace M] [BorelSpace M] |
| 222 | |
| 223 | theorem continuousOn_coefficientL2 {U : Set P} (hU : IsOpen U) |
| 224 | (c : CoefficientFamily (n := n) (M := M) U) : |
| 225 | ContinuousOn (fun p => coefficientL2 d.charts.measure |
| 226 | (fun x => c.toFun (p, x)) (c.slice_smooth p)) U := by |
| 227 | have hc := ContinuousMap.continuousOn_mkD_of_uncurry |
| 228 | (fun p x => c.toFun (p, x)) 0 c.joint_smooth.continuousOn |
| 229 | have heq (p : P) : ContinuousMap.mkD (fun x => c.toFun (p, x)) 0 = |
| 230 | (⟨fun x => c.toFun (p, x), (c.slice_smooth p).continuous⟩ : C(M, ℝ)) := |
| 231 | ContinuousMap.mkD_of_continuous (c.slice_smooth p).continuous |
| 232 | have hs : ContinuousOn (fun p => |
| 233 | (⟨fun x => c.toFun (p, x), (c.slice_smooth p).continuous⟩ : C(M, ℝ))) U := by |
| 234 | simpa only [heq] using hc |
| 235 | exact ((ContinuousLinearMap.mul ℝ ℝ).holderL d.charts.measure (⊤ : ENNReal) 2 2).continuous.comp_continuousOn |
| 236 | ((ContinuousMap.toLp (⊤ : ENNReal) d.charts.measure ℝ).continuous.comp_continuousOn hs) |
| 237 | |
| 238 | /-- A fixed finite list has continuous completed coefficients in operator norm. -/ |
| 239 | theorem continuousOn_termsAtL2 {U : Set P} (hU : IsOpen U) |
| 240 | (ts : List (PullbackTermFamily d U)) {k : ℕ} |
| 241 | (horder : ∀ t ∈ ts, t.word.length ≤ k) : |
| 242 | ContinuousOn (fun p => termsL2 d.charts.measure (termsAt d p ts) |
| 243 | (termsAt_order d p ts horder)) U := by |
| 244 | induction ts with |
| 245 | | nil => exact continuousOn_const |
| 246 | | cons t ts ih => |
| 247 | change ContinuousOn (fun p => |
| 248 | (coefficientL2 d.charts.measure (fun x => t.coefficient.toFun (p, x)) |
| 249 | (t.coefficient.slice_smooth p)).comp |
| 250 | (ContinuousLinearMap.proj (wordIndex t.word (horder t List.mem_cons_self))) + |
| 251 | termsL2 d.charts.measure (termsAt d p ts) |
| 252 | (termsAt_order d p ts (fun s hs => horder s (List.mem_cons_of_mem t hs)))) U |
| 253 | exact ((continuousOn_coefficientL2 d hU t.coefficient).clm_comp continuousOn_const).add |
| 254 | (ih (fun s hs => horder s (List.mem_cons_of_mem t hs))) |
| 255 | |
| 256 | theorem continuousOn_pullbackTermsL2 {U : Set P} (hU : IsOpen U) |
| 257 | (Phi : P → Diffeomorph I I M M ∞) |
| 258 | (hPhi : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 259 | (fun q : P × M => Phi q.1 q.2) (U ×ˢ univ)) |
| 260 | (hInv : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 261 | (fun q : P × M => (Phi q.1).symm q.2) (U ×ˢ univ)) |
| 262 | (k : ℕ) (ab cd : d.ProbeIndex) (w : List (Fin d.fieldCount)) (hw : w.length ≤ k) : |
| 263 | ContinuousOn (fun p => termsL2 d.charts.measure (pullbackTerms d (Phi p) ab cd w) |
| 264 | (fun t ht => (pullbackTerms_order d (Phi p) ab cd w t ht).trans hw)) U := by |
| 265 | let ts := pullbackTermFamilies d Phi hPhi hInv ab cd w |
| 266 | have ho : ∀ t ∈ ts, t.word.length ≤ k := |
| 267 | fun t ht => (familyWords_order d _ _ w t ht).trans hw |
| 268 | have hc := continuousOn_termsAtL2 d hU ts ho |
| 269 | have heq (p : P) : termsL2 d.charts.measure (termsAt d p ts) (termsAt_order d p ts ho) = |
| 270 | termsL2 d.charts.measure (pullbackTerms d (Phi p) ab cd w) |
| 271 | (fun t ht => (pullbackTerms_order d (Phi p) ab cd w t ht).trans hw) := by |
| 272 | congr 1 |
| 273 | exact termsAt_pullbackTermFamilies d Phi hPhi hInv ab cd w p |
| 274 | simpa only [heq] using hc |
| 275 | |
| 276 | theorem continuousOn_pullbackWordBefore {U : Set P} (hU : IsOpen U) |
| 277 | (Phi : P → Diffeomorph I I M M ∞) |
| 278 | (hPhi : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 279 | (fun q : P × M => Phi q.1 q.2) (U ×ˢ univ)) |
| 280 | (hInv : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 281 | (fun q : P × M => (Phi q.1).symm q.2) (U ×ˢ univ)) |
| 282 | (k : ℕ) (ab : d.ProbeIndex) (w : List (Fin d.fieldCount)) (hw : w.length ≤ k) : |
| 283 | ContinuousOn (fun p => pullbackWordBefore d (Phi p) k ab w hw) U := by |
| 284 | apply continuousOn_finsetSum |
| 285 | intro cd _ |
| 286 | exact (continuousOn_pullbackTermsL2 d hU Phi hPhi hInv k ab cd w hw).clm_comp |
| 287 | continuousOn_const |
| 288 | |
| 289 | section StrongAction |
| 290 | |
| 291 | variable {U N : Set P} (hU : IsOpen U) (hNU : N ⊆ U) |
| 292 | (Phi : P → Diffeomorph (𝓡 n) (𝓡 n) M M ∞) |
| 293 | (hPhi : ContMDiffOn (𝓘(ℝ, P).prod (𝓡 n)) (𝓡 n) ∞ |
| 294 | (fun q : P × M => Phi q.1 q.2) (U ×ˢ univ)) |
| 295 | (hInv : ContMDiffOn (𝓘(ℝ, P).prod (𝓡 n)) (𝓡 n) ∞ |
| 296 | (fun q : P × M => (Phi q.1).symm q.2) (U ×ˢ univ)) |
| 297 | {C : ℝ≥0∞} (hC : C ≠ ⊤) |
| 298 | (hdom : ∀ p ∈ N, d.charts.measure.map (Phi p) ≤ C • d.charts.measure) |
| 299 | |
| 300 | include hU hNU hPhi hInv |
| 301 | |
| 302 | theorem continuous_pullbackTuple (k : ℕ) : |
| 303 | Continuous (fun q : N × ProbeTuples d k => |
| 304 | pullbackTuple d (Phi q.1) hC (hdom q.1 q.1.property) k q.2) := by |
| 305 | have hfamily : Continuous (fun q : N × M => Phi q.1 q.2) := |
| 306 | hPhi.continuousOn.comp_continuous |
| 307 | ((continuous_subtype_val.comp continuous_fst).prodMk continuous_snd) |
| 308 | (fun q => ⟨hNU q.1.property, mem_univ _⟩) |
| 309 | have hscalar : Continuous (fun q : N × Lp ℝ 2 d.charts.measure => |
| 310 | dominatedPullbackL2 (Phi q.1) (Phi q.1).continuous.measurable.aemeasurable |
| 311 | hC (hdom q.1 q.1.property) q.2) := |
| 312 | continuous_dominatedPullbackL2 d (fun p : N => Phi p) hC |
| 313 | (fun p => hdom p p.property) hfamily |
| 314 | simp only [pullbackTuple, ContinuousLinearMap.coe_pi', ContinuousLinearMap.comp_apply] |
| 315 | apply continuous_pi |
| 316 | intro ab |
| 317 | apply continuous_pi |
| 318 | intro w |
| 319 | have hw : (List.ofFn w.2).length ≤ k := by |
| 320 | simpa only [List.length_ofFn] using Nat.le_of_lt_succ w.1.isLt |
| 321 | have hbefore : Continuous (fun p : N => |
| 322 | pullbackWordBefore d (Phi p) k ab (List.ofFn w.2) hw) := |
| 323 | (continuousOn_pullbackWordBefore d hU Phi hPhi hInv k ab (List.ofFn w.2) hw).comp_continuous |
| 324 | continuous_subtype_val (fun p => hNU p.property) |
| 325 | have hinput : Continuous (fun q : N × ProbeTuples d k => |
| 326 | (q.1, pullbackWordBefore d (Phi q.1) k ab (List.ofFn w.2) hw q.2)) := |
| 327 | continuous_fst.prodMk ((hbefore.comp continuous_fst).clm_apply continuous_snd) |
| 328 | simpa only [Function.comp_def] using hscalar.comp hinput |
| 329 | |
| 330 | theorem continuous_evenPullback (L : FiniteChartLocalizationData d.charts) (r : ℕ) : |
| 331 | Continuous (fun q : N × State d.SymmetricIndex => |
| 332 | evenPullback d (Phi q.1) hC (hdom q.1 q.1.property) L r q.2) := by |
| 333 | have h := continuous_pullbackTuple d hU hNU Phi hPhi hInv hC hdom (2 * r) |
| 334 | have hinput : Continuous (fun q : N × State d.SymmetricIndex => |
| 335 | (q.1, nativeProbeTupleL2 d L (2 * r) (2 * r) le_rfl q.2)) := |
| 336 | continuous_fst.prodMk |
| 337 | ((nativeProbeTupleL2 d L (2 * r) (2 * r) le_rfl).continuous.comp continuous_snd) |
| 338 | have htuple := h.comp hinput |
| 339 | simpa only [evenPullback, ContinuousLinearMap.comp_apply, Function.comp_def] using |
| 340 | (evenOutput d r).continuous.comp htuple |
| 341 | |
| 342 | end StrongAction |
| 343 | |
| 344 | theorem norm_pullbackTuple_le (Phi : Diffeomorph I I M M ∞) |
| 345 | {C : ℝ≥0∞} (hC : C ≠ ⊤) (hdom : d.charts.measure.map Phi ≤ C • d.charts.measure) |
| 346 | (k : ℕ) {B : ℝ} (hB : 0 ≤ B) |
| 347 | (hbefore : ∀ (ab : d.ProbeIndex) (w : WordIndex (Fin d.fieldCount) k), |
| 348 | ‖pullbackWordBefore d Phi k ab (List.ofFn w.2) |
| 349 | (by simpa only [List.length_ofFn] using Nat.le_of_lt_succ w.1.isLt)‖ ≤ B) : |
| 350 | ‖pullbackTuple d Phi hC hdom k‖ ≤ C.toReal ^ (1 / (2 : ℝ≥0∞)).toReal * B := by |
| 351 | let K := C.toReal ^ (1 / (2 : ℝ≥0∞)).toReal |
| 352 | have hK : 0 ≤ K := Real.rpow_nonneg ENNReal.toReal_nonneg _ |
| 353 | apply ContinuousLinearMap.opNorm_le_bound _ (mul_nonneg hK hB) |
| 354 | intro Q |
| 355 | apply (pi_norm_le_iff_of_nonneg (mul_nonneg (mul_nonneg hK hB) (norm_nonneg Q))).mpr |
| 356 | intro ab |
| 357 | apply (pi_norm_le_iff_of_nonneg (mul_nonneg (mul_nonneg hK hB) (norm_nonneg Q))).mpr |
| 358 | intro w |
| 359 | have hw : (List.ofFn w.2).length ≤ k := by |
| 360 | simpa only [List.length_ofFn] using Nat.le_of_lt_succ w.1.isLt |
| 361 | change ‖dominatedPullbackL2 Phi Phi.continuous.measurable.aemeasurable hC hdom |
| 362 | (pullbackWordBefore d Phi k ab (List.ofFn w.2) hw Q)‖ ≤ _ |
| 363 | calc |
| 364 | _ ≤ K * ‖pullbackWordBefore d Phi k ab (List.ofFn w.2) hw Q‖ := |
| 365 | norm_dominatedPullbackL2_apply_le Phi Phi.continuous.measurable.aemeasurable hC hdom _ |
| 366 | _ ≤ K * (B * ‖Q‖) := mul_le_mul_of_nonneg_left |
| 367 | (((pullbackWordBefore d Phi k ab (List.ofFn w.2) hw).le_opNorm Q).trans |
| 368 | (mul_le_mul_of_nonneg_right (hbefore ab w) (norm_nonneg Q))) hK |
| 369 | _ = _ := by rw [mul_assoc] |
| 370 | |
| 371 | theorem norm_evenPullback_le (L : FiniteChartLocalizationData d.charts) |
| 372 | (Phi : Diffeomorph I I M M ∞) {C : ℝ≥0∞} (hC : C ≠ ⊤) |
| 373 | (hdom : d.charts.measure.map Phi ≤ C • d.charts.measure) (r : ℕ) |
| 374 | {B : ℝ} (hB : 0 ≤ B) |
| 375 | (hbefore : ∀ (ab : d.ProbeIndex) (w : WordIndex (Fin d.fieldCount) (2 * r)), |
| 376 | ‖pullbackWordBefore d Phi (2 * r) ab (List.ofFn w.2) |
| 377 | (by simpa only [List.length_ofFn] using Nat.le_of_lt_succ w.1.isLt)‖ ≤ B) : |
| 378 | ‖evenPullback d Phi hC hdom L r‖ ≤ |
| 379 | ‖evenOutput d r‖ * ((C.toReal ^ (1 / (2 : ℝ≥0∞)).toReal * B) * |
| 380 | ‖nativeProbeTupleL2 d L (2 * r) (2 * r) le_rfl‖) := by |
| 381 | apply ((evenOutput d r).opNorm_comp_le _).trans |
| 382 | apply mul_le_mul_of_nonneg_left _ (norm_nonneg _) |
| 383 | exact ((pullbackTuple d Phi hC hdom (2 * r)).opNorm_comp_le _).trans |
| 384 | (mul_le_mul_of_nonneg_right (norm_pullbackTuple_le d Phi hC hdom (2 * r) hB hbefore) |
| 385 | (norm_nonneg _)) |
| 386 | |
| 387 | theorem exists_locally_uniform_coefficient_bound {U : Set P} (hU : IsOpen U) (hzero : (0 : P) ∈ U) |
| 388 | (Phi : P → Diffeomorph I I M M ∞) |
| 389 | (hPhi : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 390 | (fun q : P × M => Phi q.1 q.2) (U ×ˢ univ)) |
| 391 | (hInv : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 392 | (fun q : P × M => (Phi q.1).symm q.2) (U ×ˢ univ)) (k : ℕ) : |
| 393 | ∃ B : ℝ, 0 ≤ B ∧ ∀ᶠ p in 𝓝 (0 : P), |
| 394 | ∀ (ab : d.ProbeIndex) (w : WordIndex (Fin d.fieldCount) k), |
| 395 | ‖pullbackWordBefore d (Phi p) k ab (List.ofFn w.2) |
| 396 | (by simpa only [List.length_ofFn] using Nat.le_of_lt_succ w.1.isLt)‖ ≤ B := by |
| 397 | classical |
| 398 | let b (ab : d.ProbeIndex) (w : WordIndex (Fin d.fieldCount) k) := |
| 399 | ‖pullbackWordBefore d (Phi 0) k ab (List.ofFn w.2) |
| 400 | (by simpa only [List.length_ofFn] using Nat.le_of_lt_succ w.1.isLt)‖ + 1 |
| 401 | let B : ℝ := ∑ ab : d.ProbeIndex, ∑ w : WordIndex (Fin d.fieldCount) k, b ab w |
| 402 | have hb (ab : d.ProbeIndex) (w : WordIndex (Fin d.fieldCount) k) : 0 ≤ b ab w := by |
| 403 | dsimp [b] |
| 404 | positivity |
| 405 | have hbB (ab : d.ProbeIndex) (w : WordIndex (Fin d.fieldCount) k) : b ab w ≤ B := |
| 406 | (Finset.single_le_sum (fun v _ => hb ab v) (Finset.mem_univ w)).trans |
| 407 | (Finset.single_le_sum (fun cd _ => Finset.sum_nonneg (fun v _ => hb cd v)) |
| 408 | (Finset.mem_univ ab)) |
| 409 | refine ⟨B, Finset.sum_nonneg (fun ab _ => Finset.sum_nonneg (fun w _ => hb ab w)), ?_⟩ |
| 410 | apply Filter.eventually_all.mpr |
| 411 | intro ab |
| 412 | apply Filter.eventually_all.mpr |
| 413 | intro w |
| 414 | have hw : (List.ofFn w.2).length ≤ k := by |
| 415 | simpa only [List.length_ofFn] using Nat.le_of_lt_succ w.1.isLt |
| 416 | have hc := (continuousOn_pullbackWordBefore d hU Phi hPhi hInv k ab |
| 417 | (List.ofFn w.2) hw).continuousAt (hU.mem_nhds hzero) |
| 418 | have hlt : ‖pullbackWordBefore d (Phi 0) k ab (List.ofFn w.2) hw‖ < b ab w := by |
| 419 | dsimp [b] |
| 420 | linarith |
| 421 | filter_upwards [hc.norm (Iio_mem_nhds hlt)] with p hp |
| 422 | exact hp.le.trans (hbB ab w) |
| 423 | |
| 424 | /-- Every bounded action and its common neighborhood are constructed from the smooth family. -/ |
| 425 | theorem exists_locally_uniform_evenPullback (L : FiniteChartLocalizationData d.charts) |
| 426 | {U : Set P} (hU : IsOpen U) (hzero : (0 : P) ∈ U) |
| 427 | (Phi : P → Diffeomorph I I M M ∞) (hidentity : Phi 0 = Diffeomorph.refl I M ∞) |
| 428 | (hPhi : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 429 | (fun q : P × M => Phi q.1 q.2) (U ×ˢ univ)) |
| 430 | (hInv : ContMDiffOn (𝓘(ℝ, P).prod I) I ∞ |
| 431 | (fun q : P × M => (Phi q.1).symm q.2) (U ×ˢ univ)) (r : ℕ) : |
| 432 | ∃ C : ℝ≥0∞, ∃ hC : C ≠ ⊤, ∃ V : Set P, |
| 433 | IsOpen V ∧ (0 : P) ∈ V ∧ V ⊆ U ∧ |
| 434 | ∃ hdom : ∀ p ∈ V, d.charts.measure.map (Phi p) ≤ C • d.charts.measure, |
| 435 | Continuous (fun q : V × State d.SymmetricIndex => |
| 436 | evenPullback d (Phi q.1) hC (hdom q.1 q.1.property) L r q.2) ∧ |
| 437 | ∃ K : ℝ, 0 ≤ K ∧ ∀ p : V, |
| 438 | ‖evenPullback d (Phi p) hC (hdom p p.property) L r‖ ≤ K := by |
| 439 | obtain ⟨C, hC, N, hN, hdomN⟩ := exists_locally_uniform_measure_domination d L Phi hidentity |
| 440 | (fun x => hInv.contMDiffAt ((hU.prod isOpen_univ).mem_nhds ⟨hzero, mem_univ x⟩)) |
| 441 | obtain ⟨B, hB, hbound⟩ := exists_locally_uniform_coefficient_bound d hU hzero Phi hPhi hInv (2 * r) |
| 442 | have hevent : {p | p ∈ U ∧ p ∈ N ∧ |
| 443 | ∀ (ab : d.ProbeIndex) (w : WordIndex (Fin d.fieldCount) (2 * r)), |
| 444 | ‖pullbackWordBefore d (Phi p) (2 * r) ab (List.ofFn w.2) |
| 445 | (by simpa only [List.length_ofFn] using Nat.le_of_lt_succ w.1.isLt)‖ ≤ B} ∈ 𝓝 0 := |
| 446 | Filter.inter_mem (hU.mem_nhds hzero) (Filter.inter_mem hN hbound) |
| 447 | obtain ⟨V, hVsub, hVo, h0V⟩ := mem_nhds_iff.mp hevent |
| 448 | have hVU : V ⊆ U := fun p hp => (hVsub hp).1 |
| 449 | have hdom : ∀ p ∈ V, d.charts.measure.map (Phi p) ≤ C • d.charts.measure := |
| 450 | fun p hp => hdomN p (hVsub hp).2.1 |
| 451 | refine ⟨C, hC, V, hVo, h0V, hVU, hdom, |
| 452 | continuous_evenPullback d hU hVU Phi hPhi hInv hC hdom L r, |
| 453 | ‖evenOutput d r‖ * ((C.toReal ^ (1 / (2 : ℝ≥0∞)).toReal * B) * |
| 454 | ‖nativeProbeTupleL2 d L (2 * r) (2 * r) le_rfl‖), ?_, ?_⟩ |
| 455 | · exact mul_nonneg (norm_nonneg _) |
| 456 | (mul_nonneg (mul_nonneg (Real.rpow_nonneg ENNReal.toReal_nonneg _) hB) (norm_nonneg _)) |
| 457 | · intro p |
| 458 | exact norm_evenPullback_le d L (Phi p) hC (hdom p p.property) r hB |
| 459 | (hVsub p.property).2.2 |
| 460 | |
| 461 | /-- Uniform strong state continuity transfers to the actual time L2 action. -/ |
| 462 | theorem continuous_evenPullback_timeL2 (L : FiniteChartLocalizationData d.charts) |
| 463 | (Phi : P → Diffeomorph I I M M ∞) {C : ℝ≥0∞} (hC : C ≠ ⊤) {V : Set P} |
| 464 | (hdom : ∀ p ∈ V, d.charts.measure.map (Phi p) ≤ C • d.charts.measure) (r : ℕ) |
| 465 | (hstrong : Continuous (fun q : V × State d.SymmetricIndex => |
| 466 | evenPullback d (Phi q.1) hC (hdom q.1 q.1.property) L r q.2)) |
| 467 | {K : ℝ} (hK : 0 ≤ K) |
| 468 | (hbound : ∀ p : V, ‖evenPullback d (Phi p) hC (hdom p p.property) L r‖ ≤ K) |
| 469 | (μ : Measure ℝ) : |
| 470 | Continuous (fun q : V × Lp (State d.SymmetricIndex) 2 μ => |
| 471 | (evenPullback d (Phi q.1) hC (hdom q.1 q.1.property) L r).compLpL 2 μ q.2) := by |
| 472 | let A (p : V) := evenPullback d (Phi p) hC (hdom p p.property) L r |
| 473 | apply continuous_prod_of_continuous_lipschitzWith' _ (⟨K, hK⟩ : NNReal) |
| 474 | · intro p |
| 475 | exact ContinuousLinearMap.lipschitzWith_of_opNorm_le (K := (⟨K, hK⟩ : NNReal)) |
| 476 | ((ContinuousLinearMap.norm_compLpL_le (A p)).trans (hbound p)) |
| 477 | · intro F |
| 478 | apply continuous_iff_continuousAt.mpr |
| 479 | intro p0 |
| 480 | apply tendsto_iff_norm_sub_tendsto_zero.mpr |
| 481 | let f (p : V) (t : ℝ) : ℝ := ‖A p (F t) - A p0 (F t)‖ ^ 2 |
| 482 | let b (t : ℝ) : ℝ := (K + K) ^ 2 * ‖F t‖ ^ 2 |
| 483 | have hmeas (p : V) : AEStronglyMeasurable (f p) μ := |
| 484 | (((A p).continuous.comp_aestronglyMeasurable (Lp.memLp F).aestronglyMeasurable).sub |
| 485 | ((A p0).continuous.comp_aestronglyMeasurable (Lp.memLp F).aestronglyMeasurable)).norm.pow 2 |
| 486 | have hb : Integrable b μ := |
| 487 | ((Lp.memLp F).integrable_norm_pow (by norm_num : (2 : ℕ) ≠ 0)).const_mul _ |
| 488 | have hdomf (p : V) (t : ℝ) : ‖f p t‖ ≤ b t := by |
| 489 | have hn : ‖A p (F t) - A p0 (F t)‖ ≤ (K + K) * ‖F t‖ := by |
| 490 | calc |
| 491 | _ ≤ ‖A p (F t)‖ + ‖A p0 (F t)‖ := norm_sub_le _ _ |
| 492 | _ ≤ K * ‖F t‖ + K * ‖F t‖ := add_le_add |
| 493 | (((A p).le_opNorm (F t)).trans |
| 494 | (mul_le_mul_of_nonneg_right (hbound p) (norm_nonneg _))) |
| 495 | (((A p0).le_opNorm (F t)).trans |
| 496 | (mul_le_mul_of_nonneg_right (hbound p0) (norm_nonneg _))) |
| 497 | _ = _ := (add_mul _ _ _).symm |
| 498 | change ‖‖A p (F t) - A p0 (F t)‖ ^ 2‖ ≤ _ |
| 499 | rw [Real.norm_of_nonneg (sq_nonneg _)] |
| 500 | simpa only [b, mul_pow] using pow_le_pow_left₀ (norm_nonneg _) hn 2 |
| 501 | have hlim (t : ℝ) : Tendsto (fun p => f p t) (𝓝 p0) (𝓝 (0 : ℝ)) := by |
| 502 | have hc := hstrong.comp (continuous_id.prodMk (continuous_const (y := F t))) |
| 503 | simpa only [Function.comp_def, id_eq, A, f, sub_self, norm_zero, |
| 504 | zero_pow (by norm_num : (2 : ℕ) ≠ 0)] using |
| 505 | ((hc.tendsto p0).sub_const (A p0 (F t))).norm.pow 2 |
| 506 | have hint : Tendsto (fun p => ∫ t, f p t ∂μ) (𝓝 p0) (𝓝 (0 : ℝ)) := by |
| 507 | simpa only [integral_zero] using |
| 508 | tendsto_integral_filter_of_dominated_convergence (μ := μ) b |
| 509 | (Eventually.of_forall hmeas) |
| 510 | (Eventually.of_forall (fun p => Eventually.of_forall (hdomf p))) hb |
| 511 | (Eventually.of_forall hlim) |
| 512 | have hid (p : V) : ‖(A p).compLpL 2 μ F - (A p0).compLpL 2 μ F‖ ^ 2 = |
| 513 | ∫ t, f p t ∂μ := by |
| 514 | rw [forcing_norm_sq] |
| 515 | apply integral_congr_ae |
| 516 | filter_upwards [Lp.coeFn_sub ((A p).compLpL 2 μ F) ((A p0).compLpL 2 μ F), |
| 517 | (A p).coeFn_compLpL F, (A p0).coeFn_compLpL F] with t ht hp hp0 |
| 518 | simp only [ht, Pi.sub_apply, hp, hp0, f] |
| 519 | have hsq : Tendsto (fun p => ‖(A p).compLpL 2 μ F - (A p0).compLpL 2 μ F‖ ^ 2) |
| 520 | (𝓝 p0) (𝓝 (0 : ℝ)) := by simpa only [hid] using hint |
| 521 | have hn := Real.continuous_sqrt.continuousAt.tendsto.comp hsq |
| 522 | simpa only [Function.comp_def, Real.sqrt_sq_eq_abs, abs_norm, Real.sqrt_zero] using hn |
| 523 | |
| 524 | end PoincareMT.DeTurckStatePullbackContinuityNative |
| 525 | |
| 526 | end |