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.GevreyInverseMap |
| 2 | |
| 3 | /-! |
| 4 | # Joint continuity of the spatial jets of an inverse map |
| 5 | |
| 6 | The parameter may range over an arbitrary topological space. Joint |
| 7 | continuity of the map itself and of the prescribed coefficient jets, plus |
| 8 | the actual equation `DY = A ∘ Y`, determines joint continuity of every |
| 9 | spatial derivative of `Y`. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open scoped BigOperators ContDiff |
| 15 | |
| 16 | namespace EulerGevreyComposition |
| 17 | |
| 18 | variable {K E F : Type*} [TopologicalSpace K] |
| 19 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 20 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 21 | |
| 22 | /-- No continuity of inverse-map derivatives is an input: it follows from |
| 23 | the prescribed differential identity and the coefficient's actual jets. -/ |
| 24 | theorem continuous_iteratedFDeriv_of_fderiv_eq_comp |
| 25 | (Y : K → E → F) (A : K → F → E →L[ℝ] F) |
| 26 | (hY : Continuous (Function.uncurry Y)) |
| 27 | (hYdiff : ∀ t, Differentiable ℝ (Y t)) |
| 28 | (hA : ∀ t, ContDiff ℝ ∞ (A t)) |
| 29 | (hAjet : ∀ n, Continuous (fun p : K × F => iteratedFDeriv ℝ n (A p.1) p.2)) |
| 30 | (hDY : ∀ t x, fderiv ℝ (Y t) x = A t (Y t x)) |
| 31 | (n : ℕ) : |
| 32 | Continuous (fun p : K × E => iteratedFDeriv ℝ n (Y p.1) p.2) := by |
| 33 | have hYs (t : K) : ContDiff ℝ ∞ (Y t) := |
| 34 | contDiff_of_fderiv_eq_comp (Y t) (A t) (hYdiff t) (hA t) (hDY t) |
| 35 | induction n using Nat.strong_induction_on with |
| 36 | | h n ih => |
| 37 | cases n with |
| 38 | | zero => |
| 39 | exact (continuousMultilinearCurryFin0 ℝ E F).symm.continuous.comp hY |
| 40 | | succ m => |
| 41 | have hsum : Continuous (fun p : K × E => |
| 42 | ∑ c : OrderedFinpartition m, |
| 43 | c.compAlongOrderedFinpartition |
| 44 | (iteratedFDeriv ℝ c.length (A p.1) (Y p.1 p.2)) |
| 45 | (fun i => iteratedFDeriv ℝ (c.partSize i) (Y p.1) p.2)) := by |
| 46 | apply continuous_finsetSum |
| 47 | intro c _ |
| 48 | have hq : Continuous (fun p : K × E => |
| 49 | iteratedFDeriv ℝ c.length (A p.1) (Y p.1 p.2)) := |
| 50 | (hAjet c.length).comp (continuous_fst.prodMk hY) |
| 51 | have hp : Continuous (fun p : K × E => |
| 52 | fun i : Fin c.length => iteratedFDeriv ℝ (c.partSize i) (Y p.1) p.2) := |
| 53 | continuous_pi (fun i => ih (c.partSize i) (Nat.lt_succ_of_le (c.partSize_le i))) |
| 54 | exact (c.compAlongOrderedFinpartitionL ℝ E F (E →L[ℝ] F)).continuous_uncurry_of_multilinear.comp |
| 55 | (hq.prodMk hp) |
| 56 | have heq : (fun p : K × E => iteratedFDeriv ℝ (m+1) (Y p.1) p.2) = |
| 57 | fun p => (continuousMultilinearCurryRightEquiv' ℝ m E F).symm |
| 58 | (∑ c : OrderedFinpartition m, |
| 59 | c.compAlongOrderedFinpartition |
| 60 | (iteratedFDeriv ℝ c.length (A p.1) (Y p.1 p.2)) |
| 61 | (fun i => iteratedFDeriv ℝ (c.partSize i) (Y p.1) p.2)) := by |
| 62 | funext p |
| 63 | rw [iteratedFDeriv_succ_eq_comp_right] |
| 64 | change (continuousMultilinearCurryRightEquiv' ℝ m E F).symm |
| 65 | (iteratedFDeriv ℝ m (fderiv ℝ (Y p.1)) p.2) = _ |
| 66 | congr 1 |
| 67 | rw [show fderiv ℝ (Y p.1) = A p.1 ∘ Y p.1 from funext (hDY p.1)] |
| 68 | rw [iteratedFDeriv_comp (hA p.1).contDiffAt (hYs p.1).contDiffAt (by simp)] |
| 69 | rfl |
| 70 | rw [heq] |
| 71 | exact (continuousMultilinearCurryRightEquiv' ℝ m E F).symm.continuous.comp hsum |
| 72 | |
| 73 | end EulerGevreyComposition |