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 #161 from s1-ns-covariance-1
Browse fileschore(NavierStokes/Covariance): delete 2 declarations nothing uses
main maintainer-statement p1-ns-physical p2-correction-temporal-mean s1-euler-all-2 s1-euler-all-3 s1-euler-angle-9 s1-euler-base-2 s1-euler-bounded-2 s1-euler-canonical-8 s1-euler-child-2 s1-euler-common-2 s1-euler-constant-2 s1-euler-continuous-2 s1-euler-correction-2 s1-euler-correction-3 s1-euler-correction-9 s1-euler-cylinder-2 s1-euler-cylinder-3 s1-euler-cylinder-8 s1-euler-dirichlet-6 s1-euler-euler-1 s1-euler-euler-2 s1-euler-euler-6 s1-euler-exact-3 s1-euler-field-2 s1-euler-finite-3 s1-euler-flow-2 s1-euler-frozen-2 s1-euler-general-2 s1-euler-heat-2 s1-euler-hilbert-6 s1-euler-inviscid-8 s1-euler-isometric-2 s1-euler-lp-2 s1-euler-lp-3 s1-euler-mean-2 s1-euler-mean-8 s1-euler-ordinary-6 s1-euler-packet-2 s1-euler-packet-3 s1-euler-packet-8 s1-euler-parent-1 s1-euler-parent-2 s1-euler-quadratic-2 s1-euler-resolvent-2 s1-euler-separating-2 s1-euler-smooth-2 s1-euler-sobolev-2 s1-euler-source-6 s1-euler-time-2 s1-euler-transverse-1 s1-euler-transverse-2 s1-euler-transverse-6 s1-euler-transverse-9 s1-euler-volume-3 s1-euler-vorticity-2 s1-euler-weighted-2 s1-ns-activation-2 s1-ns-active-2 s1-ns-actual-2 s1-ns-actual-3 s1-ns-actual-8 s1-ns-actual-files-8 s1-ns-aligned-2 s1-ns-angular-2 s1-ns-annular-6 s1-ns-annular-8 s1-ns-appendix-1 s1-ns-assembled-1 s1-ns-assembled-2 s1-ns-assembled-7 s1-ns-axis-2 s1-ns-axisymmetric-2 s1-ns-axisymmetric-8 s1-ns-band-2 s1-ns-base-1 s1-ns-base-2 s1-ns-base-6 s1-ns-base-8 s1-ns-borel-2 s1-ns-borel-3 s1-ns-boundary-2 s1-ns-cauchy-2 s1-ns-closed-1 s1-ns-closed-2 s1-ns-common-2 s1-ns-common-6 s1-ns-common-8 s1-ns-common-9 s1-ns-compact-2 s1-ns-comparator-1 s1-ns-constructed-2 s1-ns-constructed-3 s1-ns-constructed-8 s1-ns-copy-6 s1-ns-copy-8 s1-ns-correction-2 s1-ns-correction-3 s1-ns-curl-2 s1-ns-curl-6 s1-ns-curl-9 s1-ns-current-3 s1-ns-cycle-2 s1-ns-cycle-3 s1-ns-defect-2 s1-ns-direct-2 s1-ns-edge-6 s1-ns-entrance-2 s1-ns-error-2 s1-ns-error-3 s1-ns-error-9 s1-ns-even-2 s1-ns-even-3 s1-ns-exponent-2 s1-ns-final-2 s1-ns-final-6 s1-ns-first-2 s1-ns-first-3 s1-ns-five-8 s1-ns-flat-2 s1-ns-flat-3 s1-ns-flat-8 s1-ns-flatness-2 s1-ns-fourier-2 s1-ns-fourier-3 s1-ns-future-2 s1-ns-gauge-2 s1-ns-gaussian-2 s1-ns-global-2 s1-ns-graph-6 s1-ns-graph-9 s1-ns-harmonic-1 s1-ns-harmonic-11 s1-ns-harmonic-6 s1-ns-harmonic-7 s1-ns-heat-2 s1-ns-heat-3 s1-ns-initialized-2 s1-ns-integrated-1 s1-ns-joint-2 s1-ns-joint-3 s1-ns-joint-8 s1-ns-label-1 s1-ns-label-6 s1-ns-linear-2 s1-ns-linear-6 s1-ns-linear-7 s1-ns-local-2 s1-ns-localized-1 s1-ns-localized-2 s1-ns-localized-6 s1-ns-maximal-2 s1-ns-mean-1 s1-ns-mean-2 s1-ns-mean-8 s1-ns-mixed-2 s1-ns-modulated-3 s1-ns-moment-6 s1-ns-native-2 s1-ns-natural-1 s1-ns-natural-2 s1-ns-nilpotent-2 s1-ns-offplane-1 s1-ns-offplane-2 s1-ns-offplane-6 s1-ns-oscillatory-2 s1-ns-parametric-2 s1-ns-parametric-6 s1-ns-particular-1 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-past-2 s1-ns-periodic-2 s1-ns-periodic-3 s1-ns-periodic-8 s1-ns-periodic-9 s1-ns-periodized-2 s1-ns-periodized-6 s1-ns-periodized-8 s1-ns-periodized-9 s1-ns-phase-2 s1-ns-physical-2 s1-ns-physical-3 s1-ns-physical-8 s1-ns-positive-2 s1-ns-positive-8 s1-ns-prepared-6 s1-ns-pressure-2 s1-ns-pressure-9 s1-ns-primary-1 s1-ns-primary-2 s1-ns-primary-6 s1-ns-primary-8 s1-ns-pulse-2 s1-ns-r3-2 s1-ns-radial-2 s1-ns-radial-9 s1-ns-reference-2 s1-ns-regular-2 s1-ns-renormalized-2 s1-ns-reserved-8 s1-ns-residual-2 s1-ns-residual-3 s1-ns-scaled-3 s1-ns-scaling-2 s1-ns-schedule-2 s1-ns-sharp-2 s1-ns-signed-2 s1-ns-signed-3 s1-ns-signed-8 s1-ns-similarity-2 s1-ns-slot-2 s1-ns-slow-2 s1-ns-slow-6 s1-ns-smooth-2 s1-ns-smooth-3 s1-ns-smooth-8 s1-ns-solenoidal-2 s1-ns-spacetime-3 s1-ns-spatial-2 s1-ns-squared-2 s1-ns-state-2 s1-ns-state-8 s1-ns-subcover-2 s1-ns-tail-2 s1-ns-temporal-2 s1-ns-temporal-3 s1-ns-temporal-8 s1-ns-terminal-1 s1-ns-terminal-6 s1-ns-time-2 s1-ns-torus-2 s1-ns-torus-3 s1-ns-transition-2 s1-ns-transport-2 s1-ns-true-1 s1-ns-uniform-2 s1-ns-uniform-8 s1-ns-variable-2 s1-ns-variable-3 s1-ns-viscous-6 s1-ns-volterra-2 s1-ns-wave-11 s1-ns-wave-2 s1-ns-wave-3 s1-ns-wave-8 s1-ns-weighted-10 s1-ns-weighted-12 s1-ns-weighted-2 s1-ns-weighted-3 s1-ns-weighted-8 s1-ns-weighted-9 s1-ns-whole-3 s1-ns-within-2 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 −32 NavierStokes/Covariance.lean View file
| @@ -82,22 +82,6 @@ theorem inverse_formula {a b scaleMinus scalePlus : ℝ} (m t : ℝ) | ||
| 82 | 82 | (ne_of_gt hMinus) (ne_of_gt hPlus)] |
| 83 | 83 | rw [Matrix.mulVec_mulVec, Matrix.nonsing_inv_mul _ hdet, Matrix.one_mulVec] |
| 84 | 84 | |
| 85 | -theorem solution_unique {a b scaleMinus scalePlus m t : ℝ} | |
| 86 | - (ha : 0 < a) (hb : 0 < b) | |
| 87 | - (hMinus : 0 < scaleMinus) (hPlus : 0 < scalePlus) | |
| 88 | - (y : Fin 2 → ℝ) | |
| 89 | - (hy : (signedMatrix a b scaleMinus scalePlus).mulVec y = target m t) : | |
| 90 | - y = coefficients a b scaleMinus scalePlus m t := by | |
| 91 | - have hdet : IsUnit (signedMatrix a b scaleMinus scalePlus).det := | |
| 92 | - isUnit_iff_ne_zero.mpr (determinant_ne_zero ha hb hMinus hPlus) | |
| 93 | - calc | |
| 94 | - y = (signedMatrix a b scaleMinus scalePlus)⁻¹.mulVec | |
| 95 | - ((signedMatrix a b scaleMinus scalePlus).mulVec y) := by | |
| 96 | - rw [Matrix.mulVec_mulVec, Matrix.nonsing_inv_mul _ hdet, Matrix.one_mulVec] | |
| 97 | - _ = (signedMatrix a b scaleMinus scalePlus)⁻¹.mulVec (target m t) := by rw [hy] | |
| 98 | - _ = coefficients a b scaleMinus scalePlus m t := | |
| 99 | - inverse_formula m t ha hb hMinus hPlus | |
| 100 | - | |
| 101 | 85 | /-- A strict geometric cone condition makes both squared amplitudes positive. -/ |
| 102 | 86 | theorem coefficients_pos {a b scaleMinus scalePlus m t : ℝ} |
| 103 | 87 | (ha : 0 < a) (hb : 0 < b) |
| @@ -112,22 +96,6 @@ theorem coefficients_pos {a b scaleMinus scalePlus m t : ℝ} | ||
| 112 | 96 | · change 0 < (b * m + a * t) / (2 * a * b * scalePlus) |
| 113 | 97 | exact div_pos (by linarith) (by positivity) |
| 114 | 98 | |
| 115 | -/-- The same strict cone condition is necessary as well as sufficient. -/ | |
| 116 | -theorem coefficients_pos_iff {a b scaleMinus scalePlus m t : ℝ} | |
| 117 | - (ha : 0 < a) (hb : 0 < b) | |
| 118 | - (hMinus : 0 < scaleMinus) (hPlus : 0 < scalePlus) : | |
| 119 | - (∀ i, 0 < coefficients a b scaleMinus scalePlus m t i) ↔ |a * t| < b * m := by | |
| 120 | - constructor | |
| 121 | - · intro hy | |
| 122 | - have hm : 0 < 2 * a * b * scaleMinus := by positivity | |
| 123 | - have hp : 0 < 2 * a * b * scalePlus := by positivity | |
| 124 | - have hnMinus : 0 < b * m - a * t := | |
| 125 | - (div_pos_iff_of_pos_right hm).mp (by simpa [coefficients] using hy 0) | |
| 126 | - have hnPlus : 0 < b * m + a * t := | |
| 127 | - (div_pos_iff_of_pos_right hp).mp (by simpa [coefficients] using hy 1) | |
| 128 | - exact abs_lt.mpr ⟨by linarith, by linarith⟩ | |
| 129 | - · exact coefficients_pos ha hb hMinus hPlus | |
| 130 | - | |
| 131 | 99 | /-- The primary velocity amplitudes are positive square roots of the solve. -/ |
| 132 | 100 | def amplitudes (a b scaleMinus scalePlus m t : ℝ) : Fin 2 → ℝ := |
| 133 | 101 | fun i => Real.sqrt (coefficients a b scaleMinus scalePlus m t i) |
+23 −0 routes/s1-ns-covariance-1/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-covariance-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1), in the family `NavierStokes/Covariance*`: delete the | |
| 8 | +declarations of `NavierStokes/Covariance.lean` that nothing uses. The unit named | |
| 9 | +three; two are deleted here. | |
| 10 | + | |
| 11 | +- `NavierStokes.Covariance.solution_unique` (lines 85–99) | |
| 12 | +- `NavierStokes.Covariance.coefficients_pos_iff` (lines 115–129) | |
| 13 | + | |
| 14 | +The third, `NavierStokes.Covariance.scaled_primary_covariance`, stays: its | |
| 15 | +docstring cites equation (29) of the Navier–Stokes paper, and this project keeps | |
| 16 | +a declaration whose docstring cites the paper. It is not part of this pull | |
| 17 | +request. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Open the pull request for the two deletions and let `challenge` and `build` | |
| 22 | +report. A later unit can delete `scaled_primary_covariance` only if the | |
| 23 | +maintainer decides the docstring's (29) does not hold it. | |