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/Current): delete 6 declarations nothing uses #436
Open
+0 −11 NavierStokes/CurrentParticularLabelBounds.lean View file
| @@ -313,17 +313,6 @@ theorem current_modes_contDiffAt (l : Label B N0) (j : ℤ) (hj : j ≠ 0) (n : | ||
| 313 | 313 | (PhysicalWaveSum.chooseChart ‖PhysicalGraphBounds.radialProjection w‖ |
| 314 | 314 | (PhysicalGraphBounds.radialProjection w)) hc hm |
| 315 | 315 | |
| 316 | -theorem current_modes_contDiffOn (l : Label B N0) (j : ℤ) (hj : j ≠ 0) (n : ℕ) : | |
| 317 | - ContDiffOn ℝ ∞ (ActualCurrentParticularPhysical.localPotentialMode | |
| 318 | - (ActualCycleParameters.particularState x) l j n) (ValidDyadicBandCover.band h n) ∧ | |
| 319 | - ContDiffOn ℝ ∞ (ActualCurrentParticularPhysical.localPressureMode | |
| 320 | - (ActualCycleParameters.particularState x) l j n) (ValidDyadicBandCover.band h n) := by | |
| 321 | - constructor | |
| 322 | - · intro w hw | |
| 323 | - exact (current_modes_contDiffAt H hN l j hj n hw).1.contDiffWithinAt | |
| 324 | - · intro w hw | |
| 325 | - exact (current_modes_contDiffAt H hN l j hj n hw).2.contDiffWithinAt | |
| 326 | - | |
| 327 | 316 | omit H hN in |
| 328 | 317 | private theorem nat_le_infty (m : ℕ) : (m : WithTop ℕ∞) ≤ ∞ := |
| 329 | 318 | ENat.natCast_le_of_coe_top_le_withTop le_rfl m |
+0 −64 NavierStokes/CurrentPhysicalRadialClosure.lean View file
| @@ -16,10 +16,6 @@ open ProblemStatement PhysicalWaveSum ActualCurrentWaveSupport | ||
| 16 | 16 | def radialScale (w : SpaceTime) (c : ℝ) : SpaceTime := |
| 17 | 17 | (w.1, c • w.2 + ((1 - c) * w.2 2) • EuclideanSpace.single 2 1) |
| 18 | 18 | |
| 19 | -theorem radialScale_continuous (w : SpaceTime) : Continuous (radialScale w) := by | |
| 20 | - exact continuous_const.prodMk ((continuous_id.smul continuous_const).add | |
| 21 | - (((continuous_const.sub continuous_id).mul continuous_const).smul continuous_const)) | |
| 22 | - | |
| 23 | 19 | @[simp] theorem radialScale_one (w : SpaceTime) : radialScale w 1 = w := by |
| 24 | 20 | simp [radialScale] |
| 25 | 21 | |
| @@ -36,64 +32,4 @@ theorem radialScale_continuous (w : SpaceTime) : Continuous (radialScale w) := b | ||
| 36 | 32 | simp only [physicalQ, SimilarityProfile.q, AxisymmetricFields.profilePoint, |
| 37 | 33 | radialScale_time, radialScale_axial] |
| 38 | 34 | |
| 39 | -theorem radialScale_projection (w : SpaceTime) (c : ℝ) : | |
| 40 | - PhysicalGraphBounds.radialProjection (radialScale w c) = | |
| 41 | - c • PhysicalGraphBounds.radialProjection w := by | |
| 42 | - ext <;> simp [PhysicalGraphBounds.radialProjection_apply, radialScale] | |
| 43 | - | |
| 44 | -theorem radialScale_radius (h : ℝ) (w : SpaceTime) {c : ℝ} (hc : 0 < c) : | |
| 45 | - profileRadius h (radialScale w c) = c * profileRadius h w := by | |
| 46 | - simp only [profileRadius, AnnularEndpoint.radius, radialScale_projection, | |
| 47 | - PolarCharts.radius_smul hc, radialScale_q] | |
| 48 | - ring | |
| 49 | - | |
| 50 | -/-- Every closed-annulus point is a limit of strict-annulus points in its | |
| 51 | -same physical-scale fiber, hence in the same open dyadic band. -/ | |
| 52 | -theorem closed_mem_closure_fiber {h a b : ℝ} (ha : 0 < a) (hab : a < b) | |
| 53 | - {n : ℕ} {w : SpaceTime} (hw : w ∈ ValidDyadicBandCover.band h n) | |
| 54 | - (hr : profileRadius h w ∈ Icc a b) : | |
| 55 | - w ∈ closure {y : SpaceTime | y ∈ ValidDyadicBandCover.band h n ∧ | |
| 56 | - physicalQ h y = physicalQ h w ∧ profileRadius h y ∈ Ioo a b} := by | |
| 57 | - have hR : 0 < profileRadius h w := ha.trans_le hr.1 | |
| 58 | - let g : ℝ → SpaceTime := fun r => radialScale w (r / profileRadius h w) | |
| 59 | - have hg : Continuous g := (radialScale_continuous w).comp | |
| 60 | - (continuous_id.div_const _) | |
| 61 | - have he : g (profileRadius h w) = w := by | |
| 62 | - simp only [g, div_self hR.ne', radialScale_one] | |
| 63 | - have hmap : MapsTo g (Ioo a b) {y : SpaceTime | | |
| 64 | - y ∈ ValidDyadicBandCover.band h n ∧ physicalQ h y = physicalQ h w ∧ | |
| 65 | - profileRadius h y ∈ Ioo a b} := by | |
| 66 | - intro r hrr | |
| 67 | - have hc : 0 < r / profileRadius h w := div_pos (ha.trans hrr.1) hR | |
| 68 | - have hband : g r ∈ ValidDyadicBandCover.band h n := by | |
| 69 | - simpa only [ValidDyadicBandCover.band, mem_ofPred_eq, preterminal, g, | |
| 70 | - radialScale_time, radialScale_q] using hw | |
| 71 | - refine ⟨hband, radialScale_q _ _ _, ?_⟩ | |
| 72 | - change profileRadius h (radialScale w (r / profileRadius h w)) ∈ Ioo a b | |
| 73 | - rwa [radialScale_radius h w hc, div_mul_cancel₀ _ hR.ne'] | |
| 74 | - have hcl : g (profileRadius h w) ∈ closure (g '' Ioo a b) := by | |
| 75 | - apply mem_closure_image hg.continuousAt | |
| 76 | - rw [closure_Ioo hab.ne] | |
| 77 | - exact hr | |
| 78 | - rw [he] at hcl | |
| 79 | - exact closure_mono hmap.image_subset hcl | |
| 80 | - | |
| 81 | -/-- A bound depending arbitrarily on the physical scale extends to both | |
| 82 | -annulus edges. No continuity assumption on the scale bound is needed. -/ | |
| 83 | -theorem jet_bound_on_closed {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 84 | - {h a b : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) | |
| 85 | - {n : ℕ} {f : SpaceTime → E} | |
| 86 | - (hf : ContDiffOn ℝ ∞ f (ValidDyadicBandCover.band h n)) | |
| 87 | - (m : ℕ) (bound : ℝ → ℝ) {qcap : ℝ} | |
| 88 | - (hb : ∀ y ∈ ValidDyadicBandCover.band h n, physicalQ h y ≤ qcap → | |
| 89 | - profileRadius h y ∈ Ioo a b → ‖iteratedFDeriv ℝ m f y‖ ≤ bound (physicalQ h y)) | |
| 90 | - {w : SpaceTime} (hw : w ∈ ValidDyadicBandCover.band h n) | |
| 91 | - (hq : physicalQ h w ≤ qcap) (hr : profileRadius h w ∈ Icc a b) : | |
| 92 | - ‖iteratedFDeriv ℝ m f w‖ ≤ bound (physicalQ h w) := by | |
| 93 | - apply LocalPhysicalCopyBounds.jet_bound_at_closure | |
| 94 | - (hf.contDiffAt ((ValidDyadicBandCover.band_open hh hh1 n).mem_nhds hw)) | |
| 95 | - (closed_mem_closure_fiber ha hab hw hr) m | |
| 96 | - intro y hy | |
| 97 | - simpa only [hy.2.1] using hb y hy.1 (hy.2.1 ▸ hq) hy.2.2 | |
| 98 | - | |
| 99 | 35 | end NavierStokes.CurrentPhysicalRadialClosure |
+44 −0 routes/s1-ns-current-3/README.md added View file
| @@ -0,0 +1,44 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-current-3 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Current*`, | |
| 8 | +wave 3: delete 6 declarations nothing in the tree uses, 75 lines in 2 files. The diff is deletions | |
| 9 | +only; no statement or proof that stays is changed. | |
| 10 | + | |
| 11 | +- `NavierStokes.CurrentParticularLabelBounds.current_modes_contDiffOn` | |
| 12 | + (`NavierStokes/CurrentParticularLabelBounds.lean`, 10 lines) | |
| 13 | +- `NavierStokes.CurrentPhysicalRadialClosure.radialScale_continuous` | |
| 14 | + (`NavierStokes/CurrentPhysicalRadialClosure.lean`, 4 lines) | |
| 15 | +- `NavierStokes.CurrentPhysicalRadialClosure.radialScale_projection` (4 lines) | |
| 16 | +- `NavierStokes.CurrentPhysicalRadialClosure.radialScale_radius` (5 lines) | |
| 17 | +- `NavierStokes.CurrentPhysicalRadialClosure.closed_mem_closure_fiber` (30 lines) | |
| 18 | +- `NavierStokes.CurrentPhysicalRadialClosure.jet_bound_on_closed` (17 lines) | |
| 19 | + | |
| 20 | +The unit was cut from Treant's run of 2026-12-03 (`TitiSkywalker/NavierStokesAndEuler`) and re-read | |
| 21 | +against this project's rule that the paper's results stay: none of the 6 is reached from | |
| 22 | +`NavierStokes/PaperResults.lean` or the Comparator theorems, none of the deleted docstrings cites the | |
| 23 | +paper with a numbered Lemma, Theorem, Proposition, Corollary, Section or Equation | |
| 24 | +(`closed_mem_closure_fiber` and `jet_bound_on_closed` carry only prose docstrings), and no declaration | |
| 25 | +that stays names one. Cut from main at `cc5dcb6`. | |
| 26 | + | |
| 27 | +Checked on this branch: `git grep -n -w` over the whole tree finds no occurrence of any of the six | |
| 28 | +short names (`current_modes_contDiffOn`, `radialScale_continuous`, `radialScale_projection`, | |
| 29 | +`radialScale_radius`, `closed_mem_closure_fiber`, `jet_bound_on_closed`). The two inner lemmas | |
| 30 | +`radialScale_radius` and `closed_mem_closure_fiber` are used only by the deleted | |
| 31 | +`closed_mem_closure_fiber`/`jet_bound_on_closed`, which leave in the same change; | |
| 32 | +`radialScale_continuous` is used only by `closed_mem_closure_fiber`. `radialScale_one`, | |
| 33 | +`radialScale_time`, `radialScale_axial` and `radialScale_q` stay, as does `current_modes_contDiffAt` | |
| 34 | +(which the deleted `current_modes_contDiffOn` wrapped). | |
| 35 | + | |
| 36 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as | |
| 37 | +approved; …`. | |
| 38 | + | |
| 39 | +## Next | |
| 40 | + | |
| 41 | +Nothing left in this unit. The next unit of #10 is another free family in | |
| 42 | +`docs/s1-dead-code/units.md` that has no route note yet: cut from main and re-read its names with | |
| 43 | +`git grep -n -w -- '*.lean'` before deleting, since the declaration graph moves as the other | |
| 44 | +families land. | |