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 | |
| 5 | /-! The actual scalar pressure gradient uses one external word and keeps the same radius. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketCylinderField |
| 10 | |
| 11 | open Set Finset EulerLiftedGradientSpace EulerLpCylinderTranslation |
| 12 | EulerCylinderConstantMap EulerCylinderScalarPrimitive EulerCylinderSmoothOrbit |
| 13 | EulerCylinderSobolev EulerParameterWordGevrey EulerGevrey EulerPacketProfileRecursion |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | variable {P : ℝ} [Fact (0 < P)] |
| 17 | |
| 18 | section Path |
| 19 | |
| 20 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 21 | (p : C(K,CylinderL2 P ℝ)) |
| 22 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 23 | |
| 24 | def scalarGradientPath : C(K,LiftL2 P) := ∑ i : Fin 3, |
| 25 | pathMap P (gradientComponent i) (derivativePath P (pathMap P scalarEmbed p) i.succ) |
| 26 | |
| 27 | include hp in |
| 28 | theorem scalarGradientPath_orbit : |
| 29 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (scalarGradientPath p)) := by |
| 30 | simp only [scalarGradientPath,map_sum] |
| 31 | exact ContDiff.sum (fun i _ => pathMap_orbit_contDiff P (gradientComponent i) _ |
| 32 | (derivativePath_orbit P (pathMap P scalarEmbed p) |
| 33 | (pathMap_orbit_contDiff P scalarEmbed p hp) i.succ)) |
| 34 | |
| 35 | include hp in |
| 36 | theorem scalarGradientPath_block_bound (q n : ℕ) (a : LiftTangent) : |
| 37 | block standardDirection q |
| 38 | (fun b : LiftTangent => pathTranslate P b (scalarGradientPath p)) n a ≤ |
| 39 | 3 * block standardDirection q (fun b : LiftTangent => pathTranslate P b p) (n+1) a := by |
| 40 | let u := pathMap P scalarEmbed p |
| 41 | have hu : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b u) := |
| 42 | pathMap_orbit_contDiff P scalarEmbed p hp |
| 43 | let v := fun i : Fin 3 => pathMap P (gradientComponent i) (derivativePath P u i.succ) |
| 44 | have hv (i : Fin 3) : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (v i)) := |
| 45 | pathMap_orbit_contDiff P (gradientComponent i) _ (derivativePath_orbit P u hu i.succ) |
| 46 | have hb (i : Fin 3) : |
| 47 | block standardDirection q (fun b : LiftTangent => pathTranslate P b (v i)) n a ≤ |
| 48 | block standardDirection q (fun b : LiftTangent => pathTranslate P b p) (n+1) a := by |
| 49 | have h₁ := pathMap_block_bound P standardDirection q (gradientComponent i) |
| 50 | (derivativePath P u i.succ) (derivativePath_orbit P u hu i.succ) n a |
| 51 | have h₂ := h₁.trans (mul_le_mul_of_nonneg_right (gradientComponent_norm i) |
| 52 | (block_nonneg standardDirection q |
| 53 | (fun b : LiftTangent => pathTranslate P b (derivativePath P u i.succ)) n a)) |
| 54 | simp only [one_mul] at h₂ |
| 55 | have h₃ := h₂.trans (derivativePath_block_bound P u hu i.succ q n a) |
| 56 | have h₄ := pathMap_block_bound P standardDirection q scalarEmbed p hp (n+1) a |
| 57 | rw [scalarEmbed_norm,one_mul] at h₄ |
| 58 | exact h₃.trans h₄ |
| 59 | have hfun : |
| 60 | (fun b : LiftTangent => pathTranslate P b (scalarGradientPath p)) = |
| 61 | ∑ i : Fin 3, (fun b : LiftTangent => pathTranslate P b (v i)) := by |
| 62 | funext b |
| 63 | simp only [scalarGradientPath,map_sum,Finset.sum_apply,v,u] |
| 64 | rw [hfun] |
| 65 | have h := block_finset_sum_le standardDirection q univ |
| 66 | (fun i : Fin 3 => fun b : LiftTangent => pathTranslate P b (v i)) (fun i _ => hv i) n a |
| 67 | exact h.trans ((sum_le_sum (fun i _ => hb i)).trans_eq (by |
| 68 | simp only [sum_const,card_univ,Fintype.card_fin,nsmul_eq_mul,Nat.cast_ofNat])) |
| 69 | |
| 70 | include hp in |
| 71 | theorem scalarGradientPath_majorant (q : ℕ) (R A : ℝ) (d : ℕ) |
| 72 | (hb : ∀ n, block standardDirection q (fun b : LiftTangent => pathTranslate P b p) n 0 ≤ |
| 73 | A * majorant R d n) (n : ℕ) : |
| 74 | block standardDirection q |
| 75 | (fun b : LiftTangent => pathTranslate P b (scalarGradientPath p)) n 0 ≤ |
| 76 | (3*A) * majorant R (d+1) n := by |
| 77 | have h := (scalarGradientPath_block_bound p hp q n 0).trans |
| 78 | (mul_le_mul_of_nonneg_left (hb (n+1)) (by norm_num : (0 : ℝ) ≤ 3)) |
| 79 | exact h.trans_eq (by |
| 80 | simp only [majorant,show n+1+d=n+(d+1) by omega] |
| 81 | ring) |
| 82 | |
| 83 | end Path |
| 84 | |
| 85 | section Field |
| 86 | |
| 87 | variable {T : ℝ} (raw : ScalarField) (p : C(Icc (0 : ℝ) T,CylinderL2 P ℝ)) |
| 88 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 89 | (he : ∀ (t : Icc (0 : ℝ) T) x θ, |
| 90 | raw (t,(x,θ)) = scalarPointField P p hp t (x,(θ : AddCircle P))) |
| 91 | |
| 92 | theorem scalarGradientField_path : |
| 93 | (scalarGradientField raw p hp he).path = scalarGradientPath p := rfl |
| 94 | |
| 95 | theorem scalarGradientField_block_bound (q n : ℕ) (a : LiftTangent) : |
| 96 | block standardDirection q |
| 97 | (fun b : LiftTangent => pathTranslate P b (scalarGradientField raw p hp he).path) n a ≤ |
| 98 | 3 * block standardDirection q (fun b : LiftTangent => pathTranslate P b p) (n+1) a := |
| 99 | scalarGradientPath_block_bound p hp q n a |
| 100 | |
| 101 | theorem scalarGradientField_majorant (q : ℕ) (R A : ℝ) (d : ℕ) |
| 102 | (hb : ∀ n, block standardDirection q (fun b : LiftTangent => pathTranslate P b p) n 0 ≤ |
| 103 | A * majorant R d n) (n : ℕ) : |
| 104 | block standardDirection q |
| 105 | (fun b : LiftTangent => pathTranslate P b (scalarGradientField raw p hp he).path) n 0 ≤ |
| 106 | (3*A) * majorant R (d+1) n := |
| 107 | scalarGradientPath_majorant p hp q R A d hb n |
| 108 | |
| 109 | end Field |
| 110 | |
| 111 | end EulerPacketCylinderField |