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

| 1 | import NavierStokes.GluedStageEstimates |
| 2 | import NavierStokes.SharpPhysicalLogBounds |
| 3 | |
| 4 | noncomputable section |
| 5 | |
| 6 | namespace NavierStokes.SharpParticularGluing |
| 7 | |
| 8 | open Set Function Filter ProblemStatement PhysicalWaveSum SharpGluedStageBounds |
| 9 | open CorrectionInitialization.ActualPrimary CorrectionStep |
| 10 | open scoped Topology ContDiff BigOperators |
| 11 | |
| 12 | private theorem choose_mode_constants {P : ℤ → ℝ → ℕ → Prop} |
| 13 | (hP : ∀ k, k ≠ 0 → ∃ C : ℝ, 0 ≤ C ∧ ∃ N : ℕ, P k C N) : |
| 14 | ∃ C : ℤ → ℝ, (∀ k, 0 ≤ C k) ∧ ∃ N : ℤ → ℕ, ∀ k, k ≠ 0 → P k (C k) (N k) := by |
| 15 | classical |
| 16 | have hs (k : ℤ) : ∃ C : ℝ, 0 ≤ C ∧ ∃ N : ℕ, k ≠ 0 → P k C N := by |
| 17 | by_cases hk : k = 0 |
| 18 | · exact ⟨0,le_rfl,0,fun hn => (hn hk).elim⟩ |
| 19 | · obtain ⟨C,hC,N,hb⟩ := hP k hk |
| 20 | exact ⟨C,hC,N,fun _ => hb⟩ |
| 21 | choose C hC N hb using hs |
| 22 | exact ⟨C,hC,N,hb⟩ |
| 23 | |
| 24 | section HarmonicSums |
| 25 | |
| 26 | variable {B N0 : ℕ} {σ : ℝ} {x : CycleState (ActualInitialization.Index B N0)} |
| 27 | (H : ActualParticularCycleData.Invariant σ x) |
| 28 | (hGeom : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 29 | |
| 30 | include H hGeom |
| 31 | |
| 32 | end HarmonicSums |
| 33 | |
| 34 | end NavierStokes.SharpParticularGluing |