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.OrdinaryGradientEnergy |
| 2 | import Euler.OrdinaryVariableGronwall |
| 3 | import Euler.OrdinaryEulerHigherEnergy |
| 4 | |
| 5 | /-! Actual gradient-supremum control of Euler Sobolev norms. The |
| 6 | gradient norm is a constructed continuous path, its time integral |
| 7 | controls H³, and the checked H³-tame estimate then propagates every |
| 8 | higher order on the same time interval. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerOrdinarySobolev.Evolution |
| 13 | |
| 14 | open Set MeasureTheory EulerSmoothLimit EulerLpTranslation |
| 15 | EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal EulerMeanClassical |
| 16 | EulerMeanSobolevBoundedField EulerVolterraConvolution EulerContinuousTimeIntegral |
| 17 | |
| 18 | variable {T : ℝ} {hT : 0 ≤ T} |
| 19 | |
| 20 | def gradientNormPath (U : Evolution T hT) : C(Icc (0 : ℝ) T,ℝ) := |
| 21 | ⟨fun t => ‖finiteField (U.velocity t).derivative‖, |
| 22 | (continuous_finiteField (fun t => (U.velocity t).derivative) |
| 23 | (continuous_jetLp_derivative U.velocity U.velocity_continuous)).norm⟩ |
| 24 | |
| 25 | theorem gradientNormPath_nonneg (U : Evolution T hT) (t : Icc (0 : ℝ) T) : |
| 26 | 0 ≤ U.gradientNormPath t := by |
| 27 | change 0 ≤ ‖finiteField (U.velocity t).derivative‖ |
| 28 | exact norm_nonneg _ |
| 29 | |
| 30 | theorem gradientNormPath_le_iff (U : Evolution T hT) (t : Icc (0 : ℝ) T) (K : ℝ) : |
| 31 | U.gradientNormPath t ≤ K ↔ ∀ x, ‖fderiv ℝ (U.velocity t).field x‖ ≤ K := by |
| 32 | change ‖finiteField (U.velocity t).derivative‖ ≤ K ↔ _ |
| 33 | rw [BoundedContinuousFunction.norm_le_of_nonempty] |
| 34 | simp only [finiteField_apply] |
| 35 | rfl |
| 36 | |
| 37 | theorem pointwise_gradient_le (U : Evolution T hT) (t : Icc (0 : ℝ) T) (x : Space) : |
| 38 | ‖fderiv ℝ (U.velocity t).field x‖ ≤ U.gradientNormPath t := |
| 39 | (U.gradientNormPath_le_iff t _).mp le_rfl x |
| 40 | |
| 41 | def gradientIntegral (U : Evolution T hT) (t : Icc (0 : ℝ) T) : ℝ := |
| 42 | realIntegral T hT U.gradientNormPath t |
| 43 | |
| 44 | theorem gradientIntegral_nonneg (U : Evolution T hT) (t : Icc (0 : ℝ) T) : |
| 45 | 0 ≤ U.gradientIntegral t := |
| 46 | intervalIntegral.integral_nonneg_of_forall t.property.1 |
| 47 | (fun r => U.gradientNormPath_nonneg (projIcc 0 T hT r)) |
| 48 | |
| 49 | theorem gradientIntegral_le_const (U : Evolution T hT) (K : ℝ) |
| 50 | (hK : ∀ t x, ‖fderiv ℝ (U.velocity t).field x‖ ≤ K) (t : Icc (0 : ℝ) T) : |
| 51 | U.gradientIntegral t ≤ K*(t : ℝ) := by |
| 52 | have hc := extendPath_continuous T hT U.gradientNormPath |
| 53 | calc |
| 54 | _ ≤ ∫ _r in (0 : ℝ)..(t : ℝ), K := |
| 55 | intervalIntegral.integral_mono_on t.property.1 (hc.intervalIntegrable 0 t) |
| 56 | (continuous_const.intervalIntegrable 0 t) (fun r _ => |
| 57 | (U.gradientNormPath_le_iff (projIcc 0 T hT r) K).mpr (hK _)) |
| 58 | _ = _ := by simp only [intervalIntegral.integral_const,sub_zero,smul_eq_mul]; ring |
| 59 | |
| 60 | theorem integerEnergyDerivative_gradient (U : Evolution T hT) (K : ℝ) |
| 61 | (t : Icc (0 : ℝ) T) (hK : ∀ x, ‖fderiv ℝ (U.velocity t).field x‖ ≤ K) : |
| 62 | U.integerEnergyDerivative 3 t ≤ gradientEnergyConstant*K*U.integerEnergyPath 3 t := by |
| 63 | rw [integerEnergyDerivative,derivative_eq_eulerRhs] |
| 64 | apply h3_energy_gradient _ _ K hK _ (U.solenoidal t) (U.gradient t) |
| 65 | exact solenoidal_representative_divergence _ (U.solenoidal t) _ (U.velocity t).smooth |
| 66 | (U.velocity t).toLp_ae |
| 67 | |
| 68 | theorem h3_energy_gradientIntegral (U : Evolution T hT) (t : Icc (0 : ℝ) T) : |
| 69 | wordEnergy 3 (U.velocity t) ≤ wordEnergy 3 (U.velocity ⟨0,le_rfl,hT⟩)* |
| 70 | Real.exp (gradientEnergyConstant*U.gradientIntegral t) := by |
| 71 | have hd (r : ℝ) (hr : r ∈ Ico 0 T) : |
| 72 | HasDerivWithinAt (extendPath T hT (U.integerEnergyPath 3)) |
| 73 | (U.integerEnergyDerivative 3 (projIcc 0 T hT r)) (Icc 0 T) r := by |
| 74 | have h := U.integerEnergy_hasDerivWithinAt 3 ⟨r,hr.1,hr.2.le⟩ |
| 75 | simpa only [projIcc_of_mem hT (show r ∈ Icc 0 T from ⟨hr.1,hr.2.le⟩)] using h |
| 76 | have hb (r : ℝ) (_hr : r ∈ Ico 0 T) : |
| 77 | U.integerEnergyDerivative 3 (projIcc 0 T hT r) ≤ |
| 78 | gradientEnergyConstant*extendPath T hT U.gradientNormPath r* |
| 79 | extendPath T hT (U.integerEnergyPath 3) r := |
| 80 | U.integerEnergyDerivative_gradient _ _ (U.pointwise_gradient_le _) |
| 81 | have h := variable_linear_stability T hT |
| 82 | (extendPath T hT (U.integerEnergyPath 3)) |
| 83 | (fun r => U.integerEnergyDerivative 3 (projIcc 0 T hT r)) |
| 84 | gradientEnergyConstant U.gradientNormPath |
| 85 | ((U.integerEnergyPath 3).continuous.comp continuous_projIcc).continuousOn hd hb t |
| 86 | simpa only [extendPath,projIcc_of_mem hT t.property, |
| 87 | projIcc_of_mem hT (show (0 : ℝ) ∈ Icc 0 T from ⟨le_rfl,hT⟩), |
| 88 | integerEnergyPath,ContinuousMap.coe_mk,gradientIntegral] using h |
| 89 | |
| 90 | theorem h3_energy_gradient_bound (U : Evolution T hT) (K : ℝ) |
| 91 | (hK : ∀ t x, ‖fderiv ℝ (U.velocity t).field x‖ ≤ K) (t : Icc (0 : ℝ) T) : |
| 92 | wordEnergy 3 (U.velocity t) ≤ wordEnergy 3 (U.velocity ⟨0,le_rfl,hT⟩)* |
| 93 | Real.exp (gradientEnergyConstant*K*(t : ℝ)) := by |
| 94 | apply (U.h3_energy_gradientIntegral t).trans |
| 95 | apply mul_le_mul_of_nonneg_left _ (wordEnergy_nonneg _ _) |
| 96 | apply Real.exp_le_exp.mpr |
| 97 | exact (mul_le_mul_of_nonneg_left (U.gradientIntegral_le_const K hK t) |
| 98 | gradientEnergyConstant_nonneg).trans_eq (by ring) |
| 99 | |
| 100 | def gradientH3Bound (U : Evolution T hT) (G : ℝ) : ℝ := |
| 101 | Real.sqrt (wordEnergy 3 (U.velocity ⟨0,le_rfl,hT⟩)*Real.exp (gradientEnergyConstant*G)) |
| 102 | |
| 103 | theorem wordBound_of_gradientIntegral (U : Evolution T hT) (G : ℝ) |
| 104 | (hG : ∀ t, U.gradientIntegral t ≤ G) (t : Icc (0 : ℝ) T) : |
| 105 | WordBound 3 (U.gradientH3Bound G) (U.velocity t) := by |
| 106 | intro n hn w |
| 107 | apply (wordBound_sqrt_energy 3 (U.velocity t) n hn w).trans |
| 108 | apply Real.sqrt_le_sqrt |
| 109 | exact (U.h3_energy_gradientIntegral t).trans |
| 110 | (mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr |
| 111 | (mul_le_mul_of_nonneg_left (hG t) gradientEnergyConstant_nonneg)) |
| 112 | (wordEnergy_nonneg _ _)) |
| 113 | |
| 114 | theorem h3_tensorNorm_of_gradientIntegral (U : Evolution T hT) (G : ℝ) |
| 115 | (hG : ∀ t, U.gradientIntegral t ≤ G) (t : Icc (0 : ℝ) T) : |
| 116 | tensorNorm 3 (U.velocity t) ≤ wordCount 3*U.gradientH3Bound G := |
| 117 | tensorNorm_le_wordCount _ 3 _ (U.wordBound_of_gradientIntegral G hG t) |
| 118 | |
| 119 | theorem higher_energy_of_gradientIntegral (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) |
| 120 | (G : ℝ) (hG : ∀ t, U.gradientIntegral t ≤ G) (t : Icc (0 : ℝ) T) : |
| 121 | wordEnergy m (U.velocity t) ≤ wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* |
| 122 | Real.exp (tameEnergyConstant m*U.gradientH3Bound G*T) := |
| 123 | U.integer_energy_uniform m hm _ (U.wordBound_of_gradientIntegral G hG) t |
| 124 | |
| 125 | theorem higher_tensorNorm_of_gradientIntegral (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) |
| 126 | (G : ℝ) (hG : ∀ t, U.gradientIntegral t ≤ G) (t : Icc (0 : ℝ) T) : |
| 127 | tensorNorm m (U.velocity t) ≤ wordCount m* |
| 128 | Real.sqrt (wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* |
| 129 | Real.exp (tameEnergyConstant m*U.gradientH3Bound G*T)) := |
| 130 | U.tensorNorm_uniform m hm _ (U.wordBound_of_gradientIntegral G hG) t |
| 131 | |
| 132 | theorem higher_tensorNorm_of_gradientBound (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) |
| 133 | (K : ℝ) (hK : ∀ t x, ‖fderiv ℝ (U.velocity t).field x‖ ≤ K) |
| 134 | (t : Icc (0 : ℝ) T) : |
| 135 | tensorNorm m (U.velocity t) ≤ wordCount m* |
| 136 | Real.sqrt (wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* |
| 137 | Real.exp (tameEnergyConstant m*U.gradientH3Bound (K*T)*T)) := by |
| 138 | have hK0 : 0 ≤ K := (norm_nonneg (fderiv ℝ (U.velocity t).field 0)).trans (hK t 0) |
| 139 | exact U.higher_tensorNorm_of_gradientIntegral m hm (K*T) |
| 140 | (fun s => (U.gradientIntegral_le_const K hK s).trans |
| 141 | (mul_le_mul_of_nonneg_left s.property.2 hK0)) t |
| 142 | |
| 143 | end EulerOrdinarySobolev.Evolution |