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.SobolevWordBlocks |
| 2 | import Euler.DivergenceFreeHeat |
| 3 | |
| 4 | /-! The actual lifted gradient and divergence constraints persist under every available strong derivative word. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerSobolevWordConstraints |
| 9 | |
| 10 | open EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevWordBlocks EulerDivergenceFreeHeat |
| 11 | |
| 12 | variable (period : ℝ) [Fact (0 < period)] |
| 13 | |
| 14 | /-- The genuine orthogonal lifted gradient projection acting on the complete Sobolev scale. -/ |
| 15 | def sobolevGradientProjection (q : ℕ) (κ : ℝ) (m : Vector3) : |
| 16 | SobolevSpace period q →L[ℝ] SobolevSpace period q := |
| 17 | liftOperator period q (gradientProjection period κ m) |
| 18 | (fun a f => (gradientProjection_translation period κ m a f).symm) |
| 19 | |
| 20 | /-- Its zeroth coordinate is exactly the original L² orthogonal projection. -/ |
| 21 | theorem sobolevGradientProjection_value {q : ℕ} (κ : ℝ) (m : Vector3) (u : SobolevSpace period q) : |
| 22 | value period (sobolevGradientProjection period q κ m u) = gradientProjection period κ m (value period u) := rfl |
| 23 | |
| 24 | /-- The actual Sobolev gradient projection acts on each genuine derivative coordinate. -/ |
| 25 | theorem sobolevGradientProjection_word {q n : ℕ} (hn : n ≤ q) (κ : ℝ) (m : Vector3) |
| 26 | (u : SobolevSpace period q) (w : Fin n → Fin 4) : |
| 27 | word period (sobolevGradientProjection period q κ m u) hn w = |
| 28 | gradientProjection period κ m (word period u hn w) := rfl |
| 29 | |
| 30 | /-- A divergence-free Sobolev field has zero Sobolev gradient projection, including all derivatives. -/ |
| 31 | theorem sobolevGradientProjection_zero {q : ℕ} (κ : ℝ) (m : Vector3) (u : SobolevSpace period q) |
| 32 | (hu : value period u ∈ divergenceFreeSpace period κ m) : |
| 33 | sobolevGradientProjection period q κ m u = 0 := by |
| 34 | apply value_injective period |
| 35 | rw [sobolevGradientProjection_value] |
| 36 | exact (gradientEvaluation_zero_iff period κ m u).mpr hu |
| 37 | |
| 38 | /-- Every actual derivative word of a divergence-free field remains divergence-free. -/ |
| 39 | theorem word_divergenceFree {q n : ℕ} (hn : n ≤ q) (κ : ℝ) (m : Vector3) |
| 40 | (u : SobolevSpace period q) (hu : value period u ∈ divergenceFreeSpace period κ m) |
| 41 | (w : Fin n → Fin 4) : word period u hn w ∈ divergenceFreeSpace period κ m := by |
| 42 | apply (gradientSpace period κ m).orthogonalProjectionOnto_eq_zero_iff.mp |
| 43 | apply Subtype.ext |
| 44 | change gradientProjection period κ m (word period u hn w) = 0 |
| 45 | rw [← sobolevGradientProjection_word period hn κ m u w, |
| 46 | sobolevGradientProjection_zero period κ m u hu] |
| 47 | rfl |
| 48 | |
| 49 | /-- A genuine gradient field is fixed by the Sobolev gradient projection. -/ |
| 50 | theorem sobolevGradientProjection_self {q : ℕ} (κ : ℝ) (m : Vector3) (u : SobolevSpace period q) |
| 51 | (hu : value period u ∈ gradientSpace period κ m) : |
| 52 | sobolevGradientProjection period q κ m u = u := by |
| 53 | apply value_injective period |
| 54 | rw [sobolevGradientProjection_value] |
| 55 | exact (gradientSpace period κ m).starProjection_eq_self_iff.mpr hu |
| 56 | |
| 57 | /-- Every actual derivative word of a lifted pressure gradient remains in the lifted gradient space. -/ |
| 58 | theorem word_gradient {q n : ℕ} (hn : n ≤ q) (κ : ℝ) (m : Vector3) |
| 59 | (u : SobolevSpace period q) (hu : value period u ∈ gradientSpace period κ m) |
| 60 | (w : Fin n → Fin 4) : word period u hn w ∈ gradientSpace period κ m := by |
| 61 | apply (gradientSpace period κ m).starProjection_eq_self_iff.mp |
| 62 | change gradientProjection period κ m (word period u hn w) = word period u hn w |
| 63 | rw [← sobolevGradientProjection_word period hn κ m u w, |
| 64 | sobolevGradientProjection_self period κ m u hu] |
| 65 | |
| 66 | end EulerSobolevWordConstraints |