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/Radial): delete 5 declarations nothing uses
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main s1-euler-all-3 s1-euler-correction-3 s1-euler-cylinder-3 s1-euler-euler-2 s1-euler-exact-3 s1-euler-finite-3 s1-euler-lp-3 s1-euler-packet-3 s1-euler-volume-3 s1-ns-actual-3 s1-ns-base-2 s1-ns-borel-3 s1-ns-constructed-3 s1-ns-correction-3 s1-ns-current-3 s1-ns-cycle-3 s1-ns-error-3 s1-ns-even-3 s1-ns-first-3 s1-ns-flat-3 s1-ns-fourier-3 s1-ns-heat-3 s1-ns-joint-3 s1-ns-localized-1 s1-ns-mean-1 s1-ns-modulated-3 s1-ns-offplane-2 s1-ns-particular-2 s1-ns-periodic-3 s1-ns-physical-3 s1-ns-primary-2 s1-ns-radial-2 s1-ns-residual-3 s1-ns-scaled-3 s1-ns-signed-3 s1-ns-smooth-3 s1-ns-spacetime-3 s1-ns-temporal-3 s1-ns-torus-3 s1-ns-variable-3 s1-ns-wave-3 s1-ns-weighted-3 s1-ns-whole-3
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −47 NavierStokes/RadialFluxResidual.lean View file
| @@ -146,14 +146,6 @@ theorem laplaceWeighted_radialB {V : Profile} {p : ProfilePoint} | ||
| 146 | 146 | unfold radialB |
| 147 | 147 | field_simp [hs] ; ring |
| 148 | 148 | |
| 149 | -theorem divergence_coefficient {V : Profile} (U : Profile) {p : ProfilePoint} | |
| 150 | - (hV : DifferentiableAt ℝ V p) (hs : p.2.1 ≠ 0) : | |
| 151 | - partialZ U p - 2 * radialB V p - 2 * p.2.1 * partialS (radialB V) p = | |
| 152 | - partialS V p + partialZ U p := by | |
| 153 | - rw [partialS_radialB_explicit hV hs] | |
| 154 | - unfold radialB | |
| 155 | - field_simp [hs] ; ring | |
| 156 | - | |
| 157 | 149 | private theorem hasFDerivAt_velocity_at {B F U : Profile} {t : ℝ} {x : Space} |
| 158 | 150 | (hB : DifferentiableAt ℝ B (profilePoint t x)) |
| 159 | 151 | (hF : DifferentiableAt ℝ F (profilePoint t x)) |
| @@ -167,45 +159,6 @@ private theorem hasFDerivAt_velocity_at {B F U : Profile} {t : ℝ} {x : Space} | ||
| 167 | 159 | ((((projection 0).hasFDerivAt.mul hb).add ((projection 1).hasFDerivAt.mul hf)).neg) |
| 168 | 160 | (((projection 0).hasFDerivAt.mul hf).sub ((projection 1).hasFDerivAt.mul hb)) hu |
| 169 | 161 | |
| 170 | -theorem divergence_velocity_at {B F U : Profile} {t : ℝ} {x : Space} | |
| 171 | - (hB : DifferentiableAt ℝ B (profilePoint t x)) | |
| 172 | - (hF : DifferentiableAt ℝ F (profilePoint t x)) | |
| 173 | - (hU : DifferentiableAt ℝ U (profilePoint t x)) : | |
| 174 | - spatialDivergence (AxisymmetricResidual.velocity B F U) t x = | |
| 175 | - partialZ U (profilePoint t x) - 2 * B (profilePoint t x) - | |
| 176 | - 2 * radialEnergy x * partialS B (profilePoint t x) := by | |
| 177 | - unfold spatialDivergence spatialDerivative | |
| 178 | - rw [(hasFDerivAt_velocity_at hB hF hU).fderiv, Fin.sum_univ_three] | |
| 179 | - simp [velocityJacobian, packDerivative_apply, profileDerivative_apply, | |
| 180 | - coordinateVector, profilePoint, radialEnergy, lift] | |
| 181 | - ring | |
| 182 | - | |
| 183 | -/-- Actual Cartesian divergence, needing regularity only at the evaluated | |
| 184 | -profile point. No smooth extension of the quotient across the axis is assumed. -/ | |
| 185 | -theorem divergence_radialB {V F U : Profile} {t : ℝ} {x : Space} | |
| 186 | - (hV : DifferentiableAt ℝ V (profilePoint t x)) | |
| 187 | - (hF : DifferentiableAt ℝ F (profilePoint t x)) | |
| 188 | - (hU : DifferentiableAt ℝ U (profilePoint t x)) (hs : 0 < radialEnergy x) : | |
| 189 | - spatialDivergence (AxisymmetricResidual.velocity (radialB V) F U) t x = | |
| 190 | - partialS V (profilePoint t x) + partialZ U (profilePoint t x) := by | |
| 191 | - have hne : (profilePoint t x).2.1 ≠ 0 := ne_of_gt hs | |
| 192 | - rw [divergence_velocity_at (differentiableAt_radialB hV hne) hF hU] | |
| 193 | - exact divergence_coefficient U hV hne | |
| 194 | - | |
| 195 | -/-- The substitution has exactly the intended physical radial flux. -/ | |
| 196 | -theorem radial_flux_velocity (V F U : Profile) (t : ℝ) (x : Space) | |
| 197 | - (hs : 0 < radialEnergy x) : | |
| 198 | - x 0 * AxisymmetricResidual.velocity (radialB V) F U (t, x) 0 + | |
| 199 | - x 1 * AxisymmetricResidual.velocity (radialB V) F U (t, x) 1 = | |
| 200 | - V (profilePoint t x) := by | |
| 201 | - calc | |
| 202 | - _ = -2 * radialEnergy x * radialB V (profilePoint t x) := by | |
| 203 | - simp [AxisymmetricResidual.velocity, componentX, componentY, lift, radialEnergy] | |
| 204 | - ring | |
| 205 | - _ = _ := by | |
| 206 | - change -2 * radialEnergy x * (-V (profilePoint t x) / (2 * radialEnergy x)) = _ | |
| 207 | - field_simp [ne_of_gt hs] | |
| 208 | - | |
| 209 | 162 | noncomputable def fluxResidual (V F U P : Profile) (p : ProfilePoint) : ℝ := |
| 210 | 163 | partialT V p + V p * (partialS V p - V p / (2 * p.2.1)) + U p * partialZ V p - |
| 211 | 164 | 2 * p.2.1 * partialS (partialS V) p - partialZ (partialZ V) p + |
+0 −11 NavierStokes/RadialModulation.lean View file
| @@ -162,17 +162,6 @@ theorem zeroMeanPrimitive_hasDerivAt | ||
| 162 | 162 | HasDerivAt (zeroMeanPrimitive q) (q θ) θ := by |
| 163 | 163 | exact (periodicPrimitive_hasDerivAt q hq θ).sub_const _ |
| 164 | 164 | |
| 165 | -theorem zeroMeanPrimitive_integral | |
| 166 | - (q : ℝ → ℝ) (hq : Continuous q) : | |
| 167 | - intervalIntegral (zeroMeanPrimitive q) 0 1 volume = 0 := by | |
| 168 | - have hd : Differentiable ℝ (periodicPrimitive q) := | |
| 169 | - fun θ => (periodicPrimitive_hasDerivAt q hq θ).differentiableAt | |
| 170 | - have hc : Continuous (periodicPrimitive q) := hd.continuous | |
| 171 | - unfold zeroMeanPrimitive | |
| 172 | - rw [intervalIntegral.integral_sub (hc.intervalIntegrable 0 1) | |
| 173 | - (continuous_const.intervalIntegrable 0 1)] | |
| 174 | - simp | |
| 175 | - | |
| 176 | 165 | /-! ### Uniform bounds for every fixed parameter jet -/ |
| 177 | 166 | |
| 178 | 167 | /-- Coordinates are amplitude, radius, parameter, periodic angle. -/ |
+16 −0 routes/s1-ns-radial-2/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-radial-2 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10), family `NavierStokes/Radial*`, wave 2: deletes 5 | |
| 8 | +declarations (58 lines) from `NavierStokes/RadialFluxResidual.lean` and | |
| 9 | +`NavierStokes/RadialModulation.lean`, none of which anything in the tree names any more | |
| 10 | +(`git grep -n -w <name>`, docstrings included). No statement that stays is changed; the diff is | |
| 11 | +deletions only. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +The maintainer's review after `challenge` and `build`; the rest of wave 2's `NavierStokes/Radial*` | |
| 16 | +units follow in pull requests of their own. | |