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.SobolevGevreyOperators |
| 2 | import Euler.BaseWordMetric |
| 3 | import Euler.WeightedCylinderEnergy |
| 4 | |
| 5 | /-! Cutoff-independent comparison between actual Sobolev Gevrey sums and the source's metric root energies. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerGevreyMetricComparison |
| 10 | |
| 11 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 12 | EulerSpatialSobolevInverse EulerH6Pressure EulerJetProductBounds EulerPacketWeights |
| 13 | EulerSobolevGevreyOperators EulerBaseWordMetric EulerFiniteMetricEnergy EulerWeightedCylinderEnergy |
| 14 | open scoped Topology |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | |
| 18 | /-- All external derivative words through the selected cutoff. -/ |
| 19 | abbrev ExternalWord (N : ℕ) := Σ n : Fin (N+1), Fin n.val → Fin 4 |
| 20 | |
| 21 | /-- Literal base derivatives of each external word of an actual Sobolev field. -/ |
| 22 | def energyValues {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (u : SobolevSpace period s) : |
| 23 | ExternalWord N → BaseWord q → LiftL2 period := fun I => |
| 24 | baseWordValues period (EulerH6Pressure.SpatialJet.derivativeJet (q := q) (toJet period u) I.2 (by have := I.1.isLt; omega)) |
| 25 | |
| 26 | /-- Exact rewriting of a valid external Sobolev block as the actual base-word derivative sums. -/ |
| 27 | theorem blockNorm_baseWords {s q n : ℕ} (u : SobolevSpace period s) (h : n+q ≤ s) : |
| 28 | blockNorm period (toJet period u) q n = |
| 29 | ∑ w : Fin n → Fin 4, (EulerH6Pressure.SpatialJet.derivativeJet (q := q) (toJet period u) w h).sobolevNorm := by |
| 30 | rw [blockNorm_eq_word_sizes (toJet period u) h] |
| 31 | apply Finset.sum_congr rfl |
| 32 | intro w _ |
| 33 | exact sobolevSize_eq period (EulerH6Pressure.SpatialJet.derivativeJet (q := q) (toJet period u) w h) |
| 34 | |
| 35 | /-- The lower comparison at one external order uses only the fixed number of base Sobolev words. -/ |
| 36 | theorem blockNorm_metric_lower {s q n : ℕ} (u : SobolevSpace period s) (h : n+q ≤ s) |
| 37 | (K : LiftL2 period →L[ℝ] LiftL2 period) (c : ℝ) (hc : 0 < c) |
| 38 | (hK : ∀ v, c^2*‖v‖^2 ≤ ⟪K v,v⟫_ℝ) : |
| 39 | blockNorm period (toJet period u) q n ≤ |
| 40 | (Real.sqrt (Fintype.card (BaseWord q) : ℝ)/c) * |
| 41 | ∑ w : Fin n → Fin 4, baseWordMetricNorm period K |
| 42 | (EulerH6Pressure.SpatialJet.derivativeJet (q := q) (toJet period u) w h) := by |
| 43 | rw [blockNorm_baseWords period u h, Finset.mul_sum] |
| 44 | exact Finset.sum_le_sum fun w _ => sobolevNorm_le_baseWordMetric period K _ c hc hK |
| 45 | |
| 46 | /-- The upper metric comparison is independent of the external word count. -/ |
| 47 | theorem blockNorm_metric_upper {s q n : ℕ} (u : SobolevSpace period s) (h : n+q ≤ s) |
| 48 | (K : LiftL2 period →L[ℝ] LiftL2 period) : |
| 49 | (∑ w : Fin n → Fin 4, baseWordMetricNorm period K |
| 50 | (EulerH6Pressure.SpatialJet.derivativeJet (q := q) (toJet period u) w h)) ≤ |
| 51 | Real.sqrt ‖K‖ * blockNorm period (toJet period u) q n := by |
| 52 | rw [blockNorm_baseWords period u h, Finset.mul_sum] |
| 53 | exact Finset.sum_le_sum fun w _ => baseWordMetric_le_sobolevNorm period K _ |
| 54 | |
| 55 | /-- The metric-weighted energy is exactly the external-word sum of fixed-base metric roots. -/ |
| 56 | theorem metricSum_eq {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) |
| 57 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) : |
| 58 | weightedMetricSum ρ (fun I : ExternalWord N => I.1.val) K (energyValues period q N hN u) = |
| 59 | ∑ n : Fin (N+1), weight ρ n.val * ∑ w : Fin n.val → Fin 4, |
| 60 | baseWordMetricNorm period K (EulerH6Pressure.SpatialJet.derivativeJet (q := q) (toJet period u) w |
| 61 | (by have := n.isLt; omega)) := by |
| 62 | simp only [weightedMetricSum, Fintype.sum_sigma, Finset.mul_sum, energyValues, baseWordMetricNorm] |
| 63 | |
| 64 | /-- The actual weighted Sobolev sum is controlled by metric roots with no external-cutoff constant. -/ |
| 65 | theorem weightedNorm_metric_lower {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (hρ : 0 < ρ) |
| 66 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) (c : ℝ) (hc : 0 < c) |
| 67 | (hK : ∀ v, c^2*‖v‖^2 ≤ ⟪K v,v⟫_ℝ) : |
| 68 | weightedNorm period q N ρ u ≤ (Real.sqrt (Fintype.card (BaseWord q) : ℝ)/c) * |
| 69 | weightedMetricSum ρ (fun I : ExternalWord N => I.1.val) K (energyValues period q N hN u) := by |
| 70 | rw [metricSum_eq, weightedNorm, ← Fin.sum_univ_eq_sum_range, Finset.mul_sum] |
| 71 | apply Finset.sum_le_sum |
| 72 | intro n _ |
| 73 | have h := mul_le_mul_of_nonneg_left (blockNorm_metric_lower period (q := q) (n := n.val) u (by have := n.isLt; omega) K c hc hK) |
| 74 | (weight_pos hρ n.val).le |
| 75 | exact h.trans_eq (by ring) |
| 76 | |
| 77 | /-- The actual metric weighted energy is bounded by its Sobolev counterpart without a cutoff factor. -/ |
| 78 | theorem weightedNorm_metric_upper {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (hρ : 0 < ρ) |
| 79 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) : |
| 80 | weightedMetricSum ρ (fun I : ExternalWord N => I.1.val) K (energyValues period q N hN u) ≤ |
| 81 | Real.sqrt ‖K‖ * weightedNorm period q N ρ u := by |
| 82 | rw [metricSum_eq, weightedNorm, ← Fin.sum_univ_eq_sum_range, Finset.mul_sum] |
| 83 | apply Finset.sum_le_sum |
| 84 | intro n _ |
| 85 | have h := mul_le_mul_of_nonneg_left (blockNorm_metric_upper period (q := q) (n := n.val) u (by have := n.isLt; omega) K) |
| 86 | (weight_pos hρ n.val).le |
| 87 | exact h.trans_eq (by ring) |
| 88 | |
| 89 | /-- At the fixed base index six the comparison uses exactly 5461 base words. -/ |
| 90 | theorem card_baseWord_six : Fintype.card (BaseWord 6) = 5461 := by |
| 91 | rw [card_baseWord] |
| 92 | norm_num [Finset.sum_range_succ] |
| 93 | |
| 94 | end EulerGevreyMetricComparison |