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.LocalizedWaveBounds |
| 2 | import NavierStokes.HarmonicWaveInteraction |
| 3 | |
| 4 | /-! |
| 5 | # Mean interactions from support-local phase estimates |
| 6 | |
| 7 | The phase normal is estimated only on the genuine native phase patch. |
| 8 | Outside that patch the wave coefficients have zero germs, which force |
| 9 | the actual mean interaction to have a zero germ as well. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.LocalizedMeanInteraction |
| 15 | |
| 16 | open Set Function Filter WeightedClasses HarmonicCalculus HarmonicFields |
| 17 | open LocalizedWaveBounds WaveInteractionBounds HarmonicMeanInteraction |
| 18 | open scoped Topology ContDiff BigOperators ComplexConjugate |
| 19 | |
| 20 | |
| 21 | variable {D : Type} {I E : Type*} |
| 22 | [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 23 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 24 | |
| 25 | abbrev LocalMean (s : StripData D) (C : ℕ → I → Set D) (α : ℝ) |
| 26 | (f : ℕ → I → D → E) : Prop := LocalClass s C (fun _ _ x => s.zeta x) α f |
| 27 | |
| 28 | noncomputable def LocalMeanVector (s : StripData D) (C : ℕ → I → Set D) (H : ℝ) |
| 29 | (m : ℕ → I → D → ComplexVector) : Prop := |
| 30 | LocalMean s C (H + 1) (fun n l x => m n l x 0) ∧ |
| 31 | LocalMean s C H (fun n l x => m n l x 1) ∧ |
| 32 | LocalMean s C H (fun n l x => m n l x 2) |
| 33 | |
| 34 | theorem localMean_component {s : StripData D} {C : ℕ → I → Set D} {H : ℝ} |
| 35 | {m : ℕ → I → D → ComplexVector} (hm : LocalMeanVector s C H m) (i : Fin 3) : |
| 36 | LocalMean s C H (fun n l x => m n l x i) := by |
| 37 | fin_cases i |
| 38 | · exact hm.1.mono_exponent (by linarith) |
| 39 | · exact hm.2.1 |
| 40 | · exact hm.2.2 |
| 41 | |
| 42 | theorem local_cmul {s : StripData D} {C : ℕ → I → Set D} |
| 43 | {w v : ℕ → I → D → ℝ} {α β : ℝ} {f g : ℕ → I → D → ℂ} |
| 44 | (hf : LocalClass s C w α f) (hg : LocalClass s C v β g) : |
| 45 | LocalClass s C (fun n l x => w n l x * v n l x) (α + β) |
| 46 | (fun n l x => f n l x * g n l x) := |
| 47 | hf.bilinear hg (ContinuousLinearMap.mul ℝ ℂ) |
| 48 | |
| 49 | theorem local_mean_wave_cmul {s : StripData D} {C : ℕ → I → Set D} |
| 50 | {P : ℕ → I → D → ℝ} {α β : ℝ} {f g : ℕ → I → D → ℂ} |
| 51 | (hf : LocalMean s C α f) (hg : LocalWave s C P β g) |
| 52 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) : |
| 53 | LocalWave s C P (α + β) (fun n l x => f n l x * g n l x) := by |
| 54 | apply (local_cmul hf hg).mono_weight hg.weight_nonneg |
| 55 | intro n l x hx _ |
| 56 | exact mul_le_of_le_one_left (hg.weight_nonneg n l x hx) (hζ x hx) |
| 57 | |
| 58 | theorem local_wave_mean_cmul {s : StripData D} {C : ℕ → I → Set D} |
| 59 | {P : ℕ → I → D → ℝ} {α β : ℝ} {f g : ℕ → I → D → ℂ} |
| 60 | (hf : LocalWave s C P α f) (hg : LocalMean s C β g) |
| 61 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) : |
| 62 | LocalWave s C P (α + β) (fun n l x => f n l x * g n l x) := by |
| 63 | simpa only [add_comm β α, mul_comm] using local_mean_wave_cmul hg hf hζ |
| 64 | |
| 65 | theorem local_along {s : StripData D} {C : ℕ → I → Set D} |
| 66 | {w : ℕ → I → D → ℝ} {α β : ℝ} {f : ℕ → I → D → E} {V : ℕ → I → D → D} |
| 67 | (hf : LocalClass s C w α f) (hV : LocalUnweighted s C β V) : |
| 68 | LocalClass s C w (α + β) (fun n l => along (V n l) (f n l)) := by |
| 69 | have hh := hV.bilinear hf.fderiv (ContinuousLinearMap.apply ℝ E) |
| 70 | simp only [one_mul, add_comm β α, ContinuousLinearMap.apply_apply] at hh ⊢ |
| 71 | exact hh |
| 72 | |
| 73 | theorem local_div_radius {s : StripData D} {C : ℕ → I → Set D} |
| 74 | {w : ℕ → I → D → ℝ} {α κ : ℝ} (G : Geometry s κ) |
| 75 | {f : ℕ → I → D → ℂ} (hf : LocalClass s C w α f) : |
| 76 | LocalClass s C w α (fun n l x => f n l x / (G.radius n x : ℂ)) := by |
| 77 | have hi : LocalUnweighted s C 0 (fun n _ x => ((G.radius n x : ℂ))⁻¹) := |
| 78 | LocalClass.of_global (inverse_radius_complex G) |
| 79 | simpa only [zero_add, one_mul, mul_one, div_eq_mul_inv, mul_comm] using local_cmul hi hf |
| 80 | |
| 81 | theorem local_mean_advects_wave {s : StripData D} {C : ℕ → I → Set D} |
| 82 | {P : ℕ → I → D → ℝ} {α H κ : ℝ} (G : Geometry s κ) (hκ : κ ≤ 1) |
| 83 | {m a : ℕ → I → D → ComplexVector} (hm : LocalMeanVector s C H m) |
| 84 | (ha : ∀ i, LocalWave s C P α (fun n l x => a n l x i)) |
| 85 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) (i : Fin 3) : |
| 86 | LocalWave s C P (α + H) (fun n l x => |
| 87 | strippedTransport G (fun n => m n l) (fun n => a n l) n x i) := by |
| 88 | have hr := local_mean_wave_cmul hm.1 |
| 89 | (local_along (ha i) (LocalClass.of_global G.radial_class)) hζ |
| 90 | have hr' := hr.mono_exponent (show α + H ≤ H + 1 + (α + -κ) by linarith) |
| 91 | have hc := local_mean_wave_cmul (local_div_radius G hm.2.1) |
| 92 | (LocalizedWaveBounds.angular_classes ha i) hζ |
| 93 | have hc' : LocalWave s C P (α + H) (fun n l x => |
| 94 | m n l x 1 / (G.radius n x : ℂ) * angularGenerator (a n l x) i) := by |
| 95 | simpa only [add_comm H α] using hc |
| 96 | have hz := local_mean_wave_cmul hm.2.2 |
| 97 | (local_along (ha i) (LocalClass.of_global G.axial_class)) hζ |
| 98 | have hz' := hz.mono_exponent (show α + H ≤ H + (α + 1) by linarith) |
| 99 | exact (hr'.add hc').add hz' |
| 100 | |
| 101 | theorem local_wave_advects_mean {s : StripData D} {C : ℕ → I → Set D} |
| 102 | {P : ℕ → I → D → ℝ} {α H κ : ℝ} (G : Geometry s κ) (hκ : 0 ≤ κ) |
| 103 | {m a : ℕ → I → D → ComplexVector} (hm : LocalMeanVector s C H m) |
| 104 | (ha : ∀ i, LocalWave s C P α (fun n l x => a n l x i)) |
| 105 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) (i : Fin 3) : |
| 106 | LocalWave s C P (α + H - κ) (fun n l x => |
| 107 | strippedTransport G (fun n => a n l) (fun n => m n l) n x i) := by |
| 108 | have hr := local_wave_mean_cmul (ha 0) |
| 109 | (local_along (localMean_component hm i) (LocalClass.of_global G.radial_class)) hζ |
| 110 | have hr' : LocalWave s C P (α + H - κ) (fun n l x => |
| 111 | a n l x 0 * along (G.radial n) (fun y => m n l y i) x) := by |
| 112 | simpa only [sub_eq_add_neg, add_assoc] using hr |
| 113 | have hc := local_wave_mean_cmul (local_div_radius G (ha 1)) |
| 114 | (LocalizedWaveBounds.angular_classes (localMean_component hm) i) hζ |
| 115 | have hc' := hc.mono_exponent (show α + H - κ ≤ α + H by linarith) |
| 116 | have hz := local_wave_mean_cmul (ha 2) |
| 117 | (local_along (localMean_component hm i) (LocalClass.of_global G.axial_class)) hζ |
| 118 | have hz' := hz.mono_exponent (show α + H - κ ≤ α + (H + 1) by linarith) |
| 119 | exact (hr'.add hc').add hz' |
| 120 | |
| 121 | theorem local_normalDot {s : StripData D} {C : ℕ → I → Set D} |
| 122 | {w : ℕ → I → D → ℝ} {α : ℝ} |
| 123 | {N : ℕ → I → D → EuclideanSpace ℝ (Fin 3)} {a : ℕ → I → D → ComplexVector} |
| 124 | (hN : ∀ i, LocalUnweighted s C 0 (fun n l x => N n l x i)) |
| 125 | (ha : ∀ i, LocalClass s C w α (fun n l x => a n l x i)) : |
| 126 | LocalClass s C w α (fun n l x => normalDot (N n l x) (a n l x)) := by |
| 127 | have hh (i : Fin 3) : LocalClass s C w α |
| 128 | (fun n l x => (N n l x i : ℂ) * a n l x i) := by |
| 129 | simpa only [zero_add] using LocalizedWaveBounds.real_mul_complex (hN i) (ha i) |
| 130 | exact ((hh 0).add (hh 1)).add (hh 2) |
| 131 | |
| 132 | theorem local_waveMeanCoefficient {s : StripData D} {C : ℕ → I → Set D} |
| 133 | {P : ℕ → I → D → ℝ} {α H κ : ℝ} (G : Geometry s κ) |
| 134 | (hκ0 : 0 ≤ κ) (hκ1 : κ ≤ 1 / 2) |
| 135 | {Φ : ℕ → I → D → ℝ} {ν : ℕ → I → ℝ} {m a : ℕ → I → D → ComplexVector} |
| 136 | (hm : LocalMeanVector s C H m) |
| 137 | (ha : ∀ i, LocalWave s C P α (fun n l x => a n l x i)) |
| 138 | (hN : ∀ i, LocalUnweighted s C 0 (fun n l x => |
| 139 | phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n l) x i)) |
| 140 | (hν : LocalUnweighted s C (-(1 / 2)) (fun n l _ => ν n l)) |
| 141 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) (i : Fin 3) : |
| 142 | LocalWave s C P (α + H - 1 / 2) (fun n l x => |
| 143 | waveMeanCoefficient G (fun n => Φ n l) (fun n => ν n l) |
| 144 | (fun n => m n l) (fun n => a n l) n x i) := by |
| 145 | have hma := (local_mean_advects_wave G (by linarith) hm ha hζ i).mono_exponent |
| 146 | (show α + H - 1 / 2 ≤ α + H by linarith) |
| 147 | have ham := (local_wave_advects_mean G hκ0 hm ha hζ i).mono_exponent |
| 148 | (show α + H - 1 / 2 ≤ α + H - κ by linarith) |
| 149 | have hphase := local_mean_wave_cmul |
| 150 | (LocalizedWaveBounds.frequency_mul (local_normalDot hN (localMean_component hm)) hν) (ha i) hζ |
| 151 | have hphase' : LocalWave s C P (α + H - 1 / 2) (fun n l x => |
| 152 | phaseFactor (ν n l) * normalDot |
| 153 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n l) x) |
| 154 | (m n l x) * a n l x i) := by |
| 155 | convert! hphase using 1 |
| 156 | ring |
| 157 | exact (hma.add ham).add hphase' |
| 158 | |
| 159 | theorem local_realCoefficient {s : StripData D} {C : ℕ → I → Set D} |
| 160 | {P : ℕ → I → D → ℝ} {α : ℝ} (a : ℕ → I → Coefficients D) (j : ℤ) |
| 161 | (ha : LocalWave s C P α (fun n l x => a n l j x)) |
| 162 | (han : LocalWave s C P α (fun n l x => a n l (-j) x)) : |
| 163 | LocalWave s C P α (fun n l x => HarmonicResidual.realCoefficients (a n l) j x) := by |
| 164 | have hh := LocalizedWaveBounds.constant_complex_mul |
| 165 | (ha.add (han.map (Complex.conjCLE : ℂ →L[ℝ] ℂ))) ((2 : ℂ)⁻¹) |
| 166 | apply hh.congr |
| 167 | intro n l x |
| 168 | exact (HarmonicResidual.realCoefficients_apply (a n l) j x).symm |
| 169 | |
| 170 | theorem local_blockAmplitude {s : StripData D} {C : ℕ → I → Set D} |
| 171 | {P : ℕ → I → D → ℝ} {α : ℝ} {b : I → CorrectionState.HarmonicBlock D} |
| 172 | (hb : ∀ i j, j ≠ 0 → LocalWave s C P α (fun n l x => (b l).velocity n i j x)) |
| 173 | {j : ℤ} (hj : j ≠ 0) (i : Fin 3) : |
| 174 | LocalWave s C P α (fun n l x => blockAmplitude (b l) n i j x) := |
| 175 | local_realCoefficient (fun n l => (b l).velocity n i) j (hb i j hj) |
| 176 | (hb i (-j) (neg_ne_zero.mpr hj)) |
| 177 | |
| 178 | theorem local_frequency_mul_const {s : StripData D} {C : ℕ → I → Set D} |
| 179 | {β : ℝ} {ν : ℕ → I → ℝ} |
| 180 | (hν : LocalUnweighted s C β (fun n l _ => ν n l)) (r : ℝ) : |
| 181 | LocalUnweighted s C β (fun n l _ => ν n l * r) := by |
| 182 | apply (LocalizedWaveBounds.constant_real_mul hν r).congr |
| 183 | intro n l x |
| 184 | ring |
| 185 | |
| 186 | theorem local_meanCross {s : StripData D} {C : ℕ → I → Set D} |
| 187 | {P : ℕ → I → D → ℝ} {α H κ : ℝ} |
| 188 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 189 | (hκ : κ ≤ 1 / 2) (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 190 | {h : I → MeanIncrementBounds.Triple D} {b : I → CorrectionState.HarmonicBlock D} |
| 191 | (hm : LocalMeanVector s C H (fun n l => tripleField (h l) n)) |
| 192 | (hb : ∀ i j, j ≠ 0 → LocalWave s C P α (fun n l x => (b l).velocity n i j x)) |
| 193 | (hN : ∀ i, LocalUnweighted s C 0 (fun n l x => slowNormal c ho hR (b l).phase n x i)) |
| 194 | (hk : LocalUnweighted s C (-(1 / 2)) (fun n l _ => (b l).frequency n)) |
| 195 | (hkp : LocalUnweighted s C (-(1 / 2)) (fun n l _ => ((b l).angularFrequency n : ℝ))) |
| 196 | {j : ℤ} (hj : j ≠ 0) (i : Fin 3) : |
| 197 | LocalWave s C P (α + H - 1 / 2) (fun n l x => meanCross c (h l) (b l) n i j x) := by |
| 198 | have ha := local_blockAmplitude hb hj |
| 199 | have hν := local_frequency_mul_const hk (j : ℝ) |
| 200 | have hs := local_waveMeanCoefficient (slowGeometry c ho hR) ho.kappa_nonneg hκ |
| 201 | hm ha hN hν ho.weight_le_one i |
| 202 | have hθ := local_mean_wave_cmul |
| 203 | (LocalizedWaveBounds.frequency_mul (local_div_radius (slowGeometry c ho hR) hm.2.1) |
| 204 | (local_frequency_mul_const hkp (j : ℝ))) (ha i) ho.weight_le_one |
| 205 | have hθ' : LocalWave s C P (α + H - 1 / 2) |
| 206 | (fun n l x => angularCarrierTerm c (b l) (h l) j n x i) := by |
| 207 | convert! hθ using 1 |
| 208 | ring |
| 209 | apply (hs.add hθ').congr |
| 210 | intro n l x |
| 211 | exact (meanCross_eq c ho hR (h l) (b l) j n x i).symm |
| 212 | |
| 213 | /-! ## Zero germs and globalization -/ |
| 214 | |
| 215 | omit [NormedSpace ℝ D] in |
| 216 | theorem realCoefficient_zero_germ {a : Coefficients D} {j : ℤ} {x : D} |
| 217 | (ha : a j =ᶠ[𝓝 x] fun _ => 0) (han : a (-j) =ᶠ[𝓝 x] fun _ => 0) : |
| 218 | HarmonicResidual.realCoefficients a j =ᶠ[𝓝 x] fun _ => 0 := by |
| 219 | filter_upwards [ha, han] with y hy hyn |
| 220 | simp only [HarmonicResidual.realCoefficients_apply, hy, hyn, map_zero, add_zero, mul_zero] |
| 221 | |
| 222 | theorem crossCoefficients_zero_germ (g : HarmonicResidual.Frame D) |
| 223 | (k : ℝ) (Φ : D → ℝ) (kp : ℤ) (m : D → ComplexVector) |
| 224 | (a : HarmonicResidual.VectorCoefficients D) (j : ℤ) {x : D} |
| 225 | (ha : ∀ i, a i j =ᶠ[𝓝 x] fun _ => 0) (i : Fin 3) : |
| 226 | crossCoefficients g k Φ kp m a i j =ᶠ[𝓝 x] fun _ => 0 := by |
| 227 | have hr (r : Fin 3) : along g.radial (a r j) =ᶠ[𝓝 x] fun _ => 0 := by |
| 228 | simpa only [PeriodizedWaveBounds.along_zero] using |
| 229 | ParticularWaveAssembly.along_germ (ha r) g.radial |
| 230 | have hz (r : Fin 3) : along g.axial (a r j) =ᶠ[𝓝 x] fun _ => 0 := by |
| 231 | simpa only [PeriodizedWaveBounds.along_zero] using |
| 232 | ParticularWaveAssembly.along_germ (ha r) g.axial |
| 233 | filter_upwards [Filter.eventually_all.mpr ha, Filter.eventually_all.mpr hr, |
| 234 | Filter.eventually_all.mpr hz] with y hay hry hzy |
| 235 | have hav : (fun r => a r j y) = 0 := funext hay |
| 236 | simp only [crossCoefficients, coeff_add, transport_constant_left, transport_constant_right, |
| 237 | derivativeCoefficient, hry, hzy, hay] |
| 238 | fin_cases i <;> simp [angularGenerator] |
| 239 | |
| 240 | theorem meanCross_zero_germ (c : CorrectionState.Context D) |
| 241 | (h : MeanIncrementBounds.Triple D) (b : CorrectionState.HarmonicBlock D) |
| 242 | (n : ℕ) {j : ℤ} {x : D} |
| 243 | (hz : ∀ i, (b.velocity n i j =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 244 | (b.velocity n i (-j) =ᶠ[𝓝 x] fun _ => 0)) (i : Fin 3) : |
| 245 | meanCross c h b n i j =ᶠ[𝓝 x] fun _ => 0 := |
| 246 | crossCoefficients_zero_germ (HarmonicResidual.contextFrame c n) |
| 247 | (b.frequency n) (b.phase n) (b.angularFrequency n) (tripleField h n) |
| 248 | (blockAmplitude b n) j (fun r => realCoefficient_zero_germ (hz r).1 (hz r).2) i |
| 249 | |
| 250 | theorem realMeanCross_zero_germ (c : CorrectionState.Context D) |
| 251 | (h : MeanIncrementBounds.Triple D) (b : CorrectionState.HarmonicBlock D) |
| 252 | (n : ℕ) {j : ℤ} (hj : j ≠ 0) {x : D} |
| 253 | (hz : ∀ i k, k ≠ 0 → b.velocity n i k =ᶠ[𝓝 x] fun _ => 0) (i : Fin 3) : |
| 254 | HarmonicResidual.realCoefficients (meanCross c h b n i) j =ᶠ[𝓝 x] fun _ => 0 := by |
| 255 | apply realCoefficient_zero_germ |
| 256 | · exact meanCross_zero_germ c h b n (fun r => ⟨hz r j hj, hz r (-j) (neg_ne_zero.mpr hj)⟩) i |
| 257 | · apply meanCross_zero_germ c h b n |
| 258 | intro r |
| 259 | exact ⟨hz r (-j) (neg_ne_zero.mpr hj), hz r (-(-j)) (by simpa using hj)⟩ |
| 260 | |
| 261 | theorem local_of_uniform {s : StripData D} {C : ℕ → I → Set D} |
| 262 | {w : ℕ → I → D → ℝ} {α : ℝ} {f : I → ℕ → D → E} |
| 263 | (hf : LabelSumBounds.UniformClass s (fun l n => w n l) α f) : |
| 264 | LocalClass s C w α (fun n l => f l n) := by |
| 265 | refine ⟨fun n l x hx => hf.weight_nonneg l n x hx, |
| 266 | fun n l x hx _ => (hf.smooth l n).contDiffAt (s.isOpen_domain.mem_nhds hx), ?_⟩ |
| 267 | intro m |
| 268 | obtain ⟨A, hA, p, hb⟩ := hf.bounds m |
| 269 | exact ⟨A, hA, p, fun n l x hx _ j hj => hb l n x hx j hj⟩ |
| 270 | |
| 271 | theorem uniform_of_supported_local {s : StripData D} {C : ℕ → I → Set D} |
| 272 | {w : ℕ → I → D → ℝ} {α : ℝ} {f : ℕ → I → D → E} |
| 273 | (hf : LocalClass s C w α f) |
| 274 | (hz : ∀ n l x, x ∈ s.domain → x ∉ C n l → f n l =ᶠ[𝓝 x] fun _ => 0) : |
| 275 | LabelSumBounds.UniformClass s (fun l n => w n l) α (fun l n => f n l) := by |
| 276 | have hall : LocalClass s (fun _ _ => Set.univ) w α f := hf.enlarge (by |
| 277 | intro n l x hx _ |
| 278 | classical |
| 279 | by_cases hi : x ∈ C n l |
| 280 | · exact Or.inl hi |
| 281 | · exact Or.inr (hz n l x hx hi)) |
| 282 | refine ⟨fun l n x hx => hall.weight_nonneg n l x hx, |
| 283 | fun l n x hx => (hall.smooth n l x hx (Set.mem_univ x)).contDiffWithinAt, ?_⟩ |
| 284 | intro m |
| 285 | obtain ⟨A, hA, p, hb⟩ := hall.bounds m |
| 286 | exact ⟨A, hA, p, fun l n x hx j hj => hb n l x hx (Set.mem_univ x) j hj⟩ |
| 287 | |
| 288 | theorem uniform_constant {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 289 | {f : ℕ → D → E} (hf : MemClass s w α f) : |
| 290 | LabelSumBounds.UniformClass s (fun _ : I => w) α (fun _ : I => f) := by |
| 291 | refine ⟨fun _ => hf.weight_nonneg, fun _ => hf.smooth, ?_⟩ |
| 292 | intro m |
| 293 | obtain ⟨A, hA, p, hb⟩ := hf.bounds m |
| 294 | exact ⟨A, hA, p, fun _ => hb⟩ |
| 295 | |
| 296 | /-- A common coefficient estimated uniformly on every native copy |
| 297 | patch is estimated on their union with the very same constants. -/ |
| 298 | theorem local_iUnion {J : Type*} [Nonempty J] {s : StripData D} |
| 299 | {C : ℕ → I → J → Set D} {w : ℕ → I → D → ℝ} {α : ℝ} |
| 300 | {f : ℕ → I → D → E} |
| 301 | (hf : LocalClass s (fun (n : ℕ) (p : I × J) => C n p.1 p.2) |
| 302 | (fun n p => w n p.1) α (fun n p => f n p.1)) : |
| 303 | LocalClass s (fun n l => ⋃ j, C n l j) w α f := by |
| 304 | classical |
| 305 | refine ⟨fun n l x hx => hf.weight_nonneg n (l, Classical.arbitrary J) x hx, ?_, ?_⟩ |
| 306 | · intro n l x hx hi |
| 307 | obtain ⟨j, hj⟩ := Set.mem_iUnion.mp hi |
| 308 | exact hf.smooth n (l, j) x hx hj |
| 309 | · intro m |
| 310 | obtain ⟨A, hA, p, hb⟩ := hf.bounds m |
| 311 | refine ⟨A, hA, p, fun n l x hx hi k hk => ?_⟩ |
| 312 | obtain ⟨j, hj⟩ := Set.mem_iUnion.mp hi |
| 313 | exact hb n (l, j) x hx hj k hk |
| 314 | |
| 315 | omit [NormedSpace ℝ D] in |
| 316 | theorem velocity_zero_germs_of_tsupport (b : CorrectionState.HarmonicBlock D) |
| 317 | {C : ℕ → Set D} |
| 318 | (hs : ∀ n i j, j ≠ 0 → tsupport (b.velocity n i j) ⊆ C n) |
| 319 | (n : ℕ) {x : D} (hx : x ∉ C n) (i : Fin 3) (j : ℤ) (hj : j ≠ 0) : |
| 320 | b.velocity n i j =ᶠ[𝓝 x] fun _ => 0 := |
| 321 | PeriodizedWaveBounds.zero_germ_of_support isClosed_closure subset_closure |
| 322 | (fun hmem => hx (hs n i j hj hmem)) |
| 323 | |
| 324 | /-- All constants precede the external label as well as the band. |
| 325 | Only the actual phase patch carries a normal estimate. -/ |
| 326 | theorem uniform_realMeanCross_class {s : StripData D} {C : ℕ → I → Set D} |
| 327 | {P : ℕ → I → D → ℝ} {α H κ : ℝ} |
| 328 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 329 | (hκ : κ ≤ 1 / 2) (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 330 | {h : MeanIncrementBounds.Triple D} (hh : MeanIncrementBounds.IncrementBounds s H h) |
| 331 | {b : I → CorrectionState.HarmonicBlock D} |
| 332 | (hb : ∀ i j, j ≠ 0 → LabelSumBounds.UniformClass s |
| 333 | (fun l n x => Real.sqrt (s.zeta x) * P n l x) α (fun l n x => (b l).velocity n i j x)) |
| 334 | (hN : ∀ i, LocalUnweighted s C 0 (fun n l x => slowNormal c ho hR (b l).phase n x i)) |
| 335 | (hk : LocalUnweighted s C (-(1 / 2)) (fun n l _ => (b l).frequency n)) |
| 336 | (hkp : LocalUnweighted s C (-(1 / 2)) (fun n l _ => ((b l).angularFrequency n : ℝ))) |
| 337 | (hz : ∀ n l x, x ∈ s.domain → x ∉ C n l → |
| 338 | ∀ i j, j ≠ 0 → (b l).velocity n i j =ᶠ[𝓝 x] fun _ => 0) |
| 339 | {j : ℤ} (hj : j ≠ 0) (i : Fin 3) : |
| 340 | LabelSumBounds.UniformClass s (fun l n x => Real.sqrt (s.zeta x) * P n l x) |
| 341 | (α + H - 1 / 2) (fun l n x => |
| 342 | HarmonicResidual.realCoefficients (meanCross c h (b l) n i) j x) := by |
| 343 | have hm : LocalMeanVector s C H (fun n (_ : I) => tripleField h n) := |
| 344 | ⟨LocalClass.of_global (tripleField_bound hh).1, |
| 345 | LocalClass.of_global (tripleField_bound hh).2.1, |
| 346 | LocalClass.of_global (tripleField_bound hh).2.2⟩ |
| 347 | have hc k (hk0 : k ≠ 0) := local_meanCross c ho hκ hR hm |
| 348 | (fun i j hj => local_of_uniform (hb i j hj)) hN hk hkp hk0 i |
| 349 | have hr := local_realCoefficient (fun n l => meanCross c h (b l) n i) j |
| 350 | (hc j hj) (hc (-j) (neg_ne_zero.mpr hj)) |
| 351 | exact uniform_of_supported_local hr (fun n l x hx hC => |
| 352 | realMeanCross_zero_germ c h (b l) n hj (hz n l x hx hC) i) |
| 353 | |
| 354 | /-- The single-block endpoint on the original state domain. -/ |
| 355 | theorem realMeanCross_class {s : StripData D} {C : ℕ → Set D} |
| 356 | {P : ℕ → D → ℝ} {α H κ : ℝ} |
| 357 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 358 | (hκ : κ ≤ 1 / 2) (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 359 | {h : MeanIncrementBounds.Triple D} (hh : MeanIncrementBounds.IncrementBounds s H h) |
| 360 | {b : CorrectionState.HarmonicBlock D} (hb : b.WaveBounds s P α) |
| 361 | (hN : ∀ i, LocalUnweighted s (fun n (_ : Unit) => C n) 0 |
| 362 | (fun n _ x => slowNormal c ho hR b.phase n x i)) |
| 363 | (hk : BandBound s (-(1 / 2)) b.frequency) |
| 364 | (hkp : BandBound s (-(1 / 2)) (fun n => (b.angularFrequency n : ℝ))) |
| 365 | (hz : ∀ n x, x ∈ s.domain → x ∉ C n → |
| 366 | ∀ i j, j ≠ 0 → b.velocity n i j =ᶠ[𝓝 x] fun _ => 0) |
| 367 | {j : ℤ} (hj : j ≠ 0) (i : Fin 3) : |
| 368 | WaveClass s P (α + H - 1 / 2) |
| 369 | (fun n x => HarmonicResidual.realCoefficients (meanCross c h b n i) j x) := by |
| 370 | have hu := uniform_realMeanCross_class (I := Unit) (P := fun n _ => P n) |
| 371 | c ho hκ hR hh (b := fun _ => b) (fun i j hj => uniform_constant (hb i j hj)) |
| 372 | hN (LocalClass.band_const hk) (LocalClass.band_const hkp) |
| 373 | (fun n _ x hx hC => hz n x hx hC) hj i |
| 374 | exact hu.each () |
| 375 | |
| 376 | /-! ## The literal residual and interaction blocks -/ |
| 377 | |
| 378 | /-- The normal-free wave-wave estimate is combined with the newly |
| 379 | localized mean-wave estimate, preserving both gains and their minimum. -/ |
| 380 | theorem interactionBlock_class {s : StripData D} {C : ℕ → Set D} |
| 381 | {κ α β H : ℝ} {P : ℕ → D → ℝ} |
| 382 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 383 | (hκ : κ ≤ 1 / 2) (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 384 | {u : CorrectionState.State D} (hm : MeanIncrementBounds.IncrementBounds s H u.mean) |
| 385 | {a b : CorrectionState.HarmonicBlock D} {M N : ℕ} |
| 386 | (ha : a.WaveBounds s P α) (hb : b.WaveBounds s P β) |
| 387 | (ha0 : HarmonicWaveInteraction.ZeroMode a) (hb0 : HarmonicWaveInteraction.ZeroMode b) |
| 388 | (hM : a.BandLimited M) (hN : b.BandLimited N) |
| 389 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (a.phase n) s.domain) (hk : ∀ n, a.frequency n ≠ 0) |
| 390 | (hda : HarmonicWaveInteraction.ModeSolenoidal s c a) |
| 391 | (hdb : HarmonicWaveInteraction.ModeSolenoidal s c (HarmonicWaveInteraction.withCarrier a b)) |
| 392 | (hNormal : ∀ i, LocalUnweighted s (fun n (_ : Unit) => C n) 0 |
| 393 | (fun n _ x => slowNormal c ho hR a.phase n x i)) |
| 394 | (hFreq : BandBound s (-(1 / 2)) a.frequency) |
| 395 | (hAng : BandBound s (-(1 / 2)) (fun n => (a.angularFrequency n : ℝ))) |
| 396 | (hz : ∀ n x, x ∈ s.domain → x ∉ C n → |
| 397 | ∀ i j, j ≠ 0 → b.velocity n i j =ᶠ[𝓝 x] fun _ => 0) |
| 398 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 399 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : |
| 400 | (HarmonicWaveInteraction.interactionBlock c u a b).WaveBounds s P |
| 401 | (min (β + H - 1 / 2) (min (α + β - κ) (β + β - κ))) := by |
| 402 | intro i j hj |
| 403 | have hmean := realMeanCross_class c ho hκ hR hm |
| 404 | (b := HarmonicWaveInteraction.withCarrier a b) hb hNormal hFreq hAng hz hj i |
| 405 | have hnon m := HarmonicWaveInteraction.nonlinearCoefficients_wave_class c ho hR |
| 406 | ha hb ha0 hb0 hM hN hΦ hk hda hdb hP0 hP1 m i |
| 407 | have hn := realCoefficient_class |
| 408 | (fun n => HarmonicWaveInteraction.nonlinearCoefficients c a b n i) j (hnon j) (hnon (-j)) |
| 409 | apply class_congr ((hmean.mono_exponent (min_le_left _ _)).add |
| 410 | (hn.mono_exponent (min_le_right _ _))) |
| 411 | intro n x _ |
| 412 | change _ = HarmonicResidual.nonconstant (HarmonicResidual.realCoefficients |
| 413 | (meanCross c u.mean (HarmonicWaveInteraction.withCarrier a b) n i + |
| 414 | HarmonicWaveInteraction.nonlinearCoefficients c a b n i)) j x |
| 415 | rw [nonconstant_apply_of_ne _ hj, realCoefficients_add] |
| 416 | rfl |
| 417 | |
| 418 | theorem residualBlock_mean_update_class {s : StripData D} {C : ℕ → Set D} |
| 419 | {κ α H : ℝ} {P : ℕ → D → ℝ} |
| 420 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 421 | (hκ : κ ≤ 1 / 2) (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 422 | (s₀ s₁ : CorrectionState.State D) (h : MeanIncrementBounds.Triple D) |
| 423 | (he : s₁.mean = MeanIncrementBounds.updated s₀.mean h) |
| 424 | (hbase : MeanIncrementBounds.SmoothTriple s.domain c.base) |
| 425 | (hmean : MeanIncrementBounds.SmoothTriple s.domain s₀.mean) |
| 426 | (hh : MeanIncrementBounds.IncrementBounds s H h) |
| 427 | (b : CorrectionState.HarmonicBlock D) (hb : b.WaveBounds s P α) |
| 428 | (hN : ∀ i, LocalUnweighted s (fun n (_ : Unit) => C n) 0 |
| 429 | (fun n _ x => slowNormal c ho hR b.phase n x i)) |
| 430 | (hk : BandBound s (-(1 / 2)) b.frequency) |
| 431 | (hkp : BandBound s (-(1 / 2)) (fun n => (b.angularFrequency n : ℝ))) |
| 432 | (hz : ∀ n x, x ∈ s.domain → x ∉ C n → |
| 433 | ∀ i j, j ≠ 0 → b.velocity n i j =ᶠ[𝓝 x] fun _ => 0) |
| 434 | (G A₀ A₁ : HarmonicResidual.BlockCoefficients D) |
| 435 | (hA : ∀ n i, BandLimited (A₁ n i - A₀ n i) 0) {j : ℤ} (hj : j ≠ 0) (i : Fin 3) : |
| 436 | WaveClass s P (α + H - 1 / 2) (fun n x => |
| 437 | (HarmonicResidual.residualBlock c s₁ b G A₁).velocity n i j x - |
| 438 | (HarmonicResidual.residualBlock c s₀ b G A₀).velocity n i j x) := by |
| 439 | apply class_congr (realMeanCross_class c ho hκ hR hh hb hN hk hkp hz hj i) |
| 440 | intro n x hx |
| 441 | symm |
| 442 | apply residualBlock_axisymmetric_alias_update c s₀ s₁ h he b G A₀ A₁ hA n |
| 443 | · intro t |
| 444 | exact ((tripleField_smooth hbase n t).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 445 | · intro t |
| 446 | exact ((tripleField_smooth hmean n t).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 447 | · intro t |
| 448 | exact ((tripleField_smooth hh.smooth n t).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 449 | · exact hj |
| 450 | |
| 451 | theorem residualDifferenceBlock_class {s : StripData D} {C : ℕ → Set D} |
| 452 | {κ α H : ℝ} {P : ℕ → D → ℝ} |
| 453 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 454 | (hκ : κ ≤ 1 / 2) (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 455 | (s₀ s₁ : CorrectionState.State D) (h : MeanIncrementBounds.Triple D) |
| 456 | (he : s₁.mean = MeanIncrementBounds.updated s₀.mean h) |
| 457 | (hbase : MeanIncrementBounds.SmoothTriple s.domain c.base) |
| 458 | (hmean : MeanIncrementBounds.SmoothTriple s.domain s₀.mean) |
| 459 | (hh : MeanIncrementBounds.IncrementBounds s H h) |
| 460 | (b : CorrectionState.HarmonicBlock D) (hb : b.WaveBounds s P α) |
| 461 | (hN : ∀ i, LocalUnweighted s (fun n (_ : Unit) => C n) 0 |
| 462 | (fun n _ x => slowNormal c ho hR b.phase n x i)) |
| 463 | (hk : BandBound s (-(1 / 2)) b.frequency) |
| 464 | (hkp : BandBound s (-(1 / 2)) (fun n => (b.angularFrequency n : ℝ))) |
| 465 | (hz : ∀ n x, x ∈ s.domain → x ∉ C n → |
| 466 | ∀ i j, j ≠ 0 → b.velocity n i j =ᶠ[𝓝 x] fun _ => 0) |
| 467 | (G A₀ A₁ : HarmonicResidual.BlockCoefficients D) |
| 468 | (hA : ∀ n i, BandLimited (A₁ n i - A₀ n i) 0) : |
| 469 | (residualDifferenceBlock c s₀ s₁ b G A₀ A₁).WaveBounds s P (α + H - 1 / 2) := by |
| 470 | intro i j hj |
| 471 | exact residualBlock_mean_update_class c ho hκ hR s₀ s₁ h he hbase hmean hh b hb hN hk hkp hz |
| 472 | G A₀ A₁ hA hj i |
| 473 | |
| 474 | end NavierStokes.LocalizedMeanInteraction |