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.PacketSourceCorrectionCoefficients |
| 2 | import Euler.PacketMatrixCoefficientGevrey |
| 3 | |
| 4 | /-! Source bounds for the actual pressure metric, linear coefficient and |
| 5 | three quadratic coefficients. Their common coefficient radius and amplitudes |
| 6 | are independent of the correction order, cutoff and frequency. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketCorrectionCoefficients |
| 11 | |
| 12 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerPacketCylinderField |
| 13 | EulerGevrey |
| 14 | open scoped ContDiff BoundedContinuousFunction |
| 15 | |
| 16 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 17 | (D : EulerTransversePacketProvider.Data U) |
| 18 | (R C0 C1 CI : ℝ) (hR : 0 ≤ R) (hC0 : 0 ≤ C0) (hC1 : 0 ≤ C1) (hCI : 0 ≤ CI) |
| 19 | (hF : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C0*majorant R 0 n) |
| 20 | (hF1 : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ C1*majorant R 0 n) |
| 21 | (hFI : ∀ n t x, ‖iteratedFDeriv ℝ n (D.FInv.field t : Space → Space →L[ℝ] Space) x‖ ≤ CI*majorant R 0 n) |
| 22 | |
| 23 | include hR hC0 hF in |
| 24 | theorem frameCoefficient_bound (n : ℕ) (a : Space) : |
| 25 | ‖iteratedFDeriv ℝ n (translateCoefficientPath (frameCoefficient D).path) a‖ ≤ C0*majorant R 0 n := |
| 26 | D.F.norm_iteratedFDeriv_translation_le n (C0*majorant R 0 n) |
| 27 | (mul_nonneg hC0 (majorant_nonneg R hR 0 n)) (hF n) a |
| 28 | |
| 29 | include hR hC1 hF1 in |
| 30 | theorem frameTimeCoefficient_bound (n : ℕ) (a : Space) : |
| 31 | ‖iteratedFDeriv ℝ n (translateCoefficientPath (frameTimeCoefficient D).path) a‖ ≤ C1*majorant R 0 n := |
| 32 | D.F₁.norm_iteratedFDeriv_translation_le n (C1*majorant R 0 n) |
| 33 | (mul_nonneg hC1 (majorant_nonneg R hR 0 n)) (hF1 n) a |
| 34 | |
| 35 | include hR hCI hFI in |
| 36 | theorem inverseCoefficient_bound (n : ℕ) (a : Space) : |
| 37 | ‖iteratedFDeriv ℝ n (translateCoefficientPath (inverseCoefficient D).path) a‖ ≤ CI*majorant R 0 n := |
| 38 | D.FInv.norm_iteratedFDeriv_translation_le n (CI*majorant R 0 n) |
| 39 | (mul_nonneg hCI (majorant_nonneg R hR 0 n)) (hFI n) a |
| 40 | |
| 41 | include hR hCI hFI in |
| 42 | theorem metricCoefficient_bound (n : ℕ) (a : Space) : |
| 43 | ‖iteratedFDeriv ℝ n (translateCoefficientPath (metricCoefficient D).path) a‖ ≤ |
| 44 | (3*CI*CI)*majorant (4*R) 0 n := by |
| 45 | have hi := inverseCoefficient_bound D R CI hR hCI hFI |
| 46 | exact MatrixCoefficient.bound_mono_radius (metricCoefficient D) R (4*R) (3*CI*CI) |
| 47 | hR (by linarith) (by positivity) |
| 48 | (MatrixCoefficient.comp_bound (inverseCoefficient D) (inverseCoefficient D).adjoint |
| 49 | R CI CI hR hCI hCI hi ((inverseCoefficient D).adjoint_bound R CI hi)) n a |
| 50 | |
| 51 | include hR hC1 hCI hF1 hFI in |
| 52 | theorem linearCoefficient_bound (n : ℕ) (a : Space) : |
| 53 | ‖iteratedFDeriv ℝ n (translateCoefficientPath (linearCoefficient D).path) a‖ ≤ |
| 54 | (6*CI*C1)*majorant (4*R) 0 n := by |
| 55 | have hi := inverseCoefficient_bound D R CI hR hCI hFI |
| 56 | have h1 := frameTimeCoefficient_bound D R C1 hR hC1 hF1 |
| 57 | have hp := MatrixCoefficient.comp_bound (inverseCoefficient D) (frameTimeCoefficient D) |
| 58 | R CI C1 hR hCI hC1 hi h1 |
| 59 | have hs := MatrixCoefficient.smul_bound ((inverseCoefficient D).comp (frameTimeCoefficient D)) |
| 60 | 2 R (3*CI*C1) hp |
| 61 | apply MatrixCoefficient.bound_mono_radius (linearCoefficient D) R (4*R) (6*CI*C1) |
| 62 | hR (by linarith) (by positivity) _ n a |
| 63 | intro k x |
| 64 | simpa only [linearCoefficient,abs_of_nonneg (by norm_num : (0 : ℝ) ≤ 2)] using |
| 65 | (hs k x).trans_eq (show (|2| * (3*CI*C1))*majorant R 0 k = |
| 66 | (6*CI*C1)*majorant R 0 k by rw [abs_of_nonneg (by norm_num : (0 : ℝ) ≤ 2)]; ring) |
| 67 | |
| 68 | include hR hC0 hCI hF hFI in |
| 69 | theorem quadraticCoefficient_bound (κ : ℝ) (hκ : |κ| ≤ 1) (i : Fin 3) (n : ℕ) (a : Space) : |
| 70 | ‖iteratedFDeriv ℝ n (translateCoefficientPath (quadraticCoefficient D κ i).path) a‖ ≤ |
| 71 | (3*CI*(C0*R))*majorant (4*R) 0 n := by |
| 72 | have hi := MatrixCoefficient.bound_mono_radius (inverseCoefficient D) R (4*R) CI |
| 73 | hR (by linarith) hCI (inverseCoefficient_bound D R CI hR hCI hFI) |
| 74 | have hunit : ‖(EuclideanSpace.single i 1 : Space)‖ ≤ 1 := by simp |
| 75 | have hd := MatrixCoefficient.spatialDerivative_bound (frameCoefficient D) |
| 76 | (EuclideanSpace.single i 1) hunit R C0 hR hC0 (frameCoefficient_bound D R C0 hR hC0 hF) |
| 77 | have hp := MatrixCoefficient.comp_bound (inverseCoefficient D) |
| 78 | ((frameCoefficient D).spatialDerivative (EuclideanSpace.single i 1)) |
| 79 | (4*R) CI (C0*R) (by positivity) hCI (by positivity) hi hd |
| 80 | have hs := MatrixCoefficient.smul_bound |
| 81 | ((inverseCoefficient D).comp ((frameCoefficient D).spatialDerivative (EuclideanSpace.single i 1))) |
| 82 | κ (4*R) (3*CI*(C0*R)) hp n a |
| 83 | exact hs.trans (by |
| 84 | have hnon : 0 ≤ (3*CI*(C0*R))*majorant (4*R) 0 n := |
| 85 | mul_nonneg (by positivity) (majorant_nonneg (4*R) (by positivity) 0 n) |
| 86 | simpa only [one_mul,mul_assoc] using mul_le_mul_of_nonneg_right hκ hnon) |
| 87 | |
| 88 | end EulerPacketCorrectionCoefficients |