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.PacketPhysicalFrequencyBounds |
| 2 | |
| 3 | /-! The physical pressure force κF⁻ᵀp has the same fixed polynomial |
| 4 | frequency losses as the velocity correction. The inverse-transpose |
| 5 | coefficient bounds follow from the actual determinant-one deformation. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketPhysicalGevrey |
| 10 | |
| 11 | open Set EulerSmoothLimit EulerLiftedGradientSpace EulerMetricTransport EulerCylinderSobolev |
| 12 | EulerCylinderPhysicalTensor EulerPacketInverseFlowGevrey EulerPacketPiola |
| 13 | EulerOperatorGevreyCalculus EulerGevrey EulerTransverseGramInverse EulerPacketCofactor |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 17 | (D : EulerTransversePacketProvider.Data U) (P κ k : ℝ) |
| 18 | (e : Icc (0 : ℝ) D.T → LiftDomain P → Space) |
| 19 | (he : ∀ t x, ContDiff ℝ ∞ (localFieldLift P (e t) x)) |
| 20 | |
| 21 | def graphPressureForce (t : Icc (0 : ℝ) D.T) (x : Space) : Space := |
| 22 | κ • (D.FInv.field t x).adjoint (physicalField P k D.m₀ (e t) x) |
| 23 | |
| 24 | include he in |
| 25 | theorem graphPressureForce_contDiff (t : Icc (0 : ℝ) D.T) : |
| 26 | ContDiff ℝ ∞ (graphPressureForce D P κ k e t) := |
| 27 | ((((realAdjoint (U := Space) (E := Space)).contDiff.comp (D.FInv.smooth t))).clm_apply |
| 28 | (physicalField_contDiff P k D.m₀ (e t) (he t))).const_smul κ |
| 29 | |
| 30 | variable (R C A S : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hA : 0 ≤ A) (hS : 0 ≤ S) |
| 31 | (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) |
| 32 | (hF : ∀ n t x, |
| 33 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ C*majorant R 0 n) |
| 34 | (hb : ∀ n t x, (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative P w (e t) x‖) ≤ |
| 35 | A*S^n*(n.factorial : ℝ)^2) |
| 36 | |
| 37 | include hR hC hdet hF in |
| 38 | theorem inverseTranspose_gevrey (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 39 | ‖iteratedFDeriv ℝ n (fun y => (D.FInv.field t y).adjoint) x‖ ≤ |
| 40 | (9*C^2)*majorant R 0 n := |
| 41 | adjoint_bound (D.FInv.field t) (D.FInv.smooth t) R (9*C^2) hR (by positivity) 0 |
| 42 | (fun j y => coefficientInverse_bound D.F D.FInv.field hdet D.inverse_left R C hR hC hF j t y) n x |
| 43 | |
| 44 | include he hR hC hA hS hdet hF hb in |
| 45 | theorem graphPressureForce_gevrey (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 46 | ‖iteratedFDeriv ℝ n (graphPressureForce D P κ k e t) x‖ ≤ |
| 47 | (|κ| *27*C^2*A)*majorant (R+frequencyFactor k D.m₀*S) 0 n := by |
| 48 | let Rg := R+frequencyFactor k D.m₀*S |
| 49 | have hRg : 0 ≤ Rg := add_nonneg hR (mul_nonneg (frequencyFactor_nonneg k D.m₀) hS) |
| 50 | have hFR : ∀ n x, ‖iteratedFDeriv ℝ n (fun y => (D.FInv.field t y).adjoint) x‖ ≤ |
| 51 | (9*C^2)*majorant Rg 0 n := fun n x => (inverseTranspose_gevrey D R C hR hC hdet hF n t x).trans |
| 52 | (mul_le_mul_of_nonneg_left (majorant_radius_mono R Rg hR |
| 53 | (le_add_of_nonneg_right (mul_nonneg (frequencyFactor_nonneg k D.m₀) hS)) 0 n) (by positivity)) |
| 54 | have heR : ∀ n x, ‖iteratedFDeriv ℝ n (physicalField P k D.m₀ (e t)) x‖ ≤ |
| 55 | A*majorant Rg 0 n := fun n x => |
| 56 | (physicalField_gevrey P k D.m₀ (e t) (he t) A S (fun n x => hb n t x) n x).trans |
| 57 | (mul_le_mul_of_nonneg_left (majorant_radius_mono (frequencyFactor k D.m₀*S) Rg |
| 58 | (mul_nonneg (frequencyFactor_nonneg k D.m₀) hS) (le_add_of_nonneg_left hR) 0 n) hA) |
| 59 | have hI : ContDiff ℝ ∞ (fun y => (D.FInv.field t y).adjoint) := |
| 60 | (realAdjoint (U := Space) (E := Space)).contDiff.comp (D.FInv.smooth t) |
| 61 | have hprod := clm_apply_bound (fun y => (D.FInv.field t y).adjoint) (physicalField P k D.m₀ (e t)) |
| 62 | hI (physicalField_contDiff P k D.m₀ (e t) (he t)) Rg (9*C^2) A hRg (by positivity) hA 0 0 hFR heR n x |
| 63 | change ‖iteratedFDeriv ℝ n (fun y => κ • ((D.FInv.field t y).adjoint |
| 64 | (physicalField P k D.m₀ (e t) y))) x‖ ≤ _ |
| 65 | rw [iteratedFDeriv_const_smul_apply' |
| 66 | ((hI.clm_apply (physicalField_contDiff P k D.m₀ (e t) (he t))).contDiffAt.of_le |
| 67 | (by simp : (n : ℕ∞ω) ≤ ∞)),norm_smul,Real.norm_eq_abs] |
| 68 | exact (mul_le_mul_of_nonneg_left hprod (abs_nonneg κ)).trans_eq (by simp only [Nat.zero_add]; ring) |
| 69 | |
| 70 | variable (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 71 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 72 | (hY : ∀ t, Differentiable ℝ (Y t)) |
| 73 | (hXY : ∀ t x, X t (Y t x)=x) |
| 74 | |
| 75 | def physicalPressureForce (t : Icc (0 : ℝ) D.T) (x : Space) : Space := |
| 76 | graphPressureForce D P κ k e t (Y t x) |
| 77 | |
| 78 | include he hR hC hA hS hF hb hX hY hXY hdet in |
| 79 | theorem physicalPressureForce_gevrey (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 80 | ‖iteratedFDeriv ℝ n (physicalPressureForce D P κ k e Y t) x‖ ≤ |
| 81 | (|κ| *27*C^2*A)*(physicalRadius D k R C S)^n*(n.factorial : ℝ)^2 := by |
| 82 | apply pullback_gevrey D X Y hX hY hXY R C hR hC hdet hF |
| 83 | (graphPressureForce D P κ k e) (graphPressureForce_contDiff D P κ k e he) |
| 84 | (|κ| *27*C^2*A) (R+frequencyFactor k D.m₀*S) (by positivity) |
| 85 | (add_nonneg hR (mul_nonneg (frequencyFactor_nonneg k D.m₀) hS)) _ n t x |
| 86 | intro j s y |
| 87 | simpa only [majorant,Nat.add_zero,mul_assoc] using |
| 88 | graphPressureForce_gevrey D P κ k e he R C A S hR hC hA hS hdet hF hb j s y |
| 89 | |
| 90 | include he hR hC hA hS hF hb hX hY hXY hdet in |
| 91 | theorem physicalPressureForce_power_bound (hk : 1 ≤ k) (hκ : |κ| ≤ 1) |
| 92 | (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 93 | ‖iteratedFDeriv ℝ n (physicalPressureForce D P κ k e Y t) x‖ ≤ |
| 94 | (9*C*physicalFixedCost D R C S n)*A*k^n := by |
| 95 | have h := physicalPressureForce_gevrey D P κ k e he R C A S hR hC hA hS hdet hF hb |
| 96 | X Y hX hY hXY n t x |
| 97 | have hL := (sourceInverseRadius_pos C R hR).le |
| 98 | have hr : 0 ≤ physicalRadius D k R C S := by |
| 99 | unfold physicalRadius |
| 100 | have hf := frequencyFactor_nonneg k D.m₀ |
| 101 | positivity |
| 102 | have ha : |κ| *27*C^2*A ≤ 27*C^2*A := by |
| 103 | simpa only [one_mul,mul_assoc] using |
| 104 | mul_le_mul_of_nonneg_right hκ (by positivity : 0 ≤ 27*C^2*A) |
| 105 | have hbnd := mul_le_mul ha |
| 106 | (pow_le_pow_left₀ hr (physicalRadius_le_linear D k R C S hk hR hS) n) |
| 107 | (pow_nonneg hr n) (by positivity) |
| 108 | exact h.trans ((mul_le_mul_of_nonneg_right hbnd (sq_nonneg (n.factorial : ℝ))).trans_eq |
| 109 | (by unfold physicalFixedCost; rw [mul_pow]; ring)) |
| 110 | |
| 111 | end EulerPacketPhysicalGevrey |