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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #479 chore(NavierStokes/Slow): delete 3 declarations nothing uses
1 commit
+0 −4 NavierStokes/SlowRecursion.lean View file
| @@ -72,10 +72,6 @@ theorem AxisFunction.even {R : ℝ} {U : Set ℂ} (F : AxisFunction R U) | ||
| 72 | 72 | {r : ℝ} (hr : r ∈ Ioo (-R) R) {z : ℂ} (hz : z ∈ U) : F (-r, z) = F (r, z) := |
| 73 | 73 | F.2.even z hz r hr |
| 74 | 74 | |
| 75 | -theorem AxisFunction.real {R : ℝ} {U : Set ℂ} (F : AxisFunction R U) | |
| 76 | - {r : ℝ} (hr : r ∈ Ioo (-R) R) {eta : ℝ} (heta : (eta : ℂ) ∈ U) : | |
| 77 | - (F (r, (eta : ℂ))).im = 0 := F.2.real r hr eta heta | |
| 78 | - | |
| 79 | 75 | noncomputable def realConstant (R : ℝ) (U : Set ℂ) (c : ℝ) : AxisFunction R U := |
| 80 | 76 | algebraMap ℝ (AxisFunction R U) c |
| 81 | 77 | |
+0 −56 NavierStokes/SlowResidualMatching.lean View file
| @@ -782,33 +782,6 @@ theorem transportKernel_smoothAt (h e α : ℝ) (v u f : ℕ → InnerProfile) | ||
| 782 | 782 | ((contDiffAt_const.mul hf).div contDiffAt_fst hX))).add |
| 783 | 783 | (hu.mul (AxisSourceRegularity.Z_smooth h (e + slowOrder h j) hf hL)) |
| 784 | 784 | |
| 785 | -theorem transportTerm_smoothOn {O : Set InnerPoint} (hO : IsOpen O) | |
| 786 | - (N : ℕ) (h e α : ℝ) (v u f : ℕ → InnerProfile) | |
| 787 | - (hv : ∀ j ≤ N, ContDiffOn ℝ ∞ (v j) O) | |
| 788 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) | |
| 789 | - (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f j) O) | |
| 790 | - (hX : ∀ w ∈ O, w.1 ≠ 0) (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) | |
| 791 | - {i : TailIndex} (hi : i ∈ transportIndices N) : | |
| 792 | - ContDiffOn ℝ ∞ (transportTerm N h e α v u f i) O := by | |
| 793 | - intro w hw | |
| 794 | - apply ContDiffAt.contDiffWithinAt | |
| 795 | - cases i with | |
| 796 | - | none => | |
| 797 | - exact (AxisSourceRegularity.Z2_smooth h (e + slowOrder h N) | |
| 798 | - ((hf N le_rfl).contDiffAt (hO.mem_nhds hw)) (hL w hw)).neg | |
| 799 | - | some ij => | |
| 800 | - have hij := (mem_transportIndices_some N ij).mp hi | |
| 801 | - have hj : ij.2 ≤ N := by | |
| 802 | - have := (Finset.mem_product.mp hij.1).2 | |
| 803 | - exact Nat.le_of_lt_succ (Finset.mem_range.mp this) | |
| 804 | - have hi' : ij.1 ≤ N := by | |
| 805 | - have := (Finset.mem_product.mp hij.1).1 | |
| 806 | - exact Nat.le_of_lt_succ (Finset.mem_range.mp this) | |
| 807 | - exact transportKernel_smoothAt h e α v u f ij.1 ij.2 | |
| 808 | - ((hv ij.1 hi').contDiffAt (hO.mem_nhds hw)) | |
| 809 | - ((hu ij.1 hi').contDiffAt (hO.mem_nhds hw)) | |
| 810 | - ((hf ij.2 hj).contDiffAt (hO.mem_nhds hw)) (hX w hw) (hL w hw) | |
| 811 | - | |
| 812 | 785 | theorem transportCoefficient_smoothAt (h e α m : ℝ) |
| 813 | 786 | (v u f source : ℕ → InnerProfile) (n : ℕ) {w : InnerPoint} |
| 814 | 787 | (hv : ∀ j ≤ n, ContDiffAt ℝ ∞ (v j) w) |
| @@ -909,35 +882,6 @@ theorem pressurePower_lower {h : ℝ} (hh : 0 ≤ h) (N : ℕ) | ||
| 909 | 882 | | some ij => |
| 910 | 883 | exact add_le_add_right (slowOrder_mono hh ((mem_transportIndices_some N ij).mp hi').2) _ |
| 911 | 884 | |
| 912 | -theorem pressureTerm_smoothOn {O : Set InnerPoint} (hO : IsOpen O) | |
| 913 | - (N : ℕ) (h C : ℝ) (f : SlowProfiles) | |
| 914 | - (hv : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.flux j) O) | |
| 915 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.axial j) O) | |
| 916 | - (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f.phi j) O) | |
| 917 | - (hX : ∀ w ∈ O, w.1 ≠ 0) (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) | |
| 918 | - {i : PressureIndex} (hi : i ∈ pressureIndices N) : | |
| 919 | - ContDiffOn ℝ ∞ (pressureTerm N h C f i) O := by | |
| 920 | - cases i with | |
| 921 | - | inl i => | |
| 922 | - have hi' : i ∈ transportIndices N := by simpa [pressureIndices] using hi | |
| 923 | - exact transportTerm_smoothOn hO N h 0 (-(1/2)) f.flux f.axial f.flux hv hu hv hX hL hi' | |
| 924 | - | inr i => | |
| 925 | - have hi' : i ∈ transportIndices N := by simpa [pressureIndices] using hi | |
| 926 | - cases i with | |
| 927 | - | none => | |
| 928 | - intro w hw | |
| 929 | - exact (transportCoefficient_smoothAt h 0 (-(1/2)) 0 f.flux f.axial f.flux (fun _ _ => 0) N | |
| 930 | - (fun j hj => (hv j hj).contDiffAt (hO.mem_nhds hw)) | |
| 931 | - (fun j hj => (hu j hj).contDiffAt (hO.mem_nhds hw)) | |
| 932 | - (fun j hj => (hv j hj).contDiffAt (hO.mem_nhds hw)) | |
| 933 | - contDiffAt_const (hX w hw) (hL w hw)).contDiffWithinAt | |
| 934 | - | some ij => | |
| 935 | - have hij := (mem_transportIndices_some N ij).mp hi' | |
| 936 | - have hiN : ij.1 ≤ N := Nat.le_of_lt_succ (Finset.mem_range.mp (Finset.mem_product.mp hij.1).1) | |
| 937 | - have hjN : ij.2 ≤ N := Nat.le_of_lt_succ (Finset.mem_range.mp (Finset.mem_product.mp hij.1).2) | |
| 938 | - exact (((contDiffOn_const.mul contDiffOn_fst).mul contDiffOn_const).neg).mul | |
| 939 | - ((hf ij.1 hiN).mul (hf ij.2 hjN)) | |
| 940 | - | |
| 941 | 885 | /-- Division by the physical radial energy is converted to a single q |
| 942 | 886 | power and an ordinary smooth inner coefficient away from X=0. -/ |
| 943 | 887 | theorem radialTail_eq_finite_monomials {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
+32 −0 routes/s1-ns-slow-6/README.md added View file
| @@ -0,0 +1,32 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-slow-6 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1, "Delete declarations that nothing uses"), the family | |
| 8 | +`NavierStokes/Slow*`: `SlowRecursion.lean` and `SlowResidualMatching.lean`. I delete three | |
| 9 | +declarations that nothing uses — 60 lines in 2 files, deletions only; every statement and proof | |
| 10 | +that stays is unchanged: | |
| 11 | + | |
| 12 | +- `NavierStokes.SlowRecursion.AxisFunction.real` (`NavierStokes/SlowRecursion.lean`) | |
| 13 | +- `NavierStokes.SlowResidualMatching.transportTerm_smoothOn` (`NavierStokes/SlowResidualMatching.lean`) | |
| 14 | +- `NavierStokes.SlowResidualMatching.pressureTerm_smoothOn` (`NavierStokes/SlowResidualMatching.lean`) | |
| 15 | + | |
| 16 | +The cut is Treant's (`TitiSkywalker/NavierStokesAndEuler`, run of 2026-12-03, upstream `f9e8bc5`), | |
| 17 | +re-cut on main at `d956c7c` under this project's keep rule as the maintainer reads it; the plan is | |
| 18 | +`docs/s1-dead-code/README.md`. The only user the two smoothness theorems had was each other | |
| 19 | +(`pressureTerm_smoothOn` calls `transportTerm_smoothOn`), and both go here; `AxisFunction.real` | |
| 20 | +had none left. Nothing had to stay: none of the three carried a docstring, so none cites the | |
| 21 | +paper, and `git grep -n -w` over the tree finds none of the short names left (`real` survives only | |
| 22 | +as the structure field of that name in `AxisFunction`, and its `F.2.real`/`F.real` uses). | |
| 23 | + | |
| 24 | +Checked in the tree this deletes from: the diff is deletions only; the deleted hunks contain no | |
| 25 | +docstring and so no numbered Lemma, Theorem, Proposition, Corollary, Section or Equation; | |
| 26 | +`python3 checks/challenge.py .` ends with `ok`. | |
| 27 | + | |
| 28 | +## Next | |
| 29 | + | |
| 30 | +The maintainer's reading and the `build` check, which says whether the tree compiles. If `build` | |
| 31 | +names one of the three as used by a declaration that stays, restore only that declaration from | |
| 32 | +`main` and leave the rest. The other families of #10 are other units. | |