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.PacketPressureFastHessian |
| 2 | import Euler.PacketPhysicalPressureGevrey |
| 3 | import Euler.TransversePacketNormalBudget |
| 4 | |
| 5 | /-! Quantitative Hessian errors retain one inverse-frequency factor. |
| 6 | The coefficient bounds are those of the actual source deformation. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketGraphHessian |
| 11 | |
| 12 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerGraphPullback |
| 13 | EulerLiftedGradientSpace EulerPacketCylinderField EulerPacketProfileRecursion |
| 14 | EulerPacketPointJets EulerGevrey EulerCylinderCoordinates EulerCylinderSobolevSpace |
| 15 | EulerTransversePacketProvider EulerPacketPhysicalGevrey EulerCylinderPhysicalTensor EulerCylinderSobolev |
| 16 | open scoped ContDiff |
| 17 | |
| 18 | variable {P : ℝ} [Fact (0 < P)] |
| 19 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 20 | {D : Data U} {q : ℕ} {R₀ : ℝ} (NB : EulerTransversePacketJoin.NormalBudget D q R₀) |
| 21 | |
| 22 | def fastHessianCost (R A : ℝ) : ℝ := |
| 23 | sobolevEmbeddingConstant P 3*A*NB.C^2*(NB.Rc+‖coordinateEquiv.symm.toContinuousLinearMap‖*R) |
| 24 | |
| 25 | theorem fastHessianRemainder_bound (a : ScalarField) |
| 26 | (G : Field P D.T (fun z => a z • D.m₀)) |
| 27 | (R A : ℝ) (hR : 0 ≤ R) (hA : 0 ≤ A) (hG : G.WordBound 6 R A 0) |
| 28 | (k : ℝ) (hk : 0 < k) (t : Icc (0 : ℝ) D.T) (Y : Space → Space) |
| 29 | (x : Space) (hY : HasFDerivAt Y (D.FInv.field t (Y x)) x) |
| 30 | (ha : DifferentiableAt ℝ (fun z => a (t,z)) (graphMap k D.m₀ (Y x))) : |
| 31 | ‖fastHessianRemainder (fun z => a (t,z)) k D.m₀ Y |
| 32 | (fun y => D.FInv.field t (Y y)) x‖ ≤ fastHessianCost (P := P) NB R A/k := by |
| 33 | let z := graphMap k D.m₀ (Y x) |
| 34 | have hs := sobolevEmbeddingConstant_nonneg P 3 |
| 35 | have hC := NB.C_nonneg |
| 36 | have hRc := NB.Rc_nonneg |
| 37 | have hval : |a (t,z)| ≤ sobolevEmbeddingConstant P 3*A := by |
| 38 | have h := hG.raw_graph_norm_le (by norm_num) t k D.m₀ (Y x) |
| 39 | simpa only [z,graphMap_apply,norm_smul,Real.norm_eq_abs,D.m₀_unit,mul_one] using h |
| 40 | have hda : ‖fderiv ℝ (fun z => a (t,z)) z‖ ≤ |
| 41 | ‖coordinateEquiv.symm.toContinuousLinearMap‖*(sobolevEmbeddingConstant P 3*A*R) := by |
| 42 | have h := hG.raw_fderiv_le (by norm_num) t z |
| 43 | rw [norm_fderiv_smul_unit (fun z => a (t,z)) D.m₀ D.m₀_unit z ha] at h |
| 44 | simpa [majorant] using h |
| 45 | have hJ : ‖D.FInv.field t (Y x)‖ ≤ NB.C := by simpa [majorant] using NB.inverse_bound 0 t (Y x) |
| 46 | have hn : ‖D.normal.field t (Y x)‖ ≤ NB.C := by simpa [majorant] using NB.normal_bound 0 t (Y x) |
| 47 | have hnd : ‖fderiv ℝ (D.normal.field t : Space → Space) (Y x)‖ ≤ NB.C*NB.Rc := by |
| 48 | simpa [majorant] using NB.normal_bound 1 t (Y x) |
| 49 | have hnder : fderiv ℝ (transportedNormal D.m₀ (fun y => D.FInv.field t (Y y))) x = |
| 50 | (fderiv ℝ (D.normal.field t : Space → Space) (Y x)).comp (D.FInv.field t (Y x)) := |
| 51 | (((D.normal.smooth t).differentiable (by simp) (Y x)).hasFDerivAt.comp x hY).fderiv |
| 52 | have hnD : ‖fderiv ℝ (transportedNormal D.m₀ (fun y => D.FInv.field t (Y y))) x‖ ≤ |
| 53 | (NB.C*NB.Rc)*NB.C := by |
| 54 | rw [hnder] |
| 55 | exact (opNorm_comp_le _ _).trans (mul_le_mul hnd hJ (norm_nonneg _) (mul_nonneg hC hRc)) |
| 56 | have h1 := mul_le_mul hval hnD (norm_nonneg _) (mul_nonneg hs hA) |
| 57 | have h2 := mul_le_mul hda hJ (norm_nonneg _) (by positivity) |
| 58 | have h3 := mul_le_mul h2 hn (norm_nonneg _) (by positivity) |
| 59 | have h := fastHessianRemainder_norm_le (fun z => a (t,z)) k D.m₀ Y |
| 60 | (fun y => D.FInv.field t (Y y)) x |
| 61 | rw [abs_of_pos (inv_pos.mpr hk)] at h |
| 62 | exact h.trans ((mul_le_mul_of_nonneg_left (add_le_add h1 h3) (inv_pos.mpr hk).le).trans_eq |
| 63 | (by unfold fastHessianCost; ring)) |
| 64 | |
| 65 | variable (D) {raw : VectorField} (G : Field P D.T raw) |
| 66 | |
| 67 | def physicalCovector (_G : Field P D.T raw) (k : ℝ) (Y : Icc (0 : ℝ) D.T → Space → Space) |
| 68 | (t : Icc (0 : ℝ) D.T) (x : Space) : Space := |
| 69 | (D.FInv.field t (Y t x)).adjoint (raw (t,(Y t x,k*⟪D.m₀,Y t x⟫_ℝ))) |
| 70 | |
| 71 | theorem physicalCovector_error_bound (R A : ℝ) (hR : 0 ≤ R) (hA : 0 ≤ A) |
| 72 | (k : ℝ) (hk : 1 ≤ k) (hG : G.WordBound 6 R (A/k^2) 0) |
| 73 | (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) |
| 74 | (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) |
| 75 | (hF : ∀ n t x, |
| 76 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C*majorant Rc 0 n) |
| 77 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 78 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 79 | (hY : ∀ t, Differentiable ℝ (Y t)) (hXY : ∀ t x, X t (Y t x)=x) |
| 80 | (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 81 | ‖fderiv ℝ (physicalCovector D G k Y t) x‖ ≤ |
| 82 | (9*C*physicalFixedCost D Rc C R 1*sobolevEmbeddingConstant P 3*A)/k := by |
| 83 | have hk0 : k ≠ 0 := by linarith |
| 84 | have hb : ∀ n t z, (∑ w : Fin n → Fin 4, |
| 85 | ‖iteratedFieldDerivative P w (G.toFieldTower.pointField t) z‖) ≤ |
| 86 | (sobolevEmbeddingConstant P 3*(A/k^2))*R^n*(n.factorial : ℝ)^2 := by |
| 87 | intro n s z |
| 88 | simpa [majorant,mul_assoc] using hG.pointField_wordSum_le (by norm_num) s n z |
| 89 | have h := physicalPressureForce_power_bound D P 1 k G.toFieldTower.pointField |
| 90 | G.toFieldTower.pointField_smooth Rc C (sobolevEmbeddingConstant P 3*(A/k^2)) R |
| 91 | hRc hC (mul_nonneg (sobolevEmbeddingConstant_nonneg P 3) (div_nonneg hA (sq_nonneg k))) |
| 92 | hR hdet hF hb X Y hX hY hXY hk (by norm_num) 1 t x |
| 93 | have he : physicalPressureForce D P 1 k G.toFieldTower.pointField Y t = |
| 94 | physicalCovector D G k Y t := by |
| 95 | funext y |
| 96 | simp only [physicalPressureForce,graphPressureForce,physicalField, |
| 97 | EulerGraphPressurePotential.cylinderGraph,one_smul,physicalCovector, |
| 98 | G.toFieldTower_pointField_raw] |
| 99 | rw [he,norm_iteratedFDeriv_one] at h |
| 100 | exact h.trans_eq (by simp only [pow_one]; field_simp) |
| 101 | |
| 102 | end EulerPacketGraphHessian |