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 #147
Merged
+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. | |