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.SourcePotentialTimeCoefficient |
| 2 | import Euler.CylinderPotentialTime |
| 3 | |
| 4 | /-! The source vector potential has its genuine, explicitly constructed time derivative. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerSourcePotentialCoefficient |
| 9 | |
| 10 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerPacketCrossProduct |
| 11 | EulerVolterraConvolution EulerLiftedGradientSpace EulerLpCylinderTranslation |
| 12 | EulerCylinderPotential |
| 13 | open scoped ContDiff BoundedContinuousFunction |
| 14 | |
| 15 | variable (T : ℝ) (hT : 0 ≤ T) |
| 16 | (m m₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) Space) |
| 17 | (c : ℝ) (hc : 0 < c) (hm : ∀ t y, c ≤ ‖m.field t y‖^2) |
| 18 | |
| 19 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 20 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 21 | private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 22 | private local instance : NormedSpace ℝ (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 23 | |
| 24 | variable (hmt : ∀ t ∈ Icc (0 : ℝ) T, ∀ y : Space, |
| 25 | HasDerivWithinAt (fun r => extendPath T hT m.field r y) |
| 26 | (extendPath T hT m₁.field t y) (Icc (0 : ℝ) T) t) |
| 27 | |
| 28 | include hmt in |
| 29 | /-- The polynomial coefficient really differentiates the actual source multiplier. -/ |
| 30 | theorem potentialCoefficient_hasDerivWithinAt (t : Icc (0 : ℝ) T) (y : Space) : |
| 31 | HasDerivWithinAt (fun r => extendPath T hT (potentialCoefficient m c hc hm) r y) |
| 32 | (potentialTimeCoefficient m m₁ c hc hm t y) (Icc (0 : ℝ) T) t := by |
| 33 | have hn : extendPath T hT m.field t y ≠ 0 := by |
| 34 | change m.field (projIcc 0 T hT t) y ≠ 0 |
| 35 | rw [projIcc_of_mem hT t.property] |
| 36 | intro hz |
| 37 | have h := hm t y |
| 38 | rw [hz, norm_zero, zero_pow (by decide : 2 ≠ 0)] at h |
| 39 | linarith |
| 40 | have h := potentialMultiplier_hasDerivWithinAt (Icc (0 : ℝ) T) t |
| 41 | (fun r => extendPath T hT m.field r y) (extendPath T hT m₁.field t y) |
| 42 | (hmt t t.property y) hn |
| 43 | convert h using 1 <;> try rfl |
| 44 | · funext r |
| 45 | exact potentialCoefficient_apply m c hc hm (projIcc 0 T hT r) y |
| 46 | · rw [potentialTimeCoefficient_apply] |
| 47 | change potentialMultiplierDerivative (m.field t y) (m₁.field t y) = |
| 48 | potentialMultiplierDerivative (m.field (projIcc 0 T hT t) y) (m₁.field (projIcc 0 T hT t) y) |
| 49 | rw [projIcc_of_mem hT t.property] |
| 50 | |
| 51 | variable (P : ℝ) [Fact (0 < P)] |
| 52 | (p f : C(Icc (0 : ℝ) T,LiftL2 P)) |
| 53 | (hd : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT p) (f t) (Icc (0 : ℝ) T) t) |
| 54 | |
| 55 | include hmt hd in |
| 56 | /-- Q_t is constructed from m, m_t, A and A_t; no regularity of Q is assumed. -/ |
| 57 | theorem sourcePotentialPath_hasDerivWithinAt (t : Icc (0 : ℝ) T) : |
| 58 | HasDerivWithinAt (extendPath T hT (potentialPath P (potentialCoefficient m c hc hm) p)) |
| 59 | (potentialDerivative P T (potentialCoefficient m c hc hm) |
| 60 | (potentialTimeCoefficient m m₁ c hc hm) p f t) (Icc (0 : ℝ) T) t := by |
| 61 | have hcoeff : ∀ r ∈ Icc (0 : ℝ) T, ∀ y : Space, |
| 62 | HasDerivWithinAt (fun s => extendPath T hT (potentialCoefficient m c hc hm) s y) |
| 63 | (extendPath T hT (potentialTimeCoefficient m m₁ c hc hm) r y) (Icc (0 : ℝ) T) r := by |
| 64 | intro r hr y |
| 65 | have h := potentialCoefficient_hasDerivWithinAt T hT m m₁ c hc hm hmt ⟨r,hr⟩ y |
| 66 | exact h.congr_deriv (congrArg (fun z : Icc (0 : ℝ) T => |
| 67 | potentialTimeCoefficient m m₁ c hc hm z y) (projIcc_of_mem hT hr).symm) |
| 68 | have h := potentialPath_hasDerivWithinAt P T hT (potentialCoefficient m c hc hm) |
| 69 | (potentialTimeCoefficient m m₁ c hc hm) p f hcoeff hd t |
| 70 | exact h |
| 71 | |
| 72 | end EulerSourcePotentialCoefficient |