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 #397 from s1-ns-solenoidal-2
Browse fileschore(NavierStokes/Solenoidal): delete 7 declarations nothing uses
main maintainer-statement p1-ns-physical 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-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 −88 NavierStokes/SolenoidalDiagonal.lean View file
| @@ -74,29 +74,6 @@ theorem summable_cutStage {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) | ||
| 74 | 74 | intro j hj |
| 75 | 75 | exact hN.self_of_nhds j (Nat.le_of_not_gt (by simpa only [Finset.mem_range] using hj)) |
| 76 | 76 | |
| 77 | -/-- The family of supports is locally finite on every domain on which `q` | |
| 78 | -is continuous and positive. -/ | |
| 79 | -theorem locallyFinite_cutStage_support {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) | |
| 80 | - {q : X → ℝ} (hq : Continuous q) (hqpos : ∀ x, 0 < q x) | |
| 81 | - (A : ℕ → X → V) : LocallyFinite (fun j => support (cutStage a q A j)) := by | |
| 82 | - intro x | |
| 83 | - obtain ⟨N, hN⟩ := eventually_zero_tail ha hq.continuousAt (hqpos x) A | |
| 84 | - refine ⟨{y | ∀ j : ℕ, N ≤ j → cutStage a q A j y = 0}, hN, ?_⟩ | |
| 85 | - apply (Finset.range N).finite_toSet.subset | |
| 86 | - intro j hj | |
| 87 | - rcases hj with ⟨y, hy, hzero⟩ | |
| 88 | - change j ∈ Finset.range N | |
| 89 | - apply Finset.mem_range.mpr | |
| 90 | - by_contra hlt | |
| 91 | - exact hy (hzero j (Nat.le_of_not_gt hlt)) | |
| 92 | - | |
| 93 | -theorem locallyFinite_cutStage_support_on {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) | |
| 94 | - {q : X → ℝ} {U : Set X} (hq : ContinuousOn q U) | |
| 95 | - (hqpos : ∀ x ∈ U, 0 < q x) (A : ℕ → X → V) : | |
| 96 | - LocallyFinite (fun j => support (fun x : U => cutStage a q A j x)) := by | |
| 97 | - exact locallyFinite_cutStage_support ha hq.domRestrict (fun x => hqpos x x.property) | |
| 98 | - (fun j x => A j x) | |
| 99 | - | |
| 100 | 77 | end Topological |
| 101 | 78 | |
| 102 | 79 | section Smooth |
| @@ -137,46 +114,6 @@ theorem iteratedFDeriv_eventuallyEq {f g : E → V} {x : E} | ||
| 137 | 114 | simpa only [nhdsWithin_univ, iteratedFDerivWithin_univ] using |
| 138 | 115 | h'.iteratedFDerivWithin (𝕜 := ℝ) k |
| 139 | 116 | |
| 140 | -theorem potentialSum_allJets_eventuallyEq_partial {a : ℕ → ℝ} | |
| 141 | - (ha : Tendsto a atTop atTop) {q : E → ℝ} {A : ℕ → E → V} {x : E} | |
| 142 | - (hq : ContinuousAt q x) (hqx : 0 < q x) : | |
| 143 | - ∃ N : ℕ, ∀ k : ℕ, | |
| 144 | - iteratedFDeriv ℝ k (potentialSum a q A) =ᶠ[𝓝 x] | |
| 145 | - iteratedFDeriv ℝ k (partialPotential a q A N) := by | |
| 146 | - obtain ⟨N, hN⟩ := potentialSum_eventuallyEq_partial ha hq hqx A | |
| 147 | - exact ⟨N, fun k => iteratedFDeriv_eventuallyEq hN k⟩ | |
| 148 | - | |
| 149 | -theorem iteratedFDeriv_partialPotential {a : ℕ → ℝ} {q : E → ℝ} | |
| 150 | - {A : ℕ → E → V} {x : E} (hq : ContDiffAt ℝ ∞ q x) | |
| 151 | - (hA : ∀ j, ContDiffAt ℝ ∞ (A j) x) (N k : ℕ) : | |
| 152 | - iteratedFDeriv ℝ k (partialPotential a q A N) x = | |
| 153 | - ∑ j ∈ Finset.range N, iteratedFDeriv ℝ k (cutStage a q A j) x := by | |
| 154 | - have hstage : ∀ j ∈ Finset.range N, | |
| 155 | - ContDiffWithinAt ℝ k (cutStage a q A j) univ x := by | |
| 156 | - intro j _ | |
| 157 | - exact ((cutStage_contDiffAt hq hA j).of_le | |
| 158 | - (by exact_mod_cast (le_top : (k : ℕ∞) ≤ ⊤))).contDiffWithinAt | |
| 159 | - unfold partialPotential | |
| 160 | - simpa only [iteratedFDerivWithin_univ] using | |
| 161 | - iteratedFDerivWithin_fun_sum_apply uniqueDiffOn_univ (mem_univ x) hstage | |
| 162 | - | |
| 163 | -/-- Every derivative is locally the finite sum of the corresponding stage | |
| 164 | -derivatives. The prefix length is independent of the derivative order. -/ | |
| 165 | -theorem potentialSum_allJets_eventuallyEq_sum {a : ℕ → ℝ} | |
| 166 | - (ha : Tendsto a atTop atTop) {q : E → ℝ} {A : ℕ → E → V} | |
| 167 | - {U : Set E} (hU : IsOpen U) (hqpos : ∀ x ∈ U, 0 < q x) | |
| 168 | - (hq : ContDiffOn ℝ ∞ q U) (hA : ∀ j, ContDiffOn ℝ ∞ (A j) U) | |
| 169 | - {x : E} (hx : x ∈ U) : | |
| 170 | - ∃ N : ℕ, ∀ k : ℕ, ∀ᶠ y in 𝓝 x, | |
| 171 | - iteratedFDeriv ℝ k (potentialSum a q A) y = | |
| 172 | - ∑ j ∈ Finset.range N, iteratedFDeriv ℝ k (cutStage a q A j) y := by | |
| 173 | - obtain ⟨N, hN⟩ := potentialSum_allJets_eventuallyEq_partial (A := A) ha | |
| 174 | - (hq.contDiffAt (hU.mem_nhds hx)).continuousAt (hqpos x hx) | |
| 175 | - refine ⟨N, fun k => ?_⟩ | |
| 176 | - filter_upwards [hN k, hU.mem_nhds hx] with y hy hyU | |
| 177 | - exact hy.trans (iteratedFDeriv_partialPotential (hq.contDiffAt (hU.mem_nhds hyU)) | |
| 178 | - (fun j => (hA j).contDiffAt (hU.mem_nhds hyU)) N k) | |
| 179 | - | |
| 180 | 117 | end Smooth |
| 181 | 118 | |
| 182 | 119 | section Spatial |
| @@ -205,31 +142,6 @@ theorem velocitySum_contDiffOn {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) | ||
| 205 | 142 | exact (velocitySum_contDiffAt ha (hqpos z hz) (hq.contDiffAt (hU.mem_nhds hz)) |
| 206 | 143 | (fun j => (hA j).contDiffAt (hU.mem_nhds hz))).contDiffWithinAt |
| 207 | 144 | |
| 208 | -/-- Incompressibility follows from actual second-derivative symmetry, already | |
| 209 | -proved in `SpatialCurl`, applied to the constructed smooth potential. -/ | |
| 210 | -theorem divergence_velocitySum {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) | |
| 211 | - {q : SpaceTime → ℝ} {A : ℕ → VelocityField} {z : SpaceTime} | |
| 212 | - (hqz : 0 < q z) (hq : ContDiffAt ℝ ∞ q z) | |
| 213 | - (hA : ∀ j, ContDiffAt ℝ ∞ (A j) z) : | |
| 214 | - spatialDivergence (velocitySum a q A) z.1 z.2 = 0 := by | |
| 215 | - have hsum : ContDiffAt ℝ ∞ (potentialSum a q A) z := | |
| 216 | - potentialSum_contDiffAt ha hqz hq hA | |
| 217 | - have hslice : ContDiffAt ℝ ∞ (fun y : Space => potentialSum a q A (z.1, y)) z.2 := | |
| 218 | - hsum.comp (f := fun y : Space => (z.1, y)) z.2 | |
| 219 | - (contDiffAt_const.prodMk contDiffAt_id) | |
| 220 | - have hslice2 : ContDiffAt ℝ 2 (fun y : Space => potentialSum a q A (z.1, y)) z.2 := | |
| 221 | - hslice.of_le (WithTop.coe_le_coe.mpr (show (2 : ℕ∞) ≤ ⊤ from le_top)) | |
| 222 | - exact SpatialCurl.spatialDivergence_spatialCurl (potentialSum a q A) z.1 z.2 hslice2 | |
| 223 | - | |
| 224 | -theorem divergence_velocitySum_on {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) | |
| 225 | - {q : SpaceTime → ℝ} {A : ℕ → VelocityField} {U : Set SpaceTime} | |
| 226 | - (hU : IsOpen U) (hqpos : ∀ z ∈ U, 0 < q z) (hq : ContDiffOn ℝ ∞ q U) | |
| 227 | - (hA : ∀ j, ContDiffOn ℝ ∞ (A j) U) : | |
| 228 | - ∀ z ∈ U, spatialDivergence (velocitySum a q A) z.1 z.2 = 0 := by | |
| 229 | - intro z hz | |
| 230 | - exact divergence_velocitySum ha (hqpos z hz) (hq.contDiffAt (hU.mem_nhds hz)) | |
| 231 | - (fun j => (hA j).contDiffAt (hU.mem_nhds hz)) | |
| 232 | - | |
| 233 | 145 | theorem spatialCurl_eq_of_eventuallyEq {A B : VelocityField} {z : SpaceTime} |
| 234 | 146 | (h : A =ᶠ[𝓝 z] B) : SpatialCurl.spatialCurl A z = SpatialCurl.spatialCurl B z := by |
| 235 | 147 | apply SpatialCurl.curl_eq_of_eventuallyEq |
+33 −0 routes/s1-ns-solenoidal-2/README.md added View file
| @@ -0,0 +1,33 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-solenoidal-2 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10), wave 2: the family `NavierStokes/Solenoidal*`, whose | |
| 8 | +only file is `NavierStokes/SolenoidalDiagonal.lean`. It deletes the seven declarations that | |
| 9 | +nothing uses, 88 lines in that one file, and changes nothing else: | |
| 10 | + | |
| 11 | +- `NavierStokes.SolenoidalDiagonal.locallyFinite_cutStage_support` | |
| 12 | +- `NavierStokes.SolenoidalDiagonal.locallyFinite_cutStage_support_on` | |
| 13 | +- `NavierStokes.SolenoidalDiagonal.potentialSum_allJets_eventuallyEq_partial` | |
| 14 | +- `NavierStokes.SolenoidalDiagonal.iteratedFDeriv_partialPotential` | |
| 15 | +- `NavierStokes.SolenoidalDiagonal.potentialSum_allJets_eventuallyEq_sum` | |
| 16 | +- `NavierStokes.SolenoidalDiagonal.divergence_velocitySum` | |
| 17 | +- `NavierStokes.SolenoidalDiagonal.divergence_velocitySum_on` | |
| 18 | + | |
| 19 | +The diff is deletions only: no statement and no proof that stays is changed. I read the diff: | |
| 20 | +after it, `git grep -n -w` over the whole tree finds no hit for any of the seven short names, and | |
| 21 | +none of the three deleted docstrings names the paper, a numbered Lemma, Theorem, Proposition, | |
| 22 | +Corollary, Section or Equation. The three docstrings are prose about what the deleted theorems | |
| 23 | +prove; `divergence_velocitySum`'s mentions only `SpatialCurl`. | |
| 24 | + | |
| 25 | +Treant (TitiSkywalker/NavierStokesAndEuler, the run of 2026-12-03 at upstream `f9e8bc5`) found | |
| 26 | +them unreachable from the four Comparator theorems; `docs/s1-dead-code/README.md` is the plan. | |
| 27 | +This wave was cut again on main at `4385cbe` under this project's keep rule. All seven have no | |
| 28 | +user left on main. Wave 1 of this family (`s1-ns-solenoidal-1`) deleted three others. | |
| 29 | + | |
| 30 | +## Next | |
| 31 | + | |
| 32 | +Push, open the pull request into `main`; the maintainer's review comes after `challenge` and | |
| 33 | +`build`. Nothing else is planned here. | |