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.JointResidualLimits |
| 2 | import NavierStokes.DiagonalResidual |
| 3 | import Mathlib.Analysis.SpecialFunctions.Pow.Continuity |
| 4 | import NavierStokes.PhysicalStageBounds |
| 5 | |
| 6 | /-! ## From `NavierStokes/WholeDomainCompactBounds.lean` |
| 7 | |
| 8 | The text of `NavierStokes/WholeDomainCompactBounds.lean`, folded into this file, which was its only importer. -/ |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # Uniform bounds on the common finite-stage domain |
| 14 | |
| 15 | Local endpoint estimates are upgraded on a fixed compact set without changing |
| 16 | the domain with the requested derivative order. The compactness argument uses |
| 17 | the actual derivatives, and allows a different local constant at every point. |
| 18 | -/ |
| 19 | |
| 20 | noncomputable section |
| 21 | |
| 22 | namespace NavierStokes.WholeDomainStageBounds |
| 23 | |
| 24 | open Set Filter Function ProblemStatement |
| 25 | open scoped Topology ContDiff BigOperators |
| 26 | |
| 27 | section CompactBounds |
| 28 | |
| 29 | variable {D V : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 30 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 31 | |
| 32 | end CompactBounds |
| 33 | |
| 34 | section LocalRates |
| 35 | |
| 36 | variable {D V : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 37 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 38 | |
| 39 | /-- A finite jet limit at a positive limiting scale gives every power rate. -/ |
| 40 | theorem rate_of_jet_limit {l : Filter D} {f : D → V} {q : D → ℝ} {m : ℕ} |
| 41 | {J : D [×m]→L[ℝ] V} {q₀ : ℝ} (hJ : Tendsto (iteratedFDeriv ℝ m f) l (𝓝 J)) |
| 42 | (hq : Tendsto q l (𝓝 q₀)) (hq₀ : 0 < q₀) (r : ℝ) : |
| 43 | DiagonalResidual.JetRate l q f m r := by |
| 44 | have hb := (hJ.norm.mul (hq.rpow_const (Or.inl hq₀.ne'))).eventually |
| 45 | (gt_mem_nhds (lt_add_one (‖J‖ * q₀ ^ (-r)))) |
| 46 | refine ⟨‖J‖ * q₀ ^ (-r) + 1, by positivity, ?_⟩ |
| 47 | filter_upwards [hb, hq.eventually (lt_mem_nhds hq₀)] with x hx hqx |
| 48 | have he : (‖iteratedFDeriv ℝ m f x‖ * q x ^ (-r)) * q x ^ r = |
| 49 | ‖iteratedFDeriv ℝ m f x‖ := by |
| 50 | rw [mul_assoc, ← Real.rpow_add hqx, neg_add_cancel, Real.rpow_zero, mul_one] |
| 51 | exact he ▸ mul_le_mul_of_nonneg_right hx.le (Real.rpow_nonneg hqx.le r) |
| 52 | |
| 53 | end LocalRates |
| 54 | |
| 55 | /-- Smooth one-sided velocity and pressure extensions extend the actual |
| 56 | residual, including the derivatives occurring in its definition. -/ |
| 57 | noncomputable def residualExtension {u : VelocityField} {p : PressureField} {x : Space} |
| 58 | (U : JointResidualLimits.OneSidedExtension u x) |
| 59 | (P : JointResidualLimits.OneSidedExtension p x) : |
| 60 | JointResidualLimits.OneSidedExtension |
| 61 | (fun w => navierStokesResidual u p w.1 w.2) x where |
| 62 | value := fun w => navierStokesResidual U.value P.value w.1 w.2 |
| 63 | domain := U.domain ∩ P.domain |
| 64 | isOpen := U.isOpen.inter P.isOpen |
| 65 | mem := ⟨U.mem, P.mem⟩ |
| 66 | smooth := ResidualRegularity.contDiffOn_residual (U.isOpen.inter P.isOpen) |
| 67 | (U.smooth.mono inter_subset_left) (P.smooth.mono inter_subset_right) |
| 68 | agrees := by |
| 69 | intro w hw |
| 70 | have hU : U.value =ᶠ[𝓝 w] u := |
| 71 | Filter.eventuallyEq_of_mem ((U.isOpen.inter (SpacetimeEndpoint.openPast_isOpen 1)).mem_nhds |
| 72 | ⟨hw.1.1, hw.2⟩) U.agrees |
| 73 | have hP : P.value =ᶠ[𝓝 w] p := |
| 74 | Filter.eventuallyEq_of_mem ((P.isOpen.inter (SpacetimeEndpoint.openPast_isOpen 1)).mem_nhds |
| 75 | ⟨hw.1.2, hw.2⟩) P.agrees |
| 76 | exact (ResidualRegularity.residual_eventuallyEq hU hP).self_of_nhds |
| 77 | |
| 78 | end NavierStokes.WholeDomainStageBounds |
| 79 | end |
| 80 | |
| 81 | end |
| 82 | |
| 83 | noncomputable section |
| 84 | namespace NavierStokes.WholeDomainStageBounds |
| 85 | open Set Filter Function ProblemStatement |
| 86 | open scoped Topology ContDiff BigOperators |
| 87 | open PhysicalWaveSum |
| 88 | |
| 89 | end NavierStokes.WholeDomainStageBounds |