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.CylinderSobolevSpace |
| 2 | import Mathlib.MeasureTheory.Integral.DominatedConvergence |
| 3 | import Mathlib.Topology.Order.ProjIcc |
| 4 | import Mathlib.Topology.ContinuousMap.Compact |
| 5 | |
| 6 | /-! A genuine singular-kernel Volterra convolution on continuous Banach-valued paths. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerVolterraConvolution |
| 11 | |
| 12 | open MeasureTheory Set |
| 13 | open scoped Topology |
| 14 | |
| 15 | variable {X Y : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 16 | [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 17 | variable (T : ℝ) (hT : 0 ≤ T) |
| 18 | |
| 19 | /-- Continuous extension of a compact-interval path by clamping its time argument. -/ |
| 20 | def extendPath (f : C(Icc (0 : ℝ) T, Y)) (t : ℝ) : Y := f (projIcc 0 T hT t) |
| 21 | |
| 22 | omit [NormedSpace ℝ Y] in |
| 23 | /-- The clamped extension of a continuous path is continuous. -/ |
| 24 | theorem extendPath_continuous (f : C(Icc (0 : ℝ) T, Y)) : Continuous (extendPath T hT f) := |
| 25 | f.continuous.comp continuous_projIcc |
| 26 | |
| 27 | omit [NormedSpace ℝ Y] in |
| 28 | /-- The clamped extension is bounded by the actual uniform path norm. -/ |
| 29 | theorem extendPath_norm_le (f : C(Icc (0 : ℝ) T, Y)) (t : ℝ) : ‖extendPath T hT f t‖ ≤ ‖f‖ := |
| 30 | f.norm_coe_le_norm _ |
| 31 | |
| 32 | /-- The fixed-domain integrand for a causal, possibly singular, time convolution. -/ |
| 33 | def causalIntegrand (K : ℝ → Y →L[ℝ] X) (f : C(Icc (0 : ℝ) T, Y)) |
| 34 | (t : Icc (0 : ℝ) T) (r : ℝ) : X := |
| 35 | (Iic t.val).indicator (fun r => K r (extendPath T hT f (t.val - r))) r |
| 36 | |
| 37 | variable (K : ℝ → Y →L[ℝ] X) (k : ℝ → ℝ) |
| 38 | variable (hK : ContinuousOn (fun p : ℝ × Y => K p.1 p.2) (Ioi 0 ×ˢ (univ : Set Y))) |
| 39 | variable (hk : IntegrableOn k (Ioc 0 T)) |
| 40 | variable (hk0 : ∀ r ∈ Ioc 0 T, 0 ≤ k r) |
| 41 | variable (hbound : ∀ r ∈ Ioc 0 T, ∀ y, ‖K r y‖ ≤ k r * ‖y‖) |
| 42 | |
| 43 | include hK in |
| 44 | /-- The translated path integrand is measurable despite the possible kernel singularity at zero. -/ |
| 45 | theorem causalIntegrand_measurable (f : C(Icc (0 : ℝ) T, Y)) (t : Icc (0 : ℝ) T) : |
| 46 | AEStronglyMeasurable (causalIntegrand T hT K f t) (volume.restrict (Ioc 0 T)) := by |
| 47 | have hc : ContinuousOn (fun r : ℝ => K r (extendPath T hT f (t.val - r))) (Ioc 0 T) := |
| 48 | hK.comp (continuous_id.prodMk ((extendPath_continuous T hT f).comp |
| 49 | (continuous_const.sub continuous_id))).continuousOn (fun r hr => ⟨hr.1, mem_univ _⟩) |
| 50 | exact (hc.aestronglyMeasurable measurableSet_Ioc).indicator measurableSet_Iic |
| 51 | |
| 52 | include hk0 hbound in |
| 53 | /-- The causal integrand is bounded by an integrable scalar kernel times the path norm. -/ |
| 54 | theorem causalIntegrand_bound (f : C(Icc (0 : ℝ) T, Y)) (t : Icc (0 : ℝ) T) |
| 55 | (r : ℝ) (hr : r ∈ Ioc 0 T) : |
| 56 | ‖causalIntegrand T hT K f t r‖ ≤ k r * ‖f‖ := by |
| 57 | unfold causalIntegrand |
| 58 | by_cases hrt : r ≤ t.val |
| 59 | · simp only [indicator, mem_Iic, hrt, ite_true] |
| 60 | exact (hbound r hr _).trans (mul_le_mul_of_nonneg_left (extendPath_norm_le T hT f _) (hk0 r hr)) |
| 61 | · simp only [indicator, mem_Iic, hrt, ite_false, norm_zero] |
| 62 | exact mul_nonneg (hk0 r hr) (norm_nonneg f) |
| 63 | |
| 64 | include hK hk hk0 hbound in |
| 65 | /-- The actual causal kernel integral is a Bochner-integrable Banach-valued function. -/ |
| 66 | theorem causalIntegrand_integrable (f : C(Icc (0 : ℝ) T, Y)) (t : Icc (0 : ℝ) T) : |
| 67 | Integrable (causalIntegrand T hT K f t) (volume.restrict (Ioc 0 T)) := by |
| 68 | apply (hk.mul_const ‖f‖).mono' (causalIntegrand_measurable T hT K hK f t) |
| 69 | filter_upwards [self_mem_ae_restrict measurableSet_Ioc] with r hr |
| 70 | exact causalIntegrand_bound T hT K k hk0 hbound f t r hr |
| 71 | |
| 72 | /-- Away from the moving upper endpoint, the causal integrand is continuous in time. -/ |
| 73 | theorem causalIntegrand_continuousAt (f : C(Icc (0 : ℝ) T, Y)) (t : Icc (0 : ℝ) T) |
| 74 | (r : ℝ) (hr : r ≠ t.val) : |
| 75 | ContinuousAt (fun s : Icc (0 : ℝ) T => causalIntegrand T hT K f s r) t := by |
| 76 | have hc : Continuous (fun s : Icc (0 : ℝ) T => K r (extendPath T hT f (s.val - r))) := |
| 77 | (K r).continuous.comp ((extendPath_continuous T hT f).comp |
| 78 | (continuous_subtype_val.sub continuous_const)) |
| 79 | rcases lt_or_gt_of_ne hr with hrt | htr |
| 80 | · apply hc.continuousAt.congr_of_eventuallyEq |
| 81 | have he : ∀ᶠ s : Icc (0 : ℝ) T in 𝓝 t, r < s.val := |
| 82 | (continuous_subtype_val.tendsto t).eventually (Ioi_mem_nhds hrt) |
| 83 | filter_upwards [he] with s hs |
| 84 | simp only [causalIntegrand, indicator, mem_Iic, hs.le, ite_true] |
| 85 | · apply (continuousAt_const (y := (0 : X))).congr_of_eventuallyEq |
| 86 | have he : ∀ᶠ s : Icc (0 : ℝ) T in 𝓝 t, s.val < r := |
| 87 | (continuous_subtype_val.tendsto t).eventually (Iio_mem_nhds htr) |
| 88 | filter_upwards [he] with s hs |
| 89 | simp only [causalIntegrand, indicator, mem_Iic, not_le.mpr hs, ite_false] |
| 90 | |
| 91 | include hK hk hk0 hbound in |
| 92 | /-- Dominated convergence proves continuity of the actual singular causal integral. -/ |
| 93 | theorem causalIntegral_continuous (f : C(Icc (0 : ℝ) T, Y)) : |
| 94 | Continuous (fun t : Icc (0 : ℝ) T => ∫ r in Ioc 0 T, causalIntegrand T hT K f t r) := by |
| 95 | apply continuous_iff_continuousAt.mpr |
| 96 | intro t |
| 97 | apply continuousAt_of_dominated |
| 98 | (Filter.Eventually.of_forall (causalIntegrand_measurable T hT K hK f)) |
| 99 | (Filter.Eventually.of_forall fun s => ?_) (hk.mul_const ‖f‖) |
| 100 | · have hn : ∀ᵐ r : ℝ ∂volume.restrict (Ioc 0 T), r ≠ t.val := by |
| 101 | exact compl_mem_ae_iff.mpr (measure_singleton _) |
| 102 | filter_upwards [hn] with r hr |
| 103 | exact causalIntegrand_continuousAt T hT K f t r hr |
| 104 | · filter_upwards [self_mem_ae_restrict measurableSet_Ioc] with r hr |
| 105 | exact causalIntegrand_bound T hT K k hk0 hbound f s r hr |
| 106 | |
| 107 | /-- The actual causal convolution as a continuous path. -/ |
| 108 | def convolution (f : C(Icc (0 : ℝ) T, Y)) : C(Icc (0 : ℝ) T, X) where |
| 109 | toFun t := ∫ r in Ioc 0 T, causalIntegrand T hT K f t r |
| 110 | continuous_toFun := causalIntegral_continuous T hT K k hK hk hk0 hbound f |
| 111 | |
| 112 | /-- The scalar mass of an integrable time-kernel bound on the chosen time interval. -/ |
| 113 | def kernelMass : ℝ := ∫ r in Ioc 0 T, k r |
| 114 | |
| 115 | include hk0 in |
| 116 | /-- A nonnegative kernel has nonnegative mass. -/ |
| 117 | theorem kernelMass_nonneg : 0 ≤ kernelMass T k := by |
| 118 | apply integral_nonneg_of_ae |
| 119 | filter_upwards [self_mem_ae_restrict measurableSet_Ioc] with r hr |
| 120 | exact hk0 r hr |
| 121 | |
| 122 | include hK hk hk0 hbound in |
| 123 | /-- The actual time convolution has the sharp path-norm estimate by the kernel mass. -/ |
| 124 | theorem convolution_bound (f : C(Icc (0 : ℝ) T, Y)) : |
| 125 | ‖convolution T hT K k hK hk hk0 hbound f‖ ≤ kernelMass T k * ‖f‖ := by |
| 126 | apply (ContinuousMap.norm_le _ (mul_nonneg (kernelMass_nonneg T k hk0) (norm_nonneg f))).mpr |
| 127 | intro t |
| 128 | change ‖∫ r in Ioc 0 T, causalIntegrand T hT K f t r‖ ≤ _ |
| 129 | calc |
| 130 | _ ≤ ∫ r in Ioc 0 T, ‖causalIntegrand T hT K f t r‖ := norm_integral_le_integral_norm _ |
| 131 | _ ≤ ∫ r in Ioc 0 T, k r * ‖f‖ := integral_mono_ae |
| 132 | (causalIntegrand_integrable T hT K k hK hk hk0 hbound f t).norm (hk.mul_const ‖f‖) (by |
| 133 | filter_upwards [self_mem_ae_restrict measurableSet_Ioc] with r hr |
| 134 | exact causalIntegrand_bound T hT K k hk0 hbound f t r hr) |
| 135 | _ = kernelMass T k * ‖f‖ := integral_mul_const _ _ |
| 136 | |
| 137 | include hK hk hk0 hbound in |
| 138 | /-- The fixed-domain causal integral equals the usual shifted Duhamel interval integral. -/ |
| 139 | theorem convolution_eq_interval (f : C(Icc (0 : ℝ) T, Y)) (t : Icc (0 : ℝ) T) : |
| 140 | convolution T hT K k hK hk hk0 hbound f t = |
| 141 | ∫ r in (0 : ℝ)..t.val, K r (extendPath T hT f (t.val - r)) := by |
| 142 | change (∫ r in Ioc 0 T, (Iic t.val).indicator |
| 143 | (fun r => K r (extendPath T hT f (t.val - r))) r) = _ |
| 144 | rw [← intervalIntegral.integral_of_le hT] |
| 145 | exact intervalIntegral.integral_indicator t.property |
| 146 | |
| 147 | end EulerVolterraConvolution |