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/Release): delete 8 declarations nothing uses #248
Merged
+0 −70 NavierStokes/ReleaseMoments.lean View file
| @@ -68,9 +68,6 @@ namespace ResetWitness | ||
| 68 | 68 | |
| 69 | 69 | variable {d : TailData} {K : ℝ} (w : UniformAngularReset.ResetWitness d K) |
| 70 | 70 | |
| 71 | -theorem history_contDiff_y (eta : ℝ) : ContDiff ℝ ∞ (history d w.coefficients eta) := | |
| 72 | - contDiff_const.add (primitive_contDiff (correctedWeight_contDiff d w.coefficients w.smooth eta)) | |
| 73 | - | |
| 74 | 71 | theorem history_hasDerivAt (eta y : ℝ) : |
| 75 | 72 | HasDerivAt (history d w.coefficients eta) (correctedWeight d w.coefficients eta y) y := |
| 76 | 73 | (primitive_hasDerivAt (correctedWeight_contDiff d w.coefficients w.smooth eta).continuous y).const_add _ |
| @@ -112,14 +109,6 @@ theorem history_eta_independent (eta eta' : ℝ) {y : ℝ} (hy : d.releaseStart | ||
| 112 | 109 | rw [history_at_release w eta'] at hi' |
| 113 | 110 | linarith |
| 114 | 111 | |
| 115 | -theorem history_contDiff_eta {y : ℝ} (hy : d.releaseStart ≤ y) : | |
| 116 | - ContDiff ℝ ∞ (fun eta => history d w.coefficients eta y) := by | |
| 117 | - have he : (fun eta => history d w.coefficients eta y) = | |
| 118 | - fun _ : ℝ => history d w.coefficients 0 y := | |
| 119 | - funext (fun eta => history_eta_independent w eta 0 hy) | |
| 120 | - rw [he] | |
| 121 | - exact contDiff_const | |
| 122 | - | |
| 123 | 112 | theorem history_deriv_eta_zero {y : ℝ} (hy : d.releaseStart ≤ y) (eta : ℝ) : |
| 124 | 113 | deriv (fun p => history d w.coefficients p y) eta = 0 := by |
| 125 | 114 | have he : (fun p => history d w.coefficients p y) = |
| @@ -293,15 +282,6 @@ namespace ResetWitness | ||
| 293 | 282 | |
| 294 | 283 | variable {d : TailData} {K : ℝ} (w : UniformAngularReset.ResetWitness d K) |
| 295 | 284 | |
| 296 | -theorem normalizedLag_hasDerivAt (eta : ℝ) {y : ℝ} (hy : d.releaseStart ≤ y) : | |
| 297 | - HasDerivAt (normalizedLag d w.coefficients eta) | |
| 298 | - (-profileSlope d y - d.h - (1 + profileSlope d y) * normalizedLag d w.coefficients eta y) y := by | |
| 299 | - have hp := (((history_hasDerivAt_release w eta hy).const_mul (1 - d.h)).div | |
| 300 | - (releaseWeight_hasDerivAt d hy) (releaseWeight_pos d y).ne').sub_const 1 | |
| 301 | - convert! hp using 1 | |
| 302 | - unfold normalizedLag | |
| 303 | - field_simp [(releaseWeight_pos d y).ne'] ; ring | |
| 304 | - | |
| 305 | 285 | theorem normalizedLag_eq_of_history (eta : ℝ) (q : ℝ → ℝ) (y : ℝ) |
| 306 | 286 | (heq : history d w.coefficients eta y = momentCandidate d q y) : |
| 307 | 287 | normalizedLag d w.coefficients eta y = q y := by |
| @@ -324,17 +304,6 @@ theorem normalizedLag_tail (eta : ℝ) {y : ℝ} (hy : tailStart d ≤ y) : | ||
| 324 | 304 | normalizedLag d w.coefficients eta y = tailLag d (y - tailStart d) := |
| 325 | 305 | normalizedLag_eq_of_history w eta _ y (history_tail w eta hy) |
| 326 | 306 | |
| 327 | -theorem normalizedLag_initial (eta : ℝ) : | |
| 328 | - normalizedLag d w.coefficients eta d.releaseStart = initialLag d := by | |
| 329 | - rw [normalizedLag_release w eta le_rfl (by linarith [d.rampEnd_pos]), | |
| 330 | - sub_self, releaseLag_initial] | |
| 331 | - | |
| 332 | -theorem normalizedLag_eventual_zero (eta : ℝ) {y : ℝ} (hy : tailEnd d ≤ y) : | |
| 333 | - normalizedLag d w.coefficients eta y = 0 := by | |
| 334 | - have ht : tailStart d ≤ y := by dsimp [tailEnd] at hy; linarith | |
| 335 | - rw [normalizedLag_tail w eta ht] | |
| 336 | - exact tailLag_zero_late d (by dsimp [tailEnd] at hy; linarith) | |
| 337 | - | |
| 338 | 307 | end ResetWitness |
| 339 | 308 | |
| 340 | 309 | noncomputable def powerWeight (d : TailData) (y : ℝ) : ℝ := |
| @@ -468,26 +437,6 @@ theorem radial_history_eq (eta : ℝ) {y : ℝ} (hy : 0 ≤ y) : | ||
| 468 | 437 | simp_rw [radialH_comp_exp] |
| 469 | 438 | rw [integral_const_mul, ← history_eq_integral w eta hy] |
| 470 | 439 | |
| 471 | -theorem radial_history_eta_independent (eta eta' : ℝ) {X : ℝ} (hX : 0 < X) | |
| 472 | - (hrel : d.releaseStart ≤ Real.log X) : | |
| 473 | - (∫ u in Ioc 0 X, radialH d w.coefficients eta u) = | |
| 474 | - ∫ u in Ioc 0 X, radialH d w.coefficients eta' u := by | |
| 475 | - have hy0 : 0 ≤ Real.log X := | |
| 476 | - (flattenEnd_pos d).le.trans ((releaseStart_gt_flattenEnd d).le.trans hrel) | |
| 477 | - have hi := radial_history_eq w eta hy0 | |
| 478 | - have hi' := radial_history_eq w eta' hy0 | |
| 479 | - rw [Real.exp_log hX] at hi hi' | |
| 480 | - rw [hi, hi', history_eta_independent w eta eta' hrel] | |
| 481 | - | |
| 482 | -theorem radial_history_contDiff_eta {X : ℝ} (hX : 0 < X) | |
| 483 | - (hrel : d.releaseStart ≤ Real.log X) : | |
| 484 | - ContDiff ℝ ∞ (fun eta => ∫ u in Ioc 0 X, radialH d w.coefficients eta u) := by | |
| 485 | - have he : (fun eta => ∫ u in Ioc 0 X, radialH d w.coefficients eta u) = | |
| 486 | - fun _ : ℝ => ∫ u in Ioc 0 X, radialH d w.coefficients 0 u := | |
| 487 | - funext (fun eta => radial_history_eta_independent w eta 0 hX hrel) | |
| 488 | - rw [he] | |
| 489 | - exact contDiff_const | |
| 490 | - | |
| 491 | 440 | /-- The eventual physical history, in the manuscript's `X` coordinate. -/ |
| 492 | 441 | theorem radial_history_eventual (eta : ℝ) {X : ℝ} (hX : 0 < X) |
| 493 | 442 | (hfar : tailEnd d ≤ Real.log X) : |
| @@ -526,23 +475,4 @@ theorem renormalized_angular_moment (eta : ℝ) : | ||
| 526 | 475 | |
| 527 | 476 | end ResetWitness |
| 528 | 477 | |
| 529 | -/-- The actual scheduled correction has the exact renormalized angular | |
| 530 | -moment and eventual physical history for a common small-`lam` threshold. -/ | |
| 531 | -theorem complete_release_moments : | |
| 532 | - ∃ lam0 : ℝ, 0 < lam0 ∧ ∀ d : TailData, d.core.lam < lam0 → | |
| 533 | - ∃ c : ℝ → Coeff, ContDiff ℝ ∞ (correctedAngular d c) ∧ | |
| 534 | - ∀ eta : ℝ, | |
| 535 | - IntegrableOn (fun X => radialH d c eta X - radialPowerH d X) (Ioi 0) ∧ | |
| 536 | - (∫ X in Ioi 0, radialH d c eta X - radialPowerH d X) = 0 ∧ | |
| 537 | - ∀ X : ℝ, 0 < X → tailEnd d ≤ Real.log X → | |
| 538 | - (∫ u in Ioc 0 X, radialH d c eta u) = X * radialH d c eta X / (1 - d.h) := by | |
| 539 | - obtain ⟨lam0, K, hlam0, _, hreset⟩ := exists_scheduled_reset | |
| 540 | - refine ⟨lam0, hlam0, ?_⟩ | |
| 541 | - intro d hd | |
| 542 | - obtain ⟨w⟩ := hreset d hd | |
| 543 | - exact ⟨w.coefficients, correctedAngular_contDiff d w.coefficients w.smooth, | |
| 544 | - fun eta => ⟨ResetWitness.renormalized_radial_integrable w eta, | |
| 545 | - ResetWitness.renormalized_angular_moment w eta, | |
| 546 | - fun _ hX hfar => ResetWitness.radial_history_eventual w eta hX hfar⟩⟩ | |
| 547 | - | |
| 548 | 478 | end NavierStokes.ReleaseMoments |
+25 −0 routes/s1-ns-release-1/README.md added View file
| @@ -0,0 +1,25 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-release-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10): the declarations family `NavierStokes/Release*`, in | |
| 8 | +`NavierStokes/ReleaseMoments.lean`. It deletes 8 declarations (70 lines) that nothing | |
| 9 | +on main uses and that no paper result reaches, no docstring ties to the paper, and no | |
| 10 | +declaration that stays names: | |
| 11 | + | |
| 12 | +- `ResetWitness.history_contDiff_y` | |
| 13 | +- `ResetWitness.history_contDiff_eta` | |
| 14 | +- `ResetWitness.normalizedLag_hasDerivAt` | |
| 15 | +- `ResetWitness.normalizedLag_initial` | |
| 16 | +- `ResetWitness.normalizedLag_eventual_zero` | |
| 17 | +- `ResetWitness.radial_history_eta_independent` | |
| 18 | +- `ResetWitness.radial_history_contDiff_eta` | |
| 19 | +- `complete_release_moments` | |
| 20 | + | |
| 21 | +The diff is deletions only. `python3 checks/challenge.py .` ends with `ok`. | |
| 22 | + | |
| 23 | +## Next | |
| 24 | + | |
| 25 | +Open the pull request into main and let `build` decide. | |