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 #707 from s5-euler-top-1
Browse filesrefactor(Euler/Top): 1 small module folded into the file that imports it (−36.9%, measured)
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+49 −1 Euler/TopBlockCauchy.lean View file
| @@ -1,8 +1,56 @@ | ||
| 1 | -import Euler.TopBlockTimeNorm | |
| 1 | +import Euler.SobolevTopBlocks | |
| 2 | +import Euler.TimeLp | |
| 3 | +import Euler.QuadraticCauchy | |
| 2 | 4 | import Euler.FiniteQuadraticCauchy |
| 3 | 5 | |
| 4 | 6 | /-! Actual strong L²-time completion from finitely many closed derivative blocks. -/ |
| 5 | 7 | |
| 8 | +/-! ## From `Euler/TopBlockTimeNorm.lean` | |
| 9 | + | |
| 10 | +The text of `Euler/TopBlockTimeNorm.lean`, folded into this file, which was its only importer. -/ | |
| 11 | + | |
| 12 | +section | |
| 13 | + | |
| 14 | +/-! Strong time-space completion controlled by genuine finite spatial derivative blocks. -/ | |
| 15 | + | |
| 16 | +noncomputable section | |
| 17 | + | |
| 18 | +namespace EulerTopBlockTimeNorm | |
| 19 | + | |
| 20 | +open MeasureTheory Set EulerTimeLp EulerVolterraConvolution | |
| 21 | + EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevWordBlocks EulerSobolevTopBlocks | |
| 22 | +open scoped Topology | |
| 23 | + | |
| 24 | +/-- Integration preserves a finite quadratic norm comparison between bounded spatial observations. -/ | |
| 25 | +theorem pathLp_quadratic_bound {X Y Z I : Type*} [Fintype I] | |
| 26 | + [NormedAddCommGroup X] [NormedSpace ℝ X] | |
| 27 | + [NormedAddCommGroup Y] [NormedSpace ℝ Y] | |
| 28 | + [NormedAddCommGroup Z] [NormedSpace ℝ Z] | |
| 29 | + (A : X →L[ℝ] Y) (B : I → X →L[ℝ] Z) | |
| 30 | + (hb : ∀ x, ‖x‖^2 ≤ ‖A x‖^2 + ∑ i, ‖B i x‖^2) | |
| 31 | + (T : ℝ) (hT : 0 ≤ T) (u : C(Icc (0 : ℝ) T, X)) : | |
| 32 | + ‖pathLp T hT u‖^2 ≤ ‖pathLp T hT (A.compLeftContinuous ℝ (Icc (0 : ℝ) T) u)‖^2 + | |
| 33 | + ∑ i, ‖pathLp T hT ((B i).compLeftContinuous ℝ (Icc (0 : ℝ) T) u)‖^2 := by | |
| 34 | + have hu := extendPath_continuous T hT u | |
| 35 | + have hA : Continuous (fun t => ‖A (extendPath T hT u t)‖^2) := (A.continuous.comp hu).norm.pow 2 | |
| 36 | + have hB : ∀ i, Continuous (fun t => ‖B i (extendPath T hT u t)‖^2) := | |
| 37 | + fun i => ((B i).continuous.comp hu).norm.pow 2 | |
| 38 | + have hsum : Continuous (fun t => ∑ i, ‖B i (extendPath T hT u t)‖^2) := continuous_finsetSum _ (fun i _ => hB i) | |
| 39 | + have h := intervalIntegral.integral_mono_on hT ((hu.norm.pow 2).intervalIntegrable (μ := volume) 0 T) | |
| 40 | + ((hA.add hsum).intervalIntegrable (μ := volume) 0 T) (fun t _ => hb (extendPath T hT u t)) | |
| 41 | + change (∫ t in (0 : ℝ)..T, ‖extendPath T hT u t‖^2) ≤ | |
| 42 | + ∫ t in (0 : ℝ)..T, ‖A (extendPath T hT u t)‖^2 + ∑ i, ‖B i (extendPath T hT u t)‖^2 at h | |
| 43 | + rw [intervalIntegral.integral_add (hA.intervalIntegrable (μ := volume) 0 T) | |
| 44 | + (hsum.intervalIntegrable (μ := volume) 0 T), | |
| 45 | + intervalIntegral.integral_finsetSum (fun i _ => (hB i).intervalIntegrable (μ := volume) 0 T)] at h | |
| 46 | + simp only [pathLp_norm_sq] | |
| 47 | + exact h | |
| 48 | + | |
| 49 | +end EulerTopBlockTimeNorm | |
| 50 | +end | |
| 51 | + | |
| 52 | +end | |
| 53 | + | |
| 6 | 54 | noncomputable section |
| 7 | 55 | |
| 8 | 56 | namespace EulerTopBlockTimeNorm |
+0 −40 Euler/TopBlockTimeNorm.lean deleted
| @@ -1,40 +0,0 @@ | ||
| 1 | -import Euler.SobolevTopBlocks | |
| 2 | -import Euler.TimeLp | |
| 3 | -import Euler.QuadraticCauchy | |
| 4 | - | |
| 5 | -/-! Strong time-space completion controlled by genuine finite spatial derivative blocks. -/ | |
| 6 | - | |
| 7 | -noncomputable section | |
| 8 | - | |
| 9 | -namespace EulerTopBlockTimeNorm | |
| 10 | - | |
| 11 | -open MeasureTheory Set EulerTimeLp EulerVolterraConvolution | |
| 12 | - EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevWordBlocks EulerSobolevTopBlocks | |
| 13 | -open scoped Topology | |
| 14 | - | |
| 15 | -/-- Integration preserves a finite quadratic norm comparison between bounded spatial observations. -/ | |
| 16 | -theorem pathLp_quadratic_bound {X Y Z I : Type*} [Fintype I] | |
| 17 | - [NormedAddCommGroup X] [NormedSpace ℝ X] | |
| 18 | - [NormedAddCommGroup Y] [NormedSpace ℝ Y] | |
| 19 | - [NormedAddCommGroup Z] [NormedSpace ℝ Z] | |
| 20 | - (A : X →L[ℝ] Y) (B : I → X →L[ℝ] Z) | |
| 21 | - (hb : ∀ x, ‖x‖^2 ≤ ‖A x‖^2 + ∑ i, ‖B i x‖^2) | |
| 22 | - (T : ℝ) (hT : 0 ≤ T) (u : C(Icc (0 : ℝ) T, X)) : | |
| 23 | - ‖pathLp T hT u‖^2 ≤ ‖pathLp T hT (A.compLeftContinuous ℝ (Icc (0 : ℝ) T) u)‖^2 + | |
| 24 | - ∑ i, ‖pathLp T hT ((B i).compLeftContinuous ℝ (Icc (0 : ℝ) T) u)‖^2 := by | |
| 25 | - have hu := extendPath_continuous T hT u | |
| 26 | - have hA : Continuous (fun t => ‖A (extendPath T hT u t)‖^2) := (A.continuous.comp hu).norm.pow 2 | |
| 27 | - have hB : ∀ i, Continuous (fun t => ‖B i (extendPath T hT u t)‖^2) := | |
| 28 | - fun i => ((B i).continuous.comp hu).norm.pow 2 | |
| 29 | - have hsum : Continuous (fun t => ∑ i, ‖B i (extendPath T hT u t)‖^2) := continuous_finsetSum _ (fun i _ => hB i) | |
| 30 | - have h := intervalIntegral.integral_mono_on hT ((hu.norm.pow 2).intervalIntegrable (μ := volume) 0 T) | |
| 31 | - ((hA.add hsum).intervalIntegrable (μ := volume) 0 T) (fun t _ => hb (extendPath T hT u t)) | |
| 32 | - change (∫ t in (0 : ℝ)..T, ‖extendPath T hT u t‖^2) ≤ | |
| 33 | - ∫ t in (0 : ℝ)..T, ‖A (extendPath T hT u t)‖^2 + ∑ i, ‖B i (extendPath T hT u t)‖^2 at h | |
| 34 | - rw [intervalIntegral.integral_add (hA.intervalIntegrable (μ := volume) 0 T) | |
| 35 | - (hsum.intervalIntegrable (μ := volume) 0 T), | |
| 36 | - intervalIntegral.integral_finsetSum (fun i _ => (hB i).intervalIntegrable (μ := volume) 0 T)] at h | |
| 37 | - simp only [pathLp_norm_sq] | |
| 38 | - exact h | |
| 39 | - | |
| 40 | -end EulerTopBlockTimeNorm | |
+16 −0 routes/s5-euler-top-1/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 14 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s5-euler-top-1 | |
| 6 | + | |
| 7 | +One unit of S-5: the family `Euler/Top*`. `Euler/TopBlockTimeNorm.lean` (40 lines) has exactly one | |
| 8 | +importer, `Euler/TopBlockCauchy.lean`, in the same folder and family, and neither states results. | |
| 9 | +`fold.py` folds the module into that file: its text moves in unchanged, under a heading that names it | |
| 10 | +and in a `section` of its own before the file's own text, and the file takes over its three imports. | |
| 11 | +The module is deleted. The plan is `plan.json`. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Read the pull request's `check` line and `git diff` against main; nothing is left to change here. A | |
| 16 | +parallel unit of the issue is another family's, in its own pull request. | |
+9 −0 routes/s5-euler-top-1/plan.json added View file
| @@ -0,0 +1,9 @@ | ||
| 1 | +{ | |
| 2 | +"imports": "in place", | |
| 3 | +"folds": { | |
| 4 | +"Euler/TopBlockCauchy.lean": [ | |
| 5 | +"Euler/TopBlockTimeNorm.lean", | |
| 6 | +"Euler/TopBlockCauchy.lean" | |
| 7 | +] | |
| 8 | +} | |
| 9 | +} | |