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.CylinderEndpointBudget |
| 2 | import Euler.CylinderTerminalAmplitude |
| 3 | |
| 4 | /-! |
| 5 | Actual fixed-Hq mixed-word estimates for unit terminal data. The spatial |
| 6 | radius is unchanged; the coordinate/velocity use two shifts and the true |
| 7 | time derivative uses three. Every inverse guard is source-only. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerCylinderDirichlet.Coefficients.EndpointBudget |
| 13 | |
| 14 | open Set ContinuousLinearMap InnerProductSpace EulerSmoothLimit |
| 15 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderRectangular |
| 16 | EulerTimeLp EulerGevrey EulerParameterWordGevrey EulerFixedEvolutionSobolev |
| 17 | open scoped ContDiff BoundedContinuousFunction |
| 18 | |
| 19 | variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {U E : Type*} |
| 20 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 21 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 22 | {D : Coefficients T U E} {ι : Type*} [Fintype ι] {q : ℕ} |
| 23 | (L : EndpointBudget D ι q) (directions : ι → LiftTangent) |
| 24 | (hdir : ∀ i, ‖directions i‖ ≤ 1) |
| 25 | (Y : CylinderL2 P U) (hY : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Y)) |
| 26 | (d : ℕ) (hYb : ∀ n, block directions q (fun a : LiftTangent => translate P a Y) n 0 ≤ majorant L.R d n) |
| 27 | |
| 28 | include hY hYb in |
| 29 | omit [CompleteSpace U] [CompleteSpace E] in |
| 30 | theorem constant_unit_bound (n : ℕ) : |
| 31 | block directions q (fun a : LiftTangent => pathTranslate P a |
| 32 | (ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y))) n 0 ≤ T⁻¹*majorant L.R d n := by |
| 33 | have hs := block_smul_le directions q T⁻¹ |
| 34 | (fun a : LiftTangent => pathTranslate P a (ContinuousMap.const (Icc (0 : ℝ) T) Y)) |
| 35 | (constantPath_orbit_contDiff P Y hY) n 0 |
| 36 | rw [abs_of_nonneg (inv_nonneg.mpr D.time_pos.le)] at hs |
| 37 | have hb := (constantPath_block_le (K := Icc (0 : ℝ) T) P directions q Y hY n 0).trans (hYb n) |
| 38 | have he : ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y) = |
| 39 | T⁻¹ • ContinuousMap.const (Icc (0 : ℝ) T) Y := rfl |
| 40 | rw [he] |
| 41 | simp only [map_smul] |
| 42 | exact hs.trans (mul_le_mul_of_nonneg_left hb (inv_nonneg.mpr D.time_pos.le)) |
| 43 | |
| 44 | include hdir hY hYb |
| 45 | |
| 46 | omit [CompleteSpace U] [CompleteSpace E] in |
| 47 | theorem forcing_unit_bound (n : ℕ) : |
| 48 | block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointForcing P Y)) n 0 ≤ |
| 49 | endpointForcingCost ι q T L.Rc L.C₁*majorant L.R d n := by |
| 50 | let Z := ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y) |
| 51 | have hz : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a Z) := |
| 52 | endpointConstant_orbit_contDiff P Y hY |
| 53 | have hp := product_orbit_block_bound P D.Q₁ L.frameDerivative_smooth directions hdir q Z hz |
| 54 | L.Rc L.C₁ L.R T⁻¹ L.Rc_nonneg L.C₁_nonneg (inv_nonneg.mpr D.time_pos.le) |
| 55 | L.radius_bounds.2 L.frameDerivative_bound d (L.constant_unit_bound P directions Y hY d hYb) n |
| 56 | have hs := block_smul_le directions q (2 : ℝ) |
| 57 | (fun a : LiftTangent => pathTranslate P a (fullMultiplierMap P D.Q₁ Z)) |
| 58 | (product_orbit_contDiff P D.Q₁ L.frameDerivative_smooth Z hz) n 0 |
| 59 | have he : D.endpointForcing P Y = (2 : ℝ) • fullMultiplierMap P D.Q₁ Z := rfl |
| 60 | rw [he] |
| 61 | simp only [map_smul] |
| 62 | apply (hs.trans (mul_le_mul_of_nonneg_left hp (abs_nonneg (2 : ℝ)))).trans_eq |
| 63 | unfold endpointForcingCost |
| 64 | norm_num |
| 65 | ring |
| 66 | |
| 67 | theorem coordinate_unit_bound (n : ℕ) : |
| 68 | block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointCoordinate P Y)) n 0 ≤ |
| 69 | L.coordinateCost*majorant L.R (d+2) n := by |
| 70 | have hf := D.endpointForcing_orbit_contDiff P L.frameDerivative_smooth Y hY |
| 71 | have hv := D.velocityPath_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth |
| 72 | (D.endpointForcing P Y) hf |
| 73 | have hb := D.continuousVelocity_block_bound P directions hdir q |
| 74 | L.frame_smooth L.frameDerivative_smooth L.hessian_smooth L.Rc L.C₀ L.C₁ L.CH |
| 75 | (endpointForcingCost ι q T L.Rc L.C₁) L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg |
| 76 | L.CH_nonneg L.forcingCost_nonneg L.frame_bound L.frameDerivative_bound L.hessian_bound |
| 77 | L.weak_radius L.strong_radius L.time_le_one (D.endpointForcing P Y) hf d |
| 78 | (L.forcing_unit_bound P directions hdir Y hY d hYb) n 0 |
| 79 | have hc := (L.constant_unit_bound P directions Y hY d hYb n).trans |
| 80 | (mul_le_mul_of_nonneg_left (majorant_mono_shift L.R L.radius_bounds.1 d (d+2) n (by omega)) |
| 81 | (inv_nonneg.mpr D.time_pos.le)) |
| 82 | rw [D.endpointCoordinate_eq_forced P Y] |
| 83 | simp only [map_sub] |
| 84 | exact (block_sub_le directions q _ _ (endpointConstant_orbit_contDiff P Y hY) hv n 0).trans |
| 85 | (by simpa only [coordinateCost,add_mul] using add_le_add hc hb) |
| 86 | |
| 87 | theorem acceleration_unit_bound (n : ℕ) : |
| 88 | block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointAcceleration P Y)) n 0 ≤ |
| 89 | majorant L.R (d+3) n := by |
| 90 | have hf := D.endpointForcing_orbit_contDiff P L.frameDerivative_smooth Y hY |
| 91 | have ha := D.accelerationPath_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth |
| 92 | (D.endpointForcing P Y) hf |
| 93 | have hb := D.accelerationPath_block_bound P directions hdir q |
| 94 | L.frame_smooth L.frameDerivative_smooth L.hessian_smooth L.Rc L.C₀ L.C₁ L.CH |
| 95 | (endpointForcingCost ι q T L.Rc L.C₁) L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg |
| 96 | L.CH_nonneg L.forcingCost_nonneg L.frame_bound L.frameDerivative_bound L.hessian_bound |
| 97 | L.weak_radius L.strong_radius L.time_le_one L.uniform_radius (D.endpointForcing P Y) hf d |
| 98 | (L.forcing_unit_bound P directions hdir Y hY d hYb) n 0 |
| 99 | have hs := block_smul_le directions q (-1 : ℝ) |
| 100 | (fun a : LiftTangent => pathTranslate P a (D.accelerationPath P (D.endpointForcing P Y))) ha n 0 |
| 101 | rw [D.endpointAcceleration_eq_forced P Y] |
| 102 | simp only [map_neg] |
| 103 | have hn : block directions q |
| 104 | (fun a : LiftTangent => -pathTranslate P a (D.accelerationPath P (D.endpointForcing P Y))) n 0 ≤ |
| 105 | block directions q |
| 106 | (fun a : LiftTangent => pathTranslate P a (D.accelerationPath P (D.endpointForcing P Y))) n 0 := by |
| 107 | simpa only [neg_one_smul,abs_neg,abs_one,one_mul] using hs |
| 108 | exact hn.trans hb |
| 109 | |
| 110 | theorem velocity_unit_bound (n : ℕ) : |
| 111 | block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointVelocity P Y)) n 0 ≤ |
| 112 | L.velocityCost*majorant L.R (d+2) n := by |
| 113 | change block directions q (fun a : LiftTangent => pathTranslate P a |
| 114 | (fullMultiplierMap P D.Q (D.endpointCoordinate P Y))) n 0 ≤ _ |
| 115 | exact product_orbit_block_bound P D.Q L.frame_smooth directions hdir q (D.endpointCoordinate P Y) |
| 116 | (D.endpointCoordinate_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth Y hY) |
| 117 | L.Rc L.C₀ L.R L.coordinateCost L.Rc_nonneg L.C₀_nonneg L.coordinateCost_nonneg |
| 118 | L.radius_bounds.2 L.frame_bound (d+2) (L.coordinate_unit_bound P directions hdir Y hY d hYb) n |
| 119 | |
| 120 | theorem derivative_unit_bound (n : ℕ) : |
| 121 | block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointDerivative P Y)) n 0 ≤ |
| 122 | L.derivativeCost*majorant L.R (d+3) n := by |
| 123 | have hv := D.endpointCoordinate_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth Y hY |
| 124 | have ha := D.endpointAcceleration_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth Y hY |
| 125 | have hbv (k) : block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointCoordinate P Y)) k 0 ≤ |
| 126 | L.coordinateCost*majorant L.R (d+3) k := |
| 127 | (L.coordinate_unit_bound P directions hdir Y hY d hYb k).trans |
| 128 | (mul_le_mul_of_nonneg_left (majorant_mono_shift L.R L.radius_bounds.1 (d+2) (d+3) k (by omega)) |
| 129 | L.coordinateCost_nonneg) |
| 130 | have hba (k) : block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointAcceleration P Y)) k 0 ≤ |
| 131 | 1*majorant L.R (d+3) k := by |
| 132 | simpa only [one_mul] using L.acceleration_unit_bound P directions hdir Y hY d hYb k |
| 133 | have h₁ := product_orbit_block_bound P D.Q₁ L.frameDerivative_smooth directions hdir q |
| 134 | (D.endpointCoordinate P Y) hv L.Rc L.C₁ L.R L.coordinateCost L.Rc_nonneg L.C₁_nonneg |
| 135 | L.coordinateCost_nonneg L.radius_bounds.2 L.frameDerivative_bound (d+3) hbv n |
| 136 | have h₂ := product_orbit_block_bound P D.Q L.frame_smooth directions hdir q |
| 137 | (D.endpointAcceleration P Y) ha L.Rc L.C₀ L.R 1 L.Rc_nonneg L.C₀_nonneg |
| 138 | zero_le_one L.radius_bounds.2 L.frame_bound (d+3) hba n |
| 139 | have he : D.endpointDerivative P Y = fullMultiplierMap P D.Q₁ (D.endpointCoordinate P Y)+ |
| 140 | fullMultiplierMap P D.Q (D.endpointAcceleration P Y) := rfl |
| 141 | rw [he] |
| 142 | simp only [map_add] |
| 143 | exact (block_add_le directions q _ _ |
| 144 | (product_orbit_contDiff P D.Q₁ L.frameDerivative_smooth _ hv) |
| 145 | (product_orbit_contDiff P D.Q L.frame_smooth _ ha) n 0).trans |
| 146 | (by simpa only [derivativeCost,mul_one,add_mul] using add_le_add h₁ h₂) |
| 147 | |
| 148 | end EulerCylinderDirichlet.Coefficients.EndpointBudget |