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.CylinderEndpointRegularity |
| 2 | import Euler.CylinderDirichletPhysicalBounds |
| 3 | import Euler.CylinderTerminalAmplitude |
| 4 | |
| 5 | /-! |
| 6 | Actual fixed-Hq mixed-word estimates for unit terminal data. The spatial |
| 7 | radius is unchanged; the coordinate/velocity use two shifts and the true |
| 8 | time derivative uses three. Every inverse guard is source-only. |
| 9 | -/ |
| 10 | |
| 11 | /-! ## From `Euler/CylinderEndpointBudget.lean` |
| 12 | |
| 13 | The text of `Euler/CylinderEndpointBudget.lean`, folded into this file, which was its only importer. -/ |
| 14 | |
| 15 | section |
| 16 | |
| 17 | /-! |
| 18 | Source-only guards for the affine-terminal cylinder inverse. The affine |
| 19 | forcing is bounded for unit terminal data; no terminal amplitude, derivative |
| 20 | shift, or recursive grade occurs in the radius conditions. |
| 21 | -/ |
| 22 | |
| 23 | noncomputable section |
| 24 | |
| 25 | namespace EulerCylinderDirichlet.Coefficients |
| 26 | |
| 27 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerGevrey |
| 28 | EulerParameterWordGevrey EulerTransverseFixedSobolev EulerFixedEvolutionSobolev |
| 29 | EulerTimeLpGramSobolev EulerTimeLpAccelerationSobolev |
| 30 | open scoped ContDiff BoundedContinuousFunction |
| 31 | |
| 32 | def endpointForcingCost (ι : Type*) [Fintype ι] (q : ℕ) (T Rc C₁ : ℝ) : ℝ := |
| 33 | 6*sobolevCoefficientAmplitude ι q Rc C₁*T⁻¹ |
| 34 | |
| 35 | variable {T : ℝ} {U E : Type*} |
| 36 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 37 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 38 | |
| 39 | structure EndpointBudget (D : Coefficients T U E) (ι : Type*) [Fintype ι] (q : ℕ) where |
| 40 | Rc : ℝ |
| 41 | C₀ : ℝ |
| 42 | C₁ : ℝ |
| 43 | CH : ℝ |
| 44 | R : ℝ |
| 45 | Rc_nonneg : 0 ≤ Rc |
| 46 | C₀_nonneg : 0 ≤ C₀ |
| 47 | C₁_nonneg : 0 ≤ C₁ |
| 48 | CH_nonneg : 0 ≤ CH |
| 49 | time_le_one : T ≤ 1 |
| 50 | frame_smooth : ContDiff ℝ ∞ (translateCoefficientPath D.Q) |
| 51 | frameDerivative_smooth : ContDiff ℝ ∞ (translateCoefficientPath D.Q₁) |
| 52 | hessian_smooth : ContDiff ℝ ∞ (translateCoefficientPath D.H) |
| 53 | frame_bound : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.Q) a‖ ≤ C₀*majorant Rc 0 n |
| 54 | frameDerivative_bound : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.Q₁) a‖ ≤ C₁*majorant Rc 0 n |
| 55 | hessian_bound : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.H) a‖ ≤ CH*majorant Rc 0 n |
| 56 | weak_radius : 2*blockCost ι q T Rc C₀ C₁ CH D.lower (endpointForcingCost ι q T Rc C₁)* |
| 57 | (sobolevCoefficientRadius ι Rc+1) ≤ R |
| 58 | strong_radius : 2*gramBlockCost ι q D.lower Rc C₀ |
| 59 | (accelerationBlockAmplitude ι q Rc C₀ C₁ (endpointForcingCost ι q T Rc C₁) 1)* |
| 60 | (sobolevCoefficientRadius ι Rc+1) ≤ R |
| 61 | uniform_radius : 2*gramBlockCost ι q D.lower Rc C₀ |
| 62 | (accelerationBlockAmplitude ι q Rc C₀ C₁ (endpointForcingCost ι q T Rc C₁) (traceCost T))* |
| 63 | (sobolevCoefficientRadius ι Rc+1) ≤ R |
| 64 | |
| 65 | namespace EndpointBudget |
| 66 | |
| 67 | variable {D : Coefficients T U E} {ι : Type*} [Fintype ι] {q : ℕ} (L : EndpointBudget D ι q) |
| 68 | |
| 69 | theorem forcingCost_nonneg : 0 ≤ endpointForcingCost ι q T L.Rc L.C₁ := |
| 70 | mul_nonneg (mul_nonneg (by norm_num) |
| 71 | (sobolevCoefficientAmplitude_nonneg q L.Rc L.C₁ L.Rc_nonneg L.C₁_nonneg)) |
| 72 | (inv_nonneg.mpr D.time_pos.le) |
| 73 | |
| 74 | theorem radius_bounds : 1 ≤ L.R ∧ sobolevCoefficientRadius ι L.Rc ≤ L.R := |
| 75 | weak_radius_bounds ι q T L.Rc L.C₀ L.C₁ L.CH D.lower |
| 76 | (endpointForcingCost ι q T L.Rc L.C₁) L.R D.time_pos.le L.Rc_nonneg |
| 77 | L.C₀_nonneg L.C₁_nonneg L.CH_nonneg L.forcingCost_nonneg L.weak_radius |
| 78 | |
| 79 | def coordinateCost (_L : EndpointBudget D ι q) : ℝ := T⁻¹+traceCost T |
| 80 | def velocityCost : ℝ := 3*sobolevCoefficientAmplitude ι q L.Rc L.C₀*L.coordinateCost |
| 81 | def derivativeCost : ℝ := 3*sobolevCoefficientAmplitude ι q L.Rc L.C₁*L.coordinateCost+ |
| 82 | 3*sobolevCoefficientAmplitude ι q L.Rc L.C₀ |
| 83 | |
| 84 | theorem coordinateCost_nonneg : 0 ≤ L.coordinateCost := |
| 85 | add_nonneg (inv_nonneg.mpr D.time_pos.le) (traceCost_nonneg T D.time_pos.le) |
| 86 | |
| 87 | end EndpointBudget |
| 88 | end EulerCylinderDirichlet.Coefficients |
| 89 | end |
| 90 | |
| 91 | end |
| 92 | |
| 93 | noncomputable section |
| 94 | |
| 95 | namespace EulerCylinderDirichlet.Coefficients.EndpointBudget |
| 96 | |
| 97 | open Set ContinuousLinearMap InnerProductSpace EulerSmoothLimit |
| 98 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderRectangular |
| 99 | EulerTimeLp EulerGevrey EulerParameterWordGevrey EulerFixedEvolutionSobolev |
| 100 | open scoped ContDiff BoundedContinuousFunction |
| 101 | |
| 102 | variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {U E : Type*} |
| 103 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 104 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 105 | {D : Coefficients T U E} {ι : Type*} [Fintype ι] {q : ℕ} |
| 106 | (L : EndpointBudget D ι q) (directions : ι → LiftTangent) |
| 107 | (hdir : ∀ i, ‖directions i‖ ≤ 1) |
| 108 | (Y : CylinderL2 P U) (hY : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Y)) |
| 109 | (d : ℕ) (hYb : ∀ n, block directions q (fun a : LiftTangent => translate P a Y) n 0 ≤ majorant L.R d n) |
| 110 | |
| 111 | include hY hYb in |
| 112 | omit [CompleteSpace U] [CompleteSpace E] in |
| 113 | theorem constant_unit_bound (n : ℕ) : |
| 114 | block directions q (fun a : LiftTangent => pathTranslate P a |
| 115 | (ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y))) n 0 ≤ T⁻¹*majorant L.R d n := by |
| 116 | have hs := block_smul_le directions q T⁻¹ |
| 117 | (fun a : LiftTangent => pathTranslate P a (ContinuousMap.const (Icc (0 : ℝ) T) Y)) |
| 118 | (constantPath_orbit_contDiff P Y hY) n 0 |
| 119 | rw [abs_of_nonneg (inv_nonneg.mpr D.time_pos.le)] at hs |
| 120 | have hb := (constantPath_block_le (K := Icc (0 : ℝ) T) P directions q Y hY n 0).trans (hYb n) |
| 121 | have he : ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y) = |
| 122 | T⁻¹ • ContinuousMap.const (Icc (0 : ℝ) T) Y := rfl |
| 123 | rw [he] |
| 124 | simp only [map_smul] |
| 125 | exact hs.trans (mul_le_mul_of_nonneg_left hb (inv_nonneg.mpr D.time_pos.le)) |
| 126 | |
| 127 | include hdir hY hYb |
| 128 | |
| 129 | omit [CompleteSpace U] [CompleteSpace E] in |
| 130 | theorem forcing_unit_bound (n : ℕ) : |
| 131 | block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointForcing P Y)) n 0 ≤ |
| 132 | endpointForcingCost ι q T L.Rc L.C₁*majorant L.R d n := by |
| 133 | let Z := ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y) |
| 134 | have hz : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a Z) := |
| 135 | endpointConstant_orbit_contDiff P Y hY |
| 136 | have hp := product_orbit_block_bound P D.Q₁ L.frameDerivative_smooth directions hdir q Z hz |
| 137 | L.Rc L.C₁ L.R T⁻¹ L.Rc_nonneg L.C₁_nonneg (inv_nonneg.mpr D.time_pos.le) |
| 138 | L.radius_bounds.2 L.frameDerivative_bound d (L.constant_unit_bound P directions Y hY d hYb) n |
| 139 | have hs := block_smul_le directions q (2 : ℝ) |
| 140 | (fun a : LiftTangent => pathTranslate P a (fullMultiplierMap P D.Q₁ Z)) |
| 141 | (product_orbit_contDiff P D.Q₁ L.frameDerivative_smooth Z hz) n 0 |
| 142 | have he : D.endpointForcing P Y = (2 : ℝ) • fullMultiplierMap P D.Q₁ Z := rfl |
| 143 | rw [he] |
| 144 | simp only [map_smul] |
| 145 | apply (hs.trans (mul_le_mul_of_nonneg_left hp (abs_nonneg (2 : ℝ)))).trans_eq |
| 146 | unfold endpointForcingCost |
| 147 | norm_num |
| 148 | ring |
| 149 | |
| 150 | theorem coordinate_unit_bound (n : ℕ) : |
| 151 | block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointCoordinate P Y)) n 0 ≤ |
| 152 | L.coordinateCost*majorant L.R (d+2) n := by |
| 153 | have hf := D.endpointForcing_orbit_contDiff P L.frameDerivative_smooth Y hY |
| 154 | have hv := D.velocityPath_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth |
| 155 | (D.endpointForcing P Y) hf |
| 156 | have hb := D.continuousVelocity_block_bound P directions hdir q |
| 157 | L.frame_smooth L.frameDerivative_smooth L.hessian_smooth L.Rc L.C₀ L.C₁ L.CH |
| 158 | (endpointForcingCost ι q T L.Rc L.C₁) L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg |
| 159 | L.CH_nonneg L.forcingCost_nonneg L.frame_bound L.frameDerivative_bound L.hessian_bound |
| 160 | L.weak_radius L.strong_radius L.time_le_one (D.endpointForcing P Y) hf d |
| 161 | (L.forcing_unit_bound P directions hdir Y hY d hYb) n 0 |
| 162 | have hc := (L.constant_unit_bound P directions Y hY d hYb n).trans |
| 163 | (mul_le_mul_of_nonneg_left (majorant_mono_shift L.R L.radius_bounds.1 d (d+2) n (by omega)) |
| 164 | (inv_nonneg.mpr D.time_pos.le)) |
| 165 | rw [D.endpointCoordinate_eq_forced P Y] |
| 166 | simp only [map_sub] |
| 167 | exact (block_sub_le directions q _ _ (endpointConstant_orbit_contDiff P Y hY) hv n 0).trans |
| 168 | (by simpa only [coordinateCost,add_mul] using add_le_add hc hb) |
| 169 | |
| 170 | theorem acceleration_unit_bound (n : ℕ) : |
| 171 | block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointAcceleration P Y)) n 0 ≤ |
| 172 | majorant L.R (d+3) n := by |
| 173 | have hf := D.endpointForcing_orbit_contDiff P L.frameDerivative_smooth Y hY |
| 174 | have ha := D.accelerationPath_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth |
| 175 | (D.endpointForcing P Y) hf |
| 176 | have hb := D.accelerationPath_block_bound P directions hdir q |
| 177 | L.frame_smooth L.frameDerivative_smooth L.hessian_smooth L.Rc L.C₀ L.C₁ L.CH |
| 178 | (endpointForcingCost ι q T L.Rc L.C₁) L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg |
| 179 | L.CH_nonneg L.forcingCost_nonneg L.frame_bound L.frameDerivative_bound L.hessian_bound |
| 180 | L.weak_radius L.strong_radius L.time_le_one L.uniform_radius (D.endpointForcing P Y) hf d |
| 181 | (L.forcing_unit_bound P directions hdir Y hY d hYb) n 0 |
| 182 | have hs := block_smul_le directions q (-1 : ℝ) |
| 183 | (fun a : LiftTangent => pathTranslate P a (D.accelerationPath P (D.endpointForcing P Y))) ha n 0 |
| 184 | rw [D.endpointAcceleration_eq_forced P Y] |
| 185 | simp only [map_neg] |
| 186 | have hn : block directions q |
| 187 | (fun a : LiftTangent => -pathTranslate P a (D.accelerationPath P (D.endpointForcing P Y))) n 0 ≤ |
| 188 | block directions q |
| 189 | (fun a : LiftTangent => pathTranslate P a (D.accelerationPath P (D.endpointForcing P Y))) n 0 := by |
| 190 | simpa only [neg_one_smul,abs_neg,abs_one,one_mul] using hs |
| 191 | exact hn.trans hb |
| 192 | |
| 193 | theorem velocity_unit_bound (n : ℕ) : |
| 194 | block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointVelocity P Y)) n 0 ≤ |
| 195 | L.velocityCost*majorant L.R (d+2) n := by |
| 196 | change block directions q (fun a : LiftTangent => pathTranslate P a |
| 197 | (fullMultiplierMap P D.Q (D.endpointCoordinate P Y))) n 0 ≤ _ |
| 198 | exact product_orbit_block_bound P D.Q L.frame_smooth directions hdir q (D.endpointCoordinate P Y) |
| 199 | (D.endpointCoordinate_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth Y hY) |
| 200 | L.Rc L.C₀ L.R L.coordinateCost L.Rc_nonneg L.C₀_nonneg L.coordinateCost_nonneg |
| 201 | L.radius_bounds.2 L.frame_bound (d+2) (L.coordinate_unit_bound P directions hdir Y hY d hYb) n |
| 202 | |
| 203 | theorem derivative_unit_bound (n : ℕ) : |
| 204 | block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointDerivative P Y)) n 0 ≤ |
| 205 | L.derivativeCost*majorant L.R (d+3) n := by |
| 206 | have hv := D.endpointCoordinate_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth Y hY |
| 207 | have ha := D.endpointAcceleration_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth Y hY |
| 208 | have hbv (k) : block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointCoordinate P Y)) k 0 ≤ |
| 209 | L.coordinateCost*majorant L.R (d+3) k := |
| 210 | (L.coordinate_unit_bound P directions hdir Y hY d hYb k).trans |
| 211 | (mul_le_mul_of_nonneg_left (majorant_mono_shift L.R L.radius_bounds.1 (d+2) (d+3) k (by omega)) |
| 212 | L.coordinateCost_nonneg) |
| 213 | have hba (k) : block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointAcceleration P Y)) k 0 ≤ |
| 214 | 1*majorant L.R (d+3) k := by |
| 215 | simpa only [one_mul] using L.acceleration_unit_bound P directions hdir Y hY d hYb k |
| 216 | have h₁ := product_orbit_block_bound P D.Q₁ L.frameDerivative_smooth directions hdir q |
| 217 | (D.endpointCoordinate P Y) hv L.Rc L.C₁ L.R L.coordinateCost L.Rc_nonneg L.C₁_nonneg |
| 218 | L.coordinateCost_nonneg L.radius_bounds.2 L.frameDerivative_bound (d+3) hbv n |
| 219 | have h₂ := product_orbit_block_bound P D.Q L.frame_smooth directions hdir q |
| 220 | (D.endpointAcceleration P Y) ha L.Rc L.C₀ L.R 1 L.Rc_nonneg L.C₀_nonneg |
| 221 | zero_le_one L.radius_bounds.2 L.frame_bound (d+3) hba n |
| 222 | have he : D.endpointDerivative P Y = fullMultiplierMap P D.Q₁ (D.endpointCoordinate P Y)+ |
| 223 | fullMultiplierMap P D.Q (D.endpointAcceleration P Y) := rfl |
| 224 | rw [he] |
| 225 | simp only [map_add] |
| 226 | exact (block_add_le directions q _ _ |
| 227 | (product_orbit_contDiff P D.Q₁ L.frameDerivative_smooth _ hv) |
| 228 | (product_orbit_contDiff P D.Q L.frame_smooth _ ha) n 0).trans |
| 229 | (by simpa only [derivativeCost,mul_one,add_mul] using add_le_add h₁ h₂) |
| 230 | |
| 231 | end EulerCylinderDirichlet.Coefficients.EndpointBudget |