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.GenericTupleRealization |
| 2 | import NavierStokes.GenericFactorSupport |
| 3 | |
| 4 | noncomputable section |
| 5 | |
| 6 | namespace NavierStokes.GenericTupleRealization |
| 7 | |
| 8 | open Set Filter ProblemStatement GenericSolenoidalRealization GenericDifferentialPolynomial |
| 9 | open GenericRealizationBounds GenericRealization SolenoidalDiagonal |
| 10 | open scoped Topology ContDiff BigOperators |
| 11 | |
| 12 | def baseComponents {κ : Type*} (u0 : VelocityField) (s0 : κ → PressureField) : |
| 13 | Fin 3 ⊕ κ → PressureField |
| 14 | | .inl i => fun w => u0 w i |
| 15 | | .inr k => s0 k |
| 16 | |
| 17 | def incrementComponents {κ : Type*} (A B : ℕ → VelocityField) |
| 18 | (R : κ → ℕ → PressureField) (j : ℕ) : Fin 3 ⊕ κ → PressureField |
| 19 | | .inl i => fun w => (SpatialCurl.spatialCurl (CutStageEstimates.positiveStages A j) w + |
| 20 | CutStageEstimates.positiveStages B j w) i |
| 21 | | .inr k => CutStageEstimates.positiveStages (R k) j |
| 22 | |
| 23 | def cutIncrementComponents {κ : Type*} (a : ℕ → ℝ) (q : SpaceTime → ℝ) |
| 24 | (A B : ℕ → VelocityField) (R : κ → ℕ → PressureField) (j : ℕ) : Fin 3 ⊕ κ → PressureField |
| 25 | | .inl i => fun w => (SpatialCurl.spatialCurl (cutStage a q (CutStageEstimates.positiveStages A) j) w + |
| 26 | cutStage a q (CutStageEstimates.positiveStages B) j w) i |
| 27 | | .inr k => cutStage a q (CutStageEstimates.positiveStages (R k)) j |
| 28 | |
| 29 | theorem smooth_baseComponents {κ : Type*} {U : Set SpaceTime} |
| 30 | {u0 : VelocityField} {s0 : κ → PressureField} |
| 31 | (hu0 : ContDiffOn ℝ ∞ u0 U) (hs0 : ∀ k, ContDiffOn ℝ ∞ (s0 k) U) : |
| 32 | ∀ i, ContDiffOn ℝ ∞ (baseComponents u0 s0 i) U := by |
| 33 | intro i |
| 34 | cases i with |
| 35 | | inl i => exact (EuclideanSpace.proj i).contDiff.comp_contDiffOn hu0 |
| 36 | | inr k => exact hs0 k |
| 37 | |
| 38 | theorem smooth_incrementComponents {κ : Type*} {U : Set SpaceTime} (hU : IsOpen U) |
| 39 | {A B : ℕ → VelocityField} {R : κ → ℕ → PressureField} |
| 40 | (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) U) |
| 41 | (hB : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (B j) U) |
| 42 | (hR : ∀ k j, 1 ≤ j → ContDiffOn ℝ ∞ (R k j) U) : |
| 43 | ∀ j i, ContDiffOn ℝ ∞ (incrementComponents A B R j i) U := by |
| 44 | intro j i |
| 45 | have ha := CutStageEstimates.positiveStages_smooth hA j |
| 46 | have hb := CutStageEstimates.positiveStages_smooth hB j |
| 47 | cases i with |
| 48 | | inl i => |
| 49 | have hcurl : ContDiffOn ℝ ∞ (SpatialCurl.spatialCurl (CutStageEstimates.positiveStages A j)) U := |
| 50 | fun w hw => (SpatialCurl.contDiffAt_spatialCurl (ha.contDiffAt (hU.mem_nhds hw)) (by simp)).contDiffWithinAt |
| 51 | exact (EuclideanSpace.proj i).contDiff.comp_contDiffOn (hcurl.add hb) |
| 52 | | inr k => exact CutStageEstimates.positiveStages_smooth (hR k) j |
| 53 | |
| 54 | theorem smooth_cutIncrementComponents {κ : Type*} {U : Set SpaceTime} (hU : IsOpen U) |
| 55 | {a : ℕ → ℝ} {q : SpaceTime → ℝ} (hq : ContDiffOn ℝ ∞ q U) |
| 56 | {A B : ℕ → VelocityField} {R : κ → ℕ → PressureField} |
| 57 | (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) U) |
| 58 | (hB : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (B j) U) |
| 59 | (hR : ∀ k j, 1 ≤ j → ContDiffOn ℝ ∞ (R k j) U) : |
| 60 | ∀ j i, ContDiffOn ℝ ∞ (cutIncrementComponents a q A B R j i) U := by |
| 61 | have hs {W : Type} [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 62 | {F : ℕ → SpaceTime → W} (hF : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (F j) U) (j : ℕ) : |
| 63 | ContDiffOn ℝ ∞ (cutStage a q (CutStageEstimates.positiveStages F) j) U := by |
| 64 | intro w hw |
| 65 | exact (cutStage_contDiffAt (hq.contDiffAt (hU.mem_nhds hw)) |
| 66 | (fun k => (CutStageEstimates.positiveStages_smooth hF k).contDiffAt (hU.mem_nhds hw)) j).contDiffWithinAt |
| 67 | intro j i |
| 68 | cases i with |
| 69 | | inl i => |
| 70 | have hcurl : ContDiffOn ℝ ∞ (SpatialCurl.spatialCurl (cutStage a q (CutStageEstimates.positiveStages A) j)) U := |
| 71 | fun w hw => (SpatialCurl.contDiffAt_spatialCurl ((hs hA j).contDiffAt (hU.mem_nhds hw)) (by simp)).contDiffWithinAt |
| 72 | exact (EuclideanSpace.proj i).contDiff.comp_contDiffOn (hcurl.add (hs hB j)) |
| 73 | | inr k => exact hs (hR k) j |
| 74 | |
| 75 | private theorem spatialCurl_sum_on {U : Set SpaceTime} (hU : IsOpen U) |
| 76 | {A : ℕ → VelocityField} (hA : ∀ j, ContDiffOn ℝ ∞ (A j) U) |
| 77 | (N : ℕ) {w : SpaceTime} (hw : w ∈ U) : |
| 78 | SpatialCurl.spatialCurl (fun y => ∑ j ∈ Finset.range N, A j y) w = |
| 79 | ∑ j ∈ Finset.range N, SpatialCurl.spatialCurl (A j) w := by |
| 80 | have hd : ∀ j ∈ Finset.range N, DifferentiableAt ℝ (fun x : Space => A j (w.1, x)) w.2 := by |
| 81 | intro j _ |
| 82 | exact (((hA j).contDiffAt (hU.mem_nhds hw)).comp w.2 |
| 83 | (contDiffAt_const.prodMk contDiffAt_id)).differentiableAt (by simp) |
| 84 | simpa only [SpatialCurl.spatialCurl, SpatialCurl.curl, map_sum] using |
| 85 | congrArg SpatialCurl.curlLinear (fderiv_fun_sum hd) |
| 86 | |
| 87 | /-- The finite stages are the base plus precisely the uncut physical |
| 88 | increments, including the curl of each potential. -/ |
| 89 | theorem stageComponents_local_sum {κ : Type*} {U : Set SpaceTime} (hU : IsOpen U) |
| 90 | {u0 : VelocityField} {s0 : κ → PressureField} {A B : ℕ → VelocityField} |
| 91 | {R : κ → ℕ → PressureField} (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) U) |
| 92 | (J : ℕ) {x : SpaceTime} (hx : x ∈ U) : |
| 93 | ∃ N, ∀ i, stageComponents u0 s0 A B R J i =ᶠ[𝓝 x] |
| 94 | (fun y => baseComponents u0 s0 i y + ∑ j ∈ Finset.range N, incrementComponents A B R j i y) := by |
| 95 | refine ⟨J + 1, ?_⟩ |
| 96 | intro i |
| 97 | filter_upwards [hU.mem_nhds hx] with y hy |
| 98 | cases i with |
| 99 | | inl i => |
| 100 | have hc := spatialCurl_sum_on hU (CutStageEstimates.positiveStages_smooth hA) (J + 1) hy |
| 101 | have hv : positiveStage u0 A B J y = u0 y + ∑ j ∈ Finset.range (J + 1), |
| 102 | (SpatialCurl.spatialCurl (CutStageEstimates.positiveStages A j) y + CutStageEstimates.positiveStages B j y) := by |
| 103 | dsimp only [positiveStage, MixedDiagonalResidual.uncutVelocity, DiagonalJetBounds.uncutPrefix] |
| 104 | change u0 y + (SpatialCurl.spatialCurl (fun z => ∑ j ∈ Finset.range (J + 1), |
| 105 | CutStageEstimates.positiveStages A j z) y + _) = _ |
| 106 | rw [hc, Finset.sum_add_distrib] |
| 107 | simpa only [stageComponents, baseComponents, incrementComponents, map_add, map_sum, |
| 108 | EuclideanSpace.proj, PiLp.proj_apply, PiLp.add_apply] using |
| 109 | congrArg (EuclideanSpace.proj i) hv |
| 110 | | inr k => rfl |
| 111 | |
| 112 | /-- A single local prefix works simultaneously for all physical components. |
| 113 | It is chosen from the scale alone, before taking any derivatives. -/ |
| 114 | theorem components_local_sum {κ : Type*} {U : Set SpaceTime} (hU : IsOpen U) |
| 115 | {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) {q : SpaceTime → ℝ} |
| 116 | (hq : ContDiffOn ℝ ∞ q U) (hpos : ∀ w ∈ U, 0 < q w) |
| 117 | {u0 : VelocityField} {s0 : κ → PressureField} {A B : ℕ → VelocityField} |
| 118 | {R : κ → ℕ → PressureField} (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) U) |
| 119 | {x : SpaceTime} (hx : x ∈ U) : |
| 120 | ∃ N, ∀ i, components a q u0 s0 A B R i =ᶠ[𝓝 x] |
| 121 | (fun y => baseComponents u0 s0 i y + ∑ j ∈ Finset.range N, cutIncrementComponents a q A B R j i y) := by |
| 122 | obtain ⟨N, hN⟩ := SmoothCutoffs.scaledCutoffs_zero_on_common_neighborhood a ha (hpos x hx) |
| 123 | have hz : ∀ᶠ y in 𝓝 x, ∀ j, N ≤ j → SmoothCutoffs.scaledCutoff (a j) (q y) = 0 := by |
| 124 | filter_upwards [(hq.contDiffAt (hU.mem_nhds hx)).continuousAt |
| 125 | (lt_mem_nhds (half_lt_self (hpos x hx)))] with y hy |
| 126 | exact fun j hj => hN j hj (q y) hy |
| 127 | have hp {W : Type} [NormedAddCommGroup W] [NormedSpace ℝ W] (F : ℕ → SpaceTime → W) : |
| 128 | potentialSum a q F =ᶠ[𝓝 x] partialPotential a q F N := by |
| 129 | filter_upwards [hz] with y hy |
| 130 | apply tsum_eq_sum |
| 131 | intro j hj |
| 132 | simp only [cutStage, hy j (Nat.le_of_not_gt (by simpa only [Finset.mem_range] using hj)), zero_smul] |
| 133 | have hc := spatialCurl_eventuallyEq (hp (CutStageEstimates.positiveStages A)) |
| 134 | refine ⟨N, ?_⟩ |
| 135 | intro i |
| 136 | cases i with |
| 137 | | inl i => |
| 138 | filter_upwards [hc, hp (CutStageEstimates.positiveStages B), hU.mem_nhds hx] with y hcy hby hy |
| 139 | have hv : positiveVelocity a q u0 A B y = u0 y + ∑ j ∈ Finset.range N, |
| 140 | (SpatialCurl.spatialCurl (cutStage a q (CutStageEstimates.positiveStages A) j) y + |
| 141 | cutStage a q (CutStageEstimates.positiveStages B) j y) := by |
| 142 | dsimp only [positiveVelocity, velocity, velocitySum] |
| 143 | rw [hcy, spatialCurl_partialPotential (hq.contDiffAt (hU.mem_nhds hy)) |
| 144 | (fun j => (CutStageEstimates.positiveStages_smooth hA j).contDiffAt (hU.mem_nhds hy)), hby] |
| 145 | simp only [partialPotential, Finset.sum_add_distrib] |
| 146 | abel |
| 147 | simpa only [components, baseComponents, cutIncrementComponents, map_add, map_sum, |
| 148 | EuclideanSpace.proj, PiLp.proj_apply, PiLp.add_apply] using |
| 149 | congrArg (EuclideanSpace.proj i) hv |
| 150 | | inr k => |
| 151 | filter_upwards [hp (CutStageEstimates.positiveStages (R k))] with y hy |
| 152 | exact congrArg (fun z => s0 k y + z) hy |
| 153 | |
| 154 | /-- The paper's primitive common-support assumptions suffice: each |
| 155 | differentiated factor is supported there in the base and in each raw and cut |
| 156 | increment. Support of the final sum is proved, not assumed. -/ |
| 157 | theorem Result.flat_residual_of_factor_support {κ : Type*} {U : Set SpaceTime} {q : SpaceTime → ℝ} |
| 158 | {u0 : VelocityField} {s0 : κ → PressureField} {A B : ℕ → VelocityField} |
| 159 | {R : κ → ℕ → PressureField} {g L : ℕ → ℝ} {a : ℕ → ℕ} |
| 160 | (H : Result U q u0 s0 A B R g L a) (hU : IsOpen U) |
| 161 | (hqs : ContDiffOn ℝ ∞ q U) (hq : ∀ w ∈ U, 0 < q w ∧ q w ≤ 1) |
| 162 | (hu0 : ContDiffOn ℝ ∞ u0 U) (hs0 : ∀ k, ContDiffOn ℝ ∞ (s0 k) U) |
| 163 | (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) U) |
| 164 | (hB : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (B j) U) |
| 165 | (hR : ∀ k j, 1 ≤ j → ContDiffOn ℝ ∞ (R k j) U) |
| 166 | (hgtop : Tendsto g atTop atTop) (P : SupportedPolynomial SpaceTime (Fin 3 ⊕ κ)) |
| 167 | (hconst : ContDiffOn ℝ ∞ P.constant U) (hc : ∀ t ∈ P.terms, ContDiffOn ℝ ∞ t.1 U) |
| 168 | (region : ((SpaceTime → ℝ) × Expression SpaceTime (Fin 3 ⊕ κ) Empty) → Set SpaceTime) |
| 169 | (Lc : ((SpaceTime → ℝ) × Expression SpaceTime (Fin 3 ⊕ κ) Empty) → ℕ → ℝ) |
| 170 | (hcg : ∀ t ∈ P.terms, ∀ m, DiagonalResidual.JetRate (scaleApproach U q ⊓ 𝓟 (region t)) q t.1 m (-Lc t m)) |
| 171 | (hrawsupport : ∀ t ∈ P.terms, ∀ x ∈ U, x ∉ region t → |
| 172 | FactorSupportAt (baseComponents u0 s0) (incrementComponents A B R) x t.2) |
| 173 | (hcutsupport : ∀ t ∈ P.terms, ∀ x ∈ U, x ∉ region t → |
| 174 | FactorSupportAt (baseComponents u0 s0) (cutIncrementComponents (fun j => (a j : ℝ)) q A B R) x t.2) |
| 175 | (rho : ℕ → ℝ) (hrho : Tendsto rho atTop atTop) (Lres : ℕ → ℝ) |
| 176 | (hres : ∀ J m, DiagonalResidual.JetRate (scaleApproach U q) q |
| 177 | (P.eval (stageComponents u0 s0 A B R J)) m (rho J - Lres m)) (m : ℕ) (N : ℝ) : |
| 178 | ∃ δ C : ℝ, 0 < δ ∧ 0 < C ∧ ∀ x ∈ U, 0 < q x → q x < δ → |
| 179 | ‖iteratedFDeriv ℝ m (P.eval (components (fun j => (a j : ℝ)) q u0 s0 A B R)) x‖ ≤ C * q x ^ N := by |
| 180 | apply H.flat_residual hU hq hu0 hs0 hA hB hR hgtop P hconst hc region Lc hcg |
| 181 | _ _ rho hrho Lres hres m N |
| 182 | · intro t ht x hx hxs |
| 183 | exact (hcutsupport t ht x hx hxs).zero_germ hU hx (smooth_baseComponents hu0 hs0) |
| 184 | (smooth_cutIncrementComponents hU hqs hA hB hR) |
| 185 | (components_local_sum hU H.tends hqs (fun w hw => (hq w hw).1) hA hx) |
| 186 | · intro t ht J x hx hxs |
| 187 | exact (hrawsupport t ht x hx hxs).zero_germ hU hx (smooth_baseComponents hu0 hs0) |
| 188 | (smooth_incrementComponents hU hA hB hR) (stageComponents_local_sum hU hA J hx) |
| 189 | |
| 190 | end NavierStokes.GenericTupleRealization |