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.CorrectionSourceRestriction |
| 2 | import Euler.QuadraticSourceLimit |
| 3 | import Euler.IntegralPathLimit |
| 4 | import Euler.SobolevPathLimits |
| 5 | import Euler.ViscosityDefect |
| 6 | import Euler.ViscosityCauchy |
| 7 | import Euler.ViscousPathDerivative |
| 8 | import Euler.ViscousSourcePathLimit |
| 9 | |
| 10 | /-! The literal inviscid correction equation follows from the actual strongly convergent viscous family. -/ |
| 11 | |
| 12 | /-! ## From `Euler/CorrectionLimitDerivative.lean` |
| 13 | |
| 14 | The text of `Euler/CorrectionLimitDerivative.lean`, folded into this file, which was its only importer. -/ |
| 15 | |
| 16 | section |
| 17 | |
| 18 | /-! The actual viscous derivative expressed using the identical lower-order nonlinear source. -/ |
| 19 | |
| 20 | noncomputable section |
| 21 | |
| 22 | namespace EulerCorrectionLimitDerivative |
| 23 | |
| 24 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 25 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerSobolevCoefficientPressure EulerCorrectionLowerData |
| 26 | EulerCorrectionSourceRestriction EulerQuadraticSource EulerQuadraticSourceLimit |
| 27 | EulerViscosityDefect EulerViscosityCauchy EulerVolterraConvolution EulerMildEquationBridge EulerSobolevHeatGenerator |
| 28 | open scoped Topology |
| 29 | |
| 30 | variable (period : ℝ) [Fact (0 < period)] |
| 31 | |
| 32 | /-- The inherited normed group on each actual Sobolev value space. -/ |
| 33 | local instance limitDerivativeGroup (s : ℕ) : NormedAddCommGroup (SobolevSpace period s) := inferInstance |
| 34 | |
| 35 | /-- The inherited real normed space on each actual Sobolev value space. -/ |
| 36 | local instance limitDerivativeSpace (s : ℕ) : NormedSpace ℝ (SobolevSpace period s) := inferInstance |
| 37 | |
| 38 | /-- The actual derivative of a high-order mild correction equals viscosity plus the literal lower-order nonlinear source. -/ |
| 39 | theorem lower_mild_value_derivative {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) |
| 40 | (D : CorrectionData period (q+1) (Icc (0 : ℝ) T)) |
| 41 | (KG : ∀ t, CoefficientJet period standardDirection q (D.metric.coefficient t)) |
| 42 | (KL : ∀ t, CoefficientJet period standardDirection q (D.linear.coefficient t)) |
| 43 | (KQ : ∀ i t, CoefficientJet period standardDirection q ((D.quadratic i).coefficient t)) |
| 44 | (hG : Continuous (fun t => coefficientSobolevOperator period (KG t))) |
| 45 | (hL : Continuous (fun t => coefficientSobolevOperator period (KL t))) |
| 46 | (hQ : ∀ i, Continuous (fun t => coefficientSobolevOperator period (KQ i t))) |
| 47 | (ν : ℝ) (hν : 0 < ν) (u : C(Icc (0 : ℝ) T,SobolevSpace period ((q+1)+1))) |
| 48 | (hsol : ∀ t, u t = quadraticDuhamel period ν hν hT le_rfl |
| 49 | (D.coefficients period (by omega : 6 ≤ q+1)) 0 u t) |
| 50 | (r : ℝ) (hr : r ∈ Ioo 0 T) : |
| 51 | HasDerivAt (fun x => value period (extendPath T hT u x)) |
| 52 | (ν • laplacianEvaluation period ((q+1)+1) (by omega) (u ⟨r,hr.1.le,hr.2.le⟩) + |
| 53 | value period (((lowerData period D KG KL KQ hG hL hQ).coefficients period hq).apply |
| 54 | ⟨r,hr.1.le,hr.2.le⟩ (truncateOperator period (q+1) (u ⟨r,hr.1.le,hr.2.le⟩)))) r := by |
| 55 | let τ : Icc (0 : ℝ) T := ⟨r,hr.1.le,hr.2.le⟩ |
| 56 | have hx := viscous_mild_hasDerivAt period (by omega : 2 ≤ q+1) ν hν T hT 0 |
| 57 | (D.coefficients period (by omega : 6 ≤ q+1)).apply |
| 58 | (D.coefficients period (by omega : 6 ≤ q+1)).continuous u hsol r hr |
| 59 | have hs := congrArg (value period (q := q)) (truncate_source period hq D KG KL KQ hG hL hQ τ (u τ)) |
| 60 | rw [value_truncateOperator] at hs |
| 61 | apply hx.congr_deriv |
| 62 | exact congrArg (fun v => ν • laplacianEvaluation period ((q+1)+1) (by omega) (u τ)+v) hs |
| 63 | |
| 64 | end EulerCorrectionLimitDerivative |
| 65 | end |
| 66 | |
| 67 | end |
| 68 | |
| 69 | /-! ## From `Euler/CorrectionLimitPathDerivative.lean` |
| 70 | |
| 71 | The text of `Euler/CorrectionLimitPathDerivative.lean`, folded into this file, which was its only importer. -/ |
| 72 | |
| 73 | section |
| 74 | |
| 75 | /-! The actual viscous derivative expressed using the identical lower-order nonlinear source. -/ |
| 76 | |
| 77 | noncomputable section |
| 78 | |
| 79 | namespace EulerCorrectionLimitPathDerivative |
| 80 | |
| 81 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 82 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerSobolevCoefficientPressure EulerCorrectionLowerData |
| 83 | EulerCorrectionSourceRestriction EulerQuadraticSource EulerQuadraticSourceLimit |
| 84 | EulerViscosityDefect EulerViscosityCauchy EulerVolterraConvolution EulerMildEquationBridge EulerSobolevHeatGenerator |
| 85 | open scoped Topology |
| 86 | |
| 87 | variable (period : ℝ) [Fact (0 < period)] |
| 88 | |
| 89 | /-- The inherited normed group on each actual Sobolev value space. -/ |
| 90 | local instance limitDerivativeGroup (s : ℕ) : NormedAddCommGroup (SobolevSpace period s) := inferInstance |
| 91 | |
| 92 | /-- The inherited real normed space on each actual Sobolev value space. -/ |
| 93 | local instance limitDerivativeSpace (s : ℕ) : NormedSpace ℝ (SobolevSpace period s) := inferInstance |
| 94 | |
| 95 | /-- The actual derivative of a high-order mild correction equals viscosity plus the literal lower-order nonlinear source. -/ |
| 96 | theorem lower_mild_path_derivative {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) |
| 97 | (D : CorrectionData period (q+1) (Icc (0 : ℝ) T)) |
| 98 | (KG : ∀ t, CoefficientJet period standardDirection q (D.metric.coefficient t)) |
| 99 | (KL : ∀ t, CoefficientJet period standardDirection q (D.linear.coefficient t)) |
| 100 | (KQ : ∀ i t, CoefficientJet period standardDirection q ((D.quadratic i).coefficient t)) |
| 101 | (hG : Continuous (fun t => coefficientSobolevOperator period (KG t))) |
| 102 | (hL : Continuous (fun t => coefficientSobolevOperator period (KL t))) |
| 103 | (hQ : ∀ i, Continuous (fun t => coefficientSobolevOperator period (KQ i t))) |
| 104 | (ν : ℝ) (hν : 0 < ν) (u : C(Icc (0 : ℝ) T,SobolevSpace period ((q+1)+1))) |
| 105 | (hsol : ∀ t, u t = quadraticDuhamel period ν hν hT le_rfl |
| 106 | (D.coefficients period (by omega : 6 ≤ q+1)) 0 u t) |
| 107 | (r : ℝ) (hr : r ∈ Ioo 0 T) : |
| 108 | HasDerivAt (extendPath T hT (valuePath period T u)) |
| 109 | (extendPath T hT (viscousDefect period (by omega : 2 ≤ (q+1)+1) ν T u + |
| 110 | valuePath period T (sourcePath ((lowerData period D KG KL KQ hG hL hQ).coefficients period hq) |
| 111 | ((truncateOperator period (q+1)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u))) r) r := by |
| 112 | exact EulerViscousPathDerivative.hasDerivAt_path period (by omega : 2 ≤ (q+1)+1) ν T hT u |
| 113 | (sourcePath ((lowerData period D KG KL KQ hG hL hQ).coefficients period hq) |
| 114 | ((truncateOperator period (q+1)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u)) r hr |
| 115 | (EulerCorrectionLimitDerivative.lower_mild_value_derivative period hq T hT D KG KL KQ hG hL hQ ν hν u hsol r hr) |
| 116 | |
| 117 | end EulerCorrectionLimitPathDerivative |
| 118 | end |
| 119 | |
| 120 | end |
| 121 | |
| 122 | noncomputable section |
| 123 | |
| 124 | namespace EulerCorrectionLimitEquation |
| 125 | |
| 126 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 127 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerSobolevCoefficientPressure EulerCorrectionLowerData |
| 128 | EulerCorrectionSourceRestriction EulerQuadraticSource EulerQuadraticSourceLimit EulerIntegralPathLimit |
| 129 | EulerSobolevPathLimits EulerViscosityDefect EulerViscosityCauchy EulerVolterraConvolution |
| 130 | EulerMildEquationBridge EulerSobolevHeatGenerator EulerCorrectionLimitPathDerivative |
| 131 | EulerViscousPathDerivative EulerViscousSourcePathLimit |
| 132 | open scoped Topology |
| 133 | |
| 134 | variable (period : ℝ) [Fact (0 < period)] |
| 135 | |
| 136 | /-- The inherited normed group on each actual Sobolev value space. -/ |
| 137 | local instance limitEquationGroup (s : ℕ) : NormedAddCommGroup (SobolevSpace period s) := inferInstance |
| 138 | |
| 139 | /-- The inherited real normed space on each actual Sobolev value space. -/ |
| 140 | local instance limitEquationSpace (s : ℕ) : NormedSpace ℝ (SobolevSpace period s) := inferInstance |
| 141 | |
| 142 | /-- A genuine bounded viscous family converging one Sobolev order lower solves the actual inviscid correction equation at the limit. |
| 143 | The nonlinear source restriction and convergence, the vanishing viscosity term, and the integral passage are proved internally. -/ |
| 144 | theorem correction_limit_equation {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) |
| 145 | (D : CorrectionData period (q+1) (Icc (0 : ℝ) T)) |
| 146 | (KG : ∀ t, CoefficientJet period standardDirection q (D.metric.coefficient t)) |
| 147 | (KL : ∀ t, CoefficientJet period standardDirection q (D.linear.coefficient t)) |
| 148 | (KQ : ∀ i t, CoefficientJet period standardDirection q ((D.quadratic i).coefficient t)) |
| 149 | (hG : Continuous (fun t => coefficientSobolevOperator period (KG t))) |
| 150 | (hL : Continuous (fun t => coefficientSobolevOperator period (KL t))) |
| 151 | (hQ : ∀ i, Continuous (fun t => coefficientSobolevOperator period (KQ i t))) |
| 152 | (u : ℕ → C(Icc (0 : ℝ) T,SobolevSpace period ((q+1)+1))) |
| 153 | (e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) (M : ℝ) (huM : ∀ n, ‖u n‖ ≤ M) |
| 154 | (hconv : Filter.Tendsto (fun n => (truncateOperator period (q+1)).compLeftContinuous ℝ (Icc (0 : ℝ) T) (u n)) |
| 155 | Filter.atTop (𝓝 e)) |
| 156 | (hsol : ∀ n t, u n t = quadraticDuhamel period (viscositySequence n) (viscositySequence_pos n) hT le_rfl |
| 157 | (D.coefficients period (by omega : 6 ≤ q+1)) 0 (u n) t) |
| 158 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 159 | HasDerivAt (fun r => value period (extendPath T hT e r)) |
| 160 | (value period (((lowerData period D KG KL KQ hG hL hQ).coefficients period hq).apply |
| 161 | ⟨t,ht.1.le,ht.2.le⟩ (e ⟨t,ht.1.le,ht.2.le⟩))) t := by |
| 162 | let Dlow := lowerData period D KG KL KQ hG hL hQ |
| 163 | let g := valuePath period T (sourcePath (Dlow.coefficients period hq) e) |
| 164 | let f := fun n => viscousSourcePath period (by omega : 2 ≤ (q+1)+1) |
| 165 | (viscositySequence n) T (Dlow.coefficients period hq) (u n) |
| 166 | have hf : Filter.Tendsto f Filter.atTop (𝓝 g) := |
| 167 | viscousSourcePath_tendsto period (by omega : 2 ≤ (q+1)+1) T |
| 168 | (Dlow.coefficients period hq) u e M huM hconv |
| 169 | have huval := valuePath_tendsto_of_truncate period T u e hconv |
| 170 | have hd : ∀ n r, r ∈ Ioo 0 T → HasDerivAt (extendPath T hT (valuePath period T (u n))) |
| 171 | (extendPath T hT (f n) r) r := by |
| 172 | intro n r hr |
| 173 | exact lower_mild_path_derivative period hq T hT D KG KL KQ hG hL hQ |
| 174 | (viscositySequence n) (viscositySequence_pos n) (u n) (hsol n) r hr |
| 175 | have heq : ∀ τ, valuePath period T e τ = valuePath period T e ⟨0,le_rfl,hT⟩ + |
| 176 | pathIntegralOperator T hT 0 τ.val g := |
| 177 | integral_equation_limit T hT (fun n => valuePath period T (u n)) f (valuePath period T e) g huval hf |
| 178 | (fun n => integral_equation_of_hasDerivAt T hT (valuePath period T (u n)) (f n) (hd n)) |
| 179 | have hder := hasDerivAt_of_integral_equation T hT (valuePath period T e) g heq t ht |
| 180 | change HasDerivAt (fun r => value period (extendPath T hT e r)) |
| 181 | (value period ((Dlow.coefficients period hq).apply (projIcc 0 T hT t) (e (projIcc 0 T hT t)))) t at hder |
| 182 | rw [projIcc_of_mem hT ⟨ht.1.le,ht.2.le⟩] at hder |
| 183 | exact hder |
| 184 | |
| 185 | end EulerCorrectionLimitEquation |