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.PacketCylinderWeightedLinear |
| 2 | import Euler.PacketGradeAbsorption |
| 3 | |
| 4 | /-! Comparison of the actual time profiles and absorption of a finite family at a fixed radius. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketCylinderField |
| 9 | |
| 10 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 11 | EulerPacketProfileRecursion EulerContinuousTimeWeight EulerGevrey |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | def profileRatio {K : Type*} [TopologicalSpace K] |
| 15 | (g b : C(K,ℝ)) (hb : ∀ t, 0 < b t) : C(K,ℝ) := |
| 16 | ⟨fun t => g t/b t,g.continuous.div b.continuous (fun t => (hb t).ne')⟩ |
| 17 | |
| 18 | @[simp] theorem profileRatio_apply {K : Type*} [TopologicalSpace K] |
| 19 | (g b : C(K,ℝ)) (hb : ∀ t, 0 < b t) (t : K) : profileRatio g b hb t = g t/b t := rfl |
| 20 | |
| 21 | theorem profileRatio_abs_le {K : Type*} [TopologicalSpace K] |
| 22 | (g b : C(K,ℝ)) (hg : ∀ t, 0 ≤ g t) (hb : ∀ t, 0 < b t) |
| 23 | (C : ℝ) (hC : ∀ t, g t ≤ C*b t) (t : K) : |profileRatio g b hb t| ≤ C := by |
| 24 | rw [profileRatio_apply,abs_of_nonneg (div_nonneg (hg t) (hb t).le)] |
| 25 | exact (div_le_iff₀ (hb t)).mpr (hC t) |
| 26 | |
| 27 | namespace Field |
| 28 | |
| 29 | variable {P T : ℝ} [Fact (0 < P)] {raw : VectorField} (G : Field P T raw) |
| 30 | (hT : 0 ≤ T) (g b : C(Icc (0 : ℝ) T,ℝ)) |
| 31 | (hg : ∀ t, 0 < g t) (hb : ∀ t, 0 < b t) |
| 32 | |
| 33 | theorem normalized_changeProfile_path : (G.normalized hT b hb).path = |
| 34 | ((G.normalized hT g hg).weighted hT (profileRatio g b hb)).path := by |
| 35 | apply path_eq_of_raw_eq |
| 36 | intro t x θ |
| 37 | change profileRatio g b hb (projIcc 0 T hT t) • |
| 38 | ((g (projIcc 0 T hT t))⁻¹ • raw (t,(x,θ))) = |
| 39 | (b (projIcc 0 T hT t))⁻¹ • raw (t,(x,θ)) |
| 40 | rw [projIcc_of_mem hT t.property] |
| 41 | simp only [profileRatio_apply,smul_smul] |
| 42 | congr 1 |
| 43 | field_simp [(hg t).ne',(hb t).ne'] |
| 44 | |
| 45 | variable {G g hg} |
| 46 | |
| 47 | theorem WordBound.changeProfile {q d : ℕ} {R A : ℝ} |
| 48 | (hG : (G.normalized hT g hg).WordBound q R A d) |
| 49 | (C : ℝ) (hC : 0 ≤ C) (hgb : ∀ t, g t ≤ C*b t) : |
| 50 | (G.normalized hT b hb).WordBound q R (C*A) d := by |
| 51 | have hw := hG.weighted hT (profileRatio g b hb) C hC |
| 52 | (profileRatio_abs_le g b (fun t => (hg t).le) hb C hgb) |
| 53 | exact hw.of_path_eq _ (G.normalized_changeProfile_path hT g b hg hb) |
| 54 | |
| 55 | theorem WordBound.enlargeProfile {q d : ℕ} {R A : ℝ} |
| 56 | (hG : (G.normalized hT g hg).WordBound q R A d) (hgb : ∀ t, g t ≤ b t) : |
| 57 | (G.normalized hT b hb).WordBound q R A d := by |
| 58 | have hh := hG.changeProfile hT b hb 1 zero_le_one (by simpa only [one_mul] using hgb) |
| 59 | simpa only [one_mul] using hh |
| 60 | |
| 61 | theorem wordBound_normalized_finset_absorb {ι : Type*} (s : Finset ι) |
| 62 | (f : ι → VectorField) (W : ∀ i, Field P T (f i)) |
| 63 | (q : ℕ) (R C : ℝ) (d : ℕ) (shift : ι → ℕ) |
| 64 | (hR : 1 ≤ R) (hC : 0 ≤ C) (hCR : C ≤ R) (hd : 0 < d) |
| 65 | (hcount : s.card ≤ d^2) (hshift : ∀ i ∈ s, shift i < d) |
| 66 | (hW : ∀ i ∈ s, ((W i).normalized hT b hb).WordBound q R C (shift i)) : |
| 67 | ((Field.finsetSum s f W).normalized hT b hb).WordBound q R 1 d := by |
| 68 | have hh := wordBound_finset_absorb s _ (fun i => (W i).normalized hT b hb) |
| 69 | q R C d shift hR hC hCR hd hcount hshift hW |
| 70 | exact hh.of_path_eq _ (normalized_finsetSum_path hT b hb s f W) |
| 71 | |
| 72 | end Field |
| 73 | end EulerPacketCylinderField |