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.WeightedSobolevEnergy |
| 2 | import Euler.TimeLpPairing |
| 3 | import Euler.SobolevEnergyPaths |
| 4 | |
| 5 | /-! The actual finite-Sobolev viscous PDE energy estimate passes to strong limits without a time derivative of a zero norm. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPDEEnergyLimit |
| 10 | |
| 11 | open MeasureTheory Set Real InnerProductSpace EulerLiftedGradientSpace EulerSpatialSobolevInverse |
| 12 | EulerCylinderSobolev EulerCylinderSobolevSpace EulerMetricHeatEnergy EulerFiniteMetricEnergy |
| 13 | EulerWeightedSobolevEnergy EulerWeightedCylinderEnergy EulerSobolevMetricTransport |
| 14 | EulerVolterraConvolution EulerTimeLp EulerTimeLpPairing EulerPacketWeights |
| 15 | open scoped Topology |
| 16 | |
| 17 | /-- Equality of an actual scalar integrand with three continuous weighted paths identifies its interval integral. -/ |
| 18 | theorem integral_eq_three_paths (T : ℝ) (hT : 0 ≤ T) |
| 19 | (a b c X Y Z : C(Icc (0 : ℝ) T, ℝ)) (f : ℝ → ℝ) |
| 20 | (hf : ∀ r ∈ Icc 0 T, f r = extendPath T hT a r * extendPath T hT X r + |
| 21 | extendPath T hT b r * extendPath T hT Y r + extendPath T hT c r * extendPath T hT Z r) : |
| 22 | (∫ r in (0 : ℝ)..T, f r) = |
| 23 | (∫ r in (0 : ℝ)..T, extendPath T hT a r * extendPath T hT X r) + |
| 24 | (∫ r in (0 : ℝ)..T, extendPath T hT b r * extendPath T hT Y r) + |
| 25 | ∫ r in (0 : ℝ)..T, extendPath T hT c r * extendPath T hT Z r := by |
| 26 | rw [← integral_three_paths T hT a b c X Y Z] |
| 27 | apply intervalIntegral.integral_congr |
| 28 | intro r hr |
| 29 | exact hf r (by simpa only [uIcc_of_le hT] using hr) |
| 30 | |
| 31 | variable (period : ℝ) [Fact (0 < period)] |
| 32 | |
| 33 | /-- Actual smooth-in-time finite-Sobolev PDE approximations imply the limiting signed integral energy bound. |
| 34 | The premises include their literal PDEs and strong convergence, never an assumed energy inequality. -/ |
| 35 | theorem weighted_pde_energy_limit {α β : Type*} [Fintype α] [Fintype β] {q : ℕ} (hq : 3 ≤ q) |
| 36 | (T : ℝ) (hT : 0 ≤ T) (order : α → ℕ) (ρ ρ' : ℝ → ℝ) |
| 37 | (κ : ℝ) (m : Vector3) (K G : ℝ → SmoothCoefficient period) |
| 38 | (e : ℕ → α → β → ℝ → SobolevSpace period 2) |
| 39 | (e' p forcing : ℕ → α → β → ℝ → LiftL2 period) (z : ℝ → SobolevSpace period q) |
| 40 | (c ν : ℝ) (K' : ℝ → LiftL2 period →L[ℝ] LiftL2 period) (B : ℝ → NNReal) |
| 41 | (hc : 0 < c) (hν : 0 ≤ ν) |
| 42 | (hρc : ContinuousOn ρ (Icc 0 T)) (hρpos : ∀ r ∈ Icc 0 T, 0 < ρ r) |
| 43 | (hρd : ∀ r ∈ Ioo 0 T, HasDerivAt ρ (ρ' r) r) |
| 44 | (hKc : ContinuousOn (fun r => (K r).operator) (Icc 0 T)) |
| 45 | (hec : ∀ n i j, ContinuousOn (fun r => value period (e n i j r)) (Icc 0 T)) |
| 46 | (hKt : ∀ r ∈ Ioo 0 T, HasDerivAt (fun v => (K v).operator) (K' r) r) |
| 47 | (het : ∀ n i j r, r ∈ Ioo 0 T → HasDerivAt (fun v => value period (e n i j v)) (e' n i j r) r) |
| 48 | (hsym : ∀ r ∈ Ioo 0 T, ∀ x v w, ⟪(K r).coefficient x v, w⟫_ℝ = ⟪v, (K r).coefficient x w⟫_ℝ) |
| 49 | (hpos : ∀ r ∈ Icc 0 T, ∀ x v, c^2*‖v‖^2 ≤ ⟪(K r).coefficient x v, v⟫_ℝ) |
| 50 | (hKG : ∀ r ∈ Ioo 0 T, ∀ x v, (K r).coefficient x ((G r).coefficient x v) = v) |
| 51 | (hediv : ∀ n i j r, r ∈ Ioo 0 T → value period (e n i j r) ∈ divergenceFreeSpace period κ m) |
| 52 | (hp : ∀ n i j r, r ∈ Ioo 0 T → p n i j r ∈ gradientSpace period κ m) |
| 53 | (hz : ∀ r ∈ Ioo 0 T, value period (z r) ∈ divergenceFreeSpace period κ m) |
| 54 | (hzB : ∀ r ∈ Ioo 0 T, ∀ᵐ x ∂liftMeasure period, ‖value period (z r) x‖ ≤ B r) |
| 55 | (heq : ∀ n i j r, r ∈ Ioo 0 T → e' n i j r + |
| 56 | transportOperator period hq κ m (z r) (restrictOperator period (by norm_num : 1 ≤ 2) (e n i j r)) + |
| 57 | (G r).operator (p n i j r) = forcing n i j r + ν • jetLaplacian period (toJet period (e n i j r))) |
| 58 | (hAint : ∀ i, IntegrableOn (fun r => weight (ρ r) (order i) * |
| 59 | viscousGrowthCoefficient period (K r) (K' r) κ m c ν (B r) + |
| 60 | (ρ' r / ρ r) * (order i : ℝ) * weight (ρ r) (order i)) (Icc 0 T)) |
| 61 | (hFint : ∀ n i, IntegrableOn (fun r => weight (ρ r) (order i) * |
| 62 | ((((K r).bound : ℝ) / c) * familyNorm (fun j => forcing n i j r))) (Icc 0 T)) |
| 63 | (a b d : C(Icc (0 : ℝ) T, ℝ)) |
| 64 | (ha : ∀ r ∈ Icc 0 T, viscousGrowthCoefficient period (K r) (K' r) κ m c ν (B r) = extendPath T hT a r) |
| 65 | (hb : ∀ r ∈ Icc 0 T, ρ' r / ρ r = extendPath T hT b r) |
| 66 | (hd : ∀ r ∈ Icc 0 T, ((K r).bound : ℝ) / c = extendPath T hT d r) |
| 67 | (X Y Z : ℕ → C(Icc (0 : ℝ) T, ℝ)) |
| 68 | (hXdef : ∀ n r, r ∈ Icc 0 T → weightedMetricSum (ρ r) order (K r).operator |
| 69 | (fun i j => value period (e n i j r)) = extendPath T hT (X n) r) |
| 70 | (hYdef : ∀ n r, r ∈ Icc 0 T → weightedMetricLoss (ρ r) order (K r).operator |
| 71 | (fun i j => value period (e n i j r)) = extendPath T hT (Y n) r) |
| 72 | (hZdef : ∀ n r, r ∈ Icc 0 T → weightedForcingSum (ρ r) order |
| 73 | (fun i j => forcing n i j r) = extendPath T hT (Z n) r) |
| 74 | (x y : C(Icc (0 : ℝ) T, ℝ)) (f : TimeLp T ℝ) |
| 75 | (hX : Filter.Tendsto X Filter.atTop (𝓝 x)) (hY : Filter.Tendsto Y Filter.atTop (𝓝 y)) |
| 76 | (hZ : Filter.Tendsto (fun n => pathLp T hT (Z n)) Filter.atTop (𝓝 f)) : |
| 77 | x ⟨T, hT, le_rfl⟩ - x ⟨0, le_rfl, hT⟩ ≤ |
| 78 | (∫ r in (0 : ℝ)..T, extendPath T hT a r * extendPath T hT x r) + |
| 79 | (∫ r in (0 : ℝ)..T, extendPath T hT b r * extendPath T hT y r) + |
| 80 | ∫ r, pathLp T hT d r * f r ∂timeMeasure T := by |
| 81 | apply integral_energy_limit T hT a b (pathLp T hT d) X Y (fun n => pathLp T hT (Z n)) x y f hX hY hZ |
| 82 | intro n |
| 83 | have h := weighted_sobolev_energy_integral period hq order ρ ρ' κ m K G |
| 84 | (e n) (e' n) (p n) (forcing n) z 0 T c ν K' B hT hc hν hρc hρpos hρd hKc (hec n) hKt (het n) |
| 85 | hsym hpos hKG (hediv n) (hp n) hz hzB (heq n) hAint (hFint n) |
| 86 | rw [hXdef n T ⟨hT, le_rfl⟩, hXdef n 0 ⟨le_rfl, hT⟩] at h |
| 87 | have hevalT : extendPath T hT (X n) T = X n ⟨T, hT, le_rfl⟩ := congrArg (X n) (projIcc_of_mem hT ⟨hT, le_rfl⟩) |
| 88 | have heval0 : extendPath T hT (X n) 0 = X n ⟨0, le_rfl, hT⟩ := congrArg (X n) (projIcc_of_mem hT ⟨le_rfl, hT⟩) |
| 89 | rw [hevalT, heval0] at h |
| 90 | have hi := integral_eq_three_paths T hT a b d (X n) (Y n) (Z n) |
| 91 | (fun r => viscousGrowthCoefficient period (K r) (K' r) κ m c ν (B r) * |
| 92 | weightedMetricSum (ρ r) order (K r).operator (fun i j => value period (e n i j r)) + |
| 93 | (ρ' r / ρ r) * weightedMetricLoss (ρ r) order (K r).operator (fun i j => value period (e n i j r)) + |
| 94 | (((K r).bound : ℝ) / c) * weightedForcingSum (ρ r) order (fun i j => forcing n i j r)) |
| 95 | (fun r hr => by rw [ha r hr, hb r hr, hd r hr, hXdef n r hr, hYdef n r hr, hZdef n r hr]) |
| 96 | rw [hi] at h |
| 97 | rw [← inner_eq_integral, path_inner_eq_integral] |
| 98 | exact h |
| 99 | |
| 100 | end EulerPDEEnergyLimit |