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.ExactLiftedPointwise |
| 2 | import Euler.BoundedEvaluationDifferentiation |
| 3 | import Euler.CylinderCoveringDerivative |
| 4 | |
| 5 | /-! The actual exact lifted field is jointly differentiable in time and |
| 6 | covering-space coordinates. Uniform bounded Sobolev evaluation supplies the |
| 7 | time remainder estimate, so joint differentiability is a conclusion. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerAllOrderCorrectionData.FieldTower |
| 12 | |
| 13 | open Set ContinuousLinearMap EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 14 | EulerSobolevPointEvaluation EulerSobolevJointEvaluation EulerMetricTransport |
| 15 | EulerLiftedWeakDerivative EulerCylinderSmoothOrbit EulerVolterraConvolution |
| 16 | open scoped ContDiff |
| 17 | |
| 18 | variable {P T : ℝ} [Fact (0 < P)] (A : FieldTower P T) |
| 19 | |
| 20 | def rawField (hT : 0 ≤ T) (q : ℝ × LiftTangent) : Vector3 := |
| 21 | A.pointField (projIcc 0 T hT q.1) (coveringMap P q.2) |
| 22 | |
| 23 | theorem rawField_hasFDerivAt (hT : 0 ≤ T) (t : ℝ) (ht : t ∈ Icc 0 T) |
| 24 | (u' : SobolevSpace P 3) |
| 25 | (hd : HasDerivAt (extendPath T hT (A.realization 3)) u' t) (z : LiftTangent) : |
| 26 | HasFDerivAt (A.rawField hT) |
| 27 | (((toSpanSingleton ℝ (pointEvaluation P (coveringMap P z) u')).comp (fst ℝ ℝ LiftTangent)) + |
| 28 | (fieldFDeriv P (A.pointField ⟨t,ht⟩) (coveringMap P z)).comp (snd ℝ ℝ LiftTangent)) (t,z) := by |
| 29 | let E := fun y : LiftTangent => pointEvaluation P (coveringMap P y) |
| 30 | let u := extendPath T hT (A.realization 3) |
| 31 | have hs : HasFDerivAt (fun y => E y (u t)) |
| 32 | (fieldFDeriv P (A.pointField ⟨t,ht⟩) (coveringMap P z)) z := by |
| 33 | have h := ((coverField_contDiff P (A.pointField ⟨t,ht⟩) |
| 34 | (A.pointField_smooth ⟨t,ht⟩)).differentiable (by simp) z).hasFDerivAt |
| 35 | rw [coverField_fderiv] at h |
| 36 | simpa only [E,u,extendPath,projIcc_of_mem hT ht,pointField,coveringMap] using h |
| 37 | have hc : ContinuousAt (fun y => E y u') z := |
| 38 | ((representative_continuous P u').comp (coveringMap_isOpenQuotient P).continuous).continuousAt |
| 39 | exact EulerBoundedEvaluation.hasFDerivAt E (sobolevEmbeddingConstant P 3) |
| 40 | (fun y => pointEvaluation_norm_le P (coveringMap P y)) u u' t z hd _ hs hc |
| 41 | |
| 42 | end EulerAllOrderCorrectionData.FieldTower |
| 43 | |
| 44 | namespace EulerAllOrderDriftCorrection.ExactLiftedPacket |
| 45 | |
| 46 | open Set ContinuousLinearMap EulerLiftedGradientSpace EulerAllOrderCorrectionData |
| 47 | EulerCylinderSobolevSpace EulerCylinderSobolev EulerSobolevPointEvaluation |
| 48 | EulerSobolevCoefficientPressure EulerCorrectionResidualCancellation EulerMetricTransport |
| 49 | EulerLiftedWeakDerivative EulerVolterraConvolution |
| 50 | |
| 51 | variable {P T : ℝ} [Fact (0 < P)] {hT : 0 < T} {A : Data P T} {B : Budget P hT A} |
| 52 | (S : ExactLiftedPacket P hT A B) |
| 53 | |
| 54 | def rawVelocity : ℝ × LiftTangent → Vector3 := S.velocity.rawField hT.le |
| 55 | def rawPressure : ℝ × LiftTangent → Vector3 := S.pressure.rawField hT.le |
| 56 | |
| 57 | theorem rawVelocity_hasFDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) (z : LiftTangent) : |
| 58 | HasFDerivAt S.rawVelocity |
| 59 | (((toSpanSingleton ℝ (S.pointTimeDerivative ⟨t,ht.1.le,ht.2.le⟩ (coveringMap P z))).comp |
| 60 | (fst ℝ ℝ LiftTangent)) + |
| 61 | (fieldFDeriv P (S.velocity.pointField ⟨t,ht.1.le,ht.2.le⟩) (coveringMap P z)).comp |
| 62 | (snd ℝ ℝ LiftTangent)) (t,z) := by |
| 63 | let u' := restrictOperator P (by omega : 3 ≤ 6) |
| 64 | (-nonlinearity P (A.atOrder P 6) le_rfl ⟨t,ht.1.le,ht.2.le⟩ |
| 65 | (S.velocity.realization 7 ⟨t,ht.1.le,ht.2.le⟩) - |
| 66 | coefficientSobolevOperator P (A.metric.jet 6 ⟨t,ht.1.le,ht.2.le⟩) |
| 67 | (S.pressure.realization 6 ⟨t,ht.1.le,ht.2.le⟩)) |
| 68 | have hd : HasDerivAt (extendPath T hT.le (S.velocity.realization 3)) u' t := by |
| 69 | have h := (restrictOperator P (by omega : 3 ≤ 6)).hasFDerivAt.comp_hasDerivAt t |
| 70 | (S.equation 6 le_rfl t ht) |
| 71 | have he : (fun r => restrictOperator P (by omega : 3 ≤ 6) |
| 72 | (extendPath T hT.le (S.velocity.realization 6) r)) = |
| 73 | extendPath T hT.le (S.velocity.realization 3) := by |
| 74 | funext r |
| 75 | exact S.velocity.restrict_realization (by omega : 3 ≤ 6) _ |
| 76 | change HasDerivAt (fun r => restrictOperator P (by omega : 3 ≤ 6) |
| 77 | (extendPath T hT.le (S.velocity.realization 6) r)) u' t at h |
| 78 | rwa [he] at h |
| 79 | have hv : pointEvaluation P (coveringMap P z) u' = |
| 80 | S.pointTimeDerivative ⟨t,ht.1.le,ht.2.le⟩ (coveringMap P z) := by |
| 81 | have h := (pointEvaluation P (coveringMap P z)).hasFDerivAt.comp_hasDerivAt t hd |
| 82 | change HasDerivAt (fun r => S.velocity.pointField (projIcc 0 T hT.le r) (coveringMap P z)) _ t at h |
| 83 | exact h.unique (S.pointField_hasDerivAt (coveringMap P z) t ht) |
| 84 | have h := S.velocity.rawField_hasFDerivAt hT.le t ⟨ht.1.le,ht.2.le⟩ u' hd z |
| 85 | rw [hv] at h |
| 86 | exact h |
| 87 | |
| 88 | /-- The normalized equation now uses the genuine full Fréchet derivative of |
| 89 | the actual covering-space field, as required by physical coordinate change. -/ |
| 90 | theorem raw_normalized_equation (t : ℝ) (ht : t ∈ Ioo 0 T) (z : LiftTangent) : |
| 91 | fderiv ℝ S.rawVelocity (t,z) (1,0) + |
| 92 | (A.linear.coefficient ⟨t,ht.1.le,ht.2.le⟩).coefficient (coveringMap P z) (S.rawVelocity (t,z)) + |
| 93 | fderiv ℝ S.rawVelocity (t,z) (0,transportDirection A.κ A.direction (S.rawVelocity (t,z))) + |
| 94 | (∑ i : Fin 3, (S.rawVelocity (t,z)) i • |
| 95 | ((A.quadratic i).coefficient ⟨t,ht.1.le,ht.2.le⟩).coefficient (coveringMap P z) |
| 96 | (S.rawVelocity (t,z))) + |
| 97 | (A.metric.coefficient ⟨t,ht.1.le,ht.2.le⟩).coefficient (coveringMap P z) |
| 98 | (S.rawPressure (t,z)) = 0 := by |
| 99 | rw [(S.rawVelocity_hasFDerivAt t ht z).fderiv] |
| 100 | simpa only [rawVelocity,rawPressure,FieldTower.rawField,projIcc_of_mem hT.le ⟨ht.1.le,ht.2.le⟩, |
| 101 | add_apply,comp_apply,toSpanSingleton_apply,coe_fst',coe_snd',one_smul,zero_smul,map_zero, |
| 102 | zero_add,add_zero] using S.pointwise_equation ⟨t,ht.1.le,ht.2.le⟩ (coveringMap P z) |
| 103 | |
| 104 | end EulerAllOrderDriftCorrection.ExactLiftedPacket |