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.CommonCoverWithin |
| 2 | import NavierStokes.ParticularWaveBounds |
| 3 | import NavierStokes.WithinJointODE |
| 4 | import NavierStokes.GenericEndpointExtension |
| 5 | |
| 6 | /-! # The slow-time-zero clause of the common-torus particular inverse |
| 7 | |
| 8 | Uniform interior jets determine genuine closed-side smoothness. The actual |
| 9 | common-torus velocity and pressure inherit these one-sided jets, uniformly |
| 10 | on compact parameter sets. No analytic regularity or open extension of an |
| 11 | arbitrary source is required. |
| 12 | -/ |
| 13 | |
| 14 | /-! ## From `NavierStokes/ParticularWithinPressure.lean` |
| 15 | |
| 16 | The text of `NavierStokes/ParticularWithinPressure.lean`, folded into this file, which was its only importer. -/ |
| 17 | |
| 18 | section |
| 19 | |
| 20 | /-! # One-sided jets of the actual particular velocity and pressure -/ |
| 21 | |
| 22 | noncomputable section |
| 23 | |
| 24 | namespace NavierStokes.ParticularWaveBounds |
| 25 | |
| 26 | open Set Filter Function |
| 27 | open scoped ContDiff Topology InnerProductSpace |
| 28 | open CommonCoverSolve TorusInverse |
| 29 | |
| 30 | section Real |
| 31 | |
| 32 | variable {P H : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 33 | [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] |
| 34 | |
| 35 | omit [CompleteSpace H] in |
| 36 | theorem tangent_coefficients_contDiffOn {S : Set (P × Plane)} (t : TangentData P H) |
| 37 | (hN : ContDiffOn ℝ ∞ t.normal S) (hNd : ContDiffOn ℝ ∞ t.normalDot S) |
| 38 | (hK : ContDiffOn ℝ ∞ t.action S) (hδ : ContDiffOn ℝ ∞ t.damping S) |
| 39 | (hn : ∀ x ∈ S, t.normal x ≠ 0) : |
| 40 | ContDiffOn ℝ ∞ t.linearData.coefficient S ∧ |
| 41 | ContDiffOn ℝ ∞ t.linearData.forcingMap S := by |
| 42 | have hden := (hN.inner ℝ hN).inv (fun x hx => inner_self_ne_zero.mpr (hn x hx)) |
| 43 | have hi := (innerSL ℝ).contDiff.comp_contDiffOn hN |
| 44 | have hid := (innerSL ℝ).contDiff.comp_contDiffOn hNd |
| 45 | constructor |
| 46 | · exact (hK.neg.add (((hi.clm_comp hK).sub hid).smulRight (hden.smul hN))).sub |
| 47 | (hδ.smul contDiffOn_const) |
| 48 | · exact (contDiffOn_const.sub (hi.smulRight (hden.smul hN))).neg |
| 49 | |
| 50 | theorem copyPressure_contDiffOn_within (t : TangentData P H) (g : Geometry) |
| 51 | {a b : ℝ} (hab : a ≤ b) {U : Set P} (hU : Convex ℝ U) (hu : UniqueDiffOn ℝ U) |
| 52 | (hN : ContDiffOn ℝ ∞ t.normal (U ×ˢ univ)) |
| 53 | (hNd : ContDiffOn ℝ ∞ t.normalDot (U ×ˢ univ)) |
| 54 | (hK : ContDiffOn ℝ ∞ t.action (U ×ˢ univ)) |
| 55 | (hδ : ContDiffOn ℝ ∞ t.damping (U ×ˢ univ)) |
| 56 | (hf : ContDiffOn ℝ ∞ t.source (U ×ˢ univ)) |
| 57 | (hn : ∀ x ∈ U ×ˢ univ, t.normal x ≠ 0) (k : Frequency) (frequency : ℝ) : |
| 58 | ContDiffOn ℝ ∞ (copyPressure t g hab k frequency) |
| 59 | {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b} := by |
| 60 | let D := {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b} |
| 61 | have hmap : MapsTo (nativePoint (P := P) g k) D (U ×ˢ univ) := |
| 62 | fun _ hx => ⟨hx.1, mem_univ _⟩ |
| 63 | have hnativ : ContDiff ℝ ∞ (nativePoint (P := P) g k) := |
| 64 | contDiff_fst.prodMk ((g.coordinates_contDiff k).comp contDiff_snd) |
| 65 | have hNc := hN.comp hnativ.contDiffOn hmap |
| 66 | have hNdc := hNd.comp hnativ.contDiffOn hmap |
| 67 | have hKc := hK.comp hnativ.contDiffOn hmap |
| 68 | have hfc := hf.mono (show D ⊆ U ×ˢ univ from fun _ hx => ⟨hx.1, mem_univ _⟩) |
| 69 | obtain ⟨hA, hB⟩ := tangent_coefficients_contDiffOn t hN hNd hK hδ hn |
| 70 | have hv := t.linearData.copySolve_contDiffOn_closed_within g hab hU hu hA hB hf k |
| 71 | have hreal : ContDiffOn ℝ ∞ (copyPressureReal t g hab k) D := |
| 72 | (((hNc.inner ℝ (hKc.clm_apply hv)).sub (hNdc.inner ℝ hv)).add (hNc.inner ℝ hfc)).div |
| 73 | (hNc.inner ℝ hNc) (fun x hx => inner_self_ne_zero.mpr (hn _ (hmap hx))) |
| 74 | have hcomplex := Complex.ofRealCLM.contDiff.comp_contDiffOn hreal |
| 75 | exact (contDiffOn_const.mul hcomplex).div_const _ |
| 76 | |
| 77 | end Real |
| 78 | |
| 79 | section Complex |
| 80 | |
| 81 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 82 | |
| 83 | theorem complexCopy_contDiffOn_within (t : TangentData P ProblemStatement.Space) |
| 84 | (f : P × Plane → HarmonicCalculus.ComplexVector) (g : Geometry) |
| 85 | {a b : ℝ} (hab : a ≤ b) {U : Set P} (hU : Convex ℝ U) (hu : UniqueDiffOn ℝ U) |
| 86 | (hN : ContDiffOn ℝ ∞ t.normal (U ×ˢ univ)) |
| 87 | (hNd : ContDiffOn ℝ ∞ t.normalDot (U ×ˢ univ)) |
| 88 | (hK : ContDiffOn ℝ ∞ t.action (U ×ˢ univ)) |
| 89 | (hδ : ContDiffOn ℝ ∞ t.damping (U ×ˢ univ)) |
| 90 | (hf : ContDiffOn ℝ ∞ f (U ×ˢ univ)) |
| 91 | (hn : ∀ x ∈ U ×ˢ univ, t.normal x ≠ 0) (k : Frequency) (frequency : ℝ) : |
| 92 | ContDiffOn ℝ ∞ (complexCopyVelocity t f g hab k) |
| 93 | {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b} ∧ |
| 94 | ContDiffOn ℝ ∞ (complexCopyPressure t f g hab k frequency) |
| 95 | {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b} := by |
| 96 | have hr : ContDiffOn ℝ ∞ (realData t f).source (U ×ˢ univ) := |
| 97 | realPart.contDiff.comp_contDiffOn hf |
| 98 | have hi : ContDiffOn ℝ ∞ (imagData t f).source (U ×ˢ univ) := |
| 99 | imagPart.contDiff.comp_contDiffOn hf |
| 100 | obtain ⟨hA, hB⟩ := tangent_coefficients_contDiffOn t hN hNd hK hδ hn |
| 101 | have hrv := (realData t f).linearData.copySolve_contDiffOn_closed_within g hab hU hu hA hB hr k |
| 102 | have hiv := (imagData t f).linearData.copySolve_contDiffOn_closed_within g hab hU hu hA hB hi k |
| 103 | have hrp := copyPressure_contDiffOn_within (realData t f) g hab hU hu hN hNd hK hδ hr hn k frequency |
| 104 | have hip := copyPressure_contDiffOn_within (imagData t f) g hab hU hu hN hNd hK hδ hi hn k frequency |
| 105 | constructor |
| 106 | · have hv := (CurlClassBounds.complexify.contDiff.comp_contDiffOn hrv).add |
| 107 | ((contDiffOn_const (c := Complex.I)).smul |
| 108 | (CurlClassBounds.complexify.contDiff.comp_contDiffOn hiv)) |
| 109 | exact hv |
| 110 | · exact hrp.add (contDiffOn_const.mul hip) |
| 111 | |
| 112 | variable {H : Type} [NormedAddCommGroup H] [NormedSpace ℝ H] [CompleteSpace H] |
| 113 | |
| 114 | omit [CompleteSpace H] in |
| 115 | theorem periodizedCopies_contDiffOn_within (g : Geometry) |
| 116 | {a b : ℝ} {U : Set P} {κ : Plane → ℝ} |
| 117 | (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) |
| 118 | (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) |
| 119 | (F : Frequency → P × Plane → H) |
| 120 | (hF : ∀ k, ContDiffOn ℝ ∞ (F k) |
| 121 | {p : P × Plane | p.1 ∈ U ∧ (g.coordinates k p.2).2 ∈ Icc a b}) : |
| 122 | ContDiffOn ℝ ∞ (periodizedCopies g κ F) (U ×ˢ univ) := by |
| 123 | have hterm (k : Frequency) : ContDiffOn ℝ ∞ |
| 124 | (fun p : P × Plane => κ (g.coordinates k p.2) • F k p) (U ×ˢ univ) := by |
| 125 | intro p hp |
| 126 | have hc : ContDiff ℝ ∞ (fun q : P × Plane => g.coordinates k q.2) := |
| 127 | (g.coordinates_contDiff k).comp contDiff_snd |
| 128 | by_cases hz : g.coordinates k p.2 ∈ tsupport κ |
| 129 | · have hη := (hsupp hz).2 |
| 130 | have hnear : {q : P × Plane | q.1 ∈ U ∧ (g.coordinates k q.2).2 ∈ Icc a b} |
| 131 | ∈ 𝓝[U ×ˢ univ] p := by |
| 132 | filter_upwards [self_mem_nhdsWithin, |
| 133 | mem_nhdsWithin_of_mem_nhds (hc.snd.continuous.tendsto p |>.eventually |
| 134 | (isOpen_Ioo.mem_nhds hη))] with q hq hηq |
| 135 | exact ⟨hq.1, Ioo_subset_Icc_self hηq⟩ |
| 136 | exact (hκ.comp hc).contDiffAt.contDiffWithinAt.smul |
| 137 | ((hF k p ⟨hp.1, Ioo_subset_Icc_self hη⟩).mono_of_mem_nhdsWithin hnear) |
| 138 | · have hzero : (fun q : P × Plane => κ (g.coordinates k q.2) • F k q) |
| 139 | =ᶠ[𝓝 p] fun _ => (0 : H) := by |
| 140 | filter_upwards [(notMem_tsupport_iff_eventuallyEq.mp hz).comp_tendsto |
| 141 | hc.continuous.continuousAt] with q hq |
| 142 | change κ (g.coordinates k q.2) = 0 at hq |
| 143 | rw [hq, zero_smul] |
| 144 | exact contDiffWithinAt_const.congr_of_eventuallyEq |
| 145 | (hzero.filter_mono nhdsWithin_le_nhds) hzero.self_of_nhds |
| 146 | intro p hp |
| 147 | obtain ⟨I, hI⟩ := g.finite_copy_cutoffs hcκ (‖p.2‖ + 1) |
| 148 | have he : periodizedCopies g κ F =ᶠ[𝓝 p] |
| 149 | fun q => ∑ k ∈ I, κ (g.coordinates k q.2) • F k q := by |
| 150 | filter_upwards [(isOpen_lt continuous_snd.norm continuous_const).mem_nhds |
| 151 | (show ‖p.2‖ < ‖p.2‖ + 1 by linarith)] with q hq |
| 152 | apply tsum_eq_sum |
| 153 | intro k hk |
| 154 | rw [hI q.2 hq.le k hk, zero_smul] |
| 155 | exact (ContDiffWithinAt.sum (fun k _ => hterm k p hp)).congr_of_eventuallyEq |
| 156 | (he.filter_mono nhdsWithin_le_nhds) he.self_of_nhds |
| 157 | |
| 158 | /-- The actual common-torus velocity and pressure inherit all mixed |
| 159 | one-sided slow derivatives from the primitive geometry and source. -/ |
| 160 | theorem commonCoefficients_contDiffOn_within (t : TangentData P ProblemStatement.Space) |
| 161 | (f : P × Plane → HarmonicCalculus.ComplexVector) (g : Geometry) |
| 162 | {a b : ℝ} (hab : a ≤ b) {U : Set P} (hU : Convex ℝ U) (hu : UniqueDiffOn ℝ U) |
| 163 | (hN : ContDiffOn ℝ ∞ t.normal (U ×ˢ univ)) |
| 164 | (hNd : ContDiffOn ℝ ∞ t.normalDot (U ×ˢ univ)) |
| 165 | (hK : ContDiffOn ℝ ∞ t.action (U ×ˢ univ)) |
| 166 | (hδ : ContDiffOn ℝ ∞ t.damping (U ×ˢ univ)) |
| 167 | (hf : ContDiffOn ℝ ∞ f (U ×ˢ univ)) |
| 168 | (hn : ∀ x ∈ U ×ˢ univ, t.normal x ≠ 0) |
| 169 | {κ : Plane → ℝ} (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) |
| 170 | (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) (frequency : ℝ) : |
| 171 | ContDiffOn ℝ ∞ (commonVelocity t f g hab κ) (U ×ˢ univ) ∧ |
| 172 | ContDiffOn ℝ ∞ (commonPressure t f g hab κ frequency) (U ×ˢ univ) := |
| 173 | ⟨periodizedCopies_contDiffOn_within g hκ hcκ hsupp _ (fun k => |
| 174 | (complexCopy_contDiffOn_within t f g hab hU hu hN hNd hK hδ hf hn k frequency).1), |
| 175 | periodizedCopies_contDiffOn_within g hκ hcκ hsupp _ (fun k => |
| 176 | (complexCopy_contDiffOn_within t f g hab hU hu hN hNd hK hδ hf hn k frequency).2)⟩ |
| 177 | |
| 178 | end Complex |
| 179 | |
| 180 | end NavierStokes.ParticularWaveBounds |
| 181 | end |
| 182 | |
| 183 | end |
| 184 | |
| 185 | /-! ## From `NavierStokes/ParticularWithinBounds.lean` |
| 186 | |
| 187 | The text of `NavierStokes/ParticularWithinBounds.lean`, folded into this file, which was its only importer. -/ |
| 188 | |
| 189 | section |
| 190 | |
| 191 | /-! # The particular inverse estimate at closed slow and pulse endpoints -/ |
| 192 | |
| 193 | noncomputable section |
| 194 | |
| 195 | namespace NavierStokes.ParticularWaveBounds |
| 196 | |
| 197 | open Set Function Filter |
| 198 | open scoped ContDiff Topology InnerProductSpace |
| 199 | open PrimaryPulseBounds |
| 200 | |
| 201 | variable {Q H : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 202 | [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] |
| 203 | |
| 204 | end NavierStokes.ParticularWaveBounds |
| 205 | end |
| 206 | |
| 207 | end |
| 208 | |
| 209 | noncomputable section |
| 210 | |
| 211 | namespace NavierStokes.ParticularOneSided |
| 212 | |
| 213 | open Set Filter |
| 214 | open scoped ContDiff Topology |
| 215 | open CommonCoverSolve TorusInverse ParticularWaveBounds |
| 216 | |
| 217 | section InputTraces |
| 218 | |
| 219 | variable {Y E : Type*} [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 220 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 221 | |
| 222 | end InputTraces |
| 223 | |
| 224 | section UniformJets |
| 225 | |
| 226 | variable {Y E : Type*} [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 227 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 228 | |
| 229 | end UniformJets |
| 230 | |
| 231 | section CommonTorus |
| 232 | |
| 233 | variable {X : Type} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 234 | |
| 235 | def slowDomain (W : Set X) : Set (ℝ × X) := Ici (0 : ℝ) ×ˢ W |
| 236 | |
| 237 | theorem slowDomain_convex {W : Set X} (hW : Convex ℝ W) : |
| 238 | Convex ℝ (slowDomain W) := (convex_Ici 0).prod hW |
| 239 | |
| 240 | theorem slowDomain_uniqueDiff {W : Set X} (hW : IsOpen W) : |
| 241 | UniqueDiffOn ℝ (slowDomain W) := (uniqueDiffOn_Ici 0).prod hW.uniqueDiffOn |
| 242 | |
| 243 | /-- The paper's actual complex common-torus inverse, for arbitrary source |
| 244 | coefficients with one-sided slow regularity at τ=0. Primitive geometry and |
| 245 | source are the only smoothness inputs. -/ |
| 246 | theorem commonCoefficients_oneSided (t : TangentData (ℝ × X) ProblemStatement.Space) |
| 247 | (f : (ℝ × X) × Plane → HarmonicCalculus.ComplexVector) (g : Geometry) |
| 248 | {a b : ℝ} (hab : a ≤ b) {W : Set X} (hW : IsOpen W) (hcW : Convex ℝ W) |
| 249 | (hN : ContDiffOn ℝ ∞ t.normal (slowDomain W ×ˢ univ)) |
| 250 | (hNd : ContDiffOn ℝ ∞ t.normalDot (slowDomain W ×ˢ univ)) |
| 251 | (hK : ContDiffOn ℝ ∞ t.action (slowDomain W ×ˢ univ)) |
| 252 | (hδ : ContDiffOn ℝ ∞ t.damping (slowDomain W ×ˢ univ)) |
| 253 | (hf : ContDiffOn ℝ ∞ f (slowDomain W ×ˢ univ)) |
| 254 | (hn : ∀ x ∈ slowDomain W ×ˢ univ, t.normal x ≠ 0) |
| 255 | {κ : Plane → ℝ} (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) |
| 256 | (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) (frequency : ℝ) : |
| 257 | ContDiffOn ℝ ∞ (commonVelocity t f g hab κ) (slowDomain W ×ˢ univ) ∧ |
| 258 | ContDiffOn ℝ ∞ (commonPressure t f g hab κ frequency) (slowDomain W ×ˢ univ) := |
| 259 | commonCoefficients_contDiffOn_within t f g hab (slowDomain_convex hcW) |
| 260 | (slowDomain_uniqueDiff hW) hN hNd hK hδ hf hn hκ hcκ hsupp frequency |
| 261 | |
| 262 | end CommonTorus |
| 263 | |
| 264 | end NavierStokes.ParticularOneSided |