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.ContinuousInverseDerivative |
| 2 | import Euler.PacketInverseFlowContinuity |
| 3 | |
| 4 | /-! The actual inverse parent flow needs only continuity as an input. |
| 5 | Its differentiability, smooth spatial slices, and jointly continuous |
| 6 | spatial jets follow from the prescribed Jacobian and inverse identities. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open scoped ContDiff |
| 11 | |
| 12 | namespace EulerPacketInverseFlowGevrey |
| 13 | |
| 14 | open Set EulerSmoothLimit EulerContinuousInverseDerivative |
| 15 | |
| 16 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 17 | (D : EulerTransversePacketProvider.Data U) |
| 18 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 19 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 20 | (hXY : ∀ t x, X t (Y t x) = x) |
| 21 | (hY : Continuous (Function.uncurry Y)) |
| 22 | |
| 23 | include hX hXY hY in |
| 24 | theorem continuousInverse_hasFDerivAt (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 25 | HasFDerivAt (Y t) (D.FInv.field t (Y t x)) x := |
| 26 | hasFDerivAt_inverse (X t) (Y t) x (D.F.field t (Y t x)) (D.FInv.field t (Y t x)) |
| 27 | (hY.uncurry_left t).continuousAt (hX t (Y t x)) |
| 28 | (Filter.Eventually.of_forall (hXY t)) (D.inverse_left t (Y t x)) |
| 29 | |
| 30 | include hX hXY hY in |
| 31 | theorem continuousInverse_differentiable (t : Icc (0 : ℝ) D.T) : |
| 32 | Differentiable ℝ (Y t) := |
| 33 | fun x => (continuousInverse_hasFDerivAt D X Y hX hXY hY t x).differentiableAt |
| 34 | |
| 35 | include hX hXY hY in |
| 36 | theorem continuousInverse_contDiff (t : Icc (0 : ℝ) D.T) : ContDiff ℝ ∞ (Y t) := |
| 37 | inverseFlow_contDiff D X Y hX (continuousInverse_differentiable D X Y hX hXY hY) hXY t |
| 38 | |
| 39 | include hX hXY hY in |
| 40 | theorem continuousInverse_jet_continuous (n : ℕ) : |
| 41 | Continuous (fun p : Icc (0 : ℝ) D.T × Space => |
| 42 | iteratedFDeriv ℝ n (Y p.1) p.2) := |
| 43 | inverseFlow_jet_continuous D X Y hX |
| 44 | (continuousInverse_differentiable D X Y hX hXY hY) hXY hY n |
| 45 | |
| 46 | end EulerPacketInverseFlowGevrey |