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/Cylindrical): delete 3 declarations nothing uses #157
Merged
+0 −24 NavierStokes/CylindricalResidual.lean View file
| @@ -52,12 +52,6 @@ theorem frame_apply (θ : ℝ) (v : Space) : | ||
| 52 | 52 | theorem connection_apply (v : Space) : connection v = pack (-v 1) (v 0) 0 := by |
| 53 | 53 | simp [connection, packDerivative_apply] |
| 54 | 54 | |
| 55 | -theorem frame_connection (θ : ℝ) : | |
| 56 | - (frame θ).comp connection = -Real.sin θ • horizontal + Real.cos θ • connection := by | |
| 57 | - ext v i | |
| 58 | - fin_cases i <;> simp [frame_apply, connection_apply, horizontal, packDerivative_apply] | |
| 59 | - ring | |
| 60 | - | |
| 61 | 55 | theorem frame_inverse (θ : ℝ) (v : Space) : frame (-θ) (frame θ v) = v := by |
| 62 | 56 | ext i |
| 63 | 57 | fin_cases i |
| @@ -280,10 +274,6 @@ theorem hasFDerivAt_frameField (q : Space) : | ||
| 280 | 274 | /-- Cartesian representation of cylindrical vector components. -/ |
| 281 | 275 | noncomputable def encode (w : Space → Space) (q : Space) : Space := frame (q 1) (w q) |
| 282 | 276 | |
| 283 | -theorem contDiffAt_encode {w : Space → Space} {q : Space} {n : WithTop ℕ∞} | |
| 284 | - (hw : ContDiffAt ℝ n w q) : ContDiffAt ℝ n (encode w) q := | |
| 285 | - (contDiff_frame.contDiffAt.comp q (projection 1).contDiff.contDiffAt).clm_apply hw | |
| 286 | - | |
| 287 | 277 | theorem fderiv_encode {w : Space → Space} {q : Space} |
| 288 | 278 | (hw : DifferentiableAt ℝ w q) (v : Space) : |
| 289 | 279 | fderiv ℝ (encode w) q v = |
| @@ -592,20 +582,6 @@ theorem navierStokesResidual_of_representation | ||
| 592 | 582 | rw [hq, frame_inverse] |
| 593 | 583 | rw [navierStokesResidual_cylindrical hu hp hr, cylindricalResidual_congr hc hP] |
| 594 | 584 | |
| 595 | -theorem navierStokesResidual_zero_iff | |
| 596 | - {u : VelocityField} {p : PressureField} {t : ℝ} {q : Space} | |
| 597 | - (hu : ContDiffAt ℝ 2 u (t, chart q)) | |
| 598 | - (hp : DifferentiableAt ℝ p (t, chart q)) (hr : 0 < q 0) : | |
| 599 | - navierStokesResidual u p t (chart q) = 0 ↔ | |
| 600 | - cylindricalResidual (velocityComponents u) (pressurePullback p) t q = 0 := by | |
| 601 | - rw [navierStokesResidual_cylindrical hu hp hr] | |
| 602 | - constructor | |
| 603 | - · intro h | |
| 604 | - have h' := congrArg (frame (-(q 1))) h | |
| 605 | - simpa only [frame_inverse, map_zero] using h' | |
| 606 | - · intro h | |
| 607 | - rw [h, map_zero] | |
| 608 | - | |
| 609 | 585 | theorem dCoord_dCoord_map (L : E →L[ℝ] F) {f : Space → E} {q : Space} |
| 610 | 586 | (hf : ContDiffAt ℝ 2 f q) (i : Fin 3) : |
| 611 | 587 | dCoord i (dCoord i (fun y => L (f y))) q = L (dCoord i (dCoord i f) q) := by |
+21 −0 routes/s1-ns-cylindrical-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-cylindrical-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Cylindrical*`: | |
| 8 | +delete three declarations of `NavierStokes/CylindricalResidual.lean` that nothing uses — | |
| 9 | +`NavierStokes.CylindricalResidual.frame_connection` (lines 55–59), | |
| 10 | +`NavierStokes.CylindricalResidual.contDiffAt_encode` (283–285) and | |
| 11 | +`NavierStokes.CylindricalResidual.navierStokesResidual_zero_iff` (595–607), 24 lines. | |
| 12 | + | |
| 13 | +Nothing in the tree names them: `git grep -n -w frame_connection`, `git grep -n -w contDiffAt_encode` | |
| 14 | +and `git grep -n -w navierStokesResidual_zero_iff` find no hit at all. None of the three carries a | |
| 15 | +docstring, so no paper result depends on it. The diff is deletions only; statements and proofs that | |
| 16 | +stay are untouched. `python3 checks/challenge.py .` ends with `ok: …`. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Push and open the pull request; the rest of the `Cylindrical*` family and the other units of #10 are | |
| 21 | +separate. | |