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.AllOrderDriftRadiusBounds |
| 2 | import Euler.CorrectionAssemblySourceTower |
| 3 | import Euler.GevreyCorrectionSourceBounds |
| 4 | |
| 5 | /-! Smaller-radius quantitative bounds for the constructed common pressure |
| 6 | and the actual first time derivative of the correction. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerGevreyCorrectionSourceBounds |
| 11 | |
| 12 | open EulerH6Nonlinear |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | /-- Scaling a small error and its first derivatives leaves a linear |
| 17 | smallness factor in the actual quadratic source bound. -/ |
| 18 | theorem sourceBound_scaling {B0 B1 A0 A2 residual E DE δ : ℝ} |
| 19 | (hA2 : 0 ≤ A2) (hE : 0 ≤ E) (hDE : 0 ≤ DE) |
| 20 | (hδ : 0 ≤ δ) (hδ1 : δ ≤ 1) (hr : residual ≤ δ) : |
| 21 | sourceBound period B0 B1 A0 A2 residual (δ*E) (δ*DE) ≤ |
| 22 | sourceBound period B0 B1 A0 A2 1 E DE*δ := by |
| 23 | have hP := productConstant_nonneg period 3 |
| 24 | have hquad : 0 ≤ productConstant period 3*E*DE + A2*productConstant period 3*E^2 := by positivity |
| 25 | have hsq : δ^2 ≤ δ := by nlinarith |
| 26 | have hm := mul_le_mul_of_nonneg_left hsq hquad |
| 27 | unfold sourceBound |
| 28 | nlinarith only [hr, hm] |
| 29 | |
| 30 | end EulerGevreyCorrectionSourceBounds |
| 31 | |
| 32 | namespace EulerAllOrderDriftCorrection |
| 33 | |
| 34 | open Set Finset EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerAllOrderCorrectionData |
| 35 | EulerCorrectionOperators EulerGevreyMetricEstimate EulerSobolevGevreyOperators |
| 36 | EulerGevreyRadiusReduction EulerGevreyCorrectionSourceBounds |
| 37 | |
| 38 | variable (period : ℝ) [Fact (0 < period)] |
| 39 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 40 | |
| 41 | /-- The explicit raw-source bound before using the target-error smallness. -/ |
| 42 | def Budget.sourceSize (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : ℝ := |
| 43 | let S := (B.spatial q hq).full |
| 44 | sourceBound period S.B0 S.B1 S.A0 S.A2 S.residual |
| 45 | (B.correctionSize period) ((8/B.initialRadius)*B.correctionSize period) |
| 46 | |
| 47 | /-- The factor in the correction bound after removing the common delta. -/ |
| 48 | def Budget.baseCorrectionSize (B : Budget period hT A) : ℝ := metricAmplification B.metric.c/2 |
| 49 | |
| 50 | /-- An explicit source constant involving only the prescribed norm budgets |
| 51 | and the reciprocal initial radius; it is independent of delta. -/ |
| 52 | def Budget.sourceCost (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : ℝ := |
| 53 | let S := (B.spatial q hq).full |
| 54 | sourceBound period S.B0 S.B1 S.A0 S.A2 1 |
| 55 | (B.baseCorrectionSize period) ((8/B.initialRadius)*B.baseCorrectionSize period) |
| 56 | |
| 57 | def Budget.pressureCost (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : ℝ := |
| 58 | 2*(B.spatial q hq).full.M*B.sourceCost period q hq |
| 59 | |
| 60 | def Budget.timeDerivativeCost (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : ℝ := |
| 61 | (1+2*(B.spatial q hq).full.M*(448*(B.spatial q hq).full.B+1))*B.sourceCost period q hq |
| 62 | |
| 63 | theorem Budget.baseCorrectionSize_nonneg (B : Budget period hT A) : |
| 64 | 0 ≤ B.baseCorrectionSize period := by |
| 65 | exact div_nonneg (zero_le_one.trans (metricAmplification_one_le B.metric.c_pos)) (by norm_num) |
| 66 | |
| 67 | theorem Budget.sourceSize_le_delta (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : |
| 68 | B.sourceSize period q hq ≤ B.sourceCost period q hq*B.delta := by |
| 69 | have hr : (B.spatial q hq).full.residual ≤ B.delta := |
| 70 | (B.residual_le_delta period q hq).trans (by have := B.delta_pos; linarith) |
| 71 | have hE := B.baseCorrectionSize_nonneg period |
| 72 | have hDE : 0 ≤ (8/B.initialRadius)*B.baseCorrectionSize period := |
| 73 | mul_nonneg (div_nonneg (by norm_num) B.radius_pos.le) hE |
| 74 | have h := sourceBound_scaling period (B0 := (B.spatial q hq).full.B0) |
| 75 | (B1 := (B.spatial q hq).full.B1) (A0 := (B.spatial q hq).full.A0) |
| 76 | (B.spatial q hq).full.A2_nonneg hE hDE |
| 77 | B.delta_pos.le B.delta_le_one hr |
| 78 | convert h using 1 |
| 79 | · dsimp [Budget.sourceSize, Budget.correctionSize, Budget.baseCorrectionSize] |
| 80 | congr 1 <;> ring |
| 81 | · rfl |
| 82 | |
| 83 | theorem Budget.sourceCost_nonneg (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : |
| 84 | 0 ≤ B.sourceCost period q hq := by |
| 85 | exact sourceBound_nonneg period (B.spatial q hq).full.B0_nonneg (B.spatial q hq).full.B1_nonneg |
| 86 | (B.spatial q hq).full.A0_nonneg (B.spatial q hq).full.A2_nonneg (by norm_num) |
| 87 | (B.baseCorrectionSize_nonneg period) |
| 88 | (mul_nonneg (div_nonneg (by norm_num) B.radius_pos.le) (B.baseCorrectionSize_nonneg period)) |
| 89 | |
| 90 | private theorem tower_weightedNorm_eq (F : FieldTower period T) (s u N : ℕ) |
| 91 | (hs : N+6 ≤ s) (hu : N+6 ≤ u) (r : ℝ) (t : Icc (0 : ℝ) T) : |
| 92 | weightedNorm period 6 N r (F.realization s t) = |
| 93 | weightedNorm period 6 N r (F.realization u t) := by |
| 94 | apply weightedNorm_unique period 6 N r _ _ _ hs hu |
| 95 | rw [F.value_eq, F.value_eq] |
| 96 | |
| 97 | /-- The common raw source is bounded at the fixed smaller radius, using |
| 98 | only the actual correction and derivative bounds already proved. -/ |
| 99 | theorem Budget.rawSourceTower_reducedNorm (B : Budget period hT A) |
| 100 | (q : ℕ) (hq : 6 ≤ q) (N : ℕ) (hNq : N+4 ≤ q) |
| 101 | (s : ℕ) (hs : N+6 ≤ s) (t : Icc (0 : ℝ) T) : |
| 102 | weightedNorm period 6 N (B.reducedRadius period) ((B.rawSourceTower period).realization s t) ≤ |
| 103 | B.sourceSize period q hq := by |
| 104 | have hrR : B.reducedRadius period ≤ B.radius t := by |
| 105 | have h := B.reducedRadius_le_half period t |
| 106 | have hp := (B.spatial q hq).full.radius_pos t |
| 107 | linarith |
| 108 | have h := rawSource_smallerRadius_bound period (B.spatial q hq).full N (by omega) (by omega) |
| 109 | t (B.reducedRadius period) (B.reducedRadius_pos period) hrR |
| 110 | (B.correctionSize period) ((8/B.initialRadius)*B.correctionSize period) |
| 111 | ((B.fieldTower period).realization (q+3) t) |
| 112 | (B.fieldTower_reducedNorm period (q+3) N (by omega) t) |
| 113 | (B.fieldTower_reducedDerivativeNorm period (q+2) N (by omega) t) |
| 114 | change weightedNorm period 6 N (B.reducedRadius period) |
| 115 | ((A.atOrder period (q+2)).rawSource period (by omega) t |
| 116 | ((B.fieldTower period).realization (q+3) t)) ≤ B.sourceSize period q hq at h |
| 117 | rw [B.rawSource_eq_realization period (q+2) (by omega)] at h |
| 118 | rw [tower_weightedNorm_eq period (B.rawSourceTower period) s (q+2) N hs (by omega)] |
| 119 | exact h |
| 120 | |
| 121 | /-- The pressure is the actual common signed pressure obtained from the |
| 122 | coercive elliptic inverse, with an explicit smaller-radius bound. -/ |
| 123 | theorem Budget.pressureTower_reducedNorm (B : Budget period hT A) |
| 124 | (q : ℕ) (hq : 6 ≤ q) (N : ℕ) (hNq : N+4 ≤ q) |
| 125 | (s : ℕ) (hs : N+6 ≤ s) (t : Icc (0 : ℝ) T) : |
| 126 | weightedNorm period 6 N (B.reducedRadius period) ((B.pressureTower period).realization s t) ≤ |
| 127 | 2*(B.spatial q hq).full.M*B.sourceSize period q hq := by |
| 128 | have hrR : B.reducedRadius period ≤ B.radius t := by |
| 129 | have h := B.reducedRadius_le_half period t |
| 130 | have hp := (B.spatial q hq).full.radius_pos t |
| 131 | linarith |
| 132 | have h := pressure_smallerRadius_bound period (B.spatial q hq).full N (by omega) (by omega) |
| 133 | t (B.reducedRadius period) (B.reducedRadius_pos period) hrR |
| 134 | (B.correctionSize period) ((8/B.initialRadius)*B.correctionSize period) |
| 135 | ((B.fieldTower period).realization (q+3) t) |
| 136 | (B.fieldTower_reducedNorm period (q+3) N (by omega) t) |
| 137 | (B.fieldTower_reducedDerivativeNorm period (q+2) N (by omega) t) |
| 138 | change weightedNorm period 6 N (B.reducedRadius period) |
| 139 | ((A.atOrder period (q+2)).pressure period (by omega) t |
| 140 | ((B.fieldTower period).realization (q+3) t)) ≤ |
| 141 | 2*(B.spatial q hq).full.M*B.sourceSize period q hq at h |
| 142 | rw [← B.solution_eq_realization period (q+2) (by omega), B.pressure_eq_realization] at h |
| 143 | rw [tower_weightedNorm_eq period (B.pressureTower period) s (q+2) N hs (by omega)] |
| 144 | exact h |
| 145 | |
| 146 | /-- The actual continuous time-derivative field has the bound obtained |
| 147 | from its literal raw-source and signed-pressure equation. -/ |
| 148 | theorem Budget.timeDerivativeTower_reducedNorm (B : Budget period hT A) |
| 149 | (q : ℕ) (hq : 6 ≤ q) (N : ℕ) (hNq : N+4 ≤ q) |
| 150 | (s : ℕ) (hs : N+6 ≤ s) (t : Icc (0 : ℝ) T) : |
| 151 | weightedNorm period 6 N (B.reducedRadius period) ((B.timeDerivativeTower period).realization s t) ≤ |
| 152 | (1+2*(B.spatial q hq).full.M*(448*(B.spatial q hq).full.B+1))*B.sourceSize period q hq := by |
| 153 | have hrR : B.reducedRadius period ≤ B.radius t := by |
| 154 | have h := B.reducedRadius_le_half period t |
| 155 | have hp := (B.spatial q hq).full.radius_pos t |
| 156 | linarith |
| 157 | have h := timeSource_smallerRadius_bound period (B.spatial q hq).full N (by omega) (by omega) |
| 158 | t (B.reducedRadius period) (B.reducedRadius_pos period) hrR |
| 159 | (B.correctionSize period) ((8/B.initialRadius)*B.correctionSize period) |
| 160 | ((B.fieldTower period).realization (q+3) t) |
| 161 | (B.fieldTower_reducedNorm period (q+3) N (by omega) t) |
| 162 | (B.fieldTower_reducedDerivativeNorm period (q+2) N (by omega) t) |
| 163 | change weightedNorm period 6 N (B.reducedRadius period) |
| 164 | (((A.atOrder period (q+2)).coefficients period (by omega)).apply t |
| 165 | ((B.fieldTower period).realization (q+3) t)) ≤ |
| 166 | (1+2*(B.spatial q hq).full.M*(448*(B.spatial q hq).full.B+1))*B.sourceSize period q hq at h |
| 167 | rw [B.source_eq_timeDerivativeTower period (q+2) (by omega)] at h |
| 168 | rw [tower_weightedNorm_eq period (B.timeDerivativeTower period) s (q+2) N hs (by omega)] |
| 169 | exact h |
| 170 | |
| 171 | /-- The actual pressure-gradient norm is linear in the target error. -/ |
| 172 | theorem Budget.pressureTower_reducedNorm_delta (B : Budget period hT A) |
| 173 | (q : ℕ) (hq : 6 ≤ q) (N : ℕ) (hNq : N+4 ≤ q) |
| 174 | (s : ℕ) (hs : N+6 ≤ s) (t : Icc (0 : ℝ) T) : |
| 175 | weightedNorm period 6 N (B.reducedRadius period) ((B.pressureTower period).realization s t) ≤ |
| 176 | B.pressureCost period q hq*B.delta := by |
| 177 | have hM := zero_le_one.trans (B.spatial q hq).full.M_one_le |
| 178 | exact (B.pressureTower_reducedNorm period q hq N hNq s hs t).trans |
| 179 | ((mul_le_mul_of_nonneg_left (B.sourceSize_le_delta period q hq) (by positivity)).trans_eq |
| 180 | (by unfold Budget.pressureCost; ring)) |
| 181 | |
| 182 | /-- The actual first time derivative has the same linear target-error |
| 183 | factor, at the same fixed radius and every finite external cutoff. -/ |
| 184 | theorem Budget.timeDerivativeTower_reducedNorm_delta (B : Budget period hT A) |
| 185 | (q : ℕ) (hq : 6 ≤ q) (N : ℕ) (hNq : N+4 ≤ q) |
| 186 | (s : ℕ) (hs : N+6 ≤ s) (t : Icc (0 : ℝ) T) : |
| 187 | weightedNorm period 6 N (B.reducedRadius period) ((B.timeDerivativeTower period).realization s t) ≤ |
| 188 | B.timeDerivativeCost period q hq*B.delta := by |
| 189 | have hM := zero_le_one.trans (B.spatial q hq).full.M_one_le |
| 190 | have hB := (B.spatial q hq).full.B_nonneg |
| 191 | exact (B.timeDerivativeTower_reducedNorm period q hq N hNq s hs t).trans |
| 192 | ((mul_le_mul_of_nonneg_left (B.sourceSize_le_delta period q hq) (by positivity)).trans_eq |
| 193 | (by unfold Budget.timeDerivativeCost; ring)) |
| 194 | |
| 195 | end EulerAllOrderDriftCorrection |