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.CylinderGraphAffine |
| 2 | |
| 3 | /-! A genuine cylinder L² time derivative, together with its genuine angular |
| 4 | derivative, remains a genuine spatial L² derivative on every fixed phase graph. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCylinderGraphTrace |
| 9 | |
| 10 | open Set MeasureTheory Filter EulerLiftedGradientSpace EulerMetricTransport |
| 11 | EulerTransportDerivatives |
| 12 | open scoped ContDiff Topology |
| 13 | |
| 14 | variable (P : ℝ) [Fact (0 < P)] |
| 15 | |
| 16 | theorem graph_hasDerivWithinAt |
| 17 | (u v : ℝ → LiftL2 P) (f : ℝ → LiftDomain P → Vector3) |
| 18 | (hf : ∀ r x, ContDiff ℝ ∞ (localFieldLift P (f r) x)) |
| 19 | (hu : ∀ r, (u r : LiftDomain P → Vector3) =ᵐ[liftMeasure P] f r) |
| 20 | (hv : ∀ r, (v r : LiftDomain P → Vector3) =ᵐ[liftMeasure P] |
| 21 | fieldDerivative P (0,1) (f r)) |
| 22 | (θ : Vector3 → AddCircle P) (hθ : Continuous θ) |
| 23 | (w : ℝ → Lp Vector3 2 (volume : Measure Vector3)) |
| 24 | (hw : ∀ r, (w r : Vector3 → Vector3) =ᵐ[volume] fun x => f r (x,θ x)) |
| 25 | (g : LiftDomain P → Vector3) (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift P g x)) |
| 26 | (u' v' : LiftL2 P) |
| 27 | (hu' : (u' : LiftDomain P → Vector3) =ᵐ[liftMeasure P] g) |
| 28 | (hv' : (v' : LiftDomain P → Vector3) =ᵐ[liftMeasure P] fieldDerivative P (0,1) g) |
| 29 | (w' : Lp Vector3 2 (volume : Measure Vector3)) |
| 30 | (hw' : (w' : Vector3 → Vector3) =ᵐ[volume] fun x => g (x,θ x)) |
| 31 | (s : Set ℝ) (t : ℝ) |
| 32 | (hdu : HasDerivWithinAt u u' s t) (hdv : HasDerivWithinAt v v' s t) : |
| 33 | HasDerivWithinAt w w' s t := by |
| 34 | have hb (r : ℝ) : ‖slope w t r-w'‖^2 ≤ |
| 35 | (2/P)*‖slope u t r-u'‖^2+(2*P)*‖slope v t r-v'‖^2 := by |
| 36 | simpa only [slope_def_module,Matrix.cons_val_zero,Matrix.cons_val_one, |
| 37 | Matrix.cons_val_two,Matrix.vecHead,Matrix.vecTail,Function.comp_def, |
| 38 | Matrix.cons_val_succ] using graph_affine_norm_sq_le P ![f t,f r,g] |
| 39 | (by intro i x; fin_cases i; exact hf t x; exact hf r x; exact hg x) |
| 40 | ![u t,u r,u'] ![v t,v r,v'] |
| 41 | (by intro i; fin_cases i; exact hu t; exact hu r; exact hu') |
| 42 | (by intro i; fin_cases i; exact hv t; exact hv r; exact hv') θ hθ |
| 43 | ![w t,w r,w'] |
| 44 | (by intro i; fin_cases i; exact hw t; exact hw r; exact hw') (r-t)⁻¹ |
| 45 | have huLim := (hasDerivWithinAt_iff_tendsto_slope.mp hdu).sub_const u' |
| 46 | have hvLim := (hasDerivWithinAt_iff_tendsto_slope.mp hdv).sub_const v' |
| 47 | have hlim : Tendsto (fun r => (2/P)*‖slope u t r-u'‖^2+(2*P)*‖slope v t r-v'‖^2) |
| 48 | (𝓝[s \ {t}] t) (𝓝 (0 : ℝ)) := by |
| 49 | simpa only [sub_self,norm_zero,zero_pow (by norm_num : (2 : ℕ) ≠ 0), |
| 50 | mul_zero,add_zero] using |
| 51 | ((huLim.norm.pow 2).const_mul (2/P)).add ((hvLim.norm.pow 2).const_mul (2*P)) |
| 52 | have hsq := squeeze_zero (fun r => sq_nonneg ‖slope w t r-w'‖) hb hlim |
| 53 | rw [hasDerivWithinAt_iff_tendsto_slope,tendsto_iff_norm_sub_tendsto_zero] |
| 54 | have hr := Real.continuous_sqrt.continuousAt.tendsto.comp hsq |
| 55 | simpa only [Function.comp_def,Real.sqrt_sq_eq_abs,abs_norm,Real.sqrt_zero] using hr |
| 56 | |
| 57 | end EulerCylinderGraphTrace |