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(Euler/Transverse): delete 5 declarations nothing uses
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
ci/docs
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) = |
| @@ -97,19 +86,6 @@ theorem velocity_tangent (m : Icc (0 : ℝ) T → E) | ||
| 97 | 86 | ⟪m t,velocity T hT Q Q₁ c hc hQ U f a₀ t⟫_ℝ = 0 := |
| 98 | 87 | hTangent t _ |
| 99 | 88 | |
| 100 | -/-- The physical product-rule expression is its actual every-time derivative. -/ | |
| 101 | -theorem velocity_hasDerivWithinAt | |
| 102 | - (hQd : ∀ t : Icc (0 : ℝ) T, | |
| 103 | - HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) | |
| 104 | - (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) (t : Icc (0 : ℝ) T) : | |
| 105 | - HasDerivWithinAt (extendPath T hT (velocity T hT Q Q₁ c hc hQ U f a₀)) | |
| 106 | - (velocityDerivative T hT Q Q₁ c hc hQ U f a₀ t) (Icc (0 : ℝ) T) t := by | |
| 107 | - have hd := (hQd t).clm_apply (coordinates_hasDerivWithinAt T hT Q Q₁ c hc hQ U f a₀ t) | |
| 108 | - convert hd using 1 | |
| 109 | - · rfl | |
| 110 | - · simp only [extendPath, projIcc_of_mem hT t.property] | |
| 111 | - rfl | |
| 112 | - | |
| 113 | 89 | /-- The literal normal pressure coefficient in source equation (11). -/ |
| 114 | 90 | def pressureCoefficient (M : Icc (0 : ℝ) T → E →L[ℝ] E) (m : Icc (0 : ℝ) T → E) |
| 115 | 91 | (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) (t : Icc (0 : ℝ) T) : ℝ := |
| @@ -134,20 +110,8 @@ def coordinatesOperator : (V × C(Icc (0 : ℝ) T,E)) →L[ℝ] C(Icc (0 : ℝ) | ||
| 134 | 110 | U.forcingOperator.comp ((forcingOperator T Q c hc hQ).comp |
| 135 | 111 | (ContinuousLinearMap.snd ℝ V C(Icc (0 : ℝ) T,E))) |
| 136 | 112 | |
| 137 | -/-- The bounded linear data map is exactly the constructed coordinate path. -/ | |
| 138 | -theorem coordinatesOperator_apply (f : C(Icc (0 : ℝ) T,E)) (a₀ : V) : | |
| 139 | - coordinatesOperator T hT Q Q₁ c hc hQ U (a₀,f) = coordinates T hT Q Q₁ c hc hQ U f a₀ := | |
| 140 | - (U.solution_eq_operators _ _).symm | |
| 141 | - | |
| 142 | 113 | /-- The physical forward inverse is an actual bounded linear map in its data. -/ |
| 143 | 114 | def velocityOperator : (V × C(Icc (0 : ℝ) T,E)) →L[ℝ] C(Icc (0 : ℝ) T,E) := |
| 144 | 115 | (multiplier Q).comp (coordinatesOperator T hT Q Q₁ c hc hQ U) |
| 145 | 116 | |
| 146 | -/-- Zero data give the zero path; this is the pointwise support-preservation mechanism. -/ | |
| 147 | -theorem velocity_zero : velocity T hT Q Q₁ c hc hQ U 0 0 = 0 := by | |
| 148 | - have hz := (coordinatesOperator T hT Q Q₁ c hc hQ U).map_zero | |
| 149 | - rw [show (0 : V × C(Icc (0 : ℝ) T,E)) = (0,0) from rfl, coordinatesOperator_apply] at hz | |
| 150 | - change multiplier Q (coordinates T hT Q Q₁ c hc hQ U 0 0) = 0 | |
| 151 | - rw [hz, map_zero] | |
| 152 | - | |
| 153 | 117 | end EulerTransverseForwardInverse |
+46 −0 routes/s1-euler-transverse-2/README.md added View file
| @@ -0,0 +1,46 @@ | ||
| 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, 538175 lines, …`. | |
| 40 | + | |
| 41 | +What it does not show: that every remaining declaration is needed. | |
| 42 | + | |
| 43 | +## Next | |
| 44 | + | |
| 45 | +Push and open the pull request; the `build` check says whether it builds. The other units of #10 | |
| 46 | +are separate branches. | |