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.ShortTimeLinearGrowth |
| 2 | import Euler.PacketSourcePropagator |
| 3 | import Euler.PacketParentForwardBudget |
| 4 | |
| 5 | /-! The first-packet homogeneous estimate follows from the actual constructed |
| 6 | coordinate evolution. Its coefficient is bounded by the source deformation |
| 7 | and its first time derivative; determinant one supplies the inverse bound. |
| 8 | The resulting forward budget has constant profile one and propagator cost two. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerPacketSourcePropagator |
| 13 | |
| 14 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 15 | EulerTransversePacketProvider EulerSourceForwardCoefficient EulerVolterraConvolution |
| 16 | EulerTransverseGramInverse EulerPacketPiola EulerGevrey |
| 17 | open scoped ContDiff BoundedContinuousFunction |
| 18 | |
| 19 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 20 | |
| 21 | private local instance : NormedRing (U →L[ℝ] U) := inferInstance |
| 22 | private local instance : NormedRing (Space →ᵇ U →L[ℝ] U) := inferInstance |
| 23 | |
| 24 | def shortTimeRate (C C₁ : ℝ) : ℝ := 2*(1+3*C^2)^2*C*C₁ |
| 25 | |
| 26 | theorem shortTimeRate_nonneg (C C₁ : ℝ) (hC : 0 ≤ C) (hC₁ : 0 ≤ C₁) : |
| 27 | 0 ≤ shortTimeRate C C₁ := by |
| 28 | unfold shortTimeRate |
| 29 | positivity |
| 30 | |
| 31 | variable (D : Data U) |
| 32 | |
| 33 | theorem sourceGenerator_norm_le (C C₁ : ℝ) (hC : 0 ≤ C) (_hC₁ : 0 ≤ C₁) |
| 34 | (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) |
| 35 | (hF : ∀ t x, ‖D.F.field t x‖ ≤ C) |
| 36 | (hF₁ : ∀ t x, ‖D.F₁.field t x‖ ≤ C₁) |
| 37 | (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 38 | ‖sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower t x‖ ≤ |
| 39 | shortTimeRate C C₁ := by |
| 40 | have hQ : ‖D.frame.field t x‖ ≤ C := by |
| 41 | simpa only [norm_iteratedFDeriv_zero] using D.frame_spatial_bound 0 C |
| 42 | (fun r y => by simpa only [norm_iteratedFDeriv_zero] using hF r y) t x |
| 43 | have hQ₁ : ‖D.frameDerivative.field t x‖ ≤ C₁ := by |
| 44 | simpa only [norm_iteratedFDeriv_zero] using D.frameDerivative_spatial_bound 0 C₁ |
| 45 | (fun r y => by simpa only [norm_iteratedFDeriv_zero] using hF₁ r y) t x |
| 46 | have hi := (gramInverse_norm (D.frame.field t x) D.frameLower D.frameLower_pos |
| 47 | (D.frame_lower t x)).trans (D.frameLower_inv_le_of_frame C hC hdet hF) |
| 48 | have hprod : ‖(D.frame.field t x).adjoint.comp (D.frameDerivative.field t x)‖ ≤ C*C₁ := by |
| 49 | apply (opNorm_comp_le _ _).trans |
| 50 | rw [LinearIsometryEquiv.norm_map] |
| 51 | exact mul_le_mul hQ hQ₁ (norm_nonneg _) hC |
| 52 | change ‖(-2 : ℝ) • (gramInverse (D.frame.field t x) D.frameLower D.frameLower_pos |
| 53 | (D.frame_lower t x)).comp ((D.frame.field t x).adjoint.comp (D.frameDerivative.field t x))‖ ≤ _ |
| 54 | rw [norm_smul] |
| 55 | norm_num only [Real.norm_eq_abs] |
| 56 | apply (mul_le_mul_of_nonneg_left ((opNorm_comp_le _ _).trans |
| 57 | (mul_le_mul hi hprod (norm_nonneg _) (sq_nonneg _))) (by norm_num)).trans_eq |
| 58 | unfold shortTimeRate |
| 59 | ring |
| 60 | |
| 61 | /-- A localized coefficient bound suffices; no estimate outside S enters. -/ |
| 62 | theorem propagator_norm_le_two (S : Set Space) (L : ℝ) (hL : 0 ≤ L) |
| 63 | (hB : ∀ t : Icc (0 : ℝ) D.T, ∀ x ∈ S, |
| 64 | ‖sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower t x‖ ≤ L) |
| 65 | (hshort : L*D.T ≤ 1/2) |
| 66 | (t s : Icc (0 : ℝ) D.T) (hst : s ≤ t) (x : Space) (hx : x ∈ S) : |
| 67 | ‖propagator D t s x‖ ≤ 2 := by |
| 68 | let B := sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower |
| 69 | apply (propagator D t s x).opNorm_le_bound (by norm_num) |
| 70 | intro v |
| 71 | let f' : ℝ → U := fun r => extendPath D.T D.T_pos.le B r x (coordinate D s x v r) |
| 72 | have hd (r : ℝ) (hr : r ∈ Icc (0 : ℝ) D.T) : |
| 73 | HasDerivWithinAt (coordinate D s x v) (f' r) (Icc (0 : ℝ) D.T) r := by |
| 74 | simpa only [f',extendPath,projIcc_of_mem D.T_pos.le hr] using |
| 75 | coordinate_hasDerivWithinAt D s ⟨r,hr⟩ x v |
| 76 | have hb (r : ℝ) (hr : r ∈ Icc (0 : ℝ) D.T) : |
| 77 | ‖f' r‖ ≤ L*‖coordinate D s x v r‖ := by |
| 78 | simp only [f',extendPath,projIcc_of_mem D.T_pos.le hr] |
| 79 | exact ((B ⟨r,hr⟩ x).le_opNorm _).trans |
| 80 | (mul_le_mul_of_nonneg_right (hB ⟨r,hr⟩ x hx) (norm_nonneg _)) |
| 81 | have h := EulerShortTimeLinearGrowth.norm_le_two D.T L hL (coordinate D s x v) f' |
| 82 | hd hb hshort s t hst |
| 83 | simpa only [coordinate_at,propagator_self] using h |
| 84 | |
| 85 | theorem propagator_norm_le_two_of_deformation (C C₁ : ℝ) (hC : 0 ≤ C) (hC₁ : 0 ≤ C₁) |
| 86 | (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) |
| 87 | (hF : ∀ t x, ‖D.F.field t x‖ ≤ C) |
| 88 | (hF₁ : ∀ t x, ‖D.F₁.field t x‖ ≤ C₁) |
| 89 | (hshort : shortTimeRate C C₁*D.T ≤ 1/2) |
| 90 | (t s : Icc (0 : ℝ) D.T) (hst : s ≤ t) (x : Space) : |
| 91 | ‖propagator D t s x‖ ≤ 2 := |
| 92 | propagator_norm_le_two D univ (shortTimeRate C C₁) (shortTimeRate_nonneg C C₁ hC hC₁) |
| 93 | (fun r y _ => sourceGenerator_norm_le D C C₁ hC hC₁ hdet hF hF₁ r y) |
| 94 | hshort t s hst x (mem_univ _) |
| 95 | |
| 96 | /-- The full source forward budget for g=1. All homogeneous propagation |
| 97 | estimates are proved from the displayed shortness condition. -/ |
| 98 | def shortTimeForwardBudget (q : ℕ) (R C C₁ : ℝ) |
| 99 | (hR : 0 ≤ R) (hC : 0 ≤ C) (hC₁ : 0 ≤ C₁) |
| 100 | (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) |
| 101 | (hF : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C*majorant R 0 n) |
| 102 | (hF₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ C₁*majorant R 0 n) |
| 103 | (Ω : Set Space) (hΩ : MeasurableSet Ω) (hΩo : IsOpen Ω) |
| 104 | (hsub : D.support ⊆ Ω) (hΩball : ∀ x ∈ Ω, ‖x‖ ≤ (1/2 : ℝ)) |
| 105 | (hshort : shortTimeRate C C₁*D.T ≤ 1/2) : |
| 106 | EulerTransversePacketForward.Budget D (Fin 4) q := by |
| 107 | apply EulerPacketParentForwardBudget.sourceForwardBudget D q R C C₁ 2 |
| 108 | hR hC hC₁ (by norm_num) hdet hF hF₁ (1 : C(Icc (0 : ℝ) D.T,ℝ)) |
| 109 | (by intro t; norm_num) (by norm_num) Ω hΩ hΩo hsub hΩball |
| 110 | intro t s hst x _ |
| 111 | have hf (r : Icc (0 : ℝ) D.T) (y : Space) : ‖D.F.field r y‖ ≤ C := by |
| 112 | simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, |
| 113 | Nat.cast_one,pow_zero,mul_one,one_pow] using hF 0 r y |
| 114 | have hf₁ (r : Icc (0 : ℝ) D.T) (y : Space) : ‖D.F₁.field r y‖ ≤ C₁ := by |
| 115 | simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, |
| 116 | Nat.cast_one,pow_zero,mul_one,one_pow] using hF₁ 0 r y |
| 117 | simpa only [ContinuousMap.one_apply,mul_one,div_one,propagator,fundamental] using |
| 118 | propagator_norm_le_two_of_deformation D C C₁ hC hC₁ hdet hf hf₁ hshort t s hst x |
| 119 | |
| 120 | end EulerPacketSourcePropagator |