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.MeanFrameCoefficients |
| 2 | import Euler.TimeH1FrameTransport |
| 3 | |
| 4 | /-! |
| 5 | # A fixed Hilbert derivative space for the actual mean inverse |
| 6 | |
| 7 | The fixed space is `TimeLp T solenoidalSpace`: the terminal condition is built |
| 8 | into its primitive and the initial value is free. Forward transport differentiates |
| 9 | F times that primitive; backward transport uses the constructed Gram left inverse. |
| 10 | These maps are proved inverse, so no parameter-dependent test space is hidden |
| 11 | when comparing translated or differentiated coefficients. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | |
| 17 | namespace EulerMeanVariationalInverse |
| 18 | |
| 19 | open Set InnerProductSpace ContinuousLinearMap EulerTimeLp EulerTerminalTimePrimitive |
| 20 | EulerMeanSolenoidal EulerVolterraConvolution EulerTimeH1OperatorProduct |
| 21 | EulerTimeH1FrameTransport EulerTransverseGramPath EulerTransverseCoordinateRegularity |
| 22 | EulerTransverseStrongEstimates |
| 23 | |
| 24 | variable (T : ℝ) (hT : 0 ≤ T) |
| 25 | (FInv F F₁ : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 26 | (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) |
| 27 | |
| 28 | /-- Actual bounded derivative transport back to the fixed solenoidal Hilbert space. -/ |
| 29 | def meanBackward : meanDerivatives T hT FInv →L[ℝ] TimeLp T solenoidalSpace := |
| 30 | (productDerivative T hT |
| 31 | (frameLeftInversePath T (solenoidalFrame T F) (meanFrameCoercivity T FInv) |
| 32 | (meanFrameCoercivity_pos T FInv) (solenoidalFrame_lower T FInv F hInv)) |
| 33 | (frameLeftInverseDerivativePath T (solenoidalFrame T F) (solenoidalFrame T F₁) |
| 34 | (meanFrameCoercivity T FInv) (meanFrameCoercivity_pos T FInv) |
| 35 | (solenoidalFrame_lower T FInv F hInv))).comp (meanDerivatives T hT FInv).subtypeL |
| 36 | |
| 37 | variable (hF : ∀ t : Icc (0 : ℝ) T, |
| 38 | HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) |
| 39 | |
| 40 | /-- Forward then backward transport recovers every fixed derivative field. -/ |
| 41 | theorem meanBackward_forward (v : TimeLp T solenoidalSpace) : |
| 42 | meanBackward T hT FInv F F₁ hInv (meanTestMap T hT FInv F F₁ hF hInv v) = v := |
| 43 | coordinateDerivative_productDerivative T hT (solenoidalFrame T F) (solenoidalFrame T F₁) |
| 44 | (meanFrameCoercivity T FInv) (meanFrameCoercivity_pos T FInv) |
| 45 | (solenoidalFrame_lower T FInv F hInv) (solenoidalFrame_hasDerivWithinAt T hT F F₁ hF) v |
| 46 | |
| 47 | /-- Backward then forward transport recovers every admissible mean derivative. -/ |
| 48 | theorem meanForward_backward |
| 49 | (hRight : ∀ (t : Icc (0 : ℝ) T) (x : L2), F t (FInv t x) = x) |
| 50 | (u : meanDerivatives T hT FInv) : |
| 51 | meanTestMap T hT FInv F F₁ hF hInv (meanBackward T hT FInv F F₁ hInv u) = u := by |
| 52 | apply Subtype.ext |
| 53 | exact coordinateDerivative_reconstruct_of_range T hT (solenoidalFrame T F) (solenoidalFrame T F₁) |
| 54 | (meanFrameCoercivity T FInv) (meanFrameCoercivity_pos T FInv) |
| 55 | (solenoidalFrame_lower T FInv F hInv) (solenoidalFrame_hasDerivWithinAt T hT F F₁ hF) |
| 56 | (u : TimeLp T L2) (meanPrimitive_in_frame_range T hT FInv F hRight u) |
| 57 | |
| 58 | /-- A genuine continuous linear equivalence to a coefficient-independent mean space. -/ |
| 59 | def meanTransportEquiv |
| 60 | (hRight : ∀ (t : Icc (0 : ℝ) T) (x : L2), F t (FInv t x) = x) : |
| 61 | TimeLp T solenoidalSpace ≃L[ℝ] meanDerivatives T hT FInv where |
| 62 | toLinearEquiv := |
| 63 | { toFun := meanTestMap T hT FInv F F₁ hF hInv |
| 64 | invFun := meanBackward T hT FInv F F₁ hInv |
| 65 | left_inv := meanBackward_forward T hT FInv F F₁ hInv hF |
| 66 | right_inv := meanForward_backward T hT FInv F F₁ hInv hF hRight |
| 67 | map_add' := map_add _ |
| 68 | map_smul' := map_smul _ } |
| 69 | continuous_toFun := (meanTestMap T hT FInv F F₁ hF hInv).continuous |
| 70 | continuous_invFun := (meanBackward T hT FInv F F₁ hInv).continuous |
| 71 | |
| 72 | /-- Explicit polynomial transport cost for the mean fixed-space formulation. -/ |
| 73 | def meanTransportCost : ℝ := |
| 74 | transportCost T (solenoidalFrame T F) (solenoidalFrame T F₁) (meanFrameCoercivity T FInv) |
| 75 | |
| 76 | include hT in |
| 77 | /-- The actual transport cost is positive. -/ |
| 78 | theorem meanTransportCost_pos : 0 < meanTransportCost T FInv F F₁ := |
| 79 | transportCost_pos T hT (solenoidalFrame T F) (solenoidalFrame T F₁) |
| 80 | (meanFrameCoercivity T FInv) (meanFrameCoercivity_pos T FInv) |
| 81 | |
| 82 | /-- The forward transport retains a quantitative lower kinetic bound. -/ |
| 83 | theorem meanForward_norm_sq_lower (v : TimeLp T solenoidalSpace) : |
| 84 | (meanTransportCost T FInv F F₁)⁻¹^2*‖v‖^2 ≤ |
| 85 | ‖meanTestMap T hT FInv F F₁ hF hInv v‖^2 := |
| 86 | productDerivative_norm_sq_lower T hT (solenoidalFrame T F) (solenoidalFrame T F₁) |
| 87 | (meanFrameCoercivity T FInv) (meanFrameCoercivity_pos T FInv) |
| 88 | (solenoidalFrame_lower T FInv F hInv) (solenoidalFrame_hasDerivWithinAt T hT F F₁ hF) v |
| 89 | |
| 90 | end EulerMeanVariationalInverse |