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.WeightedCylinderEnergy |
| 2 | |
| 3 | /-! Exact triangle inequalities for the actual finite Hilbert forcing families. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerWeightedForcingAlgebra |
| 8 | |
| 9 | open EulerFiniteMetricEnergy EulerWeightedCylinderEnergy EulerPacketWeights |
| 10 | |
| 11 | variable {α β H : Type*} [Fintype α] [Fintype β] |
| 12 | [NormedAddCommGroup H] |
| 13 | |
| 14 | /-- Triangle inequality for the root-of-sum-of-squares norm of actual finite Hilbert families. -/ |
| 15 | theorem familyNorm_add_le (v w : β → H) : familyNorm (v+w) ≤ familyNorm v + familyNorm w := by |
| 16 | apply Real.sqrt_le_iff.mpr |
| 17 | refine ⟨add_nonneg (familyNorm_nonneg v) (familyNorm_nonneg w), ?_⟩ |
| 18 | have hsq : familySquaredNorm (v+w) ≤ ∑ i : β, (‖v i‖+‖w i‖)^2 := by |
| 19 | apply Finset.sum_le_sum |
| 20 | intro i _ |
| 21 | exact pow_le_pow_left₀ (norm_nonneg _) (norm_add_le (v i) (w i)) 2 |
| 22 | have heq : (∑ i : β, (‖v i‖+‖w i‖)^2) = |
| 23 | familySquaredNorm v + 2*(∑ i : β, ‖v i‖*‖w i‖) + familySquaredNorm w := by |
| 24 | simp only [familySquaredNorm, Finset.mul_sum, ← Finset.sum_add_distrib] |
| 25 | exact Finset.sum_congr rfl (fun i _ => by ring) |
| 26 | rw [heq] at hsq |
| 27 | have hcs := family_cauchy_schwarz v w |
| 28 | have hv := familyNorm_sq v |
| 29 | have hw := familyNorm_sq w |
| 30 | nlinarith |
| 31 | |
| 32 | /-- Signs do not change the genuine Hilbert family norm. -/ |
| 33 | theorem familyNorm_neg (v : β → H) : familyNorm (-v) = familyNorm v := by |
| 34 | simp only [familyNorm, familySquaredNorm, Pi.neg_apply, norm_neg] |
| 35 | |
| 36 | /-- Weighted forcing is subadditive without any cardinality factor. -/ |
| 37 | theorem weightedForcingSum_add_le (ρ : ℝ) (hρ : 0 < ρ) (order : α → ℕ) (f g : α → β → H) : |
| 38 | weightedForcingSum ρ order (f+g) ≤ weightedForcingSum ρ order f + weightedForcingSum ρ order g := by |
| 39 | unfold weightedForcingSum |
| 40 | rw [← Finset.sum_add_distrib] |
| 41 | apply Finset.sum_le_sum |
| 42 | intro i _ |
| 43 | exact (mul_le_mul_of_nonneg_left (familyNorm_add_le (f i) (g i)) (weight_pos hρ (order i)).le).trans_eq (mul_add ..) |
| 44 | |
| 45 | /-- Weighted forcing is invariant under the overall sign. -/ |
| 46 | theorem weightedForcingSum_neg (ρ : ℝ) (order : α → ℕ) (f : α → β → H) : |
| 47 | weightedForcingSum ρ order (-f) = weightedForcingSum ρ order f := by |
| 48 | simp only [weightedForcingSum, Pi.neg_apply, familyNorm_neg] |
| 49 | |
| 50 | /-- The forcing norm of a sum is controlled by the sum of the norms of its actual terms. -/ |
| 51 | theorem weightedForcingSum_sum_le {ι : Type*} (ρ : ℝ) (hρ : 0 < ρ) (order : α → ℕ) |
| 52 | (S : Finset ι) (f : ι → α → β → H) : |
| 53 | weightedForcingSum ρ order (∑ i ∈ S, f i) ≤ ∑ i ∈ S, weightedForcingSum ρ order (f i) := by |
| 54 | classical |
| 55 | induction S using Finset.induction_on with |
| 56 | | empty => simp [weightedForcingSum, familyNorm, familySquaredNorm] |
| 57 | | @insert i S hi ih => |
| 58 | rw [Finset.sum_insert hi, Finset.sum_insert hi] |
| 59 | exact (weightedForcingSum_add_le ρ hρ order (f i) (∑ j ∈ S, f j)).trans (add_le_add le_rfl ih) |
| 60 | |
| 61 | end EulerWeightedForcingAlgebra |