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.CorrectionEnergyTime |
| 2 | import Euler.EnergyMetricPaths |
| 3 | import Euler.GevreyMetricForcing |
| 4 | |
| 5 | /-! The actual nonlinear Bochner forcing is bounded by a continuous metric-energy polynomial, with constants independent of the external cutoff. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCorrectionEnergyBound |
| 10 | |
| 11 | open MeasureTheory Set InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 12 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerCorrectionEnergyTime EulerEnergyMetricPaths |
| 13 | EulerGevreyMetricEstimate EulerGevreyCorrectionBound EulerH6Pressure EulerSobolevGevreyOperators |
| 14 | EulerSobolevTransportCommutator EulerSobolevTransport EulerH6Nonlinear EulerGevreyMetricComparison EulerTimeLp EulerVolterraConvolution EulerSobolevWordValueIdentity |
| 15 | EulerRegularizedTopBlocks EulerGevreyOrderZero EulerTimeCorrectionSource EulerWeightedCylinderEnergy |
| 16 | open scoped Topology |
| 17 | |
| 18 | variable (period : ℝ) [Fact (0 < period)] |
| 19 | |
| 20 | /-- A local concrete normed-group instance for the actual Sobolev energy scale. -/ |
| 21 | local instance boundTimeGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 22 | |
| 23 | /-- A local concrete real normed-space instance for the actual Sobolev energy scale. -/ |
| 24 | local instance boundTimeSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 25 | |
| 26 | /-- The explicit scalar majorant for the genuine seven-term nonlinear metric forcing. -/ |
| 27 | def forcingPolynomial (B M B0 B1 A0 A2 residual cM Rc ρ X Y : ℝ) : ℝ := |
| 28 | sourceConstant B M*residual+ |
| 29 | ((sourceConstant B M*(productConstant period 3*B1+A0+2*A2*productConstant period 3*B0)+transportConstant period B M*B0)* |
| 30 | metricAmplification cM)*X+ |
| 31 | ((sourceConstant B M*A2*productConstant period 3+transportConstant period B M)*(metricAmplification cM)^2)*X^2+ |
| 32 | ((lossConstant period M*(ρ⁻¹+Rc))*(metricAmplification cM)^2)*(B0+X)*Y |
| 33 | |
| 34 | /-- The literal spatial correction array has the actual metric polynomial bound for every valid higher representative. -/ |
| 35 | theorem correctionArray_bound {q : ℕ} (hq : 6 ≤ q+1) {T : ℝ} |
| 36 | (D : CorrectionData period (q+1) (Icc (0 : ℝ) T)) |
| 37 | (K6 : ∀ t, CoefficientJet period standardDirection 6 (D.metric.coefficient t)) |
| 38 | (N : ℕ) (hN : N+6 ≤ q+1) (τ : Icc (0 : ℝ) T) |
| 39 | (ρ Rc M B : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) (hB : 0 ≤ B) |
| 40 | (hbase5 : (EulerH6Pressure.CoefficientJet.restrict (D.metric.jet τ) 5 (by omega)).pressureConstant D.coercivity ≤ M) |
| 41 | (hbase6 : (EulerH6Pressure.CoefficientJet.restrict (D.metric.jet τ) 6 hq).pressureConstant D.coercivity ≤ M) |
| 42 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 43 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period (D.metric.jet τ) 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 44 | (hG : ∀ r ≤ 6, EulerJetProductBounds.boundLevel period (D.metric.jet τ) r ≤ B) |
| 45 | (hG0 : ∀ r ≤ 6, EulerJetProductBounds.boundLevel period (K6 τ) r ≤ B) |
| 46 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) (V : SobolevSpace period ((q+1)+1)) |
| 47 | (hV : truncateOperator period (q+1) V = e τ) |
| 48 | (B0 B1 A0 A2 residual : ℝ) (hA2 : 0 ≤ A2) |
| 49 | (hz : weightedNorm period 6 N ρ (D.approximation τ) ≤ B0) |
| 50 | (hdz : (∑ i : Fin 4, weightedNorm period 6 N ρ (derivativeOperator period (q+1) i (D.approximation τ))) ≤ B1) |
| 51 | (hC0 : weightedCoefficient period (D.linear.jet τ) 6 N ρ ≤ A0) |
| 52 | (hC : (∑ i : Fin 3, weightedCoefficient period ((D.quadratic i).jet τ) 6 N ρ) ≤ A2) |
| 53 | (hr : weightedNorm period 6 N ρ (D.residual τ) ≤ residual) |
| 54 | (KM : LiftL2 period →L[ℝ] LiftL2 period) (cM : ℝ) (hcM : 0 < cM) |
| 55 | (hKM : ∀ v, cM^2*‖v‖^2 ≤ ⟪KM v,v⟫_ℝ) : |
| 56 | weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) |
| 57 | (correctionArray period hq D K6 N hN e V τ) ≤ |
| 58 | forcingPolynomial period B M B0 B1 A0 A2 residual cM Rc ρ |
| 59 | (energyNorm period N (by omega : N+6 ≤ (q+1)+1) ρ KM V) |
| 60 | (energyLoss period N (by omega : N+6 ≤ (q+1)+1) ρ KM V) := by |
| 61 | have h := correctionForcing_metric period hq (D.metric.jet τ) (K6 τ) D.κ D.direction D.coercivity |
| 62 | D.coercivity_pos (D.metric_pos τ) N hN ρ Rc M B hρ hRc hM hB hbase5 hbase6 hsmall hcoeff hG hG0 |
| 63 | (velocityComponents D.κ D.direction) (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) |
| 64 | (D.linear.coefficient τ) (D.linear.jet τ) (fun i => (D.quadratic i).coefficient τ) (fun i => (D.quadratic i).jet τ) |
| 65 | (D.approximation τ) V (D.residual τ) B0 B1 A0 A2 residual hA2 hz hdz hC0 hC hr KM cM hcM hKM |
| 66 | simpa only [correctionArray, lowerOrderPath, orderZeroPath, ContinuousMap.coe_mk, CoefficientPath.operatorPath, EulerGevreyPressureTransport.transportPressure, hV, forcingPolynomial] using h |
| 67 | |
| 68 | /-- The literal polynomial majorant is continuous along the positive radius and actual continuous metric energies. -/ |
| 69 | def forcingBoundPath {q : ℕ} (N : ℕ) (hN : N+6 ≤ q+1) (T : ℝ) |
| 70 | (R : C(Icc (0 : ℝ) T, ℝ)) (hR : ∀ t, 0 < R t) |
| 71 | (K : C(Icc (0 : ℝ) T, LiftL2 period →L[ℝ] LiftL2 period)) |
| 72 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 73 | (B M B0 B1 A0 A2 residual cM Rc : ℝ) : C(Icc (0 : ℝ) T, ℝ) := by |
| 74 | let X := energyPath period N hN T R K e |
| 75 | let Y := lossPath period N hN T R K e |
| 76 | refine ⟨fun t => forcingPolynomial period B M B0 B1 A0 A2 residual cM Rc (R t) (X t) (Y t), ?_⟩ |
| 77 | have hi : Continuous (fun t => (R t)⁻¹) := R.continuous.inv₀ (fun t => (hR t).ne') |
| 78 | unfold forcingPolynomial |
| 79 | fun_prop |
| 80 | |
| 81 | /-- The actual constructed full-order Bochner forcing obeys the continuous spatial majorant almost everywhere. -/ |
| 82 | theorem weightedCorrectionForcing_bound {q : ℕ} (hq : 6 ≤ q+1) (T : ℝ) (hT : 0 ≤ T) |
| 83 | (D : CorrectionData period (q+1) (Icc (0 : ℝ) T)) |
| 84 | (hGc : Continuous (fun t => (D.metric.coefficient t).operator)) |
| 85 | (K6 : ∀ t, CoefficientJet period standardDirection 6 (D.metric.coefficient t)) |
| 86 | (N : ℕ) (hN : N+6 ≤ q+1) (R : C(Icc (0 : ℝ) T, ℝ)) (hR : ∀ t, 0 < R t) |
| 87 | (Rc M B : ℝ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) (hB : 0 ≤ B) |
| 88 | (hbase5 : ∀ t, (EulerH6Pressure.CoefficientJet.restrict (D.metric.jet t) 5 (by omega)).pressureConstant D.coercivity ≤ M) |
| 89 | (hbase6 : ∀ t, (EulerH6Pressure.CoefficientJet.restrict (D.metric.jet t) 6 hq).pressureConstant D.coercivity ≤ M) |
| 90 | (hsmall : ∀ t, 4*M*(R t*Rc) ≤ 1) |
| 91 | (hcoeff : ∀ t l, 1 ≤ l → l ≤ N → coefficientBlock period (D.metric.jet t) 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 92 | (hG : ∀ t r, r ≤ 6 → EulerJetProductBounds.boundLevel period (D.metric.jet t) r ≤ B) |
| 93 | (hG0 : ∀ t r, r ≤ 6 → EulerJetProductBounds.boundLevel period (K6 t) r ≤ B) |
| 94 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) (U : TimeLp T (SobolevSpace period (2+q))) |
| 95 | (hU : Filter.Tendsto (fun n => pathLp T hT (maximalApproximation period q T n e)) Filter.atTop (𝓝 U)) |
| 96 | (B0 B1 A0 A2 residual : ℝ) (hA2 : 0 ≤ A2) |
| 97 | (hz : ∀ t, weightedNorm period 6 N (R t) (D.approximation t) ≤ B0) |
| 98 | (hdz : ∀ t, (∑ i : Fin 4, weightedNorm period 6 N (R t) (derivativeOperator period (q+1) i (D.approximation t))) ≤ B1) |
| 99 | (hC0 : ∀ t, weightedCoefficient period (D.linear.jet t) 6 N (R t) ≤ A0) |
| 100 | (hC : ∀ t, (∑ i : Fin 3, weightedCoefficient period ((D.quadratic i).jet t) 6 N (R t)) ≤ A2) |
| 101 | (hr : ∀ t, weightedNorm period 6 N (R t) (D.residual t) ≤ residual) |
| 102 | (K : C(Icc (0 : ℝ) T, LiftL2 period →L[ℝ] LiftL2 period)) (cM : ℝ) (hcM : 0 < cM) |
| 103 | (hKM : ∀ t v, cM^2*‖v‖^2 ≤ ⟪K t v,v⟫_ℝ) : |
| 104 | (weightedCorrectionForcing period hq T hT D hGc N hN R e U : ℝ → ℝ) ≤ᵐ[timeMeasure T] |
| 105 | extendPath T hT (forcingBoundPath period N hN T R hR K e B M B0 B1 A0 A2 residual cM Rc) := by |
| 106 | filter_upwards [weightedCorrectionForcing_ae period hq T hT D hGc K6 N hN R e U hU, |
| 107 | reindexMaximalTime_restriction period T hT e U hU, |
| 108 | maximal_metric_paths period N hN T hT R K e U hU] with t hforce hv hmetric |
| 109 | let τ := projIcc 0 T hT t |
| 110 | have h := correctionArray_bound period hq D K6 N hN τ (R τ) Rc M B (hR τ) hRc hM hB |
| 111 | (hbase5 τ) (hbase6 τ) (hsmall τ) (hcoeff τ) (hG τ) (hG0 τ) e |
| 112 | (reindexMaximalTime period q T U t) hv B0 B1 A0 A2 residual hA2 (hz τ) (hdz τ) (hC0 τ) (hC τ) (hr τ) |
| 113 | (K τ) cM hcM (hKM τ) |
| 114 | rw [hmetric.1, hmetric.2] at h |
| 115 | exact hforce.le.trans h |
| 116 | |
| 117 | end EulerCorrectionEnergyBound |