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
Browse filesPart of #2. Remove spaces before semicolons in four tactic lines and restore the original build options after the diagnostic push.
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
ci/docs
Details
+0 −2 NavierStokes/PhysicalClassBounds.lean View file
| @@ -13,8 +13,6 @@ The final passage uses genuine common-coordinate compositions and the | ||
| 13 | 13 | physical carrier estimates of `PhysicalWaveSum`. |
| 14 | 14 | -/ |
| 15 | 15 | |
| 16 | -set_option warningAsError true | |
| 17 | - | |
| 18 | 16 | noncomputable section |
| 19 | 17 | |
| 20 | 18 | namespace NavierStokes.PhysicalClassBounds |
+0 −2 NavierStokes/PhysicalCoordinateBounds.lean View file
| @@ -11,8 +11,6 @@ Jacobian. Their normalized values extend smoothly to the compact set | ||
| 11 | 11 | one power of `q` per physical derivative. |
| 12 | 12 | -/ |
| 13 | 13 | |
| 14 | -set_option warningAsError true | |
| 15 | - | |
| 16 | 14 | noncomputable section |
| 17 | 15 | |
| 18 | 16 | open Set Filter Function |
+0 −2 NavierStokes/PhysicalCopyBounds.lean View file
| @@ -11,8 +11,6 @@ physical estimate is then the center-independent single-carrier estimate, | ||
| 11 | 11 | followed by the existing bounded overlap estimate for the outer labels. |
| 12 | 12 | -/ |
| 13 | 13 | |
| 14 | -set_option warningAsError true | |
| 15 | - | |
| 16 | 14 | noncomputable section |
| 17 | 15 | |
| 18 | 16 | namespace NavierStokes.PhysicalCopyBounds |
+0 −2 NavierStokes/PhysicalCurlCovariance.lean View file
| @@ -10,8 +10,6 @@ The potential is differentiated before any cutoff or carrier is removed. | ||
| 10 | 10 | All operators below are actual Frechet derivatives. |
| 11 | 11 | -/ |
| 12 | 12 | |
| 13 | -set_option warningAsError true | |
| 14 | - | |
| 15 | 13 | namespace NavierStokes.PhysicalCurlCovariance |
| 16 | 14 | |
| 17 | 15 | open Set Filter Function |
+2 −4 NavierStokes/PhysicalGraphBounds.lean View file
| @@ -18,8 +18,6 @@ The graph, the integer covering, and the rounded carrier here are the actual | ||
| 18 | 18 | ones of Definition 8.1 and equation (26). Bounds use actual Fréchet jets. |
| 19 | 19 | -/ |
| 20 | 20 | |
| 21 | -set_option warningAsError true | |
| 22 | - | |
| 23 | 21 | noncomputable section |
| 24 | 22 | |
| 25 | 23 | namespace NavierStokes.PhysicalGraphBounds |
| @@ -566,7 +564,7 @@ theorem etaCoordinate_radial : etaCoordinate radialDirection = 0 := by | ||
| 566 | 564 | theorem etaCoordinate_time : etaCoordinate timeDirection = 1 := by |
| 567 | 565 | have hd : 1 + (Real.sqrt 2 - 1) ^ 2 ≠ 0 := by positivity |
| 568 | 566 | change (1 + (Real.sqrt 2 - 1) ^ 2)⁻¹ * ((Real.sqrt 2 - 1) * (Real.sqrt 2 - 1) + 1) = 1 |
| 569 | - field_simp ; ring | |
| 567 | + field_simp; ring | |
| 570 | 568 | |
| 571 | 569 | theorem etaCoordinate_nativeGraph (h : ℝ) (n : ℕ) (p : SpaceTime) : |
| 572 | 570 | etaCoordinate (nativeGraph h n p) = ChartScales.Tg ^ ChartScales.nativeIndex h n * p.1 := by |
| @@ -591,7 +589,7 @@ theorem slotTime_affine (h : ℝ) (n : ℕ) (center : Plane) (r0 : ℝ) (p : Spa | ||
| 591 | 589 | unfold slotTime |
| 592 | 590 | rw [map_sub, etaCoordinate_nativeGraph, hp] |
| 593 | 591 | unfold ChartScales.timeCoefficient |
| 594 | - field_simp ; ring | |
| 592 | + field_simp; ring | |
| 595 | 593 | |
| 596 | 594 | /-- Exact integer rounding gives a uniform upper carrier power. -/ |
| 597 | 595 | theorem carrier_upper {h : ℝ} (hh : 0 ≤ h) (n : ℕ) : |
+0 −2 NavierStokes/PhysicalHeatCoordinates.lean View file
| @@ -10,8 +10,6 @@ satisfies `1-t = q - z^2*q^(2*h)`. The quadratic-coordinate helper with | ||
| 10 | 10 | edit to the terminal angular velocity, including its normalization. |
| 11 | 11 | -/ |
| 12 | 12 | |
| 13 | -set_option warningAsError true | |
| 14 | - | |
| 15 | 13 | noncomputable section |
| 16 | 14 | |
| 17 | 15 | namespace NavierStokes.PhysicalHeatCoordinates |
+0 −2 NavierStokes/PhysicalMeanDomain.lean View file
| @@ -13,8 +13,6 @@ to prove local smoothness and equality of germs; none of their derivatives | ||
| 13 | 13 | enters the uniform estimates. |
| 14 | 14 | -/ |
| 15 | 15 | |
| 16 | -set_option warningAsError true | |
| 17 | - | |
| 18 | 16 | noncomputable section |
| 19 | 17 | |
| 20 | 18 | namespace NavierStokes.PhysicalMeanDomain |
+0 −2 NavierStokes/PhysicalMeanJetBounds.lean View file
| @@ -11,8 +11,6 @@ derivative estimates are derived from the actual physical graph and radius map. | ||
| 11 | 11 | The final restriction is a single coherent physical field, not a sum over bands. |
| 12 | 12 | -/ |
| 13 | 13 | |
| 14 | -set_option warningAsError true | |
| 15 | - | |
| 16 | 14 | noncomputable section |
| 17 | 15 | |
| 18 | 16 | namespace NavierStokes.PhysicalMeanJetBounds |
+0 −2 NavierStokes/PhysicalParticularWave.lean View file
| @@ -11,8 +11,6 @@ The input is the constructed reference Volterra solve. Curl identities | ||
| 11 | 11 | are conclusions, not compatibility assumptions on solved velocities. |
| 12 | 12 | -/ |
| 13 | 13 | |
| 14 | -set_option warningAsError true | |
| 15 | - | |
| 16 | 14 | namespace NavierStokes.PhysicalParticularWave |
| 17 | 15 | |
| 18 | 16 | open Set Filter Function ProblemStatement HarmonicCalculus |
+0 −2 NavierStokes/PhysicalResidualBridge.lean View file
| @@ -10,8 +10,6 @@ This file keeps the cylindrical angle separate from the lifted slow and fast | ||
| 10 | 10 | variables. Every differential operator is an actual Frechet derivative. |
| 11 | 11 | -/ |
| 12 | 12 | |
| 13 | -set_option warningAsError true | |
| 14 | - | |
| 15 | 13 | namespace NavierStokes.PhysicalResidualBridge |
| 16 | 14 | |
| 17 | 15 | open Set Filter Function |
+0 −2 NavierStokes/PhysicalResidualJetBounds.lean View file
| @@ -13,8 +13,6 @@ mean residuals and excluded errors are combined before the physical graph | ||
| 13 | 13 | restriction. Phase regularity is needed only on coefficient support. |
| 14 | 14 | -/ |
| 15 | 15 | |
| 16 | -set_option warningAsError true | |
| 17 | - | |
| 18 | 16 | noncomputable section |
| 19 | 17 | |
| 20 | 18 | namespace NavierStokes.PhysicalResidualJetBounds |
+0 −2 NavierStokes/PhysicalResidualNaturality.lean View file
| @@ -10,8 +10,6 @@ is always the literal `HarmonicResidual.residualBlock`, including its real | ||
| 10 | 10 | projection and its Gaussian and alias subtractions. |
| 11 | 11 | -/ |
| 12 | 12 | |
| 13 | -set_option warningAsError true | |
| 14 | - | |
| 15 | 13 | noncomputable section |
| 16 | 14 | |
| 17 | 15 | namespace NavierStokes.PhysicalResidualNaturality |
+0 −2 NavierStokes/PhysicalResidualTZ.lean View file
| @@ -9,8 +9,6 @@ pipeline uses `(T,Z)`. The map below swaps those two input coordinates and | ||
| 9 | 9 | leaves radius, fast variables, angle, and vector components unchanged. |
| 10 | 10 | -/ |
| 11 | 11 | |
| 12 | -set_option warningAsError true | |
| 13 | - | |
| 14 | 12 | noncomputable section |
| 15 | 13 | |
| 16 | 14 | namespace NavierStokes.PhysicalResidualTZ |
+2 −4 NavierStokes/PhysicalSignedWave.lean View file
| @@ -12,8 +12,6 @@ band views use the same absolute-lift primary pulse and covariance | ||
| 12 | 12 | matrix. Compatibility is proved before restriction to a physical graph. |
| 13 | 13 | -/ |
| 14 | 14 | |
| 15 | -set_option warningAsError true | |
| 16 | - | |
| 17 | 15 | noncomputable section |
| 18 | 16 | |
| 19 | 17 | namespace NavierStokes.PhysicalSignedWave |
| @@ -181,11 +179,11 @@ theorem fullRequest_chart (s sr : StripData Point) (P : SignedStressPrimitive.Pa | ||
| 181 | 179 | fin_cases j |
| 182 | 180 | · simp [LocalSignedRequest.fullRequest, LocalSignedRequest.normalizedRequest, |
| 183 | 181 | LocalSignedRequest.requestedStress, Pi.smul_apply, smul_eq_mul, |
| 184 | - Matrix.cons_val_zero, h1] ; | |
| 182 | + Matrix.cons_val_zero, h1]; | |
| 185 | 183 | field_simp [hl.ne'] |
| 186 | 184 | · simp [LocalSignedRequest.fullRequest, LocalSignedRequest.normalizedRequest, |
| 187 | 185 | LocalSignedRequest.requestedStress, Pi.smul_apply, smul_eq_mul, |
| 188 | - Matrix.cons_val_one, h2] ; | |
| 186 | + Matrix.cons_val_one, h2]; | |
| 189 | 187 | field_simp [hl.ne'] |
| 190 | 188 | |
| 191 | 189 | theorem source_over_radial {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (h : ℝ) : |
+0 −2 NavierStokes/PhysicalStageBounds.lean View file
| @@ -10,8 +10,6 @@ fields. Physical derivative estimates are consequences of their native | ||
| 10 | 10 | classes, support and chart identities. No `RawStageBounds` is an input. |
| 11 | 11 | -/ |
| 12 | 12 | |
| 13 | -set_option warningAsError true | |
| 14 | - | |
| 15 | 13 | noncomputable section |
| 16 | 14 | |
| 17 | 15 | namespace NavierStokes.PhysicalStageBounds |
+0 −2 NavierStokes/PhysicalStageSupport.lean View file
| @@ -11,8 +11,6 @@ a comparable native band; no physical support property is an input. | ||
| 11 | 11 | The zeroth support assertion concerns the finite initialization increment. |
| 12 | 12 | -/ |
| 13 | 13 | |
| 14 | -set_option warningAsError true | |
| 15 | - | |
| 16 | 14 | noncomputable section |
| 17 | 15 | |
| 18 | 16 | universe u |
+0 −2 NavierStokes/PhysicalWaveSum.lean View file
| @@ -11,8 +11,6 @@ Cover changes are the actual powers of `J_g`. Bounds use actual Fréchet | ||
| 11 | 11 | derivatives and the constructed dyadic and spatial masks. |
| 12 | 12 | -/ |
| 13 | 13 | |
| 14 | -set_option warningAsError true | |
| 15 | - | |
| 16 | 14 | noncomputable section |
| 17 | 15 | |
| 18 | 16 | namespace NavierStokes.PhysicalWaveSum |
+6 −2 routes/p1-ns-physical/README.md View file
| @@ -4,8 +4,12 @@ status: working | ||
| 4 | 4 | --- |
| 5 | 5 | # P-1 Physical files |
| 6 | 6 | |
| 7 | -This route takes the `NavierStokes/Physical*.lean` batch for issue #2. The work is limited to resolving Lean linter warnings in that family. | |
| 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. | |
| 8 | 12 | |
| 9 | 13 | ## Next |
| 10 | 14 | |
| 11 | -Identify warnings attributed to the Physical files in the pinned build and address them in place. | |
| 15 | +Read the diagnostic and pull request build logs for Physical warnings, then record what the batch build found for the maintainer. | |