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.EulerCorrectionLocal |
| 2 | import Euler.MildEquationBridge |
| 3 | |
| 4 | /-! The constructed local viscous Euler correction satisfies the actual differential equation and pressure constraint. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCorrectionOperators |
| 9 | |
| 10 | open MeasureTheory InnerProductSpace Set EulerLiftedGradientSpace EulerPressureSpatialRegularity |
| 11 | EulerSpatialSobolevInverse EulerCylinderSobolev EulerCylinderSobolevSpace EulerSobolevTransport |
| 12 | EulerSobolevCoefficientPressure EulerQuadraticSource EulerMildEquationBridge |
| 13 | EulerSobolevHeatGenerator EulerDuhamelDifferentiation EulerVolterraConvolution |
| 14 | open scoped Topology |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | |
| 18 | local instance equationSobolevGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 19 | local instance equationSobolevSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 20 | |
| 21 | /-- The actual non-pressure residual and nonlinear increment in equation (17). -/ |
| 22 | def CorrectionData.rawSource {q : ℕ} {T : Type*} [TopologicalSpace T] |
| 23 | (D : CorrectionData period q T) (hq : 6 ≤ q) (t : T) (e : SobolevSpace period (q+1)) : SobolevSpace period q := |
| 24 | (D.coefficients period hq).forcing t + (D.coefficients period hq).linear t e + |
| 25 | (D.coefficients period hq).quadratic t e e |
| 26 | |
| 27 | /-- The correction pressure is the actual unique coercive gradient solution with the sign of equation (17). -/ |
| 28 | def CorrectionData.pressure {q : ℕ} {T : Type*} [TopologicalSpace T] |
| 29 | (D : CorrectionData period q T) (hq : 6 ≤ q) (t : T) (e : SobolevSpace period (q+1)) : SobolevSpace period q := |
| 30 | -(pressureSobolevOperator period (D.metric.jet t) D.κ D.direction D.coercivity D.coercivity_pos |
| 31 | (D.metric_pos t) (D.rawSource period hq t e)) |
| 32 | |
| 33 | /-- The actual pressure belongs to the closed lifted gradient space. -/ |
| 34 | theorem CorrectionData.pressure_mem_gradient {q : ℕ} {T : Type*} [TopologicalSpace T] |
| 35 | (D : CorrectionData period q T) (hq : 6 ≤ q) (t : T) (e : SobolevSpace period (q+1)) : |
| 36 | value period (D.pressure period hq t e) ∈ gradientSpace period D.κ D.direction := by |
| 37 | change -value period (pressureSobolevOperator period (D.metric.jet t) D.κ D.direction D.coercivity |
| 38 | D.coercivity_pos (D.metric_pos t) _) ∈ _ |
| 39 | exact (gradientSpace period D.κ D.direction).neg_mem |
| 40 | (pressureSobolev_mem_gradient period (D.metric.jet t) D.κ D.direction D.coercivity D.coercivity_pos (D.metric_pos t) _) |
| 41 | |
| 42 | /-- The projected source equals the literal non-pressure source plus the actual coefficient-weighted pressure. -/ |
| 43 | theorem CorrectionData.source_value {q : ℕ} {T : Type*} [TopologicalSpace T] |
| 44 | (D : CorrectionData period q T) (hq : 6 ≤ q) (t : T) (e : SobolevSpace period (q+1)) : |
| 45 | value period ((D.coefficients period hq).apply t e) = |
| 46 | -value period (D.rawSource period hq t e) - |
| 47 | (D.metric.coefficient t).operator (value period (D.pressure period hq t e)) := by |
| 48 | change -value period (projectedSourceOperator period (D.metric.jet t) D.κ D.direction D.coercivity |
| 49 | D.coercivity_pos (D.metric_pos t) (D.rawSource period hq t e)) = _ |
| 50 | rw [projectedSourceOperator_value] |
| 51 | change -(value period (D.rawSource period hq t e) - |
| 52 | (D.metric.coefficient t).operator ((D.metric.coefficient t).pressure D.κ D.direction D.coercivity D.coercivity_pos |
| 53 | (D.metric_pos t) (value period (D.rawSource period hq t e)))) = |
| 54 | -value period (D.rawSource period hq t e) - (D.metric.coefficient t).operator |
| 55 | (-value period (pressureSobolevOperator period (D.metric.jet t) D.κ D.direction D.coercivity |
| 56 | D.coercivity_pos (D.metric_pos t) (D.rawSource period hq t e))) |
| 57 | rw [map_neg, pressureSobolevOperator_value] |
| 58 | abel |
| 59 | |
| 60 | /-- The constructed actual local Euler correction has zero initial error, zero lifted divergence, and satisfies equation (17) in L² at every interior time. -/ |
| 61 | theorem exists_local_euler_correction_PDE {q : ℕ} (hq : 6 ≤ q) (ν : ℝ) (hν : 0 < ν) |
| 62 | (S : ℝ) (hS : 0 < S) (D : CorrectionData period q (Icc (0 : ℝ) S)) : |
| 63 | ∃ (T : ℝ) (hT : 0 < T) (hTS : T ≤ S), |
| 64 | ∃ e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1)), |
| 65 | ‖e‖ ≤ 1 ∧ e ⟨0, le_rfl, hT.le⟩ = 0 ∧ |
| 66 | (∀ t, value period (e t) ∈ divergenceFreeSpace period D.κ D.direction) ∧ |
| 67 | ∀ t (ht : t ∈ Ioo 0 T), |
| 68 | HasDerivAt (fun r => value period (extendPath T hT.le e r)) |
| 69 | (ν • laplacianEvaluation period (q+1) (by omega) (e ⟨t,ht.1.le,ht.2.le⟩) - |
| 70 | value period (D.rawSource period hq (timeInclusion hTS ⟨t,ht.1.le,ht.2.le⟩) (e ⟨t,ht.1.le,ht.2.le⟩)) - |
| 71 | (D.metric.coefficient (timeInclusion hTS ⟨t,ht.1.le,ht.2.le⟩)).operator |
| 72 | (value period (D.pressure period hq (timeInclusion hTS ⟨t,ht.1.le,ht.2.le⟩) (e ⟨t,ht.1.le,ht.2.le⟩)))) t := by |
| 73 | obtain ⟨T, hT, hTS, e, he, hi, hd, hsol⟩ := exists_local_euler_correction period hq ν hν S hS D |
| 74 | refine ⟨T, hT, hTS, e, he, hi, hd, ?_⟩ |
| 75 | let F := ((D.coefficients period hq).comp (timeInclusion hTS)).apply |
| 76 | have hF : Continuous (fun p : Icc (0 : ℝ) T × SobolevSpace period (q+1) => F p.1 p.2) := |
| 77 | ((D.coefficients period hq).comp (timeInclusion hTS)).continuous |
| 78 | intro t ht |
| 79 | have hp := viscous_mild_hasDerivAt period (by omega : 2 ≤ q) ν hν T hT.le 0 F hF e hsol t ht |
| 80 | change HasDerivAt _ (ν • laplacianEvaluation period (q+1) _ (e ⟨t,ht.1.le,ht.2.le⟩) + |
| 81 | value period ((D.coefficients period hq).apply (timeInclusion hTS ⟨t,ht.1.le,ht.2.le⟩) (e ⟨t,ht.1.le,ht.2.le⟩))) t at hp |
| 82 | rw [D.source_value period hq] at hp |
| 83 | convert hp using 1 |
| 84 | abel |
| 85 | |
| 86 | end EulerCorrectionOperators |