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.LpDominatedConvergence |
| 2 | import Euler.LpDerivativeBundling |
| 3 | |
| 4 | /-! Differentiating an actual L²-valued family by dominated ordinary derivatives. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | |
| 9 | namespace EulerLpDerivative |
| 10 | |
| 11 | open MeasureTheory Filter |
| 12 | open scoped Topology |
| 13 | |
| 14 | variable {X P V : Type*} [MeasurableSpace X] |
| 15 | [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 16 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 17 | (μ : Measure X) |
| 18 | |
| 19 | /-- A pointwise derivative and a square-integrable increment bound give a genuine L² Fréchet derivative. -/ |
| 20 | theorem hasFDerivAt_of_dominated (U : P → Lp V 2 μ) (F : P → X → V) |
| 21 | (hU : ∀ a, U a =ᵐ[μ] F a) (D : Lp (P →L[ℝ] V) 2 μ) |
| 22 | (hpoint : ∀ᵐ x ∂μ, HasFDerivAt (fun a => F a x) (D x) 0) |
| 23 | (M : X → ℝ) (hM : MemLp M 2 μ) (hM0 : ∀ᵐ x ∂μ, 0 ≤ M x) |
| 24 | (hbound : ∀ᶠ a in 𝓝 (0 : P), ∀ᵐ x ∂μ, ‖F a x-F 0 x‖ ≤ M x*‖a‖) : |
| 25 | HasFDerivAt U (derivativeMap μ D) 0 := by |
| 26 | let R : P → Lp V 2 μ := fun a => ‖a‖⁻¹ • (U a-U 0-derivativeMap μ D a) |
| 27 | let r : P → X → V := fun a x => ‖a‖⁻¹ • (F a x-F 0 x-D x a) |
| 28 | have hr (a : P) : R a =ᵐ[μ] r a := by |
| 29 | filter_upwards [Lp.coeFn_smul (‖a‖⁻¹) (U a-U 0-derivativeMap μ D a), |
| 30 | Lp.coeFn_sub (U a-U 0) (derivativeMap μ D a), Lp.coeFn_sub (U a) (U 0), |
| 31 | hU a, hU 0, derivativeMap_ae μ D a] with x hs hss hsub ha hzero hd |
| 32 | change (‖a‖⁻¹ • (U a-U 0-derivativeMap μ D a)) x = _ |
| 33 | simp only [Pi.smul_apply, Pi.sub_apply] at hs hss hsub |
| 34 | rw [hs] |
| 35 | rw [hss, hsub, ha, hzero, hd] |
| 36 | have hzero : (0 : Lp V 2 μ) =ᵐ[μ] (fun _ : X => (0 : V)) := Lp.coeFn_zero V 2 μ |
| 37 | have hconv : Tendsto R (𝓝 (0 : P)) (𝓝 (0 : Lp V 2 μ)) := by |
| 38 | apply EulerLpConvergence.tendsto_of_dominated μ R 0 r (fun _ => 0) hr hzero |
| 39 | (fun x => M x + ‖D x‖) (hM.add (Lp.memLp D).norm) |
| 40 | · filter_upwards [hbound] with a ha |
| 41 | filter_upwards [ha, hM0] with x hx hm |
| 42 | rw [sub_zero] |
| 43 | change ‖‖a‖⁻¹ • (F a x-F 0 x-D x a)‖ ≤ M x+‖D x‖ |
| 44 | rw [norm_smul, Real.norm_of_nonneg (inv_nonneg.mpr (norm_nonneg a))] |
| 45 | by_cases hz : ‖a‖ = 0 |
| 46 | · simp only [hz, inv_zero, zero_mul] |
| 47 | exact add_nonneg hm (norm_nonneg _) |
| 48 | · calc |
| 49 | _ ≤ ‖a‖⁻¹ * (‖F a x-F 0 x‖+‖D x a‖) := |
| 50 | mul_le_mul_of_nonneg_left (norm_sub_le _ _) (inv_nonneg.mpr (norm_nonneg a)) |
| 51 | _ ≤ ‖a‖⁻¹ * (M x*‖a‖+‖D x‖*‖a‖) := |
| 52 | mul_le_mul_of_nonneg_left (add_le_add hx ((D x).le_opNorm a)) |
| 53 | (inv_nonneg.mpr (norm_nonneg a)) |
| 54 | _ = M x+‖D x‖ := by field_simp |
| 55 | · filter_upwards [hpoint] with x hx |
| 56 | apply tendsto_zero_iff_norm_tendsto_zero.mpr |
| 57 | have h := hasFDerivAt_iff_tendsto.mp hx |
| 58 | simpa only [r, sub_zero, norm_smul, |
| 59 | Real.norm_of_nonneg (inv_nonneg.mpr (norm_nonneg _))] using h |
| 60 | apply hasFDerivAt_iff_tendsto.mpr |
| 61 | have hn := hconv.norm |
| 62 | simpa only [R, sub_zero, norm_smul, norm_zero, |
| 63 | Real.norm_of_nonneg (inv_nonneg.mpr (norm_nonneg _))] using hn |
| 64 | |
| 65 | end EulerLpDerivative |