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.JointResidualLimits |
| 2 | import NavierStokes.SpatialLocalization |
| 3 | import NavierStokes.CandidateFromLimits |
| 4 | import Mathlib.Algebra.Order.Round |
| 5 | |
| 6 | /-! |
| 7 | # Actual residual limits after spatial localization and periodization |
| 8 | |
| 9 | The inputs concern the original potential and pressure: smoothness in the |
| 10 | open past, actual local one-sided extensions off the origin, and joint |
| 11 | vanishing of the actual residual jets at the origin. The boundary tensors |
| 12 | of the periodized residual are constructed, including at every nonzero |
| 13 | lattice copy of the origin. No residual identity or residual limit after |
| 14 | periodization is assumed. |
| 15 | -/ |
| 16 | |
| 17 | noncomputable section |
| 18 | |
| 19 | namespace NavierStokes.PeriodicResidualLimits |
| 20 | |
| 21 | open ProblemStatement Set Filter |
| 22 | open scoped Topology ContDiff |
| 23 | |
| 24 | /-- The residual of the original, actual spatial curl. -/ |
| 25 | noncomputable def originalResidual (A : VelocityField) (p : PressureField) : VelocityField := |
| 26 | fun z => navierStokesResidual (SpatialCurl.spatialCurl A) p z.1 z.2 |
| 27 | |
| 28 | /-- The residual after cutting the potential, including all cutoff terms. -/ |
| 29 | noncomputable def cutResidual (A : VelocityField) (p : PressureField) : VelocityField := |
| 30 | fun z => navierStokesResidual (SpatialLocalization.cutVelocity A) |
| 31 | (SpatialLocalization.cutPressure p) z.1 z.2 |
| 32 | |
| 33 | /-- The residual of the actual lattice-periodized potential and pressure. -/ |
| 34 | noncomputable def periodicResidual (A : VelocityField) (p : PressureField) : VelocityField := |
| 35 | fun z => navierStokesResidual (SpatialLocalization.periodicVelocity A) |
| 36 | (SpatialLocalization.periodicPressure p) z.1 z.2 |
| 37 | |
| 38 | theorem cutResidual_smoothOn {A : VelocityField} {p : PressureField} {U : Set SpaceTime} |
| 39 | (hU : IsOpen U) (hA : ContDiffOn ℝ ∞ A U) (hp : ContDiffOn ℝ ∞ p U) : |
| 40 | ContDiffOn ℝ ∞ (cutResidual A p) U := by |
| 41 | have hAc : ContDiffOn ℝ ∞ (SpatialLocalization.cutPotential A) U := |
| 42 | (SpatialLocalization.spatialCutoff_contDiff.comp contDiff_snd).contDiffOn.smul hA |
| 43 | have huc : ContDiffOn ℝ ∞ (SpatialLocalization.cutVelocity A) U := by |
| 44 | intro z hz |
| 45 | exact (SpatialCurl.contDiffAt_spatialCurl |
| 46 | (hAc.contDiffAt (hU.mem_nhds hz)) (by simp)).contDiffWithinAt |
| 47 | exact ResidualRegularity.contDiffOn_residual hU huc |
| 48 | ((SpatialLocalization.spatialCutoff_contDiff.comp contDiff_snd).contDiffOn.mul hp) |
| 49 | |
| 50 | theorem cutResidual_eventuallyEq {A B : VelocityField} {p q : PressureField} |
| 51 | {z : SpaceTime} (hA : A =ᶠ[𝓝 z] B) (hp : p =ᶠ[𝓝 z] q) : |
| 52 | cutResidual A p =ᶠ[𝓝 z] cutResidual B q := by |
| 53 | have hAc : SpatialLocalization.cutPotential A =ᶠ[𝓝 z] |
| 54 | SpatialLocalization.cutPotential B := by |
| 55 | filter_upwards [hA] with w hw |
| 56 | simp only [SpatialLocalization.cutPotential, hw] |
| 57 | have hpc : SpatialLocalization.cutPressure p =ᶠ[𝓝 z] |
| 58 | SpatialLocalization.cutPressure q := by |
| 59 | filter_upwards [hp] with w hw |
| 60 | simp only [SpatialLocalization.cutPressure, hw] |
| 61 | exact ResidualRegularity.residual_eventuallyEq |
| 62 | (SolenoidalDiagonal.spatialCurl_eventuallyEq hAc) hpc |
| 63 | |
| 64 | /-- Cutoff and actual differentiation turn extensions of the two inputs |
| 65 | into a local extension of their full nonlinear residual. -/ |
| 66 | noncomputable def cutResidualExtension {A : VelocityField} {p : PressureField} {x : Space} |
| 67 | (eA : JointResidualLimits.OneSidedExtension A x) |
| 68 | (ep : JointResidualLimits.OneSidedExtension p x) : |
| 69 | JointResidualLimits.OneSidedExtension (cutResidual A p) x where |
| 70 | value := cutResidual eA.value ep.value |
| 71 | domain := eA.domain ∩ ep.domain |
| 72 | isOpen := eA.isOpen.inter ep.isOpen |
| 73 | mem := ⟨eA.mem, ep.mem⟩ |
| 74 | smooth := cutResidual_smoothOn (eA.isOpen.inter ep.isOpen) |
| 75 | (eA.smooth.mono inter_subset_left) (ep.smooth.mono inter_subset_right) |
| 76 | agrees := by |
| 77 | intro z hz |
| 78 | have hO := (eA.isOpen.inter ep.isOpen).inter (SpacetimeEndpoint.openPast_isOpen 1) |
| 79 | apply (cutResidual_eventuallyEq (z := z) ?_ ?_).self_of_nhds |
| 80 | · filter_upwards [hO.mem_nhds hz] with w hw |
| 81 | exact eA.agrees ⟨hw.1.1, hw.2⟩ |
| 82 | · filter_upwards [hO.mem_nhds hz] with w hw |
| 83 | exact ep.agrees ⟨hw.1.2, hw.2⟩ |
| 84 | |
| 85 | theorem cutResidual_awayExtensions {A : VelocityField} {p : PressureField} |
| 86 | (hA : JointResidualLimits.AwayExtensions A) |
| 87 | (hp : JointResidualLimits.AwayExtensions p) : |
| 88 | JointResidualLimits.AwayExtensions (cutResidual A p) := by |
| 89 | intro x hx |
| 90 | exact ⟨cutResidualExtension (Classical.choice (hA x hx)) (Classical.choice (hp x hx))⟩ |
| 91 | |
| 92 | theorem cutResidual_eventuallyEq_original (A : VelocityField) (p : PressureField) |
| 93 | {z : SpaceTime} (hz : z.2 ∈ SpatialLocalization.plateau) : |
| 94 | cutResidual A p =ᶠ[𝓝 z] originalResidual A p := |
| 95 | ResidualRegularity.residual_eventuallyEq |
| 96 | (SolenoidalDiagonal.spatialCurl_eventuallyEq |
| 97 | (SpatialLocalization.cutPotential_eventuallyEq A hz)) |
| 98 | (SpatialLocalization.cutPressure_eventuallyEq p hz) |
| 99 | |
| 100 | /-- All cutoff-residual jets have the original joint zero limit because |
| 101 | the cutoff is identically one on an actual neighborhood of the origin. -/ |
| 102 | theorem cutResidual_vanishingJointJets {A : VelocityField} {p : PressureField} |
| 103 | (hz : JointResidualLimits.VanishingJointJets (originalResidual A p)) : |
| 104 | JointResidualLimits.VanishingJointJets (cutResidual A p) := by |
| 105 | intro n |
| 106 | apply (hz n).congr' |
| 107 | exact ((SolenoidalDiagonal.iteratedFDeriv_eventuallyEq |
| 108 | (cutResidual_eventuallyEq_original A p (z := (1, 0)) |
| 109 | SpatialLocalization.zero_mem_plateau) n).filter_mono nhdsWithin_le_nhds).symm |
| 110 | |
| 111 | /-! ## Exact translation and disjoint-support identities -/ |
| 112 | |
| 113 | theorem periodicResidual_periodic (A : VelocityField) (p : PressureField) : |
| 114 | UnitSpatialPeriodsOn univ (periodicResidual A p) := |
| 115 | ResidualRegularity.residual_periods isOpen_univ |
| 116 | (SpatialLocalization.periodicVelocity_periodic A univ) |
| 117 | (SpatialLocalization.periodicPressure_periodic p univ) |
| 118 | |
| 119 | theorem periodicResidual_jet_periodic (A : VelocityField) (p : PressureField) (n : ℕ) : |
| 120 | UnitSpatialPeriodsOn univ (iteratedFDeriv ℝ n (periodicResidual A p)) := |
| 121 | CompactForceDecay.iteratedFDeriv_periods (periodicResidual_periodic A p) n |
| 122 | |
| 123 | theorem periodicResidual_jet_sub_integerShift (A : VelocityField) (p : PressureField) |
| 124 | (n : ℕ) (k : Fin 3 → ℤ) (t : ℝ) (x : Space) : |
| 125 | iteratedFDeriv ℝ n (periodicResidual A p) (t, x - CompactForceDecay.integerShift k) = |
| 126 | iteratedFDeriv ℝ n (periodicResidual A p) (t, x) := |
| 127 | (CompactForceDecay.periodic_integerShift |
| 128 | (periodicResidual_jet_periodic A p n) t k).sub_eq x |
| 129 | |
| 130 | /-- This equality uses the no-overlap support theorem for the actual |
| 131 | periodized potential and pressure before differentiating the residual. -/ |
| 132 | theorem periodicResidual_jets_eq_cut (A : VelocityField) (p : PressureField) |
| 133 | {z : SpaceTime} (hz : z.2 ∈ PeriodicLocalization.innerCube (1 / 4)) (n : ℕ) : |
| 134 | iteratedFDeriv ℝ n (periodicResidual A p) z = |
| 135 | iteratedFDeriv ℝ n (cutResidual A p) z := |
| 136 | (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq |
| 137 | (SpatialLocalization.periodic_residual_eventuallyEq_cut A p hz) n).self_of_nhds |
| 138 | |
| 139 | /-- A chosen fundamental-cube representative; its discontinuities will not |
| 140 | be assumed to preserve continuity of the constructed boundary tensors. -/ |
| 141 | noncomputable def nearestIndex (x : Space) : Fin 3 → ℤ := fun i => round (x i) |
| 142 | |
| 143 | noncomputable def representative (x : Space) : Space := |
| 144 | x - CompactForceDecay.integerShift (nearestIndex x) |
| 145 | |
| 146 | theorem representative_mem_innerCube (x : Space) : |
| 147 | representative x ∈ PeriodicLocalization.innerCube (1 / 4) := by |
| 148 | intro i |
| 149 | have h := abs_sub_round (x i) |
| 150 | change |(representative x) i| < 1 - 1 / 4 |
| 151 | simp only [representative, PiLp.sub_apply, CompactForceDecay.integerShift_apply, nearestIndex] |
| 152 | linarith |
| 153 | |
| 154 | @[simp] theorem representative_zero : representative (0 : Space) = 0 := by |
| 155 | ext i |
| 156 | simp [representative, nearestIndex, CompactForceDecay.integerShift_apply] |
| 157 | |
| 158 | theorem spatial_sub_tendsto_past (a x : Space) : |
| 159 | Tendsto (fun z : SpaceTime => (z.1, z.2 - a)) |
| 160 | (𝓝[SpacetimeEndpoint.openPast 1] (1, x)) |
| 161 | (𝓝[SpacetimeEndpoint.openPast 1] (1, x - a)) := by |
| 162 | apply tendsto_nhdsWithin_iff.mpr |
| 163 | constructor |
| 164 | · exact (continuous_fst.prodMk (continuous_snd.sub continuous_const)).continuousAt.tendsto.mono_left |
| 165 | nhdsWithin_le_nhds |
| 166 | · filter_upwards [self_mem_nhdsWithin] with z hz |
| 167 | exact ⟨hz.1, mem_univ _⟩ |
| 168 | |
| 169 | /-- Near any point, every jet is exactly a translated cutoff-residual jet. |
| 170 | In particular this handles a whole neighborhood of each nonzero lattice copy. -/ |
| 171 | theorem periodicResidual_jets_locally_cut (A : VelocityField) (p : PressureField) |
| 172 | (x : Space) (n : ℕ) : |
| 173 | iteratedFDeriv ℝ n (periodicResidual A p) =ᶠ[𝓝 ((1 : ℝ), x)] |
| 174 | (fun z => iteratedFDeriv ℝ n (cutResidual A p) |
| 175 | (z.1, z.2 - CompactForceDecay.integerShift (nearestIndex x))) := by |
| 176 | have hm : Continuous (fun z : SpaceTime => |
| 177 | z.2 - CompactForceDecay.integerShift (nearestIndex x)) := |
| 178 | continuous_snd.sub continuous_const |
| 179 | have he : ∀ᶠ z : SpaceTime in 𝓝 ((1 : ℝ), x), |
| 180 | z.2 - CompactForceDecay.integerShift (nearestIndex x) ∈ |
| 181 | PeriodicLocalization.innerCube (1 / 4) := |
| 182 | hm.continuousAt.preimage_mem_nhds |
| 183 | ((PeriodicLocalization.isOpen_innerCube _).mem_nhds (representative_mem_innerCube x)) |
| 184 | filter_upwards [he] with z hz |
| 185 | rw [← periodicResidual_jet_sub_integerShift A p n (nearestIndex x) z.1 z.2] |
| 186 | exact periodicResidual_jets_eq_cut A p hz n |
| 187 | |
| 188 | /-! ## The constructed boundary series -/ |
| 189 | |
| 190 | noncomputable def boundaryLimits (A : VelocityField) (p : PressureField) |
| 191 | (eA : JointResidualLimits.AwayExtensions A) |
| 192 | (ep : JointResidualLimits.AwayExtensions p) (x : Space) : |
| 193 | FormalMultilinearSeries ℝ SpaceTime Space := |
| 194 | JointResidualLimits.boundaryLimits (cutResidual A p) |
| 195 | (cutResidual_awayExtensions eA ep) (representative x) |
| 196 | |
| 197 | @[simp] theorem boundaryLimits_zero (A : VelocityField) (p : PressureField) |
| 198 | (eA : JointResidualLimits.AwayExtensions A) |
| 199 | (ep : JointResidualLimits.AwayExtensions p) (n : ℕ) : |
| 200 | boundaryLimits A p eA ep 0 n = 0 := by |
| 201 | simp only [boundaryLimits, representative_zero, JointResidualLimits.boundaryLimits_zero] |
| 202 | |
| 203 | theorem boundaryLimits_joint {A : VelocityField} {p : PressureField} |
| 204 | (hz : JointResidualLimits.VanishingJointJets (originalResidual A p)) |
| 205 | (eA : JointResidualLimits.AwayExtensions A) |
| 206 | (ep : JointResidualLimits.AwayExtensions p) (n : ℕ) (x : Space) : |
| 207 | Tendsto (iteratedFDeriv ℝ n (periodicResidual A p)) |
| 208 | (𝓝[SpacetimeEndpoint.openPast 1] (1, x)) (𝓝 (boundaryLimits A p eA ep x n)) := by |
| 209 | have hlim := JointResidualLimits.boundaryLimits_joint |
| 210 | (cutResidual_vanishingJointJets hz) (cutResidual_awayExtensions eA ep) n (representative x) |
| 211 | have hc := hlim.comp (spatial_sub_tendsto_past |
| 212 | (CompactForceDecay.integerShift (nearestIndex x)) x) |
| 213 | exact hc.congr' ((periodicResidual_jets_locally_cut A p x n).filter_mono |
| 214 | nhdsWithin_le_nhds).symm |
| 215 | |
| 216 | /-- The locally uniform limits are a conclusion of joint convergence; |
| 217 | neither uniform convergence nor continuity of the chosen representatives is input. -/ |
| 218 | theorem boundaryLimits_locallyUniform {A : VelocityField} {p : PressureField} |
| 219 | (hz : JointResidualLimits.VanishingJointJets (originalResidual A p)) |
| 220 | (eA : JointResidualLimits.AwayExtensions A) |
| 221 | (ep : JointResidualLimits.AwayExtensions p) (n : ℕ) : |
| 222 | TendstoLocallyUniformly (fun t x => iteratedFDeriv ℝ n (periodicResidual A p) (t, x)) |
| 223 | (fun x => boundaryLimits A p eA ep x n) (𝓝[<] (1 : ℝ)) := by |
| 224 | apply JointResidualLimits.locallyUniform_of_joint_limits |
| 225 | (F := iteratedFDeriv ℝ n (periodicResidual A p)) |
| 226 | intro x |
| 227 | simpa only [JointResidualLimits.past_filter] using boundaryLimits_joint hz eA ep n x |
| 228 | |
| 229 | @[simp] theorem representative_integerShift (k : Fin 3 → ℤ) : |
| 230 | representative (CompactForceDecay.integerShift k) = 0 := by |
| 231 | ext i |
| 232 | simp [representative, nearestIndex, CompactForceDecay.integerShift_apply] |
| 233 | |
| 234 | theorem integerShift_eq_lattice (k : PeriodicLocalization.Lattice) : |
| 235 | CompactForceDecay.integerShift k = PeriodicLocalization.lattice k := by |
| 236 | ext i |
| 237 | simp only [CompactForceDecay.integerShift_apply, PeriodicLocalization.lattice_apply] |
| 238 | |
| 239 | /-- Every lattice copy of the distinguished origin has the same zero jets. -/ |
| 240 | @[simp] theorem boundaryLimits_lattice (A : VelocityField) (p : PressureField) |
| 241 | (eA : JointResidualLimits.AwayExtensions A) |
| 242 | (ep : JointResidualLimits.AwayExtensions p) (k : PeriodicLocalization.Lattice) (n : ℕ) : |
| 243 | boundaryLimits A p eA ep (PeriodicLocalization.lattice k) n = 0 := by |
| 244 | rw [← integerShift_eq_lattice] |
| 245 | simp only [boundaryLimits, representative_integerShift, JointResidualLimits.boundaryLimits_zero] |
| 246 | |
| 247 | /-! ## Direct candidate bridge with only original local analytic inputs -/ |
| 248 | |
| 249 | theorem periodicVelocity_speed_unbounded {A : VelocityField} |
| 250 | (haxis : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl A (t, 0)‖) |
| 251 | (𝓝[<] 1) atTop) : SpeedUnboundedAtOne (SpatialLocalization.periodicVelocity A) := |
| 252 | (TimeLocalization.activatedVelocity_speed_unbounded_iff |
| 253 | (SpatialLocalization.periodicVelocity A)).mp |
| 254 | (SpatialLocalization.localizedVelocity_speed_unbounded A haxis) |
| 255 | |
| 256 | /-- A conditional candidate for the actual localized fields. No periodic |
| 257 | residual estimates, force, boundary tensors, or divergence assumption are inputs. |
| 258 | The potential extension input is essential and is not inferred from velocity regularity. -/ |
| 259 | theorem exists_candidate_force {A : VelocityField} {p : PressureField} |
| 260 | (hA : ContDiffOn ℝ ∞ A (SpacetimeEndpoint.openPast 1)) |
| 261 | (hp : ContDiffOn ℝ ∞ p (SpacetimeEndpoint.openPast 1)) |
| 262 | (hz : JointResidualLimits.VanishingJointJets (originalResidual A p)) |
| 263 | (eA : JointResidualLimits.AwayExtensions A) |
| 264 | (ep : JointResidualLimits.AwayExtensions p) |
| 265 | (haxis : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl A (t, 0)‖) |
| 266 | (𝓝[<] 1) atTop) : |
| 267 | ∃ F : VelocityField, |
| 268 | CandidateProperties (SpatialLocalization.localizedVelocity A) |
| 269 | (SpatialLocalization.localizedPressure p) F ∧ |
| 270 | ContDiff ℝ ∞ F ∧ |
| 271 | (∀ n : ℕ, ∀ x : Space, iteratedFDeriv ℝ n F (1, x) = boundaryLimits A p eA ep x n) := by |
| 272 | have hu : ContDiffOn ℝ ∞ (SpatialLocalization.periodicVelocity A) preSingularDomain := |
| 273 | SpatialLocalization.periodicVelocity_smoothOn |
| 274 | (hA.mono (fun _ hz => ⟨hz.1.2, hz.2⟩)) |
| 275 | have hpc : ContDiffOn ℝ ∞ (SpatialLocalization.periodicPressure p) preSingularDomain := |
| 276 | SpatialLocalization.periodicPressure_smoothOn |
| 277 | (hp.mono (fun _ hz => ⟨hz.1.2, hz.2⟩)) |
| 278 | let L := boundaryLimits A p eA ep |
| 279 | have hlim := boundaryLimits_locallyUniform hz eA ep |
| 280 | refine ⟨CandidateFromLimits.force _ _ hu hpc L hlim, ?_, |
| 281 | CandidateFromLimits.force_smooth _ _ hu hpc L hlim, |
| 282 | CandidateFromLimits.force_boundary_jets _ _ hu hpc L hlim⟩ |
| 283 | apply CandidateFromLimits.candidate_properties _ _ hu hpc L hlim |
| 284 | (SpatialLocalization.periodicVelocity_periodic A _) |
| 285 | (SpatialLocalization.periodicPressure_periodic p _) ?_ |
| 286 | (periodicVelocity_speed_unbounded haxis) |
| 287 | intro t ht x |
| 288 | exact SpatialLocalization.periodicVelocity_divergence_free hA ht.2 x |
| 289 | |
| 290 | end NavierStokes.PeriodicResidualLimits |