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.PacketCylinderScalarGradient |
| 2 | import Euler.CylinderConstantMapBounds |
| 3 | import Euler.ParameterSobolevFiniteSum |
| 4 | import Euler.CylinderPotentialWeight |
| 5 | |
| 6 | /-! Pressure-gradient bounds after literal time-profile division, with no profile extrema or time derivative. -/ |
| 7 | |
| 8 | /-! ## From `Euler/PacketCylinderScalarGradientBounds.lean` |
| 9 | |
| 10 | The text of `Euler/PacketCylinderScalarGradientBounds.lean`, folded into this file, which was its only importer. -/ |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The actual scalar pressure gradient uses one external word and keeps the same radius. -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | namespace EulerPacketCylinderField |
| 19 | |
| 20 | open Set Finset EulerLiftedGradientSpace EulerLpCylinderTranslation |
| 21 | EulerCylinderConstantMap EulerCylinderScalarPrimitive EulerCylinderSmoothOrbit |
| 22 | EulerCylinderSobolev EulerParameterWordGevrey EulerGevrey EulerPacketProfileRecursion |
| 23 | open scoped ContDiff |
| 24 | |
| 25 | variable {P : ℝ} [Fact (0 < P)] |
| 26 | |
| 27 | section Path |
| 28 | |
| 29 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 30 | (p : C(K,CylinderL2 P ℝ)) |
| 31 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 32 | |
| 33 | def scalarGradientPath : C(K,LiftL2 P) := ∑ i : Fin 3, |
| 34 | pathMap P (gradientComponent i) (derivativePath P (pathMap P scalarEmbed p) i.succ) |
| 35 | |
| 36 | include hp in |
| 37 | theorem scalarGradientPath_block_bound (q n : ℕ) (a : LiftTangent) : |
| 38 | block standardDirection q |
| 39 | (fun b : LiftTangent => pathTranslate P b (scalarGradientPath p)) n a ≤ |
| 40 | 3 * block standardDirection q (fun b : LiftTangent => pathTranslate P b p) (n+1) a := by |
| 41 | let u := pathMap P scalarEmbed p |
| 42 | have hu : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b u) := |
| 43 | pathMap_orbit_contDiff P scalarEmbed p hp |
| 44 | let v := fun i : Fin 3 => pathMap P (gradientComponent i) (derivativePath P u i.succ) |
| 45 | have hv (i : Fin 3) : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (v i)) := |
| 46 | pathMap_orbit_contDiff P (gradientComponent i) _ (derivativePath_orbit P u hu i.succ) |
| 47 | have hb (i : Fin 3) : |
| 48 | block standardDirection q (fun b : LiftTangent => pathTranslate P b (v i)) n a ≤ |
| 49 | block standardDirection q (fun b : LiftTangent => pathTranslate P b p) (n+1) a := by |
| 50 | have h₁ := pathMap_block_bound P standardDirection q (gradientComponent i) |
| 51 | (derivativePath P u i.succ) (derivativePath_orbit P u hu i.succ) n a |
| 52 | have h₂ := h₁.trans (mul_le_mul_of_nonneg_right (gradientComponent_norm i) |
| 53 | (block_nonneg standardDirection q |
| 54 | (fun b : LiftTangent => pathTranslate P b (derivativePath P u i.succ)) n a)) |
| 55 | simp only [one_mul] at h₂ |
| 56 | have h₃ := h₂.trans (derivativePath_block_bound P u hu i.succ q n a) |
| 57 | have h₄ := pathMap_block_bound P standardDirection q scalarEmbed p hp (n+1) a |
| 58 | rw [scalarEmbed_norm,one_mul] at h₄ |
| 59 | exact h₃.trans h₄ |
| 60 | have hfun : |
| 61 | (fun b : LiftTangent => pathTranslate P b (scalarGradientPath p)) = |
| 62 | ∑ i : Fin 3, (fun b : LiftTangent => pathTranslate P b (v i)) := by |
| 63 | funext b |
| 64 | simp only [scalarGradientPath,map_sum,Finset.sum_apply,v,u] |
| 65 | rw [hfun] |
| 66 | have h := block_finset_sum_le standardDirection q univ |
| 67 | (fun i : Fin 3 => fun b : LiftTangent => pathTranslate P b (v i)) (fun i _ => hv i) n a |
| 68 | exact h.trans ((sum_le_sum (fun i _ => hb i)).trans_eq (by |
| 69 | simp only [sum_const,card_univ,Fintype.card_fin,nsmul_eq_mul,Nat.cast_ofNat])) |
| 70 | |
| 71 | include hp in |
| 72 | theorem scalarGradientPath_majorant (q : ℕ) (R A : ℝ) (d : ℕ) |
| 73 | (hb : ∀ n, block standardDirection q (fun b : LiftTangent => pathTranslate P b p) n 0 ≤ |
| 74 | A * majorant R d n) (n : ℕ) : |
| 75 | block standardDirection q |
| 76 | (fun b : LiftTangent => pathTranslate P b (scalarGradientPath p)) n 0 ≤ |
| 77 | (3*A) * majorant R (d+1) n := by |
| 78 | have h := (scalarGradientPath_block_bound p hp q n 0).trans |
| 79 | (mul_le_mul_of_nonneg_left (hb (n+1)) (by norm_num : (0 : ℝ) ≤ 3)) |
| 80 | exact h.trans_eq (by |
| 81 | simp only [majorant,show n+1+d=n+(d+1) by omega] |
| 82 | ring) |
| 83 | |
| 84 | end Path |
| 85 | |
| 86 | section Field |
| 87 | |
| 88 | variable {T : ℝ} (raw : ScalarField) (p : C(Icc (0 : ℝ) T,CylinderL2 P ℝ)) |
| 89 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 90 | (he : ∀ (t : Icc (0 : ℝ) T) x θ, |
| 91 | raw (t,(x,θ)) = scalarPointField P p hp t (x,(θ : AddCircle P))) |
| 92 | |
| 93 | end Field |
| 94 | |
| 95 | end EulerPacketCylinderField |
| 96 | end |
| 97 | |
| 98 | end |
| 99 | |
| 100 | noncomputable section |
| 101 | |
| 102 | namespace EulerPacketCylinderField |
| 103 | |
| 104 | open Set ContinuousLinearMap Finset EulerSmoothLimit EulerLiftedGradientSpace |
| 105 | EulerLpCylinderTranslation EulerLpCylinderRectangular EulerCylinderConstantMap |
| 106 | EulerCylinderScalarPrimitive EulerCylinderSmoothOrbit EulerCylinderPotential |
| 107 | EulerCylinderSobolev EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight |
| 108 | EulerPacketProfileRecursion |
| 109 | open scoped ContDiff |
| 110 | |
| 111 | variable {P : ℝ} [Fact (0 < P)] |
| 112 | {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 113 | |
| 114 | private theorem pathMap_timeWeight |
| 115 | {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 116 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 117 | (L : E →L[ℝ] F) (g : C(K,ℝ)) (p : C(K,CylinderL2 P E)) : |
| 118 | pathMap P L (weight g p) = weight g (pathMap P L p) := by |
| 119 | apply ContinuousMap.ext |
| 120 | intro t |
| 121 | exact (map P L).map_smul (g t) (p t) |
| 122 | |
| 123 | variable (p : C(K,CylinderL2 P ℝ)) |
| 124 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 125 | |
| 126 | include hp in |
| 127 | theorem scalarWeightedOrbit (g : C(K,ℝ)) : |
| 128 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (weight g p)) := by |
| 129 | have he : (fun a : LiftTangent => pathTranslate P a (weight g p)) = |
| 130 | weight g ∘ (fun a : LiftTangent => pathTranslate P a p) := |
| 131 | funext (fun a => translate_weight P g a p) |
| 132 | rw [he] |
| 133 | exact (weight g).contDiff.comp hp |
| 134 | |
| 135 | include hp in |
| 136 | theorem scalarGradientPath_weight (g : C(K,ℝ)) : |
| 137 | scalarGradientPath (weight g p) = weight g (scalarGradientPath p) := by |
| 138 | unfold scalarGradientPath |
| 139 | rw [map_sum] |
| 140 | apply sum_congr rfl |
| 141 | intro i _ |
| 142 | rw [pathMap_timeWeight,derivativePath_weight P g (pathMap P scalarEmbed p) |
| 143 | (pathMap_orbit_contDiff P scalarEmbed p hp) i.succ,pathMap_timeWeight] |
| 144 | |
| 145 | include hp in |
| 146 | theorem scalarGradientPath_normalize (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) : |
| 147 | scalarGradientPath (normalize g hg p) = normalize g hg (scalarGradientPath p) := |
| 148 | scalarGradientPath_weight p hp (reciprocal g hg) |
| 149 | |
| 150 | include hp in |
| 151 | theorem scalarGradientPath_normalized_majorant (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) |
| 152 | (q : ℕ) (R A : ℝ) (d : ℕ) |
| 153 | (hb : ∀ n, block standardDirection q |
| 154 | (fun a : LiftTangent => pathTranslate P a (normalize g hg p)) n 0 ≤ A*majorant R d n) |
| 155 | (n : ℕ) : |
| 156 | block standardDirection q |
| 157 | (fun a : LiftTangent => pathTranslate P a (normalize g hg (scalarGradientPath p))) n 0 ≤ |
| 158 | (3*A)*majorant R (d+1) n := by |
| 159 | rw [← scalarGradientPath_normalize p hp g hg] |
| 160 | exact scalarGradientPath_majorant (normalize g hg p) |
| 161 | (scalarWeightedOrbit p hp (reciprocal g hg)) q R A d hb n |
| 162 | |
| 163 | end EulerPacketCylinderField |