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.GevreyPressureShifted |
| 2 | import Euler.GevreyLowNorms |
| 3 | import Euler.BasePressureCommutator |
| 4 | import Euler.PressureCommutatorWeights |
| 5 | |
| 6 | /-! The actual pressure commutators occurring in the Gevrey energy estimate. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerGevreyPressureEnergy |
| 11 | |
| 12 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 13 | EulerSpatialSobolevInverse EulerH6Pressure EulerJetProductBounds EulerPacketWeights |
| 14 | EulerSobolevGevreyOperators EulerBasePressureCommutator EulerGevreyPressureTransport EulerH6Nonlinear |
| 15 | EulerSobolevTransportCommutator EulerSobolevCoefficientPressure EulerGevreyLowNorms |
| 16 | |
| 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | |
| 19 | /-- The actual weighted H⁶ external pressure commutator norm. -/ |
| 20 | def externalPressureNorm {s : ℕ} {A : SmoothCoefficient period} |
| 21 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 22 | (N : ℕ) (ρ : ℝ) (p : SobolevSpace period s) : ℝ := |
| 23 | ∑ n ∈ Finset.range (N+1), weight ρ n * commutatorBlock K (toJet period p) 6 n |
| 24 | |
| 25 | /-- The actual weighted L² base pressure commutator norm. -/ |
| 26 | def basePressureNorm {s : ℕ} {A : SmoothCoefficient period} |
| 27 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 28 | (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (p : SobolevSpace period s) : ℝ := |
| 29 | ∑ n : Fin (N+1), weight ρ n.val * basePressureBlock period K (toJet period p) n.val (by have := n.isLt; omega) |
| 30 | |
| 31 | /-- Ordinary coefficient-product control for the actual external pressure commutator. -/ |
| 32 | theorem externalPressureNorm_unshifted {s : ℕ} {A : SmoothCoefficient period} |
| 33 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 34 | (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) (p : SobolevSpace period s) : |
| 35 | externalPressureNorm period K N ρ p ≤ weightedCoefficient period K 6 N ρ * weightedNorm period 6 N ρ p := by |
| 36 | have hpoint (n : ℕ) (hn : n ≤ N) : commutatorBlock K (toJet period p) 6 n ≤ |
| 37 | leibnizConvolution (coefficientBlock period K 6) (blockNorm period (toJet period p) 6) n := by |
| 38 | apply (commutatorBlock_bound K (toJet period p) (by omega : n+6 ≤ s)).trans |
| 39 | exact sub_le_self _ (mul_nonneg (coefficientBlock_nonneg K) (blockNorm_nonneg _)) |
| 40 | have h := Finset.sum_le_sum (s := Finset.range (N+1)) (fun n hn => |
| 41 | mul_le_mul_of_nonneg_left (hpoint n (by have := Finset.mem_range.mp hn; omega)) (weight_pos hρ n).le) |
| 42 | exact h.trans (EulerWeightedConvolution.unshifted_product_sum ρ hρ N _ _ |
| 43 | (fun _ => coefficientBlock_nonneg K) (fun _ => blockNorm_nonneg _)) |
| 44 | |
| 45 | /-- External pressure commutators use only shifted pressure orders strictly below the chosen cutoff. -/ |
| 46 | theorem externalPressureNorm_shifted {s : ℕ} {A : SmoothCoefficient period} |
| 47 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 48 | (N : ℕ) (hN : (N+1)+6 ≤ s) (ρ Rc : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) |
| 49 | (hsmall : ρ*Rc ≤ 1/2) |
| 50 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N+1 → coefficientBlock period K 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 51 | (p : SobolevSpace period s) : |
| 52 | externalPressureNorm period K (N+1) ρ p ≤ 2*Rc*shiftedPressureNorm period N ρ p := |
| 53 | commutatorBlock_weighted_shifted period K (toJet period p) (N+1) hN ρ Rc hρ hRc hsmall hcoeff |
| 54 | |
| 55 | /-- Actual base pressure commutators are controlled by the unshifted one-order-lower pressure norm. -/ |
| 56 | theorem basePressureNorm_lower {s : ℕ} {A : SmoothCoefficient period} |
| 57 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 58 | (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) (p : SobolevSpace period s) : |
| 59 | basePressureNorm period K N hN ρ p ≤ 448*baseCoefficientSum period K*weightedNorm period 5 N ρ p := |
| 60 | basePressure_weighted_bound period K (toJet period p) N hN ρ hρ |
| 61 | |
| 62 | /-- The same actual base commutators can be controlled by an available H⁶ pressure bound. -/ |
| 63 | theorem basePressureNorm_unshifted {s : ℕ} {A : SmoothCoefficient period} |
| 64 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 65 | (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) (p : SobolevSpace period s) : |
| 66 | basePressureNorm period K N hN ρ p ≤ 448*baseCoefficientSum period K*weightedNorm period 6 N ρ p := |
| 67 | (basePressureNorm_lower period K N hN ρ hρ p).trans (mul_le_mul_of_nonneg_left |
| 68 | (weightedNorm_mono period (by norm_num : 5 ≤ 6) N ρ hρ p) |
| 69 | (mul_nonneg (by norm_num) (baseCoefficientSum_nonneg period K))) |
| 70 | |
| 71 | /-- The actual nonlinear transport pressure has the required external commutator bound with no extra velocity order. -/ |
| 72 | theorem nonlinear_externalPressure_bound {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 73 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 74 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 75 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪A.coefficient x v,v⟫_ℝ) |
| 76 | (N : ℕ) (hN : (N+1)+6 ≤ s) (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) |
| 77 | (hbase : (EulerH6Pressure.CoefficientJet.restrict K 6 (by omega)).pressureConstant c ≤ M) |
| 78 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 79 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N+1 → coefficientBlock period K 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 80 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 81 | (u v : SobolevSpace period (s+1)) : |
| 82 | externalPressureNorm period K (N+1) ρ (transportPressure period hs K κ m c hc hpos L hL u v) ≤ |
| 83 | (32*Rc*M*productConstant period 3)*weightedNorm period 6 (N+1) ρ u*weightedLoss period 6 (N+1) ρ v := by |
| 84 | have hhalf : ρ*Rc ≤ 1/2 := by nlinarith [mul_nonneg hρ.le hRc] |
| 85 | have hcN : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K 6 l ≤ Rc^l*(l.factorial : ℝ)^2 := |
| 86 | fun l hl hn => hcoeff l hl (by omega) |
| 87 | have hp := transportPressure_shifted period hs K κ m c hc hpos N (by omega) ρ Rc M hρ hRc hM hbase hsmall hcN L hL u v |
| 88 | exact (externalPressureNorm_shifted period K N hN ρ Rc hρ hRc hhalf hcoeff _).trans |
| 89 | ((mul_le_mul_of_nonneg_left hp (mul_nonneg (by norm_num : (0 : ℝ) ≤ 2) hRc)).trans_eq (by ring)) |
| 90 | |
| 91 | end EulerGevreyPressureEnergy |