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

| 1 | import Euler.MeanSpatialEvaluation |
| 2 | import Euler.MeanGradientTestSpace |
| 3 | |
| 4 | /-! Strong ordinary L² spatial derivatives are the classical derivatives of the reconstructed field. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | |
| 9 | namespace EulerMeanSmoothRepresentative |
| 10 | |
| 11 | open MeasureTheory InnerProductSpace EulerSmoothLimit EulerMeanSolenoidal EulerVectorCalculus |
| 12 | EulerMeanGradientTest |
| 13 | open scoped ContDiff |
| 14 | |
| 15 | theorem representative_pointwise_translation_hasDerivAt (u : EulerMeanSolenoidal.L2) |
| 16 | (hu : SmoothOrbit u) (v x : Space) : |
| 17 | HasDerivAt (fun t : ℝ => representative u hu (x+t•v)) |
| 18 | (fderiv ℝ (representative u hu) x v) 0 := by |
| 19 | have H := ((representative_smooth u hu).differentiable (by simp) x).hasFDerivAt |
| 20 | have ht : HasDerivAt (fun t : ℝ => x+t•v) v 0 := by |
| 21 | simpa only [id_eq, one_smul] using |
| 22 | (((hasDerivAt_id (0 : ℝ)).smul_const v).const_add x) |
| 23 | simpa only [Function.comp_def] using H.comp_hasDerivAt_of_eq (0 : ℝ) ht (by simp) |
| 24 | |
| 25 | /-- No prior L² integrability of the classical derivative is assumed. -/ |
| 26 | theorem orbitDerivative_ae_fderiv (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) (v : Space) : |
| 27 | (orbitDerivative u v : Space → Space) =ᵐ[volume] |
| 28 | fun x => fderiv ℝ (representative u hu) x v := by |
| 29 | apply EulerStrongSmoothJet.lp_derivative_ae volume |
| 30 | (fun t => EulerMeanSolenoidal.translation (t•v) u) (orbitDerivative u v) |
| 31 | (fun t x => representative u hu (x+t•v)) |
| 32 | (fun x => fderiv ℝ (representative u hu) x v) |
| 33 | _ (orbitDerivative_hasDerivAt u hu v) (representative_pointwise_translation_hasDerivAt u hu v) |
| 34 | intro t |
| 35 | filter_upwards [EulerMeanSolenoidal.translation_ae (t•v) u, |
| 36 | (measurePreserving_add_right (volume : Measure Space) (t•v)).quasiMeasurePreserving.ae |
| 37 | (representative_ae u hu)] with x h₁ h₂ |
| 38 | exact h₁.trans h₂ |
| 39 | |
| 40 | /-- The classical directional derivative is exactly the reconstructed strong derivative. -/ |
| 41 | theorem fderiv_representative_apply (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) (v x : Space) : |
| 42 | fderiv ℝ (representative u hu) x v = |
| 43 | representative (orbitDerivative u v) (orbitDerivative_smooth u hu v) x := by |
| 44 | have H := representative_unique (orbitDerivative u v) (orbitDerivative_smooth u hu v) |
| 45 | (fun y => fderiv ℝ (representative u hu) y v) |
| 46 | (((representative_smooth u hu).fderiv_right (m := ∞) (by simp)).continuous.clm_apply continuous_const) |
| 47 | (orbitDerivative_ae_fderiv u hu v) |
| 48 | exact (congrFun H x).symm |
| 49 | |
| 50 | theorem representative_directional_memLp (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) (v : Space) : |
| 51 | MemLp (fun x => fderiv ℝ (representative u hu) x v) 2 (volume : Measure Space) := |
| 52 | (Lp.memLp (orbitDerivative u v)).ae_eq (orbitDerivative_ae_fderiv u hu v) |
| 53 | |
| 54 | /-- The full classical first derivative is genuinely square-integrable. -/ |
| 55 | theorem representative_fderiv_memLp (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) : |
| 56 | MemLp (fderiv ℝ (representative u hu)) 2 (volume : Measure Space) := by |
| 57 | let f (i : Fin 3) (x : Space) := ‖fderiv ℝ (representative u hu) x (EuclideanSpace.single i 1)‖ |
| 58 | have hf (i : Fin 3) : MemLp (f i) 2 (volume : Measure Space) := |
| 59 | (representative_directional_memLp u hu (EuclideanSpace.single i 1)).norm |
| 60 | have hs : MemLp (∑ i : Fin 3, f i) 2 (volume : Measure Space) := |
| 61 | memLp_finsetSum' Finset.univ (fun i _ => hf i) |
| 62 | apply hs.mono' |
| 63 | ((representative_smooth u hu).fderiv_right (m := ∞) (by simp)).continuous.aestronglyMeasurable |
| 64 | apply Filter.Eventually.of_forall |
| 65 | intro x |
| 66 | simpa only [Finset.sum_apply, f] using opNorm_le_sum_columns (fderiv ℝ (representative u hu) x) |
| 67 | |
| 68 | end EulerMeanSmoothRepresentative |