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.CorrectionState |
| 2 | import NavierStokes.WaveInteractionBounds |
| 3 | import NavierStokes.HarmonicResidual |
| 4 | |
| 5 | /-! |
| 6 | # Covariance of actual finite real harmonic fields |
| 7 | |
| 8 | Angular integration is evaluated exactly before applying the weighted product |
| 9 | estimates. Real projection includes both conjugate harmonics. The constants are |
| 10 | uniform over a fixed bound on the harmonic index. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.HarmonicCovariance |
| 16 | |
| 17 | open Set Filter MeasureTheory CorrectionState |
| 18 | open scoped BigOperators ContDiff Topology |
| 19 | |
| 20 | section CoefficientCovariance |
| 21 | |
| 22 | open HarmonicFields WeightedClasses |
| 23 | |
| 24 | variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 25 | |
| 26 | /-- The zero harmonic of a genuine finite harmonic product has the sum |
| 27 | of its input orders. A common finite set, rather than a support cardinality |
| 28 | bound, makes the estimate uniform in the band. -/ |
| 29 | theorem angularProduct_mem {s : StripData D} {P : ℕ → D → ℝ} {α β : ℝ} |
| 30 | (a b : ℕ → Coefficients D) (F : Finset ℤ) |
| 31 | (hF : ∀ n, (a n).support ⊆ F) |
| 32 | (ha : ∀ j ∈ F, WaveClass s P α (fun n x => a n j x)) |
| 33 | (hb : ∀ j ∈ F, WaveClass s P β (fun n x => b n (-j) x)) |
| 34 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 35 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) |
| 36 | (k : ℕ → ℝ) (phase : ℕ → D → ℝ) (kp : ℕ → ℤ) (hkp : ∀ n, kp n ≠ 0) : |
| 37 | MeanClass s (α + β) (fun n x => HarmonicFields.angularMean |
| 38 | (fun θ => field (a n) (k n) (phase n) (kp n) (x, θ) * |
| 39 | field (b n) (k n) (phase n) (kp n) (x, θ))) := by |
| 40 | have hsum : MeanClass s (α + β) |
| 41 | (fun n x => ∑ j ∈ F, a n j x * b n (-j) x) := |
| 42 | MemClass.sum F _ (fun _ x hx => s.zeta_nonneg x hx) |
| 43 | (fun j hj => WaveInteractionBounds.wave_cmul_mean (ha j hj) (hb j hj) hP0 hP1) |
| 44 | apply WaveInteractionBounds.class_congr hsum |
| 45 | intro n x _ |
| 46 | dsimp only |
| 47 | rw [angularMean_product (a n) (b n) (k n) (phase n) (hkp n) x] |
| 48 | symm |
| 49 | apply Finset.sum_subset (hF n) |
| 50 | intro j _ hj |
| 51 | rw [Finsupp.notMem_support_iff.mp hj] |
| 52 | simp |
| 53 | |
| 54 | end CoefficientCovariance |
| 55 | |
| 56 | section RealCoefficientCovariance |
| 57 | |
| 58 | open HarmonicFields WeightedClasses |
| 59 | |
| 60 | variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 61 | |
| 62 | theorem realCoefficients_mem {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} |
| 63 | (a : ℕ → Coefficients D) |
| 64 | (ha : ∀ j, WaveClass s P α (fun n x => a n j x)) (j : ℤ) : |
| 65 | WaveClass s P α (fun n x => HarmonicResidual.realCoefficients (a n) j x) := by |
| 66 | simp only [HarmonicResidual.realCoefficients_apply] |
| 67 | exact WaveInteractionBounds.class_const_cmul ((ha j).add (WaveInteractionBounds.class_conj (ha (-j)))) |
| 68 | (2 : ℂ)⁻¹ |
| 69 | |
| 70 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 71 | theorem realAngularProduct_eq (a b : Coefficients D) (k : ℝ) (Φ : D → ℝ) |
| 72 | {kp : ℤ} (hkp : kp ≠ 0) (x : D) : |
| 73 | HarmonicResidual.realAngularMean (fun θ => |
| 74 | (field a k Φ kp (x, θ)).re * (field b k Φ kp (x, θ)).re) = |
| 75 | (HarmonicFields.angularMean (fun θ => |
| 76 | field (HarmonicResidual.realCoefficients a) k Φ kp (x, θ) * |
| 77 | field (HarmonicResidual.realCoefficients b) k Φ kp (x, θ))).re := by |
| 78 | have hc := HarmonicFields.angularMean_field |
| 79 | (HarmonicResidual.realCoefficients a * HarmonicResidual.realCoefficients b) k Φ hkp x |
| 80 | simp only [HarmonicFields.field_mul] at hc |
| 81 | rw [hc] |
| 82 | simpa only [HarmonicFields.field_mul, HarmonicResidual.field_realCoefficients, |
| 83 | Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, mul_zero, sub_zero] using |
| 84 | HarmonicResidual.realAngularMean_field |
| 85 | (HarmonicResidual.realCoefficients a * HarmonicResidual.realCoefficients b) k Φ hkp x |
| 86 | |
| 87 | /-- Real angular covariance is estimated from the actual conjugate-pair |
| 88 | coefficients. The harmonic bound is on the index, uniformly in the band. -/ |
| 89 | theorem realAngularProduct_mem {s : StripData D} {P : ℕ → D → ℝ} {α β : ℝ} |
| 90 | (a b : ℕ → Coefficients D) (N : ℕ) |
| 91 | (hband : ∀ n, BandLimited (a n) N) |
| 92 | (ha : ∀ j, WaveClass s P α (fun n x => a n j x)) |
| 93 | (hb : ∀ j, WaveClass s P β (fun n x => b n j x)) |
| 94 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 95 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) |
| 96 | (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) (hkp : ∀ n, kp n ≠ 0) : |
| 97 | MeanClass s (α + β) (angularAverage (fun n p => |
| 98 | (field (a n) (k n) (Φ n) (kp n) p).re * |
| 99 | (field (b n) (k n) (Φ n) (kp n) p).re)) := by |
| 100 | have hF : ∀ n, (HarmonicResidual.realCoefficients (a n)).support ⊆ |
| 101 | Finset.Icc (-(N : ℤ)) (N : ℤ) := by |
| 102 | intro n j hj |
| 103 | have h := HarmonicResidual.band_realCoefficients (hband n) j hj |
| 104 | simp only [Finset.mem_Icc] |
| 105 | omega |
| 106 | have hc := angularProduct_mem |
| 107 | (fun n => HarmonicResidual.realCoefficients (a n)) |
| 108 | (fun n => HarmonicResidual.realCoefficients (b n)) |
| 109 | (Finset.Icc (-(N : ℤ)) (N : ℤ)) hF |
| 110 | (fun j _ => realCoefficients_mem a ha j) |
| 111 | (fun j _ => realCoefficients_mem b hb (-j)) hP0 hP1 k Φ kp hkp |
| 112 | apply WaveInteractionBounds.class_congr (hc.map Complex.reCLM) |
| 113 | intro n x _ |
| 114 | exact (realAngularProduct_eq (a n) (b n) (k n) (Φ n) (hkp n) x).symm |
| 115 | |
| 116 | theorem blockCovariance_mem {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} |
| 117 | (b : HarmonicBlock D) (N : ℕ) (hband : b.BandLimited N) |
| 118 | (hcoef : ∀ i j, WaveClass s P α (fun n x => b.velocity n i j x)) |
| 119 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 120 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) |
| 121 | (hkp : ∀ n, b.angularFrequency n ≠ 0) (i j : Fin 3) : |
| 122 | MeanClass s (α + α) (bilinearCovariance b.oscillation b.oscillation i j) := |
| 123 | realAngularProduct_mem (fun n => b.velocity n i) (fun n => b.velocity n j) N |
| 124 | (fun n => hband.1 n i) (hcoef i) (hcoef j) hP0 hP1 |
| 125 | b.frequency b.phase b.angularFrequency hkp |
| 126 | |
| 127 | theorem mixedBlockCovariance_mem {s : StripData D} {P : ℕ → D → ℝ} {α β : ℝ} |
| 128 | (a b : HarmonicBlock D) (N : ℕ) (hband : a.BandLimited N) |
| 129 | (hfreq : b.frequency = a.frequency) (hphase : b.phase = a.phase) |
| 130 | (hangular : b.angularFrequency = a.angularFrequency) |
| 131 | (ha : ∀ i j, WaveClass s P α (fun n x => a.velocity n i j x)) |
| 132 | (hb : ∀ i j, WaveClass s P β (fun n x => b.velocity n i j x)) |
| 133 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 134 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) |
| 135 | (hkp : ∀ n, a.angularFrequency n ≠ 0) (i j : Fin 3) : |
| 136 | MeanClass s (α + β) (bilinearCovariance a.oscillation b.oscillation i j) := by |
| 137 | simpa only [bilinearCovariance, HarmonicBlock.oscillation, hfreq, hphase, hangular] using |
| 138 | realAngularProduct_mem (fun n => a.velocity n i) (fun n => b.velocity n j) N |
| 139 | (fun n => hband.1 n i) (ha i) (hb j) hP0 hP1 |
| 140 | a.frequency a.phase a.angularFrequency hkp |
| 141 | |
| 142 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 143 | theorem angularAverage_add {f g : OscillatoryScalar D} |
| 144 | (hf : ∀ n x, Continuous (fun θ : ℝ => f n (x, θ))) |
| 145 | (hg : ∀ n x, Continuous (fun θ : ℝ => g n (x, θ))) : |
| 146 | angularAverage (f + g) = angularAverage f + angularAverage g := by |
| 147 | funext n x |
| 148 | exact HarmonicResidual.realAngularMean_add (hf n x) (hg n x) |
| 149 | |
| 150 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 151 | theorem angularProduct_add_error (A B C E : OscillatoryScalar D) |
| 152 | (hA : ∀ n x, Continuous (fun θ : ℝ => A n (x, θ))) |
| 153 | (hB : ∀ n x, Continuous (fun θ : ℝ => B n (x, θ))) |
| 154 | (hC : ∀ n x, Continuous (fun θ : ℝ => C n (x, θ))) |
| 155 | (hE : ∀ n x, Continuous (fun θ : ℝ => E n (x, θ))) : |
| 156 | angularAverage ((A + C) * (B + E)) - angularAverage (A * B) = |
| 157 | angularAverage (A * E) + angularAverage (C * B) + angularAverage (C * E) := by |
| 158 | have he : (A + C) * (B + E) = A * B + (A * E + C * B + C * E) := by |
| 159 | funext n p |
| 160 | simp only [Pi.add_apply, Pi.mul_apply] |
| 161 | ring |
| 162 | rw [he, angularAverage_add |
| 163 | (fun n x => (hA n x).mul (hB n x)) |
| 164 | (fun n x => ((hA n x).mul (hE n x)).add ((hC n x).mul (hB n x)) |>.add |
| 165 | ((hC n x).mul (hE n x))), |
| 166 | angularAverage_add |
| 167 | (fun n x => ((hA n x).mul (hE n x)).add ((hC n x).mul (hB n x))) |
| 168 | (fun n x => (hC n x).mul (hE n x)), |
| 169 | angularAverage_add |
| 170 | (fun n x => (hA n x).mul (hE n x)) |
| 171 | (fun n x => (hC n x).mul (hB n x))] |
| 172 | abel |
| 173 | |
| 174 | /-- The error in the actual angular covariance has order `1.5-κ`: |
| 175 | the two primary-curl products and the curl-curl product are all retained. -/ |
| 176 | theorem realAngularProduct_curl_error_mem {s : StripData D} {P : ℕ → D → ℝ} |
| 177 | {κ : ℝ} (hκ : κ ≤ 1 / 2) |
| 178 | (a b da db : ℕ → Coefficients D) (N : ℕ) |
| 179 | (hband : ∀ n, BandLimited (a n) N) (hdband : ∀ n, BandLimited (da n) N) |
| 180 | (ha : ∀ j, WaveClass s P (1 / 2) (fun n x => a n j x)) |
| 181 | (hb : ∀ j, WaveClass s P (1 / 2) (fun n x => b n j x)) |
| 182 | (hda : ∀ j, WaveClass s P (1 - κ) (fun n x => da n j x)) |
| 183 | (hdb : ∀ j, WaveClass s P (1 - κ) (fun n x => db n j x)) |
| 184 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 185 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) |
| 186 | (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) (hkp : ∀ n, kp n ≠ 0) : |
| 187 | MeanClass s (3 / 2 - κ) |
| 188 | (angularAverage (fun n p => |
| 189 | (field (a n + da n) (k n) (Φ n) (kp n) p).re * |
| 190 | (field (b n + db n) (k n) (Φ n) (kp n) p).re) - |
| 191 | angularAverage (fun n p => |
| 192 | (field (a n) (k n) (Φ n) (kp n) p).re * |
| 193 | (field (b n) (k n) (Φ n) (kp n) p).re)) := by |
| 194 | let A : OscillatoryScalar D := fun n p => (field (a n) (k n) (Φ n) (kp n) p).re |
| 195 | let B : OscillatoryScalar D := fun n p => (field (b n) (k n) (Φ n) (kp n) p).re |
| 196 | let C : OscillatoryScalar D := fun n p => (field (da n) (k n) (Φ n) (kp n) p).re |
| 197 | let E : OscillatoryScalar D := fun n p => (field (db n) (k n) (Φ n) (kp n) p).re |
| 198 | have hAE : MeanClass s (3 / 2 - κ) (angularAverage (A * E)) := by |
| 199 | convert! realAngularProduct_mem a db N hband ha hdb hP0 hP1 k Φ kp hkp using 1 |
| 200 | ring |
| 201 | have hCB : MeanClass s (3 / 2 - κ) (angularAverage (C * B)) := by |
| 202 | convert! realAngularProduct_mem da b N hdband hda hb hP0 hP1 k Φ kp hkp using 1 |
| 203 | ring |
| 204 | have hCE : MeanClass s (3 / 2 - κ) (angularAverage (C * E)) := |
| 205 | (realAngularProduct_mem da db N hdband hda hdb hP0 hP1 k Φ kp hkp).mono_exponent (by linarith) |
| 206 | have he := angularProduct_add_error A B C E |
| 207 | (fun n x => Complex.continuous_re.comp (field_angular_continuous (a n) (k n) (Φ n) (kp n) x)) |
| 208 | (fun n x => Complex.continuous_re.comp (field_angular_continuous (b n) (k n) (Φ n) (kp n) x)) |
| 209 | (fun n x => Complex.continuous_re.comp (field_angular_continuous (da n) (k n) (Φ n) (kp n) x)) |
| 210 | (fun n x => Complex.continuous_re.comp (field_angular_continuous (db n) (k n) (Φ n) (kp n) x)) |
| 211 | have herr : MeanClass s (3 / 2 - κ) |
| 212 | (angularAverage ((A + C) * (B + E)) - angularAverage (A * B)) := by |
| 213 | rw [he] |
| 214 | exact (hAE.add hCB).add hCE |
| 215 | simp only [A, B, C, E, HarmonicResidual.field_add, Complex.add_re] at herr ⊢ |
| 216 | exact herr |
| 217 | |
| 218 | end RealCoefficientCovariance |
| 219 | |
| 220 | end NavierStokes.HarmonicCovariance |