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 | variable (hFInv : ∀ t : Icc (0 : ℝ) T, |
| 31 | HasDerivWithinAt (extendPath T hT FInv) (FInv' t) (Icc (0 : ℝ) T) t) |
| 32 | |
| 33 | variable (F F' : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 34 | |
| 35 | /-- Restrict the physical deformation to actual solenoidal label fields. -/ |
| 36 | def solenoidalFrame : C(Icc (0 : ℝ) T, solenoidalSpace →L[ℝ] L2) := |
| 37 | ⟨fun t => (F t).comp solenoidalSpace.subtypeL, |
| 38 | F.continuous.clm_comp continuous_const⟩ |
| 39 | |
| 40 | /-- Differentiating the restricted frame is literal bounded-map composition. -/ |
| 41 | theorem solenoidalFrame_hasDerivWithinAt |
| 42 | (hF : ∀ t : Icc (0 : ℝ) T, |
| 43 | HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) : |
| 44 | ∀ t : Icc (0 : ℝ) T, |
| 45 | HasDerivWithinAt (extendPath T hT (solenoidalFrame T F)) |
| 46 | (solenoidalFrame T F' t) (Icc (0 : ℝ) T) t := by |
| 47 | intro t |
| 48 | have h := (hF t).clm_comp |
| 49 | (hasDerivWithinAt_const (t : ℝ) (Icc (0 : ℝ) T) solenoidalSpace.subtypeL) |
| 50 | change HasDerivWithinAt (fun s => (extendPath T hT F s).comp solenoidalSpace.subtypeL) |
| 51 | ((F' t).comp solenoidalSpace.subtypeL) (Icc (0 : ℝ) T) t |
| 52 | simpa only [ContinuousLinearMap.comp_zero, add_zero] using h |
| 53 | |
| 54 | variable (hF : ∀ t : Icc (0 : ℝ) T, |
| 55 | HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) |
| 56 | (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) |
| 57 | |
| 58 | include hF hInv in |
| 59 | /-- Every solenoidal terminal H¹ path supplies an admissible physical test. -/ |
| 60 | theorem productDerivative_mem_mean (v : TimeLp T solenoidalSpace) : |
| 61 | productDerivative T hT (solenoidalFrame T F) (solenoidalFrame T F') v ∈ |
| 62 | meanDerivatives T hT FInv := by |
| 63 | intro t |
| 64 | rw [terminalPrimitive_productDerivative T hT (solenoidalFrame T F) |
| 65 | (solenoidalFrame T F') (solenoidalFrame_hasDerivWithinAt T hT F F' hF) v t] |
| 66 | change FInv t (F t ((terminalPrimitive T hT v t : solenoidalSpace) : L2)) ∈ solenoidalSpace |
| 67 | rw [hInv] |
| 68 | exact (terminalPrimitive T hT v t).property |
| 69 | |
| 70 | /-- A genuine bounded map from solenoidal label derivatives to admissible mean tests. -/ |
| 71 | def meanTestMap : TimeLp T solenoidalSpace →L[ℝ] meanDerivatives T hT FInv := |
| 72 | (productDerivative T hT (solenoidalFrame T F) (solenoidalFrame T F')).codRestrict |
| 73 | (meanDerivatives T hT FInv) (productDerivative_mem_mean T hT FInv F F' hF hInv) |
| 74 | |
| 75 | /-- The test derivative is the actual product-rule L² field. -/ |
| 76 | @[simp] theorem meanTestMap_coe (v : TimeLp T solenoidalSpace) : |
| 77 | (meanTestMap T hT FInv F F' hF hInv v : TimeLp T L2) = |
| 78 | productDerivative T hT (solenoidalFrame T F) (solenoidalFrame T F') v := rfl |
| 79 | |
| 80 | /-- Its displacement primitive is the actual physical test `F b`. -/ |
| 81 | theorem meanTestMap_primitive (v : TimeLp T solenoidalSpace) : |
| 82 | meanPrimitive T hT FInv (meanTestMap T hT FInv F F' hF hInv v) = |
| 83 | timeMultiplier T hT (solenoidalFrame T F) (primitiveTimeLp T hT v) := |
| 84 | primitiveTimeLp_productDerivative T hT (solenoidalFrame T F) (solenoidalFrame T F') |
| 85 | (solenoidalFrame_hasDerivWithinAt T hT F F' hF) v |
| 86 | |
| 87 | /-- The initial trace of the physical test is exactly `F(0) b(0)`. -/ |
| 88 | theorem meanTestMap_trace (v : TimeLp T solenoidalSpace) : |
| 89 | meanTrace T hT FInv (meanTestMap T hT FInv F F' hF hInv v) = |
| 90 | F ⟨0, le_rfl, hT⟩ ((initialTrace T hT v : solenoidalSpace) : L2) := |
| 91 | initialTrace_productDerivative T hT (solenoidalFrame T F) (solenoidalFrame T F') |
| 92 | (solenoidalFrame_hasDerivWithinAt T hT F F' hF) v |
| 93 | |
| 94 | end EulerMeanVariationalInverse |