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.WeightedClasses |
| 2 | import NavierStokes.LinearWaveResidual |
| 3 | import NavierStokes.PartitionedCovariance |
| 4 | import NavierStokes.CurlClassBounds |
| 5 | |
| 6 | /-! |
| 7 | # All-jet bounds for actual nonlinear wave interactions |
| 8 | |
| 9 | Only stripped coefficients are placed in the weighted classes. The carrier is |
| 10 | retained in the exact differential identities and is removed before estimating. |
| 11 | -/ |
| 12 | |
| 13 | namespace NavierStokes.WaveInteractionBounds |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open Set Filter WeightedClasses HarmonicCalculus |
| 18 | open scoped ContDiff Topology BigOperators |
| 19 | |
| 20 | variable {D E F : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 21 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 23 | |
| 24 | theorem class_congr {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 25 | {f g : ℕ → D → E} (hf : MemClass s w α f) |
| 26 | (hfg : ∀ n, EqOn (f n) (g n) s.domain) : MemClass s w α g := by |
| 27 | refine ⟨hf.weight_nonneg, fun n => (hf.smooth n).congr (fun x hx => (hfg n hx).symm), ?_⟩ |
| 28 | intro m |
| 29 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 30 | refine ⟨C, hC, p, ?_⟩ |
| 31 | intro n x hx j hj |
| 32 | have he : f n =ᶠ[𝓝[univ] x] g n := by |
| 33 | rw [nhdsWithin_univ] |
| 34 | exact eventually_of_mem (s.isOpen_domain.mem_nhds hx) (hfg n) |
| 35 | have hjet := he.iteratedFDerivWithin_eq (𝕜 := ℝ) (hfg n hx) j |
| 36 | simp only [iteratedFDerivWithin_univ] at hjet |
| 37 | rw [← hjet] |
| 38 | exact hb n x hx j hj |
| 39 | |
| 40 | theorem class_neg {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 41 | {f : ℕ → D → E} (hf : MemClass s w α f) : |
| 42 | MemClass s w α (fun n x => -f n x) := by |
| 43 | simpa only [_root_.neg_apply, ContinuousLinearMap.id_apply] using |
| 44 | hf.map (-(ContinuousLinearMap.id ℝ E)) |
| 45 | |
| 46 | theorem class_cmul {s : StripData D} {w v : ℕ → D → ℝ} {α β : ℝ} |
| 47 | {f g : ℕ → D → ℂ} (hf : MemClass s w α f) (hg : MemClass s v β g) : |
| 48 | MemClass s (fun n x => w n x * v n x) (α + β) (fun n x => f n x * g n x) := |
| 49 | hf.bilinear hg (ContinuousLinearMap.mul ℝ ℂ) |
| 50 | |
| 51 | theorem class_conj {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 52 | {f : ℕ → D → ℂ} (hf : MemClass s w α f) : |
| 53 | MemClass s w α (fun n x => star (f n x)) := |
| 54 | hf.map (Complex.conjCLE : ℂ →L[ℝ] ℂ) |
| 55 | |
| 56 | theorem class_const_cmul {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 57 | {f : ℕ → D → ℂ} (hf : MemClass s w α f) (c : ℂ) : |
| 58 | MemClass s w α (fun n x => c * f n x) := |
| 59 | hf.map (ContinuousLinearMap.mul ℝ ℂ c) |
| 60 | |
| 61 | theorem unweighted_cmul {s : StripData D} {w : ℕ → D → ℝ} {α β : ℝ} |
| 62 | {f g : ℕ → D → ℂ} (hf : UnweightedClass s α f) (hg : MemClass s w β g) : |
| 63 | MemClass s w (α + β) (fun n x => f n x * g n x) := by |
| 64 | simpa only [one_mul] using class_cmul hf hg |
| 65 | |
| 66 | theorem mean_wave_cmul {s : StripData D} {P : ℕ → D → ℝ} {α β : ℝ} |
| 67 | {f g : ℕ → D → ℂ} (hf : MeanClass s α f) (hg : WaveClass s P β g) |
| 68 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) : |
| 69 | WaveClass s P (α + β) (fun n x => f n x * g n x) := |
| 70 | hf.bilinear_wave hg hζ (ContinuousLinearMap.mul ℝ ℂ) |
| 71 | |
| 72 | theorem wave_cmul_mean {s : StripData D} {P : ℕ → D → ℝ} {α β : ℝ} |
| 73 | {f g : ℕ → D → ℂ} (hf : WaveClass s P α f) (hg : WaveClass s P β g) |
| 74 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 75 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : |
| 76 | MeanClass s (α + β) (fun n x => f n x * g n x) := |
| 77 | hf.bilinear_mean hg hP0 hP1 (ContinuousLinearMap.mul ℝ ℂ) |
| 78 | |
| 79 | /-- Evaluation of the actual derivative field at an actual vector field. -/ |
| 80 | theorem class_along {s : StripData D} {w : ℕ → D → ℝ} {α β : ℝ} |
| 81 | {f : ℕ → D → E} {V : ℕ → D → D} |
| 82 | (hf : MemClass s w α f) (hV : UnweightedClass s β V) : |
| 83 | MemClass s w (α + β) (fun n => along (V n) (f n)) := by |
| 84 | have h := hV.bilinear hf.fderiv (ContinuousLinearMap.apply ℝ E) |
| 85 | simp only [one_mul, add_comm β α, ContinuousLinearMap.apply_apply] at h |
| 86 | exact h |
| 87 | |
| 88 | /-- Actual geometric coefficient fields, rather than assumed derivative closure. -/ |
| 89 | structure Geometry (s : StripData D) (κ : ℝ) where |
| 90 | radius : ℕ → D → ℝ |
| 91 | radial : ℕ → D → D |
| 92 | angular : ℕ → D → D |
| 93 | axial : ℕ → D → D |
| 94 | radius_pos : ∀ n x, x ∈ s.domain → 0 < radius n x |
| 95 | radial_class : UnweightedClass s (-κ) radial |
| 96 | axial_class : UnweightedClass s 1 axial |
| 97 | inverse_radius_class : UnweightedClass s 0 (fun n x => (radius n x)⁻¹) |
| 98 | |
| 99 | theorem graph_vector_class {s : StripData D} {κ : ℝ} {M : ℕ → ℝ} {a : D → ℝ} |
| 100 | (hκ : 0 ≤ κ) (hM : BandBound s (-κ) M) |
| 101 | (ha : UnweightedClass s 0 (fun _ => a)) (e v : D) : |
| 102 | UnweightedClass s (-κ) (fun n x => e + M n • (a x • v)) := by |
| 103 | have he := (unweighted_const s e).mono_exponent (neg_nonpos.mpr hκ) |
| 104 | have hav : UnweightedClass s 0 (fun _ x => a x • v) := by |
| 105 | unfold UnweightedClass |
| 106 | simpa only [one_mul, zero_add] using MemClass.smul ha (unweighted_const s v) |
| 107 | have hmv : UnweightedClass s (-κ) (fun n x => M n • (a x • v)) := by |
| 108 | unfold UnweightedClass |
| 109 | simpa only [zero_add] using hav.band_smul hM |
| 110 | exact he.add hmv |
| 111 | |
| 112 | theorem axial_vector_class (s : StripData D) (v : D) : |
| 113 | UnweightedClass s 1 (fun n _ => s.epsilon n • v) := by |
| 114 | unfold UnweightedClass |
| 115 | simpa only [zero_add, Real.rpow_one] using (unweighted_const s v).band_smul (bandBound_rpow s 1) |
| 116 | |
| 117 | abbrev Family (D : Type*) := ℕ → D → ComplexVector |
| 118 | |
| 119 | def WaveVector (s : StripData D) (P : ℕ → D → ℝ) (α : ℝ) (a : Family D) : Prop := |
| 120 | ∀ i, WaveClass s P α (fun n x => a n x i) |
| 121 | |
| 122 | def MeanVector (s : StripData D) (μ : ℝ) (a : Family D) : Prop := |
| 123 | MeanClass s (μ + 1) (fun n x => a n x 0) ∧ |
| 124 | MeanClass s μ (fun n x => a n x 1) ∧ MeanClass s μ (fun n x => a n x 2) |
| 125 | |
| 126 | theorem meanVector_component {s : StripData D} {μ : ℝ} {a : Family D} |
| 127 | (ha : MeanVector s μ a) (i : Fin 3) : MeanClass s μ (fun n x => a n x i) := by |
| 128 | fin_cases i |
| 129 | · exact ha.1.mono_exponent (by linarith) |
| 130 | · exact ha.2.1 |
| 131 | · exact ha.2.2 |
| 132 | |
| 133 | def AngularIndependent {s : StripData D} {κ : ℝ} (G : Geometry s κ) (a : Family D) : Prop := |
| 134 | ∀ n i x, x ∈ s.domain → along (G.angular n) (fun y => a n y i) x = 0 |
| 135 | |
| 136 | noncomputable def strippedTransport {s : StripData D} {κ : ℝ} |
| 137 | (G : Geometry s κ) (a b : Family D) : Family D := fun n x i => |
| 138 | a n x 0 * along (G.radial n) (fun y => b n y i) x + |
| 139 | (a n x 1 / (G.radius n x : ℂ)) * angularGenerator (b n x) i + |
| 140 | a n x 2 * along (G.axial n) (fun y => b n y i) x |
| 141 | |
| 142 | theorem generator_class {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} {a : Family D} |
| 143 | (ha : ∀ i, MemClass s w α (fun n x => a n x i)) (i : Fin 3) : |
| 144 | MemClass s w α (fun n x => angularGenerator (a n x) i) := by |
| 145 | fin_cases i |
| 146 | · exact class_neg (ha 1) |
| 147 | · exact ha 0 |
| 148 | · exact MemClass.zero (ha 0).weight_nonneg |
| 149 | |
| 150 | theorem inverse_radius_complex {s : StripData D} {κ : ℝ} (G : Geometry s κ) : |
| 151 | UnweightedClass s 0 (fun n x => ((G.radius n x : ℂ))⁻¹) := by |
| 152 | unfold UnweightedClass |
| 153 | simpa only [Complex.ofRealCLM_apply, Complex.ofReal_inv] using |
| 154 | G.inverse_radius_class.map Complex.ofRealCLM |
| 155 | |
| 156 | theorem class_div_radius {s : StripData D} {w : ℕ → D → ℝ} {α κ : ℝ} |
| 157 | (G : Geometry s κ) {f : ℕ → D → ℂ} (hf : MemClass s w α f) : |
| 158 | MemClass s w α (fun n x => f n x / (G.radius n x : ℂ)) := by |
| 159 | simpa only [zero_add, div_eq_mul_inv, mul_comm] using |
| 160 | unweighted_cmul (inverse_radius_complex G) hf |
| 161 | |
| 162 | theorem strippedTransport_class {s : StripData D} {w v : ℕ → D → ℝ} {α β κ : ℝ} |
| 163 | (G : Geometry s κ) (hκ : 0 ≤ κ) {a b : Family D} |
| 164 | (ha : ∀ i, MemClass s w α (fun n x => a n x i)) |
| 165 | (hb : ∀ i, MemClass s v β (fun n x => b n x i)) (i : Fin 3) : |
| 166 | MemClass s (fun n x => w n x * v n x) (α + β - κ) |
| 167 | (fun n x => strippedTransport G a b n x i) := by |
| 168 | have hr := class_cmul (ha 0) (class_along (hb i) G.radial_class) |
| 169 | have hr' : MemClass s (fun n x => w n x * v n x) (α + β - κ) |
| 170 | (fun n x => a n x 0 * along (G.radial n) (fun y => b n y i) x) := by |
| 171 | convert! hr using 1 |
| 172 | ring |
| 173 | have hc := class_cmul (class_div_radius G (ha 1)) (generator_class hb i) |
| 174 | have hc' := hc.mono_exponent (show α + β - κ ≤ α + β by linarith) |
| 175 | have hz := class_cmul (ha 2) (class_along (hb i) G.axial_class) |
| 176 | have hz' := hz.mono_exponent (show α + β - κ ≤ α + (β + 1) by linarith) |
| 177 | exact (hr'.add hc').add hz' |
| 178 | |
| 179 | theorem strippedDivergence_class {s : StripData D} {w : ℕ → D → ℝ} {α κ : ℝ} |
| 180 | (G : Geometry s κ) (hκ : 0 ≤ κ) {a : Family D} |
| 181 | (ha : ∀ i, MemClass s w α (fun n x => a n x i)) : |
| 182 | MemClass s w (α - κ) |
| 183 | (fun n => strippedDivergence (G.radius n) (G.radial n) (G.axial n) (a n)) := by |
| 184 | have hr : MemClass s w (α - κ) |
| 185 | (fun n => along (G.radial n) (fun y => a n y 0)) := by |
| 186 | simpa only [sub_eq_add_neg] using class_along (ha 0) G.radial_class |
| 187 | have hc := (class_div_radius G (ha 0)).mono_exponent (show α - κ ≤ α by linarith) |
| 188 | have hz := (class_along (ha 2) G.axial_class).mono_exponent |
| 189 | (show α - κ ≤ α + 1 by linarith) |
| 190 | apply class_congr ((hr.add hc).add hz) |
| 191 | intro n x _ |
| 192 | simp only [strippedDivergence, Complex.real_smul, Complex.ofReal_inv, div_eq_mul_inv] |
| 193 | ring |
| 194 | |
| 195 | theorem wave_mean_weight {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} {f : ℕ → D → E} |
| 196 | (hf : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * s.zeta x) α f) |
| 197 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 198 | (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) : WaveClass s P α f := by |
| 199 | apply hf.mono_weight (fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hP n x hx)) |
| 200 | intro n x hx |
| 201 | exact mul_le_of_le_one_right (mul_nonneg (Real.sqrt_nonneg _) (hP n x hx)) (hζ x hx) |
| 202 | |
| 203 | theorem wave_square_weight_mean {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} |
| 204 | {f : ℕ → D → E} |
| 205 | (hf : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * |
| 206 | (Real.sqrt (s.zeta x) * P n x)) α f) |
| 207 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 208 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : MeanClass s α f := by |
| 209 | apply hf.mono_weight (fun _ x hx => s.zeta_nonneg x hx) |
| 210 | intro n x hx |
| 211 | have hP2 : P n x * P n x ≤ 1 := by nlinarith [hP0 n x hx, hP1 n x hx] |
| 212 | calc |
| 213 | _ = (Real.sqrt (s.zeta x)) ^ 2 * (P n x * P n x) := by ring |
| 214 | _ = s.zeta x * (P n x * P n x) := by rw [Real.sq_sqrt (s.zeta_nonneg x hx)] |
| 215 | _ ≤ s.zeta x * 1 := mul_le_mul_of_nonneg_left hP2 (s.zeta_nonneg x hx) |
| 216 | _ = _ := mul_one _ |
| 217 | |
| 218 | theorem wave_square_weight_wave {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} |
| 219 | {f : ℕ → D → E} |
| 220 | (hf : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * |
| 221 | (Real.sqrt (s.zeta x) * P n x)) α f) |
| 222 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 223 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 224 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : WaveClass s P α f := by |
| 225 | apply hf.mono_weight (fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hP0 n x hx)) |
| 226 | intro n x hx |
| 227 | have hs1 : Real.sqrt (s.zeta x) ≤ 1 := by |
| 228 | nlinarith [Real.sqrt_nonneg (s.zeta x), Real.sq_sqrt (s.zeta_nonneg x hx), hζ x hx] |
| 229 | have hw1 : Real.sqrt (s.zeta x) * P n x ≤ 1 := by |
| 230 | simpa only [one_mul] using mul_le_mul hs1 (hP1 n x hx) (hP0 n x hx) (by norm_num : (0 : ℝ) ≤ 1) |
| 231 | exact mul_le_of_le_one_right (mul_nonneg (Real.sqrt_nonneg _) (hP0 n x hx)) hw1 |
| 232 | |
| 233 | theorem mean_advects_stripped_wave {s : StripData D} {P : ℕ → D → ℝ} {α μ κ : ℝ} |
| 234 | (G : Geometry s κ) (hκ : κ ≤ 1) {m a : Family D} |
| 235 | (hm : MeanVector s μ m) (ha : WaveVector s P α a) |
| 236 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) (i : Fin 3) : |
| 237 | WaveClass s P (α + μ) (fun n x => strippedTransport G m a n x i) := by |
| 238 | have hr := mean_wave_cmul hm.1 (class_along (ha i) G.radial_class) hζ |
| 239 | have hr' := hr.mono_exponent (show α + μ ≤ μ + 1 + (α + -κ) by linarith) |
| 240 | have hc := mean_wave_cmul (class_div_radius G hm.2.1) (generator_class ha i) hζ |
| 241 | have hc' : WaveClass s P (α + μ) |
| 242 | (fun n x => m n x 1 / (G.radius n x : ℂ) * angularGenerator (a n x) i) := by |
| 243 | simpa only [add_comm μ α] using hc |
| 244 | have hz := mean_wave_cmul hm.2.2 (class_along (ha i) G.axial_class) hζ |
| 245 | have hz' := hz.mono_exponent (show α + μ ≤ μ + (α + 1) by linarith) |
| 246 | exact (hr'.add hc').add hz' |
| 247 | |
| 248 | theorem wave_advects_stripped_mean {s : StripData D} {P : ℕ → D → ℝ} {α μ κ : ℝ} |
| 249 | (G : Geometry s κ) (hκ : 0 ≤ κ) {m a : Family D} |
| 250 | (hm : MeanVector s μ m) (ha : WaveVector s P α a) |
| 251 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 252 | (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) (i : Fin 3) : |
| 253 | WaveClass s P (α + μ - κ) (fun n x => strippedTransport G a m n x i) := |
| 254 | wave_mean_weight (strippedTransport_class G hκ ha (meanVector_component hm) i) hζ hP |
| 255 | |
| 256 | theorem normalDot_class {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 257 | {N : ℕ → D → EuclideanSpace ℝ (Fin 3)} {a : Family D} |
| 258 | (hN : ∀ i, UnweightedClass s 0 (fun n x => N n x i)) |
| 259 | (ha : ∀ i, MemClass s w α (fun n x => a n x i)) : |
| 260 | MemClass s w α (fun n x => normalDot (N n x) (a n x)) := by |
| 261 | have h i : MemClass s w α (fun n x => (N n x i : ℂ) * a n x i) := by |
| 262 | simpa only [zero_add, Complex.ofRealCLM_apply] using |
| 263 | unweighted_cmul ((hN i).map Complex.ofRealCLM) (ha i) |
| 264 | exact ((h 0).add (h 1)).add (h 2) |
| 265 | |
| 266 | theorem phaseFactor_class {s : StripData D} {w : ℕ → D → ℝ} {α β : ℝ} |
| 267 | {ν : ℕ → ℝ} {f : ℕ → D → ℂ} (hf : MemClass s w α f) (hν : BandBound s β ν) : |
| 268 | MemClass s w (α + β) (fun n x => phaseFactor (ν n) * f n x) := by |
| 269 | apply class_congr ((class_const_cmul hf Complex.I).band_smul hν) |
| 270 | intro n x _ |
| 271 | simp only [phaseFactor, Complex.real_smul] |
| 272 | ring |
| 273 | |
| 274 | noncomputable def waveMeanCoefficient {s : StripData D} {κ : ℝ} (G : Geometry s κ) |
| 275 | (Φ : ℕ → D → ℝ) (ν : ℕ → ℝ) (m a : Family D) : Family D := fun n x i => |
| 276 | strippedTransport G m a n x i + strippedTransport G a m n x i + |
| 277 | phaseFactor (ν n) * normalDot |
| 278 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (m n x) * a n x i |
| 279 | |
| 280 | /-- Both cross-advections, with the radial mean improvement explicitly used. -/ |
| 281 | theorem wave_mean_bound {s : StripData D} {P : ℕ → D → ℝ} {α μ κ : ℝ} |
| 282 | (G : Geometry s κ) (hκ0 : 0 ≤ κ) (hκ1 : κ ≤ 1 / 2) |
| 283 | {Φ : ℕ → D → ℝ} {ν : ℕ → ℝ} {m a : Family D} |
| 284 | (hm : MeanVector s μ m) (ha : WaveVector s P α a) |
| 285 | (hN : ∀ i, UnweightedClass s 0 (fun n x => |
| 286 | phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x i)) |
| 287 | (hν : BandBound s (-(1 / 2)) ν) |
| 288 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 289 | (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) : |
| 290 | WaveVector s P (α + μ - 1 / 2) (waveMeanCoefficient G Φ ν m a) := by |
| 291 | intro i |
| 292 | have hma := (mean_advects_stripped_wave G (by linarith) hm ha hζ i).mono_exponent |
| 293 | (show α + μ - 1 / 2 ≤ α + μ by linarith) |
| 294 | have ham := (wave_advects_stripped_mean G hκ0 hm ha hζ hP i).mono_exponent |
| 295 | (show α + μ - 1 / 2 ≤ α + μ - κ by linarith) |
| 296 | have hdot := normalDot_class hN (meanVector_component hm) |
| 297 | have hfreq := phaseFactor_class hdot hν |
| 298 | have hphase := mean_wave_cmul hfreq (ha i) hζ |
| 299 | have hphase' : WaveClass s P (α + μ - 1 / 2) (fun n x => |
| 300 | phaseFactor (ν n) * normalDot |
| 301 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (m n x) * a n x i) := by |
| 302 | convert! hphase using 1 |
| 303 | ring |
| 304 | exact (hma.add ham).add hphase' |
| 305 | |
| 306 | theorem phaseFactor_ratio (ν ξ : ℝ) (hν : ν ≠ 0) : |
| 307 | ((ξ / ν : ℝ) : ℂ) * phaseFactor ν = phaseFactor ξ := by |
| 308 | have hc : (ν : ℂ) ≠ 0 := by exact_mod_cast hν |
| 309 | simp only [phaseFactor, Complex.ofReal_div] |
| 310 | field_simp |
| 311 | |
| 312 | /-- The exact divergence cancellation, before taking any norm or any jet. -/ |
| 313 | theorem switched_longitudinal (R : D → ℝ) (Vr Vθ Vz : D → D) (ν ξ : ℝ) |
| 314 | (hν : ν ≠ 0) {Φ : D → ℝ} {a : D → ComplexVector} {x : D} |
| 315 | (hΦ : DifferentiableAt ℝ Φ x) (ha : ∀ i, DifferentiableAt ℝ (fun y => a y i) x) |
| 316 | (haθ : along Vθ (fun y => a y 1) x = 0) |
| 317 | (hdiv : cylindricalDivergence R Vr Vθ Vz (vectorMode ν Φ a) x = 0) : |
| 318 | phaseFactor ξ * normalDot (phaseNormal R Vr Vθ Vz Φ x) (a x) = |
| 319 | (ξ / ν) • (-strippedDivergence R Vr Vz a x) := by |
| 320 | rw [← phaseFactor_ratio ν ξ hν, mul_assoc, |
| 321 | longitudinal_identity R Vr Vθ Vz ν hΦ ha haθ hdiv] |
| 322 | rfl |
| 323 | |
| 324 | noncomputable def sameCoefficient {s : StripData D} {κ : ℝ} (G : Geometry s κ) |
| 325 | (Φ : ℕ → D → ℝ) (ξ : ℕ → ℝ) (a b : Family D) : Family D := fun n x i => |
| 326 | strippedTransport G a b n x i + phaseFactor (ξ n) * normalDot |
| 327 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (a n x) * b n x i |
| 328 | |
| 329 | /-- All derivatives of the longitudinal contraction are estimated through |
| 330 | the actual divergence identity, including derivatives of the phase normal. -/ |
| 331 | theorem same_label_raw_bound {s : StripData D} {P : ℕ → D → ℝ} {α β κ : ℝ} |
| 332 | (G : Geometry s κ) (hκ : 0 ≤ κ) {Φ : ℕ → D → ℝ} {ν ξ : ℕ → ℝ} |
| 333 | {a b : Family D} (ha : WaveVector s P α a) (hb : WaveVector s P β b) |
| 334 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) (hν : ∀ n, ν n ≠ 0) |
| 335 | (hratio : BandBound s 0 (fun n => ξ n / ν n)) |
| 336 | (haθ : AngularIndependent G a) |
| 337 | (hdiv : ∀ n x, x ∈ s.domain → cylindricalDivergence |
| 338 | (G.radius n) (G.radial n) (G.angular n) (G.axial n) (vectorMode (ν n) (Φ n) (a n)) x = 0) |
| 339 | (i : Fin 3) : |
| 340 | MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * |
| 341 | (Real.sqrt (s.zeta x) * P n x)) (α + β - κ) |
| 342 | (fun n x => sameCoefficient G Φ ξ a b n x i) := by |
| 343 | have hs := strippedDivergence_class G hκ ha |
| 344 | have hsw : WaveClass s P (α - κ) (fun n x => |
| 345 | (ξ n / ν n) • (-strippedDivergence (G.radius n) (G.radial n) (G.axial n) (a n) x)) := by |
| 346 | unfold WaveClass |
| 347 | simpa only [add_zero] using (class_neg hs).band_smul hratio |
| 348 | have hprod := class_cmul hsw (hb i) |
| 349 | have hprod' : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * |
| 350 | (Real.sqrt (s.zeta x) * P n x)) (α + β - κ) (fun n x => |
| 351 | ((ξ n / ν n) • (-strippedDivergence (G.radius n) (G.radial n) (G.axial n) (a n) x)) * b n x i) := by |
| 352 | convert! hprod using 1 |
| 353 | ring |
| 354 | have hp : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * |
| 355 | (Real.sqrt (s.zeta x) * P n x)) (α + β - κ) (fun n x => |
| 356 | phaseFactor (ξ n) * normalDot |
| 357 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (a n x) * b n x i) := by |
| 358 | apply class_congr hprod' |
| 359 | intro n x hx |
| 360 | have hp := ((hΦ n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 361 | have hd j := (((ha j).smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 362 | dsimp only |
| 363 | rw [switched_longitudinal _ _ _ _ (ν n) (ξ n) (hν n) hp hd (haθ n 1 x hx) (hdiv n x hx)] |
| 364 | exact (strippedTransport_class G hκ ha hb i).add hp |
| 365 | |
| 366 | theorem int_abs_cast_one_le {j : ℤ} (hj : j ≠ 0) : (1 : ℝ) ≤ |(j : ℝ)| := by |
| 367 | have hpos : (0 : ℤ) < |j| := abs_pos.mpr hj |
| 368 | have hone : (1 : ℤ) ≤ |j| := by omega |
| 369 | exact_mod_cast hone |
| 370 | |
| 371 | theorem harmonic_ratio_bound {j l : ℤ} {M : ℝ} (hj : j ≠ 0) |
| 372 | (hM : 0 ≤ M) (hl : |(l : ℝ)| ≤ M) : |(l : ℝ) / (j : ℝ)| ≤ M := by |
| 373 | have hj1 := int_abs_cast_one_le hj |
| 374 | rw [abs_div] |
| 375 | apply (div_le_iff₀ (lt_of_lt_of_le (by norm_num : (0 : ℝ) < 1) hj1)).mpr |
| 376 | exact hl.trans (le_mul_of_one_le_right hM hj1) |
| 377 | |
| 378 | theorem bandBound_harmonic_ratio (s : StripData D) {j l : ℕ → ℤ} {M : ℝ} |
| 379 | (hj : ∀ n, j n ≠ 0) (hM : 0 ≤ M) (hl : ∀ n, |(l n : ℝ)| ≤ M) : |
| 380 | BandBound s 0 (fun n => (l n : ℝ) / (j n : ℝ)) := by |
| 381 | refine ⟨M, hM, 0, ?_⟩ |
| 382 | intro n |
| 383 | simpa only [Real.norm_eq_abs, Real.rpow_zero, pow_zero, mul_one] using |
| 384 | harmonic_ratio_bound (hj n) hM (hl n) |
| 385 | |
| 386 | theorem frequency_ratio {k : ℝ} (hk : k ≠ 0) {j : ℤ} (hj : j ≠ 0) (l : ℤ) : |
| 387 | (k * (l : ℝ)) / (k * (j : ℝ)) = (l : ℝ) / (j : ℝ) := by |
| 388 | have hj' : (j : ℝ) ≠ 0 := by exact_mod_cast hj |
| 389 | field_simp |
| 390 | |
| 391 | theorem bandBound_frequency_ratio (s : StripData D) {k : ℕ → ℝ} {j l : ℕ → ℤ} {M : ℝ} |
| 392 | (hk : ∀ n, k n ≠ 0) (hj : ∀ n, j n ≠ 0) (hM : 0 ≤ M) |
| 393 | (hl : ∀ n, |(l n : ℝ)| ≤ M) : |
| 394 | BandBound s 0 (fun n => (k n * (l n : ℝ)) / (k n * (j n : ℝ))) := by |
| 395 | simpa only [frequency_ratio (hk _) (hj _)] using bandBound_harmonic_ratio s hj hM hl |
| 396 | |
| 397 | theorem bandBound_frequency {s : StripData D} {β : ℝ} {k : ℕ → ℝ} {j : ℕ → ℤ} {M : ℝ} |
| 398 | (hk : BandBound s β k) (hM : 0 ≤ M) (hj : ∀ n, |(j n : ℝ)| ≤ M) : |
| 399 | BandBound s β (fun n => k n * (j n : ℝ)) := by |
| 400 | obtain ⟨C, hC, p, h⟩ := hk |
| 401 | refine ⟨C * M, mul_nonneg hC hM, p, ?_⟩ |
| 402 | intro n |
| 403 | rw [norm_mul] |
| 404 | have hnonneg : 0 ≤ C * s.epsilon n ^ β * s.slow n ^ p := |
| 405 | mul_nonneg (mul_nonneg hC (Real.rpow_pos_of_pos (s.epsilon_pos n) β).le) |
| 406 | (pow_nonneg (zero_le_one.trans (s.one_le_slow n)) p) |
| 407 | calc |
| 408 | _ ≤ (C * s.epsilon n ^ β * s.slow n ^ p) * M := |
| 409 | mul_le_mul (h n) (by simpa only [Real.norm_eq_abs] using hj n) (norm_nonneg _) hnonneg |
| 410 | _ = _ := by ring |
| 411 | |
| 412 | /-- The complex operator restricts to the real cylindrical bilinear operator. -/ |
| 413 | theorem transport_realLift (R : D → ℝ) (Vr Vθ Vz : D → D) |
| 414 | (u : D → Fin 3 → ℝ) {v : D → Fin 3 → ℝ} {x : D} |
| 415 | (hv : ∀ i, DifferentiableAt ℝ (fun y => v y i) x) (i : Fin 3) : |
| 416 | LinearWaveResidual.transport R Vr Vθ Vz |
| 417 | (LinearWaveResidual.realLift u) (LinearWaveResidual.realLift v) x i = |
| 418 | (LinearWaveResidual.realTransport R Vr Vθ Vz u v x i : ℂ) := by |
| 419 | have hd (V : D → D) (j : Fin 3) := along_ofReal V (hv j) |
| 420 | fin_cases i <;> |
| 421 | simp [LinearWaveResidual.transport, LinearWaveResidual.realTransport, |
| 422 | LinearWaveResidual.realLift, angularGenerator, LinearWaveResidual.realAngularGenerator, |
| 423 | hd, Complex.ofReal_add, Complex.ofReal_mul, Complex.ofReal_div] |
| 424 | |
| 425 | end |
| 426 | |
| 427 | end NavierStokes.WaveInteractionBounds |