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.EnergyWordCoordinates |
| 2 | import Euler.GevreyMetricEstimate |
| 3 | import Euler.RegularizedMetricPaths |
| 4 | import Euler.SobolevWordValueIdentity |
| 5 | |
| 6 | /-! Actual metric Gevrey energy and radius loss as continuous paths, with exact higher-representative compatibility. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerEnergyMetricPaths |
| 11 | |
| 12 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerEnergyWordCoordinates |
| 13 | EulerGevreyMetricEstimate EulerGevreyMetricComparison EulerBaseWordMetric EulerMetricPathConvergence |
| 14 | EulerRegularizedEnergyFamily EulerSobolevEnergyPaths EulerWeightedCylinderEnergy EulerSobolevWordValueIdentity |
| 15 | EulerTimeLp EulerVolterraConvolution EulerRegularizedTopBlocks |
| 16 | open scoped Topology |
| 17 | |
| 18 | variable (period : ℝ) [Fact (0 < period)] |
| 19 | |
| 20 | /-- The genuine finite Gevrey metric energy along an actual continuous Sobolev solution. -/ |
| 21 | def energyPath {q : ℕ} (N : ℕ) (hN : N+6 ≤ q+1) (T : ℝ) |
| 22 | (R : C(Icc (0 : ℝ) T, ℝ)) (K : C(Icc (0 : ℝ) T, LiftL2 period →L[ℝ] LiftL2 period)) |
| 23 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) : C(Icc (0 : ℝ) T, ℝ) := |
| 24 | weightedMetricPath T (fun I : ExternalWord N => gevreyWeightPath T R I.1.val) K |
| 25 | (energyValueFamily period energyLength energyWord (energyLength_le hN) T e) |
| 26 | |
| 27 | /-- The genuine radius-loss metric quantity along the same actual solution. -/ |
| 28 | def lossPath {q : ℕ} (N : ℕ) (hN : N+6 ≤ q+1) (T : ℝ) |
| 29 | (R : C(Icc (0 : ℝ) T, ℝ)) (K : C(Icc (0 : ℝ) T, LiftL2 period →L[ℝ] LiftL2 period)) |
| 30 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) : C(Icc (0 : ℝ) T, ℝ) := |
| 31 | weightedMetricPath T (fun I : ExternalWord N => gevreyLossWeightPath T R I.1.val) K |
| 32 | (energyValueFamily period energyLength energyWord (energyLength_le hN) T e) |
| 33 | |
| 34 | /-- The continuous energy path is exactly the spatial metric norm at each time. -/ |
| 35 | theorem energyPath_apply {q : ℕ} (N : ℕ) (hN : N+6 ≤ q+1) (T : ℝ) |
| 36 | (R : C(Icc (0 : ℝ) T, ℝ)) (K : C(Icc (0 : ℝ) T, LiftL2 period →L[ℝ] LiftL2 period)) |
| 37 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) (t : Icc (0 : ℝ) T) : |
| 38 | energyPath period N hN T R K e t = energyNorm period N hN (R t) (K t) (e t) := by |
| 39 | rw [energyPath, weightedMetricPath_apply] |
| 40 | unfold energyNorm weightedMetricSum |
| 41 | exact Finset.sum_congr rfl (fun I _ => congrArg (fun v => EulerPacketWeights.weight (R t) I.1.val * |
| 42 | EulerFiniteMetricEnergy.familyMetricNorm (K t) v) (energyValueFamily_eq period 6 N hN T e I t)) |
| 43 | |
| 44 | /-- The continuous loss path is exactly the spatial metric radius loss at each time. -/ |
| 45 | theorem lossPath_apply {q : ℕ} (N : ℕ) (hN : N+6 ≤ q+1) (T : ℝ) |
| 46 | (R : C(Icc (0 : ℝ) T, ℝ)) (K : C(Icc (0 : ℝ) T, LiftL2 period →L[ℝ] LiftL2 period)) |
| 47 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) (t : Icc (0 : ℝ) T) : |
| 48 | lossPath period N hN T R K e t = energyLoss period N hN (R t) (K t) (e t) := by |
| 49 | rw [lossPath, weightedMetricPath_apply] |
| 50 | unfold energyLoss weightedMetricLoss |
| 51 | exact Finset.sum_congr rfl (fun I _ => congrArg (fun v => (I.1.val : ℝ)*EulerPacketWeights.weight (R t) I.1.val * |
| 52 | EulerFiniteMetricEnergy.familyMetricNorm (K t) v) (energyValueFamily_eq period 6 N hN T e I t)) |
| 53 | |
| 54 | /-- Equal actual fields at adequate derivative orders have the same literal finite metric energy. -/ |
| 55 | theorem energyNorm_of_value_eq {p q : ℕ} (N : ℕ) (hp : N+6 ≤ p) (hq : N+6 ≤ q) (ρ : ℝ) |
| 56 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period p) (v : SobolevSpace period q) |
| 57 | (huv : value period u = value period v) : energyNorm period N hp ρ K u = energyNorm period N hq ρ K v := by |
| 58 | apply congrArg (weightedMetricSum ρ (fun I : ExternalWord N => I.1.val) K) |
| 59 | funext I a |
| 60 | rw [energyValues_eq_word, energyValues_eq_word] |
| 61 | exact word_of_value_eq period u v huv (energyLength_le hp I a) (energyLength_le hq I a) (energyWord I a) |
| 62 | |
| 63 | /-- The identical representative principle holds for the actual radius-loss energy. -/ |
| 64 | theorem energyLoss_of_value_eq {p q : ℕ} (N : ℕ) (hp : N+6 ≤ p) (hq : N+6 ≤ q) (ρ : ℝ) |
| 65 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period p) (v : SobolevSpace period q) |
| 66 | (huv : value period u = value period v) : energyLoss period N hp ρ K u = energyLoss period N hq ρ K v := by |
| 67 | apply congrArg (weightedMetricLoss ρ (fun I : ExternalWord N => I.1.val) K) |
| 68 | funext I a |
| 69 | rw [energyValues_eq_word, energyValues_eq_word] |
| 70 | exact word_of_value_eq period u v huv (energyLength_le hp I a) (energyLength_le hq I a) (energyWord I a) |
| 71 | |
| 72 | /-- Genuine maximal-regularity representatives have exactly the original metric energy and loss almost everywhere in time. -/ |
| 73 | theorem maximal_metric_paths {q : ℕ} (N : ℕ) (hN : N+6 ≤ q+1) (T : ℝ) (hT : 0 ≤ T) |
| 74 | (R : C(Icc (0 : ℝ) T, ℝ)) (K : C(Icc (0 : ℝ) T, LiftL2 period →L[ℝ] LiftL2 period)) |
| 75 | (e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) (U : TimeLp T (SobolevSpace period (2+q))) |
| 76 | (hU : Filter.Tendsto (fun n => pathLp T hT (maximalApproximation period q T n e)) Filter.atTop (𝓝 U)) : |
| 77 | ∀ᵐ t ∂timeMeasure T, |
| 78 | energyNorm period N (by omega : N+6 ≤ (q+1)+1) (R (projIcc 0 T hT t)) (K (projIcc 0 T hT t)) |
| 79 | (reindexMaximalTime period q T U t) = energyPath period N hN T R K e (projIcc 0 T hT t) ∧ |
| 80 | energyLoss period N (by omega : N+6 ≤ (q+1)+1) (R (projIcc 0 T hT t)) (K (projIcc 0 T hT t)) |
| 81 | (reindexMaximalTime period q T U t) = lossPath period N hN T R K e (projIcc 0 T hT t) := by |
| 82 | filter_upwards [reindexMaximalTime_restriction period T hT e U hU] with t ht |
| 83 | have hv : value period (reindexMaximalTime period q T U t) = value period (e (projIcc 0 T hT t)) := congrArg (value period) ht |
| 84 | rw [energyPath_apply, lossPath_apply] |
| 85 | exact ⟨energyNorm_of_value_eq period N (by omega) hN _ _ _ _ hv, |
| 86 | energyLoss_of_value_eq period N (by omega) hN _ _ _ _ hv⟩ |
| 87 | |
| 88 | end EulerEnergyMetricPaths |