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.TimeLpSubinterval |
| 2 | import Euler.PDESubintervalEnergyLimit |
| 3 | |
| 4 | /-! Actual L² forcing bounds imply continuous scalar integral majorants on every time subinterval. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerTimeLpSubintervalBound |
| 9 | |
| 10 | open MeasureTheory Set InnerProductSpace EulerTimeLp EulerVolterraConvolution EulerTimeLpSubinterval |
| 11 | EulerPDESubintervalEnergyLimit |
| 12 | |
| 13 | /-- Two genuine real L² time fields have an integrable product. -/ |
| 14 | theorem integrable_time_product (T : ℝ) (u v : TimeLp T ℝ) : |
| 15 | Integrable (fun t => u t*v t) (timeMeasure T) := by |
| 16 | have h := L2.integrable_inner (𝕜 := ℝ) u v |
| 17 | simpa only [RCLike.inner_apply, conj_trivial, mul_comm] using h |
| 18 | |
| 19 | /-- A genuine almost-everywhere forcing bound gives its signed coefficient comparison on every time subinterval. -/ |
| 20 | theorem subinterval_forcing_bound (T : ℝ) (hT : 0 ≤ T) (s t : ℝ) |
| 21 | (h0s : 0 ≤ s) (hst : s ≤ t) (htT : t ≤ T) |
| 22 | (k g : C(Icc (0 : ℝ) T, ℝ)) (hk : ∀ r, 0 ≤ k r) (F : TimeLp T ℝ) |
| 23 | (hF : (F : ℝ → ℝ) ≤ᵐ[timeMeasure T] extendPath T hT g) : |
| 24 | (∫ r in Icc s t, pathLp T hT k r*F r ∂timeMeasure T) ≤ |
| 25 | ∫ r in s..t, extendPath T hT k r*extendPath T hT g r := by |
| 26 | have hi := (integrable_time_product T (pathLp T hT k) F).restrict (s := Icc s t) |
| 27 | have hj := (integrable_time_product T (pathLp T hT k) (pathLp T hT g)).restrict (s := Icc s t) |
| 28 | have h := integral_mono_ae hi hj (show |
| 29 | (fun r => pathLp T hT k r*F r) ≤ᵐ[(timeMeasure T).restrict (Icc s t)] |
| 30 | (fun r => pathLp T hT k r*pathLp T hT g r) from by |
| 31 | filter_upwards [ae_restrict_of_ae hF, ae_restrict_of_ae (pathLp_ae T hT k), |
| 32 | ae_restrict_of_ae (pathLp_ae T hT g)] with r hr hkr hgr |
| 33 | rw [hkr,hgr] |
| 34 | exact mul_le_mul_of_nonneg_left hr (hk (projIcc 0 T hT r))) |
| 35 | have he := (subinterval_inner_eq T s t (pathLp T hT k) (pathLp T hT g)).symm.trans |
| 36 | (subinterval_path_inner T hT s t h0s hst htT k g) |
| 37 | exact h.trans_eq he |
| 38 | |
| 39 | /-- The actual continuous scalar right-hand side after an almost-everywhere forcing estimate. -/ |
| 40 | def scalarEnergyRhs (T : ℝ) (a b k X Y F : C(Icc (0 : ℝ) T, ℝ)) : C(Icc (0 : ℝ) T, ℝ) := |
| 41 | a*X+b*Y+k*F |
| 42 | |
| 43 | /-- Passing the actual forcing estimate through the integral yields a continuous scalar energy majorant. -/ |
| 44 | theorem scalar_rhs_subinterval (T : ℝ) (hT : 0 ≤ T) (s t : ℝ) |
| 45 | (h0s : 0 ≤ s) (hst : s ≤ t) (htT : t ≤ T) |
| 46 | (a b k X Y g : C(Icc (0 : ℝ) T, ℝ)) (hk : ∀ r, 0 ≤ k r) (F : TimeLp T ℝ) |
| 47 | (hF : (F : ℝ → ℝ) ≤ᵐ[timeMeasure T] extendPath T hT g) |
| 48 | (he : X ⟨t,h0s.trans hst,htT⟩-X ⟨s,h0s,hst.trans htT⟩ ≤ |
| 49 | (∫ r in s..t, extendPath T hT a r*extendPath T hT X r)+ |
| 50 | (∫ r in s..t, extendPath T hT b r*extendPath T hT Y r)+ |
| 51 | ∫ r in Icc s t, pathLp T hT k r*F r ∂timeMeasure T) : |
| 52 | X ⟨t,h0s.trans hst,htT⟩-X ⟨s,h0s,hst.trans htT⟩ ≤ |
| 53 | ∫ r in s..t, extendPath T hT (scalarEnergyRhs T a b k X Y g) r := by |
| 54 | have h := he.trans (add_le_add (le_refl _) (subinterval_forcing_bound T hT s t h0s hst htT k g hk F hF)) |
| 55 | have hi := integral_eq_three_subinterval_paths T hT s t hst a b k X Y g |
| 56 | (extendPath T hT (scalarEnergyRhs T a b k X Y g)) (fun _ _ => rfl) |
| 57 | exact h.trans_eq hi.symm |
| 58 | |
| 59 | end EulerTimeLpSubintervalBound |