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/Compact): delete 3 declarations nothing uses
Browse filesPart of #10. Deletes three unused declarations from NavierStokes/CompactSmoothFamily.lean; no surviving statement or proof is changed. 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-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-1 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-2 s1-ns-signed-2 s1-ns-similarity-2 s1-ns-slot-2 s1-ns-slow-2 s1-ns-smooth-2 s1-ns-solenoidal-2 s1-ns-spatial-2 s1-ns-squared-2 s1-ns-state-2 s1-ns-subcover-2 s1-ns-tail-2 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 −58 NavierStokes/CompactSmoothFamily.lean View file
| @@ -196,70 +196,12 @@ theorem contDiffOn_family_of_joint (K : Set Z) [CompactSpace K] (U : Set P) (V : | ||
| 196 | 196 | exact contDiffOn_family_nat K U V hU hV hK n F |
| 197 | 197 | (hF.of_le (ENat.natCast_le_of_coe_top_le_withTop le_rfl n)) |
| 198 | 198 | |
| 199 | -/-- Evaluating an actual compact-family jet gives the genuine parameter jet | |
| 200 | -of the original fixed-point slice. -/ | |
| 201 | -theorem iteratedFDeriv_family_apply (K : Set Z) [CompactSpace K] (U : Set P) (V : Set Z) | |
| 202 | - (hU : IsOpen U) (hV : IsOpen V) (hK : K ⊆ V) | |
| 203 | - (F : P × Z → E) (hF : ContDiffOn ℝ ∞ F (U ×ˢ V)) | |
| 204 | - {p : P} (hp : p ∈ U) (k : ℕ) (v : Fin k → P) (z : K) : | |
| 205 | - (iteratedFDeriv ℝ k (family K F) p v) z = | |
| 206 | - iteratedFDeriv ℝ k (fun q => F (q, z)) p v := by | |
| 207 | - let ev : C(K, E) →L[ℝ] E := ContinuousMap.evalCLM ℝ z | |
| 208 | - have hfamily := contDiffOn_family_of_joint K U V hU hV hK F hF | |
| 209 | - have hcomp := ev.iteratedFDerivWithin_comp_left (hfamily p hp) hU.uniqueDiffOn hp | |
| 210 | - (ENat.natCast_le_of_coe_top_le_withTop le_rfl k) | |
| 211 | - have hsame : EqOn (ev ∘ family K F) (fun q => F (q, z)) U := by | |
| 212 | - intro q hq | |
| 213 | - exact family_apply K F q | |
| 214 | - (slice_continuous (hF.continuousOn.mono (Set.prod_mono Subset.rfl hK)) hq) z | |
| 215 | - have heq := iteratedFDerivWithin_congr (𝕜 := ℝ) hsame hp k | |
| 216 | - have hv := congrArg (fun L : P [×k]→L[ℝ] E => L v) (hcomp.symm.trans heq) | |
| 217 | - change (iteratedFDerivWithin ℝ k (family K F) U p v) z = | |
| 218 | - iteratedFDerivWithin ℝ k (fun q => F (q, z)) U p v at hv | |
| 219 | - simpa only [iteratedFDerivWithin_of_isOpen k hU hp] using hv | |
| 220 | - | |
| 221 | 199 | omit [NormedSpace ℝ P] [NormedSpace ℝ Z] [NormedSpace ℝ E] in |
| 222 | 200 | theorem family_apply_of_joint (K : Set Z) {U : Set P} {V : Set Z} |
| 223 | 201 | (hK : K ⊆ V) (F : P × Z → E) (hF : ContinuousOn F (U ×ˢ V)) |
| 224 | 202 | {p : P} (hp : p ∈ U) (z : K) : family K F p z = F (p, z) := |
| 225 | 203 | family_apply K F p (slice_continuous (hF.mono (Set.prod_mono Subset.rfl hK)) hp) z |
| 226 | 204 | |
| 227 | -/-- An arbitrary open neighborhood of `U × K` suffices; a fixed product | |
| 228 | -neighborhood is extracted locally at each parameter using compactness. -/ | |
| 229 | -theorem contDiffOn_family_of_neighborhood (K : Set Z) [CompactSpace K] | |
| 230 | - (U : Set P) (W : Set (P × Z)) (hW : IsOpen W) (hUK : U ×ˢ K ⊆ W) | |
| 231 | - (F : P × Z → E) (hF : ContDiffOn ℝ ∞ F W) : | |
| 232 | - ContDiffOn ℝ ∞ (family K F) U := by | |
| 233 | - intro p hp | |
| 234 | - have hKc : IsCompact K := isCompact_iff_compactSpace.mpr inferInstance | |
| 235 | - have hs : ({p} : Set P) ×ˢ K ⊆ W := by | |
| 236 | - rintro ⟨q, z⟩ ⟨hq, hz⟩ | |
| 237 | - have hqp : q = p := by simpa only [mem_singleton_iff] using hq | |
| 238 | - subst q | |
| 239 | - exact hUK ⟨hp, hz⟩ | |
| 240 | - obtain ⟨U', V', hU', hV', hpU, hKV, hsub⟩ := | |
| 241 | - generalized_tube_lemma isCompact_singleton hKc hW hs | |
| 242 | - have hp' : p ∈ U' := hpU (by simp) | |
| 243 | - have hlocal := contDiffOn_family_of_joint K U' V' hU' hV' hKV F (hF.mono hsub) | |
| 244 | - exact (hlocal.contDiffAt (hU'.mem_nhds hp')).contDiffWithinAt | |
| 245 | - | |
| 246 | -theorem iteratedFDeriv_family_apply_of_neighborhood (K : Set Z) [CompactSpace K] | |
| 247 | - (U : Set P) (W : Set (P × Z)) (hW : IsOpen W) (hUK : U ×ˢ K ⊆ W) | |
| 248 | - (F : P × Z → E) (hF : ContDiffOn ℝ ∞ F W) | |
| 249 | - {p : P} (hp : p ∈ U) (k : ℕ) (v : Fin k → P) (z : K) : | |
| 250 | - (iteratedFDeriv ℝ k (family K F) p v) z = | |
| 251 | - iteratedFDeriv ℝ k (fun q => F (q, z)) p v := by | |
| 252 | - have hKc : IsCompact K := isCompact_iff_compactSpace.mpr inferInstance | |
| 253 | - have hs : ({p} : Set P) ×ˢ K ⊆ W := by | |
| 254 | - rintro ⟨q, z⟩ ⟨hq, hz⟩ | |
| 255 | - have hqp : q = p := by simpa only [mem_singleton_iff] using hq | |
| 256 | - subst q | |
| 257 | - exact hUK ⟨hp, hz⟩ | |
| 258 | - obtain ⟨U', V', hU', hV', hpU, hKV, hsub⟩ := | |
| 259 | - generalized_tube_lemma isCompact_singleton hKc hW hs | |
| 260 | - exact iteratedFDeriv_family_apply K U' V' hU' hV' hKV F (hF.mono hsub) | |
| 261 | - (hpU (by simp)) k v z | |
| 262 | - | |
| 263 | 205 | end |
| 264 | 206 | |
| 265 | 207 | end NavierStokes.CompactSmoothFamily |
+20 −0 routes/s1-ns-compact-1/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-compact-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Compact*`: | |
| 8 | +delete three declarations of `NavierStokes/CompactSmoothFamily.lean` (58 lines) that nothing uses. | |
| 9 | +`NavierStokes.CompactSmoothFamily.iteratedFDeriv_family_apply`, | |
| 10 | +`NavierStokes.CompactSmoothFamily.contDiffOn_family_of_neighborhood` and | |
| 11 | +`NavierStokes.CompactSmoothFamily.iteratedFDeriv_family_apply_of_neighborhood`. A `git grep -n -w` | |
| 12 | +over the tree finds none of the three names anywhere (no user, no route note, no other declaration | |
| 13 | +of the same short name). The docstrings of the two that have one name no numbered result of the | |
| 14 | +paper. Statements and proofs that stay, including `family_apply_of_joint`, are untouched; the diff | |
| 15 | +is deletions only. `python3 checks/challenge.py .` ends with `ok: …`. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +Push and open the pull request; the rest of the `Compact*` family and the other units of #10 are | |
| 20 | +separate. | |