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.PacketInverseFlowGevrey |
| 2 | |
| 3 | /-! A finite-order Sobolev composition constant obtained from the actual |
| 4 | parent deformation. No inverse-flow derivative budget is assumed. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketInverseFlowGevrey |
| 9 | |
| 10 | open Set EulerSmoothLimit EulerGevrey EulerPacketPiola |
| 11 | open scoped ContDiff BoundedContinuousFunction |
| 12 | |
| 13 | def finiteOrderConstant (C R : ℝ) (n : ℕ) : ℝ := |
| 14 | 1+9*C^2*(sourceInverseRadius C R)^n*(n.factorial : ℝ)^2 |
| 15 | |
| 16 | theorem sourceInverseRadius_one_le (C R : ℝ) (hR : 0 ≤ R) : |
| 17 | 1 ≤ sourceInverseRadius C R := by |
| 18 | unfold sourceInverseRadius |
| 19 | have h : 0 ≤ 18*C^2*R := by positivity |
| 20 | linarith |
| 21 | |
| 22 | theorem finiteOrderConstant_one_le (C R : ℝ) (hR : 0 ≤ R) (n : ℕ) : |
| 23 | 1 ≤ finiteOrderConstant C R n := by |
| 24 | have hL := (sourceInverseRadius_pos C R hR).le |
| 25 | unfold finiteOrderConstant |
| 26 | have h : 0 ≤ 9*C^2*(sourceInverseRadius C R)^n*(n.factorial : ℝ)^2 := by positivity |
| 27 | linarith |
| 28 | |
| 29 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 30 | (D : EulerTransversePacketProvider.Data U) |
| 31 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 32 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 33 | (hY : ∀ t, Differentiable ℝ (Y t)) |
| 34 | (hXY : ∀ t x, X t (Y t x) = x) |
| 35 | (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) |
| 36 | (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det = 1) |
| 37 | (hF : ∀ n t x, |
| 38 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ C*majorant R 0 n) |
| 39 | |
| 40 | include hX hY hXY hR hC hdet hF in |
| 41 | theorem inverseFlow_finiteOrderBound (n i : ℕ) (hi : 1 ≤ i) (hin : i ≤ n) |
| 42 | (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 43 | ‖iteratedFDeriv ℝ i (Y t) x‖ ≤ (finiteOrderConstant C R n)^i := by |
| 44 | obtain ⟨j,rfl⟩ := Nat.exists_eq_succ_of_ne_zero (by omega : i ≠ 0) |
| 45 | have hjn : j ≤ n := by omega |
| 46 | have hL := sourceInverseRadius_one_le C R hR |
| 47 | have hD := finiteOrderConstant_one_le C R hR n |
| 48 | have hfac : (j.factorial : ℝ) ≤ (n.factorial : ℝ) := by |
| 49 | exact_mod_cast Nat.factorial_le hjn |
| 50 | have hbound : 9*C^2*(sourceInverseRadius C R)^j*(j.factorial : ℝ)^2 ≤ |
| 51 | 9*C^2*(sourceInverseRadius C R)^n*(n.factorial : ℝ)^2 := by |
| 52 | gcongr |
| 53 | calc |
| 54 | _ ≤ 9*C^2*(sourceInverseRadius C R)^j*(j.factorial : ℝ)^2 := |
| 55 | inverseFlow_gevrey D X Y hX hY hXY R C hR hC hdet hF j t x |
| 56 | _ ≤ finiteOrderConstant C R n := by |
| 57 | exact hbound.trans (by unfold finiteOrderConstant; linarith) |
| 58 | _ = (finiteOrderConstant C R n)^1 := (pow_one _).symm |
| 59 | _ ≤ _ := pow_le_pow_right₀ hD hi |
| 60 | |
| 61 | end EulerPacketInverseFlowGevrey |