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.VolterraConvolution |
| 2 | import Mathlib.MeasureTheory.Function.L2Space |
| 3 | import Mathlib.MeasureTheory.Function.ConvergenceInMeasure |
| 4 | |
| 5 | /-! Actual Bochner L² time spaces and continuous-path embeddings used by maximal regularity. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerTimeLp |
| 10 | |
| 11 | open MeasureTheory Set EulerVolterraConvolution |
| 12 | open scoped Topology ENNReal |
| 13 | |
| 14 | /-- Lebesgue time measure restricted to the prescribed compact evolution interval. -/ |
| 15 | def timeMeasure (T : ℝ) : Measure ℝ := volume.restrict (Icc 0 T) |
| 16 | |
| 17 | /-- The actual compact time measure is finite. -/ |
| 18 | instance timeMeasureFinite (T : ℝ) : IsFiniteMeasure (timeMeasure T) := by |
| 19 | unfold timeMeasure |
| 20 | infer_instance |
| 21 | |
| 22 | /-- The actual Bochner L² space of time-dependent values in a normed space. -/ |
| 23 | abbrev TimeLp (T : ℝ) (E : Type*) [NormedAddCommGroup E] := Lp E 2 (timeMeasure T) |
| 24 | |
| 25 | variable {E : Type*} [NormedAddCommGroup E] |
| 26 | |
| 27 | /-- A continuous compact-time path is genuinely square integrable after clamping. -/ |
| 28 | theorem path_memLp (T : ℝ) (hT : 0 ≤ T) (f : C(Icc (0 : ℝ) T, E)) : |
| 29 | MemLp (extendPath T hT f) 2 (timeMeasure T) := |
| 30 | MemLp.of_bound (extendPath_continuous T hT f).aestronglyMeasurable ‖f‖ |
| 31 | (Filter.Eventually.of_forall (extendPath_norm_le T hT f)) |
| 32 | |
| 33 | /-- A continuous time path represented in the actual Bochner L² space. -/ |
| 34 | def pathLp (T : ℝ) (hT : 0 ≤ T) (f : C(Icc (0 : ℝ) T, E)) : TimeLp T E := |
| 35 | (path_memLp T hT f).toLp (extendPath T hT f) |
| 36 | |
| 37 | /-- The Bochner path representative is the genuine clamped continuous path almost everywhere. -/ |
| 38 | theorem pathLp_ae (T : ℝ) (hT : 0 ≤ T) (f : C(Icc (0 : ℝ) T, E)) : |
| 39 | (pathLp T hT f : ℝ → E) =ᵐ[timeMeasure T] extendPath T hT f := |
| 40 | (path_memLp T hT f).coeFn_toLp |
| 41 | |
| 42 | /-- The continuous-path inclusion obeys the actual finite-time L² norm bound. -/ |
| 43 | theorem pathLp_bound (T : ℝ) (hT : 0 ≤ T) (f : C(Icc (0 : ℝ) T, E)) : |
| 44 | ‖pathLp T hT f‖ ≤ (measureUnivNNReal (timeMeasure T) : ℝ) ^ (1/2 : ℝ) * ‖f‖ := by |
| 45 | have hh : ‖pathLp T hT f‖ ≤ (measureUnivNNReal (timeMeasure T) : ℝ) ^ (ENNReal.toReal 2)⁻¹ * ‖f‖ := by |
| 46 | apply Lp.norm_le_of_ae_bound (norm_nonneg f) |
| 47 | filter_upwards [pathLp_ae T hT f] with t ht |
| 48 | rw [ht] |
| 49 | exact extendPath_norm_le T hT f t |
| 50 | simpa using hh |
| 51 | |
| 52 | /-- The actual path embedding preserves subtraction. -/ |
| 53 | theorem pathLp_sub (T : ℝ) (hT : 0 ≤ T) (f g : C(Icc (0 : ℝ) T, E)) : |
| 54 | pathLp T hT (f-g) = pathLp T hT f - pathLp T hT g := by |
| 55 | apply Lp.ext |
| 56 | filter_upwards [pathLp_ae T hT (f-g), pathLp_ae T hT f, pathLp_ae T hT g, |
| 57 | Lp.coeFn_sub (pathLp T hT f) (pathLp T hT g)] with t h1 h2 h3 h4 |
| 58 | simp only [Pi.sub_apply] at h4 |
| 59 | rw [h1, h4, h2, h3] |
| 60 | rfl |
| 61 | |
| 62 | /-- Uniform convergence of actual continuous paths implies convergence in actual L² time. -/ |
| 63 | theorem pathLp_tendsto (T : ℝ) (hT : 0 ≤ T) (f : ℕ → C(Icc (0 : ℝ) T, E)) |
| 64 | (g : C(Icc (0 : ℝ) T, E)) (h : Filter.Tendsto f Filter.atTop (𝓝 g)) : |
| 65 | Filter.Tendsto (fun n => pathLp T hT (f n)) Filter.atTop (𝓝 (pathLp T hT g)) := by |
| 66 | rw [tendsto_iff_norm_sub_tendsto_zero] |
| 67 | have hn := (h.sub_const g).norm |
| 68 | simp only [sub_self, norm_zero] at hn |
| 69 | have hb : ∀ n, ‖pathLp T hT (f n) - pathLp T hT g‖ ≤ |
| 70 | (measureUnivNNReal (timeMeasure T) : ℝ) ^ (1/2 : ℝ) * ‖f n-g‖ := by |
| 71 | intro n |
| 72 | rw [← pathLp_sub] |
| 73 | exact pathLp_bound T hT _ |
| 74 | apply squeeze_zero (fun _ => norm_nonneg _) hb |
| 75 | simpa only [mul_zero] using hn.const_mul ((measureUnivNNReal (timeMeasure T) : ℝ) ^ (1/2 : ℝ)) |
| 76 | |
| 77 | /-- The actual Bochner L² norm squared is the integral of the squared pointwise norm, also for Banach targets. -/ |
| 78 | theorem norm_sq_eq_integral (T : ℝ) (f : TimeLp T E) : |
| 79 | ‖f‖^2 = ∫ t, ‖f t‖^2 ∂timeMeasure T := by |
| 80 | rw [Lp.norm_def, MemLp.eLpNorm_eq_integral_rpow_norm (by norm_num : (2 : ℝ≥0∞) ≠ 0) |
| 81 | (by norm_num : (2 : ℝ≥0∞) ≠ ∞) (Lp.memLp f)] |
| 82 | simp only [ENNReal.toReal_ofNat, Real.rpow_two] |
| 83 | rw [ENNReal.toReal_ofReal (Real.rpow_nonneg (integral_nonneg (fun _ => sq_nonneg _)) _)] |
| 84 | rw [inv_eq_one_div, ← Real.sqrt_eq_rpow, Real.sq_sqrt (integral_nonneg (fun _ => sq_nonneg _))] |
| 85 | |
| 86 | /-- The actual L² time norm of a continuous path is its classical time energy integral. -/ |
| 87 | theorem pathLp_norm_sq (T : ℝ) (hT : 0 ≤ T) (f : C(Icc (0 : ℝ) T, E)) : |
| 88 | ‖pathLp T hT f‖^2 = ∫ t in (0 : ℝ)..T, ‖extendPath T hT f t‖^2 := by |
| 89 | rw [norm_sq_eq_integral] |
| 90 | have he : (∫ t, ‖pathLp T hT f t‖^2 ∂timeMeasure T) = |
| 91 | ∫ t in Icc 0 T, ‖extendPath T hT f t‖^2 := by |
| 92 | apply integral_congr_ae |
| 93 | filter_upwards [pathLp_ae T hT f] with t ht |
| 94 | rw [ht] |
| 95 | rw [he, integral_Icc_eq_integral_Ioc, ← intervalIntegral.integral_of_le hT] |
| 96 | |
| 97 | end EulerTimeLp |