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.PacketExactGlobalShear |
| 2 | import Euler.PacketExactPressureError |
| 3 | import Euler.PacketInitializedHessianChoice |
| 4 | |
| 5 | /-! Both global identities in source (20) for one actual exact packet. |
| 6 | The velocity and canonical scalar pressure have uniform O(1/k) errors. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketTerminalDatum |
| 11 | |
| 12 | open Set Filter Finset InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 13 | EulerSpatialCutoffs EulerTransversePacketProvider EulerPacketCylinderField |
| 14 | EulerPacketProfileRecursion EulerPacketTimeProfile EulerPacketCoarseMajorant |
| 15 | EulerPacketCorrectionScalar EulerPacketSourceFrequency EulerLiftedGradientSpace |
| 16 | EulerPacketPrimaryFactorization EulerPacketInverseFlowGevrey EulerGevrey |
| 17 | EulerGraphPressurePotential EulerPeriodicProfile |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | variable (M : EulerMeanPacketProvider.Data) |
| 21 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 22 | (D : Data U) (hTime : M.T=D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 23 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 24 | (δ : ℝ) (hδ : 0 < δ) (hδ1 : δ ≤ 1) (ξ : U) |
| 25 | (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) (hα : 0 < α) |
| 26 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 27 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 28 | {Rm : ℝ} (LM : EulerMeanPacketProvider.Budget M 6 Rm) |
| 29 | (Cagree : SourceCoefficientAgreement M D) |
| 30 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 31 | (hX : ∀ t, ContDiff ℝ ∞ (X t)) |
| 32 | (hF : ∀ t x, fderiv ℝ (X t) x = D.F.field t x) |
| 33 | (hXY : ∀ t x, X t (Y t x)=x) |
| 34 | (hY : Continuous (Function.uncurry Y)) |
| 35 | (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) |
| 36 | |
| 37 | include hδ1 hα L NB LM hX hF hXY hY hdet |
| 38 | |
| 39 | theorem initialized_exact_global_shear_hessian_eventually : |
| 40 | ∃ ρ0 G Cv Cp : ℝ, 0 < ρ0 ∧ 0 < G ∧ 0 < Cv ∧ 0 < Cp ∧ ∀ᶠ k : ℝ in atTop, |
| 41 | ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) |
| 42 | (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos |
| 43 | (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree |
| 44 | (truncation k) hn k hk)), |
| 45 | Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ |
| 46 | ∀ (t : Icc (0 : ℝ) D.T) (x : Space), |
| 47 | (‖fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α |
| 48 | Cagree (truncation k) hn k hk Q t (Y t)) x - |
| 49 | (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • |
| 50 | rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k) ∧ |
| 51 | (‖fderiv ℝ (gradient (initializedExactPhysicalPressure M D hTime τ hτ hτT B δ hδ ξ hs α |
| 52 | Cagree (truncation k) hn k hk Q t (Y t))) x - |
| 53 | (EulerPacketPrimaryPressure.coefficient τ hτ hτT B ξ hs α t (Y t x) * |
| 54 | deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • |
| 55 | rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) := by |
| 56 | classical |
| 57 | let BC := joinedCoefficientBudget period M D hTime τ hτ hτT B NB |
| 58 | obtain ⟨L',H',N',M',hprofile,wj,wm,wp,hterminal,hcost,hrc⟩ := |
| 59 | exists_initialized_budgets LM L NB BC δ ξ |
| 60 | let S := Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime.symm α hα |
| 61 | have hgrowth : timeProfileChange S.growth hTime=α • L'.fullProfile := by |
| 62 | rw [hprofile] |
| 63 | exact Scales.ofTimeProfile_growth L.fullProfile L.fullProfile_pos hTime.symm α hα |
| 64 | let Kv := initializedGlobalShearCost L'.R S.H0 N'.C |
| 65 | let Kp := initializedPressureHessianCost N' L'.R S.H0 L'.Rc L'.C₀ |
| 66 | let Cv := 1+|Kv| |
| 67 | let Cp := 1+|Kp| |
| 68 | have hCv : 0 < Cv := by dsimp only [Cv]; positivity |
| 69 | have hCp : 0 < Cp := by dsimp only [Cp]; positivity |
| 70 | obtain ⟨ρ0,G,hρ,hG,hQ⟩ := initialized_correction_gradient_hessian_eventually |
| 71 | M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree X Y hX hF hXY hY hdet |
| 72 | L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg L.frame_bound 1 |
| 73 | have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by |
| 74 | intro t x |
| 75 | rw [← hF t x] |
| 76 | exact ((hX t).differentiable (by simp) x).hasFDerivAt |
| 77 | have hYd := continuousInverse_hasFDerivAt D X Y hXd hXY hY |
| 78 | refine ⟨ρ0,G,Cv,Cp,hρ,hG,hCv,hCp,?_⟩ |
| 79 | filter_upwards [hQ,fixed_costs_eventually ({tailPolynomialConstant L'.R S.H0 BC.termCost} : Finset ℝ)] |
| 80 | with k hQ hscalar |
| 81 | obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hcorrection⟩ := hQ |
| 82 | have hk0 : 0 < k := by linarith |
| 83 | have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := |
| 84 | tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg (by linarith) |
| 85 | (hscalar.2.2.2 _ (by simp)) |
| 86 | refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ |
| 87 | intro t x |
| 88 | constructor |
| 89 | · have he := initializedExactPhysicalVelocity_global_gradient_error M D hTime τ hτ hτT B δ hδ ξ hs α |
| 90 | L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth |
| 91 | Cagree (truncation k) hn k hk Q hbase t (Y t) x (hYd t x) |
| 92 | have hc : ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y t y) |
| 93 | (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k⁻¹ := by |
| 94 | simpa only [Real.rpow_neg_one] using (hcorrection t x).1 |
| 95 | have ht : Kv/k ≤ |Kv|/k := div_le_div_of_nonneg_right (le_abs_self Kv) hk0.le |
| 96 | exact he.trans_lt ((add_lt_add_of_le_of_lt ht hc).trans_eq (by dsimp only [Cv]; ring)) |
| 97 | · have he := initializedExactPhysicalPressure_hessian_error M D hTime τ hτ hτT B δ hδ ξ hs α |
| 98 | Cagree (truncation k) hn k hk Q X Y hXd hXY hY L' H' N' wj M' wm BC hrc hcost |
| 99 | hδ1 hα hterminal wp S hgrowth hbase hdet t x |
| 100 | have hc : ‖fderiv ℝ (gradient (Q.physicalPotential D period k Y t)) x‖ < k⁻¹ := by |
| 101 | simpa only [Real.rpow_neg_one] using (hcorrection t x).2 |
| 102 | have ht : Kp/k ≤ |Kp|/k := div_le_div_of_nonneg_right (le_abs_self Kp) hk0.le |
| 103 | exact he.trans_lt ((add_lt_add_of_le_of_lt ht hc).trans_eq (by dsimp only [Cp]; ring)) |
| 104 | |
| 105 | end EulerPacketTerminalDatum |