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.CorrectionMildEnergy |
| 2 | import Euler.IntegralEnergyBootstrap |
| 3 | |
| 4 | /-! The actual correction energy right-hand side has the scalar shrinking-radius form, including its exact zero initial trace. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCorrectionEnergyScalar |
| 9 | |
| 10 | open MeasureTheory Set InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 11 | EulerCorrectionOperators EulerCorrectionEnergyData EulerCorrectionEnergyMajorants EulerCorrectionMildEnergy |
| 12 | EulerEnergyMetricPaths EulerGevreyMetricEstimate EulerNonlinearEnergyConstants EulerTimeLpSubintervalBound |
| 13 | EulerTimeLp EulerVolterraConvolution EulerSobolevHeat EulerGevreyMetricComparison EulerGevreyDifferentiatedEquation |
| 14 | EulerWeightedCylinderEnergy EulerFiniteMetricEnergy |
| 15 | open scoped Topology |
| 16 | |
| 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | |
| 19 | /-- The actual scalar correction right-hand side is bounded by the source's nonlinear shrinking-radius expression. -/ |
| 20 | theorem correctionRhs_bound {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 21 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 22 | (S : SpatialBudget period hq D N R) (hN : N+6 ≤ q+1) {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 23 | (Rdot : C(Icc (0 : ℝ) T, ℝ)) (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) (t : Icc (0 : ℝ) T) : |
| 24 | let X := energyPath period N hN T R (K.operatorPath period) e t |
| 25 | let Y := lossPath period N hN T R (K.operatorPath period) e t |
| 26 | let C := combinedConstant period S K |
| 27 | correctionRhs period S hN K Rdot e t ≤ C*(X+X^2+S.residual)+ |
| 28 | (Rdot t/R t+C*((R t)⁻¹+S.Rc)*(S.B0+X))*Y := by |
| 29 | obtain ⟨hg0,hg1,hk⟩ := K.constants_nonneg period S.B0 S.B0_nonneg |
| 30 | exact actual_scalar_bound period (K.growth0 period S.B0) (K.growth1 period) (K.multiplier period) |
| 31 | S.B S.M S.B0 S.B1 S.A0 S.A2 K.c S.Rc (R t) S.residual |
| 32 | (energyPath period N hN T R (K.operatorPath period) e t) |
| 33 | (lossPath period N hN T R (K.operatorPath period) e t) (Rdot t/R t) |
| 34 | hg0 hg1 hk S.B_nonneg (zero_le_one.trans S.M_one_le) S.B0_nonneg S.B1_nonneg S.A0_nonneg S.A2_nonneg K.c_pos |
| 35 | S.Rc_nonneg (S.radius_pos t) S.residual_pos.le (energy_nonneg period S hN K e t) (loss_nonneg period S hN K e t) |
| 36 | |
| 37 | /-- Zero is exactly zero in the genuine finite metric energy. -/ |
| 38 | theorem energyNorm_zero {q : ℕ} (N : ℕ) (hN : N+6 ≤ q) (ρ : ℝ) |
| 39 | (K : LiftL2 period →L[ℝ] LiftL2 period) : energyNorm period N hN ρ K (0 : SobolevSpace period q) = 0 := by |
| 40 | unfold energyNorm weightedMetricSum |
| 41 | apply Finset.sum_eq_zero |
| 42 | intro I _ |
| 43 | have hzero : energyValues period 6 N hN (0 : SobolevSpace period q) I = fun _ => 0 := by |
| 44 | funext a |
| 45 | rw [← energyWordOperator_apply, map_zero] |
| 46 | rw [hzero] |
| 47 | simp [familyMetricNorm, familyEnergy] |
| 48 | |
| 49 | /-- The actual zero-initial mild formula has zero trace, without a separately assumed initial-value identity. -/ |
| 50 | theorem zero_mild_trace {q : ℕ} (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) |
| 51 | (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 52 | (hsol : ∀ t : Icc (0 : ℝ) T, e t = heatOperator period (q+1) (2*ν*t.val).toNNReal 0 + |
| 53 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r (extendPath T hT f (t.val-r))) : |
| 54 | e ⟨0,le_rfl,hT⟩ = 0 := by |
| 55 | have h := hsol ⟨0,le_rfl,hT⟩ |
| 56 | simpa only [map_zero, intervalIntegral.integral_same, add_zero] using h |
| 57 | |
| 58 | /-- A prescribed affine radius has its genuine time derivative at every interior point after clamped extension. -/ |
| 59 | theorem affine_radius_derivative (T : ℝ) (hT : 0 ≤ T) (R Rdot : C(Icc (0 : ℝ) T, ℝ)) |
| 60 | (ρ0 A : ℝ) (hR : ∀ t, R t = ρ0-A*t.val) (hRdot : ∀ t, Rdot t = -A) |
| 61 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 62 | HasDerivAt (extendPath T hT R) (extendPath T hT Rdot t) t := by |
| 63 | have hm : HasDerivAt (fun r : ℝ => A*r) A t := by |
| 64 | simpa only [id_eq, mul_one] using (hasDerivAt_id t).const_mul A |
| 65 | have ha : HasDerivAt (fun r : ℝ => ρ0-A*r) (-A) t := HasDerivAt.const_sub ρ0 hm |
| 66 | have he : extendPath T hT R =ᶠ[𝓝 t] fun r => ρ0-A*r := by |
| 67 | filter_upwards [Ioo_mem_nhds ht.1 ht.2] with r hr |
| 68 | change R (projIcc 0 T hT r) = _ |
| 69 | rw [projIcc_of_mem hT ⟨hr.1.le,hr.2.le⟩] |
| 70 | exact hR ⟨r,hr.1.le,hr.2.le⟩ |
| 71 | exact (ha.congr_of_eventuallyEq he).congr_deriv (hRdot (projIcc 0 T hT t)).symm |
| 72 | |
| 73 | end EulerCorrectionEnergyScalar |