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.SharpPhysicalLogBounds |
| 2 | import NavierStokes.MixedFiniteBackground |
| 3 | |
| 4 | noncomputable section |
| 5 | |
| 6 | namespace NavierStokes.WholeDomainStageBounds |
| 7 | |
| 8 | open Set Function Filter ProblemStatement PhysicalWaveSum SharpGluedStageBounds |
| 9 | open scoped Topology ContDiff BigOperators |
| 10 | |
| 11 | /-- The loss is selected before the length of the finite prefix. -/ |
| 12 | def prefixLoss (initial positive : ℕ → ℝ) (m : ℕ) : ℝ := max (initial m) (positive m) |
| 13 | |
| 14 | section Prefix |
| 15 | |
| 16 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 17 | {h qbig : ℝ} {F : ℕ → SpaceTime → V} {gain initial positive : ℕ → ℝ} |
| 18 | |
| 19 | theorem prefix_log_bound (hh : 0 < h) (hh1 : h < 1/2) |
| 20 | (hs : ∀ j, ContDiffOn ℝ ∞ (F j) (CutStageEstimates.physicalSublevel h qbig)) |
| 21 | (hgain : ∀ j, 0 ≤ gain j) |
| 22 | (hzero : ∀ m, LogBound h qbig (F 0) m (-initial m)) |
| 23 | (hpos : ∀ j m, LogBound h qbig (F (j+1)) m (gain (j+1)-positive m)) |
| 24 | (J m : ℕ) : |
| 25 | LogBound h qbig (DiagonalJetBounds.uncutPrefix F (J+1)) m (-prefixLoss initial positive m) := by |
| 26 | apply LogBound.finset_sum (Finset.range (J+1)) hh hh1 (fun j _ => hs j) |
| 27 | intro j _ |
| 28 | cases j with |
| 29 | | zero => exact (hzero m).weaken hh hh1 (neg_le_neg (le_max_left _ _)) |
| 30 | | succ j => |
| 31 | apply (hpos j m).weaken hh hh1 |
| 32 | have hp : positive m ≤ prefixLoss initial positive m := le_max_right _ _ |
| 33 | linarith [hgain (j+1)] |
| 34 | |
| 35 | end Prefix |
| 36 | |
| 37 | theorem finite_velocity_log_bound {h qbig : ℝ} {A B : ℕ → VelocityField} |
| 38 | {gain initial positive : ℕ → ℝ} (hh : 0 < h) (hh1 : h < 1/2) |
| 39 | (hA : ∀ j, ContDiffOn ℝ ∞ (A j) (CutStageEstimates.physicalSublevel h qbig)) |
| 40 | (hB : ∀ j, ContDiffOn ℝ ∞ (B j) (CutStageEstimates.physicalSublevel h qbig)) |
| 41 | (hgain : ∀ j, 0 ≤ gain j) |
| 42 | (hzero : ∀ m, LogBound h qbig (MixedDiagonalResidual.uncutVelocity A B 0) m (-initial m)) |
| 43 | (hpos : ∀ j m, LogBound h qbig (MixedFiniteBackground.stageVelocity A B (j+1)) m |
| 44 | (gain (j+1)-positive m)) (J m : ℕ) : |
| 45 | LogBound h qbig (MixedDiagonalResidual.uncutVelocity A B J) m (-prefixLoss initial positive m) := by |
| 46 | have hU := CutStageEstimates.physicalSublevel_open hh hh1 qbig |
| 47 | have hs : ∀ j, ContDiffOn ℝ ∞ (MixedFiniteBackground.stageVelocity A B j) |
| 48 | (CutStageEstimates.physicalSublevel h qbig) := by |
| 49 | intro j |
| 50 | apply ContDiffOn.add _ (hB j) |
| 51 | intro w hw |
| 52 | exact (SpatialCurl.contDiffAt_spatialCurl ((hA j).contDiffAt (hU.mem_nhds hw)) |
| 53 | (by simp)).contDiffWithinAt |
| 54 | have hz : ∀ m, LogBound h qbig (MixedFiniteBackground.stageVelocity A B 0) m (-initial m) := by |
| 55 | intro m |
| 56 | simpa only [MixedFiniteBackground.uncutVelocity_zero] using hzero m |
| 57 | exact (prefix_log_bound hh hh1 hs hgain hz hpos J m).congr hh hh1 |
| 58 | (MixedFiniteBackground.uncutVelocity_eq_stagePrefix hU A B hA J).symm |
| 59 | |
| 60 | end NavierStokes.WholeDomainStageBounds |