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.CorrectionEnergyScalar |
| 2 | |
| 3 | /-! The actual nonlinear viscous correction closes its shrinking-radius Gevrey bootstrap from the constructed mild equation. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerCorrectionEnergyBootstrap |
| 8 | |
| 9 | open MeasureTheory Set InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 10 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerSobolevCoefficientPressure EulerCorrectionLowerData |
| 11 | EulerCorrectionEnergyData EulerCorrectionEnergyMajorants EulerCorrectionMildEnergy EulerCorrectionEnergyScalar |
| 12 | EulerEnergyMetricPaths EulerGevreyMetricEstimate EulerTimeLp EulerVolterraConvolution EulerSobolevHeat |
| 13 | EulerIntegralEnergyBootstrap |
| 14 | open scoped Topology |
| 15 | |
| 16 | /-- Increasing the single scalar coefficient preserves the signed radius term in the genuine energy estimate. -/ |
| 17 | theorem raise_energy_constant (C0 C X Y r b R B : ℝ) (hC : C0 ≤ C) |
| 18 | (hX : 0 ≤ X) (hY : 0 ≤ Y) (hr : 0 ≤ r) (hR : 0 ≤ R) (hB : 0 ≤ B) : |
| 19 | C0*(X+X^2+r)+(b+C0*R*(B+X))*Y ≤ C*(X+X^2+r)+(b+C*R*(B+X))*Y := by |
| 20 | have h1 := mul_le_mul_of_nonneg_right hC (add_nonneg (add_nonneg hX (sq_nonneg X)) hr) |
| 21 | have h2 := mul_le_mul_of_nonneg_right hC (mul_nonneg (mul_nonneg hR (add_nonneg hB hX)) hY) |
| 22 | nlinarith only [h1,h2] |
| 23 | |
| 24 | variable (period : ℝ) [Fact (0 < period)] |
| 25 | |
| 26 | /-- Every actual zero-initial nonlinear correction mild solution satisfies the closed Gevrey estimate. |
| 27 | The proof derives its full-order all-subinterval energy inequality, source bound, pressure cancellation, and maximal regularity rather than assuming them. -/ |
| 28 | theorem correction_mild_bootstrap {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) |
| 29 | (D : CorrectionData period (q+1) (Icc (0 : ℝ) T)) |
| 30 | (KG : ∀ t, CoefficientJet period standardDirection q (D.metric.coefficient t)) |
| 31 | (KL : ∀ t, CoefficientJet period standardDirection q (D.linear.coefficient t)) |
| 32 | (KQ : ∀ i t, CoefficientJet period standardDirection q ((D.quadratic i).coefficient t)) |
| 33 | (hGq : Continuous (fun t => coefficientSobolevOperator period (KG t))) |
| 34 | (hLq : Continuous (fun t => coefficientSobolevOperator period (KL t))) |
| 35 | (hQq : ∀ i, Continuous (fun t => coefficientSobolevOperator period (KQ i t))) |
| 36 | (hG : Continuous (fun t => (D.metric.coefficient t).operator)) |
| 37 | (N : ℕ) (hN : N+6 ≤ q+1) (R Rdot : C(Icc (0 : ℝ) T, ℝ)) |
| 38 | (S : SpatialBudget period (by omega : 6 ≤ q+1) D N R) (K : MetricBudget period T hT D) |
| 39 | (C Δ ρ0 : ℝ) (hC : combinedConstant period S K ≤ C) (hΔ : 0 < Δ) (hΔ1 : Δ ≤ 1) (hρ0 : 0 < ρ0) |
| 40 | (hdecay : 2*C*(S.B0+Δ)*T ≤ ρ0/2) (hscale : ρ0*S.Rc ≤ 1) |
| 41 | (hsmall : 2*S.residual*Real.exp (3*C*T) ≤ Δ/2) |
| 42 | (hR : ∀ t, R t = ρ0-2*C*(S.B0+Δ)*t.val) |
| 43 | (hRdot : ∀ t, Rdot t = -2*C*(S.B0+Δ)) |
| 44 | (ν : ℝ) (hν : 0 < ν) (hν1 : ν ≤ 1) |
| 45 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 46 | (hsol : ∀ t : Icc (0 : ℝ) T, |
| 47 | e t = heatOperator period (q+1) (2*ν*t.val).toNNReal 0 + |
| 48 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r |
| 49 | (extendPath T hT (forcingPath period hq (lowerData period D KG KL KQ hGq hLq hQq) e) (t.val-r))) |
| 50 | (hz : ∀ t, value period (D.approximation t) ∈ divergenceFreeSpace period D.κ D.direction) |
| 51 | (he : ∀ t, value period (e t) ∈ divergenceFreeSpace period D.κ D.direction) : |
| 52 | ∀ t : Icc (0 : ℝ) T, |
| 53 | energyNorm period N hN (R t) (K.operatorPath period t) (e t) ≤ 2*S.residual*Real.exp (3*C*t.val) ∧ |
| 54 | energyNorm period N hN (R t) (K.operatorPath period t) (e t) ≤ Δ/2 := by |
| 55 | let X := energyPath period N hN T R (K.operatorPath period) e |
| 56 | let Y := lossPath period N hN T R (K.operatorPath period) e |
| 57 | let A := correctionRhs period S hN K Rdot e |
| 58 | have hCp : 0 < C := (combinedConstant_pos period S K).trans_le hC |
| 59 | have hRd : ∀ t ∈ Ioo 0 T, HasDerivAt (extendPath T hT R) (extendPath T hT Rdot t) t := by |
| 60 | intro t ht |
| 61 | exact affine_radius_derivative T hT R Rdot ρ0 (2*C*(S.B0+Δ)) hR |
| 62 | (fun τ => (hRdot τ).trans (by ring)) t ht |
| 63 | have hinit : extendPath T hT X 0 ≤ 2*S.residual := by |
| 64 | have he0 := zero_mild_trace period ν hν T hT |
| 65 | (forcingPath period hq (lowerData period D KG KL KQ hGq hLq hQq) e) e hsol |
| 66 | change X (projIcc 0 T hT 0) ≤ _ |
| 67 | rw [projIcc_of_mem hT ⟨le_rfl,hT⟩] |
| 68 | change energyPath period N hN T R (K.operatorPath period) e ⟨0,le_rfl,hT⟩ ≤ _ |
| 69 | rw [energyPath_apply,he0,energyNorm_zero] |
| 70 | exact mul_nonneg (by norm_num : (0 : ℝ) ≤ 2) S.residual_pos.le |
| 71 | have hint : ∀ s ∈ Icc (0 : ℝ) T, ∀ t ∈ Icc (0 : ℝ) T, s ≤ t → |
| 72 | extendPath T hT X t-extendPath T hT X s ≤ ∫ r in s..t, extendPath T hT A r := by |
| 73 | intro s hs t ht hst |
| 74 | have h := correction_mild_integral period hq T hT D KG KL KQ hGq hLq hQq hG N hN R Rdot S K hRd |
| 75 | ν hν hν1 0 e hsol hz he s t hs.1 hst ht.2 |
| 76 | change X (projIcc 0 T hT t)-X (projIcc 0 T hT s) ≤ _ |
| 77 | rw [projIcc_of_mem hT ht,projIcc_of_mem hT hs] |
| 78 | exact h |
| 79 | have hineq : ∀ t ∈ Ico (0 : ℝ) T, |
| 80 | extendPath T hT A t ≤ C*(extendPath T hT X t+(extendPath T hT X t)^2+S.residual)+ |
| 81 | ((-2*C*(S.B0+Δ))/(ρ0-2*C*(S.B0+Δ)*t)+ |
| 82 | C*((ρ0-2*C*(S.B0+Δ)*t)⁻¹+S.Rc)*(S.B0+extendPath T hT X t))*extendPath T hT Y t := by |
| 83 | intro t ht |
| 84 | let τ : Icc (0 : ℝ) T := ⟨t,ht.1,ht.2.le⟩ |
| 85 | have h := correctionRhs_bound period S hN K Rdot e τ |
| 86 | have h' := raise_energy_constant (combinedConstant period S K) C (X τ) (Y τ) S.residual |
| 87 | (Rdot τ/R τ) ((R τ)⁻¹+S.Rc) S.B0 hC (energy_nonneg period S hN K e τ) |
| 88 | (loss_nonneg period S hN K e τ) S.residual_pos.le |
| 89 | (add_nonneg (inv_nonneg.mpr (S.radius_pos τ).le) S.Rc_nonneg) S.B0_nonneg |
| 90 | have hh := h.trans h' |
| 91 | change A (projIcc 0 T hT t) ≤ C*(X (projIcc 0 T hT t)+(X (projIcc 0 T hT t))^2+S.residual)+ |
| 92 | ((-2*C*(S.B0+Δ))/(ρ0-2*C*(S.B0+Δ)*t)+C*((ρ0-2*C*(S.B0+Δ)*t)⁻¹+S.Rc)* |
| 93 | (S.B0+X (projIcc 0 T hT t)))*Y (projIcc 0 T hT t) |
| 94 | rw [projIcc_of_mem hT ⟨ht.1,ht.2.le⟩] |
| 95 | simpa only [hR τ,hRdot τ] using hh |
| 96 | have hclosed := close_integral_energy_estimate (extendPath T hT X) (extendPath T hT A) (extendPath T hT Y) |
| 97 | C S.B0 Δ S.residual ρ0 T S.Rc hCp S.B0_nonneg hΔ hΔ1 S.residual_pos hρ0 hT S.Rc_nonneg hdecay hscale hsmall |
| 98 | (extendPath_continuous T hT X).continuousOn (extendPath_continuous T hT A).continuousOn hinit hint |
| 99 | (fun t _ => loss_nonneg period S hN K e (projIcc 0 T hT t)) hineq |
| 100 | intro t |
| 101 | have h := hclosed t.val t.property |
| 102 | change X (projIcc 0 T hT t.val) ≤ _ ∧ X (projIcc 0 T hT t.val) ≤ _ at h |
| 103 | rw [projIcc_of_mem hT t.property] at h |
| 104 | simpa only [X,energyPath_apply] using h |
| 105 | |
| 106 | end EulerCorrectionEnergyBootstrap |