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

chore(NavierStokes/Axisymmetric): delete 15 declarations nothing uses
Browse filesPart of #10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main s1-euler-all-2 s1-euler-base-2 s1-euler-bounded-2 s1-euler-child-2 s1-euler-common-2 s1-euler-constant-2 s1-euler-continuous-2 s1-euler-correction-2 s1-euler-cylinder-2 s1-euler-euler-1 s1-euler-euler-2 s1-euler-field-2 s1-euler-flow-2 s1-euler-frozen-2 s1-euler-general-2 s1-euler-heat-2 s1-euler-isometric-2 s1-euler-lp-2 s1-euler-mean-2 s1-euler-packet-2 s1-euler-parent-1 s1-euler-parent-2 s1-euler-quadratic-2 s1-euler-resolvent-2 s1-euler-separating-2 s1-euler-smooth-2 s1-euler-sobolev-2 s1-euler-time-2 s1-euler-transverse-1 s1-euler-transverse-2 s1-euler-vorticity-1 s1-euler-vorticity-2 s1-euler-weighted-2 s1-ns-activation-2 s1-ns-active-2 s1-ns-actual-2 s1-ns-actual-files-8 s1-ns-aligned-2 s1-ns-angular-2 s1-ns-appendix-1 s1-ns-assembled-1 s1-ns-assembled-2 s1-ns-axis-2 s1-ns-axisymmetric-1 s1-ns-axisymmetric-2 s1-ns-band-2 s1-ns-base-1 s1-ns-base-2 s1-ns-borel-2 s1-ns-boundary-2 s1-ns-cauchy-2 s1-ns-closed-1 s1-ns-closed-2 s1-ns-common-2 s1-ns-compact-2 s1-ns-comparator-1 s1-ns-constructed-2 s1-ns-correction-2 s1-ns-curl-2 s1-ns-cycle-2 s1-ns-defect-2 s1-ns-direct-2 s1-ns-entrance-2 s1-ns-error-2 s1-ns-even-2 s1-ns-exponent-2 s1-ns-final-2 s1-ns-first-2 s1-ns-flat-2 s1-ns-flatness-2 s1-ns-fourier-2 s1-ns-future-2 s1-ns-gauge-2 s1-ns-gaussian-2 s1-ns-global-2 s1-ns-harmonic-1 s1-ns-heat-2 s1-ns-initialized-2 s1-ns-integrated-1 s1-ns-joint-2 s1-ns-label-1 s1-ns-linear-2 s1-ns-local-2 s1-ns-localized-1 s1-ns-localized-2 s1-ns-maximal-2 s1-ns-mean-2 s1-ns-mixed-2 s1-ns-native-2 s1-ns-natural-1 s1-ns-natural-2 s1-ns-nilpotent-2 s1-ns-offplane-1 s1-ns-offplane-2 s1-ns-oscillatory-2 s1-ns-parametric-2 s1-ns-particular-1 s1-ns-particular-2 s1-ns-past-2 s1-ns-periodic-2 s1-ns-periodized-2 s1-ns-phase-2 s1-ns-physical-2 s1-ns-positive-2 s1-ns-pressure-2 s1-ns-primary-1 s1-ns-primary-2 s1-ns-pulse-2 s1-ns-r3-2 s1-ns-radial-2 s1-ns-reference-2 s1-ns-regular-2 s1-ns-renormalized-2 s1-ns-residual-2 s1-ns-scaling-2 s1-ns-schedule-2 s1-ns-sharp-1 s1-ns-sharp-2 s1-ns-signed-2 s1-ns-similarity-2 s1-ns-slot-1 s1-ns-slot-2 s1-ns-slow-1 s1-ns-slow-2 s1-ns-smooth-1 s1-ns-smooth-2 s1-ns-solenoidal-1 s1-ns-solenoidal-2 s1-ns-spacetime-1 s1-ns-spatial-1 s1-ns-spatial-2 s1-ns-squared-1 s1-ns-squared-2 s1-ns-state-1 s1-ns-state-2 s1-ns-stress-1 s1-ns-subcover-1 s1-ns-subcover-2 s1-ns-tail-1 s1-ns-tail-2 s1-ns-tangent-1 s1-ns-temporal-1 s1-ns-temporal-2 s1-ns-terminal-1 s1-ns-time-1 s1-ns-time-2 s1-ns-torus-1 s1-ns-torus-2 s1-ns-transition-1 s1-ns-transition-2 s1-ns-transport-1 s1-ns-transport-2 s1-ns-true-1 s1-ns-uniform-1 s1-ns-uniform-2 s1-ns-valid-1 s1-ns-variable-1 s1-ns-variable-2 s1-ns-viscous-1 s1-ns-volterra-1 s1-ns-volterra-2 s1-ns-wave-1 s1-ns-wave-2 s1-ns-weighted-1 s1-ns-weighted-2 s1-ns-whole-1 s1-ns-within-2
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −60 NavierStokes/AxisymmetricFields.lean View file
| @@ -184,15 +184,6 @@ theorem contDiffOn_potential {H K : Profile} {times : Set ℝ} {n : WithTop ℕ | ||
| 184 | 184 | ((contDiffOn_const.mul (h0.mul hHv)).smul contDiffOn_const)).add |
| 185 | 185 | (hKv.smul contDiffOn_const) |
| 186 | 186 | |
| 187 | -theorem contDiff_velocity {H K : Profile} {m n : WithTop ℕ∞} | |
| 188 | - (hH : ContDiff ℝ n H) (hK : ContDiff ℝ n K) (hmn : m + 1 ≤ n) : | |
| 189 | - ContDiff ℝ m (velocity H K) := | |
| 190 | - SpatialCurl.contDiff_spatialCurl (contDiff_potential hH hK) hmn | |
| 191 | - | |
| 192 | -theorem smooth_velocity {H K : Profile} | |
| 193 | - (hH : ContDiff ℝ ∞ H) (hK : ContDiff ℝ ∞ K) : ContDiff ℝ ∞ (velocity H K) := | |
| 194 | - contDiff_velocity hH hK (by simp) | |
| 195 | - | |
| 196 | 187 | theorem contDiffOn_velocity {H K : Profile} {times : Set ℝ} {m n : WithTop ℕ∞} |
| 197 | 188 | (hH : ContDiffOn ℝ n H (times ×ˢ (univ : Set (ℝ × ℝ)))) |
| 198 | 189 | (hK : ContDiffOn ℝ n K (times ×ˢ (univ : Set (ℝ × ℝ)))) (hmn : m + 1 ≤ n) : |
| @@ -229,38 +220,6 @@ theorem velocity_on_axis (H K : Profile) (t : ℝ) (x : Space) | ||
| 229 | 220 | rw [velocity_two H K t x hH hK] |
| 230 | 221 | simp [profilePoint, radialEnergy, hx0, hx1, coordinateVector] |
| 231 | 222 | |
| 232 | -/-- The potential's closed spatial support is controlled by the two profile | |
| 233 | -supports, pulled back under the smooth `(t,s,z)` coordinate map. -/ | |
| 234 | -theorem tsupport_potential_slice_subset (H K : Profile) (t : ℝ) : | |
| 235 | - tsupport (fun x : Space => potential H K (t, x)) ⊆ | |
| 236 | - profilePoint t ⁻¹' (tsupport H ∪ tsupport K) := by | |
| 237 | - apply closure_minimal | |
| 238 | - · intro x hx | |
| 239 | - by_contra hn | |
| 240 | - have hnH : profilePoint t x ∉ tsupport H := fun h => hn (Or.inl h) | |
| 241 | - have hnK : profilePoint t x ∉ tsupport K := fun h => hn (Or.inr h) | |
| 242 | - have hHzero := image_eq_zero_of_notMem_tsupport hnH | |
| 243 | - have hKzero := image_eq_zero_of_notMem_tsupport hnK | |
| 244 | - exact hx (by simp [potential, hHzero, hKzero]) | |
| 245 | - · exact ((isClosed_tsupport H).union (isClosed_tsupport K)).preimage | |
| 246 | - (contDiff_profilePoint_slice t (n := 0)).continuous | |
| 247 | - | |
| 248 | -/-- Taking the actual curl does not enlarge this closed spatial support. -/ | |
| 249 | -theorem tsupport_velocity_slice_subset (H K : Profile) (t : ℝ) : | |
| 250 | - tsupport (fun x : Space => velocity H K (t, x)) ⊆ | |
| 251 | - profilePoint t ⁻¹' (tsupport H ∪ tsupport K) := | |
| 252 | - (SpatialCurl.tsupport_curl_subset (fun x : Space => potential H K (t, x))).trans | |
| 253 | - (tsupport_potential_slice_subset H K t) | |
| 254 | - | |
| 255 | -theorem velocity_eq_zero_outside_profile_support (H K : Profile) (t : ℝ) (x : Space) | |
| 256 | - (hH : profilePoint t x ∉ tsupport H) (hK : profilePoint t x ∉ tsupport K) : | |
| 257 | - velocity H K (t, x) = 0 := by | |
| 258 | - apply image_eq_zero_of_notMem_tsupport (f := fun y : Space => velocity H K (t, y)) | |
| 259 | - intro hx | |
| 260 | - rcases tsupport_velocity_slice_subset H K t hx with h | h | |
| 261 | - · exact hH h | |
| 262 | - · exact hK h | |
| 263 | - | |
| 264 | 223 | /-- The Cartesian cylinder cut out by bounds on `s` and `z` is compact. -/ |
| 265 | 224 | theorem isCompact_cylinder (R Z : ℝ) : |
| 266 | 225 | IsCompact {x : Space | radialEnergy x ≤ R ∧ |x 2| ≤ Z} := by |
| @@ -281,23 +240,4 @@ theorem isCompact_cylinder (R Z : ℝ) : | ||
| 281 | 240 | apply Real.sqrt_le_sqrt |
| 282 | 241 | simpa only [Real.norm_eq_abs, sq_abs] using hs |
| 283 | 242 | |
| 284 | -/-- Bounds on profile support give a literal closed cylinder in Cartesian | |
| 285 | -space: `s ≤ R` and `|z| ≤ Z`. -/ | |
| 286 | -theorem tsupport_velocity_cylinder_subset (H K : Profile) (t R Z : ℝ) | |
| 287 | - (hH : tsupport H ⊆ {p : ProfilePoint | p.2.1 ≤ R ∧ |p.2.2| ≤ Z}) | |
| 288 | - (hK : tsupport K ⊆ {p : ProfilePoint | p.2.1 ≤ R ∧ |p.2.2| ≤ Z}) : | |
| 289 | - tsupport (fun x : Space => velocity H K (t, x)) ⊆ | |
| 290 | - {x : Space | radialEnergy x ≤ R ∧ |x 2| ≤ Z} := by | |
| 291 | - intro x hx | |
| 292 | - rcases tsupport_velocity_slice_subset H K t hx with h | h | |
| 293 | - · exact hH h | |
| 294 | - · exact hK h | |
| 295 | - | |
| 296 | -theorem hasCompactSupport_velocity_of_profile_bounds (H K : Profile) (t R Z : ℝ) | |
| 297 | - (hH : tsupport H ⊆ {p : ProfilePoint | p.2.1 ≤ R ∧ |p.2.2| ≤ Z}) | |
| 298 | - (hK : tsupport K ⊆ {p : ProfilePoint | p.2.1 ≤ R ∧ |p.2.2| ≤ Z}) : | |
| 299 | - HasCompactSupport (fun x : Space => velocity H K (t, x)) := | |
| 300 | - (isCompact_cylinder R Z).of_isClosed_subset (isClosed_tsupport _) | |
| 301 | - (tsupport_velocity_cylinder_subset H K t R Z hH hK) | |
| 302 | - | |
| 303 | 243 | end NavierStokes.AxisymmetricFields |
+0 −41 NavierStokes/AxisymmetricResidual.lean View file
| @@ -165,12 +165,6 @@ def SliceC2 (G : Profile) (t : ℝ) : Prop := | ||
| 165 | 165 | theorem SliceC2.differentiable {G : Profile} {t : ℝ} (hG : SliceC2 G t) : |
| 166 | 166 | SliceDifferentiable G t := fun x => (hG x).differentiableAt (by norm_num) |
| 167 | 167 | |
| 168 | -theorem sliceC2_of_contDiffOn {G : Profile} {times : Set ℝ} {t : ℝ} | |
| 169 | - (hG : ContDiffOn ℝ 2 G (times ×ˢ (Set.univ : Set (ℝ × ℝ)))) | |
| 170 | - (ht : times ∈ nhds t) : SliceC2 G t := by | |
| 171 | - intro x | |
| 172 | - exact hG.contDiffAt (prod_mem_nhds ht Filter.univ_mem) | |
| 173 | - | |
| 174 | 168 | theorem contDiff_lift_slice {G : Profile} {t : ℝ} (hG : SliceC2 G t) : |
| 175 | 169 | ContDiff ℝ 2 (lift G t) := by |
| 176 | 170 | rw [contDiff_iff_contDiffAt] |
| @@ -183,17 +177,6 @@ def laplaceScalar (G : Profile) (p : ProfilePoint) : ℝ := | ||
| 183 | 177 | def laplaceWeighted (G : Profile) (p : ProfilePoint) : ℝ := |
| 184 | 178 | 2 * p.2.1 * partialS (partialS G) p + 4 * partialS G p + partialZ (partialZ G) p |
| 185 | 179 | |
| 186 | -theorem contDiff_lift {G : Profile} {n : WithTop ℕ∞} (hG : ContDiff ℝ n G) (t : ℝ) : | |
| 187 | - ContDiff ℝ n (lift G t) := hG.comp (contDiff_profilePoint_slice t) | |
| 188 | - | |
| 189 | -theorem contDiff_partialS {G : Profile} {m n : WithTop ℕ∞} | |
| 190 | - (hG : ContDiff ℝ n G) (hmn : m + 1 ≤ n) : ContDiff ℝ m (partialS G) := | |
| 191 | - (hG.fderiv_right hmn).clm_apply contDiff_const | |
| 192 | - | |
| 193 | -theorem contDiff_partialZ {G : Profile} {m n : WithTop ℕ∞} | |
| 194 | - (hG : ContDiff ℝ n G) (hmn : m + 1 ≤ n) : ContDiff ℝ m (partialZ G) := | |
| 195 | - (hG.fderiv_right hmn).clm_apply contDiff_const | |
| 196 | - | |
| 197 | 180 | theorem fderiv_lift_apply {G : Profile} {t : ℝ} (hG : SliceDifferentiable G t) |
| 198 | 181 | (x v : Space) : fderiv ℝ (lift G t) x v = |
| 199 | 182 | (x 0 * v 0 + x 1 * v 1) * partialS G (profilePoint t x) + |
| @@ -414,14 +397,6 @@ theorem navierStokesResidual_velocity {B F U P : Profile} {t : ℝ} | ||
| 414 | 397 | fin_cases i <;> simp [pack, coordinateVector, |
| 415 | 398 | residualRadial, residualAngular, residualAxial] <;> ring |
| 416 | 399 | |
| 417 | -theorem navierStokesResidual_on_axis {B F U P : Profile} {t : ℝ} | |
| 418 | - (hB : SliceC2 B t) (hF : SliceC2 F t) (hU : SliceC2 U t) | |
| 419 | - (hP : SliceDifferentiable P t) (x : Space) (hx0 : x 0 = 0) (hx1 : x 1 = 0) : | |
| 420 | - navierStokesResidual (velocity B F U) (pressure P) t x = | |
| 421 | - residualAxial B U P (t, (0, x 2)) • coordinateVector 2 := by | |
| 422 | - rw [navierStokesResidual_velocity hB hF hU hP] | |
| 423 | - simp [pack, hx0, hx1, profilePoint, radialEnergy] | |
| 424 | - | |
| 425 | 400 | /-- The three explicit coefficient equations imply the actual Cartesian PDE. -/ |
| 426 | 401 | theorem navierStokesResidual_eq_zero {B F U P : Profile} {t : ℝ} |
| 427 | 402 | (hB : SliceC2 B t) (hF : SliceC2 F t) (hU : SliceC2 U t) |
| @@ -457,20 +432,4 @@ theorem velocity_from_potential_at (H K : Profile) (t : ℝ) (x : Space) | ||
| 457 | 432 | rw [AxisymmetricFields.velocity_two H K t x hH hK] |
| 458 | 433 | simp [velocity, lift, fromPotentialU, profilePoint] |
| 459 | 434 | |
| 460 | -theorem velocity_from_potential {H K : Profile} | |
| 461 | - (hH : Differentiable ℝ H) (hK : Differentiable ℝ K) : | |
| 462 | - AxisymmetricFields.velocity H K = | |
| 463 | - velocity (fromPotentialB H) (fromPotentialF K) (fromPotentialU H) := by | |
| 464 | - funext w | |
| 465 | - exact velocity_from_potential_at H K w.1 w.2 (hH _) (hK _) | |
| 466 | - | |
| 467 | -theorem divergence_velocity_eq_zero {B F U : Profile} {t : ℝ} | |
| 468 | - (hB : SliceDifferentiable B t) (hF : SliceDifferentiable F t) | |
| 469 | - (hU : SliceDifferentiable U t) (x : Space) | |
| 470 | - (h : partialZ U (profilePoint t x) = | |
| 471 | - 2 * B (profilePoint t x) + 2 * radialEnergy x * partialS B (profilePoint t x)) : | |
| 472 | - spatialDivergence (velocity B F U) t x = 0 := by | |
| 473 | - rw [divergence_velocity hB hF hU, h] | |
| 474 | - ring | |
| 475 | - | |
| 476 | 435 | end NavierStokes.AxisymmetricResidual |
+0 −21 NavierStokes/AxisymmetricResidualGrouping.lean View file
| @@ -186,27 +186,6 @@ theorem represented_goodResidual_angular_continuous {ι : Type*} {U : Set D} | ||
| 186 | 186 | exact continuous_const.add (continuous_finsetSum (labels n) (fun l _ => |
| 187 | 187 | Complex.continuous_re.comp (HarmonicFields.field_angular_continuous _ _ _ _ _))) |
| 188 | 188 | |
| 189 | -/-- An arbitrary independent alias does not disturb angular continuity. -/ | |
| 190 | -theorem Representation.goodResidual_angular_continuous {ι : Type*} {U : Set D} | |
| 191 | - (hU : IsOpen U) {c : Context D} {s : State D} {labels : ℕ → Finset ι} | |
| 192 | - {blocks : ι → HarmonicBlock D} | |
| 193 | - {gaussian aliasCoeffs : ι → HarmonicResidual.BlockCoefficients D} | |
| 194 | - {axis : MeanVector D} | |
| 195 | - (hrep : Representation labels blocks gaussian aliasCoeffs s axis) {n : ℕ} | |
| 196 | - (h : HarmonicResidual.ExtractionRegular U c s labels blocks gaussian aliasCoeffs n) | |
| 197 | - {x : D} (hx : x ∈ U) (i : Fin 3) : | |
| 198 | - Continuous (fun θ => HarmonicResidual.stateGoodResidual c s n (x, θ) i) := by | |
| 199 | - have hc := represented_goodResidual_angular_continuous hU hrep.erase | |
| 200 | - (extractionRegular_erase h axis) hx i | |
| 201 | - have he : (fun θ => HarmonicResidual.stateGoodResidual c s n (x, θ) i) = | |
| 202 | - fun θ => HarmonicResidual.stateGoodResidual c (eraseAxisymmetricAlias s axis) | |
| 203 | - n (x, θ) i - axis n x i := by | |
| 204 | - funext θ | |
| 205 | - rw [stateGoodResidual_eraseAxisymmetricAlias] | |
| 206 | - exact (add_sub_cancel_right _ _).symm | |
| 207 | - rw [he] | |
| 208 | - exact hc.sub continuous_const | |
| 209 | - | |
| 210 | 189 | /-- Actual nonconstant residual grouping, with no smoothness or support |
| 211 | 190 | assumption on the independent axisymmetric alias. -/ |
| 212 | 191 | theorem stateGoodWaveResidual_grouped {ι : Type*} {U : Set D} (hU : IsOpen U) |
+22 −0 routes/s1-ns-axisymmetric-1/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-axisymmetric-1 | |
| 6 | + | |
| 7 | +Wave 1, the family `NavierStokes/Axisymmetric*`. Deletes 15 declarations that | |
| 8 | +nothing uses, 122 lines in `NavierStokes/AxisymmetricFields.lean`, | |
| 9 | +`NavierStokes/AxisymmetricResidual.lean` and | |
| 10 | +`NavierStokes/AxisymmetricResidualGrouping.lean`. Deletions only: no statement | |
| 11 | +or proof that stays is changed. The declarations were cut from Treant's run of | |
| 12 | +2026-12-03 and checked on this project's main against the declaration graph | |
| 13 | +under the rule that the paper's results stay; none of them is reached by | |
| 14 | +`NavierStokes/PaperResults.lean`, `NavierStokes/R3/Theorem.lean` or | |
| 15 | +`NavierStokes/LocalPaperTheorem.lean`, and none of their docstrings names a | |
| 16 | +numbered result of the paper. A `git grep -n -w` of the tree finds no other | |
| 17 | +use of any of the 15 names. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +The maintainer's review of the pull request; the remaining `s1-ns-*` family | |
| 22 | +units are the next ones it opens. | |