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.AllOrderDriftCorrection |
| 2 | import Euler.AllOrderDriftPressure |
| 3 | import Euler.CorrectionResidualCancellation |
| 4 | |
| 5 | /-! |
| 6 | # Actual residual cancellation for the constructed all-order correction |
| 7 | |
| 8 | The drift-aware budget constructs the correction. A separate, explicit input |
| 9 | below identifies the prescribed residual with the residual of the actual |
| 10 | approximation and its pressure. Only after supplying that identity do we assert |
| 11 | that the corrected field solves the zero-residual lifted equation. |
| 12 | |
| 13 | These results concern the genuine Sobolev paths and coefficients of `Data`. |
| 14 | They neither construct the approximate packet nor identify arbitrary coefficients |
| 15 | with the physical Euler equation in parent-flow coordinates. |
| 16 | -/ |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | namespace EulerAllOrderDriftCorrection |
| 21 | |
| 22 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 23 | EulerAllOrderCorrectionData EulerCorrectionAssembly EulerCorrectionOperators |
| 24 | EulerCorrectionResidualCancellation EulerVolterraConvolution |
| 25 | EulerSobolevCoefficientPressure EulerGevreyMetricEstimate |
| 26 | |
| 27 | variable (period : ℝ) [Fact (0 < period)] |
| 28 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 29 | |
| 30 | /-- The prescribed residual is the actual residual of the approximation with |
| 31 | this genuine all-order pressure. This is a condition on the input approximation, |
| 32 | not an existence or equation assumption about the constructed correction. -/ |
| 33 | structure ApproximationResidual (hT : 0 < T) (A : Data period T) where |
| 34 | /-- The actual approximate pressure gradient, with coherent Sobolev realizations. -/ |
| 35 | pressure : FieldTower period T |
| 36 | /-- The approximate pressure belongs to the same lifted gradient space. -/ |
| 37 | gradient : ∀ t, pressure.field t ∈ gradientSpace period A.κ A.direction |
| 38 | /-- The literal residual identity holds at every finite construction order. -/ |
| 39 | equation : ∀ (q : ℕ) (hq : 6 ≤ q) t (ht : t ∈ Ioo 0 T), |
| 40 | HasDerivAt (extendPath T hT.le (A.approximation.realization q)) |
| 41 | (A.residual.realization q ⟨t, ht.1.le, ht.2.le⟩ - |
| 42 | nonlinearity period (A.atOrder period q) hq ⟨t, ht.1.le, ht.2.le⟩ |
| 43 | (A.approximation.realization (q+1) ⟨t, ht.1.le, ht.2.le⟩) - |
| 44 | coefficientSobolevOperator period (A.metric.jet q ⟨t, ht.1.le, ht.2.le⟩) |
| 45 | (pressure.realization q ⟨t, ht.1.le, ht.2.le⟩)) t |
| 46 | |
| 47 | /-- The approximation plus the actually constructed correction, in every order. -/ |
| 48 | def Budget.correctedFieldTower (B : Budget period hT A) : FieldTower period T where |
| 49 | field := A.approximation.field + B.commonPath period |
| 50 | realization q := A.approximation.realization q + (B.fieldTower period).realization q |
| 51 | value_eq q t := by |
| 52 | change value period (A.approximation.realization q t) + |
| 53 | value period ((B.fieldTower period).realization q t) = |
| 54 | A.approximation.field t + B.commonPath period t |
| 55 | exact congrArg₂ (· + ·) (A.approximation.value_eq q t) |
| 56 | ((B.fieldTower period).value_eq q t) |
| 57 | |
| 58 | /-- The total pressure is the given approximate pressure plus the constructed |
| 59 | signed correction pressure, with no independent choice at different orders. -/ |
| 60 | def Budget.correctedPressureTower (B : Budget period hT A) |
| 61 | (R : ApproximationResidual period hT A) : FieldTower period T where |
| 62 | field := R.pressure.field + (B.pressureTower period).field |
| 63 | realization q := R.pressure.realization q + (B.pressureTower period).realization q |
| 64 | value_eq q t := by |
| 65 | change value period (R.pressure.realization q t) + |
| 66 | value period ((B.pressureTower period).realization q t) = |
| 67 | R.pressure.field t + (B.pressureTower period).field t |
| 68 | rw [R.pressure.value_eq, (B.pressureTower period).value_eq] |
| 69 | |
| 70 | /-- The corrected field has exactly the prescribed initial field at every order. -/ |
| 71 | theorem Budget.correctedFieldTower_initial (B : Budget period hT A) (q : ℕ) : |
| 72 | (B.correctedFieldTower period).realization q ⟨0, le_rfl, hT.le⟩ = |
| 73 | A.approximation.realization q ⟨0, le_rfl, hT.le⟩ := by |
| 74 | change A.approximation.realization q ⟨0, le_rfl, hT.le⟩ + |
| 75 | (B.fieldTower period).realization q ⟨0, le_rfl, hT.le⟩ = _ |
| 76 | rw [B.fieldTower_initial period, add_zero] |
| 77 | |
| 78 | /-- Addition preserves the actual closed lifted divergence constraint. -/ |
| 79 | theorem Budget.correctedFieldTower_divergence (B : Budget period hT A) |
| 80 | (t : Icc (0 : ℝ) T) : |
| 81 | (B.correctedFieldTower period).field t ∈ divergenceFreeSpace period A.κ A.direction := |
| 82 | (divergenceFreeSpace period A.κ A.direction).add_mem |
| 83 | (B.divergence t) (B.commonPath_divergence period t) |
| 84 | |
| 85 | /-- The total pressure remains an actual lifted gradient. -/ |
| 86 | theorem Budget.correctedPressureTower_gradient (B : Budget period hT A) |
| 87 | (R : ApproximationResidual period hT A) (t : Icc (0 : ℝ) T) : |
| 88 | (B.correctedPressureTower period R).field t ∈ gradientSpace period A.κ A.direction := |
| 89 | (gradientSpace period A.κ A.direction).add_mem (R.gradient t) |
| 90 | ((B.family period).commonPressure_gradient period t) |
| 91 | |
| 92 | /-- The exact solution differs from the approximation by precisely the small |
| 93 | correction, retaining both proved energy bounds at every external cutoff. -/ |
| 94 | theorem Budget.correctedFieldTower_error_energy (B : Budget period hT A) |
| 95 | (P : ℕ) (t : Icc (0 : ℝ) T) : |
| 96 | energyNorm period P (by omega : P+6 ≤ (P+6)+1) |
| 97 | (B.radius t) (B.metric.operatorPath period t) |
| 98 | ((B.correctedFieldTower period).realization ((P+6)+1) t - |
| 99 | A.approximation.realization ((P+6)+1) t) ≤ |
| 100 | 2*(B.spatial (P+6) (by omega)).full.residual* |
| 101 | Real.exp (3*B.growthCoefficient*t.val) ∧ |
| 102 | energyNorm period P (by omega : P+6 ≤ (P+6)+1) |
| 103 | (B.radius t) (B.metric.operatorPath period t) |
| 104 | ((B.correctedFieldTower period).realization ((P+6)+1) t - |
| 105 | A.approximation.realization ((P+6)+1) t) ≤ B.delta/2 := by |
| 106 | have heq : (B.correctedFieldTower period).realization ((P+6)+1) t - |
| 107 | A.approximation.realization ((P+6)+1) t = |
| 108 | (B.fieldTower period).realization ((P+6)+1) t := by |
| 109 | change (A.approximation.realization ((P+6)+1) t + |
| 110 | (B.fieldTower period).realization ((P+6)+1) t) - |
| 111 | A.approximation.realization ((P+6)+1) t = _ |
| 112 | abel |
| 113 | rw [heq] |
| 114 | exact B.fieldTower_energy period P t |
| 115 | |
| 116 | /-- The input residual identity and the proved correction equation give the |
| 117 | actual zero-residual nonlinear equation, with the actual total pressure. |
| 118 | There is no assumption of existence or an energy bound for the correction. -/ |
| 119 | theorem Budget.correctedFieldTower_hasDerivAt (B : Budget period hT A) |
| 120 | (R : ApproximationResidual period hT A) (q : ℕ) (hq : 6 ≤ q) |
| 121 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 122 | HasDerivAt (extendPath T hT.le ((B.correctedFieldTower period).realization q)) |
| 123 | (-nonlinearity period (A.atOrder period q) hq ⟨t, ht.1.le, ht.2.le⟩ |
| 124 | ((B.correctedFieldTower 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 | ((B.correctedPressureTower period R).realization q ⟨t, ht.1.le, ht.2.le⟩)) t := by |
| 127 | have he := B.fieldTower_hasDerivAt_pressure period q hq t ht |
| 128 | have hz := R.equation q hq t ht |
| 129 | have hcancel := residual_cancellation period (A.atOrder period q) hq |
| 130 | ⟨t, ht.1.le, ht.2.le⟩ |
| 131 | ((B.fieldTower period).realization (q+1) ⟨t, ht.1.le, ht.2.le⟩) |
| 132 | (R.pressure.realization q ⟨t, ht.1.le, ht.2.le⟩) |
| 133 | have hsum := (hz.add he).congr_deriv hcancel |
| 134 | have hp := B.pressure_eq_realization period q hq ⟨t, ht.1.le, ht.2.le⟩ |
| 135 | rw [B.solution_eq_realization period q hq] at hp |
| 136 | rw [hp] at hsum |
| 137 | exact hsum |
| 138 | |
| 139 | /-- A single coherent exact lifted solution and total pressure are constructed |
| 140 | from the drift budget and the literal approximate residual identity. -/ |
| 141 | theorem exists_exact_lifted_solution (B : Budget period hT A) |
| 142 | (R : ApproximationResidual period hT A) : |
| 143 | ∃ (Z Q : FieldTower period T), |
| 144 | (∀ q, Z.realization q ⟨0, le_rfl, hT.le⟩ = |
| 145 | A.approximation.realization q ⟨0, le_rfl, hT.le⟩) ∧ |
| 146 | (∀ t, Z.field t ∈ divergenceFreeSpace period A.κ A.direction) ∧ |
| 147 | (∀ t, Q.field t ∈ gradientSpace period A.κ A.direction) ∧ |
| 148 | (∀ (P : ℕ) t, |
| 149 | energyNorm period P (by omega : P+6 ≤ (P+6)+1) |
| 150 | (B.radius t) (B.metric.operatorPath period t) |
| 151 | (Z.realization ((P+6)+1) t - A.approximation.realization ((P+6)+1) t) ≤ |
| 152 | 2*(B.spatial (P+6) (by omega)).full.residual* |
| 153 | Real.exp (3*B.growthCoefficient*t.val) ∧ |
| 154 | energyNorm period P (by omega : P+6 ≤ (P+6)+1) |
| 155 | (B.radius t) (B.metric.operatorPath period t) |
| 156 | (Z.realization ((P+6)+1) t - A.approximation.realization ((P+6)+1) t) ≤ B.delta/2) ∧ |
| 157 | ∀ (q : ℕ) (hq : 6 ≤ q) t (ht : t ∈ Ioo 0 T), |
| 158 | HasDerivAt (extendPath T hT.le (Z.realization q)) |
| 159 | (-nonlinearity period (A.atOrder period q) hq ⟨t, ht.1.le, ht.2.le⟩ |
| 160 | (Z.realization (q+1) ⟨t, ht.1.le, ht.2.le⟩) - |
| 161 | coefficientSobolevOperator period (A.metric.jet q ⟨t, ht.1.le, ht.2.le⟩) |
| 162 | (Q.realization q ⟨t, ht.1.le, ht.2.le⟩)) t := by |
| 163 | exact ⟨B.correctedFieldTower period, B.correctedPressureTower period R, |
| 164 | B.correctedFieldTower_initial period, B.correctedFieldTower_divergence period, |
| 165 | B.correctedPressureTower_gradient period R, B.correctedFieldTower_error_energy period, |
| 166 | B.correctedFieldTower_hasDerivAt period R⟩ |
| 167 | |
| 168 | end EulerAllOrderDriftCorrection |