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.PacketInitializedPhysicalChoice |
| 2 | import Euler.PacketPhysicalPressureGevrey |
| 3 | |
| 4 | /-! A single actual correction has small physical velocity and pressure |
| 5 | force derivatives simultaneously. The first derivative of the pressure |
| 6 | force is the pressure-Hessian error used by the geometric step. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketTerminalDatum |
| 11 | |
| 12 | open Set Filter Finset EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider |
| 13 | EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketCorrectionScalar |
| 14 | EulerPacketSourceFrequency EulerLiftedGradientSpace EulerCylinderSobolev |
| 15 | EulerPacketPhysicalGevrey EulerPacketInverseFlowGevrey EulerGraphPressurePotential |
| 16 | EulerCylinderPhysicalTensor EulerGevrey |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | variable (M : EulerMeanPacketProvider.Data) |
| 20 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 21 | (D : Data U) (hTime : M.T=D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 22 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 23 | (δ : ℝ) (hδ : 0 < δ) (hδ1 : δ ≤ 1) (ξ : U) |
| 24 | (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) (hα : 0 < α) |
| 25 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 26 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 27 | {Rm : ℝ} (LM : EulerMeanPacketProvider.Budget M 6 Rm) |
| 28 | (Cagree : SourceCoefficientAgreement M D) |
| 29 | (Ξ Y : Icc (0 : ℝ) D.T → Space → Space) |
| 30 | (hΞ : ∀ t, ContDiff ℝ ∞ (Ξ t)) |
| 31 | (hF : ∀ t x, fderiv ℝ (Ξ t) x = D.F.field t x) |
| 32 | (hΞY : ∀ t x, Ξ t (Y t x)=x) (hY : Continuous (Function.uncurry Y)) |
| 33 | (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) |
| 34 | (R CF : ℝ) (hR : 0 ≤ R) (hCF : 0 ≤ CF) |
| 35 | (hFb : ∀ n t x, |
| 36 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ CF*majorant R 0 n) |
| 37 | |
| 38 | include hδ1 hα L NB LM hΞ hF hΞY hY hdet hR hCF hFb in |
| 39 | theorem initialized_correction_physical_fields_eventually (N : ℕ) (p : ℝ) : |
| 40 | ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ 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 | ∀ n, n ≤ N → ∀ (t : Icc (0 : ℝ) D.T) (x : Space), |
| 47 | ‖iteratedFDeriv ℝ n (fun y => k⁻¹ • D.F.field t (Y t y) |
| 48 | (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k^(-p) ∧ |
| 49 | ‖iteratedFDeriv ℝ n (fun y => k⁻¹ • (D.FInv.field t (Y t y)).adjoint |
| 50 | (Q.pointPressure period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k^(-p) := by |
| 51 | obtain ⟨ρ0,G,Cpt,hρ,hG,hCpt,hQ⟩ := initialized_correction_pointwise_eventually |
| 52 | M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet |
| 53 | have hS : 0 ≤ 4/ρ0 := by positivity |
| 54 | let Csum := ∑ i : Fin (N+1), physicalFixedCost D R CF (4/ρ0) i.val |
| 55 | let Ctop := (1+9*CF)*Csum |
| 56 | have hCsum : 0 ≤ Csum := |
| 57 | sum_nonneg (fun i _ => physicalFixedCost_nonneg D R CF (4/ρ0) i.val hR hCF hS) |
| 58 | have hCtop : 0 ≤ Ctop := by dsimp [Ctop]; positivity |
| 59 | have hX : ∀ t x, HasFDerivAt (Ξ t) (D.F.field t x) x := by |
| 60 | intro t x |
| 61 | rw [← hF t x] |
| 62 | exact ((hΞ t).differentiable (by simp) x).hasFDerivAt |
| 63 | have hYd := continuousInverse_differentiable D Ξ Y hX hΞY hY |
| 64 | refine ⟨ρ0,G,hρ,hG,?_⟩ |
| 65 | filter_upwards [hQ,correction_with_power_loss_eventually (Ctop*Cpt) (N : ℝ) p] with k hQ hkbound |
| 66 | obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ |
| 67 | have hδk : 0 ≤ delta (expansion k) := (delta_pos (expansion k)).le |
| 68 | refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ |
| 69 | intro n hnN t x |
| 70 | have hk1 : 1 ≤ k := by linarith |
| 71 | have hk0 : 0 ≤ k := by linarith |
| 72 | have hκ : |k⁻¹| ≤ 1 := by |
| 73 | rw [abs_inv,abs_of_nonneg hk0] |
| 74 | exact inv_le_one_of_one_le₀ hk1 |
| 75 | have hcn : physicalFixedCost D R CF (4/ρ0) n ≤ Csum := by |
| 76 | exact single_le_sum |
| 77 | (f := fun i : Fin (N+1) => physicalFixedCost D R CF (4/ρ0) i.val) |
| 78 | (fun i _ => physicalFixedCost_nonneg D R CF (4/ρ0) i.val hR hCF hS) |
| 79 | (mem_univ (⟨n,by omega⟩ : Fin (N+1))) |
| 80 | have hcv : physicalFixedCost D R CF (4/ρ0) n ≤ Ctop := hcn.trans (by dsimp [Ctop]; nlinarith) |
| 81 | have hcp : 9*CF*physicalFixedCost D R CF (4/ρ0) n ≤ Ctop := by |
| 82 | apply (mul_le_mul_of_nonneg_left hcn (by positivity : 0 ≤ 9*CF)).trans |
| 83 | dsimp [Ctop] |
| 84 | nlinarith |
| 85 | have absorb (v c : ℝ) (hc : c ≤ Ctop) |
| 86 | (hv : v ≤ c*(Cpt*delta (expansion k))*k^n) : v < k^(-p) := by |
| 87 | have hu : c*(Cpt*delta (expansion k))*k^n ≤ Ctop*(Cpt*delta (expansion k))*k^N := |
| 88 | mul_le_mul (mul_le_mul_of_nonneg_right hc (by positivity)) |
| 89 | (pow_le_pow_right₀ hk1 hnN) (pow_nonneg hk0 n) (by positivity) |
| 90 | apply hv.trans_lt (hu.trans_lt _) |
| 91 | simpa only [Real.rpow_natCast,mul_assoc,mul_left_comm,mul_comm] using hkbound |
| 92 | constructor |
| 93 | · exact absorb _ _ hcv (physicalReconstruction_power_bound D period k⁻¹ k (Q.pointField period) |
| 94 | (Q.pointField_smooth period) R CF (Cpt*delta (expansion k)) (4/ρ0) |
| 95 | hR hCF (by positivity) hS hFb (fun j s y => (hbounds j s y).1) |
| 96 | Ξ Y hX hYd hΞY hdet hk1 hκ n t x) |
| 97 | · exact absorb _ _ hcp (physicalPressureForce_power_bound D period k⁻¹ k (Q.pointPressure period) |
| 98 | (Q.pointPressure_smooth period) R CF (Cpt*delta (expansion k)) (4/ρ0) |
| 99 | hR hCF (by positivity) hS hdet hFb (fun j s y => (hbounds j s y).2.1) |
| 100 | Ξ Y hX hYd hΞY hk1 hκ n t x) |
| 101 | |
| 102 | end EulerPacketTerminalDatum |