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.CylinderEndpointData |
| 2 | import Euler.TransverseSourceCoefficientPath |
| 3 | |
| 4 | /-! Evaluation of the actual cylinder coefficients at a spatial label. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCylinderDirichlet.Coefficients |
| 9 | |
| 10 | open Set ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerVolterraConvolution |
| 11 | EulerTransverseSourceCoefficientPath EulerTransverseEndpointCoordinates |
| 12 | open scoped BoundedContinuousFunction |
| 13 | |
| 14 | variable {T : ℝ} {U E : Type*} |
| 15 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 16 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 17 | (D : Coefficients T U E) |
| 18 | |
| 19 | def labelFrame (x : Space) : C(Icc (0 : ℝ) T,U →L[ℝ] E) := pathEvaluation x D.Q |
| 20 | def labelFrameDerivative (x : Space) : C(Icc (0 : ℝ) T,U →L[ℝ] E) := pathEvaluation x D.Q₁ |
| 21 | def labelFrameSecond (x : Space) : C(Icc (0 : ℝ) T,U →L[ℝ] E) := pathEvaluation x D.Q₂ |
| 22 | def labelHessian (x : Space) : C(Icc (0 : ℝ) T,E →L[ℝ] E) := pathEvaluation x D.H |
| 23 | |
| 24 | omit [CompleteSpace U] [CompleteSpace E] in |
| 25 | theorem labelFrame_lower (x : Space) (t : Icc (0 : ℝ) T) (v : U) : |
| 26 | D.lower*‖v‖^2 ≤ ‖D.labelFrame x t v‖^2 := D.lower_bound t x v |
| 27 | |
| 28 | omit [CompleteSpace U] [CompleteSpace E] in |
| 29 | theorem labelFrame_derivative (x : Space) (t : Icc (0 : ℝ) T) : |
| 30 | HasDerivWithinAt (extendPath T D.time_pos.le (D.labelFrame x)) |
| 31 | (D.labelFrameDerivative x t) (Icc (0 : ℝ) T) t := by |
| 32 | change HasDerivWithinAt (fun s => D.Q (projIcc 0 T D.time_pos.le s) x) |
| 33 | (D.Q₁ t x) (Icc (0 : ℝ) T) t |
| 34 | simpa only [extendPath,projIcc_of_mem D.time_pos.le t.property] using D.derivative t t.property x |
| 35 | |
| 36 | omit [CompleteSpace U] [CompleteSpace E] in |
| 37 | theorem labelFrame_second_derivative (x : Space) (t : Icc (0 : ℝ) T) : |
| 38 | HasDerivWithinAt (extendPath T D.time_pos.le (D.labelFrameDerivative x)) |
| 39 | (D.labelFrameSecond x t) (Icc (0 : ℝ) T) t := by |
| 40 | change HasDerivWithinAt (fun s => D.Q₁ (projIcc 0 T D.time_pos.le s) x) |
| 41 | (D.Q₂ t x) (Icc (0 : ℝ) T) t |
| 42 | simpa only [extendPath,projIcc_of_mem D.time_pos.le t.property] using D.second_derivative t t.property x |
| 43 | |
| 44 | omit [CompleteSpace U] [CompleteSpace E] in |
| 45 | theorem labelFrame_equation (x : Space) (t : Icc (0 : ℝ) T) : |
| 46 | D.labelFrameSecond x t = -((D.labelHessian x t).comp (D.labelFrame x t)) := by |
| 47 | apply ContinuousLinearMap.ext |
| 48 | intro v |
| 49 | exact D.jacobi t x v |
| 50 | |
| 51 | omit [CompleteSpace U] [CompleteSpace E] in |
| 52 | theorem labelHessian_upper (x : Space) (t : Icc (0 : ℝ) T) (v : E) : |
| 53 | ⟪D.labelHessian x t v,v⟫_ℝ ≤ D.potential*‖v‖^2 := D.potential_bound t x v |
| 54 | |
| 55 | /-- The already constructed finite-dimensional stationary history, at this |
| 56 | label, applied to an ordinary terminal coordinate. -/ |
| 57 | def labelCoordinate (x : Space) : U →L[ℝ] C(Icc (0 : ℝ) T,U) := |
| 58 | continuousCoordinateVelocity T D.time_pos.le (D.labelFrame x) (D.labelFrameDerivative x) |
| 59 | (D.labelHessian x) D.lower D.lower_pos (D.labelFrame_lower x) (D.labelFrame_derivative x) |
| 60 | D.potential D.potential_nonneg (D.labelHessian_upper x) D.small |
| 61 | |
| 62 | def labelVelocity (x : Space) : U →L[ℝ] C(Icc (0 : ℝ) T,E) := |
| 63 | historyVelocity T D.time_pos.le (D.labelFrame x) (D.labelFrameDerivative x) |
| 64 | (D.labelHessian x) D.lower D.lower_pos (D.labelFrame_lower x) (D.labelFrame_derivative x) |
| 65 | D.potential D.potential_nonneg (D.labelHessian_upper x) D.small |
| 66 | |
| 67 | theorem labelVelocity_apply (x : Space) (Y : U) (t : Icc (0 : ℝ) T) : |
| 68 | D.labelVelocity x Y t = D.Q t x (D.labelCoordinate x Y t) := rfl |
| 69 | |
| 70 | end EulerCylinderDirichlet.Coefficients |