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.PacketSourceCoefficientGevrey |
| 2 | import Euler.PacketCoefficientTower |
| 3 | import Euler.CoefficientPathPressureBounds |
| 4 | |
| 5 | /-! |
| 6 | One quantitative coefficient budget for the actual source correction data. |
| 7 | Every constant is independent of the jet order, truncation level and frequency. |
| 8 | The assumptions are the original deformation and inverse-deformation derivative |
| 9 | bounds; all stored coefficient and pressure estimates are derived from them. |
| 10 | -/ |
| 11 | |
| 12 | /-! ## From `Euler/PacketCoefficientTowerBounds.lean` |
| 13 | |
| 14 | The text of `Euler/PacketCoefficientTowerBounds.lean`, folded into this file, which was its only importer. -/ |
| 15 | |
| 16 | section |
| 17 | |
| 18 | /-! Quantitative bounds for the actual packet coefficient towers. -/ |
| 19 | |
| 20 | noncomputable section |
| 21 | |
| 22 | namespace EulerPacketCylinderField.MatrixCoefficient |
| 23 | |
| 24 | open Set EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients EulerCoefficientPath |
| 25 | EulerJetProductBounds EulerParameterWordGevrey EulerGevrey EulerSobolevGevreyOperators |
| 26 | EulerCoefficientJetPressureBounds |
| 27 | open scoped ContDiff |
| 28 | |
| 29 | variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {raw : EulerPacketPointJets.Domain → Space →L[ℝ] Space} |
| 30 | (A : MatrixCoefficient T raw) (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) |
| 31 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n (translateCoefficientPath A.path) x‖ ≤ C*majorant Rc 0 n) |
| 32 | |
| 33 | include hRc hC hb |
| 34 | |
| 35 | theorem toCoefficientTower_base_bound (s q r : ℕ) (hr : r ≤ q) (t : Icc (0 : ℝ) T) : |
| 36 | boundLevel P ((A.toCoefficientTower P).jet s t) r ≤ sobolevCoefficientAmplitude (Fin 4) q Rc C := |
| 37 | coefficientJet_base_bound P A.path A.orbit Rc C hRc hC hb s q r hr t |
| 38 | |
| 39 | theorem toCoefficientTower_normalized_block (s q : ℕ) (R : ℝ) |
| 40 | (hR : normalizedCoefficientRadius q Rc C ≤ R) (n : ℕ) (hn : 1 ≤ n) (t : Icc (0 : ℝ) T) : |
| 41 | EulerH6Pressure.coefficientBlock P ((A.toCoefficientTower P).jet s t) q n ≤ R^n*(n.factorial : ℝ)^2 := |
| 42 | coefficientJet_block_normalized P A.path A.orbit s q Rc C hRc hC hb R hR n hn t |
| 43 | |
| 44 | theorem toCoefficientTower_weighted_bound (s q N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) |
| 45 | (hsmall : ρ*sobolevCoefficientRadius (Fin 4) Rc ≤ 1/2) (t : Icc (0 : ℝ) T) : |
| 46 | weightedCoefficient P ((A.toCoefficientTower P).jet s t) q N ρ ≤ |
| 47 | 2*sobolevCoefficientAmplitude (Fin 4) q Rc C := |
| 48 | coefficientJet_weighted_bound P A.path A.orbit s q N Rc C hRc hC hb ρ hρ hsmall t |
| 49 | |
| 50 | theorem toCoefficientTower_pressure_bound (s q b : ℕ) (hq : q ≤ s) (hqb : q ≤ b) |
| 51 | (c : ℝ) (hc : 0 < c) (t : Icc (0 : ℝ) T) : |
| 52 | (EulerH6Pressure.CoefficientJet.restrict ((A.toCoefficientTower P).jet s t) q hq).pressureConstant c ≤ |
| 53 | pressureCost c (sobolevCoefficientAmplitude (Fin 4) b Rc C) q := |
| 54 | coefficientJet_restrictedPressure_bound P A.path A.orbit Rc C hRc hC hb s q b hq hqb c hc t |
| 55 | |
| 56 | end EulerPacketCylinderField.MatrixCoefficient |
| 57 | end |
| 58 | |
| 59 | end |
| 60 | |
| 61 | noncomputable section |
| 62 | |
| 63 | namespace EulerPacketCorrectionCoefficients |
| 64 | |
| 65 | open Set Finset EulerSmoothLimit EulerMeanCoefficients EulerPacketCylinderField |
| 66 | EulerCoefficientPath EulerParameterWordGevrey EulerCoefficientJetPressureBounds |
| 67 | EulerGevrey EulerJetProductBounds EulerSobolevGevreyOperators |
| 68 | open scoped ContDiff BoundedContinuousFunction |
| 69 | |
| 70 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 71 | |
| 72 | /-- The coefficient part of the correction energy budget, uniformly at all |
| 73 | orders and all Fourier scales with absolute value at most one. -/ |
| 74 | structure CorrectionCoefficientBudget (D : EulerTransversePacketProvider.Data U) |
| 75 | (P : ℝ) [Fact (0 < P)] where |
| 76 | Rc : ℝ |
| 77 | M : ℝ |
| 78 | B : ℝ |
| 79 | A0 : ℝ |
| 80 | A2 : ℝ |
| 81 | Rc_nonneg : 0 ≤ Rc |
| 82 | M_one_le : 1 ≤ M |
| 83 | B_nonneg : 0 ≤ B |
| 84 | A0_nonneg : 0 ≤ A0 |
| 85 | A2_nonneg : 0 ≤ A2 |
| 86 | inverse_five : ∀ s (hs : 6 ≤ s) t, |
| 87 | (EulerH6Pressure.CoefficientJet.restrict ((metricTower D P).jet s t) 5 (by omega)).pressureConstant |
| 88 | D.normalLower ≤ M |
| 89 | inverse_six : ∀ s (hs : 6 ≤ s) t, |
| 90 | (EulerH6Pressure.CoefficientJet.restrict ((metricTower D P).jet s t) 6 hs).pressureConstant |
| 91 | D.normalLower ≤ M |
| 92 | metric_derivatives : ∀ s t l, 1 ≤ l → |
| 93 | EulerH6Pressure.coefficientBlock P ((metricTower D P).jet s t) 6 l ≤ Rc^l*(l.factorial : ℝ)^2 |
| 94 | metric_base : ∀ s t r, r ≤ 6 → boundLevel P ((metricTower D P).jet s t) r ≤ B |
| 95 | linear : ∀ s N ρ, 0 < ρ → 4*M*(ρ*Rc) ≤ 1 → ∀ t, |
| 96 | weightedCoefficient P ((linearTower D P).jet s t) 6 N ρ ≤ A0 |
| 97 | quadratic : ∀ κ, |κ| ≤ 1 → ∀ s N ρ, 0 < ρ → 4*M*(ρ*Rc) ≤ 1 → ∀ t, |
| 98 | (∑ i : Fin 3, weightedCoefficient P ((quadraticTower D P κ i).jet s t) 6 N ρ) ≤ A2 |
| 99 | |
| 100 | def correctionMetricEnvelope (R CI : ℝ) : ℝ := |
| 101 | sobolevCoefficientAmplitude (Fin 4) 6 (4*R) (3*CI*CI) |
| 102 | |
| 103 | def correctionLinearEnvelope (R C1 CI : ℝ) : ℝ := |
| 104 | 2*sobolevCoefficientAmplitude (Fin 4) 6 (4*R) (6*CI*C1) |
| 105 | |
| 106 | def correctionQuadraticEnvelope (R C0 CI : ℝ) : ℝ := |
| 107 | 6*sobolevCoefficientAmplitude (Fin 4) 6 (4*R) (3*CI*(C0*R)) |
| 108 | |
| 109 | def correctionCoefficientRadius (R CI : ℝ) : ℝ := |
| 110 | max 1 (max (normalizedCoefficientRadius 6 (4*R) (3*CI*CI)) |
| 111 | (sobolevCoefficientRadius (Fin 4) (4*R))) |
| 112 | |
| 113 | def correctionPressureEnvelope (c R CI : ℝ) : ℝ := |
| 114 | max 1 (max (pressureCost c (correctionMetricEnvelope R CI) 5) |
| 115 | (pressureCost c (correctionMetricEnvelope R CI) 6)) |
| 116 | |
| 117 | private theorem series_radius_small (ρ Rc M B : ℝ) (hρ : 0 ≤ ρ) (hB : 0 ≤ B) |
| 118 | (hBR : B ≤ Rc) (hM : 1 ≤ M) (hg : 4*M*(ρ*Rc) ≤ 1) : ρ*B ≤ 1/2 := by |
| 119 | have hR : 0 ≤ Rc := hB.trans hBR |
| 120 | have hp : 0 ≤ ρ*Rc := mul_nonneg hρ hR |
| 121 | have hm := mul_le_mul_of_nonneg_right hM hp |
| 122 | have hb := mul_le_mul_of_nonneg_left hBR hρ |
| 123 | linarith |
| 124 | |
| 125 | variable (D : EulerTransversePacketProvider.Data U) (P : ℝ) [Fact (0 < P)] |
| 126 | (R C0 C1 CI : ℝ) (hR : 0 ≤ R) (hC0 : 0 ≤ C0) (hC1 : 0 ≤ C1) (hCI : 0 ≤ CI) |
| 127 | (hF : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C0*majorant R 0 n) |
| 128 | (hF1 : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ C1*majorant R 0 n) |
| 129 | (hFI : ∀ n t x, ‖iteratedFDeriv ℝ n (D.FInv.field t : Space → Space →L[ℝ] Space) x‖ ≤ CI*majorant R 0 n) |
| 130 | |
| 131 | include hR hC0 hC1 hCI hF hF1 hFI |
| 132 | |
| 133 | /-- All coefficient hypotheses of the correction energy estimate, derived |
| 134 | from genuine source spatial jets. The radius condition is the same one used |
| 135 | by the projected inverse, rather than a separate cutoff-dependent restriction. -/ |
| 136 | def correctionCoefficientBudget : CorrectionCoefficientBudget D P where |
| 137 | Rc := correctionCoefficientRadius R CI |
| 138 | M := correctionPressureEnvelope D.normalLower R CI |
| 139 | B := correctionMetricEnvelope R CI |
| 140 | A0 := correctionLinearEnvelope R C1 CI |
| 141 | A2 := correctionQuadraticEnvelope R C0 CI |
| 142 | Rc_nonneg := zero_le_one.trans (le_max_left _ _) |
| 143 | M_one_le := le_max_left _ _ |
| 144 | B_nonneg := sobolevCoefficientAmplitude_nonneg 6 (4*R) (3*CI*CI) (by positivity) (by positivity) |
| 145 | A0_nonneg := mul_nonneg (by norm_num) |
| 146 | (sobolevCoefficientAmplitude_nonneg 6 (4*R) (6*CI*C1) (by positivity) (by positivity)) |
| 147 | A2_nonneg := mul_nonneg (by norm_num) |
| 148 | (sobolevCoefficientAmplitude_nonneg 6 (4*R) (3*CI*(C0*R)) (by positivity) (by positivity)) |
| 149 | inverse_five s hs t := by |
| 150 | have h := MatrixCoefficient.toCoefficientTower_pressure_bound P (metricCoefficient D) |
| 151 | (4*R) (3*CI*CI) (by positivity) (by positivity) |
| 152 | (metricCoefficient_bound D R CI hR hCI hFI) s 5 6 (by omega) (by omega) |
| 153 | D.normalLower D.normalLower_pos t |
| 154 | exact h.trans ((le_max_left _ _).trans (le_max_right _ _)) |
| 155 | inverse_six s hs t := by |
| 156 | have h := MatrixCoefficient.toCoefficientTower_pressure_bound P (metricCoefficient D) |
| 157 | (4*R) (3*CI*CI) (by positivity) (by positivity) |
| 158 | (metricCoefficient_bound D R CI hR hCI hFI) s 6 6 hs le_rfl |
| 159 | D.normalLower D.normalLower_pos t |
| 160 | exact h.trans ((le_max_right _ _).trans (le_max_right _ _)) |
| 161 | metric_derivatives s t l hl := by |
| 162 | exact MatrixCoefficient.toCoefficientTower_normalized_block P (metricCoefficient D) |
| 163 | (4*R) (3*CI*CI) (by positivity) (by positivity) |
| 164 | (metricCoefficient_bound D R CI hR hCI hFI) s 6 |
| 165 | (correctionCoefficientRadius R CI) ((le_max_left _ _).trans (le_max_right _ _)) l hl t |
| 166 | metric_base s t r hr := |
| 167 | MatrixCoefficient.toCoefficientTower_base_bound P (metricCoefficient D) |
| 168 | (4*R) (3*CI*CI) (by positivity) (by positivity) |
| 169 | (metricCoefficient_bound D R CI hR hCI hFI) s 6 r hr t |
| 170 | linear s N ρ hρ hg t := by |
| 171 | have hsmall := series_radius_small ρ (correctionCoefficientRadius R CI) |
| 172 | (correctionPressureEnvelope D.normalLower R CI) (sobolevCoefficientRadius (Fin 4) (4*R)) |
| 173 | hρ.le (sobolevCoefficientRadius_nonneg (4*R) (by positivity)) |
| 174 | ((le_max_right _ _).trans (le_max_right _ _)) (le_max_left _ _) hg |
| 175 | exact MatrixCoefficient.toCoefficientTower_weighted_bound P (linearCoefficient D) |
| 176 | (4*R) (6*CI*C1) (by positivity) (by positivity) |
| 177 | (linearCoefficient_bound D R C1 CI hR hC1 hCI hF1 hFI) s 6 N ρ hρ hsmall t |
| 178 | quadratic κ hκ s N ρ hρ hg t := by |
| 179 | have hsmall := series_radius_small ρ (correctionCoefficientRadius R CI) |
| 180 | (correctionPressureEnvelope D.normalLower R CI) (sobolevCoefficientRadius (Fin 4) (4*R)) |
| 181 | hρ.le (sobolevCoefficientRadius_nonneg (4*R) (by positivity)) |
| 182 | ((le_max_right _ _).trans (le_max_right _ _)) (le_max_left _ _) hg |
| 183 | have h : ∀ i : Fin 3, |
| 184 | weightedCoefficient P ((quadraticTower D P κ i).jet s t) 6 N ρ ≤ |
| 185 | 2*sobolevCoefficientAmplitude (Fin 4) 6 (4*R) (3*CI*(C0*R)) := by |
| 186 | intro i |
| 187 | exact MatrixCoefficient.toCoefficientTower_weighted_bound P (quadraticCoefficient D κ i) |
| 188 | (4*R) (3*CI*(C0*R)) (by positivity) (by positivity) |
| 189 | (quadraticCoefficient_bound D R C0 CI hR hC0 hCI hF hFI κ hκ i) s 6 N ρ hρ hsmall t |
| 190 | calc |
| 191 | _ ≤ ∑ i : Fin 3, 2*sobolevCoefficientAmplitude (Fin 4) 6 (4*R) (3*CI*(C0*R)) := |
| 192 | sum_le_sum (fun i _ => h i) |
| 193 | _ = _ := by simp only [sum_const,Fintype.card_fin,card_univ,nsmul_eq_mul,correctionQuadraticEnvelope]; ring |
| 194 | |
| 195 | end EulerPacketCorrectionCoefficients |