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.TransversePacketJoinedSupport |
| 2 | import Euler.TransversePacketCorrectorOperator |
| 3 | |
| 4 | /-! |
| 5 | # The literal corrector of the joined high solution |
| 6 | |
| 7 | The actual global velocity and its true time derivative construct Q, Q_t, |
| 8 | C and C_t. The returned Field is for the literal raw curlCorrector used by |
| 9 | the recursion, including at the history/forward junction. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerTransversePacketJoin |
| 15 | |
| 16 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients |
| 17 | EulerLpCylinderTranslation EulerLpCylinderPaths EulerCylinderSmoothOrbit EulerSourcePotentialCoefficient |
| 18 | EulerPacketProfileRecursion EulerVolterraConvolution EulerMetricTransport |
| 19 | EulerTransversePacketProvider EulerPacketCylinderField |
| 20 | open scoped ContDiff BoundedContinuousFunction |
| 21 | |
| 22 | variable {P : ℝ} [Fact (0 < P)] |
| 23 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 24 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 25 | (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) |
| 26 | |
| 27 | def potentialPath : C(Icc (0 : ℝ) D.T,LiftL2 P) := |
| 28 | EulerCylinderPotential.potentialPath P D.potentialCoefficientPath (velocityPath τ hτ hτT B G) |
| 29 | |
| 30 | def potentialTimePath : C(Icc (0 : ℝ) D.T,LiftL2 P) := |
| 31 | EulerCylinderPotential.potentialDerivative P D.T D.potentialCoefficientPath D.potentialDerivative |
| 32 | (velocityPath τ hτ hτT B G) (derivativePath τ hτ hτT B G) |
| 33 | |
| 34 | theorem potentialPath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (potentialPath τ hτ hτT B G)) := |
| 35 | EulerCylinderPotential.potentialPath_orbit P D.potentialCoefficientPath D.potentialCoefficientPath_orbit |
| 36 | (velocityPath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G) |
| 37 | |
| 38 | theorem potentialTimePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (potentialTimePath τ hτ hτT B G)) := |
| 39 | EulerCylinderPotential.potentialDerivative_orbit P D.T D.potentialCoefficientPath D.potentialDerivative |
| 40 | D.potentialCoefficientPath_orbit D.potentialDerivative_orbit |
| 41 | (velocityPath τ hτ hτT B G) (derivativePath τ hτ hτT B G) |
| 42 | (velocityPath_orbit τ hτ hτT B G) (derivativePath_orbit τ hτ hτT B G) |
| 43 | |
| 44 | theorem potentialPath_time (t : Icc (0 : ℝ) D.T) : |
| 45 | HasDerivWithinAt (extendPath D.T D.T_pos.le (potentialPath τ hτ hτT B G)) |
| 46 | (potentialTimePath τ hτ hτT B G t) (Icc (0 : ℝ) D.T) t := |
| 47 | EulerCylinderPotential.potentialPath_hasDerivWithinAt P D.T D.T_pos.le |
| 48 | D.potentialCoefficientPath D.potentialDerivative (velocityPath τ hτ hτT B G) (derivativePath τ hτ hτT B G) |
| 49 | D.potentialCoefficientPath_time (velocityPath_time τ hτ hτT B G) t |
| 50 | |
| 51 | def correctorPath : C(Icc (0 : ℝ) D.T,LiftL2 P) := |
| 52 | EulerCylinderSlowCurl.path P D.FInv.field (potentialPath τ hτ hτT B G) |
| 53 | |
| 54 | def correctorTimePath : C(Icc (0 : ℝ) D.T,LiftL2 P) := |
| 55 | EulerCylinderSlowCurl.derivative P D.T D.FInv.field D.inverseDerivative |
| 56 | (potentialPath τ hτ hτT B G) (potentialTimePath τ hτ hτT B G) |
| 57 | |
| 58 | theorem correctorPath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (correctorPath τ hτ hτT B G)) := |
| 59 | EulerCylinderSlowCurl.path_orbit P D.FInv.field D.FInv.translation_contDiff |
| 60 | (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) |
| 61 | |
| 62 | theorem correctorTimePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (correctorTimePath τ hτ hτT B G)) := |
| 63 | EulerCylinderSlowCurl.derivative_orbit P D.T D.FInv.field D.inverseDerivative |
| 64 | D.FInv.translation_contDiff D.inverseDerivative_orbit |
| 65 | (potentialPath τ hτ hτT B G) (potentialTimePath τ hτ hτT B G) |
| 66 | (potentialPath_orbit τ hτ hτT B G) (potentialTimePath_orbit τ hτ hτT B G) |
| 67 | |
| 68 | theorem correctorPath_time (t : Icc (0 : ℝ) D.T) : |
| 69 | HasDerivWithinAt (extendPath D.T D.T_pos.le (correctorPath τ hτ hτT B G)) |
| 70 | (correctorTimePath τ hτ hτT B G t) (Icc (0 : ℝ) D.T) t := |
| 71 | EulerCylinderSlowCurl.path_hasDerivWithinAt P D.T D.T_pos.le D.FInv.field D.inverseDerivative |
| 72 | (potentialPath τ hτ hτT B G) (potentialTimePath τ hτ hτT B G) |
| 73 | (potentialPath_orbit τ hτ hτT B G) (potentialTimePath_orbit τ hτ hτT B G) |
| 74 | D.inverse_hasDerivWithinAt (potentialPath_time τ hτ hτT B G) t |
| 75 | |
| 76 | def corrector : VectorField := fun z => |
| 77 | pointField P (correctorPath τ hτ hτT B G) (correctorPath_orbit τ hτ hτT B G) |
| 78 | (D.clamp z.1) (z.2.1,(z.2.2 : AddCircle P)) |
| 79 | |
| 80 | def correctorDerivative : VectorField := fun z => |
| 81 | pointField P (correctorTimePath τ hτ hτT B G) (correctorTimePath_orbit τ hτ hτT B G) |
| 82 | (D.clamp z.1) (z.2.1,(z.2.2 : AddCircle P)) |
| 83 | |
| 84 | theorem velocityPath_raw_mean_zero (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 85 | (∫ θ in (0 : ℝ)..P, pointField P (velocityPath τ hτ hτT B G) |
| 86 | (velocityPath_orbit τ hτ hτT B G) t (x,(θ : AddCircle P))) = 0 := by |
| 87 | simpa only [vector,Data.clamp_coe] using vector_mean_zero τ hτ hτT B G t x |
| 88 | |
| 89 | theorem rawPotential_eq (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 90 | D.rawPotential P (vector τ hτ hτT B G) (t,(x,θ)) = |
| 91 | pointField P (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) t (x,(θ : AddCircle P)) := by |
| 92 | have he : (fun s : ℝ => vector τ hτ hτT B G (t,(x,s))) = fun s : ℝ => |
| 93 | pointField P (velocityPath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G) t (x,(s : AddCircle P)) := |
| 94 | funext (fun s => (vectorField τ hτ hτT B G).raw_eq t x s) |
| 95 | rw [Data.rawPotential,Data.clamp_coe,he] |
| 96 | exact (EulerCylinderPotential.potentialField_source_formula P D.potentialCoefficientPath |
| 97 | D.potentialCoefficientPath_orbit (velocityPath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G) |
| 98 | (velocityPath_raw_mean_zero τ hτ hτT B G) (fun t x => D.normal.field t x) |
| 99 | (potentialCoefficient_apply D.normal D.normalLower D.normalLower_pos D.normal_lower) t x θ).symm |
| 100 | |
| 101 | theorem corrector_formula (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 102 | corrector τ hτ hτT B G (t,(x,θ)) = |
| 103 | EulerMeanBoundary.curlMatrix |
| 104 | ((EulerLiftedWeakDerivative.fieldFDeriv P |
| 105 | (pointField P (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) t) (x,(θ : AddCircle P))).comp |
| 106 | ((ContinuousLinearMap.inl ℝ Space ℝ).comp (D.FInv.field t x))) := by |
| 107 | change EulerCylinderSlowCurl.field P D.FInv.field D.FInv.translation_contDiff |
| 108 | (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) (D.clamp t) (x,(θ : AddCircle P)) = _ |
| 109 | rw [Data.clamp_coe] |
| 110 | exact EulerCylinderSlowCurl.field_formula P D.FInv.field D.FInv.translation_contDiff |
| 111 | (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) t (x,(θ : AddCircle P)) |
| 112 | |
| 113 | theorem curlCorrector_eq (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 114 | D.curlCorrector P (vector τ hτ hτT B G) (t,(x,θ)) = corrector τ hτ hτT B G (t,(x,θ)) := by |
| 115 | have he : (fun y : LiftTangent => D.rawPotential P (vector τ hτ hτT B G) (t,y)) = |
| 116 | fun y : LiftTangent => pointField P (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) |
| 117 | t (y.1,(y.2 : AddCircle P)) := funext (fun y => rawPotential_eq τ hτ hτT B G t y.1 y.2) |
| 118 | rw [Data.curlCorrector,Data.clamp_coe,he,coverField_fderiv,corrector_formula τ hτ hτT B G t x θ] |
| 119 | |
| 120 | def correctorField : Field P D.T (D.curlCorrector P (vector τ hτ hτT B G)) where |
| 121 | path := correctorPath τ hτ hτT B G |
| 122 | orbit := correctorPath_orbit τ hτ hτT B G |
| 123 | raw_eq t x θ := (curlCorrector_eq τ hτ hτT B G t x θ).trans (by simp only [corrector,Data.clamp_coe]) |
| 124 | |
| 125 | def correctorDerivativeField : Field P D.T (correctorDerivative τ hτ hτT B G) where |
| 126 | path := correctorTimePath τ hτ hτT B G |
| 127 | orbit := correctorTimePath_orbit τ hτ hτT B G |
| 128 | raw_eq t x θ := by simp only [correctorDerivative,Data.clamp_coe] |
| 129 | |
| 130 | theorem correctorField_time : TimeDerivative D.T_pos.le |
| 131 | (correctorField τ hτ hτT B G) (correctorDerivativeField τ hτ hτT B G) := |
| 132 | correctorPath_time τ hτ hτT B G |
| 133 | |
| 134 | end EulerTransversePacketJoin |