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.GlobalInviscidGevrey |
| 2 | import Euler.InviscidCorrectionCompatibility |
| 3 | |
| 4 | /-! Coherent prescribed cylinder data at every finite Sobolev order. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerAllOrderCorrectionData |
| 9 | |
| 10 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 11 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerSobolevCoefficientPressure |
| 12 | EulerCorrectionLowerData EulerCorrectionEnergyData |
| 13 | open scoped Topology |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- A single actual coefficient field with genuine derivative jets and continuous multiplier action at every finite order. -/ |
| 18 | structure CoefficientTower (T : ℝ) where |
| 19 | /-- The actual smooth bounded coefficient at each time. -/ |
| 20 | coefficient : Icc (0 : ℝ) T → SmoothCoefficient period |
| 21 | /-- Genuine strong derivative jets of this same coefficient. -/ |
| 22 | jet : ∀ q t, CoefficientJet period standardDirection q (coefficient t) |
| 23 | /-- Actual multiplier continuity at every finite Sobolev order. -/ |
| 24 | continuous : ∀ q, Continuous (fun t => coefficientSobolevOperator period (jet q t)) |
| 25 | |
| 26 | /-- A single prescribed L² path realized by actual continuous Sobolev paths at every order. -/ |
| 27 | structure FieldTower (T : ℝ) where |
| 28 | /-- The common actual L² field path. -/ |
| 29 | field : C(Icc (0 : ℝ) T,LiftL2 period) |
| 30 | /-- Actual finite-order Sobolev realizations of that field. -/ |
| 31 | realization : ∀ q, C(Icc (0 : ℝ) T,SobolevSpace period q) |
| 32 | /-- Each realization represents exactly the prescribed field. -/ |
| 33 | value_eq : ∀ q t, value period (realization q t)=field t |
| 34 | |
| 35 | /-- Coherence of prescribed Sobolev realizations follows from genuine derivative uniqueness. -/ |
| 36 | theorem FieldTower.truncate {T : ℝ} (f : FieldTower period T) (q : ℕ) : |
| 37 | (truncateOperator period q).compLeftContinuous ℝ (Icc (0 : ℝ) T) (f.realization (q+1)) = |
| 38 | f.realization q := by |
| 39 | apply ContinuousMap.ext |
| 40 | intro t |
| 41 | apply value_injective period |
| 42 | change value period (truncateOperator period q (f.realization (q+1) t))=value period (f.realization q t) |
| 43 | rw [value_truncateOperator,f.value_eq,f.value_eq] |
| 44 | |
| 45 | /-- Actual all-order prescribed coefficient, approximation and residual data; no correction solution or energy estimate is contained here. -/ |
| 46 | structure Data (T : ℝ) where |
| 47 | /-- The fixed spatial scale in the lifted derivative. -/ |
| 48 | κ : ℝ |
| 49 | /-- The fixed angular direction. -/ |
| 50 | direction : Vector3 |
| 51 | /-- The actual scale bound used by transport. -/ |
| 52 | scale_bound : |κ| ≤ 1 |
| 53 | /-- The actual direction bound used by transport. -/ |
| 54 | direction_bound : ‖direction‖ ≤ 1 |
| 55 | /-- The actual pressure coefficient and all its derivative jets. -/ |
| 56 | metric : CoefficientTower period T |
| 57 | /-- The coefficient is continuous as an actual L² multiplier. -/ |
| 58 | metric_continuous : Continuous (fun t => (metric.coefficient t).operator) |
| 59 | /-- The actual positive coercivity constant. -/ |
| 60 | coercivity : ℝ |
| 61 | /-- Strict positivity of that constant. -/ |
| 62 | coercivity_pos : 0 < coercivity |
| 63 | /-- Pointwise coercivity of the actual coefficient. -/ |
| 64 | metric_pos : ∀ t x v, coercivity*‖v‖^2 ≤ inner ℝ ((metric.coefficient t).coefficient x v) v |
| 65 | /-- The actual order-zero linear coefficient. -/ |
| 66 | linear : CoefficientTower period T |
| 67 | /-- The three actual order-zero quadratic coefficients. -/ |
| 68 | quadratic : Fin 3 → CoefficientTower period T |
| 69 | /-- The prescribed approximate solution, with all actual Sobolev realizations. -/ |
| 70 | approximation : FieldTower period T |
| 71 | /-- The prescribed residual, with all actual Sobolev realizations. -/ |
| 72 | residual : FieldTower period T |
| 73 | |
| 74 | /-- The literal finite-order correction data extracted from a coherent prescribed tower. -/ |
| 75 | def Data.atOrder {T : ℝ} (A : Data period T) (q : ℕ) : CorrectionData period q (Icc (0 : ℝ) T) where |
| 76 | κ := A.κ |
| 77 | direction := A.direction |
| 78 | scale_bound := A.scale_bound |
| 79 | direction_bound := A.direction_bound |
| 80 | metric := ⟨A.metric.coefficient,A.metric.jet q,A.metric.continuous q⟩ |
| 81 | coercivity := A.coercivity |
| 82 | coercivity_pos := A.coercivity_pos |
| 83 | metric_pos := A.metric_pos |
| 84 | linear := ⟨A.linear.coefficient,A.linear.jet q,A.linear.continuous q⟩ |
| 85 | quadratic i := ⟨(A.quadratic i).coefficient,(A.quadratic i).jet q,(A.quadratic i).continuous q⟩ |
| 86 | approximation := A.approximation.realization (q+1) |
| 87 | residual := A.residual.realization q |
| 88 | |
| 89 | /-- Lowering the actual prescribed data gives exactly the next member of the same tower. -/ |
| 90 | theorem Data.lower_atOrder {T : ℝ} (A : Data period T) (q : ℕ) : |
| 91 | lowerData period (A.atOrder period (q+1)) (A.metric.jet q) (A.linear.jet q) |
| 92 | (fun i => (A.quadratic i).jet q) (A.metric.continuous q) (A.linear.continuous q) |
| 93 | (fun i => (A.quadratic i).continuous q) = A.atOrder period q := by |
| 94 | unfold lowerData Data.atOrder |
| 95 | congr 1 |
| 96 | · exact A.approximation.truncate period (q+1) |
| 97 | · exact A.residual.truncate period q |
| 98 | |
| 99 | /-- A single actual inverse-metric budget applies to every finite realization of the same coefficient field. -/ |
| 100 | def Data.metricBudget {T : ℝ} (A : Data period T) (hT : 0 ≤ T) |
| 101 | (K : MetricBudget period T hT (A.atOrder period 1)) (q : ℕ) : |
| 102 | MetricBudget period T hT (A.atOrder period (q+1)) where |
| 103 | metric := K.metric |
| 104 | continuous := K.continuous |
| 105 | derivative := K.derivative |
| 106 | hasDeriv := K.hasDeriv |
| 107 | c := K.c |
| 108 | c_pos := K.c_pos |
| 109 | symmetric := K.symmetric |
| 110 | coercive := K.coercive |
| 111 | inverse := K.inverse |
| 112 | bound := K.bound |
| 113 | first := K.first |
| 114 | time := K.time |
| 115 | bound_nonneg := K.bound_nonneg |
| 116 | first_nonneg := K.first_nonneg |
| 117 | time_nonneg := K.time_nonneg |
| 118 | bound_le := K.bound_le |
| 119 | first_le := K.first_le |
| 120 | time_le := K.time_le |
| 121 | |
| 122 | end EulerAllOrderCorrectionData |