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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #462 chore(Euler/Source): delete 7 declarations nothing uses
1 commit
+0 −5 Euler/SourceCylinderClassical.lean View file
| @@ -38,11 +38,6 @@ def derivativeField (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Space := | ||
| 38 | 38 | pointField period (includePath period S hS (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀)) |
| 39 | 39 | (velocityDerivative_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) t x |
| 40 | 40 | |
| 41 | -theorem field_joint_continuous : | |
| 42 | - Continuous (fun z : Icc (0 : ℝ) T × LiftDomain period => | |
| 43 | - field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ z.1 z.2) := | |
| 44 | - pointField_joint_continuous period _ _ | |
| 45 | - | |
| 46 | 41 | theorem field_smooth (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 47 | 42 | ContDiff ℝ ∞ (localFieldLift period (field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t) x) := |
| 48 | 43 | pointField_smooth period _ _ t x |
+0 −25 Euler/SourceCylinderMeanZero.lean View file
| @@ -47,29 +47,4 @@ theorem velocity_average_zero | ||
| 47 | 47 | rw [average_fullOperator, coordinates_average_zero P S hS T hT Q Q₁ c hc hQ f a₀ hf ha₀ t, |
| 48 | 48 | map_zero] |
| 49 | 49 | |
| 50 | -theorem coordinateDerivative_average_zero | |
| 51 | - (hf : ∀ t, average P (f t : CylinderL2 P E) = 0) | |
| 52 | - (ha₀ : average P (a₀ : CylinderL2 P U) = 0) (t : Icc (0 : ℝ) T) : | |
| 53 | - average P (coordinateDerivative P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) = 0 := by | |
| 54 | - change average P (fullOperatorMap P (sourceGenerator Q Q₁ c hc hQ t) | |
| 55 | - (coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) + | |
| 56 | - fullOperatorMap P (sourceForcing Q c hc hQ t) (f t : CylinderL2 P E)) = 0 | |
| 57 | - rw [map_add, average_fullOperator, average_fullOperator, | |
| 58 | - coordinates_average_zero P S hS T hT Q Q₁ c hc hQ f a₀ hf ha₀ t, hf t, | |
| 59 | - map_zero, map_zero, add_zero] | |
| 60 | - | |
| 61 | -/-- The actual within-time derivative also has zero mean, as follows from its equation. -/ | |
| 62 | -theorem velocityDerivative_average_zero | |
| 63 | - (hf : ∀ t, average P (f t : CylinderL2 P E) = 0) | |
| 64 | - (ha₀ : average P (a₀ : CylinderL2 P U) = 0) (t : Icc (0 : ℝ) T) : | |
| 65 | - average P (velocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P E) = 0 := by | |
| 66 | - change average P (fullOperatorMap P (Q₁.field t) | |
| 67 | - (coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) + | |
| 68 | - fullOperatorMap P (Q.field t) | |
| 69 | - (coordinateDerivative P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U)) = 0 | |
| 70 | - rw [map_add, average_fullOperator, average_fullOperator, | |
| 71 | - coordinates_average_zero P S hS T hT Q Q₁ c hc hQ f a₀ hf ha₀ t, | |
| 72 | - coordinateDerivative_average_zero P S hS T hT Q Q₁ c hc hQ f a₀ hf ha₀ t, | |
| 73 | - map_zero, map_zero, add_zero] | |
| 74 | - | |
| 75 | 50 | end EulerSourceCylinderEquation |
+0 −29 Euler/SourceCylinderParity.lean View file
| @@ -75,34 +75,5 @@ theorem velocity_reflection_neg (t : Icc (0 : ℝ) T) : | ||
| 75 | 75 | coordinates_reflection_neg P S hS hSym T hT Q Q₁ c hc hQ hE hE₁ f a₀ hf ha₀, map_neg] |
| 76 | 76 | rfl |
| 77 | 77 | |
| 78 | -include hSym hE hE₁ hf ha₀ in | |
| 79 | -theorem coordinateDerivative_reflection_neg (t : Icc (0 : ℝ) T) : | |
| 80 | - reflection P (coordinateDerivative P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) = | |
| 81 | - -(coordinateDerivative P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) := by | |
| 82 | - change reflection P | |
| 83 | - (fullOperatorMap P (sourceGenerator Q Q₁ c hc hQ t) | |
| 84 | - (coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) + | |
| 85 | - fullOperatorMap P (sourceForcing Q c hc hQ t) (f t : CylinderL2 P E)) = _ | |
| 86 | - rw [map_add, reflection_fullOperator P _ (sourceGenerator_even Q Q₁ c hc hQ hE hE₁ t), | |
| 87 | - reflection_fullOperator P _ (sourceForcing_even Q c hc hQ hE t), | |
| 88 | - coordinates_reflection_neg P S hS hSym T hT Q Q₁ c hc hQ hE hE₁ f a₀ hf ha₀, | |
| 89 | - hf, map_neg, map_neg, ← neg_add] | |
| 90 | - rfl | |
| 91 | - | |
| 92 | -include hSym hE hE₁ hf ha₀ in | |
| 93 | -theorem velocityDerivative_reflection_neg (t : Icc (0 : ℝ) T) : | |
| 94 | - reflection P (velocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P E) = | |
| 95 | - -(velocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P E) := by | |
| 96 | - change reflection P | |
| 97 | - (fullOperatorMap P (Q₁.field t) | |
| 98 | - (coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) + | |
| 99 | - fullOperatorMap P (Q.field t) | |
| 100 | - (coordinateDerivative P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U)) = _ | |
| 101 | - rw [map_add, reflection_fullOperator P _ (hE₁ t), reflection_fullOperator P _ (hE t), | |
| 102 | - coordinates_reflection_neg P S hS hSym T hT Q Q₁ c hc hQ hE hE₁ f a₀ hf ha₀, | |
| 103 | - coordinateDerivative_reflection_neg P S hS hSym T hT Q Q₁ c hc hQ hE hE₁ f a₀ hf ha₀, | |
| 104 | - map_neg, map_neg, ← neg_add] | |
| 105 | - rfl | |
| 106 | - | |
| 107 | 78 | end Evolution |
| 108 | 79 | end EulerSourceCylinderParity |
+0 −5 Euler/SourceCylinderPressureField.lean View file
| @@ -90,11 +90,6 @@ theorem pressureField_angle (t : Icc (0 : ℝ) T) (y : Space) (θ : ℝ) : | ||
| 90 | 90 | (normalResidual P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m t (y,(θ : AddCircle P))) θ := |
| 91 | 91 | classicalPrimitive_angle P _ _ _ y θ |
| 92 | 92 | |
| 93 | -theorem pressureField_mean_zero (t : Icc (0 : ℝ) T) (y : Space) : | |
| 94 | - (∫ θ in (0 : ℝ)..P, | |
| 95 | - pressureField P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm hf₀ ha₀zero t (y,(θ : AddCircle P))) = 0 := | |
| 96 | - classicalPrimitive_mean_zero P _ _ _ y | |
| 97 | - | |
| 98 | 93 | theorem pressureField_smooth (t : Icc (0 : ℝ) T) (x : LiftDomain P) : |
| 99 | 94 | ContDiff ℝ ∞ (localFieldLift P |
| 100 | 95 | (pressureField P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm hf₀ ha₀zero t) x) := |
+0 −6 Euler/SourceCylinderPressureRegularity.lean View file
| @@ -34,10 +34,4 @@ theorem pressureField_eq_pointField (t : Icc (0 : ℝ) T) : | ||
| 34 | 34 | (pressureField_continuous P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm hf₀ ha₀zero t) |
| 35 | 35 | (pressureField_ae P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm hf₀ ha₀zero t)).symm |
| 36 | 36 | |
| 37 | -theorem pressureField_joint_continuous : | |
| 38 | - Continuous (fun z : Icc (0 : ℝ) T × LiftDomain P => | |
| 39 | - pressureField P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm hf₀ ha₀zero z.1 z.2) := by | |
| 40 | - simp_rw [pressureField_eq_pointField] | |
| 41 | - exact scalarPointField_joint_continuous P _ _ | |
| 42 | - | |
| 43 | 37 | end EulerSourceCylinderClassical |
+31 −0 routes/s1-euler-source-6/README.md added View file
| @@ -0,0 +1,31 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-source-6 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Source*`: the | |
| 8 | +cut after `s1-euler-source-1` (which took 19 declarations of the same family). This one deletes | |
| 9 | +the 7 declarations that nothing uses, 70 lines in 5 files, and touches nothing else: the diff is | |
| 10 | +deletions only, with no `import`, `namespace` or `end` line in it. | |
| 11 | + | |
| 12 | +- `EulerSourceCylinderClassical.field_joint_continuous` (`Euler/SourceCylinderClassical.lean`) | |
| 13 | +- `EulerSourceCylinderEquation.coordinateDerivative_average_zero` (`Euler/SourceCylinderMeanZero.lean`) | |
| 14 | +- `EulerSourceCylinderEquation.velocityDerivative_average_zero` (`Euler/SourceCylinderMeanZero.lean`) | |
| 15 | +- `EulerSourceCylinderParity.coordinateDerivative_reflection_neg` (`Euler/SourceCylinderParity.lean`) | |
| 16 | +- `EulerSourceCylinderParity.velocityDerivative_reflection_neg` (`Euler/SourceCylinderParity.lean`) | |
| 17 | +- `EulerSourceCylinderClassical.pressureField_mean_zero` (`Euler/SourceCylinderPressureField.lean`) | |
| 18 | +- `EulerSourceCylinderClassical.pressureField_joint_continuous` (`Euler/SourceCylinderPressureRegularity.lean`) | |
| 19 | + | |
| 20 | +How they were found. Treant (TitiSkywalker/NavierStokesAndEuler, the run of 2026-12-03 at upstream | |
| 21 | +`f9e8bc5`) found them unreachable from the four Comparator theorems; `docs/s1-dead-code/README.md` | |
| 22 | +is the plan. Each kept out of the earlier cut was checked against its keep rule. Each deleted name | |
| 23 | +was checked with `git grep -n -w` on the tree after the change: nothing left names any of the seven | |
| 24 | +(before the change, `coordinateDerivative_reflection_neg` was named only by the | |
| 25 | +`velocityDerivative_reflection_neg` that goes with it). Of the deleted declarations only | |
| 26 | +`velocityDerivative_average_zero` carries a docstring, and it cites no numbered result of a paper. | |
| 27 | +`python3 checks/challenge.py .` ends with `ok: …`. | |
| 28 | + | |
| 29 | +## Next | |
| 30 | + | |
| 31 | +The `build` check on this branch is the verdict to read; nothing else in this unit remains. | |