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.WeightedClasses |
| 2 | import NavierStokes.LinearWaveResidual |
| 3 | import NavierStokes.PartitionedCovariance |
| 4 | import NavierStokes.CurlClassBounds |
| 5 | |
| 6 | /-! |
| 7 | # All-jet bounds for actual nonlinear wave interactions |
| 8 | |
| 9 | Only stripped coefficients are placed in the weighted classes. The carrier is |
| 10 | retained in the exact differential identities and is removed before estimating. |
| 11 | -/ |
| 12 | |
| 13 | namespace NavierStokes.WaveInteractionBounds |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open Set Filter WeightedClasses HarmonicCalculus |
| 18 | open scoped ContDiff Topology BigOperators |
| 19 | |
| 20 | variable {D E F : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 21 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 23 | |
| 24 | theorem class_congr {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 25 | {f g : ℕ → D → E} (hf : MemClass s w α f) |
| 26 | (hfg : ∀ n, EqOn (f n) (g n) s.domain) : MemClass s w α g := by |
| 27 | refine ⟨hf.weight_nonneg, fun n => (hf.smooth n).congr (fun x hx => (hfg n hx).symm), ?_⟩ |
| 28 | intro m |
| 29 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 30 | refine ⟨C, hC, p, ?_⟩ |
| 31 | intro n x hx j hj |
| 32 | have he : f n =ᶠ[𝓝[univ] x] g n := by |
| 33 | rw [nhdsWithin_univ] |
| 34 | exact eventually_of_mem (s.isOpen_domain.mem_nhds hx) (hfg n) |
| 35 | have hjet := he.iteratedFDerivWithin_eq (𝕜 := ℝ) (hfg n hx) j |
| 36 | simp only [iteratedFDerivWithin_univ] at hjet |
| 37 | rw [← hjet] |
| 38 | exact hb n x hx j hj |
| 39 | |
| 40 | theorem class_conj {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 41 | {f : ℕ → D → ℂ} (hf : MemClass s w α f) : |
| 42 | MemClass s w α (fun n x => star (f n x)) := |
| 43 | hf.map (Complex.conjCLE : ℂ →L[ℝ] ℂ) |
| 44 | |
| 45 | theorem class_const_cmul {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 46 | {f : ℕ → D → ℂ} (hf : MemClass s w α f) (c : ℂ) : |
| 47 | MemClass s w α (fun n x => c * f n x) := |
| 48 | hf.map (ContinuousLinearMap.mul ℝ ℂ c) |
| 49 | |
| 50 | /-- Actual geometric coefficient fields, rather than assumed derivative closure. -/ |
| 51 | structure Geometry (s : StripData D) (κ : ℝ) where |
| 52 | radius : ℕ → D → ℝ |
| 53 | radial : ℕ → D → D |
| 54 | angular : ℕ → D → D |
| 55 | axial : ℕ → D → D |
| 56 | radius_pos : ∀ n x, x ∈ s.domain → 0 < radius n x |
| 57 | radial_class : UnweightedClass s (-κ) radial |
| 58 | axial_class : UnweightedClass s 1 axial |
| 59 | inverse_radius_class : UnweightedClass s 0 (fun n x => (radius n x)⁻¹) |
| 60 | |
| 61 | theorem graph_vector_class {s : StripData D} {κ : ℝ} {M : ℕ → ℝ} {a : D → ℝ} |
| 62 | (hκ : 0 ≤ κ) (hM : BandBound s (-κ) M) |
| 63 | (ha : UnweightedClass s 0 (fun _ => a)) (e v : D) : |
| 64 | UnweightedClass s (-κ) (fun n x => e + M n • (a x • v)) := by |
| 65 | have he := (unweighted_const s e).mono_exponent (neg_nonpos.mpr hκ) |
| 66 | have hav : UnweightedClass s 0 (fun _ x => a x • v) := by |
| 67 | unfold UnweightedClass |
| 68 | simpa only [one_mul, zero_add] using MemClass.smul ha (unweighted_const s v) |
| 69 | have hmv : UnweightedClass s (-κ) (fun n x => M n • (a x • v)) := by |
| 70 | unfold UnweightedClass |
| 71 | simpa only [zero_add] using hav.band_smul hM |
| 72 | exact he.add hmv |
| 73 | |
| 74 | theorem axial_vector_class (s : StripData D) (v : D) : |
| 75 | UnweightedClass s 1 (fun n _ => s.epsilon n • v) := by |
| 76 | unfold UnweightedClass |
| 77 | simpa only [zero_add, Real.rpow_one] using (unweighted_const s v).band_smul (bandBound_rpow s 1) |
| 78 | |
| 79 | abbrev Family (D : Type*) := ℕ → D → ComplexVector |
| 80 | |
| 81 | def WaveVector (s : StripData D) (P : ℕ → D → ℝ) (α : ℝ) (a : Family D) : Prop := |
| 82 | ∀ i, WaveClass s P α (fun n x => a n x i) |
| 83 | |
| 84 | def MeanVector (s : StripData D) (μ : ℝ) (a : Family D) : Prop := |
| 85 | MeanClass s (μ + 1) (fun n x => a n x 0) ∧ |
| 86 | MeanClass s μ (fun n x => a n x 1) ∧ MeanClass s μ (fun n x => a n x 2) |
| 87 | |
| 88 | def AngularIndependent {s : StripData D} {κ : ℝ} (G : Geometry s κ) (a : Family D) : Prop := |
| 89 | ∀ n i x, x ∈ s.domain → along (G.angular n) (fun y => a n y i) x = 0 |
| 90 | |
| 91 | noncomputable def strippedTransport {s : StripData D} {κ : ℝ} |
| 92 | (G : Geometry s κ) (a b : Family D) : Family D := fun n x i => |
| 93 | a n x 0 * along (G.radial n) (fun y => b n y i) x + |
| 94 | (a n x 1 / (G.radius n x : ℂ)) * angularGenerator (b n x) i + |
| 95 | a n x 2 * along (G.axial n) (fun y => b n y i) x |
| 96 | |
| 97 | theorem inverse_radius_complex {s : StripData D} {κ : ℝ} (G : Geometry s κ) : |
| 98 | UnweightedClass s 0 (fun n x => ((G.radius n x : ℂ))⁻¹) := by |
| 99 | unfold UnweightedClass |
| 100 | simpa only [Complex.ofRealCLM_apply, Complex.ofReal_inv] using |
| 101 | G.inverse_radius_class.map Complex.ofRealCLM |
| 102 | |
| 103 | noncomputable def waveMeanCoefficient {s : StripData D} {κ : ℝ} (G : Geometry s κ) |
| 104 | (Φ : ℕ → D → ℝ) (ν : ℕ → ℝ) (m a : Family D) : Family D := fun n x i => |
| 105 | strippedTransport G m a n x i + strippedTransport G a m n x i + |
| 106 | phaseFactor (ν n) * normalDot |
| 107 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (m n x) * a n x i |
| 108 | |
| 109 | theorem phaseFactor_ratio (ν ξ : ℝ) (hν : ν ≠ 0) : |
| 110 | ((ξ / ν : ℝ) : ℂ) * phaseFactor ν = phaseFactor ξ := by |
| 111 | have hc : (ν : ℂ) ≠ 0 := by exact_mod_cast hν |
| 112 | simp only [phaseFactor, Complex.ofReal_div] |
| 113 | field_simp |
| 114 | |
| 115 | /-- The exact divergence cancellation, before taking any norm or any jet. -/ |
| 116 | theorem switched_longitudinal (R : D → ℝ) (Vr Vθ Vz : D → D) (ν ξ : ℝ) |
| 117 | (hν : ν ≠ 0) {Φ : D → ℝ} {a : D → ComplexVector} {x : D} |
| 118 | (hΦ : DifferentiableAt ℝ Φ x) (ha : ∀ i, DifferentiableAt ℝ (fun y => a y i) x) |
| 119 | (haθ : along Vθ (fun y => a y 1) x = 0) |
| 120 | (hdiv : cylindricalDivergence R Vr Vθ Vz (vectorMode ν Φ a) x = 0) : |
| 121 | phaseFactor ξ * normalDot (phaseNormal R Vr Vθ Vz Φ x) (a x) = |
| 122 | (ξ / ν) • (-strippedDivergence R Vr Vz a x) := by |
| 123 | rw [← phaseFactor_ratio ν ξ hν, mul_assoc, |
| 124 | longitudinal_identity R Vr Vθ Vz ν hΦ ha haθ hdiv] |
| 125 | rfl |
| 126 | |
| 127 | noncomputable def sameCoefficient {s : StripData D} {κ : ℝ} (G : Geometry s κ) |
| 128 | (Φ : ℕ → D → ℝ) (ξ : ℕ → ℝ) (a b : Family D) : Family D := fun n x i => |
| 129 | strippedTransport G a b n x i + phaseFactor (ξ n) * normalDot |
| 130 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (a n x) * b n x i |
| 131 | |
| 132 | /-- The complex operator restricts to the real cylindrical bilinear operator. -/ |
| 133 | theorem transport_realLift (R : D → ℝ) (Vr Vθ Vz : D → D) |
| 134 | (u : D → Fin 3 → ℝ) {v : D → Fin 3 → ℝ} {x : D} |
| 135 | (hv : ∀ i, DifferentiableAt ℝ (fun y => v y i) x) (i : Fin 3) : |
| 136 | LinearWaveResidual.transport R Vr Vθ Vz |
| 137 | (LinearWaveResidual.realLift u) (LinearWaveResidual.realLift v) x i = |
| 138 | (LinearWaveResidual.realTransport R Vr Vθ Vz u v x i : ℂ) := by |
| 139 | have hd (V : D → D) (j : Fin 3) := along_ofReal V (hv j) |
| 140 | fin_cases i <;> |
| 141 | simp [LinearWaveResidual.transport, LinearWaveResidual.realTransport, |
| 142 | LinearWaveResidual.realLift, angularGenerator, LinearWaveResidual.realAngularGenerator, |
| 143 | hd, Complex.ofReal_add, Complex.ofReal_mul, Complex.ofReal_div] |
| 144 | |
| 145 | end |
| 146 | |
| 147 | end NavierStokes.WaveInteractionBounds |