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.FiniteMetricEnergy |
| 2 | |
| 3 | /-! Finite-word viscous energy for the actual lifted transport and projected-pressure equation. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerCylinderViscousEnergy |
| 8 | |
| 9 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerLiftedPressure |
| 10 | EulerMetricTransport EulerSpatialSobolevInverse EulerCylinderSobolev |
| 11 | EulerMetricHeatEnergy EulerFiniteMetricEnergy |
| 12 | open scoped ContDiff ENNReal NNReal Topology |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | /-- The exact coefficient left after absorbing half the variable-metric heat dissipation. -/ |
| 17 | def heatEnergyConstant (K : SmoothCoefficient period) (c : ℝ) : ℝ := |
| 18 | 2 * (K.firstBound : ℝ) ^ 2 / c ^ 2 |
| 19 | |
| 20 | /-- The actual transport metric correction for a bounded lifted velocity. -/ |
| 21 | def transportEnergyConstant (K : SmoothCoefficient period) (κ : ℝ) (m : Vector3) (B : ℝ≥0) : ℝ := |
| 22 | (1 / 2 : ℝ) * K.firstBound * ((|κ| + ‖m‖) * B) |
| 23 | |
| 24 | /-- The regularized root of a finite sum of actual cylinder word energies obeys the viscous estimate. -/ |
| 25 | theorem finite_cylinder_viscous_energy {ι : Type*} [Fintype ι] |
| 26 | (κ : ℝ) (m : Vector3) (K : ℝ → SmoothCoefficient period) (G : SmoothCoefficient period) |
| 27 | (e : ι → ℝ → LiftL2 period) (t δ c ν : ℝ) |
| 28 | (K' : LiftL2 period →L[ℝ] LiftL2 period) |
| 29 | (e' p forcing : ι → LiftL2 period) (z : LiftL2 period) |
| 30 | (J : ∀ i, SpatialJet period standardDirection 2 (e i t)) |
| 31 | (g : ι → LiftDomain period → Vector3) |
| 32 | (hrep : ∀ i, (e i t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g i) |
| 33 | (hg : ∀ i x, ContDiff ℝ ∞ (localFieldLift period (g i) x)) |
| 34 | (hDg : ∀ i, MemLp (fun x => fderiv ℝ (localFieldLift period (g i) x) 0) |
| 35 | 2 (liftMeasure period)) |
| 36 | (hδ : 0 < δ) (hc : 0 < c) (hν : 0 ≤ ν) |
| 37 | (hKt : HasDerivAt (fun s => (K s).operator) K' t) |
| 38 | (het : ∀ i, HasDerivAt (e i) (e' i) t) |
| 39 | (hsym : ∀ x v w, ⟪(K t).coefficient x v, w⟫_ℝ = ⟪v, (K t).coefficient x w⟫_ℝ) |
| 40 | (hpos : ∀ x v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪(K t).coefficient x v, v⟫_ℝ) |
| 41 | (hKG : ∀ x v, (K t).coefficient x (G.coefficient x v) = v) |
| 42 | (hediv : ∀ i, e i t ∈ divergenceFreeSpace period κ m) |
| 43 | (hp : ∀ i, p i ∈ gradientSpace period κ m) |
| 44 | (hz : z ∈ divergenceFreeSpace period κ m) (B : ℝ≥0) |
| 45 | (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) |
| 46 | (heq : ∀ i, e' i + EulerRepresentativeMetricEvolution.liftedTransport period κ m |
| 47 | (g i) z (hDg i) B hzB + G.operator (p i) = forcing i + ν • jetLaplacian period (J i)) : |
| 48 | deriv (fun s => √(familyEnergy (K s).operator (fun i => e i s) + δ ^ 2)) t ≤ |
| 49 | ((‖K'‖ + 2 * transportEnergyConstant period (K t) κ m B + |
| 50 | 2 * ν * heatEnergyConstant period (K t) c) / (2 * c ^ 2)) * |
| 51 | √(familyEnergy (K t).operator (fun i => e i t) + δ ^ 2) + |
| 52 | (((K t).bound : ℝ) / c) * familyNorm forcing := by |
| 53 | let β := transportEnergyConstant period (K t) κ m B |
| 54 | let C := heatEnergyConstant period (K t) c |
| 55 | have hβ : 0 ≤ β := by dsimp [β, transportEnergyConstant]; positivity |
| 56 | have hC : 0 ≤ C := by dsimp [C, heatEnergyConstant]; positivity |
| 57 | have hcoer : ∀ u, c ^ 2 * ‖u‖ ^ 2 ≤ ⟪(K t).operator u, u⟫_ℝ := |
| 58 | coefficientOperator_coercive (K t).coefficient (K t).measurable |
| 59 | (K t).bound (K t).norm_bound (c ^ 2) hpos |
| 60 | have hsymL : ∀ v w, ⟪(K t).operator v, w⟫_ℝ = ⟪v, (K t).operator w⟫_ℝ := |
| 61 | coefficientOperator_inner_swap (K t).coefficient (K t).measurable |
| 62 | (K t).bound (K t).norm_bound hsym |
| 63 | have hpL (i : ι) : ⟪(K t).operator (e i t), G.operator (p i)⟫_ℝ = 0 := |
| 64 | metric_pressure_cancellation period κ m (K t).coefficient G.coefficient |
| 65 | (K t).measurable G.measurable (K t).bound G.bound (K t).norm_bound G.norm_bound |
| 66 | hsym hKG (hediv i) (hp i) |
| 67 | have htL (i : ι) : |⟪(K t).operator (e i t), |
| 68 | EulerRepresentativeMetricEvolution.liftedTransport period κ m (g i) z (hDg i) B hzB⟫_ℝ| ≤ |
| 69 | β * ‖e i t‖ ^ 2 := |
| 70 | EulerRepresentativeMetricEvolution.metric_transport_inner_bound period κ m (K t).coefficient |
| 71 | (K t).measurable (e i t) (g i) z (hrep i) (K t).smooth (hg i) (hDg i) hsym hz |
| 72 | (K t).bound (K t).firstBound B (K t).norm_bound (K t).norm_first hzB |
| 73 | have hheat (i : ι) : ⟪(K t).operator (e i t), jetLaplacian period (J i)⟫_ℝ ≤ C * ‖e i t‖ ^ 2 := by |
| 74 | have h := metric_heat_bound period (K t) (e i t) (J i) c hc hpos |
| 75 | have hd : 0 ≤ ∑ j : Fin 4, ‖(J i).word (fun _ : Fin 1 => j)‖ ^ 2 := |
| 76 | Finset.sum_nonneg (fun j _ => sq_nonneg _) |
| 77 | dsimp [C, heatEnergyConstant] |
| 78 | nlinarith [sq_nonneg c] |
| 79 | have h := family_regularized_energy_evolution (fun s => (K s).operator) e t δ c β C ν K' e' |
| 80 | (fun i => EulerRepresentativeMetricEvolution.liftedTransport period κ m (g i) z (hDg i) B hzB) |
| 81 | (fun i => G.operator (p i)) forcing (fun i => jetLaplacian period (J i)) |
| 82 | hδ hc hβ hC hν hcoer hKt het hsymL heq hpL htL hheat |
| 83 | have hop : ‖(K t).operator‖ ≤ (K t).bound := |
| 84 | coefficientOperator_norm_le (K t).coefficient (K t).measurable (K t).bound (K t).norm_bound |
| 85 | exact h.trans (add_le_add_right (mul_le_mul_of_nonneg_right |
| 86 | (div_le_div_of_nonneg_right hop hc.le) (familyNorm_nonneg forcing)) _) |
| 87 | |
| 88 | end EulerCylinderViscousEnergy |