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.AllOrderDriftFinite |
| 2 | import Euler.CorrectionAssemblyRealizations |
| 3 | import Euler.CorrectionAssemblyTime |
| 4 | import Euler.CorrectionAssemblyParity |
| 5 | |
| 6 | /-! |
| 7 | # One all-order correction from the actual small-drift construction |
| 8 | |
| 9 | The finite solutions used here are `Budget.solution` from `AllOrderDriftFinite`. |
| 10 | Their existence is proved by the drift-aware finite-Sobolev solver. The generic |
| 11 | assembly proves compatibility from their literal equations and uniqueness; it |
| 12 | does not require the coarse full-velocity shrinking-radius assumption. |
| 13 | |
| 14 | The resulting single field retains the residual and target-error estimates at |
| 15 | every external cutoff and satisfies the actual equation in every finite Sobolev |
| 16 | order. Smoothness asserted here is spatial smoothness, with a jointly continuous |
| 17 | representative and its genuine first time derivative. |
| 18 | -/ |
| 19 | |
| 20 | noncomputable section |
| 21 | |
| 22 | namespace EulerAllOrderDriftCorrection |
| 23 | |
| 24 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 25 | EulerCylinderSobolev EulerSpatialSobolevInverse EulerCorrectionOperators |
| 26 | EulerAllOrderCorrectionData EulerCorrectionAssembly EulerGevreyMetricEstimate |
| 27 | EulerVolterraConvolution EulerInviscidSobolevEvolution EulerMetricTransport |
| 28 | EulerTransportDerivatives EulerSobolevPointEvaluation EulerCylinderReflection |
| 29 | EulerSobolevReflection EulerSobolevCoefficientPressure |
| 30 | |
| 31 | open scoped ContDiff |
| 32 | |
| 33 | variable (period : ℝ) [Fact (0 < period)] |
| 34 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 35 | |
| 36 | /-- The drift-aware finite solutions coincide under the actual Sobolev restriction. -/ |
| 37 | theorem Budget.solution_compatible (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : |
| 38 | (truncateOperator period (q+1)).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 39 | (B.solution period (q+1) (hq.trans (Nat.le_succ q))) = B.solution period q hq := |
| 40 | (B.family period).compatible period (B.comparisonData period) q hq |
| 41 | |
| 42 | /-- The common continuous L² correction constructed by the small-drift solver. -/ |
| 43 | def Budget.commonPath (B : Budget period hT A) : C(Icc (0 : ℝ) T, LiftL2 period) := |
| 44 | (B.family period).commonPath period |
| 45 | |
| 46 | /-- Every actual drift-aware finite solution represents this same common field. -/ |
| 47 | theorem Budget.solution_value_common (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) |
| 48 | (t : Icc (0 : ℝ) T) : |
| 49 | value period (B.solution period q hq t) = B.commonPath period t := |
| 50 | (B.family period).value_common period (B.comparisonData period) q hq t |
| 51 | |
| 52 | /-- The common correction has zero initial trace. -/ |
| 53 | theorem Budget.commonPath_initial (B : Budget period hT A) : |
| 54 | B.commonPath period ⟨0, le_rfl, hT.le⟩ = 0 := |
| 55 | (B.family period).commonPath_initial period |
| 56 | |
| 57 | /-- The common correction satisfies the genuine closed lifted divergence constraint. -/ |
| 58 | theorem Budget.commonPath_divergence (B : Budget period hT A) (t : Icc (0 : ℝ) T) : |
| 59 | B.commonPath period t ∈ divergenceFreeSpace period A.κ A.direction := |
| 60 | (B.family period).commonPath_divergence period t |
| 61 | |
| 62 | /-- The common L² path satisfies the actual projected correction equation. -/ |
| 63 | theorem Budget.commonPath_hasDerivAt (B : Budget period hT A) |
| 64 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 65 | HasDerivAt (extendPath T hT.le (B.commonPath period)) |
| 66 | (value period (((A.atOrder period 6).coefficients period le_rfl).apply |
| 67 | ⟨t, ht.1.le, ht.2.le⟩ |
| 68 | (B.solution period 6 le_rfl ⟨t, ht.1.le, ht.2.le⟩))) t := |
| 69 | (B.family period).commonPath_hasDerivAt period t ht |
| 70 | |
| 71 | /-- An actual strong spatial jet of every order for the constructed common field. -/ |
| 72 | def Budget.commonJet (B : Budget period hT A) (n : ℕ) (t : Icc (0 : ℝ) T) : |
| 73 | SpatialJet period standardDirection n (B.commonPath period t) := |
| 74 | (B.family period).commonJet period (B.comparisonData period) n t |
| 75 | |
| 76 | /-- The common correction, with genuine continuous Sobolev realizations at all orders. -/ |
| 77 | def Budget.fieldTower (B : Budget period hT A) : FieldTower period T := |
| 78 | (B.family period).fieldTower period (B.comparisonData period) |
| 79 | |
| 80 | /-- The tower's underlying field is exactly the constructed common correction. -/ |
| 81 | theorem Budget.fieldTower_field (B : Budget period hT A) : |
| 82 | (B.fieldTower period).field = B.commonPath period := rfl |
| 83 | |
| 84 | /-- Every Sobolev realization of the common correction has zero initial data. -/ |
| 85 | theorem Budget.fieldTower_initial (B : Budget period hT A) (q : ℕ) : |
| 86 | (B.fieldTower period).realization q ⟨0, le_rfl, hT.le⟩ = 0 := by |
| 87 | apply value_injective period |
| 88 | calc |
| 89 | value period ((B.fieldTower period).realization q ⟨0, le_rfl, hT.le⟩) = |
| 90 | (B.fieldTower period).field ⟨0, le_rfl, hT.le⟩ := |
| 91 | (B.fieldTower period).value_eq q ⟨0, le_rfl, hT.le⟩ |
| 92 | _ = 0 := B.commonPath_initial period |
| 93 | _ = value period (0 : SobolevSpace period q) := rfl |
| 94 | |
| 95 | /-- A finite drift-aware solution equals the common tower's realization at its order. -/ |
| 96 | theorem Budget.solution_eq_realization (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : |
| 97 | B.solution period q hq = (B.fieldTower period).realization (q+1) := |
| 98 | (B.family period).solution_eq_realization period (B.comparisonData period) q hq |
| 99 | |
| 100 | /-- Both quantitative finite-solver bounds hold for the actual common realization. |
| 101 | The radius and residual envelope are the drift-aware input budgets. -/ |
| 102 | theorem Budget.fieldTower_energy (B : Budget period hT A) (P : ℕ) (t : Icc (0 : ℝ) T) : |
| 103 | energyNorm period P (by omega : P+6 ≤ (P+6)+1) |
| 104 | (B.radius t) (B.metric.operatorPath period t) |
| 105 | ((B.fieldTower period).realization ((P+6)+1) t) ≤ |
| 106 | 2*(B.spatial (P+6) (by omega)).full.residual* |
| 107 | Real.exp (3*B.growthCoefficient*t.val) ∧ |
| 108 | energyNorm period P (by omega : P+6 ≤ (P+6)+1) |
| 109 | (B.radius t) (B.metric.operatorPath period t) |
| 110 | ((B.fieldTower period).realization ((P+6)+1) t) ≤ B.delta/2 := by |
| 111 | rw [← B.solution_eq_realization period (P+6) (by omega)] |
| 112 | exact B.solution_energy period (P+6) (by omega) P (by omega) (by omega) t |
| 113 | |
| 114 | /-- The constructed finite solution has its genuine time derivative in Hq. -/ |
| 115 | theorem Budget.solution_sobolev_hasDerivAt (B : Budget period hT A) |
| 116 | (q : ℕ) (hq : 6 ≤ q) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 117 | HasDerivAt (fun r => truncateOperator period q |
| 118 | (extendPath T hT.le (B.solution period q hq) r)) |
| 119 | (((A.atOrder period q).coefficients period hq).apply |
| 120 | ⟨t, ht.1.le, ht.2.le⟩ (B.solution period q hq ⟨t, ht.1.le, ht.2.le⟩)) t := |
| 121 | sobolev_hasDerivAt period T hT.le ((A.atOrder period q).coefficients period hq) |
| 122 | (B.solution period q hq) ((B.family period).equation q hq) t ht |
| 123 | |
| 124 | /-- Every finite Sobolev realization of the common correction satisfies the actual |
| 125 | projected nonlinear evolution, not merely an equation for an unrelated finite solve. -/ |
| 126 | theorem Budget.fieldTower_hasDerivAt (B : Budget period hT A) |
| 127 | (q : ℕ) (hq : 6 ≤ q) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 128 | HasDerivAt (extendPath T hT.le ((B.fieldTower period).realization q)) |
| 129 | (((A.atOrder period q).coefficients period hq).apply |
| 130 | ⟨t, ht.1.le, ht.2.le⟩ |
| 131 | ((B.fieldTower period).realization (q+1) ⟨t, ht.1.le, ht.2.le⟩)) t := by |
| 132 | have hs := B.solution_sobolev_hasDerivAt period q hq t ht |
| 133 | rw [B.solution_eq_realization period q hq] at hs |
| 134 | have hpath := (B.fieldTower period).truncate period q |
| 135 | have heq : (fun r => truncateOperator period q |
| 136 | (extendPath T hT.le ((B.fieldTower period).realization (q+1)) r)) = |
| 137 | extendPath T hT.le ((B.fieldTower period).realization q) := by |
| 138 | funext r |
| 139 | exact congrArg (fun f => f (projIcc 0 T hT.le r)) hpath |
| 140 | rw [heq] at hs |
| 141 | exact hs |
| 142 | |
| 143 | /-- The common realization's actual derivative is the literal raw source plus signed pressure. -/ |
| 144 | theorem Budget.fieldTower_hasDerivAt_pressure (B : Budget period hT A) |
| 145 | (q : ℕ) (hq : 6 ≤ q) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 146 | HasDerivAt (extendPath T hT.le ((B.fieldTower period).realization q)) |
| 147 | (-(A.atOrder period q).rawSource period hq ⟨t, ht.1.le, ht.2.le⟩ |
| 148 | ((B.fieldTower period).realization (q+1) ⟨t, ht.1.le, ht.2.le⟩) - |
| 149 | coefficientSobolevOperator period (A.metric.jet q ⟨t, ht.1.le, ht.2.le⟩) |
| 150 | ((A.atOrder period q).pressure period hq ⟨t, ht.1.le, ht.2.le⟩ |
| 151 | ((B.fieldTower period).realization (q+1) ⟨t, ht.1.le, ht.2.le⟩))) t := by |
| 152 | simpa only [CorrectionData.source_sobolev, Data.atOrder] using |
| 153 | B.fieldTower_hasDerivAt period q hq t ht |
| 154 | |
| 155 | /-- Canonical bounded evaluation fixes a pointwise representative of the correction. -/ |
| 156 | def Budget.pointField (B : Budget period hT A) |
| 157 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| 158 | (B.family period).pointField period t x |
| 159 | |
| 160 | /-- The pointwise correction is an actual representative of the constructed L² field. -/ |
| 161 | theorem Budget.pointField_ae (B : Budget period hT A) (t : Icc (0 : ℝ) T) : |
| 162 | (B.commonPath period t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 163 | B.pointField period t := |
| 164 | (B.family period).pointField_ae period t |
| 165 | |
| 166 | /-- The canonical correction vanishes pointwise at the initial time. -/ |
| 167 | theorem Budget.pointField_initial (B : Budget period hT A) (x : LiftDomain period) : |
| 168 | B.pointField period ⟨0, le_rfl, hT.le⟩ x = 0 := by |
| 169 | change pointEvaluation period x |
| 170 | (restrictOperator period (by omega : 3 ≤ 7) |
| 171 | ((B.family period).solution 6 le_rfl ⟨0, le_rfl, hT.le⟩)) = 0 |
| 172 | simp only [(B.family period).initial, map_zero] |
| 173 | |
| 174 | /-- The canonical correction is jointly continuous in time and the cylinder point. -/ |
| 175 | theorem Budget.pointField_joint_continuous (B : Budget period hT A) : |
| 176 | Continuous (B.pointField period).uncurry := |
| 177 | (B.family period).pointField_joint_continuous period |
| 178 | |
| 179 | /-- The one common correction has a spatially smooth representative at every time. -/ |
| 180 | theorem Budget.pointField_smooth (B : Budget period hT A) |
| 181 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 182 | ContDiff ℝ ∞ (localFieldLift period (B.pointField period t) x) := |
| 183 | (B.family period).pointField_smooth period (B.comparisonData period) t x |
| 184 | |
| 185 | /-- Its lifted divergence vanishes pointwise. -/ |
| 186 | theorem Budget.pointField_divergence (B : Budget period hT A) |
| 187 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 188 | (∑ i : Fin 3, (fieldDerivative period (coordinateDirection A.κ A.direction i) |
| 189 | (B.pointField period t) x) i) = 0 := |
| 190 | (B.family period).pointField_divergence period (B.comparisonData period) t x |
| 191 | |
| 192 | /-- Odd input data give an odd common correction by the proved PDE uniqueness. -/ |
| 193 | theorem Budget.commonPath_odd (B : Budget period hT A) (P : ParityData period A) |
| 194 | (t : Icc (0 : ℝ) T) : |
| 195 | -reflection period (B.commonPath period t) = B.commonPath period t := |
| 196 | (B.family period).commonPath_odd period (B.comparisonData period) P t |
| 197 | |
| 198 | /-- The actual common Sobolev realizations retain the prescribed odd parity. -/ |
| 199 | theorem Budget.fieldTower_odd (B : Budget period hT A) (P : ParityData period A) |
| 200 | (q : ℕ) (t : Icc (0 : ℝ) T) : |
| 201 | oddReflection period q ((B.fieldTower period).realization q t) = |
| 202 | (B.fieldTower period).realization q t := |
| 203 | (B.family period).fieldTower_odd period (B.comparisonData period) P q t |
| 204 | |
| 205 | /-- The canonical spatially smooth correction is pointwise odd for odd input data. -/ |
| 206 | theorem Budget.pointField_odd (B : Budget period hT A) (P : ParityData period A) |
| 207 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 208 | B.pointField period t (-x) = -B.pointField period t x := |
| 209 | (B.family period).pointField_odd period (B.comparisonData period) P t x |
| 210 | |
| 211 | /-- The actual pointwise time derivative, obtained from the constructed Sobolev source. -/ |
| 212 | def Budget.pointTimeDerivative (B : Budget period hT A) |
| 213 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| 214 | (B.family period).pointTimeDerivative period t x |
| 215 | |
| 216 | /-- The correction's actual first time derivative is jointly continuous. -/ |
| 217 | theorem Budget.pointTimeDerivative_joint_continuous (B : Budget period hT A) : |
| 218 | Continuous (B.pointTimeDerivative period).uncurry := |
| 219 | (B.family period).pointTimeDerivative_joint_continuous period |
| 220 | |
| 221 | /-- The actual time derivative equals the raw source and the signed pressure term. -/ |
| 222 | theorem Budget.pointTimeDerivative_eq_pressure (B : Budget period hT A) |
| 223 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 224 | B.pointTimeDerivative period t x = -(B.family period).pointRawSource period t x - |
| 225 | (A.metric.coefficient t).coefficient x ((B.family period).pointPressure period t x) := |
| 226 | (B.family period).pointTimeDerivative_eq_pressure period t x |
| 227 | |
| 228 | /-- The canonical common field has its genuine first time derivative at interior times. -/ |
| 229 | theorem Budget.pointField_hasDerivAt (B : Budget period hT A) |
| 230 | (x : LiftDomain period) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 231 | HasDerivAt (fun r => B.pointField period (projIcc 0 T hT.le r) x) |
| 232 | (B.pointTimeDerivative period ⟨t, ht.1.le, ht.2.le⟩ x) t := |
| 233 | (B.family period).pointField_hasDerivAt period x t ht |
| 234 | |
| 235 | /-- The pointwise correction equation contains the actual raw source and signed pressure. -/ |
| 236 | theorem Budget.pointField_hasDerivAt_pressure (B : Budget period hT A) |
| 237 | (x : LiftDomain period) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 238 | HasDerivAt (fun r => B.pointField period (projIcc 0 T hT.le r) x) |
| 239 | (-(B.family period).pointRawSource period ⟨t, ht.1.le, ht.2.le⟩ x - |
| 240 | (A.metric.coefficient ⟨t, ht.1.le, ht.2.le⟩).coefficient x |
| 241 | ((B.family period).pointPressure period ⟨t, ht.1.le, ht.2.le⟩ x)) t := |
| 242 | (B.family period).pointField_hasDerivAt_pressure period x t ht |
| 243 | |
| 244 | /-- Genuine coherent input bounds, with radius loss determined only by the actual |
| 245 | transport drift, construct one smooth spatial correction with all-cutoff energy |
| 246 | bounds and its actual finite-Sobolev evolution. Finite existence, compatibility, |
| 247 | energy estimates and the correction equation are conclusions here. -/ |
| 248 | theorem exists_smooth_lifted_correction (B : Budget period hT A) : |
| 249 | ∃ (E : FieldTower period T) |
| 250 | (g v : Icc (0 : ℝ) T → LiftDomain period → Vector3), |
| 251 | E.field ⟨0, le_rfl, hT.le⟩ = 0 ∧ |
| 252 | (∀ t, E.field t ∈ divergenceFreeSpace period A.κ A.direction) ∧ |
| 253 | Continuous g.uncurry ∧ |
| 254 | (∀ t x, ContDiff ℝ ∞ (localFieldLift period (g t) x)) ∧ |
| 255 | (∀ t, (E.field t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g t) ∧ |
| 256 | (∀ t x, (∑ i : Fin 3, (fieldDerivative period |
| 257 | (coordinateDirection A.κ A.direction i) (g t) x) i) = 0) ∧ |
| 258 | Continuous v.uncurry ∧ |
| 259 | (∀ x t (ht : t ∈ Ioo 0 T), |
| 260 | HasDerivAt (fun r => g (projIcc 0 T hT.le r) x) |
| 261 | (v ⟨t, ht.1.le, ht.2.le⟩ x) t) ∧ |
| 262 | (∀ (P : ℕ) t, |
| 263 | energyNorm period P (by omega : P+6 ≤ (P+6)+1) |
| 264 | (B.radius t) (B.metric.operatorPath period t) (E.realization ((P+6)+1) t) ≤ |
| 265 | 2*(B.spatial (P+6) (by omega)).full.residual* |
| 266 | Real.exp (3*B.growthCoefficient*t.val) ∧ |
| 267 | energyNorm period P (by omega : P+6 ≤ (P+6)+1) |
| 268 | (B.radius t) (B.metric.operatorPath period t) (E.realization ((P+6)+1) t) ≤ |
| 269 | B.delta/2) ∧ |
| 270 | ∀ (q : ℕ) (hq : 6 ≤ q) t (ht : t ∈ Ioo 0 T), |
| 271 | HasDerivAt (extendPath T hT.le (E.realization q)) |
| 272 | (((A.atOrder period q).coefficients period hq).apply |
| 273 | ⟨t, ht.1.le, ht.2.le⟩ (E.realization (q+1) ⟨t, ht.1.le, ht.2.le⟩)) t := by |
| 274 | exact ⟨B.fieldTower period, B.pointField period, B.pointTimeDerivative period, |
| 275 | B.commonPath_initial period, |
| 276 | B.commonPath_divergence period, B.pointField_joint_continuous period, |
| 277 | B.pointField_smooth period, B.pointField_ae period, B.pointField_divergence period, |
| 278 | B.pointTimeDerivative_joint_continuous period, B.pointField_hasDerivAt period, |
| 279 | B.fieldTower_energy period, B.fieldTower_hasDerivAt period⟩ |
| 280 | |
| 281 | end EulerAllOrderDriftCorrection |