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.PacketCylinderCoefficientData |
| 2 | import Euler.CoefficientPathOrbit |
| 3 | |
| 4 | /-! Literal composition, scaling and spatial differentiation of the |
| 5 | actual matrix-coefficient witnesses. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketCylinderField.MatrixCoefficient |
| 10 | |
| 11 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerBoundedFieldCalculus |
| 12 | EulerPacketPointJets |
| 13 | open scoped ContDiff BoundedContinuousFunction |
| 14 | |
| 15 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 16 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 17 | private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 18 | private local instance : NormedSpace ℝ (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 19 | |
| 20 | variable {T : ℝ} {a b : Domain → Space →L[ℝ] Space} |
| 21 | |
| 22 | def comp (A : MatrixCoefficient T a) (B : MatrixCoefficient T b) : |
| 23 | MatrixCoefficient T (fun z => (a z).comp (b z)) where |
| 24 | path := pathCompositionMap A.path B.path |
| 25 | orbit := by |
| 26 | have he : translateCoefficientPath (pathCompositionMap A.path B.path) = |
| 27 | fun v => pathCompositionMap (translateCoefficientPath A.path v) (translateCoefficientPath B.path v) := by |
| 28 | funext v |
| 29 | apply ContinuousMap.ext |
| 30 | intro t |
| 31 | apply BoundedContinuousFunction.ext |
| 32 | intro x |
| 33 | rfl |
| 34 | rw [he] |
| 35 | exact pathComposition_contDiff _ _ A.orbit B.orbit |
| 36 | raw_eq t x θ := by rw [A.raw_eq,B.raw_eq]; rfl |
| 37 | |
| 38 | def add (A : MatrixCoefficient T a) (B : MatrixCoefficient T b) : |
| 39 | MatrixCoefficient T (a+b) where |
| 40 | path := A.path+B.path |
| 41 | orbit := by |
| 42 | convert A.orbit.add B.orbit using 1 |
| 43 | funext v |
| 44 | apply ContinuousMap.ext |
| 45 | intro t |
| 46 | apply BoundedContinuousFunction.ext |
| 47 | intro x |
| 48 | rfl |
| 49 | raw_eq t x θ := by change a (t,(x,θ))+b (t,(x,θ)) = _; rw [A.raw_eq,B.raw_eq]; rfl |
| 50 | |
| 51 | def smul (A : MatrixCoefficient T a) (c : ℝ) : MatrixCoefficient T (c • a) where |
| 52 | path := c • A.path |
| 53 | orbit := by |
| 54 | convert A.orbit.const_smul c using 1 |
| 55 | funext v |
| 56 | apply ContinuousMap.ext |
| 57 | intro t |
| 58 | apply BoundedContinuousFunction.ext |
| 59 | intro x |
| 60 | rfl |
| 61 | raw_eq t x θ := by change c • a (t,(x,θ)) = _; rw [A.raw_eq]; rfl |
| 62 | |
| 63 | def spatialDerivative (A : MatrixCoefficient T a) (v : Space) : |
| 64 | MatrixCoefficient T (fun z => fderiv ℝ (fun x => a (z.1,(x,z.2.2))) z.2.1 v) where |
| 65 | path := orbitDerivativePath A.path v |
| 66 | orbit := orbitDerivativePath_orbit A.path A.orbit v |
| 67 | raw_eq t x θ := by |
| 68 | have he : (fun y : Space => a (t,(y,θ))) = (A.path t : Space → Space →L[ℝ] Space) := |
| 69 | funext (fun y => A.raw_eq t y θ) |
| 70 | change fderiv ℝ (fun y : Space => a (t,(y,θ))) x v = orbitDerivativePath A.path v t x |
| 71 | rw [he,orbitDerivativePath_apply A.path A.orbit] |
| 72 | |
| 73 | @[simp] theorem comp_path_apply (A : MatrixCoefficient T a) (B : MatrixCoefficient T b) |
| 74 | (t : Icc (0 : ℝ) T) (x : Space) : (A.comp B).path t x = (A.path t x).comp (B.path t x) := rfl |
| 75 | |
| 76 | @[simp] theorem smul_path_apply (A : MatrixCoefficient T a) (c : ℝ) |
| 77 | (t : Icc (0 : ℝ) T) (x : Space) : (A.smul c).path t x = c • A.path t x := rfl |
| 78 | |
| 79 | theorem spatialDerivative_path_apply (A : MatrixCoefficient T a) (v : Space) |
| 80 | (t : Icc (0 : ℝ) T) (x : Space) : |
| 81 | (A.spatialDerivative v).path t x = fderiv ℝ (A.path t : Space → Space →L[ℝ] Space) x v := |
| 82 | orbitDerivativePath_apply A.path A.orbit v t x |
| 83 | |
| 84 | end EulerPacketCylinderField.MatrixCoefficient |