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/Copy): delete 13 declarations nothing uses
Browse filesPart of #10. Unused declarations of NavierStokes/CopySolveCompatibility.lean; deletions only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checks
challenge Program · challenge files and build config
Details
+0 −159 NavierStokes/CopySolveCompatibility.lean View file
| @@ -125,24 +125,6 @@ theorem copySolve_transform (d : LinearData P V E) (φ : Q → P) | ||
| 125 | 125 | unfold LinearData.copySolve |
| 126 | 126 | rw [coordinates_refine, anchoredSolve_transform] |
| 127 | 127 | |
| 128 | -theorem localizedCopy_transform (d : LinearData P V E) (φ : Q → P) | |
| 129 | - (g : Geometry) (hab : a ≤ b) (k : ℕ) (κ : Plane → ℝ) (j : Frequency) (q : Q) (Y : Plane) : | |
| 130 | - (transformData d φ k).localizedCopy (refineGeometry g k) hab κ j (q, Y) = | |
| 131 | - d.localizedCopy g hab κ j (φ q, coverPower k Y) := by | |
| 132 | - unfold LinearData.localizedCopy | |
| 133 | - rw [coordinates_refine, copySolve_transform] | |
| 134 | - | |
| 135 | -/-- Equality of the actual periodized solves, obtained term by term before | |
| 136 | -forming the sum. No periodicity hypothesis on a native inhomogeneous solve | |
| 137 | -is used, or needed. -/ | |
| 138 | -theorem commonSolve_transform (d : LinearData P V E) (φ : Q → P) | |
| 139 | - (g : Geometry) (hab : a ≤ b) (k : ℕ) (κ : Plane → ℝ) (q : Q) (Y : Plane) : | |
| 140 | - (transformData d φ k).commonSolve (refineGeometry g k) hab κ (q, Y) = | |
| 141 | - d.commonSolve g hab κ (φ q, coverPower k Y) := by | |
| 142 | - apply tsum_congr | |
| 143 | - intro j | |
| 144 | - exact localizedCopy_transform d φ g hab k κ j q Y | |
| 145 | - | |
| 146 | 128 | end Paths |
| 147 | 129 | |
| 148 | 130 | /-! ## Changing the integer representative of the native slot center -/ |
| @@ -227,19 +209,6 @@ theorem copySolve_scaleSource (d : LinearData P V E) (g : Geometry) (hab : a ≤ | ||
| 227 | 209 | (scaleSource d c).copySolve g hab j (p, Y) = c • d.copySolve g hab j (p, Y) := by |
| 228 | 210 | simp only [LinearData.copySolve, anchoredSolve_scaleSource] |
| 229 | 211 | |
| 230 | -theorem localizedCopy_scaleSource (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 231 | - (c : ℝ) (κ : Plane → ℝ) (j : Frequency) (p : P) (Y : Plane) : | |
| 232 | - (scaleSource d c).localizedCopy g hab κ j (p, Y) = | |
| 233 | - c • d.localizedCopy g hab κ j (p, Y) := by | |
| 234 | - simp only [LinearData.localizedCopy, copySolve_scaleSource] | |
| 235 | - exact smul_comm _ _ _ | |
| 236 | - | |
| 237 | -theorem commonSolve_scaleSource (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 238 | - (c : ℝ) (κ : Plane → ℝ) (p : P) (Y : Plane) : | |
| 239 | - (scaleSource d c).commonSolve g hab κ (p, Y) = c • d.commonSolve g hab κ (p, Y) := by | |
| 240 | - simp only [LinearData.commonSolve, localizedCopy_scaleSource] | |
| 241 | - exact tsum_const_smul'' c | |
| 242 | - | |
| 243 | 212 | end SourceScale |
| 244 | 213 | |
| 245 | 214 | /-! ## Transporting the native clock, its anchor, and its cutoff together -/ |
| @@ -313,100 +282,8 @@ theorem forcingAlong_timeData (d : LinearData P V E) (g : Geometry) | ||
| 313 | 282 | |
| 314 | 283 | variable [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 315 | 284 | |
| 316 | -omit [NormedSpace ℝ P] in | |
| 317 | -theorem timeData_coefficient_continuousOn (d : LinearData P V E) (τ rate : ℝ) {U : Set P} | |
| 318 | - (hA : ContinuousOn d.coefficient (U ×ˢ univ)) : | |
| 319 | - ContinuousOn (timeData d τ rate).coefficient (U ×ˢ univ) := by | |
| 320 | - have hmap : Continuous (fun z : P × Plane => (z.1, nativeTimeMap τ rate z.2)) := | |
| 321 | - continuous_fst.prodMk ((nativeTimeMap_continuous τ rate).comp continuous_snd) | |
| 322 | - exact (hA.comp hmap.continuousOn (fun z hz => ⟨hz.1, mem_univ _⟩)).const_smul rate | |
| 323 | - | |
| 324 | -omit [NormedSpace ℝ P] in | |
| 325 | -theorem timeData_forcingMap_continuousOn (d : LinearData P V E) (τ rate : ℝ) {U : Set P} | |
| 326 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) : | |
| 327 | - ContinuousOn (timeData d τ rate).forcingMap (U ×ˢ univ) := by | |
| 328 | - have hmap : Continuous (fun z : P × Plane => (z.1, nativeTimeMap τ rate z.2)) := | |
| 329 | - continuous_fst.prodMk ((nativeTimeMap_continuous τ rate).comp continuous_snd) | |
| 330 | - exact (hB.comp hmap.continuousOn (fun z hz => ⟨hz.1, mem_univ _⟩)).const_smul rate | |
| 331 | - | |
| 332 | 285 | variable [CompleteSpace E] {a b : ℝ} |
| 333 | 286 | |
| 334 | -/-- Clock transport is proved from uniqueness of the actual zero-entry | |
| 335 | -Volterra solution on the transported interval. -/ | |
| 336 | -theorem anchoredSolve_timeData (d : LinearData P V E) (g : Geometry) | |
| 337 | - (τ rate : ℝ) (hrate : 0 < rate) (hab : a ≤ b) {U : Set P} | |
| 338 | - (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 339 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) | |
| 340 | - (hf : ContinuousOn d.source (U ×ˢ univ)) | |
| 341 | - (j : Frequency) {p : P} (hp : p ∈ U) (Y : Plane) {s : ℝ} (hs : s ∈ Icc a b) : | |
| 342 | - (timeData d τ rate).anchoredSolve (timeGeometry g τ rate hrate.ne') hab j (p, Y) s = | |
| 343 | - d.anchoredSolve g (time_interval_mono τ hrate hab) j (p, Y) (τ + rate * s) := by | |
| 344 | - let u := fun t => d.anchoredSolve g (time_interval_mono τ hrate hab) j (p, Y) (τ + rate * t) | |
| 345 | - have hu0 : u a = 0 := d.anchoredSolve_initial g _ j (p, Y) | |
| 346 | - have hu (t : ℝ) (ht : t ∈ Icc a b) : HasDerivAt u | |
| 347 | - ((timeData d τ rate).coefficientAlong (timeGeometry g τ rate hrate.ne') j ((p, Y), t) (u t) + | |
| 348 | - (timeData d τ rate).forcingAlong (timeGeometry g τ rate hrate.ne') j ((p, Y), t)) t := by | |
| 349 | - have ht' : τ + rate * t ∈ Icc (τ + rate * a) (τ + rate * b) := | |
| 350 | - ⟨time_interval_mono τ hrate ht.1, time_interval_mono τ hrate ht.2⟩ | |
| 351 | - have hold := d.anchoredSolve_hasDerivAt g (time_interval_mono τ hrate hab) | |
| 352 | - j hA hB hf hp Y ⟨τ + rate * t, ht'⟩ | |
| 353 | - have hclock : HasDerivAt (fun t : ℝ => τ + rate * t) rate t := by | |
| 354 | - simpa only [mul_one, id_eq] using ((hasDerivAt_id t).const_mul rate).const_add τ | |
| 355 | - have hderiv := hold.scomp t hclock | |
| 356 | - simpa only [u, coefficientAlong_timeData, forcingAlong_timeData, | |
| 357 | - _root_.smul_apply, smul_add, Function.comp_def] using hderiv | |
| 358 | - exact ((timeData d τ rate).anchoredSolve_unique (timeGeometry g τ rate hrate.ne') hab j | |
| 359 | - (timeData_coefficient_continuousOn d τ rate hA) | |
| 360 | - (timeData_forcingMap_continuousOn d τ rate hB) hf hp Y hu0 hu hs).symm | |
| 361 | - | |
| 362 | -theorem copySolve_timeData (d : LinearData P V E) (g : Geometry) | |
| 363 | - (τ rate : ℝ) (hrate : 0 < rate) (hab : a ≤ b) {U : Set P} | |
| 364 | - (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 365 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) | |
| 366 | - (hf : ContinuousOn d.source (U ×ˢ univ)) | |
| 367 | - (j : Frequency) {p : P} (hp : p ∈ U) (Y : Plane) | |
| 368 | - (hs : ((timeGeometry g τ rate hrate.ne').coordinates j Y).2 ∈ Icc a b) : | |
| 369 | - (timeData d τ rate).copySolve (timeGeometry g τ rate hrate.ne') hab j (p, Y) = | |
| 370 | - d.copySolve g (time_interval_mono τ hrate hab) j (p, Y) := by | |
| 371 | - unfold LinearData.copySolve | |
| 372 | - rw [anchoredSolve_timeData d g τ rate hrate hab hA hB hf j hp Y hs] | |
| 373 | - congr 1 | |
| 374 | - exact congrArg Prod.snd (coordinates_timeGeometry g τ rate hrate.ne' j Y) | |
| 375 | - | |
| 376 | -theorem localizedCopy_timeData (d : LinearData P V E) (g : Geometry) | |
| 377 | - (τ rate : ℝ) (hrate : 0 < rate) (hab : a ≤ b) {U : Set P} | |
| 378 | - (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 379 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) | |
| 380 | - (hf : ContinuousOn d.source (U ×ˢ univ)) | |
| 381 | - (κ : Plane → ℝ) (hκ : support κ ⊆ univ ×ˢ Icc (τ + rate * a) (τ + rate * b)) | |
| 382 | - (j : Frequency) {p : P} (hp : p ∈ U) (Y : Plane) : | |
| 383 | - (timeData d τ rate).localizedCopy (timeGeometry g τ rate hrate.ne') hab | |
| 384 | - (κ ∘ nativeTimeMap τ rate) j (p, Y) = | |
| 385 | - d.localizedCopy g (time_interval_mono τ hrate hab) κ j (p, Y) := by | |
| 386 | - simp only [LinearData.localizedCopy, Function.comp_apply, coordinates_timeGeometry] | |
| 387 | - by_cases hz : κ (g.coordinates j Y) = 0 | |
| 388 | - · simp only [hz, zero_smul] | |
| 389 | - · congr 1 | |
| 390 | - apply copySolve_timeData d g τ rate hrate hab hA hB hf j hp Y | |
| 391 | - have hbounds := (hκ hz).2 | |
| 392 | - have ht := congrArg Prod.snd (coordinates_timeGeometry g τ rate hrate.ne' j Y) | |
| 393 | - change τ + rate * ((timeGeometry g τ rate hrate.ne').coordinates j Y).2 = _ at ht | |
| 394 | - constructor <;> nlinarith [hbounds.1, hbounds.2] | |
| 395 | - | |
| 396 | -theorem commonSolve_timeData (d : LinearData P V E) (g : Geometry) | |
| 397 | - (τ rate : ℝ) (hrate : 0 < rate) (hab : a ≤ b) {U : Set P} | |
| 398 | - (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 399 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) | |
| 400 | - (hf : ContinuousOn d.source (U ×ˢ univ)) | |
| 401 | - (κ : Plane → ℝ) (hκ : support κ ⊆ univ ×ˢ Icc (τ + rate * a) (τ + rate * b)) | |
| 402 | - {p : P} (hp : p ∈ U) (Y : Plane) : | |
| 403 | - (timeData d τ rate).commonSolve (timeGeometry g τ rate hrate.ne') hab | |
| 404 | - (κ ∘ nativeTimeMap τ rate) (p, Y) = | |
| 405 | - d.commonSolve g (time_interval_mono τ hrate hab) κ (p, Y) := by | |
| 406 | - apply tsum_congr | |
| 407 | - intro j | |
| 408 | - exact localizedCopy_timeData d g τ rate hrate hab hA hB hf κ hκ j hp Y | |
| 409 | - | |
| 410 | 287 | end TimeData |
| 411 | 288 | |
| 412 | 289 | /-! ## A single output represented in all transported charts -/ |
| @@ -425,19 +302,6 @@ noncomputable def transportData (d : LinearData P V E) (φ : Q → P) (k : ℕ) | ||
| 425 | 302 | noncomputable def transportGeometry (g : Geometry) (k : ℕ) (τ rate : ℝ) (hrate : rate ≠ 0) : |
| 426 | 303 | Geometry := refineGeometry (timeGeometry g τ rate hrate) k |
| 427 | 304 | |
| 428 | -theorem commonSolve_transport {a b : ℝ} (d : LinearData P V E) (φ : Q → P) | |
| 429 | - (g : Geometry) (hab : a ≤ b) (k : ℕ) (τ rate amplitude : ℝ) (hrate : 0 < rate) | |
| 430 | - {U : Set P} (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 431 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) (hf : ContinuousOn d.source (U ×ˢ univ)) | |
| 432 | - (κ : Plane → ℝ) (hκ : support κ ⊆ univ ×ˢ Icc (τ + rate * a) (τ + rate * b)) | |
| 433 | - (q : Q) (hq : φ q ∈ U) (Y : Plane) : | |
| 434 | - (transportData d φ k τ rate amplitude).commonSolve | |
| 435 | - (transportGeometry g k τ rate hrate.ne') hab (κ ∘ nativeTimeMap τ rate) (q, Y) = | |
| 436 | - amplitude • d.commonSolve g (time_interval_mono τ hrate hab) κ (φ q, coverPower k Y) := by | |
| 437 | - unfold transportData transportGeometry | |
| 438 | - rw [commonSolve_scaleSource, commonSolve_transform, | |
| 439 | - commonSolve_timeData d g τ rate hrate hab hA hB hf κ hκ hq] | |
| 440 | - | |
| 441 | 305 | end PhysicalCompatibility |
| 442 | 306 | |
| 443 | 307 | section ConcreteBandChart |
| @@ -479,31 +343,8 @@ theorem anchoredSolve_eq_of_sameInputs (d e : LinearData P V E) (g : Geometry) | ||
| 479 | 343 | exact hi.forcing _ _ |
| 480 | 344 | simp only [LinearData.anchoredSolve, hA, hf] |
| 481 | 345 | |
| 482 | -theorem commonSolve_eq_of_sameInputs (d e : LinearData P V E) (g : Geometry) | |
| 483 | - (hab : a ≤ b) (p : P) (hi : SameInputsAt d e p) (κ : Plane → ℝ) (Y : Plane) : | |
| 484 | - d.commonSolve g hab κ (p, Y) = e.commonSolve g hab κ (p, Y) := by | |
| 485 | - apply tsum_congr | |
| 486 | - intro j | |
| 487 | - simp only [LinearData.localizedCopy, LinearData.copySolve, | |
| 488 | - anchoredSolve_eq_of_sameInputs d e g hab p hi] | |
| 489 | - | |
| 490 | 346 | variable [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 491 | 347 | |
| 492 | -theorem commonSolve_of_compatibleInputs (d : LinearData P V E) (e : LinearData Q V E) | |
| 493 | - (φ : Q → P) (g : Geometry) (hab : a ≤ b) (k : ℕ) | |
| 494 | - (τ rate amplitude : ℝ) (hrate : 0 < rate) | |
| 495 | - {U : Set P} (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 496 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) (hf : ContinuousOn d.source (U ×ˢ univ)) | |
| 497 | - (κ : Plane → ℝ) (hκ : support κ ⊆ univ ×ˢ Icc (τ + rate * a) (τ + rate * b)) | |
| 498 | - (q : Q) (hq : φ q ∈ U) | |
| 499 | - (hi : SameInputsAt e (transportData d φ k τ rate amplitude) q) (Y : Plane) : | |
| 500 | - e.commonSolve (transportGeometry g k τ rate hrate.ne') hab | |
| 501 | - (κ ∘ nativeTimeMap τ rate) (q, Y) = | |
| 502 | - amplitude • d.commonSolve g (time_interval_mono τ hrate hab) κ (φ q, coverPower k Y) := by | |
| 503 | - rw [commonSolve_eq_of_sameInputs e (transportData d φ k τ rate amplitude) | |
| 504 | - _ hab q hi] | |
| 505 | - exact commonSolve_transport d φ g hab k τ rate amplitude hrate hA hB hf κ hκ q hq Y | |
| 506 | - | |
| 507 | 348 | end InputCompatibility |
| 508 | 349 | |
| 509 | 350 | /-! ## Why the anchor must be transported as input data -/ |
+25 −0 routes/s1-ns-copy-8/README.md added View file
| @@ -0,0 +1,25 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-copy-8 | |
| 6 | + | |
| 7 | +The family `NavierStokes/Copy*` (one file, `NavierStokes/CopySolveCompatibility.lean`) in the list of | |
| 8 | +declarations that nothing uses. This unit deletes 13 of them, 159 lines: the transform and source-scale | |
| 9 | +identities for `localizedCopy`/`commonSolve`, the two `timeData` continuity lemmas, the four clock-transport | |
| 10 | +identities (`anchoredSolve`, `copySolve`, `localizedCopy`, `commonSolve`), `commonSolve_transport`, and the | |
| 11 | +two input-compatibility statements `commonSolve_eq_of_sameInputs` and `commonSolve_of_compatibleInputs`. | |
| 12 | + | |
| 13 | +The diff is deletions only; no statement or proof that stays is changed. None of the deleted docstrings names | |
| 14 | +the paper: the two that exist speak of the periodized solves and of the Volterra solution, with no numbered | |
| 15 | +Lemma, Theorem, Proposition, Corollary, Section or Equation. `git grep -n -w` for each short name finds no | |
| 16 | +user left in the tree. The only hits are other declarations that share a short name | |
| 17 | +(`IntervalCopyTransport.anchoredSolve_timeData`, `IntervalCopyTransport.copySolve_timeData`, | |
| 18 | +`ScaledTangentTransport.commonSolve_transport`) and prose in the notes of earlier waves | |
| 19 | +(`routes/s1-ns-particular-1`, `routes/s1-ns-scaled-1`, `routes/s1-ns-scaled-3`) that record which same-name | |
| 20 | +declaration they left alone. `python3 checks/challenge.py .` ends with `ok`. | |
| 21 | + | |
| 22 | +## Next | |
| 23 | + | |
| 24 | +Nothing on this unit: commit and push the deletions, then open the pull request. If it comes back for | |
| 25 | +changes, re-read the deleted declarations against the tree at the head. | |