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.PacketInitializedPhysicalFieldsChoice |
| 2 | import Euler.PacketPhysicalCorrectionPotential |
| 3 | |
| 4 | /-! Actual weighted correction and pressure norms bound the physical |
| 5 | velocity gradient and the Hessian of the constructed scalar potential |
| 6 | for that same correction. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | |
| 11 | namespace EulerAllOrderDriftCorrection |
| 12 | |
| 13 | open Set EulerSmoothLimit EulerAllOrderCorrectionData EulerLiftedGradientSpace |
| 14 | EulerCylinderSobolev EulerCylinderSobolevSpace EulerSobolevGevreyOperators |
| 15 | EulerPacketPhysicalGevrey EulerPacketInverseFlowGevrey EulerGraphPressurePotential |
| 16 | EulerCylinderPhysicalTensor EulerGevrey |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 20 | (D : EulerTransversePacketProvider.Data U) (P : ℝ) [Fact (0 < P)] |
| 21 | |
| 22 | def weightedPhysicalGradientCost (R CF ρ Cw : ℝ) : ℝ := |
| 23 | ((1+9*CF)*physicalFixedCost D R CF ρ⁻¹ 1)*(sobolevEmbeddingConstant P 3*Cw) |
| 24 | |
| 25 | theorem weightedPhysicalGradientCost_nonneg (R CF ρ Cw : ℝ) |
| 26 | (hR : 0 ≤ R) (hCF : 0 ≤ CF) (hρ : 0 < ρ) (hCw : 0 ≤ Cw) : |
| 27 | 0 ≤ weightedPhysicalGradientCost D P R CF ρ Cw := by |
| 28 | have h := physicalFixedCost_nonneg D R CF ρ⁻¹ 1 hR hCF (inv_nonneg.mpr hρ.le) |
| 29 | have hs := sobolevEmbeddingConstant_nonneg P 3 |
| 30 | unfold weightedPhysicalGradientCost |
| 31 | positivity |
| 32 | |
| 33 | variable {A : Data P D.T} (Q : Budget P D.T_pos A) |
| 34 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 35 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 36 | (hXY : ∀ t x, X t (Y t x)=x) (hY : Continuous (Function.uncurry Y)) |
| 37 | (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) |
| 38 | (R CF : ℝ) (hR : 0 ≤ R) (hCF : 0 ≤ CF) |
| 39 | (hFb : ∀ n t x, |
| 40 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ CF*majorant R 0 n) |
| 41 | |
| 42 | include hX hXY hY hdet hR hCF hFb in |
| 43 | theorem Budget.physical_gradient_hessian_of_weighted (k ρ Cw d : ℝ) |
| 44 | (hk : 1 ≤ k) (hκ : A.κ=k⁻¹) (hm : A.direction=D.m₀) |
| 45 | (hρ : 0 < ρ) (hCw : 0 ≤ Cw) (hd : 0 ≤ d) |
| 46 | (he : ∀ n (t : Icc (0 : ℝ) D.T), weightedNorm P 6 n ρ |
| 47 | ((Q.fieldTower P).realization (n+6) t) ≤ Cw*d) |
| 48 | (hp : ∀ n (t : Icc (0 : ℝ) D.T), weightedNorm P 6 n ρ |
| 49 | ((Q.pressureTower P).realization (n+6) t) ≤ Cw*d) |
| 50 | (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 51 | ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y t y) |
| 52 | (Q.pointField P t (cylinderGraph P k D.m₀ (Y t y)))) x‖ ≤ |
| 53 | weightedPhysicalGradientCost D P R CF ρ Cw*k*d ∧ |
| 54 | ‖fderiv ℝ (gradient (Q.physicalPotential D P k Y t)) x‖ ≤ |
| 55 | weightedPhysicalGradientCost D P R CF ρ Cw*k*d := by |
| 56 | let Cpt := sobolevEmbeddingConstant P 3*Cw |
| 57 | have hCpt : 0 ≤ Cpt := mul_nonneg (sobolevEmbeddingConstant_nonneg P 3) hCw |
| 58 | have hword (F : FieldTower P D.T) |
| 59 | (hF : ∀ n (s : Icc (0 : ℝ) D.T), weightedNorm P 6 n ρ |
| 60 | (F.realization (n+6) s) ≤ Cw*d) (n : ℕ) (s : Icc (0 : ℝ) D.T) (y : LiftDomain P) : |
| 61 | (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative P w (F.pointField s) y‖) ≤ |
| 62 | (Cpt*d)*(ρ⁻¹)^n*(n.factorial : ℝ)^2 := by |
| 63 | have h := F.pointField_wordSum_gevrey (n+6) 6 n n (by omega) (by omega) le_rfl |
| 64 | ρ (Cw*d) hρ s (hF n s) y |
| 65 | simpa only [Cpt,mul_assoc] using h |
| 66 | have heword (n : ℕ) (s : Icc (0 : ℝ) D.T) (y : LiftDomain P) : |
| 67 | (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative P w (Q.pointField P s) y‖) ≤ |
| 68 | (Cpt*d)*(ρ⁻¹)^n*(n.factorial : ℝ)^2 := by |
| 69 | simpa only [Q.correctionTower_pointField P s] using hword (Q.fieldTower P) he n s y |
| 70 | have hpword (n : ℕ) (s : Icc (0 : ℝ) D.T) (y : LiftDomain P) : |
| 71 | (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative P w (Q.pointPressure P s) y‖) ≤ |
| 72 | (Cpt*d)*(ρ⁻¹)^n*(n.factorial : ℝ)^2 := by |
| 73 | simpa only [Q.pressureTower_pointField P s] using hword (Q.pressureTower P) hp n s y |
| 74 | have hYd := continuousInverse_differentiable D X Y hX hXY hY |
| 75 | have hk0 : 0 < k := by linarith |
| 76 | have hki : |k⁻¹| ≤ 1 := by |
| 77 | rw [abs_of_pos (inv_pos.mpr hk0)] |
| 78 | exact inv_le_one_of_one_le₀ hk |
| 79 | have hv := physicalReconstruction_power_bound D P k⁻¹ k (Q.pointField P) |
| 80 | (Q.pointField_smooth P) R CF (Cpt*d) ρ⁻¹ hR hCF (mul_nonneg hCpt hd) |
| 81 | (inv_nonneg.mpr hρ.le) hFb heword X Y hX hYd hXY hdet hk hki 1 t x |
| 82 | have hpr := physicalPressureForce_power_bound D P k⁻¹ k (Q.pointPressure P) |
| 83 | (Q.pointPressure_smooth P) R CF (Cpt*d) ρ⁻¹ hR hCF (mul_nonneg hCpt hd) |
| 84 | (inv_nonneg.mpr hρ.le) hdet hFb hpword X Y hX hYd hXY hk hki 1 t x |
| 85 | let H := (1+9*CF)*physicalFixedCost D R CF ρ⁻¹ 1 |
| 86 | have hc := physicalFixedCost_nonneg D R CF ρ⁻¹ 1 hR hCF (inv_nonneg.mpr hρ.le) |
| 87 | have hcv : physicalFixedCost D R CF ρ⁻¹ 1 ≤ H := by dsimp [H]; nlinarith |
| 88 | have hcp : 9*CF*physicalFixedCost D R CF ρ⁻¹ 1 ≤ H := by dsimp [H]; nlinarith |
| 89 | have absorb (v c : ℝ) (hvc : v ≤ c*(Cpt*d)*k) (hcH : c ≤ H) : |
| 90 | v ≤ weightedPhysicalGradientCost D P R CF ρ Cw*k*d := by |
| 91 | apply hvc.trans |
| 92 | apply (mul_le_mul_of_nonneg_right |
| 93 | (mul_le_mul_of_nonneg_right hcH (mul_nonneg hCpt hd)) hk0.le).trans_eq |
| 94 | dsimp [weightedPhysicalGradientCost,H,Cpt] |
| 95 | ring |
| 96 | constructor |
| 97 | · apply absorb _ _ _ hcv |
| 98 | change ‖iteratedFDeriv ℝ 1 (fun y => k⁻¹ • D.F.field t (Y t y) |
| 99 | (Q.pointField P t (cylinderGraph P k D.m₀ (Y t y)))) x‖ ≤ _ at hv |
| 100 | simpa only [norm_iteratedFDeriv_one,pow_one] using hv |
| 101 | · have hscale : k*A.κ=1 := by rw [hκ]; exact mul_inv_cancel₀ hk0.ne' |
| 102 | rw [Q.physicalPotential_hessian_norm D P X Y hX hXY hY k hscale t x,hκ,hm] |
| 103 | apply absorb _ _ _ hcp |
| 104 | change ‖iteratedFDeriv ℝ 1 (fun y => k⁻¹ • (D.FInv.field t (Y t y)).adjoint |
| 105 | (Q.pointPressure P t (cylinderGraph P k D.m₀ (Y t y)))) x‖ ≤ _ at hpr |
| 106 | simpa only [pow_one] using hpr |
| 107 | |
| 108 | end EulerAllOrderDriftCorrection |