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

Merge pull request #384 from s1-ns-radial-2
Browse fileschore(NavierStokes/Radial): delete 5 declarations nothing uses
main maintainer-statement p1-ns-physical p2-correction-temporal-mean s1-euler-all-3 s1-euler-angle-9 s1-euler-canonical-8 s1-euler-correction-3 s1-euler-correction-9 s1-euler-cylinder-3 s1-euler-cylinder-8 s1-euler-dirichlet-6 s1-euler-euler-2 s1-euler-euler-6 s1-euler-exact-3 s1-euler-finite-3 s1-euler-hilbert-6 s1-euler-inviscid-8 s1-euler-lp-3 s1-euler-mean-8 s1-euler-ordinary-6 s1-euler-packet-3 s1-euler-packet-8 s1-euler-source-6 s1-euler-transverse-6 s1-euler-transverse-9 s1-euler-volume-3 s1-ns-actual-3 s1-ns-actual-8 s1-ns-annular-6 s1-ns-annular-8 s1-ns-assembled-7 s1-ns-axisymmetric-8 s1-ns-base-2 s1-ns-base-6 s1-ns-base-8 s1-ns-borel-3 s1-ns-common-6 s1-ns-common-8 s1-ns-common-9 s1-ns-constructed-3 s1-ns-constructed-8 s1-ns-copy-6 s1-ns-copy-8 s1-ns-correction-3 s1-ns-curl-6 s1-ns-curl-9 s1-ns-current-3 s1-ns-cycle-3 s1-ns-edge-6 s1-ns-error-3 s1-ns-error-9 s1-ns-even-3 s1-ns-final-6 s1-ns-first-3 s1-ns-five-8 s1-ns-flat-3 s1-ns-flat-8 s1-ns-fourier-3 s1-ns-graph-6 s1-ns-graph-9 s1-ns-harmonic-11 s1-ns-harmonic-6 s1-ns-harmonic-7 s1-ns-heat-3 s1-ns-joint-3 s1-ns-joint-8 s1-ns-label-6 s1-ns-linear-6 s1-ns-linear-7 s1-ns-localized-1 s1-ns-localized-6 s1-ns-mean-1 s1-ns-mean-8 s1-ns-modulated-3 s1-ns-moment-6 s1-ns-offplane-2 s1-ns-offplane-6 s1-ns-parametric-6 s1-ns-particular-10 s1-ns-particular-2 s1-ns-particular-6 s1-ns-particular-8 s1-ns-partitioned-6 s1-ns-partitioned-8 s1-ns-periodic-3 s1-ns-periodic-8 s1-ns-periodic-9 s1-ns-periodized-6 s1-ns-periodized-8 s1-ns-periodized-9 s1-ns-physical-3 s1-ns-physical-8 s1-ns-positive-8 s1-ns-prepared-6 s1-ns-pressure-9 s1-ns-primary-2 s1-ns-primary-6 s1-ns-primary-8 s1-ns-radial-9 s1-ns-reserved-8 s1-ns-residual-3 s1-ns-scaled-3 s1-ns-signed-3 s1-ns-signed-8 s1-ns-slow-6 s1-ns-smooth-3 s1-ns-smooth-8 s1-ns-spacetime-3 s1-ns-state-8 s1-ns-temporal-3 s1-ns-temporal-8 s1-ns-terminal-6 s1-ns-torus-3 s1-ns-uniform-8 s1-ns-variable-3 s1-ns-viscous-6 s1-ns-wave-11 s1-ns-wave-3 s1-ns-wave-8 s1-ns-weighted-10 s1-ns-weighted-12 s1-ns-weighted-3 s1-ns-weighted-8 s1-ns-weighted-9 s1-ns-whole-3 s1-ns-within-6 s2-build-profile-files s2-euler-all-1 s2-euler-base-1 s2-euler-bounded-1 s2-euler-child-1 s2-euler-coefficient-1 s2-euler-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-div-1 s2-euler-drift-1 s2-euler-euler-1 s2-euler-field-1 s2-euler-finite-1 s2-euler-flow-1 s2-euler-gaussian-1 s2-euler-gevrey-1 s2-euler-h6-1 s2-euler-heat-1 s2-euler-initial-1 s2-euler-integral-1 s2-euler-linear-1 s2-euler-local-1 s2-euler-logarithmic-1 s2-euler-mean-1 s2-euler-metric-1 s2-euler-mixed-1 s2-euler-operator-1 s2-euler-ordinary-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-parameter-1 s2-euler-parent-1 s2-euler-radial-1 s2-euler-small-1 s2-euler-sobolev-1 s2-euler-squared-1 s2-euler-static-1 s2-euler-terminal-1 s2-euler-time-1 s2-euler-transport-1 s2-euler-transverse-1 s2-euler-unshifted-1 s2-euler-vorticity-1 s2-euler-weighted-1 s2-instances-1 s2-ns-activation-1 s2-ns-actual-1 s2-ns-aligned-1 s2-ns-angular-1 s2-ns-annular-1 s2-ns-axis-1 s2-ns-base-1 s2-ns-chart-1 s2-ns-closed-1 s2-ns-common-1 s2-ns-cone-1 s2-ns-coordinate-1 s2-ns-corrected-1 s2-ns-correction-1 s2-ns-covariance-1 s2-ns-current-1 s2-ns-cylindrical-1 s2-ns-diophantine-1 s2-ns-direct-1 s2-ns-extended-1 s2-ns-five-1 s2-ns-flat-1 s2-ns-future-1 s2-ns-gauge-1 s2-ns-gaussian-1 s2-ns-global-1 s2-ns-glued-1 s2-ns-growing-1 s2-ns-heat-1 s2-ns-initial-1 s2-ns-label-1 s2-ns-local-1 s2-ns-loop-1 s2-ns-matching-1 s2-ns-mean-1 s2-ns-modulated-1 s2-ns-moment-1 s2-ns-moving-1 s2-ns-native-1 s2-ns-natural-1 s2-ns-normal-1 s2-ns-outgoing-1 s2-ns-outgoing-2 s2-ns-parametric-1 s2-ns-periodic-1 s2-ns-periodized-1 s2-ns-phase-1 s2-ns-physical-1 s2-ns-polar-1 s2-ns-positive-1 s2-ns-pressure-1 s2-ns-primary-1 s2-ns-profile-1 s2-ns-pulse-1 s2-ns-r3-1 s2-ns-r3-folder-1 s2-ns-reference-1 s2-ns-renormalized-1 s2-ns-repair-1 s2-ns-reserved-1 s2-ns-reset-1 s2-ns-residual-1 s2-ns-scaled-1 s2-ns-scaled-2 s2-ns-scaling-1 s2-ns-shape-1 s2-ns-shaped-1 s2-ns-signed-1 s2-ns-similarity-1 s2-ns-slot-1 s2-ns-slow-1 s2-ns-smooth-1 s2-ns-spatial-1 s2-ns-squared-1 s2-ns-stress-1 s2-ns-tail-1 s2-ns-temporal-1 s2-ns-terminal-1 s2-ns-transition-1 s2-ns-uniform-1 s2-ns-variable-1 s2-ns-viscous-1 s2-ns-volterra-1 s2-ns-volterra-2 s5-cap-1 s5-euler-all-1 s5-euler-base-1 s5-euler-bounded-1 s5-euler-canonical-1 s5-euler-coefficient-1 s5-euler-compact-1 s5-euler-continuous-1 s5-euler-correction-1 s5-euler-cylinder-1 s5-euler-drift-1 s5-euler-duhamel-1 s5-euler-elapsed-1 s5-euler-elapsed-2 s5-euler-euler-1 s5-euler-external-1 s5-euler-field-1 s5-euler-fixed-1 s5-euler-gained-1 s5-euler-gaussian-1 s5-euler-gevrey-1 s5-euler-graph-1 s5-euler-h5-1 s5-euler-h6-1 s5-euler-heat-1 s5-euler-inviscid-1 s5-euler-lifted-1 s5-euler-linear-1 s5-euler-lp-1 s5-euler-mean-1 s5-euler-mixed-1 s5-euler-ordinary-1 s5-euler-packet-1 s5-euler-parameter-1 s5-euler-parent-1 s5-euler-physical-1 s5-euler-projected-1 s5-euler-quadratic-1 s5-euler-regularized-1 s5-euler-small-1 s5-euler-smooth-1 s5-euler-sobolev-1 s5-euler-source-1 s5-euler-stage-1 s5-euler-static-1 s5-euler-terminal-1 s5-euler-time-1 s5-euler-top-1 s5-euler-transverse-1 s5-euler-weighted-1 s5-euler-whole-1 s5-ns-actual-1 s5-ns-axis-1 s5-ns-generic-1 s5-ns-label-1 s5-ns-local-1 s5-ns-mean-1 s5-ns-moment-1 s5-ns-particular-1 s5-ns-periodic-1 s5-ns-periodize-1 s5-ns-positive-1 s5-ns-r3-folder-1 s5-ns-reference-1 s5-ns-sharp-1 s5-ns-smooth-1 s5-ns-torus-1 s5-ns-valid-1 s5-ns-whole-1 s5-ns-within-1
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. | |