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 common continuous L² correction constructed by the small-drift solver. -/ |
| 37 | def Budget.commonPath (B : Budget period hT A) : C(Icc (0 : ℝ) T, LiftL2 period) := |
| 38 | (B.family period).commonPath period |
| 39 | |
| 40 | /-- Every actual drift-aware finite solution represents this same common field. -/ |
| 41 | theorem Budget.solution_value_common (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) |
| 42 | (t : Icc (0 : ℝ) T) : |
| 43 | value period (B.solution period q hq t) = B.commonPath period t := |
| 44 | (B.family period).value_common period (B.comparisonData period) q hq t |
| 45 | |
| 46 | /-- The common correction has zero initial trace. -/ |
| 47 | theorem Budget.commonPath_initial (B : Budget period hT A) : |
| 48 | B.commonPath period ⟨0, le_rfl, hT.le⟩ = 0 := |
| 49 | (B.family period).commonPath_initial period |
| 50 | |
| 51 | /-- The common correction satisfies the genuine closed lifted divergence constraint. -/ |
| 52 | theorem Budget.commonPath_divergence (B : Budget period hT A) (t : Icc (0 : ℝ) T) : |
| 53 | B.commonPath period t ∈ divergenceFreeSpace period A.κ A.direction := |
| 54 | (B.family period).commonPath_divergence period t |
| 55 | |
| 56 | /-- The common correction, with genuine continuous Sobolev realizations at all orders. -/ |
| 57 | def Budget.fieldTower (B : Budget period hT A) : FieldTower period T := |
| 58 | (B.family period).fieldTower period (B.comparisonData period) |
| 59 | |
| 60 | /-- Every Sobolev realization of the common correction has zero initial data. -/ |
| 61 | theorem Budget.fieldTower_initial (B : Budget period hT A) (q : ℕ) : |
| 62 | (B.fieldTower period).realization q ⟨0, le_rfl, hT.le⟩ = 0 := by |
| 63 | apply value_injective period |
| 64 | calc |
| 65 | value period ((B.fieldTower period).realization q ⟨0, le_rfl, hT.le⟩) = |
| 66 | (B.fieldTower period).field ⟨0, le_rfl, hT.le⟩ := |
| 67 | (B.fieldTower period).value_eq q ⟨0, le_rfl, hT.le⟩ |
| 68 | _ = 0 := B.commonPath_initial period |
| 69 | _ = value period (0 : SobolevSpace period q) := rfl |
| 70 | |
| 71 | /-- A finite drift-aware solution equals the common tower's realization at its order. -/ |
| 72 | theorem Budget.solution_eq_realization (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : |
| 73 | B.solution period q hq = (B.fieldTower period).realization (q+1) := |
| 74 | (B.family period).solution_eq_realization period (B.comparisonData period) q hq |
| 75 | |
| 76 | /-- Both quantitative finite-solver bounds hold for the actual common realization. |
| 77 | The radius and residual envelope are the drift-aware input budgets. -/ |
| 78 | theorem Budget.fieldTower_energy (B : Budget period hT A) (P : ℕ) (t : Icc (0 : ℝ) T) : |
| 79 | energyNorm period P (by omega : P+6 ≤ (P+6)+1) |
| 80 | (B.radius t) (B.metric.operatorPath period t) |
| 81 | ((B.fieldTower period).realization ((P+6)+1) t) ≤ |
| 82 | 2*(B.spatial (P+6) (by omega)).full.residual* |
| 83 | Real.exp (3*B.growthCoefficient*t.val) ∧ |
| 84 | energyNorm period P (by omega : P+6 ≤ (P+6)+1) |
| 85 | (B.radius t) (B.metric.operatorPath period t) |
| 86 | ((B.fieldTower period).realization ((P+6)+1) t) ≤ B.delta/2 := by |
| 87 | rw [← B.solution_eq_realization period (P+6) (by omega)] |
| 88 | exact B.solution_energy period (P+6) (by omega) P (by omega) (by omega) t |
| 89 | |
| 90 | /-- The constructed finite solution has its genuine time derivative in Hq. -/ |
| 91 | theorem Budget.solution_sobolev_hasDerivAt (B : Budget period hT A) |
| 92 | (q : ℕ) (hq : 6 ≤ q) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 93 | HasDerivAt (fun r => truncateOperator period q |
| 94 | (extendPath T hT.le (B.solution period q hq) r)) |
| 95 | (((A.atOrder period q).coefficients period hq).apply |
| 96 | ⟨t, ht.1.le, ht.2.le⟩ (B.solution period q hq ⟨t, ht.1.le, ht.2.le⟩)) t := |
| 97 | sobolev_hasDerivAt period T hT.le ((A.atOrder period q).coefficients period hq) |
| 98 | (B.solution period q hq) ((B.family period).equation q hq) t ht |
| 99 | |
| 100 | /-- Every finite Sobolev realization of the common correction satisfies the actual |
| 101 | projected nonlinear evolution, not merely an equation for an unrelated finite solve. -/ |
| 102 | theorem Budget.fieldTower_hasDerivAt (B : Budget period hT A) |
| 103 | (q : ℕ) (hq : 6 ≤ q) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 104 | HasDerivAt (extendPath T hT.le ((B.fieldTower period).realization q)) |
| 105 | (((A.atOrder period q).coefficients period hq).apply |
| 106 | ⟨t, ht.1.le, ht.2.le⟩ |
| 107 | ((B.fieldTower period).realization (q+1) ⟨t, ht.1.le, ht.2.le⟩)) t := by |
| 108 | have hs := B.solution_sobolev_hasDerivAt period q hq t ht |
| 109 | rw [B.solution_eq_realization period q hq] at hs |
| 110 | have hpath := (B.fieldTower period).truncate period q |
| 111 | have heq : (fun r => truncateOperator period q |
| 112 | (extendPath T hT.le ((B.fieldTower period).realization (q+1)) r)) = |
| 113 | extendPath T hT.le ((B.fieldTower period).realization q) := by |
| 114 | funext r |
| 115 | exact congrArg (fun f => f (projIcc 0 T hT.le r)) hpath |
| 116 | rw [heq] at hs |
| 117 | exact hs |
| 118 | |
| 119 | /-- The common realization's actual derivative is the literal raw source plus signed pressure. -/ |
| 120 | theorem Budget.fieldTower_hasDerivAt_pressure (B : Budget period hT A) |
| 121 | (q : ℕ) (hq : 6 ≤ q) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 122 | HasDerivAt (extendPath T hT.le ((B.fieldTower period).realization q)) |
| 123 | (-(A.atOrder period q).rawSource period hq ⟨t, ht.1.le, ht.2.le⟩ |
| 124 | ((B.fieldTower period).realization (q+1) ⟨t, ht.1.le, ht.2.le⟩) - |
| 125 | coefficientSobolevOperator period (A.metric.jet q ⟨t, ht.1.le, ht.2.le⟩) |
| 126 | ((A.atOrder period q).pressure period hq ⟨t, ht.1.le, ht.2.le⟩ |
| 127 | ((B.fieldTower period).realization (q+1) ⟨t, ht.1.le, ht.2.le⟩))) t := by |
| 128 | simpa only [CorrectionData.source_sobolev, Data.atOrder] using |
| 129 | B.fieldTower_hasDerivAt period q hq t ht |
| 130 | |
| 131 | /-- Canonical bounded evaluation fixes a pointwise representative of the correction. -/ |
| 132 | def Budget.pointField (B : Budget period hT A) |
| 133 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| 134 | (B.family period).pointField period t x |
| 135 | |
| 136 | /-- The pointwise correction is an actual representative of the constructed L² field. -/ |
| 137 | theorem Budget.pointField_ae (B : Budget period hT A) (t : Icc (0 : ℝ) T) : |
| 138 | (B.commonPath period t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 139 | B.pointField period t := |
| 140 | (B.family period).pointField_ae period t |
| 141 | |
| 142 | /-- The canonical correction vanishes pointwise at the initial time. -/ |
| 143 | theorem Budget.pointField_initial (B : Budget period hT A) (x : LiftDomain period) : |
| 144 | B.pointField period ⟨0, le_rfl, hT.le⟩ x = 0 := by |
| 145 | change pointEvaluation period x |
| 146 | (restrictOperator period (by omega : 3 ≤ 7) |
| 147 | ((B.family period).solution 6 le_rfl ⟨0, le_rfl, hT.le⟩)) = 0 |
| 148 | simp only [(B.family period).initial, map_zero] |
| 149 | |
| 150 | /-- The canonical correction is jointly continuous in time and the cylinder point. -/ |
| 151 | theorem Budget.pointField_joint_continuous (B : Budget period hT A) : |
| 152 | Continuous (B.pointField period).uncurry := |
| 153 | (B.family period).pointField_joint_continuous period |
| 154 | |
| 155 | /-- The one common correction has a spatially smooth representative at every time. -/ |
| 156 | theorem Budget.pointField_smooth (B : Budget period hT A) |
| 157 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 158 | ContDiff ℝ ∞ (localFieldLift period (B.pointField period t) x) := |
| 159 | (B.family period).pointField_smooth period (B.comparisonData period) t x |
| 160 | |
| 161 | /-- Odd input data give an odd common correction by the proved PDE uniqueness. -/ |
| 162 | theorem Budget.commonPath_odd (B : Budget period hT A) (P : ParityData period A) |
| 163 | (t : Icc (0 : ℝ) T) : |
| 164 | -reflection period (B.commonPath period t) = B.commonPath period t := |
| 165 | (B.family period).commonPath_odd period (B.comparisonData period) P t |
| 166 | |
| 167 | end EulerAllOrderDriftCorrection |