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.Integral.IntervalIntegral.FundThmCalculus |
| 3 | |
| 4 | /-! Passing genuine Banach-valued evolution equations through uniform time-path limits. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerIntegralPathLimit |
| 9 | |
| 10 | open MeasureTheory Set EulerVolterraConvolution |
| 11 | open scoped Topology |
| 12 | |
| 13 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 14 | |
| 15 | /-- Integration of the actual clamped time path is a bounded linear operator. -/ |
| 16 | def pathIntegralOperator (T : ℝ) (hT : 0 ≤ T) (a b : ℝ) : C(Icc (0 : ℝ) T,E) →L[ℝ] E := |
| 17 | LinearMap.mkContinuous |
| 18 | { toFun := fun f => ∫ t in a..b, extendPath T hT f t |
| 19 | map_add' := by |
| 20 | intro f g |
| 21 | exact intervalIntegral.integral_add ((extendPath_continuous T hT f).intervalIntegrable a b) |
| 22 | ((extendPath_continuous T hT g).intervalIntegrable a b) |
| 23 | map_smul' := by |
| 24 | intro c f |
| 25 | exact intervalIntegral.integral_smul c (extendPath T hT f) } |
| 26 | |b-a| (fun f => by |
| 27 | change ‖∫ t in a..b, extendPath T hT f t‖ ≤ _ |
| 28 | have h : ‖∫ t in a..b, extendPath T hT f t‖ ≤ ‖f‖*|b-a| := |
| 29 | intervalIntegral.norm_integral_le_of_norm_le_const (fun t _ => extendPath_norm_le T hT f t) |
| 30 | exact h.trans_eq (mul_comm _ _)) |
| 31 | |
| 32 | /-- The time-integral operator is the literal Bochner interval integral. -/ |
| 33 | theorem pathIntegralOperator_apply (T : ℝ) (hT : 0 ≤ T) (a b : ℝ) (f : C(Icc (0 : ℝ) T,E)) : |
| 34 | pathIntegralOperator T hT a b f = ∫ t in a..b, extendPath T hT f t := rfl |
| 35 | |
| 36 | variable [CompleteSpace E] |
| 37 | |
| 38 | /-- Interior time derivatives with continuous endpoint traces give the exact integral evolution formula. -/ |
| 39 | theorem integral_equation_of_hasDerivAt (T : ℝ) (hT : 0 ≤ T) |
| 40 | (u f : C(Icc (0 : ℝ) T,E)) |
| 41 | (hd : ∀ t ∈ Ioo 0 T, HasDerivAt (extendPath T hT u) (extendPath T hT f t) t) |
| 42 | (t : Icc (0 : ℝ) T) : |
| 43 | u t = u ⟨0,le_rfl,hT⟩ + pathIntegralOperator T hT 0 t.val f := by |
| 44 | have h := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le t.property.1 |
| 45 | (extendPath_continuous T hT u).continuousOn |
| 46 | (fun r hr => hd r ⟨hr.1,hr.2.trans_le t.property.2⟩) |
| 47 | ((extendPath_continuous T hT f).intervalIntegrable 0 t.val) |
| 48 | change pathIntegralOperator T hT 0 t.val f = |
| 49 | u (projIcc 0 T hT t.val)-u (projIcc 0 T hT 0) at h |
| 50 | rw [projIcc_of_mem hT t.property,projIcc_of_mem hT ⟨le_rfl,hT⟩] at h |
| 51 | exact (eq_add_of_sub_eq h.symm).trans (add_comm _ _) |
| 52 | |
| 53 | omit [CompleteSpace E] in |
| 54 | /-- Actual integral evolution equations pass to uniform limits of the solution and derivative paths. -/ |
| 55 | theorem integral_equation_limit (T : ℝ) (hT : 0 ≤ T) |
| 56 | (u f : ℕ → C(Icc (0 : ℝ) T,E)) (v g : C(Icc (0 : ℝ) T,E)) |
| 57 | (hu : Filter.Tendsto u Filter.atTop (𝓝 v)) (hf : Filter.Tendsto f Filter.atTop (𝓝 g)) |
| 58 | (heq : ∀ n t, u n t = u n ⟨0,le_rfl,hT⟩ + pathIntegralOperator T hT 0 t.val (f n)) |
| 59 | (t : Icc (0 : ℝ) T) : |
| 60 | v t = v ⟨0,le_rfl,hT⟩ + pathIntegralOperator T hT 0 t.val g := by |
| 61 | have hv := ((ContinuousMap.evalCLM ℝ t).continuous.tendsto v).comp hu |
| 62 | have hz := ((ContinuousMap.evalCLM ℝ ⟨0,le_rfl,hT⟩).continuous.tendsto v).comp hu |
| 63 | have hi := ((pathIntegralOperator T hT 0 t.val).continuous.tendsto g).comp hf |
| 64 | exact tendsto_nhds_unique hv ((hz.add hi).congr (fun n => (heq n t).symm)) |
| 65 | |
| 66 | /-- A continuous path satisfying the actual integral equation has the prescribed interior derivative. -/ |
| 67 | theorem hasDerivAt_of_integral_equation (T : ℝ) (hT : 0 ≤ T) |
| 68 | (u f : C(Icc (0 : ℝ) T,E)) |
| 69 | (heq : ∀ t, u t = u ⟨0,le_rfl,hT⟩ + pathIntegralOperator T hT 0 t.val f) |
| 70 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 71 | HasDerivAt (extendPath T hT u) (extendPath T hT f t) t := by |
| 72 | have hd := ((extendPath_continuous T hT f).integral_hasStrictDerivAt 0 t).hasDerivAt.const_add (u ⟨0,le_rfl,hT⟩) |
| 73 | apply hd.congr_of_eventuallyEq |
| 74 | filter_upwards [Ioo_mem_nhds ht.1 ht.2] with r hr |
| 75 | change u (projIcc 0 T hT r) = _ |
| 76 | rw [projIcc_of_mem hT ⟨hr.1.le,hr.2.le⟩] |
| 77 | exact heq ⟨r,hr.1.le,hr.2.le⟩ |
| 78 | |
| 79 | end EulerIntegralPathLimit |