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.TransverseForwardInverse |
| 2 | import Euler.LinearDuhamelParameter |
| 3 | import Euler.ContinuousGramPath |
| 4 | import Euler.ContinuousGramGevrey |
| 5 | import Euler.GevreyFixedShift |
| 6 | |
| 7 | /-! |
| 8 | # Actual coefficient bounds for the transverse forward equation |
| 9 | |
| 10 | The Gram inverse is genuinely constructed and differentiated. Its one fixed |
| 11 | factorial shift is absorbed into a coefficient radius enlargement. The source |
| 12 | generator and projected forcing coefficients then have shift-zero bounds by |
| 13 | actual composition, with explicit polynomial amplitudes. |
| 14 | -/ |
| 15 | |
| 16 | /-! ## From `Euler/TransverseForwardRegularity.lean` |
| 17 | |
| 18 | The text of `Euler/TransverseForwardRegularity.lean`, folded into this file, which was its only importer. -/ |
| 19 | |
| 20 | section |
| 21 | |
| 22 | /-! |
| 23 | # Genuine parameter regularity of the transverse forward inverse |
| 24 | |
| 25 | The source coefficient is formed from the actual Gram inverse and frame |
| 26 | coefficients. These constructions and the forced forward solve are smooth |
| 27 | in the uniform time norm, without assuming parameter regularity of the |
| 28 | homogeneous evolution supplied by (H3). |
| 29 | -/ |
| 30 | |
| 31 | noncomputable section |
| 32 | |
| 33 | |
| 34 | namespace EulerTransverseForwardRegularity |
| 35 | |
| 36 | open Set ContinuousLinearMap EulerContinuousTimeIntegral EulerContinuousPathCalculus |
| 37 | EulerContinuousPathComposition EulerContinuousGramPath EulerTransverseGramPath |
| 38 | EulerTransverseForwardInverse EulerLinearDuhamel |
| 39 | open scoped ContDiff |
| 40 | |
| 41 | variable {P V E : Type*} |
| 42 | [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 43 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] |
| 44 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 45 | |
| 46 | variable (T : ℝ) (hT : 0 ≤ T) (Q Q₁ : P → C(Icc (0 : ℝ) T,V →L[ℝ] E)) |
| 47 | (c : ℝ) (hc : 0 < c) (hQ : ∀ x t v, c*‖v‖^2 ≤ ‖Q x t v‖^2) |
| 48 | |
| 49 | /-- The actual canonical frame left inverse varies smoothly in parameters. -/ |
| 50 | theorem frameLeftInversePath_contDiff {n : ℕ∞ω} (hQr : ContDiff ℝ n Q) : |
| 51 | ContDiff ℝ n (fun x => frameLeftInversePath T (Q x) c hc (hQ x)) := by |
| 52 | exact contDiff_compose (fun x => gramInversePath T (Q x) c hc (hQ x)) |
| 53 | (fun x => adjointMap (Q x)) (gramInversePath_contDiff T c hc Q hQ hQr) |
| 54 | (contDiff_adjoint Q hQr) |
| 55 | |
| 56 | variable (U : ∀ x, Evolution T hT (generator T (Q x) (Q₁ x) c hc (hQ x))) |
| 57 | (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → V) |
| 58 | |
| 59 | end EulerTransverseForwardRegularity |
| 60 | end |
| 61 | |
| 62 | end |
| 63 | |
| 64 | noncomputable section |
| 65 | |
| 66 | |
| 67 | namespace EulerTransverseForwardCoefficientGevrey |
| 68 | |
| 69 | open Set ContinuousLinearMap EulerGevrey EulerOperatorGevreyCalculus |
| 70 | EulerContinuousPathCalculus EulerContinuousPathComposition EulerContinuousGramPath |
| 71 | EulerContinuousGramGevrey EulerTimeLpGramGevrey EulerTransverseGramPath |
| 72 | EulerTransverseForwardInverse EulerTransverseForwardRegularity |
| 73 | open scoped ContDiff |
| 74 | |
| 75 | theorem inverseRadius_bounds (c C Rc R : ℝ) (hc : 0 < c) (hRc : 0 ≤ Rc) |
| 76 | (hR : 2*gramCost c C 1*(Rc+1) ≤ R) : 0 ≤ R ∧ Rc ≤ 4*R := by |
| 77 | have hi : 0 ≤ c⁻¹ := inv_nonneg.mpr hc.le |
| 78 | have hcost : 1 ≤ gramCost c C 1 := by |
| 79 | unfold gramCost |
| 80 | nlinarith [sq_nonneg C] |
| 81 | have hp : 0 ≤ (gramCost c C 1-1)*(Rc+1) := |
| 82 | mul_nonneg (sub_nonneg.mpr hcost) (by linarith) |
| 83 | constructor <;> linarith |
| 84 | |
| 85 | variable {P V E : Type*} |
| 86 | [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 87 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] |
| 88 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 89 | variable (T : ℝ) (Q Q₁ : P → C(Icc (0 : ℝ) T,V →L[ℝ] E)) |
| 90 | (c : ℝ) (hc : 0 < c) (hQ : ∀ x t v, c*‖v‖^2 ≤ ‖Q x t v‖^2) |
| 91 | (hQr : ContDiff ℝ ∞ Q) (hQ₁r : ContDiff ℝ ∞ Q₁) |
| 92 | (Rc C₀ C₁ Ri : ℝ) (hRc : 0 ≤ Rc) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) |
| 93 | (hRi : 2*gramCost c C₀ 1*(Rc+1) ≤ Ri) |
| 94 | (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀*majorant Rc 0 n) |
| 95 | (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁*majorant Rc 0 n) |
| 96 | |
| 97 | private local instance : NormedAddCommGroup (V →L[ℝ] V) := inferInstance |
| 98 | private local instance : NormedSpace ℝ (V →L[ℝ] V) := inferInstance |
| 99 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) T,V →L[ℝ] V) := inferInstance |
| 100 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) T,V →L[ℝ] V) := inferInstance |
| 101 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) T,V →L[ℝ] E) := inferInstance |
| 102 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) T,V →L[ℝ] E) := inferInstance |
| 103 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) T,E →L[ℝ] V) := inferInstance |
| 104 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) T,E →L[ℝ] V) := inferInstance |
| 105 | |
| 106 | include hQr hRc hC₀ hRi hbQ in |
| 107 | /-- The genuine inverse becomes a shift-zero coefficient at radius `4 Ri`. -/ |
| 108 | theorem inversePath_coefficient_bound (n : ℕ) (x : P) : |
| 109 | ‖iteratedFDeriv ℝ n (fun y => gramInversePath T (Q y) c hc (hQ y)) x‖ ≤ |
| 110 | Ri*majorant (4*Ri) 0 n := by |
| 111 | exact (inversePath_gevrey T Q c hc hQ hQr Rc C₀ hRc hC₀ hbQ Ri hRi n x).trans |
| 112 | (majorant_one_le_radius_four Ri (inverseRadius_bounds c C₀ Rc Ri hc hRc hRi).1 n) |
| 113 | |
| 114 | include hQr hRc hC₀ hRi hbQ in |
| 115 | /-- The actual left inverse `K⁻¹ Q*` has a polynomial multiplier amplitude. -/ |
| 116 | theorem frameLeftInversePath_bound (n : ℕ) (x : P) : |
| 117 | ‖iteratedFDeriv ℝ n (fun y => frameLeftInversePath T (Q y) c hc (hQ y)) x‖ ≤ |
| 118 | (3*Ri*C₀)*majorant (4*Ri) 0 n := by |
| 119 | obtain ⟨hi,hbase⟩ := inverseRadius_bounds c C₀ Rc Ri hc hRc hRi |
| 120 | have hrad : 0 ≤ 4*Ri := by positivity |
| 121 | have hbQ' (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ j Q y‖ ≤ C₀*majorant (4*Ri) 0 j := |
| 122 | (hbQ j y).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc (4*Ri) hRc hbase 0 j) hC₀) |
| 123 | have hbAdj := EulerContinuousPathComposition.adjoint_bound Q hQr (4*Ri) C₀ hrad hC₀ 0 hbQ' |
| 124 | have h := compose_bound (fun y => gramInversePath T (Q y) c hc (hQ y)) |
| 125 | (fun y => adjointMap (Q y)) (gramInversePath_contDiff T c hc Q hQ hQr) |
| 126 | (contDiff_adjoint Q hQr) (4*Ri) Ri C₀ hrad hi hC₀ 0 0 |
| 127 | (inversePath_coefficient_bound T Q c hc hQ hQr Rc C₀ Ri hRc hC₀ hRi hbQ) hbAdj n x |
| 128 | simp only [Nat.add_zero] at h |
| 129 | convert h using 1 |
| 130 | all_goals rfl |
| 131 | |
| 132 | include hQr hQ₁r hRc hC₀ hC₁ hRi hbQ hbQ₁ in |
| 133 | /-- The ordinary generator in (12) has actual shift-zero coefficient bounds. -/ |
| 134 | theorem generator_bound (n : ℕ) (x : P) : |
| 135 | ‖iteratedFDeriv ℝ n (fun y => generator T (Q y) (Q₁ y) c hc (hQ y)) x‖ ≤ |
| 136 | (18*Ri*C₀*C₁)*majorant (4*Ri) 0 n := by |
| 137 | obtain ⟨hi,hbase⟩ := inverseRadius_bounds c C₀ Rc Ri hc hRc hRi |
| 138 | have hrad : 0 ≤ 4*Ri := by positivity |
| 139 | have hbQ₁' (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ j Q₁ y‖ ≤ C₁*majorant (4*Ri) 0 j := |
| 140 | (hbQ₁ j y).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc (4*Ri) hRc hbase 0 j) hC₁) |
| 141 | let S := fun y => compose (frameLeftInversePath T (Q y) c hc (hQ y)) (Q₁ y) |
| 142 | have hSr : ContDiff ℝ ∞ S := contDiff_compose _ Q₁ |
| 143 | (frameLeftInversePath_contDiff T Q c hc hQ hQr) hQ₁r |
| 144 | have hSb : ‖iteratedFDeriv ℝ n S x‖ ≤ (3*(3*Ri*C₀)*C₁)*majorant (4*Ri) 0 n := by |
| 145 | exact compose_bound (fun y => frameLeftInversePath T (Q y) c hc (hQ y)) Q₁ |
| 146 | (frameLeftInversePath_contDiff T Q c hc hQ hQr) hQ₁r (4*Ri) (3*Ri*C₀) C₁ |
| 147 | hrad (by positivity) hC₁ 0 0 |
| 148 | (frameLeftInversePath_bound T Q c hc hQ hQr Rc C₀ Ri hRc hC₀ hRi hbQ) hbQ₁' n x |
| 149 | change ‖iteratedFDeriv ℝ n (fun y => (-2 : ℝ) • S y) x‖ ≤ _ |
| 150 | rw [iteratedFDeriv_const_smul_apply' (hSr.contDiffAt.of_le (by simp)), norm_smul] |
| 151 | norm_num only [norm_neg, Real.norm_ofNat] |
| 152 | exact (mul_le_mul_of_nonneg_left hSb (by norm_num : (0 : ℝ) ≤ 2)).trans_eq (by ring) |
| 153 | |
| 154 | end EulerTransverseForwardCoefficientGevrey |