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