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

Merge pull request #323 from s1-euler-transverse-2
Browse fileschore(Euler/Transverse): delete 5 declarations nothing uses
main maintainer-statement p1-ns-physical s1-euler-all-3 s1-euler-angle-9 s1-euler-canonical-8 s1-euler-correction-3 s1-euler-correction-9 s1-euler-cylinder-3 s1-euler-cylinder-8 s1-euler-dirichlet-6 s1-euler-euler-6 s1-euler-exact-3 s1-euler-finite-3 s1-euler-hilbert-6 s1-euler-inviscid-8 s1-euler-lp-3 s1-euler-mean-8 s1-euler-ordinary-6 s1-euler-packet-3 s1-euler-packet-8 s1-euler-source-6 s1-euler-transverse-6 s1-euler-transverse-9 s1-euler-volume-3 s1-ns-actual-3 s1-ns-actual-8 s1-ns-annular-6 s1-ns-annular-8 s1-ns-assembled-7 s1-ns-axisymmetric-8 s1-ns-base-6 s1-ns-base-8 s1-ns-borel-3 s1-ns-common-6 s1-ns-common-8 s1-ns-common-9 s1-ns-constructed-3 s1-ns-constructed-8 s1-ns-copy-6 s1-ns-copy-8 s1-ns-correction-3 s1-ns-curl-6 s1-ns-curl-9 s1-ns-current-3 s1-ns-cycle-3 s1-ns-edge-6 s1-ns-error-3 s1-ns-error-9 s1-ns-even-3 s1-ns-final-6 s1-ns-first-3 s1-ns-five-8 s1-ns-flat-3 s1-ns-flat-8 s1-ns-fourier-3 s1-ns-graph-6 s1-ns-graph-9 s1-ns-harmonic-11 s1-ns-harmonic-6 s1-ns-harmonic-7 s1-ns-heat-3 s1-ns-joint-3 s1-ns-joint-8 s1-ns-label-6 s1-ns-linear-6 s1-ns-linear-7 s1-ns-localized-6 s1-ns-mean-1 s1-ns-mean-8 s1-ns-modulated-3 s1-ns-moment-6 s1-ns-offplane-6 s1-ns-parametric-6 s1-ns-particular-10 s1-ns-particular-6 s1-ns-particular-8 s1-ns-partitioned-6 s1-ns-partitioned-8 s1-ns-periodic-3 s1-ns-periodic-8 s1-ns-periodic-9 s1-ns-periodized-6 s1-ns-periodized-8 s1-ns-periodized-9 s1-ns-physical-3 s1-ns-physical-8 s1-ns-positive-8 s1-ns-prepared-6 s1-ns-pressure-9 s1-ns-primary-6 s1-ns-primary-8 s1-ns-radial-9 s1-ns-reserved-8 s1-ns-residual-3 s1-ns-scaled-3 s1-ns-signed-3 s1-ns-signed-8 s1-ns-slow-6 s1-ns-smooth-3 s1-ns-smooth-8 s1-ns-spacetime-3 s1-ns-state-8 s1-ns-temporal-3 s1-ns-temporal-8 s1-ns-terminal-6 s1-ns-torus-3 s1-ns-uniform-8 s1-ns-variable-3 s1-ns-viscous-6 s1-ns-wave-11 s1-ns-wave-3 s1-ns-wave-8 s1-ns-weighted-10 s1-ns-weighted-12 s1-ns-weighted-3 s1-ns-weighted-8 s1-ns-weighted-9 s1-ns-whole-3 s1-ns-within-6 s2-build-profile-files s2-euler-all-1 s2-euler-base-1 s2-euler-bounded-1 s2-euler-child-1 s2-euler-coefficient-1 s2-euler-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-div-1 s2-euler-drift-1 s2-euler-euler-1 s2-euler-field-1 s2-euler-finite-1 s2-euler-flow-1 s2-euler-gaussian-1 s2-euler-gevrey-1 s2-euler-h6-1 s2-euler-heat-1 s2-euler-initial-1 s2-euler-integral-1 s2-euler-linear-1 s2-euler-local-1 s2-euler-logarithmic-1 s2-euler-mean-1 s2-euler-metric-1 s2-euler-mixed-1 s2-euler-operator-1 s2-euler-ordinary-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-parameter-1 s2-euler-parent-1 s2-euler-radial-1 s2-euler-small-1 s2-euler-sobolev-1 s2-euler-squared-1 s2-euler-static-1 s2-euler-terminal-1 s2-euler-time-1 s2-euler-transport-1 s2-euler-transverse-1 s2-euler-unshifted-1 s2-euler-vorticity-1 s2-euler-weighted-1 s2-instances-1 s2-ns-activation-1 s2-ns-actual-1 s2-ns-aligned-1 s2-ns-angular-1 s2-ns-annular-1 s2-ns-axis-1 s2-ns-base-1 s2-ns-chart-1 s2-ns-closed-1 s2-ns-common-1 s2-ns-cone-1 s2-ns-coordinate-1 s2-ns-corrected-1 s2-ns-correction-1 s2-ns-covariance-1 s2-ns-current-1 s2-ns-cylindrical-1 s2-ns-diophantine-1 s2-ns-direct-1 s2-ns-extended-1 s2-ns-five-1 s2-ns-flat-1 s2-ns-future-1 s2-ns-gauge-1 s2-ns-gaussian-1 s2-ns-global-1 s2-ns-glued-1 s2-ns-growing-1 s2-ns-heat-1 s2-ns-initial-1 s2-ns-label-1 s2-ns-local-1 s2-ns-loop-1 s2-ns-matching-1 s2-ns-mean-1 s2-ns-modulated-1 s2-ns-moment-1 s2-ns-moving-1 s2-ns-native-1 s2-ns-natural-1 s2-ns-normal-1 s2-ns-outgoing-1 s2-ns-outgoing-2 s2-ns-parametric-1 s2-ns-periodic-1 s2-ns-periodized-1 s2-ns-phase-1 s2-ns-physical-1 s2-ns-polar-1 s2-ns-positive-1 s2-ns-pressure-1 s2-ns-primary-1 s2-ns-profile-1 s2-ns-pulse-1 s2-ns-r3-1 s2-ns-r3-folder-1 s2-ns-reference-1 s2-ns-renormalized-1 s2-ns-repair-1 s2-ns-reserved-1 s2-ns-reset-1 s2-ns-residual-1 s2-ns-scaled-1 s2-ns-scaled-2 s2-ns-scaling-1 s2-ns-shape-1 s2-ns-shaped-1 s2-ns-signed-1 s2-ns-similarity-1 s2-ns-slot-1 s2-ns-slow-1 s2-ns-smooth-1 s2-ns-spatial-1 s2-ns-squared-1 s2-ns-stress-1 s2-ns-tail-1 s2-ns-temporal-1 s2-ns-terminal-1 s2-ns-transition-1 s2-ns-uniform-1 s2-ns-variable-1 s2-ns-viscous-1 s2-ns-volterra-1 s2-ns-volterra-2 s5-cap-1 s5-euler-all-1 s5-euler-base-1 s5-euler-bounded-1 s5-euler-canonical-1 s5-euler-coefficient-1 s5-euler-compact-1 s5-euler-continuous-1 s5-euler-correction-1 s5-euler-cylinder-1 s5-euler-drift-1 s5-euler-duhamel-1 s5-euler-elapsed-1 s5-euler-elapsed-2 s5-euler-euler-1 s5-euler-external-1 s5-euler-field-1 s5-euler-fixed-1 s5-euler-gained-1 s5-euler-gaussian-1 s5-euler-gevrey-1 s5-euler-graph-1 s5-euler-h5-1 s5-euler-h6-1 s5-euler-heat-1 s5-euler-inviscid-1 s5-euler-lifted-1 s5-euler-linear-1 s5-euler-lp-1 s5-euler-mean-1 s5-euler-mixed-1 s5-euler-ordinary-1 s5-euler-packet-1 s5-euler-parameter-1 s5-euler-parent-1 s5-euler-physical-1 s5-euler-projected-1 s5-euler-quadratic-1 s5-euler-regularized-1 s5-euler-small-1 s5-euler-smooth-1 s5-euler-sobolev-1 s5-euler-source-1 s5-euler-stage-1 s5-euler-static-1 s5-euler-terminal-1 s5-euler-time-1 s5-euler-top-1 s5-euler-transverse-1 s5-euler-weighted-1 s5-euler-whole-1 s5-ns-actual-1 s5-ns-axis-1 s5-ns-generic-1 s5-ns-label-1 s5-ns-local-1 s5-ns-mean-1 s5-ns-moment-1 s5-ns-particular-1 s5-ns-periodic-1 s5-ns-periodize-1 s5-ns-positive-1 s5-ns-r3-folder-1 s5-ns-reference-1 s5-ns-sharp-1 s5-ns-smooth-1 s5-ns-torus-1 s5-ns-valid-1 s5-ns-whole-1 s5-ns-within-1
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −26 Euler/TransverseEndpointEquation.lean View file
| @@ -125,32 +125,6 @@ theorem coordinateVelocityPath_hasDerivWithinAt_generator (hTpos : 0 < T) | ||
| 125 | 125 | rwa [rawCoordinateAcceleration_eq_generator T hT Q Q₁ Q₂ c hc hQ H |
| 126 | 126 | hTpos hd hd₁ hframe u hweak huRange t] at hdv |
| 127 | 127 | |
| 128 | -/-- The stationary history velocity is the same actual solution as the packet's | |
| 129 | -homogeneous forward inverse, whenever both are placed on this time interval. -/ | |
| 130 | -theorem coordinateVelocity_eq_forward (hTpos : 0 < T) | |
| 131 | - (hd : ∀ t : Icc (0 : ℝ) T, | |
| 132 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 133 | - (hd₁ : ∀ t : Icc (0 : ℝ) T, | |
| 134 | - HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) | |
| 135 | - (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) | |
| 136 | - (u : TimeLp T E) | |
| 137 | - (hweak : ∀ v : TimeLp T U, initialTrace T hT v = 0 → | |
| 138 | - ⟪momentum T hT Q u, v⟫_ℝ = | |
| 139 | - -⟪initialMomentumForcing T hT Q Q₁ H u, primitiveTimeLp T hT v⟫_ℝ) | |
| 140 | - (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = initialRealPrimitive T u t) | |
| 141 | - (evolution : Evolution T hT (generator T Q Q₁ c hc hQ)) (t : Icc (0 : ℝ) T) : | |
| 142 | - coordinateVelocityPath T hT Q Q₁ c hc hQ H u t = | |
| 143 | - coordinates T hT Q Q₁ c hc hQ evolution 0 | |
| 144 | - (coordinateVelocityPath T hT Q Q₁ c hc hQ H u 0) t := by | |
| 145 | - change _ = evolution.solution (forcingOperator T Q c hc hQ 0) | |
| 146 | - (coordinateVelocityPath T hT Q Q₁ c hc hQ H u 0) t | |
| 147 | - rw [map_zero] | |
| 148 | - apply evolution.solution_unique 0 _ (coordinateVelocityPath T hT Q Q₁ c hc hQ H u) _ rfl t | |
| 149 | - intro s | |
| 150 | - simpa only [ContinuousMap.zero_apply, add_zero] using | |
| 151 | - coordinateVelocityPath_hasDerivWithinAt_generator T hT Q Q₁ Q₂ c hc hQ H | |
| 152 | - hTpos hd hd₁ hframe u hweak huRange s | |
| 153 | - | |
| 154 | 128 | /-- The nonzero-terminal inverse used in activation has genuine first and |
| 155 | 129 | second coordinate derivatives satisfying the source's homogeneous equation. -/ |
| 156 | 130 | theorem endpoint_coordinate_equation (hTpos : 0 < T) |
+0 −36 Euler/TransverseForwardInverse.lean View file
| @@ -69,17 +69,6 @@ def velocityDerivative (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) : C(Icc (0 : ℝ) T | ||
| 69 | 69 | change Q ⟨0,le_rfl,hT⟩ (coordinates T hT Q Q₁ c hc hQ U f a₀ ⟨0,le_rfl,hT⟩) = _ |
| 70 | 70 | rw [coordinates_initial] |
| 71 | 71 | |
| 72 | -/-- Every-time coordinate differentiability follows from the actual integral, | |
| 73 | -not from an assumed derivative representative. -/ | |
| 74 | -theorem coordinates_hasDerivWithinAt (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) (t : Icc (0 : ℝ) T) : | |
| 75 | - HasDerivWithinAt (extendPath T hT (coordinates T hT Q Q₁ c hc hQ U f a₀)) | |
| 76 | - (coordinateDerivative T hT Q Q₁ c hc hQ U f a₀ t) (Icc (0 : ℝ) T) t := by | |
| 77 | - have hd := U.solution_derivative (forcingOperator T Q c hc hQ f) a₀ t | |
| 78 | - apply hd.congr_of_mem _ t.property | |
| 79 | - intro s hs | |
| 80 | - simp only [extendPath, projIcc_of_mem hT hs] | |
| 81 | - rfl | |
| 82 | - | |
| 83 | 72 | /-- The constructed derivative satisfies the literal projected equation (12). -/ |
| 84 | 73 | theorem coordinate_equation (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) (t : Icc (0 : ℝ) T) : |
| 85 | 74 | gram (Q t) (coordinateDerivative T hT Q Q₁ c hc hQ U f a₀ t) = |
| @@ -90,19 +79,6 @@ theorem coordinate_equation (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) (t : Icc (0 : | ||
| 90 | 79 | rw [map_add, map_smul, gram_inverse_apply, gram_inverse_apply, map_sub, map_smul] |
| 91 | 80 | module |
| 92 | 81 | |
| 93 | -/-- The physical product-rule expression is its actual every-time derivative. -/ | |
| 94 | -theorem velocity_hasDerivWithinAt | |
| 95 | - (hQd : ∀ t : Icc (0 : ℝ) T, | |
| 96 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 97 | - (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) (t : Icc (0 : ℝ) T) : | |
| 98 | - HasDerivWithinAt (extendPath T hT (velocity T hT Q Q₁ c hc hQ U f a₀)) | |
| 99 | - (velocityDerivative T hT Q Q₁ c hc hQ U f a₀ t) (Icc (0 : ℝ) T) t := by | |
| 100 | - have hd := (hQd t).clm_apply (coordinates_hasDerivWithinAt T hT Q Q₁ c hc hQ U f a₀ t) | |
| 101 | - convert hd using 1 | |
| 102 | - · rfl | |
| 103 | - · simp only [extendPath, projIcc_of_mem hT t.property] | |
| 104 | - rfl | |
| 105 | - | |
| 106 | 82 | /-- The literal normal pressure coefficient in source equation (11). -/ |
| 107 | 83 | def pressureCoefficient (M : Icc (0 : ℝ) T → E →L[ℝ] E) (m : Icc (0 : ℝ) T → E) |
| 108 | 84 | (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) (t : Icc (0 : ℝ) T) : ℝ := |
| @@ -127,16 +103,4 @@ def coordinatesOperator : (V × C(Icc (0 : ℝ) T,E)) →L[ℝ] C(Icc (0 : ℝ) | ||
| 127 | 103 | U.forcingOperator.comp ((forcingOperator T Q c hc hQ).comp |
| 128 | 104 | (ContinuousLinearMap.snd ℝ V C(Icc (0 : ℝ) T,E))) |
| 129 | 105 | |
| 130 | -/-- The bounded linear data map is exactly the constructed coordinate path. -/ | |
| 131 | -theorem coordinatesOperator_apply (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) : | |
| 132 | - coordinatesOperator T hT Q Q₁ c hc hQ U (a₀,f) = coordinates T hT Q Q₁ c hc hQ U f a₀ := | |
| 133 | - (U.solution_eq_operators _ _).symm | |
| 134 | - | |
| 135 | -/-- Zero data give the zero path; this is the pointwise support-preservation mechanism. -/ | |
| 136 | -theorem velocity_zero : velocity T hT Q Q₁ c hc hQ U 0 0 = 0 := by | |
| 137 | - have hz := (coordinatesOperator T hT Q Q₁ c hc hQ U).map_zero | |
| 138 | - rw [show (0 : V × C(Icc (0 : ℝ) T,E)) = (0,0) from rfl, coordinatesOperator_apply] at hz | |
| 139 | - change multiplier Q (coordinates T hT Q Q₁ c hc hQ U 0 0) = 0 | |
| 140 | - rw [hz, map_zero] | |
| 141 | - | |
| 142 | 106 | end EulerTransverseForwardInverse |
+49 −0 routes/s1-euler-transverse-2/README.md added View file
| @@ -0,0 +1,49 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-transverse-2 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Transverse*`: the | |
| 8 | +second cut of the family. It deletes 5 declarations that nothing uses, 62 lines in 2 files, and | |
| 9 | +touches nothing else: the diff is deletions only, with no `import`, `namespace` or `end` line in it. | |
| 10 | + | |
| 11 | +- `EulerTransverseEndpointEquation.coordinateVelocity_eq_forward` | |
| 12 | + (`Euler/TransverseEndpointEquation.lean`) | |
| 13 | +- `EulerTransverseForwardInverse.coordinates_hasDerivWithinAt` | |
| 14 | + (`Euler/TransverseForwardInverse.lean`) | |
| 15 | +- `EulerTransverseForwardInverse.velocity_hasDerivWithinAt` | |
| 16 | + (`Euler/TransverseForwardInverse.lean`) | |
| 17 | +- `EulerTransverseForwardInverse.coordinatesOperator_apply` | |
| 18 | + (`Euler/TransverseForwardInverse.lean`) | |
| 19 | +- `EulerTransverseForwardInverse.velocity_zero` | |
| 20 | + (`Euler/TransverseForwardInverse.lean`) | |
| 21 | + | |
| 22 | +How they were found. Treant (TitiSkywalker/NavierStokesAndEuler, the run of 2026-12-03 at upstream | |
| 23 | +`f9e8bc5`) found them unreachable from the four Comparator theorems. This wave was cut again on | |
| 24 | +this project's `main` (`29529e9`) under the keep rule: a declaration stays when the paper's results | |
| 25 | +reach it, when its docstring names the paper, when it is an existence result with a docstring, when | |
| 26 | +it sits in a file that states results or must match the challenge word for word, when an earlier | |
| 27 | +pull request was made to keep it, or when a declaration that stays refers to it or names it. | |
| 28 | + | |
| 29 | +Checked as a reviewer: after the deletion | |
| 30 | +- `coordinateVelocity_eq_forward` and `coordinatesOperator_apply` are named nowhere in the tree; | |
| 31 | +- the bare hits for `coordinates_hasDerivWithinAt` and `velocity_hasDerivWithinAt` are other | |
| 32 | + declarations of the same short name in other namespaces | |
| 33 | + (`EulerSourceCylinderEquation`, `EulerCylinderDirichletData`, `EulerFixedEndpointClassical`, | |
| 34 | + `EulerMeanClassicalTime`, `EulerSourceCylinderEquation`), and the bare hits for `velocity_zero` | |
| 35 | + are `NavierStokes/AxisymmetricFields.velocity_zero`; none of them is any of the deleted ones; | |
| 36 | +- no deleted docstring cites the paper (none has a Lemma, Theorem, Proposition, Corollary, Section | |
| 37 | + or Equation number); | |
| 38 | +- `python3 checks/challenge.py .` ends with | |
| 39 | + `ok: 4 challenge files and the build configuration as approved; 2588 Lean files, 523365 lines, …`. | |
| 40 | + | |
| 41 | +What it does not show: that every remaining declaration is needed. | |
| 42 | + | |
| 43 | +## Merged with main | |
| 44 | + | |
| 45 | +The first wave (pull request #192, `c6ce3da`) landed in these two files after this branch was cut, | |
| 46 | +so the branch is merged with main at `f6ebfcc` and the two conflicts in | |
| 47 | +`Euler/TransverseForwardInverse.lean` are resolved by keeping main's text minus the five | |
| 48 | +declarations. `velocity_tangent` and `velocityOperator` are not restored: main deleted them in | |
| 49 | +`c6ce3da`, and nothing names them. | |