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.CorrectionEnergyData |
| 2 | import Euler.TimeLpSubintervalBound |
| 3 | |
| 4 | /-! Continuous scalar majorants derived from actual coefficient budgets and actual nonlinear time fields. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCorrectionEnergyMajorants |
| 9 | |
| 10 | open MeasureTheory Set InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 11 | EulerCorrectionOperators EulerCorrectionEnergyData EulerCorrectionEnergyTime EulerCorrectionEnergyBound |
| 12 | EulerEnergyMetricPaths EulerGevreyMetricEstimate EulerGevreyGrowthCoefficient EulerGevreyRestriction |
| 13 | EulerNonlinearEnergyConstants EulerTimeLpSubintervalBound EulerTimeLp EulerVolterraConvolution |
| 14 | EulerRegularizedTopBlocks EulerWeightedCylinderEnergy |
| 15 | open scoped Topology |
| 16 | |
| 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | |
| 19 | /-- Actual metric energy is nonnegative along every positive-radius solution path. -/ |
| 20 | theorem energy_nonneg {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 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) (t : Icc (0 : ℝ) T) : |
| 24 | 0 ≤ energyPath period N hN T R (K.operatorPath period) e t := by |
| 25 | rw [energyPath_apply] |
| 26 | exact energyNorm_nonneg period N hN (R t) (S.radius_pos t) _ _ |
| 27 | |
| 28 | /-- Actual metric radius loss is nonnegative along the same solution path. -/ |
| 29 | theorem loss_nonneg {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 30 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 31 | (S : SpatialBudget period hq D N R) (hN : N+6 ≤ q+1) {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 32 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) (t : Icc (0 : ℝ) T) : |
| 33 | 0 ≤ lossPath period N hN T R (K.operatorPath period) e t := by |
| 34 | rw [lossPath_apply] |
| 35 | exact energyLoss_nonneg period N hN (R t) (S.radius_pos t) _ _ |
| 36 | |
| 37 | /-- The actual total velocity has the genuine metric-energy pointwise bound. -/ |
| 38 | theorem velocity_bound {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 39 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 40 | (S : SpatialBudget period hq D N R) (hN : N+6 ≤ q+1) {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 41 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) (t : Icc (0 : ℝ) T) : |
| 42 | ∀ᵐ x ∂liftMeasure period, ‖value period (velocityPath period D e t) x‖ ≤ |
| 43 | metricVelocityBound period K.c S.B0 (energyPath period N hN T R (K.operatorPath period) e t) := by |
| 44 | have hz : EulerSobolevGevreyOperators.weightedNorm period 6 N (R t) |
| 45 | (truncateOperator period (q+1) (D.approximation t)) ≤ S.B0 := by |
| 46 | rw [weightedNorm_truncate period 6 N hN] |
| 47 | exact S.background t |
| 48 | rw [energyPath_apply] |
| 49 | exact velocity_ae_metric period N hN (R t) (S.radius_pos t) (K.operatorPath period t) |
| 50 | (truncateOperator period (q+1) (D.approximation t)) (e t) K.c S.B0 K.c_pos (K.operator_coercive period t) hz |
| 51 | |
| 52 | /-- Adding the actual divergence-free approximation and error preserves the lifted constraint. -/ |
| 53 | theorem velocity_divergenceFree {q : ℕ} {T : ℝ} |
| 54 | (D : CorrectionData period (q+1) (Icc (0 : ℝ) T)) |
| 55 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 56 | (hz : ∀ t, value period (D.approximation t) ∈ divergenceFreeSpace period D.κ D.direction) |
| 57 | (he : ∀ t, value period (e t) ∈ divergenceFreeSpace period D.κ D.direction) (t : Icc (0 : ℝ) T) : |
| 58 | value period (velocityPath period D e t) ∈ divergenceFreeSpace period D.κ D.direction := |
| 59 | (divergenceFreeSpace period D.κ D.direction).add_mem (hz t) (he t) |
| 60 | |
| 61 | /-- The fixed affine continuous majorant of actual metric growth. -/ |
| 62 | def growthPath {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 63 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 64 | (S : SpatialBudget period hq D N R) (hN : N+6 ≤ q+1) {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 65 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) : C(Icc (0 : ℝ) T, ℝ) := |
| 66 | ⟨fun t => K.growth0 period S.B0 + K.growth1 period * energyPath period N hN T R (K.operatorPath period) e t, |
| 67 | continuous_const.add (continuous_const.mul (energyPath period N hN T R (K.operatorPath period) e).continuous)⟩ |
| 68 | |
| 69 | /-- The signed radius derivative divided by the actual positive radius. -/ |
| 70 | def radiusLossPath {T : ℝ} (R Rdot : C(Icc (0 : ℝ) T, ℝ)) (hR : ∀ t, 0 < R t) : C(Icc (0 : ℝ) T, ℝ) := |
| 71 | ⟨fun t => Rdot t/R t, Rdot.continuous.div R.continuous (fun t => (hR t).ne')⟩ |
| 72 | |
| 73 | /-- The literal continuous nonlinear forcing majorant. -/ |
| 74 | def forcingMajorant {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 75 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 76 | (S : SpatialBudget period hq D N R) (hN : N+6 ≤ q+1) {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 77 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) : C(Icc (0 : ℝ) T, ℝ) := |
| 78 | forcingBoundPath period N hN T R S.radius_pos (K.operatorPath period) e |
| 79 | S.B S.M S.B0 S.B1 S.A0 S.A2 S.residual K.c S.Rc |
| 80 | |
| 81 | /-- The actual metric-growth coefficient is bounded by the continuous affine majorant. -/ |
| 82 | theorem growthPath_bound {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 83 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 84 | (S : SpatialBudget period hq D N R) (hN : N+6 ≤ q+1) {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 85 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) (ν : ℝ) (hν : ν ≤ 1) (t : Icc (0 : ℝ) T) : |
| 86 | viscousGrowthCoefficient period (K.metric t) (K.derivative t) D.κ D.direction K.c ν |
| 87 | (metricVelocityBound period K.c S.B0 (energyPath period N hN T R (K.operatorPath period) e t)) ≤ |
| 88 | growthPath period S hN K e t := |
| 89 | viscousGrowth_fixed_metric period (K.metric t) (K.derivative t) D.κ D.direction K.c ν K.time K.first S.B0 |
| 90 | (energyPath period N hN T R (K.operatorPath period) e t) K.c_pos hν D.scale_bound D.direction_bound |
| 91 | (K.time_le t) (K.first_le t) S.B0_nonneg (energy_nonneg period S hN K e t) |
| 92 | |
| 93 | /-- The actual full-order nonlinear forcing has the continuous majorant derived from its genuine coefficient budgets. -/ |
| 94 | theorem forcingMajorant_bound {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 95 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 96 | (S : SpatialBudget period hq D N R) (hN : N+6 ≤ q+1) {hT : 0 ≤ T} (K : MetricBudget period T hT D) |
| 97 | (hG : Continuous (fun t => (D.metric.coefficient t).operator)) |
| 98 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) (U : TimeLp T (SobolevSpace period (2+q))) |
| 99 | (hU : Filter.Tendsto (fun n => pathLp T hT (maximalApproximation period q T n e)) Filter.atTop (𝓝 U)) : |
| 100 | (weightedCorrectionForcing period hq T hT D hG N hN R e U : ℝ → ℝ) ≤ᵐ[timeMeasure T] |
| 101 | extendPath T hT (forcingMajorant period S hN K e) := |
| 102 | weightedCorrectionForcing_bound period hq T hT D hG (baseMetricJet period hq D) N hN R S.radius_pos |
| 103 | S.Rc S.M S.B S.Rc_nonneg S.M_one_le S.B_nonneg S.inverse_five S.inverse_six S.radius_small |
| 104 | S.metric_derivatives S.metric_base (S.base_bound period) e U hU S.B0 S.B1 S.A0 S.A2 S.residual S.A2_nonneg |
| 105 | S.background S.background_derivative S.linear S.quadratic S.residual_bound (K.operatorPath period) K.c K.c_pos |
| 106 | (K.operator_coercive period) |
| 107 | |
| 108 | /-- The explicit cutoff-independent constant in the scalar shrinking-radius estimate. -/ |
| 109 | def combinedConstant {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 110 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 111 | (S : SpatialBudget period hq D N R) {hT : 0 ≤ T} (K : MetricBudget period T hT D) : ℝ := |
| 112 | energyConstant period (K.growth0 period S.B0) (K.growth1 period) (K.multiplier period) |
| 113 | S.B S.M S.B0 S.B1 S.A0 S.A2 K.c |
| 114 | |
| 115 | /-- The actual combined constant is strictly positive. -/ |
| 116 | theorem combinedConstant_pos {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} |
| 117 | {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} |
| 118 | (S : SpatialBudget period hq D N R) {hT : 0 ≤ T} (K : MetricBudget period T hT D) : |
| 119 | 0 < combinedConstant period S K := by |
| 120 | obtain ⟨hg0,hg1,hk⟩ := K.constants_nonneg period S.B0 S.B0_nonneg |
| 121 | exact energyConstant_pos period _ _ _ _ _ _ _ _ _ _ hg0 hg1 hk S.B_nonneg |
| 122 | (zero_le_one.trans S.M_one_le) S.B0_nonneg S.B1_nonneg S.A0_nonneg S.A2_nonneg K.c_pos |
| 123 | |
| 124 | end EulerCorrectionEnergyMajorants |