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.AllOrderCorrectionData |
| 2 | import Euler.GevreyStabilityBudget |
| 3 | |
| 4 | /-! Actual finite correction families and input comparison bounds, independent of any Gevrey radius-loss budget. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCorrectionAssembly |
| 9 | |
| 10 | open MeasureTheory Set EulerLiftedGradientSpace EulerLiftedPressure EulerCylinderSobolevSpace |
| 11 | EulerCorrectionOperators EulerCorrectionEnergyData EulerAllOrderCorrectionData |
| 12 | EulerCorrectionStabilityBudget EulerGevreyStabilityBudget EulerVolterraConvolution |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | /-- One genuine inverse metric and actual base coefficient bounds provide stability at every finite Sobolev order. |
| 17 | No shrinking-radius condition or smallness of the approximate velocity is required. -/ |
| 18 | def stabilityBudgetOfBase {T : ℝ} (hT : 0 < T) (A : Data period T) |
| 19 | (K : MetricBudget period T hT.le (A.atOrder period 1)) |
| 20 | (R : C(Icc (0 : ℝ) T, ℝ)) |
| 21 | (S : SpatialBudget period (by norm_num : 6 ≤ 8) (A.atOrder period 8) 2 R) |
| 22 | (q : ℕ) : StabilityBudget period hT.le (A.atOrder period q) where |
| 23 | metric := K.metric |
| 24 | continuous := K.continuous |
| 25 | derivative := K.derivative |
| 26 | hasDeriv := K.hasDeriv |
| 27 | c := K.c |
| 28 | c_pos := K.c_pos |
| 29 | symmetric := K.symmetric |
| 30 | coercive := K.coercive |
| 31 | inverse := K.inverse |
| 32 | bound := K.bound |
| 33 | first := K.first |
| 34 | time := K.time |
| 35 | linear := S.A0 |
| 36 | quadratic := S.A2 |
| 37 | bound_le t := (coefficientOperator_norm_le (K.metric t).coefficient |
| 38 | (K.metric t).measurable (K.metric t).bound (K.metric t).norm_bound).trans (K.bound_le t) |
| 39 | first_le := K.first_le |
| 40 | time_le := K.time_le |
| 41 | linear_le t := (coefficient_bound_le_weighted period (A.linear.jet 8 t) 2 (R t) |
| 42 | (S.radius_pos t)).trans (S.linear t) |
| 43 | quadratic_le t := (Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset (Fin 3))) => |
| 44 | coefficient_bound_le_weighted period ((A.quadratic i).jet 8 t) 2 (R t) |
| 45 | (S.radius_pos t))).trans (S.quadratic t) |
| 46 | |
| 47 | /-- Genuine input bounds sufficient to compare any finite solutions of the same prescribed data. |
| 48 | This contains no correction, compatibility, solution-energy or radius-loss assumption. -/ |
| 49 | structure ComparisonData {T : ℝ} (hT : 0 < T) (A : Data period T) where |
| 50 | /-- The actual common inverse metric and its time derivative. -/ |
| 51 | metric : MetricBudget period T hT.le (A.atOrder period 1) |
| 52 | /-- A radius used solely to state the actual base coefficient bounds. -/ |
| 53 | radius : C(Icc (0 : ℝ) T, ℝ) |
| 54 | /-- Genuine base-order spatial bounds; their background bounds need not be small. -/ |
| 55 | spatial : SpatialBudget period (by norm_num : 6 ≤ 8) (A.atOrder period 8) 2 radius |
| 56 | /-- The prescribed approximate solution obeys the actual lifted divergence constraint. -/ |
| 57 | divergence : ∀ t, A.approximation.field t ∈ divergenceFreeSpace period A.κ A.direction |
| 58 | |
| 59 | /-- The supplied genuine comparison data construct a stability budget at any order. -/ |
| 60 | def ComparisonData.stabilityBudget {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 61 | (C : ComparisonData period hT A) (q : ℕ) : StabilityBudget period hT.le (A.atOrder period q) := |
| 62 | stabilityBudgetOfBase period hT A C.metric C.radius C.spatial q |
| 63 | |
| 64 | /-- An actual finite-order correction family supplied by separate finite-existence theorems. |
| 65 | Only its paths, zero initial data, divergence constraints and literal PDEs are inputs; compatibility is not assumed. -/ |
| 66 | structure FiniteFamily {T : ℝ} (hT : 0 < T) (A : Data period T) where |
| 67 | /-- A genuine continuous finite Sobolev correction at each order. -/ |
| 68 | solution : ∀ q, 6 ≤ q → C(Icc (0 : ℝ) T, SobolevSpace period (q+1)) |
| 69 | /-- Every correction starts from zero. -/ |
| 70 | initial : ∀ q hq, solution q hq ⟨0, le_rfl, hT.le⟩ = 0 |
| 71 | /-- Every correction satisfies the actual lifted divergence constraint. -/ |
| 72 | divergence : ∀ q hq t, value period (solution q hq t) ∈ divergenceFreeSpace period A.κ A.direction |
| 73 | /-- Every correction satisfies the literal projected inviscid equation at interior times. -/ |
| 74 | equation : ∀ q hq t (ht : t ∈ Ioo 0 T), |
| 75 | HasDerivAt (fun r => value period (extendPath T hT.le (solution q hq) r)) |
| 76 | (value period (((A.atOrder period q).coefficients period hq).apply |
| 77 | ⟨t, ht.1.le, ht.2.le⟩ (solution q hq ⟨t, ht.1.le, ht.2.le⟩))) t |
| 78 | |
| 79 | /-- Choose an actual finite correction family from proved finite-existence statements. |
| 80 | This is an assembly helper conditional on finite existence, not an independent source existence theorem. -/ |
| 81 | def finiteFamilyOfExists {T : ℝ} (hT : 0 < T) (A : Data period T) |
| 82 | (H : ∀ q (hq : 6 ≤ q), ∃ e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1)), |
| 83 | e ⟨0, le_rfl, hT.le⟩ = 0 ∧ |
| 84 | (∀ t, value period (e t) ∈ divergenceFreeSpace period A.κ A.direction) ∧ |
| 85 | ∀ t (ht : t ∈ Ioo 0 T), |
| 86 | HasDerivAt (fun r => value period (extendPath T hT.le e r)) |
| 87 | (value period (((A.atOrder period q).coefficients period hq).apply |
| 88 | ⟨t, ht.1.le, ht.2.le⟩ (e ⟨t, ht.1.le, ht.2.le⟩))) t) : FiniteFamily period hT A where |
| 89 | solution q hq := Classical.choose (H q hq) |
| 90 | initial q hq := (Classical.choose_spec (H q hq)).1 |
| 91 | divergence q hq := (Classical.choose_spec (H q hq)).2.1 |
| 92 | equation q hq := (Classical.choose_spec (H q hq)).2.2 |
| 93 | |
| 94 | end EulerCorrectionAssembly |