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.Topology.MetricSpace.Contracting |
| 3 | |
| 4 | /-! Banach's theorem applied to the actual singular Volterra integral on continuous paths. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerVolterraConvolution |
| 9 | |
| 10 | open MeasureTheory Set Metric |
| 11 | open scoped Topology NNReal |
| 12 | |
| 13 | variable {X Y : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 14 | [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 15 | variable (T : ℝ) (hT : 0 ≤ T) (K : ℝ → Y →L[ℝ] X) (k : ℝ → ℝ) |
| 16 | variable (hK : ContinuousOn (fun p : ℝ × Y => K p.1 p.2) (Ioi 0 ×ˢ (univ : Set Y))) |
| 17 | variable (hk : IntegrableOn k (Ioc 0 T)) (hk0 : ∀ r ∈ Ioc 0 T, 0 ≤ k r) |
| 18 | variable (hbound : ∀ r ∈ Ioc 0 T, ∀ y, ‖K r y‖ ≤ k r * ‖y‖) |
| 19 | |
| 20 | include hK hk hk0 hbound in |
| 21 | /-- The actual Bochner convolution commutes with subtraction of continuous paths. -/ |
| 22 | theorem convolution_sub (f g : C(Icc (0 : ℝ) T, Y)) : |
| 23 | convolution T hT K k hK hk hk0 hbound (f - g) = |
| 24 | convolution T hT K k hK hk hk0 hbound f - convolution T hT K k hK hk hk0 hbound g := by |
| 25 | ext t |
| 26 | change (∫ r in Ioc 0 T, causalIntegrand T hT K (f - g) t r) = |
| 27 | (∫ r in Ioc 0 T, causalIntegrand T hT K f t r) - |
| 28 | ∫ r in Ioc 0 T, causalIntegrand T hT K g t r |
| 29 | rw [← integral_sub (causalIntegrand_integrable T hT K k hK hk hk0 hbound f t) |
| 30 | (causalIntegrand_integrable T hT K k hK hk hk0 hbound g t)] |
| 31 | apply integral_congr_ae |
| 32 | exact Filter.Eventually.of_forall fun r => by |
| 33 | by_cases hr : r ≤ t.val <;> simp [causalIntegrand, indicator, hr, extendPath, map_sub] |
| 34 | |
| 35 | include hK hk hk0 hbound in |
| 36 | /-- The actual convolution is Lipschitz with constant equal to its scalar kernel mass. -/ |
| 37 | theorem convolution_sub_bound (f g : C(Icc (0 : ℝ) T, Y)) : |
| 38 | ‖convolution T hT K k hK hk hk0 hbound f - convolution T hT K k hK hk hk0 hbound g‖ ≤ |
| 39 | kernelMass T k * ‖f - g‖ := by |
| 40 | rw [← convolution_sub T hT K k hK hk hk0 hbound] |
| 41 | exact convolution_bound T hT K k hK hk hk0 hbound (f - g) |
| 42 | |
| 43 | /-- Pointwise application of an actual continuous time-dependent nonlinearity to a path. -/ |
| 44 | def pathNonlinearity (F : Icc (0 : ℝ) T → X → Y) |
| 45 | (hF : Continuous (fun p : Icc (0 : ℝ) T × X => F p.1 p.2)) |
| 46 | (u : C(Icc (0 : ℝ) T, X)) : C(Icc (0 : ℝ) T, Y) where |
| 47 | toFun t := F t (u t) |
| 48 | continuous_toFun := hF.comp (continuous_id.prodMk u.continuous) |
| 49 | |
| 50 | omit [NormedSpace ℝ X] [NormedSpace ℝ Y] in |
| 51 | /-- The pointwise nonlinear bound on a ball gives the same bound on continuous paths. -/ |
| 52 | theorem pathNonlinearity_bound (F : Icc (0 : ℝ) T → X → Y) |
| 53 | (hF : Continuous (fun p : Icc (0 : ℝ) T × X => F p.1 p.2)) |
| 54 | (R M : ℝ) (hM : 0 ≤ M) (hFM : ∀ t x, ‖x‖ ≤ R → ‖F t x‖ ≤ M) |
| 55 | (u : C(Icc (0 : ℝ) T, X)) (hu : ‖u‖ ≤ R) : ‖pathNonlinearity T F hF u‖ ≤ M := by |
| 56 | apply (ContinuousMap.norm_le _ hM).mpr |
| 57 | intro t |
| 58 | exact hFM t (u t) ((u.norm_coe_le_norm t).trans hu) |
| 59 | |
| 60 | omit [NormedSpace ℝ X] [NormedSpace ℝ Y] in |
| 61 | /-- A local Lipschitz nonlinearity induces the same local Lipschitz bound on path space. -/ |
| 62 | theorem pathNonlinearity_sub_bound (F : Icc (0 : ℝ) T → X → Y) |
| 63 | (hF : Continuous (fun p : Icc (0 : ℝ) T × X => F p.1 p.2)) |
| 64 | (R L : ℝ) (hL : 0 ≤ L) |
| 65 | (hFL : ∀ t x y, ‖x‖ ≤ R → ‖y‖ ≤ R → ‖F t x - F t y‖ ≤ L * ‖x - y‖) |
| 66 | (u v : C(Icc (0 : ℝ) T, X)) (hu : ‖u‖ ≤ R) (hv : ‖v‖ ≤ R) : |
| 67 | ‖pathNonlinearity T F hF u - pathNonlinearity T F hF v‖ ≤ L * ‖u - v‖ := by |
| 68 | apply (ContinuousMap.norm_le _ (mul_nonneg hL (norm_nonneg _))).mpr |
| 69 | intro t |
| 70 | exact (hFL t (u t) (v t) ((u.norm_coe_le_norm t).trans hu) ((v.norm_coe_le_norm t).trans hv)).trans |
| 71 | (mul_le_mul_of_nonneg_left ((u - v).norm_coe_le_norm t) hL) |
| 72 | |
| 73 | /-- The actual nonlinear Volterra map, including the prescribed free evolution. -/ |
| 74 | def picard (a : C(Icc (0 : ℝ) T, X)) (F : Icc (0 : ℝ) T → X → Y) |
| 75 | (hF : Continuous (fun p : Icc (0 : ℝ) T × X => F p.1 p.2)) |
| 76 | (u : C(Icc (0 : ℝ) T, X)) : C(Icc (0 : ℝ) T, X) := |
| 77 | a + convolution T hT K k hK hk hk0 hbound (pathNonlinearity T F hF u) |
| 78 | |
| 79 | include hK hk hk0 hbound in |
| 80 | /-- The genuine Picard map preserves the chosen path ball under the explicit scalar budget. -/ |
| 81 | theorem picard_bound (a : C(Icc (0 : ℝ) T, X)) (F : Icc (0 : ℝ) T → X → Y) |
| 82 | (hF : Continuous (fun p : Icc (0 : ℝ) T × X => F p.1 p.2)) |
| 83 | (R M : ℝ) (hM : 0 ≤ M) (hFM : ∀ t x, ‖x‖ ≤ R → ‖F t x‖ ≤ M) |
| 84 | (hbudget : ‖a‖ + kernelMass T k * M ≤ R) |
| 85 | (u : C(Icc (0 : ℝ) T, X)) (hu : ‖u‖ ≤ R) : |
| 86 | ‖picard T hT K k hK hk hk0 hbound a F hF u‖ ≤ R := by |
| 87 | have hc := convolution_bound T hT K k hK hk hk0 hbound (pathNonlinearity T F hF u) |
| 88 | have hn := mul_le_mul_of_nonneg_left (pathNonlinearity_bound T F hF R M hM hFM u hu) |
| 89 | (kernelMass_nonneg T k hk0) |
| 90 | apply (norm_add_le a (convolution T hT K k hK hk hk0 hbound (pathNonlinearity T F hF u))).trans |
| 91 | linarith |
| 92 | |
| 93 | include hK hk hk0 hbound in |
| 94 | /-- The actual Picard map has contraction coefficient equal to kernel mass times nonlinear Lipschitz constant. -/ |
| 95 | theorem picard_sub_bound (a : C(Icc (0 : ℝ) T, X)) (F : Icc (0 : ℝ) T → X → Y) |
| 96 | (hF : Continuous (fun p : Icc (0 : ℝ) T × X => F p.1 p.2)) |
| 97 | (R L : ℝ) (hL : 0 ≤ L) |
| 98 | (hFL : ∀ t x y, ‖x‖ ≤ R → ‖y‖ ≤ R → ‖F t x - F t y‖ ≤ L * ‖x - y‖) |
| 99 | (u v : C(Icc (0 : ℝ) T, X)) (hu : ‖u‖ ≤ R) (hv : ‖v‖ ≤ R) : |
| 100 | ‖picard T hT K k hK hk hk0 hbound a F hF u - picard T hT K k hK hk hk0 hbound a F hF v‖ ≤ |
| 101 | (kernelMass T k * L) * ‖u - v‖ := by |
| 102 | simp only [picard, add_sub_add_left_eq_sub] |
| 103 | exact (convolution_sub_bound T hT K k hK hk hk0 hbound _ _).trans |
| 104 | ((mul_le_mul_of_nonneg_left (pathNonlinearity_sub_bound T F hF R L hL hFL u v hu hv) |
| 105 | (kernelMass_nonneg T k hk0)).trans_eq (mul_assoc _ _ _).symm) |
| 106 | |
| 107 | include hK hk hk0 hbound in |
| 108 | /-- An actual continuous mild solution exists by contraction of the explicitly defined Volterra integral. -/ |
| 109 | theorem exists_mild_solution [CompleteSpace X] |
| 110 | (a : C(Icc (0 : ℝ) T, X)) (F : Icc (0 : ℝ) T → X → Y) |
| 111 | (hF : Continuous (fun p : Icc (0 : ℝ) T × X => F p.1 p.2)) |
| 112 | (R M L : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) (hL : 0 ≤ L) |
| 113 | (hFM : ∀ t x, ‖x‖ ≤ R → ‖F t x‖ ≤ M) |
| 114 | (hFL : ∀ t x y, ‖x‖ ≤ R → ‖y‖ ≤ R → ‖F t x - F t y‖ ≤ L * ‖x - y‖) |
| 115 | (hbudget : ‖a‖ + kernelMass T k * M ≤ R) (hsmall : kernelMass T k * L < 1) : |
| 116 | ∃ u : C(Icc (0 : ℝ) T, X), ‖u‖ ≤ R ∧ ∀ t : Icc (0 : ℝ) T, |
| 117 | u t = a t + ∫ r in (0 : ℝ)..t.val, |
| 118 | K r (F (projIcc 0 T hT (t.val - r)) (u (projIcc 0 T hT (t.val - r)))) := by |
| 119 | let P := picard T hT K k hK hk hk0 hbound a F hF |
| 120 | let B : Set C(Icc (0 : ℝ) T, X) := closedBall 0 R |
| 121 | have hmap : MapsTo P B B := by |
| 122 | intro u hu |
| 123 | have hun : ‖u‖ ≤ R := by simpa only [B, mem_closedBall, dist_zero_right] using hu |
| 124 | simpa only [B, mem_closedBall, dist_zero_right] using |
| 125 | picard_bound T hT K k hK hk hk0 hbound a F hF R M hM hFM hbudget u hun |
| 126 | let c : ℝ≥0 := ⟨kernelMass T k * L, mul_nonneg (kernelMass_nonneg T k hk0) hL⟩ |
| 127 | have hc : ContractingWith c (hmap.restrict P B B) := by |
| 128 | refine ⟨hsmall, LipschitzWith.of_dist_le_mul ?_⟩ |
| 129 | intro u v |
| 130 | change dist (P u.val) (P v.val) ≤ (kernelMass T k * L) * dist u.val v.val |
| 131 | rw [dist_eq_norm, dist_eq_norm] |
| 132 | exact picard_sub_bound T hT K k hK hk hk0 hbound a F hF R L hL hFL u.val v.val |
| 133 | (by simpa only [B, mem_closedBall, dist_zero_right] using u.property) |
| 134 | (by simpa only [B, mem_closedBall, dist_zero_right] using v.property) |
| 135 | have hzero : (0 : C(Icc (0 : ℝ) T, X)) ∈ B := by simpa only [B, mem_closedBall, dist_self] using hR |
| 136 | obtain ⟨u, hu, hfix, _, _⟩ := ContractingWith.exists_fixedPoint' |
| 137 | isClosed_closedBall.isComplete hmap hc hzero (edist_ne_top 0 (P 0)) |
| 138 | refine ⟨u, by simpa only [B, mem_closedBall, dist_zero_right] using hu, ?_⟩ |
| 139 | intro t |
| 140 | have ht := congrArg (fun v : C(Icc (0 : ℝ) T, X) => v t) hfix |
| 141 | change a t + convolution T hT K k hK hk hk0 hbound (pathNonlinearity T F hF u) t = u t at ht |
| 142 | rw [convolution_eq_interval T hT K k hK hk hk0 hbound] at ht |
| 143 | exact ht.symm |
| 144 | |
| 145 | end EulerVolterraConvolution |