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.PacketForwardPressureRemainder |
| 2 | import Euler.PacketPressureFastBounds |
| 3 | import Euler.PacketForwardPrimaryShear |
| 4 | |
| 5 | /-! The actual finite pressure Hessian is its primary normal tensor plus |
| 6 | a uniform inverse-frequency error. No derivative or remainder estimate |
| 7 | is assumed for a solved field. -/ |
| 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 EulerPacketPressure EulerPacketGraphHessian |
| 17 | EulerGraphPullback EulerPacketForwardPrimary EulerPeriodicProfile |
| 18 | EulerPacketInverseFlowGevrey EulerPacketPhysicalGevrey EulerGevrey |
| 19 | EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 20 | open scoped ContDiff |
| 21 | |
| 22 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 23 | |
| 24 | def forwardInitializedPressureHessianCost {D : Data U} {q : ℕ} {R₀ : ℝ} |
| 25 | (NB : EulerTransversePacketJoin.NormalBudget D q R₀) (R H0 Rc C : ℝ) : ℝ := |
| 26 | fastHessianCost (P := period) NB (4*R) (fixedVelocityGradeCost R H0 1)+ |
| 27 | 9*C*physicalFixedCost D Rc C (4*R) 1*sobolevEmbeddingConstant period 3* |
| 28 | (fixedVelocityGradeCost R H0 2+2) |
| 29 | |
| 30 | variable (M : EulerMeanPacketProvider.Data) (D : Data U) (hTime : M.T = D.T) |
| 31 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 32 | |
| 33 | theorem forwardInitializedAngularPressure_smooth (t : ℝ) : |
| 34 | ContDiff ℝ ∞ (fun z => forwardInitializedAngularPressure D δ hδ ξ hs α (t,z)) := by |
| 35 | have hq := pressure_smooth D (initialData D δ hδ (α • ξ) hs) t |
| 36 | simp only [forwardInitializedAngularPressure,pressureJet_angle] |
| 37 | change ContDiff ℝ ∞ (angularDerivative (fun y => |
| 38 | scalar D (initialData D δ hδ (α • ξ) hs) (t,y))) |
| 39 | exact angularDerivative_contDiff hq |
| 40 | |
| 41 | theorem forwardInitializedAngularPressure_second (t : Icc (0 : ℝ) D.T) (z : LiftTangent) : |
| 42 | angularDerivative (fun w => forwardInitializedAngularPressure D δ hδ ξ hs α (t,w)) z = |
| 43 | EulerPacketForwardShear.pressureCoefficient D ξ α t z.1 * deriv (profile δ) z.2 := by |
| 44 | have hq := pressure_smooth D (initialData D δ hδ (α • ξ) hs) t |
| 45 | simp only [forwardInitializedAngularPressure,pressureJet_angle] |
| 46 | change angularDerivative (angularDerivative (fun w => |
| 47 | scalar D (initialData D δ hδ (α • ξ) hs) (t,w))) z = _ |
| 48 | rw [angularSecond_eq_deriv hq] |
| 49 | exact EulerPacketForwardShear.scalar_second_deriv D δ hδ ξ hs α t z.1 z.2 |
| 50 | |
| 51 | variable |
| 52 | (L : EulerTransversePacketForward.Budget D (Fin 4) 6) |
| 53 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 54 | (W : EulerTransversePacketForward.Budget.GradeGuards (P := period) L NB 1) |
| 55 | (LM : EulerMeanPacketProvider.Budget M 6 L.R) |
| 56 | (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) |
| 57 | (BC : CoefficientBudget (sourceCoefficientData period M D (InitialData.zero period D) hTime)) |
| 58 | (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) |
| 59 | (hδ1 : δ ≤ 1) (hα : 0 < α) (hR : wordRadius (Fin 4) δ ≤ L.R) |
| 60 | (WP : EulerTransversePacketForward.Budget.GradeGuards (P := period) L NB (wordCost (Fin 4) 6 δ*‖ξ‖)) |
| 61 | (S : Scales (Icc (0 : ℝ) M.T)) |
| 62 | (hgrowth : timeProfileChange S.growth hTime=α • L.g) |
| 63 | |
| 64 | include NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth |
| 65 | |
| 66 | theorem forwardInitializedPressure_hessian_bound (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 67 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 68 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 69 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 70 | (hXY : ∀ t x, X t (Y t x)=x) (hY : Continuous (Function.uncurry Y)) |
| 71 | (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) |
| 72 | (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 73 | ‖fderiv ℝ (gradient (fun y => forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹ |
| 74 | (t,(Y t y,k*⟪D.m₀,Y t y⟫_ℝ)))) x - |
| 75 | (EulerPacketForwardShear.pressureCoefficient D ξ α t (Y t x) * |
| 76 | deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • |
| 77 | rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ ≤ |
| 78 | forwardInitializedPressureHessianCost NB L.R S.H0 L.Rc L.C₀/k := by |
| 79 | have hk0 : 0 < k := by linarith |
| 80 | have hr0 : 0 ≤ L.R := zero_le_one.trans L.radius_one |
| 81 | let AF := forwardInitializedAngularPressureField M D hTime δ hδ ξ hs α |
| 82 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth |
| 83 | let RF := forwardInitializedCovectorRemainderField M D hTime δ hδ ξ hs α |
| 84 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k⁻¹ |
| 85 | let a : LiftTangent → ℝ := fun z => forwardInitializedAngularPressure D δ hδ ξ hs α (t,z) |
| 86 | let J : Space → Space →L[ℝ] Space := fun y => D.FInv.field t (Y t y) |
| 87 | have hYd := continuousInverse_differentiable D X Y hX hXY hY |
| 88 | have hYder := continuousInverse_hasFDerivAt D X Y hX hXY hY |
| 89 | have hJ : DifferentiableAt ℝ J x := |
| 90 | ((D.FInv.smooth t).differentiable (by simp) (Y t x)).comp x (hYd t x) |
| 91 | have ha : ContDiff ℝ ∞ a := forwardInitializedAngularPressure_smooth D δ hδ ξ hs α t |
| 92 | have hf := fastForce_hasFDerivAt a k hk0.ne' D.m₀ (Y t) J x (hYder t x) hJ |
| 93 | (ha.differentiable (by simp) _) |
| 94 | have hsecond : angularDerivative a (graphMap k D.m₀ (Y t x)) = |
| 95 | EulerPacketForwardShear.pressureCoefficient D ξ α t (Y t x)* |
| 96 | deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ) := |
| 97 | forwardInitializedAngularPressure_second D δ hδ ξ hs α t _ |
| 98 | have hn : transportedNormal D.m₀ J x = D.normal.field t (Y t x) := rfl |
| 99 | rw [hsecond,hn] at hf |
| 100 | have hRF := forwardInitializedCovectorRemainder_bound M D hTime δ hδ ξ hs α |
| 101 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase |
| 102 | have hAF := forwardInitializedAngularPressure_bound M D hTime δ hδ ξ hs α |
| 103 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth |
| 104 | have hfast := fastHessianRemainder_bound NB |
| 105 | (forwardInitializedAngularPressure D δ hδ ξ hs α) AF (4*L.R) |
| 106 | (fixedVelocityGradeCost L.R S.H0 1) (by positivity) |
| 107 | (fixedVelocityGradeCost_nonneg L.R S.H0 hr0 1) hAF k hk0 t (Y t) x (hYder t x) |
| 108 | (ha.differentiable (by simp) _) |
| 109 | have htail := physicalCovector_error_bound D RF (4*L.R) |
| 110 | (fixedVelocityGradeCost L.R S.H0 2+2) (by positivity) |
| 111 | (by have h := fixedVelocityGradeCost_nonneg L.R S.H0 hr0 2; linarith) |
| 112 | k (by linarith) hRF L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg hdet L.frame_bound |
| 113 | X Y hX hYd hXY t x |
| 114 | have htaild : DifferentiableAt ℝ (physicalCovector D RF k Y t) x := by |
| 115 | have hI := (adjoint.differentiableAt.comp x hJ) |
| 116 | have hR := (RF.raw_graph_contDiff t k D.m₀).differentiable (by simp) (Y t x) |
| 117 | have hRg := hR.comp x (hYd t x) |
| 118 | exact hI.clm_apply hRg |
| 119 | have he : gradient (fun y => forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹ |
| 120 | (t,(Y t y,k*⟪D.m₀,Y t y⟫_ℝ))) = |
| 121 | fastForce a k D.m₀ (Y t) J + physicalCovector D RF k Y t := by |
| 122 | funext y |
| 123 | exact forwardInitializedPressure_gradient_decomposition M D hTime δ hδ ξ hs α |
| 124 | N k hk0.ne' t (Y t) y (hYder t y) |
| 125 | calc |
| 126 | _ = ‖fastHessianRemainder a k D.m₀ (Y t) J x + |
| 127 | fderiv ℝ (physicalCovector D RF k Y t) x‖ := by |
| 128 | rw [he,fderiv_add hf.differentiableAt htaild,hf.fderiv] |
| 129 | congr 1 |
| 130 | abel |
| 131 | _ ≤ _ := (norm_add_le _ _).trans ((add_le_add hfast htail).trans_eq (by |
| 132 | unfold forwardInitializedPressureHessianCost |
| 133 | ring)) |
| 134 | |
| 135 | end EulerPacketTerminalDatum |