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.StaticEulerRegularity |
| 2 | import Euler.StaticEulerWeightedBounds |
| 3 | import Euler.FieldTowerGraphGevrey |
| 4 | import Euler.SmoothTimeAmplitudeBounds |
| 5 | |
| 6 | /-! Uniform source-only Gevrey bounds for the actual local Euler solution |
| 7 | and its genuine time derivative. The same spatial radius works for sup |
| 8 | and ordinary L² norms. All constants depend only on P,C,R, not on the |
| 9 | particular solenoidal datum realizing the input bounds. -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerStaticEuler |
| 14 | |
| 15 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLpTranslation |
| 16 | EulerLiftedGradientSpace EulerAllOrderCorrectionData EulerAllOrderDriftCorrection |
| 17 | EulerCylinderCoordinates EulerCylinderSobolevSpace EulerPacketCylinderField |
| 18 | open scoped ContDiff BoundedContinuousFunction |
| 19 | |
| 20 | private local instance : NormedAddCommGroup Space := inferInstance |
| 21 | private local instance : NormedSpace ℝ Space := inferInstance |
| 22 | private local instance (n : ℕ) : NormedAddCommGroup (Space [×n]→L[ℝ] Space) := inferInstance |
| 23 | private local instance (n : ℕ) : NormedSpace ℝ (Space [×n]→L[ℝ] Space) := inferInstance |
| 24 | private local instance (n : ℕ) : NormedAddCommGroup (Space →ᵇ (Space [×n]→L[ℝ] Space)) := inferInstance |
| 25 | private local instance (n : ℕ) : NormedSpace ℝ (Space →ᵇ (Space [×n]→L[ℝ] Space)) := inferInstance |
| 26 | |
| 27 | def coverRadius (R : ℝ) : ℝ := ‖coordinateEquiv.symm.toContinuousLinearMap‖*(retainedRadius R)⁻¹ |
| 28 | |
| 29 | def outputRadius (R : ℝ) : ℝ := 1+4*coverRadius R |
| 30 | |
| 31 | theorem coverRadius_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ coverRadius R := |
| 32 | mul_nonneg (norm_nonneg _) (inv_nonneg.mpr (retainedRadius_pos R hR).le) |
| 33 | |
| 34 | theorem outputRadius_pos (R : ℝ) (hR : 0 ≤ R) : 0 < outputRadius R := by |
| 35 | have h := coverRadius_nonneg R hR |
| 36 | unfold outputRadius |
| 37 | positivity |
| 38 | |
| 39 | variable (P : ℝ) [Fact (0 < P)] |
| 40 | |
| 41 | def graphCost (R : ℝ) : ℝ := |
| 42 | 1+sobolevEmbeddingConstant P 3+Real.sqrt (2/P+2*P)*(1+coverRadius R) |
| 43 | |
| 44 | def outputVelocitySize (C R : ℝ) : ℝ := |
| 45 | graphCost P R*(2*mixedAmplitude P C R+baseErrorFactor) |
| 46 | |
| 47 | def outputDerivativeSize (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : ℝ := |
| 48 | (amplitude P C R hC hR)⁻¹*graphCost P R*staticTimeCost P R |
| 49 | |
| 50 | theorem graphCost_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ graphCost P R := by |
| 51 | have h₁ := sobolevEmbeddingConstant_nonneg P 3 |
| 52 | have h₂ := coverRadius_nonneg R hR |
| 53 | unfold graphCost |
| 54 | positivity |
| 55 | |
| 56 | theorem outputVelocitySize_nonneg (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : |
| 57 | 0 ≤ outputVelocitySize P C R := |
| 58 | mul_nonneg (graphCost_nonneg P R hR) |
| 59 | (add_nonneg (mul_nonneg (by norm_num) (mixedAmplitude_nonneg P C R hC hR)) baseErrorFactor_nonneg) |
| 60 | |
| 61 | theorem outputDerivativeSize_nonneg (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : |
| 62 | 0 ≤ outputDerivativeSize P C R hC hR := by |
| 63 | exact mul_nonneg (mul_nonneg (inv_nonneg.mpr (amplitude_pos P C R hC hR).le) |
| 64 | (graphCost_nonneg P R hR)) (staticTimeCost_nonneg P R hR) |
| 65 | |
| 66 | private theorem graphCost_embedding (R : ℝ) (hR : 0 ≤ R) : |
| 67 | sobolevEmbeddingConstant P 3 ≤ graphCost P R := by |
| 68 | have h := mul_nonneg (Real.sqrt_nonneg (2/P+2*P)) |
| 69 | (add_nonneg zero_le_one (coverRadius_nonneg R hR)) |
| 70 | unfold graphCost |
| 71 | linarith |
| 72 | |
| 73 | private theorem graphCost_trace (R : ℝ) : |
| 74 | Real.sqrt (2/P+2*P)*(1+coverRadius R) ≤ graphCost P R := by |
| 75 | have h := sobolevEmbeddingConstant_nonneg P 3 |
| 76 | unfold graphCost |
| 77 | linarith |
| 78 | |
| 79 | private theorem jet_mono {a b r s : ℝ} (hb : 0 ≤ b) (hr : 0 ≤ r) |
| 80 | (hab : a ≤ b) (hrs : r ≤ s) (n : ℕ) : |
| 81 | a*r^n*(n.factorial : ℝ)^2 ≤ b*s^n*(n.factorial : ℝ)^2 := |
| 82 | mul_le_mul_of_nonneg_right |
| 83 | (mul_le_mul hab (pow_le_pow_left₀ hr hrs n) (pow_nonneg hr n) hb) (sq_nonneg _) |
| 84 | |
| 85 | variable (u : SmoothL2Field Space) (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) |
| 86 | (hu : u.HasJetBound C R) (hdiv : ∀ x, divergence u.field x=0) |
| 87 | |
| 88 | theorem unitVelocityCoefficient_graph (t : Icc (0 : ℝ) 1) (x : Space) : |
| 89 | (unitVelocityCoefficient P u C R hC hR hu hdiv).field t x = |
| 90 | (exactPacket P u C R hC hR hu hdiv).velocity.zeroGraphCoefficient.field t x := by |
| 91 | rw [unitVelocityCoefficient_apply,FieldTower.zeroGraphCoefficient_apply,FieldTower.zeroGraphField_apply] |
| 92 | simp only [EulerConstantEuler.velocity,ExactLiftedPacket.rawVelocity,FieldTower.rawField, |
| 93 | projIcc_of_mem zero_le_one t.property] |
| 94 | |
| 95 | theorem unitDerivativeCoefficient_graph (t : Icc (0 : ℝ) 1) (x : Space) : |
| 96 | (unitDerivativeCoefficient P u C R hC hR hu hdiv).field t x = |
| 97 | ((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).zeroGraphCoefficient.field t x := by |
| 98 | change ((Field.zero P 1).smul (amplitude P C R hC hR)).toSmoothTimeField.field t (x,0)+_=_ |
| 99 | rw [Field.toSmoothTimeField_apply] |
| 100 | change amplitude P C R hC hR • (0 : Space)+_=_ |
| 101 | rw [smul_zero,zero_add] |
| 102 | rfl |
| 103 | |
| 104 | def localDerivativeField (t : Icc (0 : ℝ) (amplitude P C R hC hR)) : SmoothL2Field Space := |
| 105 | SmoothL2Field.mapField (((amplitude P C R hC hR)⁻¹)^2 • ContinuousLinearMap.id ℝ Space) |
| 106 | (((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).zeroGraphField |
| 107 | (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t)) |
| 108 | |
| 109 | theorem localDerivativeField_apply (t : Icc (0 : ℝ) (amplitude P C R hC hR)) (x : Space) : |
| 110 | (localDerivativeField P u C R hC hR hu hdiv t).field x = |
| 111 | (derivativeCoefficient P u C R hC hR hu hdiv).field t x := by |
| 112 | let st := EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t |
| 113 | change ((amplitude P C R hC hR)⁻¹)^2 • |
| 114 | (((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).zeroGraphField st).field x = |
| 115 | ((amplitude P C R hC hR)⁻¹)^2 • |
| 116 | (unitDerivativeCoefficient P u C R hC hR hu hdiv).field st x |
| 117 | have he := unitDerivativeCoefficient_graph P u C R hC hR hu hdiv st x |
| 118 | rw [FieldTower.zeroGraphCoefficient_apply] at he |
| 119 | exact congrArg (fun v : Space => ((amplitude P C R hC hR)⁻¹)^2 • v) he.symm |
| 120 | |
| 121 | theorem velocityCoefficient_bound (n : ℕ) : |
| 122 | ‖(velocityCoefficient P u C R hC hR hu hdiv).jet n‖ ≤ |
| 123 | outputVelocitySize P C R*(outputRadius R)^n*(n.factorial : ℝ)^2 := by |
| 124 | have hV : 0 ≤ 2*mixedAmplitude P C R+baseErrorFactor := |
| 125 | add_nonneg (mul_nonneg (by norm_num) (mixedAmplitude_nonneg P C R hC hR)) baseErrorFactor_nonneg |
| 126 | have he := (amplitude_pos P C R hC hR).le |
| 127 | have hunit := (exactPacket P u C R hC hR hu hdiv).velocity.zeroGraphCoefficient_bound |
| 128 | (retainedRadius R) (amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor)) |
| 129 | (retainedRadius_pos R hR) (mul_nonneg he hV) (exact_weighted P u C R hC hR hu hdiv) n |
| 130 | rw [← SmoothTimeField.jet_eq_of_field_eq _ _ (unitVelocityCoefficient_graph P u C R hC hR hu hdiv) n] at hunit |
| 131 | have h := (EulerTimeRescaling.coefficient_jet_norm (amplitude P C R hC hR) |
| 132 | (amplitude_pos P C R hC hR) (unitVelocityCoefficient P u C R hC hR hu hdiv) n).trans |
| 133 | (mul_le_mul_of_nonneg_left hunit (inv_nonneg.mpr he)) |
| 134 | have hi : (amplitude P C R hC hR)⁻¹*amplitude P C R hC hR=1 := |
| 135 | inv_mul_cancel₀ (amplitude_pos P C R hC hR).ne' |
| 136 | apply h.trans |
| 137 | calc |
| 138 | _ = (sobolevEmbeddingConstant P 3*(2*mixedAmplitude P C R+baseErrorFactor))* |
| 139 | (coverRadius R)^n*(n.factorial : ℝ)^2 := by |
| 140 | unfold coverRadius |
| 141 | calc |
| 142 | _ = ((amplitude P C R hC hR)⁻¹*amplitude P C R hC hR)* |
| 143 | ((sobolevEmbeddingConstant P 3*(2*mixedAmplitude P C R+baseErrorFactor))* |
| 144 | (‖coordinateEquiv.symm.toContinuousLinearMap‖*(retainedRadius R)⁻¹)^n*(n.factorial : ℝ)^2) := by ring |
| 145 | _ = _ := by rw [hi,one_mul] |
| 146 | _ ≤ _ := jet_mono (outputVelocitySize_nonneg P C R hC hR) (coverRadius_nonneg R hR) |
| 147 | (mul_le_mul_of_nonneg_right (graphCost_embedding P R hR) hV) |
| 148 | (by have hc := coverRadius_nonneg R hR; unfold outputRadius; linarith) n |
| 149 | |
| 150 | theorem derivativeCoefficient_bound (n : ℕ) : |
| 151 | ‖(derivativeCoefficient P u C R hC hR hu hdiv).jet n‖ ≤ |
| 152 | outputDerivativeSize P C R hC hR*(outputRadius R)^n*(n.factorial : ℝ)^2 := by |
| 153 | have he := (amplitude_pos P C R hC hR).le |
| 154 | have hT := staticTimeCost_nonneg P R hR |
| 155 | have hunit := ((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).zeroGraphCoefficient_bound |
| 156 | (retainedRadius R) (amplitude P C R hC hR*staticTimeCost P R) |
| 157 | (retainedRadius_pos R hR) (mul_nonneg he hT) (time_weighted P u C R hC hR hu hdiv) n |
| 158 | rw [← SmoothTimeField.jet_eq_of_field_eq _ _ (unitDerivativeCoefficient_graph P u C R hC hR hu hdiv) n] at hunit |
| 159 | have h := (EulerTimeRescaling.derivativeCoefficient_jet_norm (amplitude P C R hC hR) |
| 160 | (amplitude_pos P C R hC hR) (unitDerivativeCoefficient P u C R hC hR hu hdiv) n).trans |
| 161 | (mul_le_mul_of_nonneg_left hunit (sq_nonneg _)) |
| 162 | have hi : (amplitude P C R hC hR)⁻¹*amplitude P C R hC hR=1 := |
| 163 | inv_mul_cancel₀ (amplitude_pos P C R hC hR).ne' |
| 164 | apply h.trans |
| 165 | calc |
| 166 | _ = ((amplitude P C R hC hR)⁻¹*sobolevEmbeddingConstant P 3*staticTimeCost P R)* |
| 167 | (coverRadius R)^n*(n.factorial : ℝ)^2 := by |
| 168 | unfold coverRadius |
| 169 | calc |
| 170 | _ = ((amplitude P C R hC hR)⁻¹*amplitude P C R hC hR)* |
| 171 | (((amplitude P C R hC hR)⁻¹*sobolevEmbeddingConstant P 3*staticTimeCost P R)* |
| 172 | (‖coordinateEquiv.symm.toContinuousLinearMap‖*(retainedRadius R)⁻¹)^n*(n.factorial : ℝ)^2) := by ring |
| 173 | _ = _ := by rw [hi,one_mul] |
| 174 | _ ≤ _ := jet_mono (outputDerivativeSize_nonneg P C R hC hR) (coverRadius_nonneg R hR) |
| 175 | (mul_le_mul_of_nonneg_right |
| 176 | (mul_le_mul_of_nonneg_left (graphCost_embedding P R hR) (inv_nonneg.mpr he)) hT) |
| 177 | (by have hc := coverRadius_nonneg R hR; unfold outputRadius; linarith) n |
| 178 | |
| 179 | theorem localField_bound (t : Icc (0 : ℝ) (amplitude P C R hC hR)) : |
| 180 | (localField P u C R hC hR hu hdiv t).HasJetBound (outputVelocitySize P C R) (outputRadius R) := by |
| 181 | have hV : 0 ≤ 2*mixedAmplitude P C R+baseErrorFactor := |
| 182 | add_nonneg (mul_nonneg (by norm_num) (mixedAmplitude_nonneg P C R hC hR)) baseErrorFactor_nonneg |
| 183 | have he := (amplitude_pos P C R hC hR).le |
| 184 | have hunit := (exactPacket P u C R hC hR hu hdiv).velocity.zeroGraphField_bound |
| 185 | (retainedRadius R) (amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor)) |
| 186 | (retainedRadius_pos R hR) (mul_nonneg he hV) (exact_weighted P u C R hC hR hu hdiv) |
| 187 | (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t) |
| 188 | have h := EulerTimeRescaling.mapField_hasJetBound (amplitude P C R hC hR)⁻¹ |
| 189 | (inv_nonneg.mpr he) _ _ _ hunit |
| 190 | have hi : (amplitude P C R hC hR)⁻¹*amplitude P C R hC hR=1 := |
| 191 | inv_mul_cancel₀ (amplitude_pos P C R hC hR).ne' |
| 192 | have ha : (amplitude P C R hC hR)⁻¹* |
| 193 | (Real.sqrt (2/P+2*P)*(amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor))*(1+coverRadius R)) = |
| 194 | (Real.sqrt (2/P+2*P)*(1+coverRadius R))*(2*mixedAmplitude P C R+baseErrorFactor) := by |
| 195 | calc |
| 196 | _ = ((amplitude P C R hC hR)⁻¹*amplitude P C R hC hR)* |
| 197 | ((Real.sqrt (2/P+2*P)*(1+coverRadius R))*(2*mixedAmplitude P C R+baseErrorFactor)) := by ring |
| 198 | _ = _ := by rw [hi,one_mul] |
| 199 | change (localField P u C R hC hR hu hdiv t).HasJetBound |
| 200 | ((amplitude P C R hC hR)⁻¹*(Real.sqrt (2/P+2*P)* |
| 201 | (amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor))*(1+coverRadius R))) |
| 202 | (4*coverRadius R) at h |
| 203 | rw [ha] at h |
| 204 | exact h.mono (by have hc := coverRadius_nonneg R hR; positivity) |
| 205 | (mul_nonneg (by norm_num) (coverRadius_nonneg R hR)) |
| 206 | (mul_le_mul_of_nonneg_right (graphCost_trace P R) hV) |
| 207 | (by unfold outputRadius; linarith) |
| 208 | |
| 209 | theorem localDerivativeField_bound (t : Icc (0 : ℝ) (amplitude P C R hC hR)) : |
| 210 | (localDerivativeField P u C R hC hR hu hdiv t).HasJetBound |
| 211 | (outputDerivativeSize P C R hC hR) (outputRadius R) := by |
| 212 | have he := (amplitude_pos P C R hC hR).le |
| 213 | have hT := staticTimeCost_nonneg P R hR |
| 214 | have hunit := ((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).zeroGraphField_bound |
| 215 | (retainedRadius R) (amplitude P C R hC hR*staticTimeCost P R) |
| 216 | (retainedRadius_pos R hR) (mul_nonneg he hT) (time_weighted P u C R hC hR hu hdiv) |
| 217 | (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t) |
| 218 | have h := EulerTimeRescaling.mapField_hasJetBound (((amplitude P C R hC hR)⁻¹)^2) |
| 219 | (sq_nonneg _) _ _ _ hunit |
| 220 | have hi : (amplitude P C R hC hR)⁻¹*amplitude P C R hC hR=1 := |
| 221 | inv_mul_cancel₀ (amplitude_pos P C R hC hR).ne' |
| 222 | have ha : ((amplitude P C R hC hR)⁻¹)^2* |
| 223 | (Real.sqrt (2/P+2*P)*(amplitude P C R hC hR*staticTimeCost P R)*(1+coverRadius R)) = |
| 224 | (amplitude P C R hC hR)⁻¹*(Real.sqrt (2/P+2*P)*(1+coverRadius R))*staticTimeCost P R := by |
| 225 | calc |
| 226 | _ = ((amplitude P C R hC hR)⁻¹*amplitude P C R hC hR)* |
| 227 | ((amplitude P C R hC hR)⁻¹*(Real.sqrt (2/P+2*P)*(1+coverRadius R))*staticTimeCost P R) := by ring |
| 228 | _ = _ := by rw [hi,one_mul] |
| 229 | change (localDerivativeField P u C R hC hR hu hdiv t).HasJetBound |
| 230 | (((amplitude P C R hC hR)⁻¹)^2*(Real.sqrt (2/P+2*P)* |
| 231 | (amplitude P C R hC hR*staticTimeCost P R)*(1+coverRadius R))) |
| 232 | (4*coverRadius R) at h |
| 233 | rw [ha] at h |
| 234 | exact h.mono (by have hc := coverRadius_nonneg R hR; positivity) |
| 235 | (mul_nonneg (by norm_num) (coverRadius_nonneg R hR)) |
| 236 | (mul_le_mul_of_nonneg_right |
| 237 | (mul_le_mul_of_nonneg_left (graphCost_trace P R) (inv_nonneg.mpr he)) hT) |
| 238 | (by unfold outputRadius; linarith) |
| 239 | |
| 240 | end EulerStaticEuler |