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.GevreyCorrectionForcing |
| 2 | import Euler.H6PressureConstants |
| 3 | |
| 4 | /-! Explicit cutoff-independent coefficient and inverse constants in the nonlinear correction estimate. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerGevreyUniformConstants |
| 9 | |
| 10 | open EulerLiftedGradientSpace EulerCylinderSobolev EulerSpatialSobolevInverse EulerJetProductBounds |
| 11 | EulerH6Pressure EulerSobolevGevreyOperators EulerBasePressureCommutator EulerPacketWeights |
| 12 | EulerPressureCommutatorWeights |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | omit [Fact (0 < period)] in |
| 17 | /-- The fixed H⁶ coefficient block is bounded by 448 times the base coefficient bound. -/ |
| 18 | theorem coefficientBlock_zero_le {s : ℕ} {A : SmoothCoefficient period} |
| 19 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) (L : ℝ) |
| 20 | (hL : ∀ r ≤ 6, boundLevel period K r ≤ L) : coefficientBlock period K 6 0 ≤ 448*L := by |
| 21 | have h := Finset.sum_le_sum (s := Finset.range 7) (fun r hr => hL r (by have := Finset.mem_range.mp hr; omega)) |
| 22 | have hh := mul_le_mul_of_nonneg_left h (by norm_num : (0 : ℝ) ≤ 64) |
| 23 | calc |
| 24 | _ = 64 * ∑ r ∈ Finset.range 7, boundLevel period K r := by norm_num [coefficientBlock] |
| 25 | _ ≤ 64 * ∑ _r ∈ Finset.range 7, L := hh |
| 26 | _ = _ := by simp; ring |
| 27 | |
| 28 | omit [Fact (0 < period)] in |
| 29 | /-- The finite weighted coefficient sum is bounded by its base block and a geometric tail. -/ |
| 30 | theorem weightedCoefficient_le {s : ℕ} {A : SmoothCoefficient period} |
| 31 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 32 | (N : ℕ) (ρ Rc : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hsmall : ρ*Rc ≤ 1/2) |
| 33 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K 6 l ≤ Rc^l*(l.factorial : ℝ)^2) : |
| 34 | weightedCoefficient period K 6 N ρ ≤ coefficientBlock period K 6 0+2*(ρ*Rc) := by |
| 35 | have h := positiveCoefficientSum_bound ρ Rc hρ hRc hsmall N (coefficientBlock period K 6) hcoeff |
| 36 | have he : weightedCoefficient period K 6 N ρ = coefficientBlock period K 6 0+ |
| 37 | ∑ l ∈ Finset.range (N+1), weight ρ l*positivePart (coefficientBlock period K 6) l := by |
| 38 | rw [weightedCoefficient, Finset.sum_range_succ', Finset.sum_range_succ'] |
| 39 | simp only [positivePart, Nat.add_one_ne_zero, ite_false, ite_true, mul_zero, add_zero] |
| 40 | simp only [weight, pow_zero, Nat.factorial_zero, Nat.cast_one, one_pow, div_one, one_mul] |
| 41 | ring |
| 42 | rw [he] |
| 43 | exact add_le_add le_rfl h |
| 44 | |
| 45 | omit [Fact (0 < period)] in |
| 46 | /-- Under the fixed geometric smallness condition the coefficient multiplier bound is independent of N. -/ |
| 47 | theorem weightedCoefficient_uniform {s : ℕ} {A : SmoothCoefficient period} |
| 48 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 49 | (N : ℕ) (ρ Rc L : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hsmall : ρ*Rc ≤ 1/2) |
| 50 | (hL : ∀ r ≤ 6, boundLevel period K r ≤ L) |
| 51 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period K 6 l ≤ Rc^l*(l.factorial : ℝ)^2) : |
| 52 | weightedCoefficient period K 6 N ρ ≤ 448*L+1 := by |
| 53 | have h := weightedCoefficient_le period K N ρ Rc hρ hRc hsmall hcoeff |
| 54 | have hz := coefficientBlock_zero_le period K L hL |
| 55 | linarith |
| 56 | |
| 57 | omit [Fact (0 < period)] in |
| 58 | /-- Summed positive base coefficient derivatives contribute at most 6L. -/ |
| 59 | theorem baseCoefficientSum_le {A : SmoothCoefficient period} |
| 60 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) (L : ℝ) |
| 61 | (hL : ∀ r ≤ 6, boundLevel period K r ≤ L) : baseCoefficientSum period K ≤ 6*L := by |
| 62 | have h := Finset.sum_le_sum (s := Finset.range 6) (fun r hr => hL (r+1) (by have := Finset.mem_range.mp hr; omega)) |
| 63 | simpa [baseCoefficientSum] using h |
| 64 | |
| 65 | omit [Fact (0 < period)] in |
| 66 | /-- One explicit polynomial bounds every coercive inverse at base order at most six. -/ |
| 67 | theorem pressureConstant_le_six {q : ℕ} (hq : q ≤ 6) {A : SmoothCoefficient period} |
| 68 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection q A) |
| 69 | (c L : ℝ) (hc : 0 < c) (hL : 1 ≤ L) (hcL : c⁻¹ ≤ L) |
| 70 | (hcoeff : ∀ r ≤ q, boundLevel period K r ≤ L) : K.pressureConstant c ≤ (9*L)^729 := by |
| 71 | have h := pressureConstant_polynomial K c L hc hL hcL hcoeff |
| 72 | have he : 3^q ≤ 729 := by |
| 73 | exact (Nat.pow_le_pow_right (by norm_num : 1 ≤ 3) hq).trans (by norm_num) |
| 74 | exact h.trans (pow_le_pow_right₀ (by linarith : 1 ≤ 9*L) he) |
| 75 | |
| 76 | omit [Fact (0 < period)] in |
| 77 | /-- Both fixed inverse orders needed by the actual pressure forcing have the same cutoff-independent polynomial bound. -/ |
| 78 | theorem fixed_pressure_constants {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 79 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 80 | (c L : ℝ) (hc : 0 < c) (hL : 1 ≤ L) (hcL : c⁻¹ ≤ L) |
| 81 | (hcoeff : ∀ r ≤ 6, boundLevel period K r ≤ L) : |
| 82 | (EulerH6Pressure.CoefficientJet.restrict K 5 (by omega)).pressureConstant c ≤ (9*L)^729 ∧ |
| 83 | (EulerH6Pressure.CoefficientJet.restrict K 6 hs).pressureConstant c ≤ (9*L)^729 := by |
| 84 | constructor |
| 85 | · apply pressureConstant_le_six period (by norm_num : 5 ≤ 6) _ c L hc hL hcL |
| 86 | intro r hr |
| 87 | rw [coefficient_restrict_level period K (by omega : 5 ≤ s) hr] |
| 88 | exact hcoeff r (by omega) |
| 89 | · apply pressureConstant_le_six period (by norm_num : 6 ≤ 6) _ c L hc hL hcL |
| 90 | intro r hr |
| 91 | rw [coefficient_restrict_level period K hs hr] |
| 92 | exact hcoeff r hr |
| 93 | |
| 94 | end EulerGevreyUniformConstants |