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.TimeLp |
| 2 | |
| 3 | /-! Actual integral pairings and their strong limits for metric energy passage. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerTimeLpPairing |
| 8 | |
| 9 | open MeasureTheory Set InnerProductSpace EulerTimeLp EulerVolterraConvolution |
| 10 | open scoped Topology |
| 11 | |
| 12 | /-- The actual scalar Bochner inner product is the integral of the literal product. -/ |
| 13 | theorem inner_eq_integral (T : ℝ) (a b : TimeLp T ℝ) : |
| 14 | ⟪a, b⟫_ℝ = ∫ t, a t*b t ∂timeMeasure T := by |
| 15 | rw [L2.inner_def] |
| 16 | apply integral_congr_ae |
| 17 | exact Filter.Eventually.of_forall fun t => by simp [RCLike.inner_apply, mul_comm] |
| 18 | |
| 19 | /-- Continuous-path Bochner pairings equal the ordinary interval integral. -/ |
| 20 | theorem path_inner_eq_integral (T : ℝ) (hT : 0 ≤ T) (a b : C(Icc (0 : ℝ) T, ℝ)) : |
| 21 | ⟪pathLp T hT a, pathLp T hT b⟫_ℝ = |
| 22 | ∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT b t := by |
| 23 | rw [inner_eq_integral] |
| 24 | have he : (∫ t, pathLp T hT a t*pathLp T hT b t ∂timeMeasure T) = |
| 25 | ∫ t in Icc 0 T, extendPath T hT a t * extendPath T hT b t := by |
| 26 | apply integral_congr_ae |
| 27 | filter_upwards [pathLp_ae T hT a, pathLp_ae T hT b] with t h1 h2 |
| 28 | rw [h1, h2] |
| 29 | rw [he, integral_Icc_eq_integral_Ioc, ← intervalIntegral.integral_of_le hT] |
| 30 | |
| 31 | /-- Signed integral coefficients pass continuously through uniform scalar energy convergence. -/ |
| 32 | theorem integral_product_path_tendsto (T : ℝ) (hT : 0 ≤ T) (a : C(Icc (0 : ℝ) T, ℝ)) |
| 33 | (f : ℕ → C(Icc (0 : ℝ) T, ℝ)) (g : C(Icc (0 : ℝ) T, ℝ)) |
| 34 | (hf : Filter.Tendsto f Filter.atTop (𝓝 g)) : |
| 35 | Filter.Tendsto (fun n => ∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT (f n) t) |
| 36 | Filter.atTop (𝓝 (∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT g t)) := by |
| 37 | have h : Filter.Tendsto (fun n => ⟪pathLp T hT a, pathLp T hT (f n)⟫_ℝ) Filter.atTop |
| 38 | (𝓝 ⟪pathLp T hT a, pathLp T hT g⟫_ℝ) := |
| 39 | Filter.Tendsto.inner tendsto_const_nhds (pathLp_tendsto T hT f g hf) |
| 40 | simpa only [path_inner_eq_integral] using h |
| 41 | |
| 42 | /-- Strong Bochner convergence passes signed scalar weighted integrals to their actual limit. -/ |
| 43 | theorem integral_product_timeLp_tendsto (T : ℝ) (a : TimeLp T ℝ) |
| 44 | (f : ℕ → TimeLp T ℝ) (g : TimeLp T ℝ) |
| 45 | (hf : Filter.Tendsto f Filter.atTop (𝓝 g)) : |
| 46 | Filter.Tendsto (fun n => ∫ t, a t*f n t ∂timeMeasure T) Filter.atTop |
| 47 | (𝓝 (∫ t, a t*g t ∂timeMeasure T)) := by |
| 48 | have h : Filter.Tendsto (fun n => ⟪a, f n⟫_ℝ) Filter.atTop (𝓝 ⟪a, g⟫_ℝ) := |
| 49 | Filter.Tendsto.inner tendsto_const_nhds hf |
| 50 | simpa only [inner_eq_integral] using h |
| 51 | |
| 52 | /-- Three continuous weighted scalar paths have the literal additive interval integral. -/ |
| 53 | theorem integral_three_paths (T : ℝ) (hT : 0 ≤ T) |
| 54 | (a b c x y f : C(Icc (0 : ℝ) T, ℝ)) : |
| 55 | (∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT x t + |
| 56 | extendPath T hT b t * extendPath T hT y t + extendPath T hT c t * extendPath T hT f t) = |
| 57 | (∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT x t) + |
| 58 | (∫ t in (0 : ℝ)..T, extendPath T hT b t * extendPath T hT y t) + |
| 59 | ∫ t in (0 : ℝ)..T, extendPath T hT c t * extendPath T hT f t := by |
| 60 | have ha := ((extendPath_continuous T hT a).mul (extendPath_continuous T hT x)).intervalIntegrable (μ := volume) 0 T |
| 61 | have hb := ((extendPath_continuous T hT b).mul (extendPath_continuous T hT y)).intervalIntegrable (μ := volume) 0 T |
| 62 | have hc := ((extendPath_continuous T hT c).mul (extendPath_continuous T hT f)).intervalIntegrable (μ := volume) 0 T |
| 63 | change IntervalIntegrable (fun t => extendPath T hT a t * extendPath T hT x t) volume 0 T at ha |
| 64 | change IntervalIntegrable (fun t => extendPath T hT b t * extendPath T hT y t) volume 0 T at hb |
| 65 | change IntervalIntegrable (fun t => extendPath T hT c t * extendPath T hT f t) volume 0 T at hc |
| 66 | rw [intervalIntegral.integral_add (ha.add hb) hc, intervalIntegral.integral_add ha hb] |
| 67 | |
| 68 | /-- An actual integral energy inequality survives uniform state convergence and strong L² forcing convergence, with the signed loss term unchanged. -/ |
| 69 | theorem integral_energy_limit (T : ℝ) (hT : 0 ≤ T) |
| 70 | (a b : C(Icc (0 : ℝ) T, ℝ)) (c : TimeLp T ℝ) |
| 71 | (X Y : ℕ → C(Icc (0 : ℝ) T, ℝ)) (F : ℕ → TimeLp T ℝ) |
| 72 | (x y : C(Icc (0 : ℝ) T, ℝ)) (f : TimeLp T ℝ) |
| 73 | (hX : Filter.Tendsto X Filter.atTop (𝓝 x)) (hY : Filter.Tendsto Y Filter.atTop (𝓝 y)) |
| 74 | (hF : Filter.Tendsto F Filter.atTop (𝓝 f)) |
| 75 | (henergy : ∀ n, X n ⟨T, hT, le_rfl⟩ - X n ⟨0, le_rfl, hT⟩ ≤ |
| 76 | (∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT (X n) t) + |
| 77 | (∫ t in (0 : ℝ)..T, extendPath T hT b t * extendPath T hT (Y n) t) + |
| 78 | ∫ t, c t * F n t ∂timeMeasure T) : |
| 79 | x ⟨T, hT, le_rfl⟩ - x ⟨0, le_rfl, hT⟩ ≤ |
| 80 | (∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT x t) + |
| 81 | (∫ t in (0 : ℝ)..T, extendPath T hT b t * extendPath T hT y t) + |
| 82 | ∫ t, c t * f t ∂timeMeasure T := by |
| 83 | have ht := (continuous_eval_const (⟨T, hT, le_rfl⟩ : Icc (0 : ℝ) T)).continuousAt.tendsto.comp hX |
| 84 | have h0 := (continuous_eval_const (⟨0, le_rfl, hT⟩ : Icc (0 : ℝ) T)).continuousAt.tendsto.comp hX |
| 85 | exact le_of_tendsto_of_tendsto' (ht.sub h0) |
| 86 | (((integral_product_path_tendsto T hT a X x hX).add |
| 87 | (integral_product_path_tendsto T hT b Y y hY)).add |
| 88 | (integral_product_timeLp_tendsto T c F f hF)) henergy |
| 89 | |
| 90 | end EulerTimeLpPairing |