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.WeightedRootLimit |
| 2 | |
| 3 | /-! Actual Gevrey-weighted cylinder energy with signed radius derivative and no zero-norm differentiation. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerWeightedCylinderEnergy |
| 8 | |
| 9 | open MeasureTheory Set Real InnerProductSpace EulerLiftedGradientSpace EulerLiftedPressure |
| 10 | EulerMetricTransport EulerSpatialSobolevInverse EulerCylinderSobolev EulerMetricEnergyEvolution |
| 11 | EulerMetricHeatEnergy EulerFiniteMetricEnergy EulerCylinderViscousEnergy EulerWeightedRootLimit |
| 12 | EulerPacketWeights EulerWeightedEnergy |
| 13 | open scoped ContDiff ENNReal NNReal Topology |
| 14 | |
| 15 | section WeightedNorms |
| 16 | |
| 17 | variable {α β H : Type*} [Fintype α] [Fintype β] |
| 18 | [NormedAddCommGroup H] [InnerProductSpace ℝ H] |
| 19 | |
| 20 | /-- The finite external-word Gevrey sum of the source's base-word metric roots. -/ |
| 21 | def weightedMetricSum (ρ : ℝ) (order : α → ℕ) (K : H →L[ℝ] H) (e : α → β → H) : ℝ := |
| 22 | ∑ i, weight ρ (order i) * familyMetricNorm K (e i) |
| 23 | |
| 24 | /-- The same metric sum with the external derivative count, giving the radius-loss term. -/ |
| 25 | def weightedMetricLoss (ρ : ℝ) (order : α → ℕ) (K : H →L[ℝ] H) (e : α → β → H) : ℝ := |
| 26 | ∑ i, (order i : ℝ) * weight ρ (order i) * familyMetricNorm K (e i) |
| 27 | |
| 28 | /-- The actual finite weighted sum of base-word Hilbert forcing norms. -/ |
| 29 | def weightedForcingSum (ρ : ℝ) (order : α → ℕ) (f : α → β → H) : ℝ := |
| 30 | ∑ i, weight ρ (order i) * familyNorm (f i) |
| 31 | |
| 32 | end WeightedNorms |
| 33 | |
| 34 | variable (period : ℝ) [Fact (0 < period)] |
| 35 | |
| 36 | /-- The explicit common coefficient in the actual viscous metric-root estimate. -/ |
| 37 | def viscousGrowthCoefficient (K : SmoothCoefficient period) |
| 38 | (K' : LiftL2 period →L[ℝ] LiftL2 period) (κ : ℝ) (m : Vector3) (c ν : ℝ) (B : ℝ≥0) : ℝ := |
| 39 | (‖K'‖ + 2 * transportEnergyConstant period K κ m B + |
| 40 | 2 * ν * heatEnergyConstant period K c) / (2 * c ^ 2) |
| 41 | |
| 42 | /-- The finite Gevrey-weighted integral energy inequality derived from the actual viscous PDE. |
| 43 | The signed radius term is retained exactly, and no differentiability of the unregularized norm is assumed. -/ |
| 44 | theorem weighted_cylinder_energy_integral {α β : Type*} [Fintype α] [Fintype β] |
| 45 | (order : α → ℕ) (ρ ρ' : ℝ → ℝ) |
| 46 | (κ : ℝ) (m : Vector3) (K G : ℝ → SmoothCoefficient period) |
| 47 | (e e' p forcing : α → β → ℝ → LiftL2 period) (z : ℝ → LiftL2 period) |
| 48 | (s t c ν : ℝ) (K' : ℝ → LiftL2 period →L[ℝ] LiftL2 period) (B : ℝ → ℝ≥0) |
| 49 | (J : ∀ i j u, u ∈ Ioo s t → SpatialJet period standardDirection 2 (e i j u)) |
| 50 | (g : α → β → ℝ → LiftDomain period → Vector3) |
| 51 | (hrep : ∀ i j u, u ∈ Ioo s t → (e i j u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g i j u) |
| 52 | (hg : ∀ i j u, u ∈ Ioo s t → ∀ x, ContDiff ℝ ∞ (localFieldLift period (g i j u) x)) |
| 53 | (hDg : ∀ i j u, u ∈ Ioo s t → MemLp (fun x => fderiv ℝ (localFieldLift period (g i j u) x) 0) |
| 54 | 2 (liftMeasure period)) |
| 55 | (hst : s ≤ t) (hc : 0 < c) (hν : 0 ≤ ν) |
| 56 | (hρc : ContinuousOn ρ (Icc s t)) (hρpos : ∀ u ∈ Icc s t, 0 < ρ u) |
| 57 | (hρd : ∀ u ∈ Ioo s t, HasDerivAt ρ (ρ' u) u) |
| 58 | (hKc : ContinuousOn (fun u => (K u).operator) (Icc s t)) |
| 59 | (hec : ∀ i j, ContinuousOn (e i j) (Icc s t)) |
| 60 | (hKt : ∀ u ∈ Ioo s t, HasDerivAt (fun v => (K v).operator) (K' u) u) |
| 61 | (het : ∀ i j u, u ∈ Ioo s t → HasDerivAt (e i j) (e' i j u) u) |
| 62 | (hsym : ∀ u ∈ Ioo s t, ∀ x v w, |
| 63 | ⟪(K u).coefficient x v, w⟫_ℝ = ⟪v, (K u).coefficient x w⟫_ℝ) |
| 64 | (hpos : ∀ u ∈ Icc s t, ∀ x v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪(K u).coefficient x v, v⟫_ℝ) |
| 65 | (hKG : ∀ u ∈ Ioo s t, ∀ x v, (K u).coefficient x ((G u).coefficient x v) = v) |
| 66 | (hediv : ∀ i j u, u ∈ Ioo s t → e i j u ∈ divergenceFreeSpace period κ m) |
| 67 | (hp : ∀ i j u, u ∈ Ioo s t → p i j u ∈ gradientSpace period κ m) |
| 68 | (hz : ∀ u ∈ Ioo s t, z u ∈ divergenceFreeSpace period κ m) |
| 69 | (hzB : ∀ u ∈ Ioo s t, ∀ᵐ x ∂liftMeasure period, ‖z u x‖ ≤ B u) |
| 70 | (heq : ∀ i j u (hu : u ∈ Ioo s t), e' i j u + |
| 71 | EulerRepresentativeMetricEvolution.liftedTransport period κ m (g i j u) (z u) |
| 72 | (hDg i j u hu) (B u) (hzB u hu) + (G u).operator (p i j u) = |
| 73 | forcing i j u + ν • jetLaplacian period (J i j u hu)) |
| 74 | (hAint : ∀ i, IntegrableOn (fun u => weight (ρ u) (order i) * |
| 75 | viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) + |
| 76 | (ρ' u / ρ u) * (order i : ℝ) * weight (ρ u) (order i)) (Icc s t)) |
| 77 | (hFint : ∀ i, IntegrableOn (fun u => weight (ρ u) (order i) * |
| 78 | ((((K u).bound : ℝ) / c) * familyNorm (fun j => forcing i j u))) (Icc s t)) : |
| 79 | weightedMetricSum (ρ t) order (K t).operator (fun i j => e i j t) - |
| 80 | weightedMetricSum (ρ s) order (K s).operator (fun i j => e i j s) ≤ |
| 81 | ∫ u in s..t, |
| 82 | viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) * |
| 83 | weightedMetricSum (ρ u) order (K u).operator (fun i j => e i j u) + |
| 84 | (ρ' u / ρ u) * weightedMetricLoss (ρ u) order (K u).operator (fun i j => e i j u) + |
| 85 | (((K u).bound : ℝ) / c) * weightedForcingSum (ρ u) order (fun i j => forcing i j u) := by |
| 86 | let Q := fun i u => familyEnergy (K u).operator (fun j => e i j u) |
| 87 | let a := fun u => viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) |
| 88 | let F := fun i u => (((K u).bound : ℝ) / c) * familyNorm (fun j => forcing i j u) |
| 89 | let w := fun i u => weight (ρ u) (order i) |
| 90 | let w' := fun i u => (ρ' u / ρ u) * (order i : ℝ) * weight (ρ u) (order i) |
| 91 | let A := fun i u => w i u * a u + w' i u |
| 92 | let Ψ := fun i u => A i u * √(Q i u) + w i u * F i u |
| 93 | have hQ (i : α) : ContinuousOn (Q i) (Icc s t) := |
| 94 | continuousOn_finsetSum Finset.univ (fun j _ => (hKc.clm_apply (hec i j)).inner (hec i j)) |
| 95 | have hQ0 (i : α) (u : ℝ) (hu : u ∈ Icc s t) : 0 ≤ Q i u := by |
| 96 | have hcoer : ∀ v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪(K u).operator v, v⟫_ℝ := |
| 97 | coefficientOperator_coercive (K u).coefficient (K u).measurable (K u).bound |
| 98 | (K u).norm_bound (c ^ 2) (hpos u hu) |
| 99 | exact (mul_nonneg (sq_nonneg c) (familySquaredNorm_nonneg _)).trans |
| 100 | (familyEnergy_coercive (K u).operator (fun j => e i j u) c hcoer) |
| 101 | have hregd (i : α) (δ : ℝ) (hδ : 0 < δ) (u : ℝ) (hu : u ∈ Ioo s t) : |
| 102 | DifferentiableAt ℝ (fun v => √(Q i v + δ ^ 2)) u := by |
| 103 | have hsymL : ∀ v w, ⟪(K u).operator v, w⟫_ℝ = ⟪v, (K u).operator w⟫_ℝ := |
| 104 | coefficientOperator_inner_swap (K u).coefficient (K u).measurable |
| 105 | (K u).bound (K u).norm_bound (hsym u hu) |
| 106 | have hd : HasDerivAt (Q i) (∑ j, (⟪K' u (e i j u), e i j u⟫_ℝ + |
| 107 | 2 * ⟪(K u).operator (e i j u), e' i j u⟫_ℝ)) u := |
| 108 | HasDerivAt.fun_sum (u := Finset.univ) (fun j _ => |
| 109 | metric_energy_hasDerivAt (fun v => (K v).operator) (e i j) u (K' u) (e' i j u) |
| 110 | (hKt u hu) (het i j u hu) hsymL) |
| 111 | have hq := hQ0 i u ⟨hu.1.le, hu.2.le⟩ |
| 112 | exact (HasDerivAt.sqrt (hd.add_const (δ ^ 2)) (by nlinarith : Q i u + δ ^ 2 ≠ 0)).differentiableAt |
| 113 | have hreg (i : α) (δ : ℝ) (hδ : 0 < δ) (u : ℝ) (hu : u ∈ Ioo s t) : |
| 114 | deriv (fun v => √(Q i v + δ ^ 2)) u ≤ a u * √(Q i u + δ ^ 2) + F i u := by |
| 115 | exact finite_cylinder_viscous_energy period κ m K (G u) (e i) u δ c ν (K' u) |
| 116 | (fun j => e' i j u) (fun j => p i j u) (fun j => forcing i j u) (z u) |
| 117 | (fun j => J i j u hu) (fun j => g i j u) (fun j => hrep i j u hu) (fun j => hg i j u hu) |
| 118 | (fun j => hDg i j u hu) hδ hc hν (hKt u hu) (fun j => het i j u hu) |
| 119 | (hsym u hu) (hpos u ⟨hu.1.le, hu.2.le⟩) (hKG u hu) (fun j => hediv i j u hu) |
| 120 | (fun j => hp i j u hu) (hz u hu) (B u) (hzB u hu) (fun j => heq i j u hu) |
| 121 | have hi (i : α) : w i t * √(Q i t) - w i s * √(Q i s) ≤ ∫ u in s..t, Ψ i u := by |
| 122 | apply weighted_root_integral_of_deriv_bound (Q i) a (F i) (w i) (w' i) s t |
| 123 | hst (hQ i) (hQ0 i) ?_ ?_ ?_ (hregd i) (hreg i) (hAint i) (hFint i) |
| 124 | · exact (hρc.pow (order i)).div_const (((order i).factorial : ℝ) ^ 2) |
| 125 | · intro u hu |
| 126 | exact (weight_pos (hρpos u ⟨hu.1.le, hu.2.le⟩) (order i)).le |
| 127 | · intro u hu |
| 128 | exact weight_hasDerivAt ρ (ρ' u) u (hρd u hu) (hρpos u ⟨hu.1.le, hu.2.le⟩) (order i) |
| 129 | have hΨ (i : α) : IntervalIntegrable (Ψ i) volume s t := by |
| 130 | apply (intervalIntegrable_iff_integrableOn_Icc_of_le hst).mpr |
| 131 | exact ((hAint i).mul_continuousOn (hQ i).sqrt isCompact_Icc).add (hFint i) |
| 132 | have hsum := Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset α)) => hi i) |
| 133 | rw [Finset.sum_sub_distrib] at hsum |
| 134 | rw [← intervalIntegral.integral_finsetSum (fun i _ => hΨ i)] at hsum |
| 135 | have halg (u : ℝ) : (∑ i, Ψ i u) = |
| 136 | a u * weightedMetricSum (ρ u) order (K u).operator (fun i j => e i j u) + |
| 137 | (ρ' u / ρ u) * weightedMetricLoss (ρ u) order (K u).operator (fun i j => e i j u) + |
| 138 | (((K u).bound : ℝ) / c) * weightedForcingSum (ρ u) order (fun i j => forcing i j u) := by |
| 139 | simp only [Ψ, A, w, w', F, Q, weightedMetricSum, weightedMetricLoss, weightedForcingSum, |
| 140 | familyMetricNorm, add_mul, Finset.sum_add_distrib, Finset.mul_sum] |
| 141 | simp only [mul_comm, mul_left_comm, mul_assoc] |
| 142 | simpa only [halg, w, Q, a, weightedMetricSum, familyMetricNorm] using hsum |
| 143 | |
| 144 | end EulerWeightedCylinderEnergy |