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