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 | import Euler.PacketParentCoefficientBounds |
| 3 | |
| 4 | /-! |
| 5 | # The actual inverse parent flow preserves source Gevrey regularity |
| 6 | |
| 7 | The inverse derivative bounds are derived from the prescribed deformation |
| 8 | and its determinant-one cofactor identity. Neither inverse-flow jets nor |
| 9 | inverse-deformation jets are independent assumptions. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open scoped ContDiff BoundedContinuousFunction |
| 15 | |
| 16 | namespace EulerPacketInverseFlowGevrey |
| 17 | |
| 18 | open Set EulerSmoothLimit EulerGevrey EulerGevreyComposition EulerPacketCofactor |
| 19 | EulerPacketPiola |
| 20 | |
| 21 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 22 | (D : EulerTransversePacketProvider.Data U) |
| 23 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 24 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 25 | (hY : ∀ t, Differentiable ℝ (Y t)) |
| 26 | (hXY : ∀ t x, X t (Y t x) = x) |
| 27 | |
| 28 | include hX hY hXY in |
| 29 | theorem inverseFlow_fderiv (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 30 | fderiv ℝ (Y t) x = D.FInv.field t (Y t x) := by |
| 31 | apply fderiv_eq_inverse_field (X t) (Y t) (D.FInv.field t) |
| 32 | (fun y => (hX t y).differentiableAt) (hY t) (hXY t) |
| 33 | intro y v |
| 34 | rw [(hX t y).fderiv] |
| 35 | exact D.inverse_left t y v |
| 36 | |
| 37 | include hX hY hXY in |
| 38 | theorem inverseFlow_contDiff (t : Icc (0 : ℝ) D.T) : ContDiff ℝ ∞ (Y t) := |
| 39 | contDiff_of_fderiv_eq_comp (Y t) (D.FInv.field t) (hY t) (D.FInv.smooth t) |
| 40 | (inverseFlow_fderiv D X Y hX hY hXY t) |
| 41 | |
| 42 | def sourceInverseRadius (C R : ℝ) : ℝ := 1 + 18*C^2*R |
| 43 | |
| 44 | lemma sourceInverseRadius_eq (C R : ℝ) : |
| 45 | sourceInverseRadius C R = inverseMapRadius (9*C^2) R := by |
| 46 | unfold sourceInverseRadius inverseMapRadius |
| 47 | ring |
| 48 | |
| 49 | lemma sourceInverseRadius_pos (C R : ℝ) (hR : 0 ≤ R) : |
| 50 | 0 < sourceInverseRadius C R := by |
| 51 | rw [sourceInverseRadius_eq] |
| 52 | exact inverseMapRadius_pos _ R (by positivity) hR |
| 53 | |
| 54 | variable (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) |
| 55 | (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det = 1) |
| 56 | (hF : ∀ n t x, |
| 57 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → EndSpace) x‖ ≤ C*majorant R 0 n) |
| 58 | |
| 59 | include hX hY hXY hR hC hdet hF in |
| 60 | theorem inverseFlow_gevrey (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 61 | ‖iteratedFDeriv ℝ (n+1) (Y t) x‖ ≤ |
| 62 | (9*C^2) * (sourceInverseRadius C R)^n * (n.factorial : ℝ)^2 := by |
| 63 | rw [sourceInverseRadius_eq] |
| 64 | apply norm_iteratedFDeriv_of_fderiv_eq_comp (Y t) (D.FInv.field t) |
| 65 | (inverseFlow_contDiff D X Y hX hY hXY t) (D.FInv.smooth t) |
| 66 | (inverseFlow_fderiv D X Y hX hY hXY t) (9*C^2) R (by positivity) hR |
| 67 | intro j y |
| 68 | simpa only [majorant, Nat.add_zero, mul_assoc] using |
| 69 | coefficientInverse_bound D.F D.FInv.field hdet D.inverse_left R C hR hC hF j t y |
| 70 | |
| 71 | include hX hY hXY hR hC hdet hF in |
| 72 | /-- The coordinate change in the physical packet only changes the fixed |
| 73 | Gevrey radius; the small correction amplitude is retained exactly. -/ |
| 74 | theorem pullback_gevrey {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 75 | (g : Icc (0 : ℝ) D.T → Space → V) (hg : ∀ t, ContDiff ℝ ∞ (g t)) |
| 76 | (A S : ℝ) (hA : 0 ≤ A) (hS : 0 ≤ S) |
| 77 | (hgjet : ∀ n t x, ‖iteratedFDeriv ℝ n (g t) x‖ ≤ A*S^n*(n.factorial : ℝ)^2) |
| 78 | (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 79 | ‖iteratedFDeriv ℝ n (fun y => g t (Y t y)) x‖ ≤ |
| 80 | A * (sourceInverseRadius C R * (9*C^2*S+2))^n * (n.factorial : ℝ)^2 := by |
| 81 | rw [sourceInverseRadius_eq] |
| 82 | apply norm_iteratedFDeriv_comp_of_fderiv_eq_comp (Y t) (D.FInv.field t) (g t) |
| 83 | (hY t) (D.FInv.smooth t) (hg t) (inverseFlow_fderiv D X Y hX hY hXY t) |
| 84 | (9*C^2) R A S (by positivity) hR hA hS |
| 85 | · intro j y |
| 86 | simpa only [majorant, Nat.add_zero, mul_assoc] using |
| 87 | coefficientInverse_bound D.F D.FInv.field hdet D.inverse_left R C hR hC hF j t y |
| 88 | · exact fun j y => hgjet j t y |
| 89 | |
| 90 | end EulerPacketInverseFlowGevrey |