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: #440 chore(Euler/Cylinder): delete 6 declarations nothing uses
1 commit
+0 −44 Euler/CylinderGraphAffine.lean View file
| @@ -11,50 +11,6 @@ open Set MeasureTheory EulerLiftedGradientSpace EulerMetricTransport | ||
| 11 | 11 | EulerTransportDerivatives |
| 12 | 12 | open scoped ContDiff |
| 13 | 13 | |
| 14 | -theorem affine_representative_ae {X : Type*} [MeasurableSpace X] | |
| 15 | - (μ : Measure X) (u : Fin 3 → Lp Vector3 2 μ) (f : Fin 3 → X → Vector3) | |
| 16 | - (hu : ∀ i, (u i : X → Vector3) =ᵐ[μ] f i) (a : ℝ) : | |
| 17 | - ((a • (u 1-u 0)-u 2 : Lp Vector3 2 μ) : X → Vector3) =ᵐ[μ] | |
| 18 | - fun x => a • (f 1 x-f 0 x)-f 2 x := by | |
| 19 | - filter_upwards [Lp.coeFn_sub (a • (u 1-u 0)) (u 2), | |
| 20 | - Lp.coeFn_smul a (u 1-u 0),Lp.coeFn_sub (u 1) (u 0),hu 0,hu 1,hu 2] | |
| 21 | - with x h2 hs h1 h0 h1' h2' | |
| 22 | - simp only [Pi.sub_apply,Pi.smul_apply,h2,hs,h1,h0,h1',h2'] | |
| 23 | - | |
| 24 | 14 | variable (P : ℝ) [Fact (0 < P)] |
| 25 | 15 | |
| 26 | -omit [Fact (0 < P)] in | |
| 27 | -theorem affine_fieldDerivative (f : Fin 3 → LiftDomain P → Vector3) | |
| 28 | - (hf : ∀ i x, ContDiff ℝ ∞ (localFieldLift P (f i) x)) | |
| 29 | - (a : ℝ) (z : LiftDomain P) : | |
| 30 | - fieldDerivative P (0,1) (fun x => a • (f 1 x-f 0 x)-f 2 x) z = | |
| 31 | - a • (fieldDerivative P (0,1) (f 1) z-fieldDerivative P (0,1) (f 0) z)- | |
| 32 | - fieldDerivative P (0,1) (f 2) z := by | |
| 33 | - have h := (((((hf 1 z).differentiable (by simp)) 0).hasFDerivAt.sub | |
| 34 | - ((((hf 0 z).differentiable (by simp)) 0).hasFDerivAt)).const_smul a).sub | |
| 35 | - ((((hf 2 z).differentiable (by simp)) 0).hasFDerivAt) | |
| 36 | - exact congrArg (fun L : LiftTangent →L[ℝ] Vector3 => L (0,1)) h.fderiv | |
| 37 | - | |
| 38 | -theorem graph_affine_norm_sq_le | |
| 39 | - (f : Fin 3 → LiftDomain P → Vector3) | |
| 40 | - (hf : ∀ i x, ContDiff ℝ ∞ (localFieldLift P (f i) x)) | |
| 41 | - (u v : Fin 3 → LiftL2 P) | |
| 42 | - (hu : ∀ i, (u i : LiftDomain P → Vector3) =ᵐ[liftMeasure P] f i) | |
| 43 | - (hv : ∀ i, (v i : LiftDomain P → Vector3) =ᵐ[liftMeasure P] | |
| 44 | - fieldDerivative P (0,1) (f i)) | |
| 45 | - (θ : Vector3 → AddCircle P) (hθ : Continuous θ) | |
| 46 | - (w : Fin 3 → Lp Vector3 2 (volume : Measure Vector3)) | |
| 47 | - (hw : ∀ i, (w i : Vector3 → Vector3) =ᵐ[volume] fun x => f i (x,θ x)) | |
| 48 | - (a : ℝ) : | |
| 49 | - ‖a • (w 1-w 0)-w 2‖^2 ≤ | |
| 50 | - (2/P)*‖a • (u 1-u 0)-u 2‖^2+(2*P)*‖a • (v 1-v 0)-v 2‖^2 := by | |
| 51 | - refine graph_norm_sq_le P (fun x => a • (f 1 x-f 0 x)-f 2 x) | |
| 52 | - (fun x => (((hf 1 x).sub (hf 0 x)).const_smul a).sub (hf 2 x)) | |
| 53 | - (a • (u 1-u 0)-u 2) (a • (v 1-v 0)-v 2) | |
| 54 | - (affine_representative_ae (liftMeasure P) u f hu a) ?_ θ hθ _ | |
| 55 | - (affine_representative_ae volume w (fun i x => f i (x,θ x)) hw a) | |
| 56 | - filter_upwards [affine_representative_ae (liftMeasure P) v | |
| 57 | - (fun i => fieldDerivative P (0,1) (f i)) hv a] with x hx | |
| 58 | - exact hx.trans (affine_fieldDerivative P f hf a x).symm | |
| 59 | - | |
| 60 | 16 | end EulerCylinderGraphTrace |
+0 −41 Euler/CylinderGraphDerivative.lean View file
| @@ -13,45 +13,4 @@ open scoped ContDiff Topology | ||
| 13 | 13 | |
| 14 | 14 | variable (P : ℝ) [Fact (0 < P)] |
| 15 | 15 | |
| 16 | -theorem graph_hasDerivWithinAt | |
| 17 | - (u v : ℝ → LiftL2 P) (f : ℝ → LiftDomain P → Vector3) | |
| 18 | - (hf : ∀ r x, ContDiff ℝ ∞ (localFieldLift P (f r) x)) | |
| 19 | - (hu : ∀ r, (u r : LiftDomain P → Vector3) =ᵐ[liftMeasure P] f r) | |
| 20 | - (hv : ∀ r, (v r : LiftDomain P → Vector3) =ᵐ[liftMeasure P] | |
| 21 | - fieldDerivative P (0,1) (f r)) | |
| 22 | - (θ : Vector3 → AddCircle P) (hθ : Continuous θ) | |
| 23 | - (w : ℝ → Lp Vector3 2 (volume : Measure Vector3)) | |
| 24 | - (hw : ∀ r, (w r : Vector3 → Vector3) =ᵐ[volume] fun x => f r (x,θ x)) | |
| 25 | - (g : LiftDomain P → Vector3) (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift P g x)) | |
| 26 | - (u' v' : LiftL2 P) | |
| 27 | - (hu' : (u' : LiftDomain P → Vector3) =ᵐ[liftMeasure P] g) | |
| 28 | - (hv' : (v' : LiftDomain P → Vector3) =ᵐ[liftMeasure P] fieldDerivative P (0,1) g) | |
| 29 | - (w' : Lp Vector3 2 (volume : Measure Vector3)) | |
| 30 | - (hw' : (w' : Vector3 → Vector3) =ᵐ[volume] fun x => g (x,θ x)) | |
| 31 | - (s : Set ℝ) (t : ℝ) | |
| 32 | - (hdu : HasDerivWithinAt u u' s t) (hdv : HasDerivWithinAt v v' s t) : | |
| 33 | - HasDerivWithinAt w w' s t := by | |
| 34 | - have hb (r : ℝ) : ‖slope w t r-w'‖^2 ≤ | |
| 35 | - (2/P)*‖slope u t r-u'‖^2+(2*P)*‖slope v t r-v'‖^2 := by | |
| 36 | - simpa only [slope_def_module,Matrix.cons_val_zero,Matrix.cons_val_one, | |
| 37 | - Matrix.cons_val_two,Matrix.vecHead,Matrix.vecTail,Function.comp_def, | |
| 38 | - Matrix.cons_val_succ] using graph_affine_norm_sq_le P ![f t,f r,g] | |
| 39 | - (by intro i x; fin_cases i; exact hf t x; exact hf r x; exact hg x) | |
| 40 | - ![u t,u r,u'] ![v t,v r,v'] | |
| 41 | - (by intro i; fin_cases i; exact hu t; exact hu r; exact hu') | |
| 42 | - (by intro i; fin_cases i; exact hv t; exact hv r; exact hv') θ hθ | |
| 43 | - ![w t,w r,w'] | |
| 44 | - (by intro i; fin_cases i; exact hw t; exact hw r; exact hw') (r-t)⁻¹ | |
| 45 | - have huLim := (hasDerivWithinAt_iff_tendsto_slope.mp hdu).sub_const u' | |
| 46 | - have hvLim := (hasDerivWithinAt_iff_tendsto_slope.mp hdv).sub_const v' | |
| 47 | - have hlim : Tendsto (fun r => (2/P)*‖slope u t r-u'‖^2+(2*P)*‖slope v t r-v'‖^2) | |
| 48 | - (𝓝[s \ {t}] t) (𝓝 (0 : ℝ)) := by | |
| 49 | - simpa only [sub_self,norm_zero,zero_pow (by norm_num : (2 : ℕ) ≠ 0), | |
| 50 | - mul_zero,add_zero] using | |
| 51 | - ((huLim.norm.pow 2).const_mul (2/P)).add ((hvLim.norm.pow 2).const_mul (2*P)) | |
| 52 | - have hsq := squeeze_zero (fun r => sq_nonneg ‖slope w t r-w'‖) hb hlim | |
| 53 | - rw [hasDerivWithinAt_iff_tendsto_slope,tendsto_iff_norm_sub_tendsto_zero] | |
| 54 | - have hr := Real.continuous_sqrt.continuousAt.tendsto.comp hsq | |
| 55 | - simpa only [Function.comp_def,Real.sqrt_sq_eq_abs,abs_norm,Real.sqrt_zero] using hr | |
| 56 | - | |
| 57 | 16 | end EulerCylinderGraphTrace |
+0 −16 Euler/CylinderTimeGradient.lean View file
| @@ -59,20 +59,4 @@ variable (T : ℝ) (hT : 0 ≤ T) (p f : C(Icc (0 : ℝ) T,LiftL2 P)) | ||
| 59 | 59 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a f)) |
| 60 | 60 | (hd : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT p) (f t) (Icc (0 : ℝ) T) t) |
| 61 | 61 | |
| 62 | -include hd in | |
| 63 | -/-- Differentiating the full covering derivative in time gives the covering derivative of the true RHS. -/ | |
| 64 | -theorem pointField_fderiv_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) : | |
| 65 | - HasDerivWithinAt | |
| 66 | - (fun r => fieldFDeriv P (pointField P p hp (projIcc 0 T hT r)) x) | |
| 67 | - (fieldFDeriv P (pointField P f hf t) x) (Icc (0 : ℝ) T) t := by | |
| 68 | - have hD : HasDerivWithinAt | |
| 69 | - (fun r => fun i : Fin 4 => fieldFDeriv P (pointField P p hp (projIcc 0 T hT r)) x (standardDirection i)) | |
| 70 | - (fun i : Fin 4 => fieldFDeriv P (pointField P f hf t) x (standardDirection i)) | |
| 71 | - (Icc (0 : ℝ) T) t := by | |
| 72 | - apply hasDerivWithinAt_pi.mpr | |
| 73 | - intro i | |
| 74 | - exact pointField_word_hasDerivWithinAt P T hT p f hp hf hd 1 (fun _ => i) t x | |
| 75 | - have h := fromCoordinates.hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) hD | |
| 76 | - simpa only [Function.comp_def, fromCoordinates_eq] using h | |
| 77 | - | |
| 78 | 62 | end EulerCylinderSmoothOrbit |
+0 −19 Euler/CylinderTimeWords.lean View file
| @@ -47,23 +47,4 @@ variable (T : ℝ) (hT : 0 ≤ T) (p f : C(Icc (0 : ℝ) T,LiftL2 P)) | ||
| 47 | 47 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a f)) |
| 48 | 48 | (hd : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT p) (f t) (Icc (0 : ℝ) T) t) |
| 49 | 49 | |
| 50 | -include hd in | |
| 51 | -/-- Time differentiation commutes with each actual spatial/angular word, including at endpoints. -/ | |
| 52 | -theorem pointField_word_hasDerivWithinAt (n : ℕ) (w : Fin n → Fin 4) | |
| 53 | - (t : Icc (0 : ℝ) T) (x : LiftDomain P) : | |
| 54 | - HasDerivWithinAt (fun r => iteratedFieldDerivative P w (pointField P p hp (projIcc 0 T hT r)) x) | |
| 55 | - (iteratedFieldDerivative P w (pointField P f hf t) x) (Icc (0 : ℝ) T) t := by | |
| 56 | - let L := (EulerSobolevPointEvaluation.pointEvaluation P x).comp (wordBlock P 3 n w) | |
| 57 | - have h := L.hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) | |
| 58 | - (sobolevPath_hasDerivWithinAt P T hT p f hp hf hd (3+n) t) | |
| 59 | - change HasDerivWithinAt | |
| 60 | - (fun r => EulerSobolevPointEvaluation.pointEvaluation P x | |
| 61 | - (wordBlock P 3 n w (sobolevPath P (3+n) p hp (projIcc 0 T hT r)))) | |
| 62 | - (EulerSobolevPointEvaluation.pointEvaluation P x (wordBlock P 3 n w (sobolevPath P (3+n) f hf t))) | |
| 63 | - (Icc (0 : ℝ) T) t at h | |
| 64 | - rw [← pointField_word_eq_evaluation P f hf n w t x] at h | |
| 65 | - apply h.congr_of_mem _ t.property | |
| 66 | - intro r _ | |
| 67 | - exact pointField_word_eq_evaluation P p hp n w (projIcc 0 T hT r) x | |
| 68 | - | |
| 69 | 50 | end EulerCylinderSmoothOrbit |
+30 −0 routes/s1-euler-cylinder-3/README.md added View file
| @@ -0,0 +1,30 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-cylinder-3 | |
| 6 | + | |
| 7 | +Issue #10 (S-1: delete declarations that nothing uses), third wave, family `Euler/Cylinder*`. Deletes 6 | |
| 8 | +declarations in 4 files of `Euler/` (120 lines), all with no user left on `main`: | |
| 9 | + | |
| 10 | +- `EulerCylinderGraphTrace.affine_representative_ae`, `.affine_fieldDerivative`, `.graph_affine_norm_sq_le` | |
| 11 | + (`Euler/CylinderGraphAffine.lean`) | |
| 12 | +- `EulerCylinderGraphTrace.graph_hasDerivWithinAt` (`Euler/CylinderGraphDerivative.lean`) | |
| 13 | +- `EulerCylinderSmoothOrbit.pointField_fderiv_hasDerivWithinAt` (`Euler/CylinderTimeGradient.lean`) | |
| 14 | +- `EulerCylinderSmoothOrbit.pointField_word_hasDerivWithinAt` (`Euler/CylinderTimeWords.lean`) | |
| 15 | + | |
| 16 | +The change is deletions only: no statement or proof that stays is touched. The one user of `graph_affine_norm_sq_le` | |
| 17 | +was `graph_hasDerivWithinAt`, and the one user of `pointField_word_hasDerivWithinAt` was | |
| 18 | +`pointField_fderiv_hasDerivWithinAt`; both go in this same pull request. The list was cut from Treant's run of | |
| 19 | +2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and checked against the declaration graph of `main` at `cc5dcb6`, | |
| 20 | +under the project's keep rule for the paper's results. I checked every deleted name with `git grep -w` and as a | |
| 21 | +substring against the tree after the change (all 6 clean) and read every deleted docstring: none cites a numbered | |
| 22 | +Lemma, Theorem, Proposition, Corollary, Section or Equation. `python3 checks/challenge.py .` ends with `ok:`. | |
| 23 | + | |
| 24 | +`Euler/CylinderGraphAffine.lean` and `Euler/CylinderGraphDerivative.lean` are left with no declaration; their module | |
| 25 | +docstrings still describe the deleted results, and I leave that correction to a unit that is not deletions only. | |
| 26 | + | |
| 27 | +## Next | |
| 28 | + | |
| 29 | +Pushed; `build` will say the rest. Nothing else in this unit, except removing the two now-empty files and fixing | |
| 30 | +their module docstrings if a later unit takes that. | |