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.GenericTupleSupport |
| 2 | import NavierStokes.GenericAngularRecovery |
| 3 | |
| 4 | noncomputable section |
| 5 | |
| 6 | namespace NavierStokes.GenericTupleRealization |
| 7 | |
| 8 | open Set Filter ProblemStatement GenericDifferentialPolynomial DiagonalResidual |
| 9 | open GenericRealizationBounds GenericRealization |
| 10 | open scoped Topology ContDiff BigOperators |
| 11 | |
| 12 | /-- The base-growth assumption of the manuscript implies the approximation |
| 13 | interface used in the simultaneous realization theorem. -/ |
| 14 | theorem base_rate_of_raw_log {W : Type*} [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 15 | {U : Set SpaceTime} {q : SpaceTime → ℝ} {f : SpaceTime → W} |
| 16 | (hq : ∀ w ∈ U, 0 < q w) (C P K : ℕ → ℝ) |
| 17 | (hb : ∀ m w, w ∈ U → ‖iteratedFDeriv ℝ m f w‖ ≤ |
| 18 | C m * (1 + |Real.log (q w)|) ^ P m * q w ^ (-K m)) : |
| 19 | ∀ m, JetRate (scaleApproach U q) q f m (-(K m + 1)) := by |
| 20 | intro m |
| 21 | have hlU := eventually_domain U q |
| 22 | convert jetRate_of_log_bound (hlU.mono fun w hw => hq w hw) (scale_tendsto U q) |
| 23 | m (C m) (P m) (-K m) (hlU.mono fun w hw => hb m w hw) using 1 |
| 24 | ring |
| 25 | |
| 26 | /-- The simultaneous realization under the literal smooth Cartesian angular |
| 27 | representatives and axial scale of the manuscript. Solenoidality and tangency |
| 28 | are derived; cylindrical rate derivatives are not hypotheses. -/ |
| 29 | theorem exists_angular_realization {κ : Type*} [Fintype κ] {U : Set SpaceTime} |
| 30 | (hU : IsOpen U) {q : SpaceTime → ℝ} (hq : ContDiffOn ℝ ∞ q U) |
| 31 | (Q : ℝ × ℝ → ℝ) (haxial : q = fun w => Q (w.1, w.2 2)) |
| 32 | (hpos : ∀ w ∈ U, 0 < q w ∧ q w ≤ 1) |
| 33 | (Bq : ℕ → ℝ) (hBq : ∀ k w, w ∈ U → q w ≤ 1 → |
| 34 | ‖iteratedFDeriv ℝ k q w‖ ≤ Bq k * q w ^ (1 - (k : ℝ))) |
| 35 | {u0 : VelocityField} {s0 : κ → PressureField} |
| 36 | (hu0 : ContDiffOn ℝ ∞ u0 U) (hs0 : ∀ k, ContDiffOn ℝ ∞ (s0 k) U) |
| 37 | (K0 : ℕ → ℝ) (Ks : κ → ℕ → ℝ) |
| 38 | (hbaseU : ∀ m, JetRate (scaleApproach U q) q u0 m (-K0 m)) |
| 39 | (hbaseS : ∀ k m, JetRate (scaleApproach U q) q (s0 k) m (-Ks k m)) |
| 40 | {A B : ℕ → VelocityField} {R : κ → ℕ → PressureField} |
| 41 | (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) U) |
| 42 | (hB : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (B j) U) |
| 43 | (b : ℕ → DirectAngularDiagonal.Coefficient) |
| 44 | (hangular : ∀ j, 1 ≤ j → B j = DirectAngularDiagonal.angularField (b j)) |
| 45 | (hR : ∀ k j, 1 ≤ j → ContDiffOn ℝ ∞ (R k j) U) |
| 46 | (g L : ℕ → ℝ) (C P : Entry κ → ℕ → ℕ → ℝ) |
| 47 | (hraw : ∀ e, CutStageEstimates.RawStageBounds q (representatives A B R e) g L (C e) (P e) U) |
| 48 | (hg : ∀ j, 1 ≤ j → 0 < g j) (hgmono : Monotone g) |
| 49 | (hdiv0 : ∀ w ∈ U, spatialDivergence u0 w.1 w.2 = 0) |
| 50 | {τ : Type*} (tests : ℕ → Finset τ) (Bt Pt γ : ℕ → τ → ℝ) |
| 51 | (hγ : ∀ j k, k ∈ tests j → 0 < γ j k) {q0 : ℝ} (hq0 : 0 < q0) : |
| 52 | ∃ a : ℕ → ℕ, (∀ j, 1 / (a j : ℝ) < q0) ∧ Result U q u0 s0 A B R g L a ∧ |
| 53 | ∀ j k, k ∈ tests j → ∀ r : ℝ, 0 < r → r ≤ 1 / (a j : ℝ) → |
| 54 | |DiagonalScale.logPowerWeight (Bt j k) (Pt j k) (γ j k) r| ≤ (1 / 2 : ℝ) ^ j := by |
| 55 | have hadmissible : ∀ j, 1 ≤ j → ∀ w ∈ U, |
| 56 | spatialDivergence (B j) w.1 w.2 = 0 ∧ |
| 57 | ∑ i : Fin 3, fderiv ℝ (fun x : Space => q (w.1, x)) w.2 (coordinateVector i) * B j w i = 0 := by |
| 58 | intro j hj w hw |
| 59 | have hqa : ContDiffAt ℝ ∞ (fun z : SpaceTime => Q (z.1, z.2 2)) w := by |
| 60 | simpa only [haxial] using hq.contDiffAt (hU.mem_nhds hw) |
| 61 | have hba : ContDiffAt ℝ ∞ (DirectAngularDiagonal.angularField (b j)) w := by |
| 62 | rw [← hangular j hj] |
| 63 | exact (hB j hj).contDiffAt (hU.mem_nhds hw) |
| 64 | simpa only [hangular j hj, haxial] using |
| 65 | GenericSolenoidalRealization.angular_admissibility Q (b j) hqa hba |
| 66 | exact exists_realization hU hq hpos Bq hBq hu0 hs0 K0 Ks hbaseU hbaseS |
| 67 | hA hB hR g L C P hraw hg hgmono hdiv0 (fun j hj w hw => (hadmissible j hj w hw).1) |
| 68 | (fun j hj w hw => (hadmissible j hj w hw).2) tests Bt Pt γ hγ hq0 |
| 69 | |
| 70 | /-- Full residual conclusion of `sum:realization`, including logarithmic |
| 71 | coefficient growth only on common factor supports and an arbitrary flat |
| 72 | finite-stage error. The realization and schedule are those of |
| 73 | `GenericTupleRealization.exists_realization`; no residual or support property |
| 74 | of the unknown infinite sum is an assumption. -/ |
| 75 | theorem Result.flat_residual_of_raw_bounds {κ : Type*} {U : Set SpaceTime} {q : SpaceTime → ℝ} |
| 76 | {u0 : VelocityField} {s0 : κ → PressureField} {A B : ℕ → VelocityField} |
| 77 | {R : κ → ℕ → PressureField} {g L : ℕ → ℝ} {a : ℕ → ℕ} |
| 78 | (H : Result U q u0 s0 A B R g L a) (hU : IsOpen U) |
| 79 | (hqs : ContDiffOn ℝ ∞ q U) (hq : ∀ w ∈ U, 0 < q w ∧ q w ≤ 1) |
| 80 | (hu0 : ContDiffOn ℝ ∞ u0 U) (hs0 : ∀ k, ContDiffOn ℝ ∞ (s0 k) U) |
| 81 | (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) U) |
| 82 | (hB : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (B j) U) |
| 83 | (hR : ∀ k j, 1 ≤ j → ContDiffOn ℝ ∞ (R k j) U) |
| 84 | (hgtop : Tendsto g atTop atTop) (P : SupportedPolynomial SpaceTime (Fin 3 ⊕ κ)) |
| 85 | (hconst : ContDiffOn ℝ ∞ P.constant U) (hc : ∀ t ∈ P.terms, ContDiffOn ℝ ∞ t.1 U) |
| 86 | (region : ((SpaceTime → ℝ) × Expression SpaceTime (Fin 3 ⊕ κ) Empty) → Set SpaceTime) |
| 87 | (Cc Pc Kc : ℕ → ℝ) |
| 88 | (hcoeff : ∀ t ∈ P.terms, ∀ m x, x ∈ U → x ∈ region t → |
| 89 | ‖iteratedFDeriv ℝ m t.1 x‖ ≤ Cc m * (1 + |Real.log (q x)|) ^ Pc m * q x ^ (-Kc m)) |
| 90 | (hrawsupport : ∀ t ∈ P.terms, ∀ x ∈ U, x ∉ region t → |
| 91 | FactorSupportAt (baseComponents u0 s0) (incrementComponents A B R) x t.2) |
| 92 | (hcutsupport : ∀ t ∈ P.terms, ∀ x ∈ U, x ∉ region t → |
| 93 | FactorSupportAt (baseComponents u0 s0) (cutIncrementComponents (fun j => (a j : ℝ)) q A B R) x t.2) |
| 94 | (rho : ℕ → ℝ) (hrho : Tendsto rho atTop atTop) (Cr Pr : ℕ → ℕ → ℝ) (Kr : ℕ → ℝ) |
| 95 | (error : ℕ → ℕ → SpaceTime → ℝ) |
| 96 | (hres : ∀ J m x, x ∈ U → |
| 97 | ‖iteratedFDeriv ℝ m (P.eval (stageComponents u0 s0 A B R J)) x‖ ≤ |
| 98 | Cr J m * (1 + |Real.log (q x)|) ^ Pr J m * q x ^ (rho J - Kr m) + error J m x) |
| 99 | (he : ∀ J m N, ∃ Ce : ℝ, 0 ≤ Ce ∧ ∀ x ∈ U, error J m x ≤ Ce * q x ^ (N : ℕ)) |
| 100 | (m : ℕ) (N : ℝ) : |
| 101 | ∃ δ C : ℝ, 0 < δ ∧ 0 < C ∧ ∀ x ∈ U, 0 < q x → q x < δ → |
| 102 | ‖iteratedFDeriv ℝ m (P.eval (components (fun j => (a j : ℝ)) q u0 s0 A B R)) x‖ ≤ C * q x ^ N := by |
| 103 | have hlU := eventually_domain U q |
| 104 | have hlq := hlU.mono fun w hw => hq w hw |
| 105 | have hqzero := scale_tendsto U q |
| 106 | have hcoeffRate : ∀ t ∈ P.terms, ∀ m, |
| 107 | JetRate (scaleApproach U q ⊓ 𝓟 (region t)) q t.1 m (-(Kc m + 1)) := by |
| 108 | intro t ht m |
| 109 | have hregion : ∀ᶠ x in scaleApproach U q ⊓ 𝓟 (region t), x ∈ region t := |
| 110 | Filter.Eventually.filter_mono inf_le_right (by simp) |
| 111 | have hb : ∀ᶠ x in scaleApproach U q ⊓ 𝓟 (region t), |
| 112 | ‖iteratedFDeriv ℝ m t.1 x‖ ≤ Cc m * (1 + |Real.log (q x)|) ^ Pc m * q x ^ (-Kc m) := by |
| 113 | filter_upwards [hlU.filter_mono inf_le_left, hregion] with x hx hr |
| 114 | exact hcoeff t ht m x hx hr |
| 115 | convert jetRate_of_log_bound ((hlq.filter_mono inf_le_left).mono fun _ hx => hx.1) |
| 116 | (hqzero.mono_left inf_le_left) m (Cc m) (Pc m) (-Kc m) hb using 1 |
| 117 | ring |
| 118 | have hresRate : ∀ J k, JetRate (scaleApproach U q) q |
| 119 | (P.eval (stageComponents u0 s0 A B R J)) k (rho J - (Kr k + 1)) := by |
| 120 | intro J k |
| 121 | have herr : ∀ M : ℕ, ∃ Ce : ℝ, 0 ≤ Ce ∧ |
| 122 | ∀ᶠ x in scaleApproach U q, error J k x ≤ Ce * q x ^ M := by |
| 123 | intro M |
| 124 | obtain ⟨Ce, hCe, hb⟩ := he J k M |
| 125 | exact ⟨Ce, hCe, hlU.mono fun x hx => hb x hx⟩ |
| 126 | convert jetRate_of_log_bound_add_flat hlq hqzero k (Cr J k) (Pr J k) |
| 127 | (rho J - Kr k) (hlU.mono fun x hx => hres J k x hx) herr using 1 |
| 128 | ring |
| 129 | exact H.flat_residual_of_factor_support hU hqs hq hu0 hs0 hA hB hR hgtop P hconst hc |
| 130 | region (fun _ m => Kc m + 1) hcoeffRate hrawsupport hcutsupport rho hrho |
| 131 | (fun m => Kr m + 1) hresRate m N |
| 132 | |
| 133 | end NavierStokes.GenericTupleRealization |