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 NavierStokes.UniformQuadraticBranch |
| 2 | import NavierStokes.ClosedIntervalMomentRepair |
| 3 | |
| 4 | noncomputable section |
| 5 | |
| 6 | namespace NavierStokes.ParameterizedMomentRepair |
| 7 | |
| 8 | open Set |
| 9 | open scoped ContDiff |
| 10 | |
| 11 | variable {P E : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 12 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 13 | |
| 14 | /-- A single smooth branch in all parameters, on an arbitrary closed parameter |
| 15 | set, under uniform quantitative moment-repair bounds. -/ |
| 16 | theorem exists_smooth_uniform_branch (S : Set P) |
| 17 | (B : P → E →L[ℝ] E) (A : P → E →L[ℝ] E →L[ℝ] E) (d : P → E) |
| 18 | (hB : ContDiffOn ℝ ∞ B S) (hA : ContDiffOn ℝ ∞ A S) (hd : ContDiffOn ℝ ∞ d S) |
| 19 | (ν q δ : ℝ) (hν : 0 ≤ ν) (hq : 0 ≤ q) (hδ : 0 ≤ δ) |
| 20 | (hBi : ∀ p ∈ S, (B p).IsInvertible) |
| 21 | (hBn : ∀ p ∈ S, ‖(B p).inverse‖ ≤ ν) |
| 22 | (hAn : ∀ p ∈ S, ‖A p‖ ≤ q) (hdn : ∀ p ∈ S, ‖d p‖ ≤ δ) |
| 23 | (hsmall : 8 * ν^2 * q * δ ≤ 1) : |
| 24 | ∃ c : P → E, ContDiffOn ℝ ∞ c S ∧ |
| 25 | (∀ p ∈ S, ‖c p‖ ≤ 2 * ν * ‖d p‖ ∧ B p (c p) + A p (c p) (c p) = d p) ∧ |
| 26 | (∀ p ∈ S, ∀ e : E, ‖e‖ ≤ 2 * ν * δ → |
| 27 | B p e + A p e e = d p → e = c p) := by |
| 28 | obtain ⟨c, hc, hspec, huniq⟩ := UniformQuadraticBranch.exists_smooth_small_branch |
| 29 | B A d hB hA hd ν q δ hν hq hδ hBi hBn hAn hdn hsmall |
| 30 | refine ⟨c, hc, ?_, huniq⟩ |
| 31 | intro p hp |
| 32 | refine ⟨?_, (hspec p hp).2⟩ |
| 33 | have hs : 4 * ν * q * (2 * ν * δ) ≤ 1 := by nlinarith [hsmall] |
| 34 | have hb := UniformQuadraticBranch.norm_sub_le (B p) (B p) (A p) (A p) |
| 35 | (0 : E) (d p) (0 : E) (c p) ν q (2*ν*δ) hν hq (by positivity) |
| 36 | (hBi p hp) (hBn p hp) (hAn p hp) (by simp; positivity) (hspec p hp).1 |
| 37 | (by simp) (hspec p hp).2 hs |
| 38 | have hzero : ‖(0 : E →L[ℝ] E →L[ℝ] E)‖ = 0 := norm_zero (E := E →L[ℝ] E →L[ℝ] E) |
| 39 | simpa only [sub_zero, sub_self, norm_zero, hzero, zero_mul, add_zero] using hb |
| 40 | |
| 41 | open ClosedIntervalCk ClosedIntervalMomentRepair |
| 42 | |
| 43 | /-- A parameter slice selected in a common uniform correction ball has the |
| 44 | same exact finite-jet estimate as the canonical C⁰ Picard branch. -/ |
| 45 | theorem same_branch_finite_jet_bound (D : Data E) (c : ℝ → E) |
| 46 | (hc : ContDiffOn ℝ ∞ c I) (ν q δ : ℝ) (hν : 0 ≤ ν) (hq : 0 ≤ q) (hδ : 0 ≤ δ) |
| 47 | (hν₀ : D.inverseNorm 0 ≤ ν) (hq₀ : D.quadraticNorm 0 ≤ q) (hd₀ : D.debtNorm 0 ≤ δ) |
| 48 | (hbound : ‖ofContDiffOn c (hc.of_le (by simp : (0 : ℕ∞ω) ≤ ∞))‖ ≤ 2 * ν * δ) |
| 49 | (heq : ∀ x ∈ I, D.B x (c x) + D.A x (c x) (c x) = D.d x) |
| 50 | (hsmall : 8 * ν^2 * q * δ ≤ 1) : |
| 51 | ∀ k : ℕ, D.Small k → |
| 52 | ‖ofContDiffOn c (hc.of_le (by simp : (k : ℕ∞ω) ≤ ∞))‖ ≤ |
| 53 | 2 * D.inverseNorm k * D.debtNorm k := by |
| 54 | have hνn : 0 ≤ D.inverseNorm 0 := norm_nonneg _ |
| 55 | have hqn : 0 ≤ D.quadraticNorm 0 := norm_nonneg (D.bilinearMap 0) |
| 56 | have hdn : 0 ≤ D.debtNorm 0 := norm_nonneg _ |
| 57 | have hs₀ : D.Small 0 := by |
| 58 | calc |
| 59 | _ ≤ 8 * ν^2 * q * δ := by |
| 60 | gcongr |
| 61 | _ ≤ 1 := hsmall |
| 62 | obtain ⟨f, hf, hf₀, hfeq, hfk, _, _⟩ := D.exists_smooth_same_branch hs₀ |
| 63 | have hfb : ∀ x : I, ‖f x‖ ≤ 2 * ν * δ := by |
| 64 | intro x |
| 65 | have hb := (norm_ofContDiffOn_le_iff f (hf.of_le (by simp : (0 : ℕ∞ω) ≤ ∞)) |
| 66 | (by positivity : 0 ≤ 2 * D.inverseNorm 0 * D.debtNorm 0)).mp hf₀ 0 le_rfl x |
| 67 | simp only [iteratedDerivWithin_zero] at hb |
| 68 | exact hb.trans (mul_le_mul (mul_le_mul_of_nonneg_left hν₀ (by norm_num)) hd₀ hdn (by positivity)) |
| 69 | have hcb : ∀ x : I, ‖c x‖ ≤ 2 * ν * δ := by |
| 70 | intro x |
| 71 | simpa only [iteratedDerivWithin_zero] using |
| 72 | (norm_ofContDiffOn_le_iff c (hc.of_le (by simp : (0 : ℕ∞ω) ≤ ∞)) |
| 73 | (by positivity : 0 ≤ 2 * ν * δ)).mp hbound 0 le_rfl x |
| 74 | have hs : 4 * ν * q * (2 * ν * δ) ≤ 1 := by nlinarith [hsmall] |
| 75 | have hfc : EqOn f c I := by |
| 76 | intro x hx |
| 77 | have hb := UniformQuadraticBranch.norm_sub_le (D.B x) (D.B x) (D.A x) (D.A x) |
| 78 | (D.d x) (D.d x) (c x) (f x) ν q (2*ν*δ) hν hq (by positivity) |
| 79 | (D.invertible x hx) ((D.pointwise_inverse_bound ⟨x,hx⟩).trans hν₀) |
| 80 | ((D.pointwise_bilinear_bound ⟨x,hx⟩).trans hq₀) (hcb ⟨x,hx⟩) (hfb ⟨x,hx⟩) |
| 81 | (heq x hx) (hfeq x hx) hs |
| 82 | have hz : ‖(0 : E →L[ℝ] E →L[ℝ] E)‖ = 0 := norm_zero (E := E →L[ℝ] E →L[ℝ] E) |
| 83 | have hn : ‖f x-c x‖ ≤ 0 := by |
| 84 | simpa only [sub_self, norm_zero, hz, zero_mul, zero_add, mul_zero] using hb |
| 85 | exact sub_eq_zero.mp (norm_eq_zero.mp (le_antisymm hn (norm_nonneg _))) |
| 86 | intro k hk |
| 87 | have he : ofContDiffOn c (hc.of_le (by simp : (k : ℕ∞ω) ≤ ∞)) = |
| 88 | ofContDiffOn f (hf.of_le (by simp : (k : ℕ∞ω) ≤ ∞)) := by |
| 89 | apply value_injective k |
| 90 | ext x |
| 91 | exact (hfc x.property).symm |
| 92 | rw [he] |
| 93 | exact hfk k hk |
| 94 | |
| 95 | end NavierStokes.ParameterizedMomentRepair |