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.LocalizedWaveBounds |
| 2 | import NavierStokes.ParticularCopyBounds |
| 3 | |
| 4 | /-! |
| 5 | # Curl realization on native phase patches |
| 6 | |
| 7 | The geometric and tangency hypotheses are imposed only where the raw |
| 8 | wave is used. The cutoff coefficient has a zero germ elsewhere in its |
| 9 | copy cell. The actual common potential and corrected wave inherit the |
| 10 | local curl and divergence identities through those germs. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.LocalizedCurlRealization |
| 16 | |
| 17 | open Set Function Filter WeightedClasses HarmonicCalculus LinearWaveBounds |
| 18 | open PeriodizedWaveBounds CurlClassBounds |
| 19 | open scoped Topology ContDiff InnerProductSpace |
| 20 | |
| 21 | |
| 22 | variable {D I : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 23 | |
| 24 | theorem geometry_restrict {U V : Set D} {R : D → ℝ} {Vr Vθ Vz : D → D} |
| 25 | (G : CylindricalGeometry U R Vr Vθ Vz) (hV : IsOpen V) (hVU : V ⊆ U) : |
| 26 | CylindricalGeometry V R Vr Vθ Vz := |
| 27 | { isOpen := hV |
| 28 | radius_smooth := G.radius_smooth.mono hVU |
| 29 | radius_ne := fun x hx => G.radius_ne x (hVU hx) |
| 30 | radial_smooth := G.radial_smooth.mono hVU |
| 31 | angular_smooth := G.angular_smooth.mono hVU |
| 32 | axial_smooth := G.axial_smooth.mono hVU |
| 33 | radial_radius := fun x hx => G.radial_radius x (hVU hx) |
| 34 | angular_radius := fun x hx => G.angular_radius x (hVU hx) |
| 35 | axial_radius := fun x hx => G.axial_radius x (hVU hx) |
| 36 | radial_angular := fun x hx => G.radial_angular x (hVU hx) |
| 37 | radial_axial := fun x hx => G.radial_axial x (hVU hx) |
| 38 | angular_axial := fun x hx => G.angular_axial x (hVU hx) } |
| 39 | |
| 40 | theorem normalDot_real_smul (N : ProblemStatement.Space) (r : ℝ) |
| 41 | (a : HarmonicCalculus.ComplexVector) : |
| 42 | normalDot N (r • a) = (r : ℂ) * normalDot N a := by |
| 43 | simp only [normalDot, Pi.smul_apply, Complex.real_smul] |
| 44 | ring |
| 45 | |
| 46 | /-- Primitive smoothness, cylindrical geometry, and raw tangency on the |
| 47 | genuine native phase patch. No corrected-wave equation is an input. -/ |
| 48 | structure RawData (a : CopyData D I) (s : StripData D) (d : GraphDirections D) |
| 49 | (C : ℕ → I → Set D) : Prop where |
| 50 | geometry : ∀ n i, CylindricalGeometry (s.domain ∩ C n i) (a.background.radius n) |
| 51 | (d.radialField n) (fun _ => d.angular) (d.axialField s n) |
| 52 | phase : ∀ n i, ContDiffOn ℝ ∞ (a.background.phase n) (s.domain ∩ C n i) |
| 53 | amplitude : ∀ n i, ContDiffOn ℝ ∞ (a.amplitude n i) (s.domain ∩ C n i) |
| 54 | cutoff : ∀ n i, ContDiffOn ℝ ∞ (a.cutoff n i) (s.domain ∩ C n i) |
| 55 | frequency : ∀ n, a.background.frequency n ≠ 0 |
| 56 | normal : ∀ n i x, x ∈ s.domain ∩ C n i → a.background.normal s d n x ≠ 0 |
| 57 | tangent : ∀ n i x, x ∈ s.domain ∩ C n i → |
| 58 | normalDot (a.background.normal s d n x) (a.amplitude n i x) = 0 |
| 59 | |
| 60 | namespace RawData |
| 61 | |
| 62 | variable {a : CopyData D I} {s : StripData D} {d : GraphDirections D} |
| 63 | {C : ℕ → I → Set D} |
| 64 | |
| 65 | variable (h : RawData a s d C) |
| 66 | |
| 67 | include h |
| 68 | |
| 69 | theorem localized_smooth (n : ℕ) (i : I) : |
| 70 | ContDiffOn ℝ ∞ ((a.localized i).amplitude n) (s.domain ∩ C n i) := |
| 71 | (h.cutoff n i).smul (h.amplitude n i) |
| 72 | |
| 73 | theorem localized_tangent (n : ℕ) (i : I) {x : D} (hx : x ∈ s.domain ∩ C n i) : |
| 74 | normalDot (a.background.normal s d n x) ((a.localized i).amplitude n x) = 0 := by |
| 75 | change normalDot (a.background.normal s d n x) (a.cutoff n i x • a.amplitude n i x) = 0 |
| 76 | rw [normalDot_real_smul, h.tangent n i x hx, mul_zero] |
| 77 | |
| 78 | theorem native_potential_smooth (n : ℕ) (i : I) : |
| 79 | ContDiffOn ℝ ∞ ((a.localized i).curlPotential s d n) (s.domain ∩ C n i) := |
| 80 | vectorPotential_contDiffOn (h.geometry n i) (a.background.frequency n) |
| 81 | (h.phase n i) (h.localized_smooth n i) (h.normal n i) |
| 82 | |
| 83 | theorem native_realizes_curl (n : ℕ) (i : I) {x : D} (hx : x ∈ s.domain ∩ C n i) : |
| 84 | cylindricalCurl (a.background.radius n) (d.radialField n) (fun _ => d.angular) |
| 85 | (d.axialField s n) ((a.localized i).curlPotential s d n) x = |
| 86 | vectorMode (a.background.frequency n) (a.background.phase n) |
| 87 | ((a.corrected s d i).amplitude n) x := |
| 88 | cylindricalCurl_vectorPotential (h.geometry n i) (h.frequency n) |
| 89 | (h.phase n i) (h.localized_smooth n i) (h.normal n i) |
| 90 | (fun _ hx => h.localized_tangent n i hx) hx |
| 91 | |
| 92 | theorem native_velocity_smooth (n : ℕ) (i : I) : |
| 93 | ContDiffOn ℝ ∞ (vectorMode (a.background.frequency n) (a.background.phase n) |
| 94 | ((a.corrected s d i).amplitude n)) (s.domain ∩ C n i) := by |
| 95 | have G := h.geometry n i |
| 96 | have hc := cylindricalCurl_contDiffOn G.isOpen (G.radius_smooth.inv G.radius_ne) |
| 97 | G.radial_smooth G.angular_smooth G.axial_smooth (h.native_potential_smooth n i) |
| 98 | exact hc.congr (fun x hx => (h.native_realizes_curl n i hx).symm) |
| 99 | |
| 100 | end RawData |
| 101 | |
| 102 | /-- The whole native corrected field and its potential vanish as germs |
| 103 | whenever the cutoff amplitude does. No background regularity is needed. -/ |
| 104 | theorem native_zero_germs (a : CopyData D I) (s : StripData D) (d : GraphDirections D) |
| 105 | {n : ℕ} {i : I} {x : D} |
| 106 | (ha : (a.localized i).amplitude n =ᶠ[𝓝 x] fun _ => 0) : |
| 107 | ((a.localized i).curlPotential s d n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 108 | ((a.corrected s d i).amplitude n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 109 | (vectorMode (a.background.frequency n) (a.background.phase n) |
| 110 | ((a.corrected s d i).amplitude n) =ᶠ[𝓝 x] fun _ => 0) := by |
| 111 | have hp := potential_germ ha (a.background.frequency n) (a.background.radius n) |
| 112 | (a.background.phase n) (d.radialField n) (fun _ => d.angular) (d.axialField s n) |
| 113 | have hpot : (a.localized i).curlPotential s d n =ᶠ[𝓝 x] fun _ => 0 := by |
| 114 | simp only [vectorPotential_zero] at hp |
| 115 | exact hp |
| 116 | have hc := ParticularWaveAssembly.realizedCoefficient_germ ha (a.background.frequency n) |
| 117 | (a.background.radius n) (d.radialField n) (fun _ => d.angular) |
| 118 | (d.axialField s n) (a.background.phase n) |
| 119 | have hcor : (a.corrected s d i).amplitude n =ᶠ[𝓝 x] fun _ => 0 := by |
| 120 | simp only [realizedCoefficient_zero] at hc |
| 121 | exact hc |
| 122 | refine ⟨hpot, hcor, ?_⟩ |
| 123 | filter_upwards [hcor] with y hy |
| 124 | ext j |
| 125 | simp only [vectorMode, mode, hy, Pi.zero_apply, zero_mul] |
| 126 | |
| 127 | theorem native_identities_of_zero_germ (a : CopyData D I) (s : StripData D) |
| 128 | (d : GraphDirections D) {n : ℕ} {i : I} {x : D} |
| 129 | (ha : (a.localized i).amplitude n =ᶠ[𝓝 x] fun _ => 0) : |
| 130 | (cylindricalCurl (a.background.radius n) (d.radialField n) (fun _ => d.angular) |
| 131 | (d.axialField s n) ((a.localized i).curlPotential s d n) x = |
| 132 | vectorMode (a.background.frequency n) (a.background.phase n) |
| 133 | ((a.corrected s d i).amplitude n) x) ∧ |
| 134 | cylindricalDivergence (a.background.radius n) (d.radialField n) (fun _ => d.angular) |
| 135 | (d.axialField s n) (vectorMode (a.background.frequency n) (a.background.phase n) |
| 136 | ((a.corrected s d i).amplitude n)) x = 0 := by |
| 137 | obtain ⟨hpot, _, hv⟩ := native_zero_germs a s d ha |
| 138 | have hc := ParticularWaveAssembly.curl_germ hpot (a.background.radius n) |
| 139 | (d.radialField n) (fun _ => d.angular) (d.axialField s n) |
| 140 | have hd := divergence_germ hv (a.background.radius n) |
| 141 | (d.radialField n) (fun _ => d.angular) (d.axialField s n) |
| 142 | constructor |
| 143 | · rw [hv.self_of_nhds] |
| 144 | simpa only [cylindricalCurl_zero] using hc.self_of_nhds |
| 145 | · simpa only [cylindricalDivergence_zero] using hd.self_of_nhds |
| 146 | |
| 147 | namespace RawData |
| 148 | |
| 149 | variable {a : CopyData D I} {s : StripData D} {d : GraphDirections D} |
| 150 | {C : ℕ → I → Set D} (h : RawData a s d C) |
| 151 | (K : Cells D I) (hs : ∀ n i, support (a.cutoff n i) ⊆ K.carrier n i) |
| 152 | (hcover : ∀ n i x, x ∈ s.domain → x ∈ K.carrier n i → x ∈ C n i ∨ |
| 153 | (a.localized i).amplitude n =ᶠ[𝓝 x] fun _ => 0) |
| 154 | |
| 155 | include h K hs hcover |
| 156 | |
| 157 | theorem common_velocity_smooth (n : ℕ) : |
| 158 | ContDiffOn ℝ ∞ (vectorMode (a.background.frequency n) (a.background.phase n) |
| 159 | ((a.commonCorrected s d).amplitude n)) s.domain := by |
| 160 | intro x hx |
| 161 | apply ContDiffAt.contDiffWithinAt |
| 162 | classical |
| 163 | by_cases hi : ∃ i, x ∈ K.carrier n i |
| 164 | · obtain ⟨i, hi⟩ := hi |
| 165 | have hg := ParticularWaveAssembly.vectorMode_germ |
| 166 | (a.commonCorrected_amplitude_germ K hs s d n hi) |
| 167 | (a.background.frequency n) (a.background.phase n) |
| 168 | rcases hcover n i x hx hi with hC | hz |
| 169 | · exact ((h.native_velocity_smooth n i).contDiffAt |
| 170 | ((h.geometry n i).isOpen.mem_nhds ⟨hx, hC⟩)).congr_of_eventuallyEq hg |
| 171 | · exact contDiffAt_const.congr_of_eventuallyEq |
| 172 | (hg.trans (native_zero_germs a s d hz).2.2) |
| 173 | · have hz := a.commonCorrected_zero_germ K hs s d (not_exists.mp hi) |
| 174 | have hm : vectorMode (a.background.frequency n) (a.background.phase n) |
| 175 | ((a.commonCorrected s d).amplitude n) =ᶠ[𝓝 x] fun _ => 0 := by |
| 176 | filter_upwards [hz] with y hy |
| 177 | ext j |
| 178 | simp only [vectorMode, mode, hy, Pi.zero_apply, zero_mul] |
| 179 | exact contDiffAt_const.congr_of_eventuallyEq hm |
| 180 | |
| 181 | end RawData |
| 182 | |
| 183 | /-! ## Tangency of the actual raw coefficients -/ |
| 184 | |
| 185 | section Particular |
| 186 | |
| 187 | open CommonCoverSolve TorusInverse ParticularWaveBounds |
| 188 | |
| 189 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 190 | {s : StripData (P × Plane)} {α : ℝ} |
| 191 | {dirs : GraphDirections (P × Plane)} |
| 192 | {frame : ℕ → PrimaryODE.FrameData (P × ℝ)} |
| 193 | {t : ℕ → TangentData P ProblemStatement.Space} |
| 194 | {source : ℕ → P × Plane → HarmonicCalculus.ComplexVector} |
| 195 | {harmonic : ℤ} {g : ℕ → Geometry} {L : ℕ → ℝ} {envelope : ℕ → ℝ → ℝ} |
| 196 | {C : ℕ → Frequency → Set (P × Plane)} |
| 197 | |
| 198 | end Particular |
| 199 | |
| 200 | end NavierStokes.LocalizedCurlRealization |