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.SobolevPressureResolvent |
| 2 | import Euler.ResolventCalculus |
| 3 | |
| 4 | /-! Time regularity of the actual Sobolev pressure inverse, derived from its genuine resolvent. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerSobolevCoefficientPressure |
| 9 | |
| 10 | open InnerProductSpace EulerLiftedGradientSpace EulerSpatialSobolevInverse EulerCylinderSobolev |
| 11 | EulerCylinderSobolevSpace EulerResolventCalculus |
| 12 | open scoped Topology |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | /-- The inherited normed group of Sobolev endomorphisms, named to keep instance inference shallow. -/ |
| 17 | local instance sobolevEndNormedGroup (q : ℕ) : |
| 18 | NormedAddCommGroup (SobolevSpace period q →L[ℝ] SobolevSpace period q) := |
| 19 | ContinuousLinearMap.toNormedAddCommGroup |
| 20 | |
| 21 | /-- The inherited real normed-space structure of Sobolev endomorphisms. -/ |
| 22 | local instance sobolevEndNormedSpace (q : ℕ) : |
| 23 | NormedSpace ℝ (SobolevSpace period q →L[ℝ] SobolevSpace period q) := |
| 24 | ContinuousLinearMap.toNormedSpace |
| 25 | |
| 26 | /-- Coefficient-multiplier continuity implies continuity of the actual pressure operator in Hq norm. -/ |
| 27 | theorem pressureSobolev_continuousAt {α : Type*} [TopologicalSpace α] {q : ℕ} |
| 28 | (A : α → SmoothCoefficient period) (K : ∀ s, CoefficientJet period standardDirection q (A s)) |
| 29 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 30 | (hpos : ∀ s x v, c * ‖v‖ ^ 2 ≤ ⟪(A s).coefficient x v, v⟫_ℝ) (t : α) |
| 31 | (hM : ContinuousAt (fun s => coefficientSobolevOperator period (K s)) t) : |
| 32 | ContinuousAt (fun s => pressureSobolevOperator period (K s) κ m c hc (hpos s)) t := by |
| 33 | apply continuousAt_of_resolvent |
| 34 | (fun s => pressureSobolevOperator period (K s) κ m c hc (hpos s)) |
| 35 | (fun s => coefficientSobolevOperator period (K s)) _ t hM |
| 36 | intro s r |
| 37 | exact pressure_resolvent period (K s) (K r) κ m c c hc hc (hpos s) (hpos r) |
| 38 | |
| 39 | /-- The actual pressure-corrected source operator is continuous whenever the coefficient multiplier is continuous. -/ |
| 40 | theorem projectedSource_continuousAt {α : Type*} [TopologicalSpace α] {q : ℕ} |
| 41 | (A : α → SmoothCoefficient period) (K : ∀ s, CoefficientJet period standardDirection q (A s)) |
| 42 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 43 | (hpos : ∀ s x v, c * ‖v‖ ^ 2 ≤ ⟪(A s).coefficient x v, v⟫_ℝ) (t : α) |
| 44 | (hM : ContinuousAt (fun s => coefficientSobolevOperator period (K s)) t) : |
| 45 | ContinuousAt (fun s => projectedSourceOperator period (K s) κ m c hc (hpos s)) t := by |
| 46 | have hP := pressureSobolev_continuousAt period A K κ m c hc hpos t hM |
| 47 | have hMP := hM.clm_comp hP |
| 48 | exact hMP.const_sub (ContinuousLinearMap.id ℝ (SobolevSpace period q)) |
| 49 | |
| 50 | /-- Differentiating the genuine resolvent gives the actual Hq pressure derivative −P M′ P. -/ |
| 51 | theorem pressureSobolev_hasDerivAt {q : ℕ} |
| 52 | (A : ℝ → SmoothCoefficient period) (K : ∀ s, CoefficientJet period standardDirection q (A s)) |
| 53 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 54 | (hpos : ∀ s x v, c * ‖v‖ ^ 2 ≤ ⟪(A s).coefficient x v, v⟫_ℝ) |
| 55 | (t : ℝ) (M' : SobolevSpace period q →L[ℝ] SobolevSpace period q) |
| 56 | (hM : HasDerivAt (fun s => coefficientSobolevOperator period (K s)) M' t) : |
| 57 | HasDerivAt (fun s => pressureSobolevOperator period (K s) κ m c hc (hpos s)) |
| 58 | (-((pressureSobolevOperator period (K t) κ m c hc (hpos t)).comp |
| 59 | (M'.comp (pressureSobolevOperator period (K t) κ m c hc (hpos t))))) t := by |
| 60 | apply hasDerivAt_of_resolvent |
| 61 | (fun s => pressureSobolevOperator period (K s) κ m c hc (hpos s)) |
| 62 | (fun s => coefficientSobolevOperator period (K s)) _ t M' hM |
| 63 | intro s r |
| 64 | exact pressure_resolvent period (K s) (K r) κ m c c hc hc (hpos s) (hpos r) |
| 65 | |
| 66 | /-- The complete Sobolev pressure-corrected source has the actual derivative obtained by the product rule. -/ |
| 67 | theorem projectedSource_hasDerivAt {q : ℕ} |
| 68 | (A : ℝ → SmoothCoefficient period) (K : ∀ s, CoefficientJet period standardDirection q (A s)) |
| 69 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 70 | (hpos : ∀ s x v, c * ‖v‖ ^ 2 ≤ ⟪(A s).coefficient x v, v⟫_ℝ) |
| 71 | (t : ℝ) (M' : SobolevSpace period q →L[ℝ] SobolevSpace period q) |
| 72 | (hM : HasDerivAt (fun s => coefficientSobolevOperator period (K s)) M' t) : |
| 73 | HasDerivAt (fun s => projectedSourceOperator period (K s) κ m c hc (hpos s)) |
| 74 | (-(M'.comp (pressureSobolevOperator period (K t) κ m c hc (hpos t)) + |
| 75 | (coefficientSobolevOperator period (K t)).comp |
| 76 | (-((pressureSobolevOperator period (K t) κ m c hc (hpos t)).comp |
| 77 | (M'.comp (pressureSobolevOperator period (K t) κ m c hc (hpos t))))))) t := by |
| 78 | have hP := pressureSobolev_hasDerivAt period A K κ m c hc hpos t M' hM |
| 79 | have hMP := hM.clm_comp hP |
| 80 | simpa only [zero_sub, Pi.sub_def, projectedSourceOperator] using |
| 81 | (hasDerivAt_const t (ContinuousLinearMap.id ℝ (SobolevSpace period q))).sub hMP |
| 82 | |
| 83 | end EulerSobolevCoefficientPressure |