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.MeanPacketOrbitForcing |
| 2 | import Euler.PacketCylinderFieldAlgebra |
| 3 | import Euler.CylinderSpatialMean |
| 4 | |
| 5 | /-! |
| 6 | # Actual mean outputs as constant-angle cylinder paths |
| 7 | |
| 8 | The ordinary spatial L² field is embedded in the product measure. Its genuine |
| 9 | translation orbit, literal raw representative and true time derivative are |
| 10 | preserved by the same bounded linear embedding. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerMeanPacketProvider |
| 16 | |
| 17 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerMeanSolenoidal |
| 18 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerCylinderSpatialEmbedding |
| 19 | EulerMeanTimeContinuousTranslation EulerPacketProfileRecursion EulerPacketCylinderField |
| 20 | EulerCylinderSmoothOrbit EulerVolterraConvolution |
| 21 | open scoped ContDiff |
| 22 | |
| 23 | variable (P T : ℝ) [Fact (0 < P)] |
| 24 | |
| 25 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) T,L2) := inferInstance |
| 26 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) T,L2) := inferInstance |
| 27 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) T,LiftL2 P) := inferInstance |
| 28 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) T,LiftL2 P) := inferInstance |
| 29 | |
| 30 | def spatialEmbeddingPath : C(Icc (0 : ℝ) T,L2) →L[ℝ] C(Icc (0 : ℝ) T,LiftL2 P) := |
| 31 | (embedding (V := Space) P).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 32 | |
| 33 | @[simp] theorem spatialEmbeddingPath_apply (p : C(Icc (0 : ℝ) T,L2)) |
| 34 | (t : Icc (0 : ℝ) T) : spatialEmbeddingPath P T p t = embedding P (p t) := rfl |
| 35 | |
| 36 | theorem spatialEmbeddingPath_translation (p : C(Icc (0 : ℝ) T,L2)) (a : LiftTangent) : |
| 37 | pathTranslate P a (spatialEmbeddingPath P T p) = |
| 38 | spatialEmbeddingPath P T (pathTranslation T a.1 p) := by |
| 39 | apply ContinuousMap.ext |
| 40 | intro t |
| 41 | exact EulerCylinderSpatialMean.embedding_translate P a (p t) |
| 42 | |
| 43 | theorem spatialEmbeddingPath_orbit (p : C(Icc (0 : ℝ) T,L2)) |
| 44 | (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) : |
| 45 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (spatialEmbeddingPath P T p)) := by |
| 46 | have h := (spatialEmbeddingPath P T).contDiff.comp |
| 47 | (hp.comp (contDiff_fst : ContDiff ℝ ∞ (Prod.fst : LiftTangent → Space))) |
| 48 | simpa only [Function.comp_def,spatialEmbeddingPath_translation] using h |
| 49 | |
| 50 | theorem spatialEmbeddingPath_time (hT : 0 ≤ T) (p q : C(Icc (0 : ℝ) T,L2)) |
| 51 | (h : ∀ t : Icc (0 : ℝ) T, |
| 52 | HasDerivWithinAt (extendPath T hT p) (q t) (Icc (0 : ℝ) T) t) |
| 53 | (t : Icc (0 : ℝ) T) : |
| 54 | HasDerivWithinAt (extendPath T hT (spatialEmbeddingPath P T p)) |
| 55 | (spatialEmbeddingPath P T q t) (Icc (0 : ℝ) T) t := |
| 56 | (embedding (V := Space) P).hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) (h t) |
| 57 | |
| 58 | namespace Forcing |
| 59 | |
| 60 | variable {T} {D : Data} {raw : VectorField} (G : Forcing D raw) |
| 61 | |
| 62 | /-- Literal smooth mean forcing becomes an actual cylinder witness with no angular dependence. -/ |
| 63 | def toCylinderField : Field P D.T raw := |
| 64 | Field.ofLifted (spatialEmbeddingPath P D.T G.path) |
| 65 | (spatialEmbeddingPath_orbit P D.T G.path G.path_orbit) |
| 66 | (fun t z => (G.slices t).field z.1) |
| 67 | (fun t => (G.slices t).smooth.continuous.comp continuous_fst) |
| 68 | (fun t => by |
| 69 | have hg : (G.path t : Space → Space) =ᵐ[volume] (G.slices t).field := by |
| 70 | rw [G.path_eq] |
| 71 | exact (G.slices t).toLp_ae |
| 72 | filter_upwards [lift_ae P (G.path t), |
| 73 | (Measure.quasiMeasurePreserving_fst (μ := (volume : Measure Space)) |
| 74 | (ν := (volume : Measure (AddCircle P)))).ae hg] with z hl hz |
| 75 | exact hl.trans hz) |
| 76 | G.raw_eq |
| 77 | |
| 78 | @[simp] theorem toCylinderField_path : |
| 79 | (G.toCylinderField P).path = spatialEmbeddingPath P D.T G.path := rfl |
| 80 | |
| 81 | def vectorCylinderField : Field P D.T G.vector := G.vectorForcing.toCylinderField P |
| 82 | |
| 83 | def vectorDerivativeCylinderField : Field P D.T G.vectorDerivative := |
| 84 | G.vectorDerivativeForcing.toCylinderField P |
| 85 | |
| 86 | theorem vectorCylinderField_time : |
| 87 | TimeDerivative D.T_pos.le (G.vectorCylinderField P) (G.vectorDerivativeCylinderField P) := |
| 88 | spatialEmbeddingPath_time P D.T D.T_pos.le G.velocityPath G.derivativePath G.velocityPath_time |
| 89 | |
| 90 | end Forcing |
| 91 | |
| 92 | def meanSolveCylinderField (D : Data) (raw : VectorField) (h : Nonempty (Forcing D raw)) : |
| 93 | Field P D.T (meanSolve D raw).1 := |
| 94 | ((Classical.choice h).vectorCylinderField P).congr (fun _ _ _ => by |
| 95 | rw [meanSolve_of_admissible D raw h]) |
| 96 | |
| 97 | end EulerMeanPacketProvider |