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.MeanVariationalInverse |
| 2 | import Euler.TimeH1OperatorProduct |
| 3 | |
| 4 | /-! |
| 5 | # Genuine H¹ label displacements and mean variational tests |
| 6 | |
| 7 | The mean Hilbert model uses derivatives of the physical displacement. A C¹ |
| 8 | inverse deformation converts its terminal primitive to an actual H¹ solenoidal |
| 9 | label path, with a constructed Bochner L² derivative. Conversely, each genuine |
| 10 | solenoidal terminal primitive yields an admissible physical test through F. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | |
| 16 | namespace EulerMeanVariationalInverse |
| 17 | |
| 18 | open MeasureTheory Set Filter InnerProductSpace ContinuousLinearMap |
| 19 | EulerTimeLp EulerTerminalTimePrimitive EulerTimeH1OperatorProduct |
| 20 | EulerMeanSolenoidal EulerVolterraConvolution |
| 21 | open scoped Topology |
| 22 | |
| 23 | variable (T : ℝ) (hT : 0 ≤ T) |
| 24 | (FInv FInv' : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 25 | |
| 26 | /-- The actual L² time derivative of the label path `FInv η`. -/ |
| 27 | def labelDerivative : meanDerivatives T hT FInv →L[ℝ] TimeLp T L2 := |
| 28 | (productDerivative T hT FInv FInv').comp (meanDerivatives T hT FInv).subtypeL |
| 29 | |
| 30 | /-- The real representative of the label displacement. -/ |
| 31 | def labelPath (u : meanDerivatives T hT FInv) : ℝ → L2 := |
| 32 | productPrimitive T hT FInv (u : TimeLp T L2) |
| 33 | |
| 34 | /-- The label path takes values in the actual ordinary solenoidal space. -/ |
| 35 | theorem labelPath_solenoidal (u : meanDerivatives T hT FInv) (t : ℝ) |
| 36 | (ht : t ∈ Icc (0 : ℝ) T) : labelPath T hT FInv u t ∈ solenoidalSpace := by |
| 37 | change FInv (projIcc 0 T hT t) (realPrimitive T (u : TimeLp T L2) t) ∈ solenoidalSpace |
| 38 | simpa only [projIcc_of_mem hT ht, terminalPrimitive_apply] using u.property ⟨t, ht⟩ |
| 39 | |
| 40 | variable (hFInv : ∀ t : Icc (0 : ℝ) T, |
| 41 | HasDerivWithinAt (extendPath T hT FInv) (FInv' t) (Icc (0 : ℝ) T) t) |
| 42 | |
| 43 | include hFInv in |
| 44 | /-- The actual label displacement is absolutely continuous. -/ |
| 45 | theorem labelPath_absolutelyContinuous (u : meanDerivatives T hT FInv) : |
| 46 | AbsolutelyContinuousOnInterval (labelPath T hT FInv u) 0 T := |
| 47 | productPrimitive_absolutelyContinuous T hT FInv FInv' hFInv (u : TimeLp T L2) |
| 48 | |
| 49 | include hFInv in |
| 50 | /-- Its L² derivative is obtained from the literal product rule. -/ |
| 51 | theorem labelPath_hasDerivAt_ae (u : meanDerivatives T hT FInv) : |
| 52 | ∀ᵐ t ∂timeMeasure T, |
| 53 | HasDerivAt (labelPath T hT FInv u) (labelDerivative T hT FInv FInv' u t) t := |
| 54 | productPrimitive_hasDerivAt_ae T hT FInv FInv' hFInv (u : TimeLp T L2) |
| 55 | |
| 56 | include hFInv in |
| 57 | /-- Integration recovers the actual H¹ label path from that derivative. -/ |
| 58 | theorem labelPath_eq_realPrimitive (u : meanDerivatives T hT FInv) (t : ℝ) |
| 59 | (ht : t ∈ Icc (0 : ℝ) T) : |
| 60 | labelPath T hT FInv u t = realPrimitive T (labelDerivative T hT FInv FInv' u) t := |
| 61 | productPrimitive_eq_realPrimitive T hT FInv FInv' hFInv (u : TimeLp T L2) t ht |
| 62 | |
| 63 | include hFInv in |
| 64 | /-- Differentiating a path in the closed solenoidal subspace preserves its |
| 65 | constraint almost everywhere; this is an actual L² membership statement. -/ |
| 66 | theorem labelDerivative_solenoidal_ae (u : meanDerivatives T hT FInv) : |
| 67 | ∀ᵐ t ∂timeMeasure T, labelDerivative T hT FInv FInv' u t ∈ solenoidalSpace := by |
| 68 | have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Ioo (0 : ℝ) T := by |
| 69 | change ∀ᵐ t ∂volume.restrict (Icc (0 : ℝ) T), t ∈ Ioo (0 : ℝ) T |
| 70 | rw [← restrict_Ioo_eq_restrict_Icc] |
| 71 | exact ae_restrict_mem measurableSet_Ioo |
| 72 | filter_upwards [hmem, labelPath_hasDerivAt_ae T hT FInv FInv' hFInv u] with t ht hd |
| 73 | have hp := solenoidalProjection.hasFDerivAt.comp_hasDerivAt t hd |
| 74 | have heq : labelPath T hT FInv u =ᶠ[𝓝 t] |
| 75 | fun s => solenoidalProjection (labelPath T hT FInv u s) := by |
| 76 | filter_upwards [Icc_mem_nhds ht.1 ht.2] with s hs |
| 77 | exact (solenoidalSpace.starProjection_eq_self_iff.mpr |
| 78 | (labelPath_solenoidal T hT FInv u s hs)).symm |
| 79 | exact solenoidalSpace.starProjection_eq_self_iff.mp |
| 80 | ((hp.congr_of_eventuallyEq heq).unique hd) |
| 81 | |
| 82 | /-- The norm comparison required by the source H¹ model follows from the |
| 83 | actual coefficient bounds and the sharp terminal Poincaré bound. -/ |
| 84 | theorem labelDerivative_norm_le (u : meanDerivatives T hT FInv) : |
| 85 | ‖labelDerivative T hT FInv FInv' u‖ ≤ |
| 86 | (‖FInv'‖ * Real.sqrt (T^2/2) + ‖FInv‖) * ‖u‖ := |
| 87 | productDerivative_norm_le T hT FInv FInv' (u : TimeLp T L2) |
| 88 | |
| 89 | /-- Squaring the genuine derivative comparison gives the source energy control. -/ |
| 90 | theorem labelDerivative_norm_sq_le (u : meanDerivatives T hT FInv) : |
| 91 | ‖labelDerivative T hT FInv FInv' u‖^2 ≤ |
| 92 | (‖FInv'‖ * Real.sqrt (T^2/2) + ‖FInv‖)^2 * ‖u‖^2 := by |
| 93 | calc |
| 94 | _ ≤ ((‖FInv'‖ * Real.sqrt (T^2/2) + ‖FInv‖) * ‖u‖)^2 := |
| 95 | pow_le_pow_left₀ (norm_nonneg _) (labelDerivative_norm_le T hT FInv FInv' u) 2 |
| 96 | _ = _ := mul_pow _ _ _ |
| 97 | |
| 98 | variable (F F' : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 99 | |
| 100 | /-- Restrict the physical deformation to actual solenoidal label fields. -/ |
| 101 | def solenoidalFrame : C(Icc (0 : ℝ) T, solenoidalSpace →L[ℝ] L2) := |
| 102 | ⟨fun t => (F t).comp solenoidalSpace.subtypeL, |
| 103 | F.continuous.clm_comp continuous_const⟩ |
| 104 | |
| 105 | /-- Differentiating the restricted frame is literal bounded-map composition. -/ |
| 106 | theorem solenoidalFrame_hasDerivWithinAt |
| 107 | (hF : ∀ t : Icc (0 : ℝ) T, |
| 108 | HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) : |
| 109 | ∀ t : Icc (0 : ℝ) T, |
| 110 | HasDerivWithinAt (extendPath T hT (solenoidalFrame T F)) |
| 111 | (solenoidalFrame T F' t) (Icc (0 : ℝ) T) t := by |
| 112 | intro t |
| 113 | have h := (hF t).clm_comp |
| 114 | (hasDerivWithinAt_const (t : ℝ) (Icc (0 : ℝ) T) solenoidalSpace.subtypeL) |
| 115 | change HasDerivWithinAt (fun s => (extendPath T hT F s).comp solenoidalSpace.subtypeL) |
| 116 | ((F' t).comp solenoidalSpace.subtypeL) (Icc (0 : ℝ) T) t |
| 117 | simpa only [ContinuousLinearMap.comp_zero, add_zero] using h |
| 118 | |
| 119 | variable (hF : ∀ t : Icc (0 : ℝ) T, |
| 120 | HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) |
| 121 | (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) |
| 122 | |
| 123 | include hF hInv in |
| 124 | /-- Every solenoidal terminal H¹ path supplies an admissible physical test. -/ |
| 125 | theorem productDerivative_mem_mean (v : TimeLp T solenoidalSpace) : |
| 126 | productDerivative T hT (solenoidalFrame T F) (solenoidalFrame T F') v ∈ |
| 127 | meanDerivatives T hT FInv := by |
| 128 | intro t |
| 129 | rw [terminalPrimitive_productDerivative T hT (solenoidalFrame T F) |
| 130 | (solenoidalFrame T F') (solenoidalFrame_hasDerivWithinAt T hT F F' hF) v t] |
| 131 | change FInv t (F t ((terminalPrimitive T hT v t : solenoidalSpace) : L2)) ∈ solenoidalSpace |
| 132 | rw [hInv] |
| 133 | exact (terminalPrimitive T hT v t).property |
| 134 | |
| 135 | /-- A genuine bounded map from solenoidal label derivatives to admissible mean tests. -/ |
| 136 | def meanTestMap : TimeLp T solenoidalSpace →L[ℝ] meanDerivatives T hT FInv := |
| 137 | (productDerivative T hT (solenoidalFrame T F) (solenoidalFrame T F')).codRestrict |
| 138 | (meanDerivatives T hT FInv) (productDerivative_mem_mean T hT FInv F F' hF hInv) |
| 139 | |
| 140 | /-- The test derivative is the actual product-rule L² field. -/ |
| 141 | @[simp] theorem meanTestMap_coe (v : TimeLp T solenoidalSpace) : |
| 142 | (meanTestMap T hT FInv F F' hF hInv v : TimeLp T L2) = |
| 143 | productDerivative T hT (solenoidalFrame T F) (solenoidalFrame T F') v := rfl |
| 144 | |
| 145 | /-- Its displacement primitive is the actual physical test `F b`. -/ |
| 146 | theorem meanTestMap_primitive (v : TimeLp T solenoidalSpace) : |
| 147 | meanPrimitive T hT FInv (meanTestMap T hT FInv F F' hF hInv v) = |
| 148 | timeMultiplier T hT (solenoidalFrame T F) (primitiveTimeLp T hT v) := |
| 149 | primitiveTimeLp_productDerivative T hT (solenoidalFrame T F) (solenoidalFrame T F') |
| 150 | (solenoidalFrame_hasDerivWithinAt T hT F F' hF) v |
| 151 | |
| 152 | /-- The initial trace of the physical test is exactly `F(0) b(0)`. -/ |
| 153 | theorem meanTestMap_trace (v : TimeLp T solenoidalSpace) : |
| 154 | meanTrace T hT FInv (meanTestMap T hT FInv F F' hF hInv v) = |
| 155 | F ⟨0, le_rfl, hT⟩ ((initialTrace T hT v : solenoidalSpace) : L2) := |
| 156 | initialTrace_productDerivative T hT (solenoidalFrame T F) (solenoidalFrame T F') |
| 157 | (solenoidalFrame_hasDerivWithinAt T hT F F' hF) v |
| 158 | |
| 159 | /-- Therefore zero-endpoint label tests remove both actual initial boundary terms. -/ |
| 160 | theorem meanTestMap_trace_zero (v : TimeLp T solenoidalSpace) (hv : initialTrace T hT v = 0) : |
| 161 | meanTrace T hT FInv (meanTestMap T hT FInv F F' hF hInv v) = 0 := by |
| 162 | rw [meanTestMap_trace T hT FInv F F' hF hInv v, hv] |
| 163 | exact map_zero _ |
| 164 | |
| 165 | end EulerMeanVariationalInverse |