Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

| 1 | import NavierStokes.WeightedRadialPrimitive |
| 2 | import NavierStokes.PressureStream |
| 3 | import NavierStokes.SmoothParameterIntegral |
| 4 | import NavierStokes.IntegratedMeanBalances |
| 5 | |
| 6 | /-! |
| 7 | # Actual slow moments of flat weighted mean fields |
| 8 | |
| 9 | The two-edge weight absorbs every fixed inverse-edge polynomial. Consequently |
| 10 | the actual derivatives of a supported mean field have global band bounds. |
| 11 | Finite torus averaging and radial integration preserve these bounds. All |
| 12 | derivatives in this file are `iteratedFDeriv` of the actual integral. |
| 13 | -/ |
| 14 | |
| 15 | namespace NavierStokes.MeanMomentBounds |
| 16 | |
| 17 | noncomputable section |
| 18 | |
| 19 | open Set Function MeasureTheory Filter |
| 20 | open scoped ContDiff Topology Interval BigOperators |
| 21 | open WeightedClasses WeightedRadialPrimitive |
| 22 | |
| 23 | variable {D E F : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 24 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 25 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 26 | |
| 27 | /-- A global finite-prefix bound, with the discrete band and slow polynomial |
| 28 | still visible. This is a proved consequence of the flat weighted class below. -/ |
| 29 | noncomputable def GlobalBandJets (ε S : ℕ → ℝ) (α : ℝ) (f : ℕ → D → E) : Prop := |
| 30 | ∀ m : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, |
| 31 | ∀ n x, ∀ j : ℕ, j ≤ m → |
| 32 | ‖iteratedFDeriv ℝ j (f n) x‖ ≤ C * (ε n) ^ α * (S n) ^ p |
| 33 | |
| 34 | omit [NormedSpace ℝ D] [NormedSpace ℝ E] in |
| 35 | theorem supported_zero_outside_open {a b : ℝ} {f : ℝ × D → E} |
| 36 | (hf : Continuous f) (hs : RadialAlias.RadiallySupported a b f) |
| 37 | {x : ℝ × D} (hx : x.1 ∉ Ioo a b) : f x = 0 := by |
| 38 | have hslice : Continuous (fun r => f (r, x.2)) := |
| 39 | hf.comp (continuous_id.prodMk continuous_const) |
| 40 | have hclosed : support (fun r => f (r, x.2)) ⊆ Icc a b := fun r hr => hs hr |
| 41 | have hopen : support (fun r => f (r, x.2)) ⊆ Ioo a b := by |
| 42 | simpa only [interior_Icc] using hslice.isOpen_support.subset_interior_iff.mpr hclosed |
| 43 | by_contra hn |
| 44 | exact hx (hopen hn) |
| 45 | |
| 46 | /-- Flatness, rather than a new global-bound hypothesis, removes the radial |
| 47 | edge loss. The input is the manuscript's concrete logarithmic mean class. -/ |
| 48 | theorem meanClass_globalBandJets |
| 49 | {a b cL cR : ℝ} (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 50 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) |
| 51 | (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f : ℕ → ℝ × D → E} |
| 52 | (hf : ∀ n, ContDiff ℝ ∞ (f n)) |
| 53 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) |
| 54 | (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) : |
| 55 | GlobalBandJets ε S α f := by |
| 56 | intro m |
| 57 | obtain ⟨C, hC, p, hb⟩ := hclass.bounds m |
| 58 | obtain ⟨B, hB, hweight⟩ := weight_uniform_bound hcL hcR (logLength a b) p |
| 59 | refine ⟨C * B, mul_nonneg hC hB, p, ?_⟩ |
| 60 | intro n x j hj |
| 61 | have hA : 0 ≤ C * (ε n) ^ α * (S n) ^ p := |
| 62 | mul_nonneg (mul_nonneg hC (Real.rpow_pos_of_pos (hε n) α).le) |
| 63 | (pow_nonneg (zero_le_one.trans (hS n)) p) |
| 64 | by_cases hx : x.1 ∈ Ioo a b |
| 65 | · have h := hb n x hx j hj |
| 66 | rw [logStrip_majorant_eq ha hcL hcR ε S hε hεone hS α C p n x hx] at h |
| 67 | calc |
| 68 | _ ≤ (C * (ε n) ^ α * (S n) ^ p) * logWeight cL cR a b p x.1 := h |
| 69 | _ ≤ (C * (ε n) ^ α * (S n) ^ p) * B := |
| 70 | mul_le_mul_of_nonneg_left (hweight _ (logPosition_mem ha hx)) hA |
| 71 | _ = _ := by ring |
| 72 | · rw [supported_zero_outside_open (TransportPrimitive.iteratedFDeriv_contDiff (hf n) j).continuous |
| 73 | (TransportPrimitive.iteratedFDeriv_supported (hs n) j) hx, norm_zero] |
| 74 | exact mul_nonneg (mul_nonneg (mul_nonneg hC hB) |
| 75 | (Real.rpow_pos_of_pos (hε n) α).le) (pow_nonneg (zero_le_one.trans (hS n)) p) |
| 76 | |
| 77 | /-- Exact higher chain rule for an affine map. -/ |
| 78 | theorem iteratedFDeriv_affine (L : D →L[ℝ] E) (v : E) {f : E → F} |
| 79 | (hf : ContDiff ℝ ∞ f) (j : ℕ) (x : D) : |
| 80 | iteratedFDeriv ℝ j (fun y => f (L y + v)) x = |
| 81 | (iteratedFDeriv ℝ j f (L x + v)).compContinuousLinearMap (fun _ => L) := by |
| 82 | have ht : ContDiff ℝ ∞ (fun y => f (y + v)) := |
| 83 | hf.comp (contDiff_id.add contDiff_const) |
| 84 | have he := L.iteratedFDeriv_comp_right ht x |
| 85 | (show (j : WithTop ℕ∞) ≤ ∞ from by exact_mod_cast (le_top : (j : ℕ∞) ≤ ⊤)) |
| 86 | simpa only [Function.comp_def, iteratedFDeriv_comp_add_right] using he |
| 87 | |
| 88 | theorem norm_iteratedFDeriv_affine_le (L : D →L[ℝ] E) (hL : ‖L‖ ≤ 1) |
| 89 | (v : E) {f : E → F} (hf : ContDiff ℝ ∞ f) (j : ℕ) (x : D) : |
| 90 | ‖iteratedFDeriv ℝ j (fun y => f (L y + v)) x‖ ≤ |
| 91 | ‖iteratedFDeriv ℝ j f (L x + v)‖ := by |
| 92 | rw [iteratedFDeriv_affine L v hf] |
| 93 | refine ((iteratedFDeriv ℝ j f (L x + v)).norm_compContinuousLinearMap_le _).trans ?_ |
| 94 | simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin] |
| 95 | exact mul_le_of_le_one_right (norm_nonneg _) (pow_le_one₀ (norm_nonneg L) hL) |
| 96 | |
| 97 | /-- The unweighted slow strip keeps precisely the same band scales. -/ |
| 98 | noncomputable def slowStripData (ε S : ℕ → ℝ) |
| 99 | (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) : |
| 100 | StripData D where |
| 101 | domain := univ |
| 102 | isOpen_domain := isOpen_univ |
| 103 | epsilon := ε |
| 104 | epsilon_pos := hε |
| 105 | epsilon_le_one := hεone |
| 106 | slow := S |
| 107 | one_le_slow := hS |
| 108 | delta := fun _ => 1 |
| 109 | delta_pos := fun _ _ => zero_lt_one |
| 110 | zeta := fun _ => 1 |
| 111 | zeta_smooth := contDiffOn_const |
| 112 | zeta_nonneg := fun _ _ => zero_le_one |
| 113 | |
| 114 | theorem globalBandJets_unweighted {ε S : ℕ → ℝ} {α : ℝ} {f : ℕ → D → E} |
| 115 | (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) |
| 116 | (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hjets : GlobalBandJets ε S α f) : |
| 117 | UnweightedClass (slowStripData (D := D) ε S hε hεone hS) α f := by |
| 118 | refine ⟨fun _ _ _ => zero_le_one, fun n => (hf n).contDiffOn, ?_⟩ |
| 119 | intro m |
| 120 | obtain ⟨C, hC, p, hb⟩ := hjets m |
| 121 | refine ⟨C, hC, p, ?_⟩ |
| 122 | intro n x _ j hj |
| 123 | simpa only [majorant, StripData.growth, slowStripData, inv_one, max_self, mul_one] |
| 124 | using hb n x j hj |
| 125 | |
| 126 | theorem globalBandJets_unweighted_log {a b cL cR : ℝ} |
| 127 | (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 128 | {ε S : ℕ → ℝ} {α : ℝ} {f : ℕ → ℝ × D → E} |
| 129 | (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) |
| 130 | (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hjets : GlobalBandJets ε S α f) : |
| 131 | UnweightedClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f := by |
| 132 | let s := logStripData (E := D) a b cL cR ha hcL hcR ε S hε hεone hS |
| 133 | refine ⟨fun _ _ _ => zero_le_one, fun n => (hf n).contDiffOn, ?_⟩ |
| 134 | intro m |
| 135 | obtain ⟨C, hC, p, hb⟩ := hjets m |
| 136 | refine ⟨C, hC, p, ?_⟩ |
| 137 | intro n x _ j hj |
| 138 | apply (hb n x j hj).trans |
| 139 | change C * (ε n) ^ α * (S n) ^ p ≤ C * (ε n) ^ α * s.growth n x ^ p * 1 |
| 140 | rw [mul_one] |
| 141 | exact mul_le_mul_of_nonneg_left |
| 142 | (pow_le_pow_left₀ (zero_le_one.trans (hS n)) (s.slow_le_growth n x) p) |
| 143 | (mul_nonneg hC (Real.rpow_pos_of_pos (hε n) α).le) |
| 144 | |
| 145 | theorem GlobalBandJets.compLinear {ε S : ℕ → ℝ} {α : ℝ} {f : ℕ → E → F} |
| 146 | (hjets : GlobalBandJets ε S α f) (hf : ∀ n, ContDiff ℝ ∞ (f n)) |
| 147 | (L : D →L[ℝ] E) (hL : ‖L‖ ≤ 1) : |
| 148 | GlobalBandJets ε S α (fun n x => f n (L x)) := by |
| 149 | intro m |
| 150 | obtain ⟨C, hC, p, hb⟩ := hjets m |
| 151 | refine ⟨C, hC, p, ?_⟩ |
| 152 | intro n x j hj |
| 153 | have h := norm_iteratedFDeriv_affine_le L hL 0 (hf n) j x |
| 154 | simp only [add_zero] at h |
| 155 | exact h.trans (hb n (L x) j hj) |
| 156 | |
| 157 | section AffineAverage |
| 158 | |
| 159 | variable [CompleteSpace F] |
| 160 | |
| 161 | /-- A finite affine average; coordinate projections and torus insertion are |
| 162 | special cases. -/ |
| 163 | noncomputable def affineAverage (L : D →L[ℝ] E) (v : E) (a b : ℝ) (f : E → F) (x : D) : F := |
| 164 | ∫ t in a..b, f (L x + t • v) |
| 165 | |
| 166 | theorem affineAverage_contDiff (L : D →L[ℝ] E) (v : E) (a b : ℝ) {f : E → F} |
| 167 | (hf : ContDiff ℝ ∞ f) : ContDiff ℝ ∞ (affineAverage L v a b f) := by |
| 168 | exact TransportPrimitive.parameterIntegral_contDiff |
| 169 | (g := fun q : D × ℝ => f (L q.1 + q.2 • v)) |
| 170 | (hf.comp ((L.contDiff.comp contDiff_fst).add (contDiff_snd.smul contDiff_const))) a b |
| 171 | |
| 172 | omit [CompleteSpace F] in |
| 173 | theorem iteratedFDeriv_affineAverage (L : D →L[ℝ] E) (hL : ‖L‖ ≤ 1) |
| 174 | (v : E) {a b : ℝ} (hab : a ≤ b) {f : E → F} (hf : ContDiff ℝ ∞ f) |
| 175 | (hb : ∀ k : ℕ, ∃ C : ℝ, ∀ x, ‖iteratedFDeriv ℝ k f x‖ ≤ C) |
| 176 | (j : ℕ) (x : D) : |
| 177 | iteratedFDeriv ℝ j (affineAverage L v a b f) x = |
| 178 | ∫ t in a..b, iteratedFDeriv ℝ j (fun y => f (L y + t • v)) x := by |
| 179 | let μ := volume.restrict (Ioc a b) |
| 180 | let g : D → ℝ → F := fun y t => f (L y + t • v) |
| 181 | have hsm : ∀ᵐ t ∂μ, ContDiff ℝ ∞ (fun y => g y t) := |
| 182 | Eventually.of_forall fun t => hf.comp (L.contDiff.add contDiff_const) |
| 183 | have hm : ∀ k y, AEStronglyMeasurable (SmoothParameterIntegral.jet g k y) μ := by |
| 184 | intro k y |
| 185 | have hc : Continuous (fun t : ℝ => |
| 186 | (iteratedFDeriv ℝ k f (L y + t • v)).compContinuousLinearMap (fun _ => L)) := |
| 187 | (ContinuousMultilinearMap.compContinuousLinearMapL (fun _ : Fin k => L)).continuous.comp |
| 188 | ((hf.continuous_iteratedFDeriv (by exact_mod_cast (le_top : (k : ℕ∞) ≤ ⊤))).comp |
| 189 | (continuous_const.add (continuous_id.smul continuous_const))) |
| 190 | have he : SmoothParameterIntegral.jet g k y = fun t : ℝ => |
| 191 | (iteratedFDeriv ℝ k f (L y + t • v)).compContinuousLinearMap (fun _ => L) := |
| 192 | funext fun t => iteratedFDeriv_affine L (t • v) hf k y |
| 193 | rw [he] |
| 194 | exact hc.aestronglyMeasurable |
| 195 | have hd : SmoothParameterIntegral.LocallyDominated g μ := by |
| 196 | intro k y |
| 197 | obtain ⟨C, hC⟩ := hb k |
| 198 | refine ⟨1, zero_lt_one, fun _ => C, ?_, Eventually.of_forall fun t z _ => ?_⟩ |
| 199 | · exact integrable_const _ |
| 200 | · exact (norm_iteratedFDeriv_affine_le L hL (t • v) hf k z).trans (hC _) |
| 201 | have he := SmoothParameterIntegral.iteratedFDeriv_integral hsm hm hd j x |
| 202 | have hg : affineAverage L v a b f = fun y => ∫ t, g y t ∂μ := by |
| 203 | funext y |
| 204 | exact intervalIntegral.integral_of_le hab |
| 205 | rw [hg] |
| 206 | simpa only [μ, g, ← intervalIntegral.integral_of_le hab] using he |
| 207 | |
| 208 | omit [CompleteSpace F] in |
| 209 | theorem affineAverage_jet_bound (L : D →L[ℝ] E) (hL : ‖L‖ ≤ 1) |
| 210 | (v : E) {a b : ℝ} (hab : a ≤ b) {f : E → F} (hf : ContDiff ℝ ∞ f) |
| 211 | (hb : ∀ k : ℕ, ∃ C : ℝ, ∀ x, ‖iteratedFDeriv ℝ k f x‖ ≤ C) |
| 212 | (j : ℕ) (x : D) (C : ℝ) |
| 213 | (hC : ∀ t ∈ Icc a b, ‖iteratedFDeriv ℝ j f (L x + t • v)‖ ≤ C) : |
| 214 | ‖iteratedFDeriv ℝ j (affineAverage L v a b f) x‖ ≤ C * (b - a) := by |
| 215 | rw [iteratedFDeriv_affineAverage L hL v hab hf hb] |
| 216 | have h := intervalIntegral.norm_integral_le_of_norm_le_const (a := a) (b := b) |
| 217 | (fun t ht => (norm_iteratedFDeriv_affine_le L hL (t • v) hf j x).trans |
| 218 | (hC t (by simpa only [uIcc_of_le hab] using uIoc_subset_uIcc ht))) |
| 219 | simpa only [abs_of_nonneg (sub_nonneg.mpr hab)] using h |
| 220 | |
| 221 | omit [CompleteSpace F] in |
| 222 | theorem GlobalBandJets.affineAverage {ε S : ℕ → ℝ} {α : ℝ} {f : ℕ → E → F} |
| 223 | (hjets : GlobalBandJets ε S α f) (hf : ∀ n, ContDiff ℝ ∞ (f n)) |
| 224 | (L : D →L[ℝ] E) (hL : ‖L‖ ≤ 1) (v : E) {a b : ℝ} (hab : a ≤ b) : |
| 225 | GlobalBandJets ε S α (fun n => affineAverage L v a b (f n)) := by |
| 226 | intro m |
| 227 | obtain ⟨C, hC, p, hb⟩ := hjets m |
| 228 | refine ⟨C * (b - a), mul_nonneg hC (sub_nonneg.mpr hab), p, ?_⟩ |
| 229 | intro n x j hj |
| 230 | have hall : ∀ k : ℕ, ∃ B : ℝ, ∀ y, ‖iteratedFDeriv ℝ k (f n) y‖ ≤ B := by |
| 231 | intro k |
| 232 | obtain ⟨B, _, q, hB⟩ := hjets k |
| 233 | exact ⟨B * (ε n) ^ α * (S n) ^ q, fun y => hB n y k le_rfl⟩ |
| 234 | have h := affineAverage_jet_bound L hL v hab (hf n) hall j x |
| 235 | (C * (ε n) ^ α * (S n) ^ p) (fun t _ => hb n _ j hj) |
| 236 | convert! h using 1; ring |
| 237 | |
| 238 | end AffineAverage |
| 239 | |
| 240 | section Torus |
| 241 | |
| 242 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 243 | |
| 244 | noncomputable def eraseAuxX : PressureStream.Lift P →L[ℝ] PressureStream.Lift P where |
| 245 | toFun x := (x.1, (x.2.1, (0, x.2.2.2))) |
| 246 | map_add' := by intros; ext <;> simp |
| 247 | map_smul' := by intros; ext <;> simp |
| 248 | cont := continuous_fst.prodMk (continuous_snd.fst.prodMk |
| 249 | (continuous_const.prodMk continuous_snd.snd.snd)) |
| 250 | |
| 251 | noncomputable def eraseAuxY : PressureStream.Lift P →L[ℝ] PressureStream.Lift P where |
| 252 | toFun x := (x.1, (x.2.1, (x.2.2.1, 0))) |
| 253 | map_add' := by intros; ext <;> simp |
| 254 | map_smul' := by intros; ext <;> simp |
| 255 | cont := continuous_fst.prodMk (continuous_snd.fst.prodMk |
| 256 | (continuous_snd.snd.fst.prodMk continuous_const)) |
| 257 | |
| 258 | theorem norm_eraseAuxX_le : ‖eraseAuxX (P := P)‖ ≤ 1 := by |
| 259 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 260 | intro x |
| 261 | change ‖(x.1, (x.2.1, (0, x.2.2.2)))‖ ≤ 1 * ‖x‖ |
| 262 | simp only [one_mul, Prod.norm_def, norm_zero] |
| 263 | exact max_le_max le_rfl (max_le_max le_rfl (max_le_max (norm_nonneg _) le_rfl)) |
| 264 | |
| 265 | theorem norm_eraseAuxY_le : ‖eraseAuxY (P := P)‖ ≤ 1 := by |
| 266 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 267 | intro x |
| 268 | change ‖(x.1, (x.2.1, (x.2.2.1, 0)))‖ ≤ 1 * ‖x‖ |
| 269 | simp only [one_mul, Prod.norm_def, norm_zero] |
| 270 | exact max_le_max le_rfl (max_le_max le_rfl (max_le_max le_rfl (norm_nonneg _))) |
| 271 | |
| 272 | noncomputable def auxX : PressureStream.Lift P := (0, (0, (1, 0))) |
| 273 | noncomputable def auxY : PressureStream.Lift P := (0, (0, (0, 1))) |
| 274 | |
| 275 | @[simp] theorem eraseAuxX_add_smul (x : PressureStream.Lift P) (t : ℝ) : |
| 276 | eraseAuxX x + t • auxX = (x.1, (x.2.1, (t, x.2.2.2))) := by |
| 277 | ext <;> simp [eraseAuxX, auxX] |
| 278 | |
| 279 | @[simp] theorem eraseAuxY_add_smul (x : PressureStream.Lift P) (t : ℝ) : |
| 280 | eraseAuxY x + t • auxY = (x.1, (x.2.1, (x.2.2.1, t))) := by |
| 281 | ext <;> simp [eraseAuxY, auxY] |
| 282 | |
| 283 | noncomputable def liftedTorusAverage (f : PressureStream.Lift P → ℝ) |
| 284 | (x : PressureStream.Lift P) : ℝ := PressureStream.torusAverage f (x.1, x.2.1) |
| 285 | |
| 286 | theorem liftedTorusAverage_eq_affine (f : PressureStream.Lift P → ℝ) : |
| 287 | liftedTorusAverage f = affineAverage eraseAuxY auxY 0 1 |
| 288 | (affineAverage eraseAuxX auxX 0 1 f) := by |
| 289 | funext x |
| 290 | simp only [affineAverage, eraseAuxY_add_smul, eraseAuxX_add_smul, |
| 291 | liftedTorusAverage, PressureStream.torusAverage, PressureStream.torusInner] |
| 292 | |
| 293 | theorem liftedTorusAverage_contDiff {f : PressureStream.Lift P → ℝ} |
| 294 | (hf : ContDiff ℝ ∞ f) : ContDiff ℝ ∞ (liftedTorusAverage f) := |
| 295 | (PressureStream.torusAverage_contDiff hf).comp (contDiff_fst.prodMk contDiff_snd.fst) |
| 296 | |
| 297 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 298 | theorem liftedTorusAverage_supported {a b : ℝ} {f : PressureStream.Lift P → ℝ} |
| 299 | (hs : RadialAlias.RadiallySupported a b f) : |
| 300 | RadialAlias.RadiallySupported a b (liftedTorusAverage f) := by |
| 301 | intro x hx |
| 302 | exact PressureStream.torusAverage_supported hs hx |
| 303 | |
| 304 | theorem GlobalBandJets.liftedTorusAverage {ε S : ℕ → ℝ} {α : ℝ} |
| 305 | {f : ℕ → PressureStream.Lift P → ℝ} |
| 306 | (hjets : GlobalBandJets ε S α f) (hf : ∀ n, ContDiff ℝ ∞ (f n)) : |
| 307 | GlobalBandJets ε S α (fun n => liftedTorusAverage (f n)) := by |
| 308 | have hinner := hjets.affineAverage hf eraseAuxX norm_eraseAuxX_le auxX zero_le_one |
| 309 | have houter := hinner.affineAverage |
| 310 | (fun n => affineAverage_contDiff eraseAuxX auxX 0 1 (hf n)) |
| 311 | eraseAuxY norm_eraseAuxY_le auxY zero_le_one |
| 312 | simpa only [liftedTorusAverage_eq_affine] using houter |
| 313 | |
| 314 | end Torus |
| 315 | |
| 316 | section RadialIntegral |
| 317 | |
| 318 | variable [CompleteSpace E] |
| 319 | |
| 320 | omit [CompleteSpace E] in |
| 321 | theorem totalIntegral_zero_eq (f : ℝ × D → E) (x : ℝ × D) : |
| 322 | TransportPrimitive.totalIntegral 0 0 f x = ∫ r, f (r, x.2) := by |
| 323 | simp only [TransportPrimitive.totalIntegral, TransportPrimitive.shift, zero_mul, |
| 324 | zero_smul] |
| 325 | change (∫ u, f (x.1 + u, x.2 + 0)) = _ |
| 326 | simp only [add_zero] |
| 327 | exact integral_add_left_eq_self (μ := volume) (fun r => f (r, x.2)) x.1 |
| 328 | |
| 329 | theorem GlobalBandJets.radialIntegral {ε S : ℕ → ℝ} {α a b : ℝ} |
| 330 | {f : ℕ → ℝ × D → E} (hjets : GlobalBandJets ε S α f) |
| 331 | (hf : ∀ n, ContDiff ℝ ∞ (f n)) |
| 332 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) (hab : a ≤ b) : |
| 333 | GlobalBandJets ε S α (fun n => TransportPrimitive.totalIntegral 0 0 (f n)) := by |
| 334 | intro m |
| 335 | obtain ⟨C, hC, p, hb⟩ := hjets m |
| 336 | refine ⟨C * (b - a), mul_nonneg hC (sub_nonneg.mpr hab), p, ?_⟩ |
| 337 | intro n x j hj |
| 338 | have h := TransportPrimitive.iteratedFDeriv_totalIntegral_norm_le |
| 339 | (M := 0) (v := (0 : D)) hab (hf n) (hs n) j |
| 340 | (fun r _ y => hb n (r, y) j hj) x |
| 341 | convert! h using 1; ring |
| 342 | |
| 343 | end RadialIntegral |
| 344 | |
| 345 | section PressureMass |
| 346 | |
| 347 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 348 | |
| 349 | noncomputable def liftedPressureMass (f : PressureStream.Lift P → ℝ) |
| 350 | (x : PressureStream.Lift P) : ℝ := PressureStream.pressureMass f x.2.1 |
| 351 | |
| 352 | theorem liftedPressureMass_eq (f : PressureStream.Lift P → ℝ) : |
| 353 | liftedPressureMass f = TransportPrimitive.totalIntegral 0 0 (liftedTorusAverage f) := by |
| 354 | funext x |
| 355 | rw [totalIntegral_zero_eq] |
| 356 | rfl |
| 357 | |
| 358 | theorem liftedPressureMass_contDiff {a b : ℝ} {f : PressureStream.Lift P → ℝ} |
| 359 | (hf : ContDiff ℝ ∞ f) (hs : RadialAlias.RadiallySupported a b f) : |
| 360 | ContDiff ℝ ∞ (liftedPressureMass f) := |
| 361 | (PressureStream.pressureMass_contDiff hf hs).comp contDiff_snd.fst |
| 362 | |
| 363 | theorem GlobalBandJets.liftedPressureMass {ε S : ℕ → ℝ} {α a b : ℝ} |
| 364 | {f : ℕ → PressureStream.Lift P → ℝ} |
| 365 | (hjets : GlobalBandJets ε S α f) (hf : ∀ n, ContDiff ℝ ∞ (f n)) |
| 366 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) (hab : a ≤ b) : |
| 367 | GlobalBandJets ε S α (fun n => liftedPressureMass (f n)) := by |
| 368 | have h := (hjets.liftedTorusAverage hf).radialIntegral |
| 369 | (fun n => liftedTorusAverage_contDiff (hf n)) |
| 370 | (fun n => liftedTorusAverage_supported (hs n)) hab |
| 371 | simpa only [liftedPressureMass_eq] using h |
| 372 | |
| 373 | /-- The actual pressure defect, lifted to the original strip, belongs to |
| 374 | `S_α`. There is no pressure-mass or differentiated-integral estimate premise. -/ |
| 375 | theorem meanClass_pressureMass_lift |
| 376 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) |
| 377 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) |
| 378 | (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f : ℕ → PressureStream.Lift P → ℝ} |
| 379 | (hf : ∀ n, ContDiff ℝ ∞ (f n)) |
| 380 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) |
| 381 | (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) : |
| 382 | UnweightedClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α |
| 383 | (fun n (x : PressureStream.Lift P) => PressureStream.pressureMass (f n) x.2.1) := by |
| 384 | apply globalBandJets_unweighted_log ha hcL hcR hε hεone hS |
| 385 | (fun n => liftedPressureMass_contDiff (hf n) (hs n)) |
| 386 | exact (meanClass_globalBandJets ha hcL hcR ε S hε hεone hS hf hs hclass).liftedPressureMass |
| 387 | hf hs hab.le |
| 388 | |
| 389 | noncomputable def insertSlow : P →L[ℝ] PressureStream.Lift P where |
| 390 | toFun p := (0, (p, (0, 0))) |
| 391 | map_add' := by intros; ext <;> simp |
| 392 | map_smul' := by intros; ext <;> simp |
| 393 | cont := continuous_const.prodMk (continuous_id.prodMk continuous_const) |
| 394 | |
| 395 | theorem norm_insertSlow_le : ‖insertSlow (P := P)‖ ≤ 1 := by |
| 396 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 397 | intro p |
| 398 | change ‖((0 : ℝ), (p, ((0 : ℝ), (0 : ℝ))))‖ ≤ 1 * ‖p‖ |
| 399 | simp only [one_mul, Prod.norm_def, norm_zero, max_self, |
| 400 | max_eq_left (norm_nonneg p), max_eq_right (norm_nonneg p)] |
| 401 | exact le_rfl |
| 402 | |
| 403 | /-- The same actual pressure moment as a function of only the slow variables. -/ |
| 404 | theorem meanClass_pressureMass |
| 405 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) |
| 406 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) |
| 407 | (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f : ℕ → PressureStream.Lift P → ℝ} |
| 408 | (hf : ∀ n, ContDiff ℝ ∞ (f n)) |
| 409 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) |
| 410 | (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) : |
| 411 | UnweightedClass (slowStripData (D := P) ε S hε hεone hS) α |
| 412 | (fun n => PressureStream.pressureMass (f n)) := by |
| 413 | apply globalBandJets_unweighted hε hεone hS |
| 414 | (fun n => PressureStream.pressureMass_contDiff (hf n) (hs n)) |
| 415 | have hbase := meanClass_globalBandJets ha hcL hcR ε S hε hεone hS hf hs hclass |
| 416 | have h := (hbase.liftedPressureMass hf hs hab.le).compLinear |
| 417 | (fun n => liftedPressureMass_contDiff (hf n) (hs n)) insertSlow norm_insertSlow_le |
| 418 | exact h |
| 419 | |
| 420 | end PressureMass |
| 421 | |
| 422 | section WeightedMoments |
| 423 | |
| 424 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 425 | |
| 426 | theorem radialCoefficient_unweighted |
| 427 | {a b cL cR : ℝ} (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 428 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) |
| 429 | (hS : ∀ n, 1 ≤ S n) {g : ℝ → ℝ} (hg : ContDiff ℝ ∞ g) : |
| 430 | UnweightedClass (logStripData (E := P) a b cL cR ha hcL hcR ε S hε hεone hS) 0 |
| 431 | (fun _ x => g x.1) := by |
| 432 | apply unweighted_of_finiteJetBounds _ _ (hg.comp contDiff_fst).contDiffOn |
| 433 | intro m |
| 434 | obtain ⟨C, _, hb⟩ := cutoff_finiteJet_bound (E := P) a b g hg m |
| 435 | exact ⟨C, fun j hj x hx => hb j hj x ⟨hx.1.le, hx.2.le⟩⟩ |
| 436 | |
| 437 | noncomputable def radialWeighted (k : ℕ) (f : ℝ × P → ℝ) (x : ℝ × P) : ℝ := |
| 438 | x.1 ^ k * f x |
| 439 | |
| 440 | theorem radialWeighted_contDiff (k : ℕ) {f : ℝ × P → ℝ} (hf : ContDiff ℝ ∞ f) : |
| 441 | ContDiff ℝ ∞ (radialWeighted k f) := (contDiff_fst.pow k).mul hf |
| 442 | |
| 443 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 444 | theorem radialWeighted_supported (k : ℕ) {a b : ℝ} {f : ℝ × P → ℝ} |
| 445 | (hs : RadialAlias.RadiallySupported a b f) : |
| 446 | RadialAlias.RadiallySupported a b (radialWeighted k f) := by |
| 447 | intro x hx |
| 448 | exact hs (right_ne_zero_of_mul hx) |
| 449 | |
| 450 | theorem meanClass_radialWeighted |
| 451 | {a b cL cR : ℝ} (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 452 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) |
| 453 | (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f : ℕ → ℝ × P → ℝ} |
| 454 | (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) |
| 455 | (k : ℕ) : |
| 456 | MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α |
| 457 | (fun n => radialWeighted k (f n)) := by |
| 458 | have hc := radialCoefficient_unweighted (P := P) (b := b) ha hcL hcR ε S hε hεone hS |
| 459 | (g := fun r : ℝ => r ^ k) (contDiff_id.pow k) |
| 460 | have h := hc.mul hclass |
| 461 | simp only [zero_add, one_mul] at h |
| 462 | exact h |
| 463 | |
| 464 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 465 | /-- The radial power is outside the auxiliary torus average, exactly as in |
| 466 | the pressure and two integrated flux defects. -/ |
| 467 | theorem pressureMass_radialWeighted (k : ℕ) (f : PressureStream.Lift P → ℝ) (p : P) : |
| 468 | PressureStream.pressureMass (radialWeighted k f) p = |
| 469 | IntegratedMeanBalances.radialMoment k (PressureStream.torusAverage f) p := by |
| 470 | simp only [PressureStream.pressureMass, PressureStream.torusAverage, |
| 471 | PressureStream.torusInner, radialWeighted, IntegratedMeanBalances.radialMoment, |
| 472 | IntegratedMeanBalances.moment, intervalIntegral.integral_const_mul] |
| 473 | |
| 474 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 475 | theorem pressureMass_radialWeighted_fun (k : ℕ) (f : PressureStream.Lift P → ℝ) : |
| 476 | PressureStream.pressureMass (radialWeighted k f) = |
| 477 | IntegratedMeanBalances.radialMoment k (PressureStream.torusAverage f) := |
| 478 | funext (pressureMass_radialWeighted k f) |
| 479 | |
| 480 | /-- Every fixed radial moment of the actual torus mean is an unweighted slow |
| 481 | coefficient of the same band order. -/ |
| 482 | theorem meanClass_radialMoment |
| 483 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) |
| 484 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) |
| 485 | (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f : ℕ → PressureStream.Lift P → ℝ} |
| 486 | (hf : ∀ n, ContDiff ℝ ∞ (f n)) |
| 487 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) |
| 488 | (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) |
| 489 | (k : ℕ) : |
| 490 | UnweightedClass (slowStripData (D := P) ε S hε hεone hS) α |
| 491 | (fun n => IntegratedMeanBalances.radialMoment k (PressureStream.torusAverage (f n))) := by |
| 492 | have h := meanClass_pressureMass ha hab hcL hcR ε S hε hεone hS |
| 493 | (fun n => radialWeighted_contDiff k (hf n)) |
| 494 | (fun n => radialWeighted_supported k (hs n)) |
| 495 | (meanClass_radialWeighted ha hcL hcR ε S hε hεone hS hclass k) |
| 496 | simpa only [pressureMass_radialWeighted_fun] using h |
| 497 | |
| 498 | theorem meanClass_radialMoment_lift |
| 499 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) |
| 500 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) |
| 501 | (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f : ℕ → PressureStream.Lift P → ℝ} |
| 502 | (hf : ∀ n, ContDiff ℝ ∞ (f n)) |
| 503 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) |
| 504 | (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) |
| 505 | (k : ℕ) : |
| 506 | UnweightedClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α |
| 507 | (fun n (x : PressureStream.Lift P) => IntegratedMeanBalances.radialMoment k |
| 508 | (PressureStream.torusAverage (f n)) x.2.1) := by |
| 509 | have h := meanClass_pressureMass_lift ha hab hcL hcR ε S hε hεone hS |
| 510 | (fun n => radialWeighted_contDiff k (hf n)) |
| 511 | (fun n => radialWeighted_supported k (hs n)) |
| 512 | (meanClass_radialWeighted ha hcL hcR ε S hε hεone hS hclass k) |
| 513 | simpa only [pressureMass_radialWeighted] using h |
| 514 | |
| 515 | end WeightedMoments |
| 516 | |
| 517 | end |
| 518 | |
| 519 | end NavierStokes.MeanMomentBounds |