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.ViscosityCauchy |
| 2 | import Euler.CorrectionEnergyData |
| 3 | import Euler.CorrectionLowerData |
| 4 | |
| 5 | /-! The already-proved Gevrey budgets supply every actual vanishing-viscosity stability budget. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerGevreyStabilityBudget |
| 10 | |
| 11 | open MeasureTheory Set EulerLiftedGradientSpace EulerLiftedPressure EulerCylinderSobolevSpace |
| 12 | EulerCylinderSobolev EulerSpatialSobolevInverse EulerJetProductBounds EulerH6Pressure |
| 13 | EulerSobolevGevreyOperators EulerPacketWeights EulerSobolevCoefficientPressure |
| 14 | EulerCorrectionOperators EulerCorrectionLowerData EulerCorrectionEnergyData EulerCorrectionStabilityBudget |
| 15 | open scoped Topology |
| 16 | |
| 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | |
| 19 | omit [Fact (0 < period)] in |
| 20 | /-- The actual uniform coefficient bound is contained in its fixed H6 coefficient block. -/ |
| 21 | theorem coefficient_bound_le_block {s : ℕ} {A : SmoothCoefficient period} |
| 22 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) : |
| 23 | (A.bound : ℝ) ≤ coefficientBlock period K 6 0 := by |
| 24 | have hsum : 0 ≤ ∑ r ∈ Finset.range 7, boundLevel period K r := |
| 25 | Finset.sum_nonneg (fun r _ => boundLevel_nonneg K) |
| 26 | have hsingle : boundLevel period K 0 ≤ ∑ r ∈ Finset.range 7, boundLevel period K r := |
| 27 | Finset.single_le_sum (f := fun r => boundLevel period K r) (fun r _ => boundLevel_nonneg K) (by norm_num : 0 ∈ Finset.range 7) |
| 28 | have hzero : boundLevel period K 0 = (A.bound : ℝ) := by cases K <;> simp only [boundLevel] |
| 29 | rw [hzero] at hsingle |
| 30 | unfold coefficientBlock |
| 31 | norm_num only [Nat.reduceAdd,zero_add,pow_succ,pow_zero,one_mul] |
| 32 | nlinarith only [hsum,hsingle] |
| 33 | |
| 34 | omit [Fact (0 < period)] in |
| 35 | /-- The actual uniform coefficient bound is contained in every positive-radius truncated Gevrey coefficient sum. -/ |
| 36 | theorem coefficient_bound_le_weighted {s : ℕ} {A : SmoothCoefficient period} |
| 37 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 38 | (N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) : |
| 39 | (A.bound : ℝ) ≤ weightedCoefficient period K 6 N ρ := by |
| 40 | have hsingle : weight ρ 0*coefficientBlock period K 6 0 ≤ weightedCoefficient period K 6 N ρ := |
| 41 | Finset.single_le_sum (f := fun n => weight ρ n*coefficientBlock period K 6 n) |
| 42 | (fun n _ => mul_nonneg (weight_pos hρ n).le (coefficientBlock_nonneg K)) |
| 43 | (by simp : 0 ∈ Finset.range (N+1)) |
| 44 | norm_num only [weight,pow_zero,Nat.factorial_zero,Nat.cast_one,one_pow,div_one,one_mul] at hsingle |
| 45 | exact (coefficient_bound_le_block period K).trans hsingle |
| 46 | |
| 47 | /-- The concrete global Gevrey and metric budgets directly construct the viscosity comparison budget on the genuine lower equation. -/ |
| 48 | def stabilityBudgetLower {q : ℕ} {T : ℝ} (hT : 0 ≤ T) |
| 49 | (D : CorrectionData period (q+1) (Icc (0 : ℝ) T)) |
| 50 | (KG : ∀ t, EulerSpatialSobolevInverse.CoefficientJet period standardDirection q (D.metric.coefficient t)) |
| 51 | (KL : ∀ t, EulerSpatialSobolevInverse.CoefficientJet period standardDirection q (D.linear.coefficient t)) |
| 52 | (KQ : ∀ i t, EulerSpatialSobolevInverse.CoefficientJet period standardDirection q ((D.quadratic i).coefficient t)) |
| 53 | (hG : Continuous (fun t => coefficientSobolevOperator period (KG t))) |
| 54 | (hL : Continuous (fun t => coefficientSobolevOperator period (KL t))) |
| 55 | (hQ : ∀ i, Continuous (fun t => coefficientSobolevOperator period (KQ i t))) |
| 56 | (N : ℕ) (R : C(Icc (0 : ℝ) T,ℝ)) (hq : 6 ≤ q+1) |
| 57 | (B : SpatialBudget period hq D N R) (K : MetricBudget period T hT D) : |
| 58 | StabilityBudget period hT (lowerData period D KG KL KQ hG hL hQ) where |
| 59 | metric := K.metric |
| 60 | continuous := K.continuous |
| 61 | derivative := K.derivative |
| 62 | hasDeriv := K.hasDeriv |
| 63 | c := K.c |
| 64 | c_pos := K.c_pos |
| 65 | symmetric := K.symmetric |
| 66 | coercive := K.coercive |
| 67 | inverse := K.inverse |
| 68 | bound := K.bound |
| 69 | first := K.first |
| 70 | time := K.time |
| 71 | linear := B.A0 |
| 72 | quadratic := B.A2 |
| 73 | bound_le t := (coefficientOperator_norm_le (K.metric t).coefficient (K.metric t).measurable |
| 74 | (K.metric t).bound (K.metric t).norm_bound).trans (K.bound_le t) |
| 75 | first_le := K.first_le |
| 76 | time_le := K.time_le |
| 77 | linear_le t := (coefficient_bound_le_weighted period (D.linear.jet t) N (R t) (B.radius_pos t)).trans (B.linear t) |
| 78 | quadratic_le t := (Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset (Fin 3))) => |
| 79 | coefficient_bound_le_weighted period ((D.quadratic i).jet t) N (R t) (B.radius_pos t))).trans (B.quadratic t) |
| 80 | |
| 81 | end EulerGevreyStabilityBudget |