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 NavierStokes.PowerMomentMatrix |
| 2 | |
| 3 | /-! |
| 4 | # Exponential moments on separated intervals |
| 5 | |
| 6 | The logarithmic-coordinate clause of `outgoing:moment-rank` concerns actual |
| 7 | integrals against positive bumps. The intervals may lie anywhere on the real |
| 8 | line. The proof uses the existing Rolle induction for exponential sums. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open MeasureTheory |
| 14 | open scoped BigOperators |
| 15 | |
| 16 | namespace NavierStokes.ExponentialMomentMatrix |
| 17 | |
| 18 | open PowerMomentMatrix |
| 19 | |
| 20 | /-- Exponential moments against finite positive measures on real intervals. -/ |
| 21 | def expIntervalMomentMatrix {n : ℕ} (a l u : Fin n → ℝ) |
| 22 | (μ : Fin n → Measure ℝ) : Matrix (Fin n) (Fin n) ℝ := |
| 23 | fun i j => ∫ t in Set.Icc (l j) (u j), Real.exp (a i * t) ∂μ j |
| 24 | |
| 25 | theorem integral_expSum {n : ℕ} (a c : Fin n → ℝ) (l u : ℝ) |
| 26 | (μ : Measure ℝ) [IsFiniteMeasure μ] : |
| 27 | (∫ t in Set.Icc l u, expSum a c t ∂μ) = |
| 28 | ∑ i, c i * ∫ t in Set.Icc l u, Real.exp (a i * t) ∂μ := by |
| 29 | unfold expSum |
| 30 | rw [integral_finsetSum] |
| 31 | · simp only [integral_const_mul] |
| 32 | · intro i _ |
| 33 | apply ContinuousOn.integrableOn_Icc |
| 34 | exact (continuous_const.mul |
| 35 | (Real.continuous_exp.comp (continuous_const.mul continuous_id))).continuousOn |
| 36 | |
| 37 | /-- Distinct exponents and strictly separated positive masses give an |
| 38 | invertible integrated matrix. No sign restriction is imposed on the interval |
| 39 | endpoints in the logarithmic coordinate. -/ |
| 40 | theorem expIntervalMomentMatrix_det_ne_zero {n : ℕ} (a l u : Fin n → ℝ) |
| 41 | (μ : Fin n → Measure ℝ) [∀ j, IsFiniteMeasure (μ j)] |
| 42 | (ha : Function.Injective a) (hsep : ∀ i j, i < j → u i < l j) |
| 43 | (hmass : ∀ j, μ j (Set.Icc (l j) (u j)) ≠ 0) : |
| 44 | (expIntervalMomentMatrix a l u μ).det ≠ 0 := by |
| 45 | apply IsUnit.ne_zero |
| 46 | apply (Matrix.isUnit_iff_isUnit_det _).mp |
| 47 | apply Matrix.vecMul_injective_iff_isUnit.mp |
| 48 | intro c d hcd |
| 49 | dsimp only at hcd |
| 50 | have hzero : (expIntervalMomentMatrix a l u μ).vecMul (c - d) = 0 := by |
| 51 | rw [Matrix.sub_vecMul, hcd, sub_self] |
| 52 | have hroots : ∀ j, ∃ t ∈ Set.Icc (l j) (u j), expSum a (c - d) t = 0 := by |
| 53 | intro j |
| 54 | apply exists_zero_of_setIntegral_eq_zero (μ j) (l j) (u j) _ (hmass j) |
| 55 | · exact (continuous_iff_continuousAt.mpr |
| 56 | (fun t => (expSum_hasDerivAt a (c - d) t).continuousAt)).continuousOn |
| 57 | · rw [integral_expSum] |
| 58 | exact congrFun hzero j |
| 59 | choose x hx hroot using hroots |
| 60 | have hxmono : StrictMono x := by |
| 61 | intro i j hij |
| 62 | exact lt_of_le_of_lt (hx i).2 (lt_of_lt_of_le (hsep i j hij) (hx j).1) |
| 63 | exact sub_eq_zero.mp (expSum_coefficients_zero n a (c - d) x ha hxmono hroot) |
| 64 | |
| 65 | /-- The actual Lebesgue moment matrix for exponential weights and bumps. -/ |
| 66 | def expBumpMomentMatrix {n : ℕ} (a : Fin n → ℝ) (β : Fin n → ℝ → ℝ) : |
| 67 | Matrix (Fin n) (Fin n) ℝ := fun i j => ∫ t, Real.exp (a i * t) * β j t |
| 68 | |
| 69 | /-- The logarithmic-coordinate moment-rank assertion for arbitrary distinct |
| 70 | real exponents and separated nonnegative nonzero bumps. Continuity suffices; |
| 71 | the manuscript's smooth bump hypotheses are stronger than required. -/ |
| 72 | theorem expBumpMomentMatrix_det_ne_zero {n : ℕ} (a l u : Fin n → ℝ) |
| 73 | (β : Fin n → ℝ → ℝ) (ha : Function.Injective a) |
| 74 | (hsep : ∀ i j, i < j → u i < l j) |
| 75 | (hcont : ∀ j, Continuous (β j)) (hnonneg : ∀ j t, 0 ≤ β j t) |
| 76 | (hnonzero : ∀ j, ∃ t, β j t ≠ 0) |
| 77 | (hsupp : ∀ j, Function.support (β j) ⊆ Set.Icc (l j) (u j)) : |
| 78 | (expBumpMomentMatrix a β).det ≠ 0 := by |
| 79 | have hcompact : ∀ j, HasCompactSupport (β j) := fun j => |
| 80 | HasCompactSupport.of_support_subset_isCompact isCompact_Icc (hsupp j) |
| 81 | have hintegrable : ∀ j, Integrable (β j) := fun j => |
| 82 | (hcont j).integrable_of_hasCompactSupport (hcompact j) |
| 83 | have hout : ∀ j t, t ∉ Set.Icc (l j) (u j) → β j t = 0 := by |
| 84 | intro j t ht |
| 85 | by_contra h |
| 86 | exact ht (hsupp j h) |
| 87 | let μ : Fin n → Measure ℝ := fun j => volume.withDensity (fun t => ENNReal.ofReal (β j t)) |
| 88 | let : ∀ j, IsFiniteMeasure (μ j) := fun j => |
| 89 | isFiniteMeasure_withDensity_ofReal (hintegrable j).2 |
| 90 | have hdensity : ∀ j (f : ℝ → ℝ), |
| 91 | (∫ t in Set.Icc (l j) (u j), f t ∂μ j) = |
| 92 | ∫ t in Set.Icc (l j) (u j), β j t * f t := by |
| 93 | intro j f |
| 94 | dsimp [μ] |
| 95 | rw [setIntegral_withDensity_eq_setIntegral_toReal_smul |
| 96 | (hcont j).measurable.ennreal_ofReal |
| 97 | (Filter.Eventually.of_forall fun t => ENNReal.ofReal_lt_top) f measurableSet_Icc] |
| 98 | simp only [ENNReal.toReal_ofReal (hnonneg j _), smul_eq_mul] |
| 99 | have hmass : ∀ j, μ j (Set.Icc (l j) (u j)) ≠ 0 := by |
| 100 | intro j hzero |
| 101 | have hr : (μ j).restrict (Set.Icc (l j) (u j)) = 0 := |
| 102 | Measure.restrict_eq_zero.mpr hzero |
| 103 | have heq := hdensity j (fun _ => (1 : ℝ)) |
| 104 | rw [hr, integral_zero_measure] at heq |
| 105 | simp only [mul_one] at heq |
| 106 | rw [setIntegral_eq_integral_of_forall_compl_eq_zero (hout j)] at heq |
| 107 | obtain ⟨t, ht⟩ := hnonzero j |
| 108 | have hpos : 0 < ∫ t, β j t := (hcont j).integral_pos_of_hasCompactSupport_nonneg_nonzero |
| 109 | (hcompact j) (hnonneg j) ht |
| 110 | linarith |
| 111 | have hmatrix : expBumpMomentMatrix a β = expIntervalMomentMatrix a l u μ := by |
| 112 | ext i j |
| 113 | change (∫ t, Real.exp (a i * t) * β j t) = |
| 114 | ∫ t in Set.Icc (l j) (u j), Real.exp (a i * t) ∂μ j |
| 115 | rw [hdensity] |
| 116 | rw [setIntegral_eq_integral_of_forall_compl_eq_zero |
| 117 | (fun t ht => by rw [hout j t ht, zero_mul])] |
| 118 | congr 1 |
| 119 | ext t |
| 120 | exact mul_comm _ _ |
| 121 | rw [hmatrix] |
| 122 | exact expIntervalMomentMatrix_det_ne_zero a l u μ ha hsep hmass |
| 123 | |
| 124 | end NavierStokes.ExponentialMomentMatrix |