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 NavierStokes.R3.CompactEnergy |
| 2 | import Mathlib.MeasureTheory.Function.L2Space |
| 3 | import Mathlib.MeasureTheory.Function.LpSpace.Indicator |
| 4 | |
| 5 | /-! # Sobolev fields represented by smooth compact approximations |
| 6 | |
| 7 | The derivatives in these records are genuine weak derivatives: each is the |
| 8 | L² limit of the corresponding derivatives of one smooth compact sequence. |
| 9 | No pointwise differentiability is required of the limiting field. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open Set Filter MeasureTheory |
| 15 | open scoped ContDiff Topology |
| 16 | |
| 17 | namespace NavierStokesR3.H3Comparison |
| 18 | |
| 19 | open NavierStokes.ProblemStatement |
| 20 | open NavierStokes.PeriodicIntegration (spatialPartial) |
| 21 | open NavierStokes.PeriodicUniqueness (spatial_partial_contDiff) |
| 22 | |
| 23 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 24 | |
| 25 | /-- Compact smooth fields are in the ordinary whole-space L² space. -/ |
| 26 | theorem smooth_compact_memLp {f : Space → E} (hf : ContDiff ℝ ∞ f) |
| 27 | (hc : HasCompactSupport f) : MemLp f 2 volume := |
| 28 | hf.continuous.memLp_of_hasCompactSupport hc |
| 29 | |
| 30 | /-- The standard completion definition of a first-order Sobolev field. -/ |
| 31 | structure H1Approximation (f : Space → E) (df : Fin 3 → Space → E) where |
| 32 | memLp : MemLp f 2 volume |
| 33 | derivative_memLp : ∀ i, MemLp (df i) 2 volume |
| 34 | approx : ℕ → Space → E |
| 35 | smooth : ∀ n, ContDiff ℝ ∞ (approx n) |
| 36 | compact : ∀ n, HasCompactSupport (approx n) |
| 37 | approx_memLp : ∀ n, MemLp (approx n) 2 volume |
| 38 | derivative_approx_memLp : ∀ n i, MemLp (spatialPartial i (approx n)) 2 volume |
| 39 | tendsto : Tendsto (fun n => (approx_memLp n).toLp (approx n)) atTop (𝓝 (memLp.toLp f)) |
| 40 | derivative_tendsto : ∀ i, |
| 41 | Tendsto (fun n => (derivative_approx_memLp n i).toLp (spatialPartial i (approx n))) |
| 42 | atTop (𝓝 ((derivative_memLp i).toLp (df i))) |
| 43 | |
| 44 | variable {F : Type*} [NormedAddCommGroup F] [InnerProductSpace ℝ F] |
| 45 | |
| 46 | private theorem partial_comp (L : E →L[ℝ] F) {f : Space → E} |
| 47 | (hf : ContDiff ℝ ∞ f) (i : Fin 3) : |
| 48 | spatialPartial i (L ∘ f) = L ∘ spatialPartial i f := by |
| 49 | funext x |
| 50 | have hd := (L.hasFDerivAt.comp x (hf.differentiable (by simp) x).hasFDerivAt).fderiv |
| 51 | exact congrArg (fun M => M (coordinateVector i)) hd |
| 52 | |
| 53 | /-- One smooth compact approximation controls all ordered derivatives through |
| 54 | order three, the usual completion definition of H³ on Euclidean space. -/ |
| 55 | structure H3Approximation (f : Space → E) (df : Fin 3 → Space → E) |
| 56 | (ddf : Fin 3 → Fin 3 → Space → E) |
| 57 | (dddf : Fin 3 → Fin 3 → Fin 3 → Space → E) extends H1Approximation f df where |
| 58 | second_memLp : ∀ i j, MemLp (ddf i j) 2 volume |
| 59 | third_memLp : ∀ i j k, MemLp (dddf i j k) 2 volume |
| 60 | second_approx_memLp : ∀ n i j, |
| 61 | MemLp (spatialPartial i (spatialPartial j (approx n))) 2 volume |
| 62 | third_approx_memLp : ∀ n i j k, |
| 63 | MemLp (spatialPartial i (spatialPartial j (spatialPartial k (approx n)))) 2 volume |
| 64 | second_tendsto : ∀ i j, |
| 65 | Tendsto (fun n => (second_approx_memLp n i j).toLp |
| 66 | (spatialPartial i (spatialPartial j (approx n)))) atTop |
| 67 | (𝓝 ((second_memLp i j).toLp (ddf i j))) |
| 68 | third_tendsto : ∀ i j k, |
| 69 | Tendsto (fun n => (third_approx_memLp n i j k).toLp |
| 70 | (spatialPartial i (spatialPartial j (spatialPartial k (approx n))))) atTop |
| 71 | (𝓝 ((third_memLp i j k).toLp (dddf i j k))) |
| 72 | |
| 73 | namespace H3Approximation |
| 74 | |
| 75 | variable {f : Space → E} {df : Fin 3 → Space → E} |
| 76 | {ddf : Fin 3 → Fin 3 → Space → E} {dddf : Fin 3 → Fin 3 → Fin 3 → Space → E} |
| 77 | |
| 78 | end H3Approximation |
| 79 | |
| 80 | end NavierStokesR3.H3Comparison |