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.CylinderAngleRepresentative |
| 2 | import Euler.CylinderAnglePrimitive |
| 3 | import Euler.ParameterSobolevProductGevrey |
| 4 | import Euler.LpCylinderOrbit |
| 5 | import Euler.CylinderTimeRegularity |
| 6 | import Euler.LpCylinderRectangularRegularity |
| 7 | import Euler.PacketPeriodicPotential |
| 8 | import Euler.AnglePrimitiveMap |
| 9 | |
| 10 | /-! The literal periodic vector potential as an actual continuous cylinder L² path. -/ |
| 11 | |
| 12 | /-! ## From `Euler/CylinderAngleWordBounds.lean` |
| 13 | |
| 14 | The text of `Euler/CylinderAngleWordBounds.lean`, folded into this file, which was its only importer. -/ |
| 15 | |
| 16 | section |
| 17 | |
| 18 | /-! Same-radius mixed-word and continuous-time estimates for the actual angular operator. -/ |
| 19 | |
| 20 | noncomputable section |
| 21 | |
| 22 | namespace EulerCylinderAnglePrimitive |
| 23 | |
| 24 | open Set MeasureTheory EulerLiftedGradientSpace EulerParameterWordGevrey EulerGevrey |
| 25 | EulerLpCylinderTranslation |
| 26 | open scoped ContDiff |
| 27 | |
| 28 | variable (P : ℝ) [Fact (0 < P)] |
| 29 | |
| 30 | theorem primitive_hasDerivWithinAt (s : Set ℝ) (t : ℝ) (u : ℝ → LiftL2 P) |
| 31 | (ut : LiftL2 P) (hu : HasDerivWithinAt u ut s t) : |
| 32 | HasDerivWithinAt (fun r => primitive P (u r)) (primitive P ut) s t := |
| 33 | (primitive P).hasFDerivAt.comp_hasDerivWithinAt t hu |
| 34 | |
| 35 | theorem primitive_mixed_translation (a : LiftTangent) (u : LiftL2 P) : |
| 36 | primitive P (translate P a u) = translate P a (primitive P u) := |
| 37 | primitive_translation P _ u |
| 38 | |
| 39 | variable {X ι : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] [Fintype ι] |
| 40 | |
| 41 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 42 | |
| 43 | private local instance : NormedAddCommGroup C(K,LiftL2 P) := inferInstance |
| 44 | private local instance : NormedSpace ℝ C(K,LiftL2 P) := inferInstance |
| 45 | private local instance : NormedAddCommGroup (C(K,LiftL2 P) →L[ℝ] C(K,LiftL2 P)) := inferInstance |
| 46 | private local instance : NormedSpace ℝ (C(K,LiftL2 P) →L[ℝ] C(K,LiftL2 P)) := inferInstance |
| 47 | |
| 48 | def pathPrimitive : C(K,LiftL2 P) →L[ℝ] C(K,LiftL2 P) := |
| 49 | (primitive P).compLeftContinuous ℝ K |
| 50 | |
| 51 | omit [CompactSpace K] in |
| 52 | @[simp] theorem pathPrimitive_apply (u : C(K,LiftL2 P)) (t : K) : |
| 53 | pathPrimitive P u t = primitive P (u t) := rfl |
| 54 | |
| 55 | theorem pathPrimitive_norm : ‖pathPrimitive (K := K) P‖ ≤ P := by |
| 56 | have hP : 0 ≤ P := le_of_lt (Fact.out : 0 < P) |
| 57 | apply ContinuousLinearMap.opNorm_le_bound _ hP |
| 58 | intro u |
| 59 | apply (ContinuousMap.norm_le _ (mul_nonneg hP (norm_nonneg u))).mpr |
| 60 | intro t |
| 61 | exact ((primitive P).le_of_opNorm_le (primitive_norm P) (u t)).trans |
| 62 | (mul_le_mul_of_nonneg_left (u.norm_coe_le_norm t) hP) |
| 63 | |
| 64 | /-- The angular operation preserves the same fixed base order and radius in the true time supremum. -/ |
| 65 | theorem pathPrimitive_block_bound (directions : ι → X) (q : ℕ) |
| 66 | (f : X → C(K,LiftL2 P)) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : X) : |
| 67 | block directions q (fun y => pathPrimitive P (f y)) n x ≤ P*block directions q f n x := by |
| 68 | have h := block_comp_clm_le (E := C(K,LiftL2 P)) (F := C(K,LiftL2 P)) |
| 69 | directions q (pathPrimitive (K := K) P) f hf n x |
| 70 | have hn : ‖pathPrimitive (K := K) P‖ ≤ P := pathPrimitive_norm P |
| 71 | exact h.trans (mul_le_mul_of_nonneg_right hn (block_nonneg directions q f n x)) |
| 72 | |
| 73 | end EulerCylinderAnglePrimitive |
| 74 | end |
| 75 | |
| 76 | end |
| 77 | |
| 78 | /-! ## From `Euler/CylinderAngleEvolution.lean` |
| 79 | |
| 80 | The text of `Euler/CylinderAngleEvolution.lean`, folded into this file, which was its only importer. -/ |
| 81 | |
| 82 | section |
| 83 | |
| 84 | /-! Time differentiation of the actual normalized angular integral on the cylinder. -/ |
| 85 | |
| 86 | noncomputable section |
| 87 | |
| 88 | namespace EulerCylinderAnglePrimitive |
| 89 | |
| 90 | open Set MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 91 | EulerCylinderSmoothOrbit EulerLpCylinderTranslation EulerMetricTransport |
| 92 | EulerVolterraConvolution |
| 93 | open scoped ContDiff |
| 94 | |
| 95 | variable (P : ℝ) [Fact (0 < P)] |
| 96 | {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 97 | |
| 98 | omit [CompactSpace K] in |
| 99 | theorem pathPrimitive_translation (p : C(K,LiftL2 P)) (a : LiftTangent) : |
| 100 | pathPrimitive P (pathTranslate P a p) = pathTranslate P a (pathPrimitive P p) := by |
| 101 | apply ContinuousMap.ext |
| 102 | intro t |
| 103 | exact primitive_mixed_translation P a (p t) |
| 104 | |
| 105 | theorem pathPrimitive_orbit_contDiff (p : C(K,LiftL2 P)) |
| 106 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) : |
| 107 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (pathPrimitive P p)) := by |
| 108 | simpa only [Function.comp_def, pathPrimitive_translation] using |
| 109 | (pathPrimitive (K := K) P).contDiff.comp hp |
| 110 | |
| 111 | theorem primitive_sobolevPath (p : C(K,LiftL2 P)) |
| 112 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) (q : ℕ) (t : K) : |
| 113 | sobolevPath P q (pathPrimitive P p) (pathPrimitive_orbit_contDiff P p hp) t = |
| 114 | sobolevPrimitive P q (sobolevPath P q p hp t) := by |
| 115 | apply value_injective P |
| 116 | change value P (sobolevPath P q (pathPrimitive P p) _ t) = |
| 117 | primitive P (value P (sobolevPath P q p hp t)) |
| 118 | rw [sobolevPath_value, sobolevPath_value] |
| 119 | rfl |
| 120 | |
| 121 | /-- The representative of the time-dependent L² primitive is the same explicit angular integral. -/ |
| 122 | theorem pointField_primitive_formula (p : C(K,LiftL2 P)) |
| 123 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 124 | (hmean : ∀ t y, (∫ s in (0 : ℝ)..P, pointField P p hp t (y,(s : AddCircle P)))=0) |
| 125 | (t : K) (y : Vector3) (θ : ℝ) : |
| 126 | pointField P (pathPrimitive P p) (pathPrimitive_orbit_contDiff P p hp) t (y,(θ : AddCircle P)) = |
| 127 | EulerAngleMeanZeroPrimitive.primitive P |
| 128 | (fun s => pointField P p hp t (y,(s : AddCircle P))) θ := by |
| 129 | unfold pointField |
| 130 | rw [primitive_sobolevPath P p hp 3 t] |
| 131 | apply pointEvaluation_primitive_classical P (sobolevPath P 3 p hp t) |
| 132 | (pointField P p hp t) |
| 133 | (smoothField_continuous P _ (pointField_smooth P p hp t)) |
| 134 | · simpa only [sobolevPath_value] using pointField_ae P p hp t |
| 135 | · exact hmean t |
| 136 | |
| 137 | section Time |
| 138 | |
| 139 | variable (T : ℝ) (hT : 0 ≤ T) (p f : C(Icc (0 : ℝ) T,LiftL2 P)) |
| 140 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 141 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a f)) |
| 142 | (hd : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT p) (f t) (Icc (0 : ℝ) T) t) |
| 143 | |
| 144 | include hd in |
| 145 | theorem pathPrimitive_time_derivative (t : Icc (0 : ℝ) T) : |
| 146 | HasDerivWithinAt (extendPath T hT (pathPrimitive P p)) (pathPrimitive P f t) |
| 147 | (Icc (0 : ℝ) T) t := |
| 148 | primitive_hasDerivWithinAt P _ t (extendPath T hT p) (f t) (hd t) |
| 149 | |
| 150 | end Time |
| 151 | end EulerCylinderAnglePrimitive |
| 152 | end |
| 153 | |
| 154 | end |
| 155 | |
| 156 | noncomputable section |
| 157 | |
| 158 | namespace EulerCylinderPotential |
| 159 | |
| 160 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 161 | EulerMetricTransport EulerCylinderSmoothOrbit EulerLpCylinderTranslation |
| 162 | EulerLpCylinderRectangular EulerCylinderAnglePrimitive EulerMeanCoefficients |
| 163 | EulerPacketCrossProduct EulerParameterWordGevrey EulerGevrey |
| 164 | open scoped ContDiff BoundedContinuousFunction |
| 165 | |
| 166 | variable (P : ℝ) [Fact (0 < P)] |
| 167 | {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 168 | (B : C(K,Space →ᵇ Space →L[ℝ] Space)) |
| 169 | (hB : ContDiff ℝ ∞ (translateCoefficientPath B)) |
| 170 | (p : C(K,LiftL2 P)) (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 171 | |
| 172 | def potentialPath : C(K,LiftL2 P) := fullMultiplierMap P B (pathPrimitive P p) |
| 173 | |
| 174 | include hB hp in |
| 175 | theorem potentialPath_orbit : |
| 176 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (potentialPath P B p)) := |
| 177 | product_orbit_contDiff P B hB (pathPrimitive P p) (pathPrimitive_orbit_contDiff P p hp) |
| 178 | |
| 179 | def potentialField (t : K) : LiftDomain P → Space := |
| 180 | pointField P (potentialPath P B p) (potentialPath_orbit P B hB p hp) t |
| 181 | |
| 182 | theorem potentialPath_ae (t : K) : |
| 183 | (potentialPath P B p t : LiftDomain P → Space) =ᵐ[liftMeasure P] |
| 184 | fun x => B t x.1 (pointField P (pathPrimitive P p) (pathPrimitive_orbit_contDiff P p hp) t x) := by |
| 185 | filter_upwards [EulerLpOperatorField.full_ae (liftMeasure P) (fieldLift P (B t)) |
| 186 | (pathPrimitive P p t), |
| 187 | pointField_ae P (pathPrimitive P p) (pathPrimitive_orbit_contDiff P p hp) t] with x hB hp |
| 188 | exact hB.trans (congrArg (B t x.1) hp) |
| 189 | |
| 190 | /-- The canonical representative is the coefficient times the literal angular primitive. -/ |
| 191 | theorem potentialField_formula |
| 192 | (hmean : ∀ t y, (∫ s in (0 : ℝ)..P, pointField P p hp t (y,(s : AddCircle P))) = 0) |
| 193 | (t : K) (y : Space) (θ : ℝ) : |
| 194 | potentialField P B hB p hp t (y,(θ : AddCircle P)) = |
| 195 | B t y (EulerAngleMeanZeroPrimitive.primitive P |
| 196 | (fun s => pointField P p hp t (y,(s : AddCircle P))) θ) := by |
| 197 | have he : potentialField P B hB p hp t = fun x => |
| 198 | B t x.1 (pointField P (pathPrimitive P p) (pathPrimitive_orbit_contDiff P p hp) t x) := by |
| 199 | apply Measure.eq_of_ae_eq |
| 200 | ((pointField_ae P (potentialPath P B p) (potentialPath_orbit P B hB p hp) t).symm.trans |
| 201 | (potentialPath_ae P B p hp t)) |
| 202 | · exact smoothField_continuous P _ (pointField_smooth P _ _ t) |
| 203 | · exact ((B t).continuous.comp continuous_fst).clm_apply |
| 204 | (smoothField_continuous P _ (pointField_smooth P _ _ t)) |
| 205 | rw [he] |
| 206 | change B t y (pointField P (pathPrimitive P p) |
| 207 | (pathPrimitive_orbit_contDiff P p hp) t (y,(θ : AddCircle P))) = _ |
| 208 | rw [pointField_primitive_formula P p hp hmean t y θ] |
| 209 | |
| 210 | theorem potentialField_source_formula |
| 211 | (hmean : ∀ t y, (∫ s in (0 : ℝ)..P, pointField P p hp t (y,(s : AddCircle P))) = 0) |
| 212 | (m : K → Space → Space) (hBm : ∀ t y, B t y = potentialMultiplier (m t y)) |
| 213 | (t : K) (y : Space) (θ : ℝ) : |
| 214 | potentialField P B hB p hp t (y,(θ : AddCircle P)) = |
| 215 | EulerPacketAngularPotential.potential P (m t y) |
| 216 | (fun s => pointField P p hp t (y,(s : AddCircle P))) θ := by |
| 217 | rw [potentialField_formula P B hB p hp hmean t y θ, hBm] |
| 218 | exact EulerAngleMeanZeroPrimitive.primitive_map _ P _ |
| 219 | ((smoothField_continuous P _ (pointField_smooth P p hp t)).comp |
| 220 | (continuous_const.prodMk (AddCircle.continuous_mk' P))) θ |
| 221 | |
| 222 | include hB hp in |
| 223 | /-- Angular integration and multiplication retain the input radius and external shift. -/ |
| 224 | theorem potentialPath_block_bound {ι : Type*} [Fintype ι] |
| 225 | (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) |
| 226 | (Rc C R D : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (hD : 0 ≤ D) |
| 227 | (hR : sobolevCoefficientRadius ι Rc ≤ R) |
| 228 | (hbB : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath B) a‖ ≤ C*majorant Rc 0 n) |
| 229 | (d : ℕ) (hbp : ∀ n, block directions q (fun a : LiftTangent => pathTranslate P a p) n 0 ≤ |
| 230 | D*majorant R d n) (n : ℕ) : |
| 231 | block directions q (fun a : LiftTangent => pathTranslate P a (potentialPath P B p)) n 0 ≤ |
| 232 | (3*sobolevCoefficientAmplitude ι q Rc C*(P*D))*majorant R d n := by |
| 233 | apply product_orbit_block_bound P B hB directions hd q (pathPrimitive P p) |
| 234 | (pathPrimitive_orbit_contDiff P p hp) Rc C R (P*D) hRc hC |
| 235 | (mul_nonneg (le_of_lt (Fact.out : 0 < P)) hD) hR hbB d _ n |
| 236 | intro j |
| 237 | have h := pathPrimitive_block_bound P directions q |
| 238 | (fun a : LiftTangent => pathTranslate P a p) hp j 0 |
| 239 | simp only [pathPrimitive_translation] at h |
| 240 | exact h.trans ((mul_le_mul_of_nonneg_left (hbp j) (le_of_lt (Fact.out : 0 < P))).trans_eq |
| 241 | (mul_assoc P D _).symm) |
| 242 | |
| 243 | end EulerCylinderPotential |