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

chore(NavierStokes/Wave): delete 16 declarations nothing uses #622
Merged
+0 −159 NavierStokes/WaveInteractionBounds.lean View file
| @@ -37,17 +37,6 @@ theorem class_congr {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} | ||
| 37 | 37 | rw [← hjet] |
| 38 | 38 | exact hb n x hx j hj |
| 39 | 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 | 40 | theorem class_conj {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 52 | 41 | {f : ℕ → D → ℂ} (hf : MemClass s w α f) : |
| 53 | 42 | MemClass s w α (fun n x => star (f n x)) := |
| @@ -58,26 +47,6 @@ theorem class_const_cmul {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} | ||
| 58 | 47 | MemClass s w α (fun n x => c * f n x) := |
| 59 | 48 | hf.map (ContinuousLinearMap.mul ℝ ℂ c) |
| 60 | 49 | |
| 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 | -/-- Evaluation of the actual derivative field at an actual vector field. -/ | |
| 73 | -theorem class_along {s : StripData D} {w : ℕ → D → ℝ} {α β : ℝ} | |
| 74 | - {f : ℕ → D → E} {V : ℕ → D → D} | |
| 75 | - (hf : MemClass s w α f) (hV : UnweightedClass s β V) : | |
| 76 | - MemClass s w (α + β) (fun n => along (V n) (f n)) := by | |
| 77 | - have h := hV.bilinear hf.fderiv (ContinuousLinearMap.apply ℝ E) | |
| 78 | - simp only [one_mul, add_comm β α, ContinuousLinearMap.apply_apply] at h | |
| 79 | - exact h | |
| 80 | - | |
| 81 | 50 | /-- Actual geometric coefficient fields, rather than assumed derivative closure. -/ |
| 82 | 51 | structure Geometry (s : StripData D) (κ : ℝ) where |
| 83 | 52 | radius : ℕ → D → ℝ |
| @@ -116,13 +85,6 @@ def MeanVector (s : StripData D) (μ : ℝ) (a : Family D) : Prop := | ||
| 116 | 85 | MeanClass s (μ + 1) (fun n x => a n x 0) ∧ |
| 117 | 86 | MeanClass s μ (fun n x => a n x 1) ∧ MeanClass s μ (fun n x => a n x 2) |
| 118 | 87 | |
| 119 | -theorem meanVector_component {s : StripData D} {μ : ℝ} {a : Family D} | |
| 120 | - (ha : MeanVector s μ a) (i : Fin 3) : MeanClass s μ (fun n x => a n x i) := by | |
| 121 | - fin_cases i | |
| 122 | - · exact ha.1.mono_exponent (by linarith) | |
| 123 | - · exact ha.2.1 | |
| 124 | - · exact ha.2.2 | |
| 125 | - | |
| 126 | 88 | def AngularIndependent {s : StripData D} {κ : ℝ} (G : Geometry s κ) (a : Family D) : Prop := |
| 127 | 89 | ∀ n i x, x ∈ s.domain → along (G.angular n) (fun y => a n y i) x = 0 |
| 128 | 90 | |
| @@ -132,124 +94,18 @@ noncomputable def strippedTransport {s : StripData D} {κ : ℝ} | ||
| 132 | 94 | (a n x 1 / (G.radius n x : ℂ)) * angularGenerator (b n x) i + |
| 133 | 95 | a n x 2 * along (G.axial n) (fun y => b n y i) x |
| 134 | 96 | |
| 135 | -theorem generator_class {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} {a : Family D} | |
| 136 | - (ha : ∀ i, MemClass s w α (fun n x => a n x i)) (i : Fin 3) : | |
| 137 | - MemClass s w α (fun n x => angularGenerator (a n x) i) := by | |
| 138 | - fin_cases i | |
| 139 | - · exact class_neg (ha 1) | |
| 140 | - · exact ha 0 | |
| 141 | - · exact MemClass.zero (ha 0).weight_nonneg | |
| 142 | - | |
| 143 | 97 | theorem inverse_radius_complex {s : StripData D} {κ : ℝ} (G : Geometry s κ) : |
| 144 | 98 | UnweightedClass s 0 (fun n x => ((G.radius n x : ℂ))⁻¹) := by |
| 145 | 99 | unfold UnweightedClass |
| 146 | 100 | simpa only [Complex.ofRealCLM_apply, Complex.ofReal_inv] using |
| 147 | 101 | G.inverse_radius_class.map Complex.ofRealCLM |
| 148 | 102 | |
| 149 | -theorem class_div_radius {s : StripData D} {w : ℕ → D → ℝ} {α κ : ℝ} | |
| 150 | - (G : Geometry s κ) {f : ℕ → D → ℂ} (hf : MemClass s w α f) : | |
| 151 | - MemClass s w α (fun n x => f n x / (G.radius n x : ℂ)) := by | |
| 152 | - simpa only [zero_add, div_eq_mul_inv, mul_comm] using | |
| 153 | - unweighted_cmul (inverse_radius_complex G) hf | |
| 154 | - | |
| 155 | -theorem strippedTransport_class {s : StripData D} {w v : ℕ → D → ℝ} {α β κ : ℝ} | |
| 156 | - (G : Geometry s κ) (hκ : 0 ≤ κ) {a b : Family D} | |
| 157 | - (ha : ∀ i, MemClass s w α (fun n x => a n x i)) | |
| 158 | - (hb : ∀ i, MemClass s v β (fun n x => b n x i)) (i : Fin 3) : | |
| 159 | - MemClass s (fun n x => w n x * v n x) (α + β - κ) | |
| 160 | - (fun n x => strippedTransport G a b n x i) := by | |
| 161 | - have hr := class_cmul (ha 0) (class_along (hb i) G.radial_class) | |
| 162 | - have hr' : MemClass s (fun n x => w n x * v n x) (α + β - κ) | |
| 163 | - (fun n x => a n x 0 * along (G.radial n) (fun y => b n y i) x) := by | |
| 164 | - convert! hr using 1 | |
| 165 | - ring | |
| 166 | - have hc := class_cmul (class_div_radius G (ha 1)) (generator_class hb i) | |
| 167 | - have hc' := hc.mono_exponent (show α + β - κ ≤ α + β by linarith) | |
| 168 | - have hz := class_cmul (ha 2) (class_along (hb i) G.axial_class) | |
| 169 | - have hz' := hz.mono_exponent (show α + β - κ ≤ α + (β + 1) by linarith) | |
| 170 | - exact (hr'.add hc').add hz' | |
| 171 | - | |
| 172 | -theorem wave_mean_weight {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} {f : ℕ → D → E} | |
| 173 | - (hf : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * s.zeta x) α f) | |
| 174 | - (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) | |
| 175 | - (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) : WaveClass s P α f := by | |
| 176 | - apply hf.mono_weight (fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hP n x hx)) | |
| 177 | - intro n x hx | |
| 178 | - exact mul_le_of_le_one_right (mul_nonneg (Real.sqrt_nonneg _) (hP n x hx)) (hζ x hx) | |
| 179 | - | |
| 180 | -theorem mean_advects_stripped_wave {s : StripData D} {P : ℕ → D → ℝ} {α μ κ : ℝ} | |
| 181 | - (G : Geometry s κ) (hκ : κ ≤ 1) {m a : Family D} | |
| 182 | - (hm : MeanVector s μ m) (ha : WaveVector s P α a) | |
| 183 | - (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) (i : Fin 3) : | |
| 184 | - WaveClass s P (α + μ) (fun n x => strippedTransport G m a n x i) := by | |
| 185 | - have hr := mean_wave_cmul hm.1 (class_along (ha i) G.radial_class) hζ | |
| 186 | - have hr' := hr.mono_exponent (show α + μ ≤ μ + 1 + (α + -κ) by linarith) | |
| 187 | - have hc := mean_wave_cmul (class_div_radius G hm.2.1) (generator_class ha i) hζ | |
| 188 | - have hc' : WaveClass s P (α + μ) | |
| 189 | - (fun n x => m n x 1 / (G.radius n x : ℂ) * angularGenerator (a n x) i) := by | |
| 190 | - simpa only [add_comm μ α] using hc | |
| 191 | - have hz := mean_wave_cmul hm.2.2 (class_along (ha i) G.axial_class) hζ | |
| 192 | - have hz' := hz.mono_exponent (show α + μ ≤ μ + (α + 1) by linarith) | |
| 193 | - exact (hr'.add hc').add hz' | |
| 194 | - | |
| 195 | -theorem wave_advects_stripped_mean {s : StripData D} {P : ℕ → D → ℝ} {α μ κ : ℝ} | |
| 196 | - (G : Geometry s κ) (hκ : 0 ≤ κ) {m a : Family D} | |
| 197 | - (hm : MeanVector s μ m) (ha : WaveVector s P α a) | |
| 198 | - (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) | |
| 199 | - (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) (i : Fin 3) : | |
| 200 | - WaveClass s P (α + μ - κ) (fun n x => strippedTransport G a m n x i) := | |
| 201 | - wave_mean_weight (strippedTransport_class G hκ ha (meanVector_component hm) i) hζ hP | |
| 202 | - | |
| 203 | -theorem normalDot_class {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} | |
| 204 | - {N : ℕ → D → EuclideanSpace ℝ (Fin 3)} {a : Family D} | |
| 205 | - (hN : ∀ i, UnweightedClass s 0 (fun n x => N n x i)) | |
| 206 | - (ha : ∀ i, MemClass s w α (fun n x => a n x i)) : | |
| 207 | - MemClass s w α (fun n x => normalDot (N n x) (a n x)) := by | |
| 208 | - have h i : MemClass s w α (fun n x => (N n x i : ℂ) * a n x i) := by | |
| 209 | - simpa only [zero_add, Complex.ofRealCLM_apply] using | |
| 210 | - unweighted_cmul ((hN i).map Complex.ofRealCLM) (ha i) | |
| 211 | - exact ((h 0).add (h 1)).add (h 2) | |
| 212 | - | |
| 213 | -theorem phaseFactor_class {s : StripData D} {w : ℕ → D → ℝ} {α β : ℝ} | |
| 214 | - {ν : ℕ → ℝ} {f : ℕ → D → ℂ} (hf : MemClass s w α f) (hν : BandBound s β ν) : | |
| 215 | - MemClass s w (α + β) (fun n x => phaseFactor (ν n) * f n x) := by | |
| 216 | - apply class_congr ((class_const_cmul hf Complex.I).band_smul hν) | |
| 217 | - intro n x _ | |
| 218 | - simp only [phaseFactor, Complex.real_smul] | |
| 219 | - ring | |
| 220 | - | |
| 221 | 103 | noncomputable def waveMeanCoefficient {s : StripData D} {κ : ℝ} (G : Geometry s κ) |
| 222 | 104 | (Φ : ℕ → D → ℝ) (ν : ℕ → ℝ) (m a : Family D) : Family D := fun n x i => |
| 223 | 105 | strippedTransport G m a n x i + strippedTransport G a m n x i + |
| 224 | 106 | phaseFactor (ν n) * normalDot |
| 225 | 107 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (m n x) * a n x i |
| 226 | 108 | |
| 227 | -/-- Both cross-advections, with the radial mean improvement explicitly used. -/ | |
| 228 | -theorem wave_mean_bound {s : StripData D} {P : ℕ → D → ℝ} {α μ κ : ℝ} | |
| 229 | - (G : Geometry s κ) (hκ0 : 0 ≤ κ) (hκ1 : κ ≤ 1 / 2) | |
| 230 | - {Φ : ℕ → D → ℝ} {ν : ℕ → ℝ} {m a : Family D} | |
| 231 | - (hm : MeanVector s μ m) (ha : WaveVector s P α a) | |
| 232 | - (hN : ∀ i, UnweightedClass s 0 (fun n x => | |
| 233 | - phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x i)) | |
| 234 | - (hν : BandBound s (-(1 / 2)) ν) | |
| 235 | - (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) | |
| 236 | - (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) : | |
| 237 | - WaveVector s P (α + μ - 1 / 2) (waveMeanCoefficient G Φ ν m a) := by | |
| 238 | - intro i | |
| 239 | - have hma := (mean_advects_stripped_wave G (by linarith) hm ha hζ i).mono_exponent | |
| 240 | - (show α + μ - 1 / 2 ≤ α + μ by linarith) | |
| 241 | - have ham := (wave_advects_stripped_mean G hκ0 hm ha hζ hP i).mono_exponent | |
| 242 | - (show α + μ - 1 / 2 ≤ α + μ - κ by linarith) | |
| 243 | - have hdot := normalDot_class hN (meanVector_component hm) | |
| 244 | - have hfreq := phaseFactor_class hdot hν | |
| 245 | - have hphase := mean_wave_cmul hfreq (ha i) hζ | |
| 246 | - have hphase' : WaveClass s P (α + μ - 1 / 2) (fun n x => | |
| 247 | - phaseFactor (ν n) * normalDot | |
| 248 | - (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (m n x) * a n x i) := by | |
| 249 | - convert! hphase using 1 | |
| 250 | - ring | |
| 251 | - exact (hma.add ham).add hphase' | |
| 252 | - | |
| 253 | 109 | theorem phaseFactor_ratio (ν ξ : ℝ) (hν : ν ≠ 0) : |
| 254 | 110 | ((ξ / ν : ℝ) : ℂ) * phaseFactor ν = phaseFactor ξ := by |
| 255 | 111 | have hc : (ν : ℂ) ≠ 0 := by exact_mod_cast hν |
| @@ -273,21 +129,6 @@ noncomputable def sameCoefficient {s : StripData D} {κ : ℝ} (G : Geometry s | ||
| 273 | 129 | strippedTransport G a b n x i + phaseFactor (ξ n) * normalDot |
| 274 | 130 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (a n x) * b n x i |
| 275 | 131 | |
| 276 | -theorem bandBound_frequency {s : StripData D} {β : ℝ} {k : ℕ → ℝ} {j : ℕ → ℤ} {M : ℝ} | |
| 277 | - (hk : BandBound s β k) (hM : 0 ≤ M) (hj : ∀ n, |(j n : ℝ)| ≤ M) : | |
| 278 | - BandBound s β (fun n => k n * (j n : ℝ)) := by | |
| 279 | - obtain ⟨C, hC, p, h⟩ := hk | |
| 280 | - refine ⟨C * M, mul_nonneg hC hM, p, ?_⟩ | |
| 281 | - intro n | |
| 282 | - rw [norm_mul] | |
| 283 | - have hnonneg : 0 ≤ C * s.epsilon n ^ β * s.slow n ^ p := | |
| 284 | - mul_nonneg (mul_nonneg hC (Real.rpow_pos_of_pos (s.epsilon_pos n) β).le) | |
| 285 | - (pow_nonneg (zero_le_one.trans (s.one_le_slow n)) p) | |
| 286 | - calc | |
| 287 | - _ ≤ (C * s.epsilon n ^ β * s.slow n ^ p) * M := | |
| 288 | - mul_le_mul (h n) (by simpa only [Real.norm_eq_abs] using hj n) (norm_nonneg _) hnonneg | |
| 289 | - _ = _ := by ring | |
| 290 | - | |
| 291 | 132 | /-- The complex operator restricts to the real cylindrical bilinear operator. -/ |
| 292 | 133 | theorem transport_realLift (R : D → ℝ) (Vr Vθ Vz : D → D) |
| 293 | 134 | (u : D → Fin 3 → ℝ) {v : D → Fin 3 → ℝ} {x : D} |
+26 −0 routes/s1-ns-wave-11/README.md added View file
| @@ -0,0 +1,26 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-wave-11 | |
| 6 | + | |
| 7 | +The family `NavierStokes/Wave*`, this wave on `NavierStokes/WaveInteractionBounds.lean`: I delete the 16 | |
| 8 | +declarations of that file that nothing reachable uses, under the keep rule (the paper's results, a docstring that | |
| 9 | +names the paper, an existence result with a docstring, a file that states results or matches the challenge, a | |
| 10 | +declaration that stays). The deleted set comes from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, | |
| 11 | +upstream `f9e8bc5`), recut on main at `df2f18f`. | |
| 12 | + | |
| 13 | +Deleted: `class_neg`, `class_cmul`, `unweighted_cmul`, `mean_wave_cmul`, `class_along`, `meanVector_component`, | |
| 14 | +`generator_class`, `class_div_radius`, `strippedTransport_class`, `wave_mean_weight`, `mean_advects_stripped_wave`, | |
| 15 | +`wave_advects_stripped_mean`, `normalDot_class`, `phaseFactor_class`, `wave_mean_bound`, `bandBound_frequency` — | |
| 16 | +159 lines, deletions only, no statement or proof that stays is touched. | |
| 17 | + | |
| 18 | +Checked: each short name no longer occurs on any remaining line of the tree except as another declaration of the | |
| 19 | +same short name in its own namespace (`LinearWaveBounds.class_neg`, `CurlClassBounds.class_neg`, | |
| 20 | +`CurlClassBounds.class_along`); neither deleted docstring cites a numbered result of the paper. | |
| 21 | +`python3 checks/challenge.py .` ends with `ok: …`. | |
| 22 | + | |
| 23 | +## Next | |
| 24 | + | |
| 25 | +The unit is done in this branch; the pull request is open. Nothing waits here. A later wave of S-1 can take the | |
| 26 | +next dead set of this family from the same plan. | |