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.CylinderGraphRealization |
| 2 | |
| 3 | /-! Restriction to a fixed continuous phase graph preserves time continuity |
| 4 | in actual spatial L². The proof uses the uniform trace estimate for differences. -/ |
| 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 | {K : Type*} [TopologicalSpace K] |
| 16 | (u v : C(K,LiftL2 P)) (f : K → LiftDomain P → Vector3) |
| 17 | (hf : ∀ t x, ContDiff ℝ ∞ (localFieldLift P (f t) x)) |
| 18 | (hu : ∀ t, (u t : LiftDomain P → Vector3) =ᵐ[liftMeasure P] f t) |
| 19 | (hv : ∀ t, (v t : LiftDomain P → Vector3) =ᵐ[liftMeasure P] |
| 20 | fieldDerivative P (0,1) (f t)) |
| 21 | (θ : Vector3 → AddCircle P) (hθ : Continuous θ) |
| 22 | |
| 23 | def graphPathValue (t : K) : Lp Vector3 2 (volume : Measure Vector3) := |
| 24 | graphRealization P (f t) (hf t) (u t) (v t) (hu t) (hv t) θ hθ |
| 25 | |
| 26 | theorem graphPathValue_ae (t : K) : |
| 27 | (graphPathValue P u v f hf hu hv θ hθ t : Vector3 → Vector3) =ᵐ[volume] |
| 28 | fun x => f t (x,θ x) := |
| 29 | graphRealization_ae P (f t) (hf t) (u t) (v t) (hu t) (hv t) θ hθ |
| 30 | |
| 31 | theorem graphPathValue_sub_norm_sq_le (t s : K) : |
| 32 | ‖graphPathValue P u v f hf hu hv θ hθ t- |
| 33 | graphPathValue P u v f hf hu hv θ hθ s‖^2 ≤ |
| 34 | (2/P)*‖u t-u s‖^2+(2*P)*‖v t-v s‖^2 := by |
| 35 | refine graph_norm_sq_le P (fun x => f t x-f s x) |
| 36 | (fun x => (hf t x).sub (hf s x)) (u t-u s) (v t-v s) ?_ ?_ θ hθ _ ?_ |
| 37 | · filter_upwards [Lp.coeFn_sub (u t) (u s),hu t,hu s] with x hs ht hu |
| 38 | exact hs.trans (congrArg₂ (·-·) ht hu) |
| 39 | · filter_upwards [Lp.coeFn_sub (v t) (v s),hv t,hv s] with x hs ht hu |
| 40 | exact hs.trans ((congrArg₂ (·-·) ht hu).trans |
| 41 | (EulerMollifierUniform.fieldDerivative_sub P (0,1) (f t) (f s) (hf t) (hf s) x).symm) |
| 42 | · filter_upwards [Lp.coeFn_sub |
| 43 | (graphPathValue P u v f hf hu hv θ hθ t) |
| 44 | (graphPathValue P u v f hf hu hv θ hθ s), |
| 45 | graphPathValue_ae P u v f hf hu hv θ hθ t, |
| 46 | graphPathValue_ae P u v f hf hu hv θ hθ s] with x hs ht hu |
| 47 | exact hs.trans (congrArg₂ (·-·) ht hu) |
| 48 | |
| 49 | theorem graphPathValue_continuous : |
| 50 | Continuous (graphPathValue P u v f hf hu hv θ hθ) := by |
| 51 | apply continuous_iff_continuousAt.mpr |
| 52 | intro t |
| 53 | rw [ContinuousAt,tendsto_iff_norm_sub_tendsto_zero] |
| 54 | have hlim : Tendsto (fun s => (2/P)*‖u s-u t‖^2+(2*P)*‖v s-v t‖^2) |
| 55 | (𝓝 t) (𝓝 (0 : ℝ)) := by |
| 56 | simpa only [sub_self,norm_zero,zero_pow (by norm_num : (2 : ℕ) ≠ 0), |
| 57 | mul_zero,add_zero] using |
| 58 | ((((u.continuous.tendsto t).sub_const (u t)).norm.pow 2).const_mul (2/P)).add |
| 59 | ((((v.continuous.tendsto t).sub_const (v t)).norm.pow 2).const_mul (2*P)) |
| 60 | have hsq := squeeze_zero |
| 61 | (fun s => sq_nonneg ‖graphPathValue P u v f hf hu hv θ hθ s- |
| 62 | graphPathValue P u v f hf hu hv θ hθ t‖) |
| 63 | (fun s => graphPathValue_sub_norm_sq_le P u v f hf hu hv θ hθ s t) hlim |
| 64 | have hr := Real.continuous_sqrt.continuousAt.tendsto.comp hsq |
| 65 | simpa only [Function.comp_def,Real.sqrt_sq_eq_abs,abs_norm,Real.sqrt_zero] using hr |
| 66 | |
| 67 | /-- The continuous spatial L² path is constructed from the actual cylinder |
| 68 | path and its actual angular derivative. -/ |
| 69 | def graphPath : C(K,Lp Vector3 2 (volume : Measure Vector3)) := |
| 70 | ⟨graphPathValue P u v f hf hu hv θ hθ, |
| 71 | graphPathValue_continuous P u v f hf hu hv θ hθ⟩ |
| 72 | |
| 73 | end EulerCylinderGraphTrace |