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: #474 chore(NavierStokes/Linear): delete 5 declarations nothing uses
1 commit
+0 −38 NavierStokes/LinearWaveBounds.lean View file
| @@ -84,11 +84,6 @@ theorem constant_real_mul {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} | ||
| 84 | 84 | theorem band_epsilon (s : StripData D) : BandBound s 1 s.epsilon := by |
| 85 | 85 | simpa only [Real.rpow_one] using bandBound_rpow s 1 |
| 86 | 86 | |
| 87 | -theorem mean_unweighted {s : StripData D} {α : ℝ} {f : ℕ → D → E} | |
| 88 | - (hf : MeanClass s α f) (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) : | |
| 89 | - UnweightedClass s α f := | |
| 90 | - hf.mono_weight (fun _ _ _ => zero_le_one) (fun _ x hx => hζ x hx) | |
| 91 | - | |
| 92 | 87 | /-- Raw direction data. Its numerical and class hypotheses are separate. -/ |
| 93 | 88 | structure GraphDirections (D : Type*) [NormedAddCommGroup D] [NormedSpace ℝ D] where |
| 94 | 89 | radial : D |
| @@ -645,23 +640,6 @@ theorem harmonicResidual_eq {s : StripData D} {P : ℕ → D → ℝ} {α κ : | ||
| 645 | 640 | (((h.pressure.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp)) |
| 646 | 641 | (hg.pressure_angular n x hx) hx |
| 647 | 642 | |
| 648 | -/-- The correction used in the estimates is realized by an actual curl. -/ | |
| 649 | -theorem curlPotential_realizes {s : StripData D} {P : ℕ → D → ℝ} {α κ : ℝ} | |
| 650 | - {d : GraphDirections D} {a : WaveCoefficients D} | |
| 651 | - (h : InputBounds s P α κ d a) (n : ℕ) | |
| 652 | - (G : CurlClassBounds.CylindricalGeometry s.domain (a.radius n) (d.radialField n) | |
| 653 | - (fun _ => d.angular) (d.axialField s n)) | |
| 654 | - (hK : a.frequency n ≠ 0) (hΦ : ContDiffOn ℝ ∞ (a.phase n) s.domain) | |
| 655 | - (hn : ∀ x ∈ s.domain, a.normal s d n x ≠ 0) | |
| 656 | - (ht : ∀ x ∈ s.domain, normalDot (a.normal s d n x) (a.amplitude n x) = 0) | |
| 657 | - {x : D} (hx : x ∈ s.domain) : | |
| 658 | - CurlClassBounds.cylindricalCurl (a.radius n) (d.radialField n) (fun _ => d.angular) | |
| 659 | - (d.axialField s n) (a.curlPotential s d n) x = | |
| 660 | - vectorMode (a.frequency n) (a.phase n) | |
| 661 | - ((a.addAmplitude (a.curlCorrection s d)).amplitude n) x := by | |
| 662 | - exact CurlClassBounds.cylindricalCurl_vectorPotential G hK hΦ | |
| 663 | - ((component_classes h.amplitude).smooth n) hn ht hx | |
| 664 | - | |
| 665 | 643 | theorem curlCorrection_divergence {s : StripData D} {P : ℕ → D → ℝ} {α κ : ℝ} |
| 666 | 644 | {d : GraphDirections D} {a : WaveCoefficients D} |
| 667 | 645 | (h : InputBounds s P α κ d a) (n : ℕ) |
| @@ -690,22 +668,6 @@ theorem cutoff_tangent {s : StripData D} {d : GraphDirections D} {a : WaveCoeffi | ||
| 690 | 668 | ring |
| 691 | 669 | _ = 0 := by rw [ht x hx, mul_zero] |
| 692 | 670 | |
| 693 | -/-- Under the nondegeneracy and tangency hypotheses, the actual cutoff | |
| 694 | -potential realizes the same corrected velocity whose residual is estimated. -/ | |
| 695 | -theorem corrected_realizes_curl {s : StripData D} {P : ℕ → D → ℝ} {α κ : ℝ} | |
| 696 | - {d : GraphDirections D} {a : WaveCoefficients D} | |
| 697 | - (h : InputBounds s P α κ d a) {ψ : ℕ → D → ℝ} (hψ : UnweightedClass s 0 ψ) (n : ℕ) | |
| 698 | - (G : CurlClassBounds.CylindricalGeometry s.domain (a.radius n) (d.radialField n) | |
| 699 | - (fun _ => d.angular) (d.axialField s n)) | |
| 700 | - (hK : a.frequency n ≠ 0) (hΦ : ContDiffOn ℝ ∞ (a.phase n) s.domain) | |
| 701 | - (hn : ∀ x ∈ s.domain, a.normal s d n x ≠ 0) | |
| 702 | - (ht : ∀ x ∈ s.domain, normalDot (a.normal s d n x) (a.amplitude n x) = 0) | |
| 703 | - {x : D} (hx : x ∈ s.domain) : | |
| 704 | - CurlClassBounds.cylindricalCurl (a.radius n) (d.radialField n) (fun _ => d.angular) | |
| 705 | - (d.axialField s n) ((a.withCutoff ψ).curlPotential s d n) x = | |
| 706 | - vectorMode (a.frequency n) (a.phase n) ((a.corrected s d ψ).amplitude n) x := | |
| 707 | - curlPotential_realizes (h.with_cutoff hψ) n G hK hΦ hn (cutoff_tangent ψ n ht) hx | |
| 708 | - | |
| 709 | 671 | theorem corrected_divergence {s : StripData D} {P : ℕ → D → ℝ} {α κ : ℝ} |
| 710 | 672 | {d : GraphDirections D} {a : WaveCoefficients D} |
| 711 | 673 | (h : InputBounds s P α κ d a) {ψ : ℕ → D → ℝ} (hψ : UnweightedClass s 0 ψ) (n : ℕ) |
+0 −11 NavierStokes/LinearWaveResidual.lean View file
| @@ -278,17 +278,6 @@ theorem materialPhaseDefect_slot_formula (ε p pz x₀ : ℝ) | ||
| 278 | 278 | rw [materialPhaseDefect_slot ε p pz x₀ b F G q (ne_of_gt hR)] |
| 279 | 279 | exact PhaseCalculus.backwardMaterialOp_phase ε p pz x₀ b F G q hε hR hF hG |
| 280 | 280 | |
| 281 | -/-- Numerator in the pressure from the projected equation. The derivative | |
| 282 | -of `n` is the actual derivative in the fast direction. -/ | |
| 283 | -noncomputable def projectionNumerator (Vf : E → E) (n : E → EuclideanSpace ℝ (Fin 3)) | |
| 284 | - (a Ka f : E → ComplexVector) (x : E) : ℂ := | |
| 285 | - normalDot (n x) (Ka x) - normalDot (along Vf n x) (a x) + normalDot (n x) (f x) | |
| 286 | - | |
| 287 | -noncomputable def projectedPressure (κ : ℝ) (Vf : E → E) | |
| 288 | - (n : E → EuclideanSpace ℝ (Fin 3)) (a Ka f : E → ComplexVector) (x : E) : ℂ := | |
| 289 | - (Complex.I / (κ : ℂ)) * projectionNumerator Vf n a Ka f x / | |
| 290 | - Complex.ofReal (‖n x‖ ^ 2) | |
| 291 | - | |
| 292 | 281 | /-! ## Real-linear transfer of the complex calculation -/ |
| 293 | 282 | |
| 294 | 283 | section LinearMaps |
+29 −0 routes/s1-ns-linear-6/README.md added View file
| @@ -0,0 +1,29 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-linear-6 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1, delete declarations that nothing uses), wave 6: the family | |
| 8 | +`NavierStokes/Linear*`, in `NavierStokes/LinearWaveBounds.lean` and | |
| 9 | +`NavierStokes/LinearWaveResidual.lean`. It deletes 5 declarations that nothing uses, | |
| 10 | +49 lines in 2 files, deletions only: | |
| 11 | + | |
| 12 | +- `NavierStokes.LinearWaveBounds.mean_unweighted` | |
| 13 | +- `NavierStokes.LinearWaveBounds.curlPotential_realizes` | |
| 14 | +- `NavierStokes.LinearWaveBounds.corrected_realizes_curl` | |
| 15 | +- `NavierStokes.LinearWaveResidual.projectionNumerator` | |
| 16 | +- `NavierStokes.LinearWaveResidual.projectedPressure` | |
| 17 | + | |
| 18 | +The list was cut from Treant's run of 2026-12-03 and kept after the declaration graph of | |
| 19 | +main was read under this project's rule: a declaration that Treant deleted stays when a | |
| 20 | +paper result reaches it, when its docstring cites the paper, or when a declaration that | |
| 21 | +stays names it. `git grep -n -w` over the tree after this change finds none of the five | |
| 22 | +short names except `projectedPressure`, whose hits are the different declaration | |
| 23 | +`ParticularWaveBounds.projectedPressure`; no deleted docstring cites a numbered result of | |
| 24 | +the paper. `python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build | |
| 25 | +configuration as approved; …`. | |
| 26 | + | |
| 27 | +## Next | |
| 28 | + | |
| 29 | +Nothing for this unit. `build` judges the change; do not wait for it. | |