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: #668 perf(Euler): two shortcut instances, 96 files cheaper to elaborate (whole tree −0.54%, measured)
1 commit
+5 −0 Euler/CylinderSobolevSpace.lean View file
| @@ -140,3 +140,8 @@ theorem ofJet_toJet {q : ℕ} (u : SobolevSpace period q) : ofJet period (toJet | ||
| 140 | 140 | exact value_ofJet period (toJet period u) |
| 141 | 141 | |
| 142 | 142 | end EulerCylinderSobolevSpace |
| 143 | + | |
| 144 | +/-- Shortcut instance. Lean finds `ContinuousAdd` on `SobolevSpace period q` only after a long search, and every file | |
| 145 | +downstream repeats it; with this instance the search ends at once. -/ | |
| 146 | +instance EulerCylinderSobolevSpace.instContinuousAddSobolevSpace (period : ℝ) [Fact (0 < period)] (q : ℕ) : | |
| 147 | + ContinuousAdd ↥(EulerCylinderSobolevSpace.SobolevSpace period q) := inferInstance | |
+6 −0 Euler/SourcePotentialTimeCoefficient.lean View file
| @@ -49,6 +49,12 @@ variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] | ||
| 49 | 49 | (N : X → C(K,NormalField)) (Q₁ : X → C(K,Space →ᵇ ℝ →L[ℝ] Space)) |
| 50 | 50 | (hN : ContDiff ℝ ∞ N) (hQ₁ : ContDiff ℝ ∞ Q₁) |
| 51 | 51 | |
| 52 | +/-- Shortcut instance. Lean finds `DistribSMul ℝ` on these continuous maps only after a long search, and every file | |
| 53 | +downstream repeats it; with this instance the search ends at once. -/ | |
| 54 | +instance _root_.EulerSourcePotentialCoefficient.instDistribSMulContinuousMapBoundedForm | |
| 55 | + (K : Type*) [TopologicalSpace K] [CompactSpace K] : | |
| 56 | + DistribSMul ℝ C(K, EulerSmoothLimit.Space →ᵇ EulerSmoothLimit.Space →L[ℝ] ℝ) := inferInstance | |
| 57 | + | |
| 52 | 58 | include hN hQ₁ in |
| 53 | 59 | theorem timeNormalPath_contDiff : ContDiff ℝ ∞ (fun a => timeNormalPath (N a) (Q₁ a)) := by |
| 54 | 60 | have hNa := (pathAdjointMap (α := Space) (K := K) (U := Space) (E := ℝ)).contDiff.comp hN |
+21 −0 routes/s2-instances-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-instances-1 | |
| 6 | + | |
| 7 | +One unit of S-2: two shortcut instances in `Euler/`, on the families of `Euler/CylinderSobolevSpace.lean` and | |
| 8 | +`Euler/SourcePotentialTimeCoefficient.lean`. Each names, as `inferInstance`, an instance Lean already finds after a | |
| 9 | +long typeclass search, so the downstream files that need it stop repeating that search. No statement changes; 11 | |
| 10 | +lines in two files. | |
| 11 | + | |
| 12 | +The counts are in the pull request: the whole tree is −0.54% of instructions retired (−0.30 T of 54.74 T over 2,587 | |
| 13 | +files), and the files that use the instances gain most (`Euler/ViscousSourcePathLimit.lean` −44.9%). Measured per | |
| 14 | +file with `lean -j1 -DElab.async=false` under `perf stat -e instructions:u` against main at `ba4a037` and the same | |
| 15 | +commit with the instances; it is an instruction count, not a wall-clock time. The instances and their placement come | |
| 16 | +from Treant's `instances` stage (TitiSkywalker/NavierStokesAndEuler, 2026-12-03, upstream `f9e8bc5`). | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Wait for `challenge` and `build` on the pull request; if the maintainer asks, the next unit is the next slow search | |
| 21 | +Treant accepted. | |