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.FiniteMetricEnergy |
| 2 | |
| 3 | /-! Exact identification of the source's base-Sobolev word sum and root metric energy. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerBaseWordMetric |
| 8 | |
| 9 | open EulerLiftedGradientSpace EulerSpatialSobolevInverse EulerCylinderSobolev EulerFiniteMetricEnergy |
| 10 | open InnerProductSpace |
| 11 | |
| 12 | /-- A base Sobolev word of any length at most s. -/ |
| 13 | abbrev BaseWord (s : ℕ) := Σ n : Fin (s + 1), Fin n.val → Fin 4 |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- The finite family of actual strong derivatives indexed by all base Sobolev words. -/ |
| 18 | def baseWordValues {s : ℕ} {f : LiftL2 period} (J : SpatialJet period standardDirection s f) : |
| 19 | BaseWord s → LiftL2 period := fun w => J.word w.2 |
| 20 | |
| 21 | /-- The sigma-indexed family gives exactly the previously proved strong Sobolev sum norm. -/ |
| 22 | theorem sum_baseWordValues_norm {s : ℕ} {f : LiftL2 period} |
| 23 | (J : SpatialJet period standardDirection s f) : |
| 24 | (∑ w : BaseWord s, ‖baseWordValues period J w‖) = J.sobolevNorm := by |
| 25 | rw [SpatialJet.sobolevNorm_eq_sum_words] |
| 26 | simp only [baseWordValues, Fintype.sum_sigma] |
| 27 | exact Fin.sum_univ_eq_sum_range (fun n => ∑ w : Fin n → Fin 4, ‖J.word w‖) (s + 1) |
| 28 | |
| 29 | /-- The number of base derivative words depends only on the fixed Sobolev index. -/ |
| 30 | theorem card_baseWord (s : ℕ) : Fintype.card (BaseWord s) = ∑ n ∈ Finset.range (s + 1), 4 ^ n := by |
| 31 | simp only [BaseWord, Fintype.card_sigma, Fintype.card_fun, Fintype.card_fin] |
| 32 | exact Fin.sum_univ_eq_sum_range (fun n => 4 ^ n) (s + 1) |
| 33 | |
| 34 | /-- The source's root-of-sum metric energy for all base Sobolev words. -/ |
| 35 | def baseWordMetricNorm {s : ℕ} {f : LiftL2 period} (K : LiftL2 period →L[ℝ] LiftL2 period) |
| 36 | (J : SpatialJet period standardDirection s f) : ℝ := familyMetricNorm K (baseWordValues period J) |
| 37 | |
| 38 | /-- The Sobolev sum is controlled by its metric root with a fixed base-word cardinality constant. -/ |
| 39 | theorem sobolevNorm_le_baseWordMetric {s : ℕ} {f : LiftL2 period} |
| 40 | (K : LiftL2 period →L[ℝ] LiftL2 period) (J : SpatialJet period standardDirection s f) |
| 41 | (c : ℝ) (hc : 0 < c) |
| 42 | (hK : ∀ u, c ^ 2 * ‖u‖ ^ 2 ≤ ⟪K u, u⟫_ℝ) : |
| 43 | J.sobolevNorm ≤ (Real.sqrt (Fintype.card (BaseWord s) : ℝ) / c) * baseWordMetricNorm period K J := by |
| 44 | rw [← sum_baseWordValues_norm period J] |
| 45 | have hsum := sum_norm_le_card_sqrt_familyNorm (baseWordValues period J) |
| 46 | have hmet := familyMetricNorm_lower K (baseWordValues period J) c hc.le hK |
| 47 | have hn : familyNorm (baseWordValues period J) ≤ baseWordMetricNorm period K J / c := by |
| 48 | apply (le_div_iff₀ hc).mpr |
| 49 | simpa only [baseWordMetricNorm, mul_comm] using hmet |
| 50 | have hh := mul_le_mul_of_nonneg_left hn (Real.sqrt_nonneg (Fintype.card (BaseWord s) : ℝ)) |
| 51 | exact hsum.trans (hh.trans_eq (by ring)) |
| 52 | |
| 53 | /-- The metric root is controlled by the actual base Sobolev sum with no extra word-count factor. -/ |
| 54 | theorem baseWordMetric_le_sobolevNorm {s : ℕ} {f : LiftL2 period} |
| 55 | (K : LiftL2 period →L[ℝ] LiftL2 period) (J : SpatialJet period standardDirection s f) : |
| 56 | baseWordMetricNorm period K J ≤ Real.sqrt ‖K‖ * J.sobolevNorm := by |
| 57 | have h := familyMetricNorm_upper K (baseWordValues period J) |
| 58 | have hn := familyNorm_le_sum_norm (baseWordValues period J) |
| 59 | rw [sum_baseWordValues_norm period J] at hn |
| 60 | exact h.trans (mul_le_mul_of_nonneg_left hn (Real.sqrt_nonneg _)) |
| 61 | |
| 62 | end EulerBaseWordMetric |