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 Euler.AllOrderDriftBudget |
| 2 | import Euler.DriftGlobalInviscidGevrey |
| 3 | |
| 4 | /-! Actual finite inviscid corrections constructed from the all-order drift-aware input budget. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerAllOrderDriftCorrection |
| 9 | |
| 10 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 11 | EulerCorrectionOperators EulerCorrectionEnergyData EulerCorrectionEnergyMajorants |
| 12 | EulerAllOrderCorrectionData EulerCorrectionAssembly EulerGevreyMetricEstimate |
| 13 | EulerDriftGlobalInviscidGevrey EulerVolterraConvolution EulerInviscidSobolevEvolution |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- Genuine drift-aware input budgets construct an actual finite-order inviscid correction with quantitative retained Gevrey energy. |
| 18 | Finite existence, an energy inequality and convergence are conclusions of the imported actual construction, not hypotheses here. -/ |
| 19 | theorem finite_exists {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 20 | (q : ℕ) (hq : 6 ≤ q) : |
| 21 | ∃ e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1)), |
| 22 | e ⟨0, le_rfl, hT.le⟩ = 0 ∧ |
| 23 | (∀ t, value period (e t) ∈ divergenceFreeSpace period A.κ A.direction) ∧ |
| 24 | (∀ (P : ℕ) (_ : P ≤ q-4) (hP : P+6 ≤ q+1) t, |
| 25 | energyNorm period P hP (B.radius t) (B.metric.operatorPath period t) (e t) ≤ |
| 26 | 2*(B.spatial q hq).full.residual*Real.exp (3*B.growthCoefficient*t.val) ∧ |
| 27 | energyNorm period P hP (B.radius t) (B.metric.operatorPath period t) (e t) ≤ B.delta/2) ∧ |
| 28 | ∀ t (ht : t ∈ Ioo 0 T), HasDerivAt (fun r => value period (extendPath T hT.le e r)) |
| 29 | (value period (((A.atOrder period q).coefficients period hq).apply |
| 30 | ⟨t, ht.1.le, ht.2.le⟩ (e ⟨t, ht.1.le, ht.2.le⟩))) t := by |
| 31 | have h := exists_global_inviscid_gevrey_PDE period hq T hT (A.atOrder period ((q+1)+1)) |
| 32 | (A.metric.jet (q+1)) (A.linear.jet (q+1)) (fun i => (A.quadratic i).jet (q+1)) |
| 33 | (A.metric.continuous (q+1)) (A.linear.continuous (q+1)) (fun i => (A.quadratic i).continuous (q+1)) |
| 34 | (A.metric.jet q) (A.linear.jet q) (fun i => (A.quadratic i).jet q) |
| 35 | (A.metric.continuous q) (A.linear.continuous q) (fun i => (A.quadratic i).continuous q) |
| 36 | A.metric_continuous (q-4) (by omega) (by omega) B.radius (B.spatial q hq) |
| 37 | (A.metricBudget period hT.le B.metric (q+1)) B.growthCoefficient B.delta B.initialRadius |
| 38 | (B.growth_bound q hq) B.delta_pos B.delta_le_one B.radius_pos (B.decay q hq) |
| 39 | (B.scale q hq) (B.small q hq) (B.radius_eq q hq) |
| 40 | (fun t => by simpa only [Data.atOrder, A.approximation.value_eq] using B.divergence t) |
| 41 | rw [A.lower_twice period q] at h |
| 42 | obtain ⟨e, hi, hd, _, he, hp⟩ := h |
| 43 | refine ⟨e, hi, hd, he, ?_⟩ |
| 44 | intro t ht |
| 45 | have hs := hp t ht |
| 46 | rw [← CorrectionData.source_sobolev] at hs |
| 47 | exact (valueOperator period q).hasFDerivAt.comp_hasDerivAt t hs |
| 48 | |
| 49 | /-- The genuine finite solution chosen from the proved drift-aware construction. -/ |
| 50 | def Budget.solution {T : ℝ} {hT : 0 < T} {A : Data period T} (B : Budget period hT A) |
| 51 | (q : ℕ) (hq : 6 ≤ q) : C(Icc (0 : ℝ) T, SobolevSpace period (q+1)) := |
| 52 | Classical.choose (finite_exists period hT A B q hq) |
| 53 | |
| 54 | /-- The actual selected finite solutions retain both residual and target-error energy estimates. -/ |
| 55 | theorem Budget.solution_energy {T : ℝ} {hT : 0 < T} {A : Data period T} (B : Budget period hT A) |
| 56 | (q : ℕ) (hq : 6 ≤ q) (P : ℕ) (hPN : P ≤ q-4) (hP : P+6 ≤ q+1) (t : Icc (0 : ℝ) T) : |
| 57 | energyNorm period P hP (B.radius t) (B.metric.operatorPath period t) (B.solution period q hq t) ≤ |
| 58 | 2*(B.spatial q hq).full.residual*Real.exp (3*B.growthCoefficient*t.val) ∧ |
| 59 | energyNorm period P hP (B.radius t) (B.metric.operatorPath period t) (B.solution period q hq t) ≤ B.delta/2 := |
| 60 | (Classical.choose_spec (finite_exists period hT A B q hq)).2.2.1 P hPN hP t |
| 61 | |
| 62 | /-- Actual drift-aware data construct the complete finite correction family; no finite-existence hypothesis is supplied. -/ |
| 63 | def Budget.family {T : ℝ} {hT : 0 < T} {A : Data period T} (B : Budget period hT A) : |
| 64 | FiniteFamily period hT A where |
| 65 | solution := B.solution period |
| 66 | initial q hq := (Classical.choose_spec (finite_exists period hT A B q hq)).1 |
| 67 | divergence q hq := (Classical.choose_spec (finite_exists period hT A B q hq)).2.1 |
| 68 | equation q hq := (Classical.choose_spec (finite_exists period hT A B q hq)).2.2.2 |
| 69 | |
| 70 | end EulerAllOrderDriftCorrection |