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.SourceCylinderRegularity |
| 2 | import Euler.CylinderTimeRegularity |
| 3 | import Euler.CylinderRawSupport |
| 4 | |
| 5 | /-! |
| 6 | # The solved forward field as an actual smooth cylinder field |
| 7 | |
| 8 | The representative is recovered by bounded H3 evaluation of the genuine |
| 9 | L² solution. It is jointly continuous, spatially and angularly smooth, |
| 10 | compactly supported, and has the true pointwise within-time derivative. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerSourceCylinderClassical |
| 16 | |
| 17 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 18 | EulerMetricTransport EulerMeanCoefficients EulerLpCylinderTranslation EulerLpCylinderPaths |
| 19 | EulerSourceCylinderEquation EulerCylinderSmoothOrbit EulerVolterraConvolution |
| 20 | open scoped ContDiff BoundedContinuousFunction |
| 21 | |
| 22 | variable (period : ℝ) [Fact (0 < period)] |
| 23 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 24 | (S : Set Space) (hS : MeasurableSet S) (hSc : IsCompact S) (T : ℝ) (hT : 0 ≤ T) |
| 25 | (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] Space)) |
| 26 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) |
| 27 | (f : C(Icc (0 : ℝ) T,Supported period Space S hS)) (a₀ : Supported period U S hS) |
| 28 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a (includePath period S hS f))) |
| 29 | (ha₀ : ContDiff ℝ ∞ (fun a : LiftTangent => translate period a (a₀ : CylinderL2 period U))) |
| 30 | |
| 31 | /-- The actual physical field, reconstructed from the solved L² class. -/ |
| 32 | def field (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Space := |
| 33 | pointField period (includePath period S hS (velocity period S hS T hT Q Q₁ c hc hQ f a₀)) |
| 34 | (velocity_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) t x |
| 35 | |
| 36 | /-- The reconstructed actual product-rule time derivative. -/ |
| 37 | def derivativeField (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Space := |
| 38 | pointField period (includePath period S hS (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀)) |
| 39 | (velocityDerivative_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) t x |
| 40 | |
| 41 | theorem field_joint_continuous : |
| 42 | Continuous (fun z : Icc (0 : ℝ) T × LiftDomain period => |
| 43 | field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ z.1 z.2) := |
| 44 | pointField_joint_continuous period _ _ |
| 45 | |
| 46 | theorem field_smooth (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 47 | ContDiff ℝ ∞ (localFieldLift period (field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t) x) := |
| 48 | pointField_smooth period _ _ t x |
| 49 | |
| 50 | theorem derivativeField_smooth (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 51 | ContDiff ℝ ∞ (localFieldLift period (derivativeField period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t) x) := |
| 52 | pointField_smooth period _ _ t x |
| 53 | |
| 54 | theorem field_ae (t : Icc (0 : ℝ) T) : |
| 55 | (velocity period S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 period Space) =ᵐ[liftMeasure period] |
| 56 | field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t := |
| 57 | pointField_ae period (includePath period S hS (velocity period S hS T hT Q Q₁ c hc hQ f a₀)) |
| 58 | (velocity_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) t |
| 59 | |
| 60 | theorem derivativeField_ae (t : Icc (0 : ℝ) T) : |
| 61 | (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 period Space) =ᵐ[liftMeasure period] |
| 62 | derivativeField period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t := |
| 63 | pointField_ae period (includePath period S hS (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀)) |
| 64 | (velocityDerivative_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) t |
| 65 | |
| 66 | theorem field_tsupport_subset (t : Icc (0 : ℝ) T) : |
| 67 | tsupport (field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t) ⊆ spatialSet period S := by |
| 68 | change tsupport (pointField period _ _ t) ⊆ _ |
| 69 | rw [pointField_eq_representative] |
| 70 | exact representative_tsupport_subset period S hS hSc.isClosed _ _ |
| 71 | (velocity period S hS T hT Q Q₁ c hc hQ f a₀ t).property |
| 72 | |
| 73 | theorem field_hasCompactSupport (t : Icc (0 : ℝ) T) : |
| 74 | HasCompactSupport (field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t) := by |
| 75 | change HasCompactSupport (pointField period _ _ t) |
| 76 | rw [pointField_eq_representative] |
| 77 | exact representative_hasCompactSupport period S hS hSc _ _ |
| 78 | (velocity period S hS T hT Q Q₁ c hc hQ f a₀ t).property |
| 79 | |
| 80 | /-- Inclusion in full cylinder L² preserves the already proved time derivative. -/ |
| 81 | theorem fullVelocity_hasDerivWithinAt |
| 82 | (hQt : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, |
| 83 | HasDerivWithinAt (fun s => extendPath T hT Q.field s x) |
| 84 | (extendPath T hT Q₁.field t x) (Icc (0 : ℝ) T) t) |
| 85 | (t : Icc (0 : ℝ) T) : |
| 86 | HasDerivWithinAt (extendPath T hT (includePath period S hS |
| 87 | (velocity period S hS T hT Q Q₁ c hc hQ f a₀))) |
| 88 | (includePath period S hS (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀) t) |
| 89 | (Icc (0 : ℝ) T) t := by |
| 90 | let L : Supported period Space S hS →L[ℝ] LiftL2 period := (Supported period Space S hS).subtypeL |
| 91 | exact L.hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) |
| 92 | (velocity_hasDerivWithinAt period S hS T hT Q Q₁ c hc hQ f a₀ hQt t) |
| 93 | |
| 94 | /-- No global time extension is assumed: the true time derivative holds within |
| 95 | the closed source interval, at every cylinder point. -/ |
| 96 | theorem field_hasDerivWithinAt |
| 97 | (hQt : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, |
| 98 | HasDerivWithinAt (fun s => extendPath T hT Q.field s x) |
| 99 | (extendPath T hT Q₁.field t x) (Icc (0 : ℝ) T) t) |
| 100 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 101 | HasDerivWithinAt (fun s => field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ (projIcc 0 T hT s) x) |
| 102 | (derivativeField period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t x) (Icc (0 : ℝ) T) t := |
| 103 | pointField_hasDerivWithinAt period T hT |
| 104 | (includePath period S hS (velocity period S hS T hT Q Q₁ c hc hQ f a₀)) |
| 105 | (includePath period S hS (velocityDerivative period S hS T hT Q Q₁ c hc hQ f a₀)) |
| 106 | (velocity_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) |
| 107 | (velocityDerivative_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀) |
| 108 | (fullVelocity_hasDerivWithinAt period S hS T hT Q Q₁ c hc hQ f a₀ hQt) t x |
| 109 | |
| 110 | end EulerSourceCylinderClassical |