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.PacketInitializedRemainder |
| 2 | import Euler.PacketPrimaryDynamics |
| 3 | import Euler.AllOrderDriftFieldDecomposition |
| 4 | import Euler.PacketPhysicalGevrey |
| 5 | |
| 6 | /-! The exact corrected packet has the same primary shear, with the |
| 7 | literal finite-tail and correction derivatives as its only errors. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerPacketTerminalDatum |
| 12 | |
| 13 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerSpatialCutoffs |
| 14 | EulerTransversePacketProvider EulerPacketCylinderField EulerPacketProfileRecursion |
| 15 | EulerPacketPointJets EulerPacketTimeProfile EulerParameterWordGevrey |
| 16 | EulerPacketCoarseMajorant EulerCylinderPhysicalTensor EulerCylinderSobolevSpace |
| 17 | EulerPacketPrimaryShear EulerPacketPrimaryFactorization EulerTransversePacketPrimary |
| 18 | EulerLiftedGradientSpace EulerGraphPressurePotential EulerAllOrderDriftCorrection |
| 19 | EulerPacketCoordinates EulerPacketCorrectionCoefficients EulerPacketPhysicalGevrey |
| 20 | open scoped ContDiff |
| 21 | |
| 22 | variable (M : EulerMeanPacketProvider.Data) |
| 23 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 24 | (D : Data U) (hTime : M.T = D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 25 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 26 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 27 | (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 28 | (Q : Budget period D.T_pos |
| 29 | (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk)) |
| 30 | |
| 31 | def initializedExactPhysicalVelocity (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : Space := |
| 32 | k⁻¹ • D.F.field t (Y x) |
| 33 | ((initializedExactPacket M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk Q).velocity.pointField |
| 34 | t (cylinderGraph period k D.m₀ (Y x))) |
| 35 | |
| 36 | /-- The approximation is exactly the finite physical velocity after |
| 37 | undoing its true normalized coordinate transformation. -/ |
| 38 | theorem initializedExactPhysicalVelocity_eq (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : |
| 39 | initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk Q t Y x = |
| 40 | initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 41 | (t,(Y x,k*inner ℝ D.m₀ (Y x))) + |
| 42 | k⁻¹ • D.F.field t (Y x) (Q.pointField period t (cylinderGraph period k D.m₀ (Y x))) := by |
| 43 | have hk0 : k ≠ 0 := by linarith |
| 44 | have ha : (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk).approximation = |
| 45 | (coordinateField D (initializedVelocityField M D hTime τ hτ hτT B δ hδ ξ hs α N k⁻¹) k).toFieldTower := |
| 46 | initializedNormalizedField_tower_eq M D hTime τ hτ hτT B δ hδ ξ hs α N k |
| 47 | change k⁻¹ • D.F.field t (Y x) |
| 48 | ((exactPacketOfResidual period Q |
| 49 | (initializedApproximationResidual M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk)).velocity.pointField |
| 50 | t (cylinderGraph period k D.m₀ (Y x))) = _ |
| 51 | rw [exactPacketOfResidual_velocity_pointField,ha,map_add,smul_add] |
| 52 | congr 1 |
| 53 | have he := (coordinateField D (initializedVelocityField M D hTime τ hτ hτT B δ hδ ξ hs α N k⁻¹) k).toFieldTower_pointField_raw |
| 54 | t (Y x) (k*inner ℝ D.m₀ (Y x)) |
| 55 | rw [show cylinderGraph period k D.m₀ (Y x) = |
| 56 | (Y x,((k*inner ℝ D.m₀ (Y x) : ℝ) : AddCircle period)) from rfl,he] |
| 57 | simp only [coordinate,rawInverse,Data.clamp_coe,map_smul,D.inverse_right, |
| 58 | smul_smul,inv_mul_cancel₀ hk0,one_smul] |
| 59 | |
| 60 | theorem initializedExactPhysicalVelocity_fderiv (t : Icc (0 : ℝ) D.T) |
| 61 | (Y : Space → Space) (x : Space) (hY : DifferentiableAt ℝ Y x) : |
| 62 | fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α |
| 63 | Cagree N hN k hk Q t Y) x = |
| 64 | fderiv ℝ (fun y => initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 65 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) x + |
| 66 | fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y y) |
| 67 | (Q.pointField period t (cylinderGraph period k D.m₀ (Y y)))) x := by |
| 68 | have hw : DifferentiableAt ℝ (fun y => initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 69 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) x := by |
| 70 | simpa only [Function.comp_def] using |
| 71 | (((initializedVelocityField M D hTime τ hτ hτT B δ hδ ξ hs α N k⁻¹).raw_graph_contDiff |
| 72 | t k D.m₀).differentiable (by simp) (Y x)).comp x hY |
| 73 | have he : DifferentiableAt ℝ (fun y => k⁻¹ • D.F.field t (Y y) |
| 74 | (Q.pointField period t (cylinderGraph period k D.m₀ (Y y)))) x := by |
| 75 | simpa only [Function.comp_def,graphReconstruction,physicalField] using |
| 76 | ((graphReconstruction_contDiff D period k⁻¹ k (Q.pointField period) |
| 77 | (Q.pointField_smooth period) t).differentiable (by simp) (Y x)).comp x hY |
| 78 | have hfun := funext (initializedExactPhysicalVelocity_eq M D hTime τ hτ hτT B δ hδ ξ hs α |
| 79 | Cagree N hN k hk Q t Y) |
| 80 | rw [hfun] |
| 81 | exact fderiv_fun_add hw he |
| 82 | |
| 83 | variable |
| 84 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 85 | (H : EulerTransversePacketPrimary.Budget L) |
| 86 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 87 | (W : EulerTransversePacketJoin.Budget.GradeGuards (P := period) L NB) |
| 88 | (LM : EulerMeanPacketProvider.Budget M 6 L.R) |
| 89 | (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) |
| 90 | (BC : CoefficientBudget (joinedSourceCoefficientData period M D τ hτ hτT B hTime)) |
| 91 | (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) |
| 92 | (hδ1 : δ ≤ 1) (hα : 0 < α) (hR : wordRadius (Fin 4) δ ≤ L.R) |
| 93 | (WP : EulerTransversePacketPrimary.Budget.GradeGuards (P := period) H NB (wordCost (Fin 4) 6 δ*‖ξ‖)) |
| 94 | (S : Scales (Icc (0 : ℝ) M.T)) |
| 95 | (hgrowth : timeProfileChange S.growth hTime=α • L.fullProfile) |
| 96 | |
| 97 | include H NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth |
| 98 | |
| 99 | theorem initializedExactPhysicalVelocity_gradient_error |
| 100 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 101 | (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) |
| 102 | (hX : HasFDerivAt X (D.F.field t 0) 0) |
| 103 | (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : |
| 104 | ‖fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α |
| 105 | Cagree N hN k hk Q t Y) (X 0) - |
| 106 | (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0)‖ ≤ |
| 107 | (initializedRemainderDerivativeCost L.R S.H0/k)*‖D.FInv.field t 0‖ + |
| 108 | ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y y) |
| 109 | (Q.pointField period t (cylinderGraph period k D.m₀ (Y y)))) (X 0)‖ := by |
| 110 | rw [initializedExactPhysicalVelocity_fderiv M D hTime τ hτ hτT B δ hδ ξ hs α |
| 111 | Cagree N hN k hk Q t Y (X 0) hY] |
| 112 | have he : ∀ A E R : Space →L[ℝ] Space, A+E-R=(A-R)+E := by intros; abel |
| 113 | rw [he] |
| 114 | exact (norm_add_le _ _).trans (add_le_add |
| 115 | (initializedVelocity_gradient_error M D hTime τ hτ hτT B δ hδ ξ hs α |
| 116 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase t X Y hX hY hleft) le_rfl) |
| 117 | |
| 118 | end EulerPacketTerminalDatum |