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.UniformPrimaryWeights |
| 2 | import NavierStokes.LocalizedMeanInteraction |
| 3 | |
| 4 | /-! |
| 5 | # Uniform estimates for the actual harmonic interaction |
| 6 | |
| 7 | The finite-jet constants are chosen before the spatial label and band. |
| 8 | The nonlinear estimate uses exact mode solenoidality to remove the phase |
| 9 | normal. Only the fixed signed harmonic ratio remains in that cancellation. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.UniformHarmonicInteraction |
| 15 | |
| 16 | open Set Filter Function WeightedClasses LabelSumBounds HarmonicCalculus HarmonicFields |
| 17 | open WaveInteractionBounds HarmonicMeanInteraction HarmonicWaveInteraction |
| 18 | open scoped Topology ContDiff BigOperators |
| 19 | |
| 20 | variable {D : Type} {ι : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 21 | |
| 22 | /-- Uniform input classes for each fixed signed Fourier mode and physical |
| 23 | component. The label and band are inside the uniform estimate. -/ |
| 24 | noncomputable def UniformVelocity (s : StripData D) (P : ι → ℕ → D → ℝ) (α : ℝ) |
| 25 | (a : ι → CorrectionState.HarmonicBlock D) : Prop := |
| 26 | ∀ i j, j ≠ 0 → UniformWaveClass s P α (fun l n x => (a l).velocity n i j x) |
| 27 | |
| 28 | theorem waveBounds_each {s : StripData D} {P : ι → ℕ → D → ℝ} {α : ℝ} |
| 29 | {a : ι → CorrectionState.HarmonicBlock D} (ha : UniformVelocity s P α a) (l : ι) : |
| 30 | (a l).WaveBounds s (P l) α := fun i j hj => (ha i j hj).each l |
| 31 | |
| 32 | section UniformAlgebra |
| 33 | |
| 34 | variable {s : StripData D} {w v : ι → ℕ → D → ℝ} {α β κ : ℝ} |
| 35 | |
| 36 | theorem cmul {f g : ι → ℕ → D → ℂ} (hf : UniformClass s w α f) |
| 37 | (hg : UniformClass s v β g) : |
| 38 | UniformClass s (fun l n x => w l n x * v l n x) (α+β) |
| 39 | (fun l n x => f l n x * g l n x) := |
| 40 | hf.bilinear hg (ContinuousLinearMap.mul ℝ ℂ) |
| 41 | |
| 42 | theorem div_radius (G : Geometry s κ) {f : ι → ℕ → D → ℂ} (hf : UniformClass s w α f) : |
| 43 | UniformClass s w α (fun l n x => f l n x / (G.radius n x : ℂ)) := by |
| 44 | simpa only [mul_one, add_zero, div_eq_mul_inv] using |
| 45 | cmul hf (UniformPrimaryWeights.class_of_single (inverse_radius_complex G)) |
| 46 | |
| 47 | theorem generator {a : ι → Family D} |
| 48 | (ha : ∀ i, UniformClass s w α (fun l n x => a l n x i)) (i : Fin 3) : |
| 49 | UniformClass s w α (fun l n x => angularGenerator (a l n x) i) := by |
| 50 | fin_cases i |
| 51 | · exact (ha 1).neg |
| 52 | · exact ha 0 |
| 53 | · exact UniformClass.zero (ha 0).weight_nonneg |
| 54 | |
| 55 | theorem strippedTransport_uniform (G : Geometry s κ) (hκ : 0 ≤ κ) |
| 56 | {a b : ι → Family D} |
| 57 | (ha : ∀ i, UniformClass s w α (fun l n x => a l n x i)) |
| 58 | (hb : ∀ i, UniformClass s v β (fun l n x => b l n x i)) (i : Fin 3) : |
| 59 | UniformClass s (fun l n x => w l n x * v l n x) (α+β-κ) |
| 60 | (fun l n x => strippedTransport G (a l) (b l) n x i) := by |
| 61 | have hr := cmul (ha 0) (UniformPrimaryWeights.along_class |
| 62 | (UniformPrimaryWeights.class_of_single G.radial_class) (hb i)) |
| 63 | have hr' : UniformClass s (fun l n x => w l n x * v l n x) (α+β-κ) |
| 64 | (fun l n x => a l n x 0 * along (G.radial n) (fun y => b l n y i) x) := by |
| 65 | convert! hr using 1 |
| 66 | ring |
| 67 | have hc := cmul (div_radius G (ha 1)) (generator hb i) |
| 68 | have hc' := hc.mono_exponent (show α+β-κ ≤ α+β by linarith) |
| 69 | have hz := cmul (ha 2) (UniformPrimaryWeights.along_class |
| 70 | (UniformPrimaryWeights.class_of_single G.axial_class) (hb i)) |
| 71 | have hz' := hz.mono_exponent (show α+β-κ ≤ α+(β+1) by linarith) |
| 72 | exact (hr'.add hc').add hz' |
| 73 | |
| 74 | theorem strippedDivergence_uniform (G : Geometry s κ) (hκ : 0 ≤ κ) |
| 75 | {a : ι → Family D} (ha : ∀ i, UniformClass s w α (fun l n x => a l n x i)) : |
| 76 | UniformClass s w (α-κ) |
| 77 | (fun l n => strippedDivergence (G.radius n) (G.radial n) (G.axial n) (a l n)) := by |
| 78 | have hr : UniformClass s w (α-κ) (fun l n => along (G.radial n) (fun x => a l n x 0)) := by |
| 79 | simpa only [sub_eq_add_neg] using UniformPrimaryWeights.along_class |
| 80 | (UniformPrimaryWeights.class_of_single G.radial_class) (ha 0) |
| 81 | have hc := (div_radius G (ha 0)).mono_exponent (show α-κ ≤ α by linarith) |
| 82 | have hz := (UniformPrimaryWeights.along_class |
| 83 | (UniformPrimaryWeights.class_of_single G.axial_class) (ha 2)).mono_exponent |
| 84 | (show α-κ ≤ α+1 by linarith) |
| 85 | apply ((hr.add hc).add hz).congr |
| 86 | intro l n x hx |
| 87 | simp only [strippedDivergence, Complex.real_smul, Complex.ofReal_inv, div_eq_mul_inv] |
| 88 | ring |
| 89 | |
| 90 | end UniformAlgebra |
| 91 | |
| 92 | section Cancellation |
| 93 | |
| 94 | variable {s : StripData D} {κ α β : ℝ} {P : ℕ → D → ℝ} |
| 95 | |
| 96 | /-- Exact cancellation for the literal ordered harmonic coefficient. |
| 97 | The output contains no phase normal and no carrier magnitude. -/ |
| 98 | theorem orderedKernel_eq_cancelled |
| 99 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 100 | (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 101 | {a b : CorrectionState.HarmonicBlock D} |
| 102 | (ha : a.WaveBounds s P α) (hb : b.WaveBounds s P β) |
| 103 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (a.phase n) s.domain) |
| 104 | (hk : ∀ n, a.frequency n ≠ 0) (hdiv : ModeSolenoidal s c a) |
| 105 | {j m : ℤ} (hj : j ≠ 0) (hm : m ≠ 0) (n : ℕ) {x : D} (hx : x ∈ s.domain) (i : Fin 3) : |
| 106 | orderedKernel (HarmonicResidual.contextFrame c n) (a.frequency n) |
| 107 | (a.phase n) (a.angularFrequency n) m (amplitude a j n) (amplitude b m n) x i = |
| 108 | strippedTransport (slowGeometry c ho hR) (amplitude a j) (amplitude b m) n x i + |
| 109 | (((m : ℝ)/(j : ℝ)) • (-strippedDivergence ((slowGeometry c ho hR).radius n) |
| 110 | ((slowGeometry c ho hR).radial n) ((slowGeometry c ho hR).axial n) |
| 111 | (amplitude a j n) x)) * amplitude b m n x i := by |
| 112 | let G := slowGeometry c ho hR |
| 113 | let G' := liftedGeometry G |
| 114 | have hpa : DifferentiableAt ℝ (a.phase n) x := |
| 115 | ((hΦ n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 116 | have had (r : Fin 3) : DifferentiableAt ℝ (fun y => amplitude a j n y r) x := |
| 117 | (((blockAmplitude_class ha hj r).smooth n).contDiffAt |
| 118 | (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 119 | have hbd (r : Fin 3) : DifferentiableAt ℝ (fun y => amplitude b m n y r) x := |
| 120 | (((blockAmplitude_class hb hm r).smooth n).contDiffAt |
| 121 | (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 122 | have had' (r : Fin 3) : DifferentiableAt ℝ |
| 123 | (fun p : D × ℝ => amplitude a j n p.1 r) (x,0) := |
| 124 | (had r).comp (x,0) differentiableAt_fst |
| 125 | have hphase : DifferentiableAt ℝ (fullPhase a n) (x,0) := |
| 126 | (fullPhase_hasFDerivAt a n hpa).differentiableAt |
| 127 | have hnu : a.frequency n * (j : ℝ) ≠ 0 := |
| 128 | mul_ne_zero (hk n) (by exact_mod_cast hj) |
| 129 | have hd := hdiv j hj n (x,0) hx |
| 130 | rw [singleMode_eq a j n (hk n)] at hd |
| 131 | have hang := lifted_amplitude_angularIndependent G ha hj n 1 (x,0) hx |
| 132 | have hswitch := switched_longitudinal (G'.radius n) (G'.radial n) (G'.angular n) (G'.axial n) |
| 133 | (a.frequency n*(j:ℝ)) (a.frequency n*(m:ℝ)) hnu hphase had' hang hd |
| 134 | have hratio : (a.frequency n*(m:ℝ))/(a.frequency n*(j:ℝ)) = (m:ℝ)/(j:ℝ) := by |
| 135 | field_simp [hk n] |
| 136 | have ht : strippedTransport G' |
| 137 | (fun n p => amplitude a j n p.1) (fun n p => amplitude b m n p.1) n (x,0) i = |
| 138 | strippedTransport G (amplitude a j) (amplitude b m) n x i := by |
| 139 | change amplitude a j n x 0 * along (HarmonicResidual.liftDirection (G.radial n)) |
| 140 | (fun p => amplitude b m n p.1 i) (x,0) + |
| 141 | (amplitude a j n x 1 / (G.radius n x : ℂ)) * angularGenerator (amplitude b m n x) i + |
| 142 | amplitude a j n x 2 * along (HarmonicResidual.liftDirection (G.axial n)) |
| 143 | (fun p => amplitude b m n p.1 i) (x,0) = _ |
| 144 | rw [along_fst (G.radial n) (p := (x,0)) (hbd i), |
| 145 | along_fst (G.axial n) (p := (x,0)) (hbd i)] |
| 146 | rfl |
| 147 | have hd' : strippedDivergence (G'.radius n) (G'.radial n) (G'.axial n) |
| 148 | (fun p => amplitude a j n p.1) (x,0) = |
| 149 | strippedDivergence (G.radius n) (G.radial n) (G.axial n) (amplitude a j n) x := by |
| 150 | change along (HarmonicResidual.liftDirection (G.radial n)) |
| 151 | (fun p => amplitude a j n p.1 0) (x,0) + |
| 152 | (G.radius n x)⁻¹ • amplitude a j n x 0 + |
| 153 | along (HarmonicResidual.liftDirection (G.axial n)) |
| 154 | (fun p => amplitude a j n p.1 2) (x,0) = _ |
| 155 | rw [along_fst (G.radial n) (p := (x,0)) (had 0), |
| 156 | along_fst (G.axial n) (p := (x,0)) (had 2)] |
| 157 | rfl |
| 158 | rw [orderedKernel_eq_fullCoefficient c ho hR a (amplitude a j) (amplitude b m) |
| 159 | m n hx (hk n) hpa hbd i] |
| 160 | change strippedTransport G' _ _ n (x,0) i + |
| 161 | (phaseFactor (a.frequency n*(m:ℝ)) * |
| 162 | normalDot (phaseNormal (G'.radius n) (G'.radial n) (G'.angular n) (G'.axial n) |
| 163 | (fullPhase a n) (x,0)) (amplitude a j n x)) * amplitude b m n x i = _ |
| 164 | rw [hswitch, hratio, hd', ht] |
| 165 | |
| 166 | end Cancellation |
| 167 | |
| 168 | section Nonlinear |
| 169 | |
| 170 | variable {s : StripData D} {κ α β : ℝ} {P : ι → ℕ → D → ℝ} |
| 171 | |
| 172 | theorem blockAmplitude_uniform {a : ι → CorrectionState.HarmonicBlock D} |
| 173 | (ha : UniformVelocity s P α a) {j : ℤ} (hj : j ≠ 0) (i : Fin 3) : |
| 174 | UniformWaveClass s P α (fun l n x => amplitude (a l) j n x i) := by |
| 175 | have h := ((ha i j hj).add ((ha i (-j) (neg_ne_zero.mpr hj)).map |
| 176 | (Complex.conjCLE : ℂ →L[ℝ] ℂ))).map (ContinuousLinearMap.mul ℝ ℂ (2 : ℂ)⁻¹) |
| 177 | simp only [amplitude, blockAmplitude, HarmonicResidual.realCoefficients_apply, ContinuousLinearMap.mul_apply'] at h ⊢ |
| 178 | exact h |
| 179 | |
| 180 | /-- The genuine ordered coefficient has a uniform class before summing |
| 181 | harmonics. No quantitative assumption on the phase normal is used. -/ |
| 182 | theorem orderedKernel_uniform |
| 183 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 184 | (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 185 | {a b : ι → CorrectionState.HarmonicBlock D} |
| 186 | (ha : UniformVelocity s P α a) (hb : UniformVelocity s P β b) |
| 187 | (hΦ : ∀ l n, ContDiffOn ℝ ∞ ((a l).phase n) s.domain) |
| 188 | (hk : ∀ l n, (a l).frequency n ≠ 0) (hdiv : ∀ l, ModeSolenoidal s c (a l)) |
| 189 | {j m : ℤ} (hj : j ≠ 0) (hm : m ≠ 0) (i : Fin 3) : |
| 190 | UniformClass s (fun l n x => (Real.sqrt (s.zeta x) * P l n x) * |
| 191 | (Real.sqrt (s.zeta x) * P l n x)) (α+β-κ) |
| 192 | (fun l n x => orderedKernel (HarmonicResidual.contextFrame c n) ((a l).frequency n) |
| 193 | ((a l).phase n) ((a l).angularFrequency n) m |
| 194 | (amplitude (a l) j n) (amplitude (b l) m n) x i) := by |
| 195 | let G := slowGeometry c ho hR |
| 196 | have ha' := fun r => blockAmplitude_uniform ha hj r |
| 197 | have hb' := fun r => blockAmplitude_uniform hb hm r |
| 198 | have hd := (strippedDivergence_uniform G ho.kappa_nonneg ha').neg.map |
| 199 | (((m:ℝ)/(j:ℝ)) • ContinuousLinearMap.id ℝ ℂ) |
| 200 | simp only [_root_.smul_apply, ContinuousLinearMap.id_apply] at hd |
| 201 | have hp : UniformClass s (fun l n x => (Real.sqrt (s.zeta x) * P l n x) * |
| 202 | (Real.sqrt (s.zeta x) * P l n x)) (α+β-κ) |
| 203 | (fun l n x => (((m:ℝ)/(j:ℝ)) • (-strippedDivergence (G.radius n) |
| 204 | (G.radial n) (G.axial n) (amplitude (a l) j n) x)) * amplitude (b l) m n x i) := by |
| 205 | convert! cmul hd (hb' i) using 1 |
| 206 | ring |
| 207 | apply ((strippedTransport_uniform G ho.kappa_nonneg ha' hb' i).add hp).congr |
| 208 | intro l n x hx |
| 209 | exact (orderedKernel_eq_cancelled c ho hR (waveBounds_each ha l) (waveBounds_each hb l) |
| 210 | (hΦ l) (hk l) (hdiv l) hj hm n hx i).symm |
| 211 | |
| 212 | /-- Zero input modes contribute exactly zero, so the uniform ordered |
| 213 | estimate applies to every signed pair of Fourier indices. -/ |
| 214 | theorem orderedKernel_uniform_all |
| 215 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 216 | (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 217 | {a b : ι → CorrectionState.HarmonicBlock D} |
| 218 | (ha : UniformVelocity s P α a) (hb : UniformVelocity s P β b) |
| 219 | (ha0 : ∀ l, ZeroMode (a l)) (hb0 : ∀ l, ZeroMode (b l)) |
| 220 | (hΦ : ∀ l n, ContDiffOn ℝ ∞ ((a l).phase n) s.domain) |
| 221 | (hk : ∀ l n, (a l).frequency n ≠ 0) (hdiv : ∀ l, ModeSolenoidal s c (a l)) |
| 222 | (j m : ℤ) (i : Fin 3) : |
| 223 | UniformClass s (fun l n x => (Real.sqrt (s.zeta x) * P l n x) * |
| 224 | (Real.sqrt (s.zeta x) * P l n x)) (α+β-κ) |
| 225 | (fun l n x => orderedKernel (HarmonicResidual.contextFrame c n) ((a l).frequency n) |
| 226 | ((a l).phase n) ((a l).angularFrequency n) m |
| 227 | (amplitude (a l) j n) (amplitude (b l) m n) x i) := by |
| 228 | have hw l n x (_ : x ∈ s.domain) : |
| 229 | 0 ≤ (Real.sqrt (s.zeta x)*P l n x) * (Real.sqrt (s.zeta x)*P l n x) := |
| 230 | mul_self_nonneg _ |
| 231 | by_cases hj : j = 0 |
| 232 | · subst j |
| 233 | apply (UniformClass.zero (α := α+β-κ) (E := ℂ) hw).congr |
| 234 | intro l n x hx |
| 235 | simp only [amplitude_zero (ha0 l), orderedKernel_zero_left] |
| 236 | by_cases hm : m = 0 |
| 237 | · subst m |
| 238 | apply (UniformClass.zero (α := α+β-κ) (E := ℂ) hw).congr |
| 239 | intro l n x hx |
| 240 | simp only [amplitude_zero (hb0 l), orderedKernel_zero_right] |
| 241 | exact orderedKernel_uniform c ho hR ha hb hΦ hk hdiv hj hm i |
| 242 | |
| 243 | /-- Only the common harmonic band is summed. The number of spatial labels |
| 244 | does not enter the constants. -/ |
| 245 | theorem transport_uniform_raw |
| 246 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 247 | (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 248 | {a b : ι → CorrectionState.HarmonicBlock D} {M : ℕ} |
| 249 | (ha : UniformVelocity s P α a) (hb : UniformVelocity s P β b) |
| 250 | (ha0 : ∀ l, ZeroMode (a l)) (hb0 : ∀ l, ZeroMode (b l)) |
| 251 | (hM : ∀ l, (a l).BandLimited M) |
| 252 | (hΦ : ∀ l n, ContDiffOn ℝ ∞ ((a l).phase n) s.domain) |
| 253 | (hk : ∀ l n, (a l).frequency n ≠ 0) (hdiv : ∀ l, ModeSolenoidal s c (a l)) |
| 254 | (m : ℤ) (i : Fin 3) : |
| 255 | UniformClass s (fun l n x => (Real.sqrt (s.zeta x) * P l n x) * |
| 256 | (Real.sqrt (s.zeta x) * P l n x)) (α+β-κ) |
| 257 | (fun l n x => HarmonicResidual.transport (HarmonicResidual.contextFrame c n) |
| 258 | ((a l).frequency n) ((a l).phase n) ((a l).angularFrequency n) |
| 259 | (blockAmplitude (a l) n) (blockAmplitude (b l) n) i m x) := by |
| 260 | have hsum := UniformClass.sum (harmonicRange M) |
| 261 | (fun j l n x => orderedKernel (HarmonicResidual.contextFrame c n) ((a l).frequency n) |
| 262 | ((a l).phase n) ((a l).angularFrequency n) (m-j) |
| 263 | (amplitude (a l) j n) (amplitude (b l) (m-j) n) x i) |
| 264 | (fun l n x _ => mul_self_nonneg (Real.sqrt (s.zeta x)*P l n x)) |
| 265 | (fun j _ => orderedKernel_uniform_all c ho hR ha hb ha0 hb0 hΦ hk hdiv j (m-j) i) |
| 266 | apply hsum.congr |
| 267 | intro l n x hx |
| 268 | exact (transport_convolution _ _ _ _ _ _ (harmonicRange M) |
| 269 | (fun r => band_support_range (HarmonicResidual.band_realCoefficients ((hM l).1 n r))) m x i).symm |
| 270 | |
| 271 | theorem square_weight_wave {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 272 | {γ : ℝ} {f : ι → ℕ → D → E} |
| 273 | (hf : UniformClass s (fun l n x => (Real.sqrt (s.zeta x)*P l n x) * |
| 274 | (Real.sqrt (s.zeta x)*P l n x)) γ f) |
| 275 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 276 | (hP0 : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 277 | (hP1 : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) : UniformWaveClass s P γ f := by |
| 278 | apply hf.mono_weight (fun l n x hx => mul_nonneg (Real.sqrt_nonneg _) (hP0 l n x hx)) |
| 279 | intro l n x hx |
| 280 | have hs1 : Real.sqrt (s.zeta x) ≤ 1 := by |
| 281 | nlinarith [Real.sq_sqrt (s.zeta_nonneg x hx), hζ x hx, Real.sqrt_nonneg (s.zeta x)] |
| 282 | have hw1 : Real.sqrt (s.zeta x)*P l n x ≤ 1 := |
| 283 | (mul_le_mul hs1 (hP1 l n x hx) (hP0 l n x hx) zero_le_one).trans_eq (one_mul 1) |
| 284 | exact mul_le_of_le_one_right (mul_nonneg (Real.sqrt_nonneg _) (hP0 l n x hx)) hw1 |
| 285 | |
| 286 | theorem transport_uniform |
| 287 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 288 | (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 289 | {a b : ι → CorrectionState.HarmonicBlock D} {M : ℕ} |
| 290 | (ha : UniformVelocity s P α a) (hb : UniformVelocity s P β b) |
| 291 | (ha0 : ∀ l, ZeroMode (a l)) (hb0 : ∀ l, ZeroMode (b l)) |
| 292 | (hM : ∀ l, (a l).BandLimited M) |
| 293 | (hΦ : ∀ l n, ContDiffOn ℝ ∞ ((a l).phase n) s.domain) |
| 294 | (hk : ∀ l n, (a l).frequency n ≠ 0) (hdiv : ∀ l, ModeSolenoidal s c (a l)) |
| 295 | (hP0 : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 296 | (hP1 : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) (m : ℤ) (i : Fin 3) : |
| 297 | UniformWaveClass s P (α+β-κ) |
| 298 | (fun l n x => HarmonicResidual.transport (HarmonicResidual.contextFrame c n) |
| 299 | ((a l).frequency n) ((a l).phase n) ((a l).angularFrequency n) |
| 300 | (blockAmplitude (a l) n) (blockAmplitude (b l) n) i m x) := |
| 301 | square_weight_wave (transport_uniform_raw c ho hR ha hb ha0 hb0 hM hΦ hk hdiv m i) |
| 302 | ho.weight_le_one hP0 hP1 |
| 303 | |
| 304 | theorem mixed_uniform |
| 305 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 306 | (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 307 | {a b : ι → CorrectionState.HarmonicBlock D} {M N : ℕ} |
| 308 | (ha : UniformVelocity s P α a) (hb : UniformVelocity s P β b) |
| 309 | (ha0 : ∀ l, ZeroMode (a l)) (hb0 : ∀ l, ZeroMode (b l)) |
| 310 | (hM : ∀ l, (a l).BandLimited M) (hN : ∀ l, (b l).BandLimited N) |
| 311 | (hΦ : ∀ l n, ContDiffOn ℝ ∞ ((a l).phase n) s.domain) |
| 312 | (hk : ∀ l n, (a l).frequency n ≠ 0) |
| 313 | (hda : ∀ l, ModeSolenoidal s c (a l)) |
| 314 | (hdb : ∀ l, ModeSolenoidal s c (withCarrier (a l) (b l))) |
| 315 | (hP0 : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 316 | (hP1 : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) (m : ℤ) (i : Fin 3) : |
| 317 | UniformWaveClass s P (α+β-κ) (fun l n x => |
| 318 | blockTransport c (a l) (a l) (b l) n i m x + |
| 319 | blockTransport c (a l) (b l) (a l) n i m x) := by |
| 320 | have hab := transport_uniform c ho hR ha hb ha0 hb0 hM hΦ hk hda hP0 hP1 m i |
| 321 | have hba := transport_uniform c ho hR (a := fun l => withCarrier (a l) (b l)) |
| 322 | hb ha hb0 ha0 hN hΦ hk hdb hP0 hP1 m i |
| 323 | have hba' : UniformWaveClass s P (α+β-κ) |
| 324 | (fun l n x => blockTransport c (a l) (b l) (a l) n i m x) := by |
| 325 | simp only [blockTransport, withCarrier, add_comm β α] at hba ⊢ |
| 326 | exact hba |
| 327 | exact hab.add hba' |
| 328 | |
| 329 | theorem square_uniform |
| 330 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 331 | (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 332 | (a : ι → CorrectionState.HarmonicBlock D) {b : ι → CorrectionState.HarmonicBlock D} {N : ℕ} |
| 333 | (hb : UniformVelocity s P β b) (hb0 : ∀ l, ZeroMode (b l)) (hN : ∀ l, (b l).BandLimited N) |
| 334 | (hΦ : ∀ l n, ContDiffOn ℝ ∞ ((a l).phase n) s.domain) |
| 335 | (hk : ∀ l n, (a l).frequency n ≠ 0) |
| 336 | (hdb : ∀ l, ModeSolenoidal s c (withCarrier (a l) (b l))) |
| 337 | (hP0 : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 338 | (hP1 : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) (m : ℤ) (i : Fin 3) : |
| 339 | UniformWaveClass s P (2*β-κ) |
| 340 | (fun l n x => blockTransport c (a l) (b l) (b l) n i m x) := by |
| 341 | have he := transport_uniform c ho hR (a := fun l => withCarrier (a l) (b l)) |
| 342 | hb hb hb0 hb0 hN hΦ hk hdb hP0 hP1 m i |
| 343 | simp only [two_mul] at he ⊢ |
| 344 | exact he |
| 345 | |
| 346 | /-- The literal three-term nonlinear update has a uniform class over all |
| 347 | labels, with the mixed and self-interaction exponents both retained. -/ |
| 348 | theorem nonlinearCoefficients_uniform |
| 349 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 350 | (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 351 | {a b : ι → CorrectionState.HarmonicBlock D} {M N : ℕ} |
| 352 | (ha : UniformVelocity s P α a) (hb : UniformVelocity s P β b) |
| 353 | (ha0 : ∀ l, ZeroMode (a l)) (hb0 : ∀ l, ZeroMode (b l)) |
| 354 | (hM : ∀ l, (a l).BandLimited M) (hN : ∀ l, (b l).BandLimited N) |
| 355 | (hΦ : ∀ l n, ContDiffOn ℝ ∞ ((a l).phase n) s.domain) |
| 356 | (hk : ∀ l n, (a l).frequency n ≠ 0) |
| 357 | (hda : ∀ l, ModeSolenoidal s c (a l)) |
| 358 | (hdb : ∀ l, ModeSolenoidal s c (withCarrier (a l) (b l))) |
| 359 | (hP0 : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 360 | (hP1 : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) (m : ℤ) (i : Fin 3) : |
| 361 | UniformWaveClass s P (min (α+β-κ) (2*β-κ)) |
| 362 | (fun l n x => nonlinearCoefficients c (a l) (b l) n i m x) := by |
| 363 | exact ((mixed_uniform c ho hR ha hb ha0 hb0 hM hN hΦ hk hda hdb hP0 hP1 m i).mono_exponent |
| 364 | (min_le_left _ _)).add ((square_uniform c ho hR a hb hb0 hN hΦ hk hdb hP0 hP1 m i).mono_exponent |
| 365 | (min_le_right _ _)) |
| 366 | |
| 367 | end Nonlinear |
| 368 | |
| 369 | section ActualBlock |
| 370 | |
| 371 | variable {s : StripData D} {κ α β μ : ℝ} {P : ι → ℕ → D → ℝ} |
| 372 | |
| 373 | /-- The actual interaction block, including the unchanged state's mean, |
| 374 | has one finite-jet bound uniform over labels and bands. Phase normals and |
| 375 | frequencies are required only on the genuine support patch of each wave. -/ |
| 376 | theorem interactionBlock_uniform |
| 377 | (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) |
| 378 | (hκ : κ ≤ 1/2) (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) |
| 379 | {u : CorrectionState.State D} (hmean : MeanIncrementBounds.IncrementBounds s μ u.mean) |
| 380 | {a b : ι → CorrectionState.HarmonicBlock D} {M N : ℕ} |
| 381 | (ha : UniformVelocity s P α a) (hb : UniformVelocity s P β b) |
| 382 | (ha0 : ∀ l, ZeroMode (a l)) (hb0 : ∀ l, ZeroMode (b l)) |
| 383 | (hM : ∀ l, (a l).BandLimited M) (hN : ∀ l, (b l).BandLimited N) |
| 384 | (hΦ : ∀ l n, ContDiffOn ℝ ∞ ((a l).phase n) s.domain) |
| 385 | (hk : ∀ l n, (a l).frequency n ≠ 0) |
| 386 | (hda : ∀ l, ModeSolenoidal s c (a l)) |
| 387 | (hdb : ∀ l, ModeSolenoidal s c (withCarrier (a l) (b l))) |
| 388 | {C : ℕ → ι → Set D} |
| 389 | (hNormal : ∀ i, LocalizedWaveBounds.LocalUnweighted s C 0 |
| 390 | (fun n l x => slowNormal c ho hR (a l).phase n x i)) |
| 391 | (hFreq : LocalizedWaveBounds.LocalUnweighted s C (-(1/2)) |
| 392 | (fun n l _ => (a l).frequency n)) |
| 393 | (hAng : LocalizedWaveBounds.LocalUnweighted s C (-(1/2)) |
| 394 | (fun n l _ => ((a l).angularFrequency n : ℝ))) |
| 395 | (hz : ∀ n l x, x ∈ s.domain → x ∉ C n l → |
| 396 | ∀ i j, j ≠ 0 → (b l).velocity n i j =ᶠ[𝓝 x] fun _ => 0) |
| 397 | (hP0 : ∀ l n x, x ∈ s.domain → 0 ≤ P l n x) |
| 398 | (hP1 : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) |
| 399 | {j : ℤ} (hj : j ≠ 0) (i : Fin 3) : |
| 400 | UniformClass s (fun l n x => Real.sqrt (s.zeta x) * P l n x) |
| 401 | (min (β+μ-1/2) (min (α+β-κ) (2*β-κ))) |
| 402 | (fun l n x => (interactionBlock c u (a l) (b l)).velocity n i j x) := by |
| 403 | have hm := LocalizedMeanInteraction.uniform_realMeanCross_class c ho hκ hR hmean |
| 404 | (b := fun l => withCarrier (a l) (b l)) (P := fun n l => P l n) |
| 405 | hb hNormal hFreq hAng hz hj i |
| 406 | have hn m := nonlinearCoefficients_uniform c ho hR ha hb ha0 hb0 hM hN hΦ hk hda hdb hP0 hP1 m i |
| 407 | have hnr := LabelSumBounds.uniform_realCoefficients |
| 408 | (fun l n => nonlinearCoefficients c (a l) (b l) n i) hn j |
| 409 | apply ((hm.mono_exponent (min_le_left _ _)).add |
| 410 | (hnr.mono_exponent (min_le_right _ _))).congr |
| 411 | intro l n x hx |
| 412 | change _ = HarmonicResidual.nonconstant (HarmonicResidual.realCoefficients |
| 413 | (meanCross c u.mean (withCarrier (a l) (b l)) n i + nonlinearCoefficients c (a l) (b l) n i)) j x |
| 414 | rw [nonconstant_apply_of_ne _ hj, realCoefficients_add] |
| 415 | rfl |
| 416 | |
| 417 | /-- The same expression is still a genuine finite harmonic block, with |
| 418 | zero constant mode and the original carrier. This is independent of the |
| 419 | estimates and uses the exact coefficient constructors. -/ |
| 420 | theorem interactionBlock_structure |
| 421 | (c : CorrectionState.Context D) (u : CorrectionState.State D) |
| 422 | (a b : ι → CorrectionState.HarmonicBlock D) {M N : ℕ} |
| 423 | (hM : ∀ l, (a l).BandLimited M) (hN : ∀ l, (b l).BandLimited N) (l : ι) : |
| 424 | (interactionBlock c u (a l) (b l)).BandLimited (max (M+N) (N+N)) ∧ |
| 425 | ZeroMode (interactionBlock c u (a l) (b l)) ∧ |
| 426 | (interactionBlock c u (a l) (b l)).frequency = (a l).frequency ∧ |
| 427 | (interactionBlock c u (a l) (b l)).phase = (a l).phase ∧ |
| 428 | (interactionBlock c u (a l) (b l)).angularFrequency = (a l).angularFrequency := |
| 429 | ⟨HarmonicWaveInteraction.interactionBlock_band c u (hM l) (hN l), |
| 430 | HarmonicWaveInteraction.interactionBlock_zero c u (a l) (b l), rfl, rfl, rfl⟩ |
| 431 | |
| 432 | end ActualBlock |
| 433 | |
| 434 | end NavierStokes.UniformHarmonicInteraction |