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.PacketFiniteCoarseBounds |
| 2 | |
| 3 | /-! Fixed source costs for the normalized packet and its smaller transport drift. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerPacketCorrectionConstants |
| 8 | |
| 9 | open EulerPacketCylinderField |
| 10 | |
| 11 | def velocity (R H C : ℝ) : ℝ := |
| 12 | C*(fixedVelocityGradeCost R H 1+fixedVelocityGradeCost R H 2+1) |
| 13 | |
| 14 | def normal (R H C : ℝ) : ℝ := C*(fixedVelocityGradeCost R H 2+2) |
| 15 | |
| 16 | def drift (R H C : ℝ) : ℝ := 2*(3*velocity R H C+normal R H C) |
| 17 | |
| 18 | theorem velocity_nonneg (R H C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) : |
| 19 | 0 ≤ velocity R H C := by |
| 20 | have h₁ := fixedVelocityGradeCost_nonneg R H hR 1 |
| 21 | have h₂ := fixedVelocityGradeCost_nonneg R H hR 2 |
| 22 | unfold velocity |
| 23 | positivity |
| 24 | |
| 25 | theorem normal_nonneg (R H C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) : |
| 26 | 0 ≤ normal R H C := by |
| 27 | have h₂ := fixedVelocityGradeCost_nonneg R H hR 2 |
| 28 | unfold normal |
| 29 | positivity |
| 30 | |
| 31 | theorem drift_nonneg (R H C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) : |
| 32 | 0 ≤ drift R H C := by |
| 33 | have hv := velocity_nonneg R H C hR hC |
| 34 | have hn := normal_nonneg R H C hR hC |
| 35 | unfold drift |
| 36 | positivity |
| 37 | |
| 38 | theorem drift_div_frequency (R H C k : ℝ) (hk : 0 < k) : |
| 39 | 2*(3*|k⁻¹| * velocity R H C+normal R H C/k) = drift R H C/k := by |
| 40 | rw [abs_of_pos (inv_pos.mpr hk)] |
| 41 | unfold drift |
| 42 | ring |
| 43 | |
| 44 | end EulerPacketCorrectionConstants |