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.PacketCorrectionMetric |
| 2 | import Euler.TransverseGramPath |
| 3 | import Euler.LpCylinderFullTime |
| 4 | |
| 5 | /-! The time derivative of the actual inverse pressure metric, first as |
| 6 | a bounded matrix field and then as its cylinder L² multiplier. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketCorrectionCoefficients |
| 11 | |
| 12 | open Set ContinuousLinearMap EulerSmoothLimit EulerPacketPointJets |
| 13 | EulerPacketCylinderField EulerLpCylinderRectangular EulerLiftedGradientSpace |
| 14 | EulerVolterraConvolution EulerTransverseGramPath EulerMeanCoefficients |
| 15 | open scoped BoundedContinuousFunction |
| 16 | |
| 17 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 18 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 19 | private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 20 | private local instance : NormedSpace ℝ (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 21 | |
| 22 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 23 | (D : EulerTransversePacketProvider.Data U) |
| 24 | |
| 25 | def rawInverseMetricTime (z : Domain) : Space →L[ℝ] Space := |
| 26 | (rawFrameTime D z).adjoint.comp (rawFrame D z) + |
| 27 | (rawFrame D z).adjoint.comp (rawFrameTime D z) |
| 28 | |
| 29 | def inverseMetricTimeCoefficient : MatrixCoefficient D.T (rawInverseMetricTime D) := |
| 30 | ((frameTimeCoefficient D).adjoint.comp (frameCoefficient D)).add |
| 31 | ((frameCoefficient D).adjoint.comp (frameTimeCoefficient D)) |
| 32 | |
| 33 | @[simp] theorem inverseMetricTimeCoefficient_apply (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 34 | (inverseMetricTimeCoefficient D).path t x = |
| 35 | (D.F₁.field t x).adjoint.comp (D.F.field t x) + |
| 36 | (D.F.field t x).adjoint.comp (D.F₁.field t x) := rfl |
| 37 | |
| 38 | theorem inverseMetric_field_hasDerivWithinAt (t : ℝ) (ht : t ∈ Icc (0 : ℝ) D.T) |
| 39 | (x : Space) : |
| 40 | HasDerivWithinAt (fun s => extendPath D.T D.T_pos.le (inverseMetricCoefficient D).path s x) |
| 41 | (extendPath D.T D.T_pos.le (inverseMetricTimeCoefficient D).path t x) |
| 42 | (Icc (0 : ℝ) D.T) t := by |
| 43 | have h := hasDerivWithinAt_gram |
| 44 | (fun s => extendPath D.T D.T_pos.le D.F.field s x) |
| 45 | (extendPath D.T D.T_pos.le D.F₁.field t x) |
| 46 | (Icc (0 : ℝ) D.T) t (D.frame_time t ht x) |
| 47 | have hvalue : (fun s => extendPath D.T D.T_pos.le (inverseMetricCoefficient D).path s x) = |
| 48 | fun s => (extendPath D.T D.T_pos.le D.F.field s x).adjoint.comp |
| 49 | (extendPath D.T D.T_pos.le D.F.field s x) := by |
| 50 | funext s |
| 51 | exact inverseMetricCoefficient_apply D (projIcc 0 D.T D.T_pos.le s) x |
| 52 | have hderivative : extendPath D.T D.T_pos.le (inverseMetricTimeCoefficient D).path t x = |
| 53 | (extendPath D.T D.T_pos.le D.F₁.field t x).adjoint.comp |
| 54 | (extendPath D.T D.T_pos.le D.F.field t x) + |
| 55 | (extendPath D.T D.T_pos.le D.F.field t x).adjoint.comp |
| 56 | (extendPath D.T D.T_pos.le D.F₁.field t x) := |
| 57 | inverseMetricTimeCoefficient_apply D (projIcc 0 D.T D.T_pos.le t) x |
| 58 | rw [hvalue,hderivative] |
| 59 | exact h |
| 60 | |
| 61 | variable (P : ℝ) [Fact (0 < P)] |
| 62 | |
| 63 | def inverseMetricDerivativePath : C(Icc (0 : ℝ) D.T,LiftL2 P →L[ℝ] LiftL2 P) := |
| 64 | fullPathMap P (inverseMetricTimeCoefficient D).path |
| 65 | |
| 66 | theorem inverseMetric_operator_hasDerivWithinAt (t : Icc (0 : ℝ) D.T) : |
| 67 | HasDerivWithinAt (extendPath D.T D.T_pos.le |
| 68 | (fullPathMap P (inverseMetricCoefficient D).path)) |
| 69 | (inverseMetricDerivativePath D P t) (Icc (0 : ℝ) D.T) t := |
| 70 | fullPath_hasDerivWithinAt P D.T D.T_pos.le (inverseMetricCoefficient D).path |
| 71 | (inverseMetricTimeCoefficient D).path (inverseMetric_field_hasDerivWithinAt D) t |
| 72 | |
| 73 | theorem inverseMetricDerivativePath_norm (t : Icc (0 : ℝ) D.T) : |
| 74 | ‖inverseMetricDerivativePath D P t‖ ≤ ‖(inverseMetricTimeCoefficient D).path‖ := by |
| 75 | exact ((fullOperatorMap (E := Space) (F := Space) P).le_opNorm ((inverseMetricTimeCoefficient D).path t)).trans |
| 76 | ((mul_le_mul_of_nonneg_right (fullOperatorMap_norm (E := Space) (F := Space) P) |
| 77 | (norm_nonneg ((inverseMetricTimeCoefficient D).path t))).trans |
| 78 | (by simpa only [one_mul] using (inverseMetricTimeCoefficient D).path.norm_coe_le_norm t)) |
| 79 | |
| 80 | end EulerPacketCorrectionCoefficients |