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

style(NavierStokes): fix Physical tactic separator lint #739
Open
+2 −2 NavierStokes/PhysicalGraphBounds.lean View file
| @@ -564,7 +564,7 @@ theorem etaCoordinate_radial : etaCoordinate radialDirection = 0 := by | ||
| 564 | 564 | theorem etaCoordinate_time : etaCoordinate timeDirection = 1 := by |
| 565 | 565 | have hd : 1 + (Real.sqrt 2 - 1) ^ 2 ≠ 0 := by positivity |
| 566 | 566 | change (1 + (Real.sqrt 2 - 1) ^ 2)⁻¹ * ((Real.sqrt 2 - 1) * (Real.sqrt 2 - 1) + 1) = 1 |
| 567 | - field_simp ; ring | |
| 567 | + field_simp; ring | |
| 568 | 568 | |
| 569 | 569 | theorem etaCoordinate_nativeGraph (h : ℝ) (n : ℕ) (p : SpaceTime) : |
| 570 | 570 | etaCoordinate (nativeGraph h n p) = ChartScales.Tg ^ ChartScales.nativeIndex h n * p.1 := by |
| @@ -589,7 +589,7 @@ theorem slotTime_affine (h : ℝ) (n : ℕ) (center : Plane) (r0 : ℝ) (p : Spa | ||
| 589 | 589 | unfold slotTime |
| 590 | 590 | rw [map_sub, etaCoordinate_nativeGraph, hp] |
| 591 | 591 | unfold ChartScales.timeCoefficient |
| 592 | - field_simp ; ring | |
| 592 | + field_simp; ring | |
| 593 | 593 | |
| 594 | 594 | /-- Exact integer rounding gives a uniform upper carrier power. -/ |
| 595 | 595 | theorem carrier_upper {h : ℝ} (hh : 0 ≤ h) (n : ℕ) : |
+2 −2 NavierStokes/PhysicalSignedWave.lean View file
| @@ -179,11 +179,11 @@ theorem fullRequest_chart (s sr : StripData Point) (P : SignedStressPrimitive.Pa | ||
| 179 | 179 | fin_cases j |
| 180 | 180 | · simp [LocalSignedRequest.fullRequest, LocalSignedRequest.normalizedRequest, |
| 181 | 181 | LocalSignedRequest.requestedStress, Pi.smul_apply, smul_eq_mul, |
| 182 | - Matrix.cons_val_zero, h1] ; | |
| 182 | + Matrix.cons_val_zero, h1]; | |
| 183 | 183 | field_simp [hl.ne'] |
| 184 | 184 | · simp [LocalSignedRequest.fullRequest, LocalSignedRequest.normalizedRequest, |
| 185 | 185 | LocalSignedRequest.requestedStress, Pi.smul_apply, smul_eq_mul, |
| 186 | - Matrix.cons_val_one, h2] ; | |
| 186 | + Matrix.cons_val_one, h2]; | |
| 187 | 187 | field_simp [hl.ne'] |
| 188 | 188 | |
| 189 | 189 | theorem source_over_radial {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (h : ℝ) : |
+15 −0 routes/p1-ns-physical/README.md added View file
| @@ -0,0 +1,15 @@ | ||
| 1 | +--- | |
| 2 | +issue: 2 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# P-1 Physical files | |
| 6 | + | |
| 7 | +This route covers the 17 files matching `NavierStokes/Physical*.lean` at base `066869d`. The pinned Mathlib `whitespaceBeforeSemicolon` rule flags four tactic separator spaces, two in `PhysicalGraphBounds.lean` and two in `PhysicalSignedWave.lean`. The cleanup removes those four spaces. Proof tokens and statement text are identical to the base. | |
| 8 | + | |
| 9 | +To reproduce the style check, scan the 17 files and flag any line whose first semicolon is immediately preceded by a space. That is the predicate in the pinned [Mathlib text linter](https://github.com/leanprover-community/mathlib4/blob/85e3a25e006c35636f0e53b0e9296caca2685bc0/Mathlib/Tactic/Linter/TextBased.lean#L314-L332). It matched four lines before the cleanup and none after it. | |
| 10 | + | |
| 11 | +The site is also building the diagnostic commit `250c22b` with warnings promoted to errors in the 17 Physical modules ([job 6667](https://shoal.club/shoal/navier-stokes/jobs/6667)). Its diagnostic options were removed from the proposed diff. This machine has no Lean toolchain. Shoal's regular build will compile the proposed changes. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Read the diagnostic and pull request build logs for Physical warnings, then record what the batch build found for the maintainer. | |