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.PacketFieldSmoothTimeField |
| 2 | import Euler.CorrectionSmoothTimeField |
| 3 | import Euler.AllOrderDriftFieldDecomposition |
| 4 | import Euler.CylinderJetLp |
| 5 | |
| 6 | /-! Actual smooth four-dimensional coefficients of the corrected packet. |
| 7 | The lifted field equals the constructed exact velocity, has the genuine |
| 8 | time derivative, is periodic, and has zero divergence. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | |
| 13 | namespace EulerAllOrderDriftCorrection |
| 14 | |
| 15 | open Set MeasureTheory EulerAllOrderCorrectionData EulerLiftedGradientSpace EulerSmoothLimit |
| 16 | EulerPacketCylinderField EulerPacketProfileRecursion EulerCylinderSmoothOrbit |
| 17 | EulerLiftedSmoothTimeField EulerLiftedTransportTrace EulerMetricTransport |
| 18 | open scoped ContDiff BoundedContinuousFunction |
| 19 | |
| 20 | variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {hT : 0 < T} {A : Data P T} |
| 21 | (B : Budget P hT A) {raw raw_t : VectorField} |
| 22 | |
| 23 | def Budget.packetCoefficient (G : Field P T raw) : |
| 24 | SmoothTimeField (Icc (0 : ℝ) T) LiftTangent Space := |
| 25 | G.toSmoothTimeField.add (B.correctionCoefficient P) |
| 26 | |
| 27 | def Budget.packetDerivativeCoefficient (H : Field P T raw_t) : |
| 28 | SmoothTimeField (Icc (0 : ℝ) T) LiftTangent Space := |
| 29 | H.toSmoothTimeField.add (B.correctionDerivativeCoefficient P) |
| 30 | |
| 31 | def Budget.liftedPacketCoefficient (G : Field P T raw) : |
| 32 | SmoothTimeField (Icc (0 : ℝ) T) LiftTangent LiftTangent := |
| 33 | lift (B.packetCoefficient P G) A.κ A.direction |
| 34 | |
| 35 | def Budget.liftedPacketDerivativeCoefficient (H : Field P T raw_t) : |
| 36 | SmoothTimeField (Icc (0 : ℝ) T) LiftTangent LiftTangent := |
| 37 | lift (B.packetDerivativeCoefficient P H) A.κ A.direction |
| 38 | |
| 39 | theorem Budget.packetCoefficient_eq_corrected (G : Field P T raw) |
| 40 | (hG : A.approximation = G.toFieldTower) (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 41 | (B.packetCoefficient P G).field t x = (B.correctedFieldTower P).pointField t (coveringMap P x) := by |
| 42 | rw [B.correctedFieldTower_eq P, FieldTower.add_pointField, hG] |
| 43 | change G.toSmoothTimeField.field t x + (B.fieldTower P).pointField t (coveringMap P x) = _ |
| 44 | rw [G.toSmoothTimeField_apply] |
| 45 | change raw (t,x) + (B.fieldTower P).pointField t (coveringMap P x) = |
| 46 | G.toFieldTower.pointField t (x.1,(x.2 : AddCircle P)) + |
| 47 | (B.fieldTower P).pointField t (coveringMap P x) |
| 48 | rw [G.toFieldTower_pointField_raw] |
| 49 | |
| 50 | theorem Budget.liftedPacketCoefficient_eq_corrected (G : Field P T raw) |
| 51 | (hG : A.approximation = G.toFieldTower) (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 52 | (B.liftedPacketCoefficient P G).field t x = |
| 53 | transportDirection A.κ A.direction ((B.correctedFieldTower P).pointField t (coveringMap P x)) := by |
| 54 | change transportDirection A.κ A.direction ((B.packetCoefficient P G).field t x) = _ |
| 55 | rw [B.packetCoefficient_eq_corrected P G hG] |
| 56 | |
| 57 | theorem Budget.packetCoefficient_timeDerivative (G : Field P T raw) (H : Field P T raw_t) |
| 58 | (h : TimeDerivative hT.le G H) : |
| 59 | SmoothTimeField.TimeDerivative T hT.le (B.packetCoefficient P G) |
| 60 | (B.packetDerivativeCoefficient P H) := |
| 61 | (G.toSmoothTimeField_timeDerivative H hT.le h).add (B.correctionCoefficient_timeDerivative P) |
| 62 | |
| 63 | theorem Budget.liftedPacketCoefficient_timeDerivative (G : Field P T raw) (H : Field P T raw_t) |
| 64 | (h : TimeDerivative hT.le G H) : |
| 65 | SmoothTimeField.TimeDerivative T hT.le (B.liftedPacketCoefficient P G) |
| 66 | (B.liftedPacketDerivativeCoefficient P H) := |
| 67 | (B.packetCoefficient_timeDerivative P G H h).map (transportLinear A.κ A.direction) |
| 68 | |
| 69 | theorem Budget.liftedPacketCoefficient_periodic (G : Field P T raw) |
| 70 | (c : AddSubgroup.zmultiples P) (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 71 | (B.liftedPacketCoefficient P G).field t (x.1,(c : ℝ)+x.2) = |
| 72 | (B.liftedPacketCoefficient P G).field t x := by |
| 73 | have hc : coveringMap P (x.1,(c : ℝ)+x.2) = coveringMap P x := |
| 74 | EulerCylinderMeasureDescent.coveringMap_deck P c x |
| 75 | change transportDirection A.κ A.direction |
| 76 | (EulerCylinderSmoothOrbit.pointField P G.path G.orbit t (coveringMap P (x.1,(c : ℝ)+x.2)) + |
| 77 | (B.fieldTower P).pointField t (coveringMap P (x.1,(c : ℝ)+x.2))) = _ |
| 78 | rw [hc] |
| 79 | rfl |
| 80 | |
| 81 | theorem Budget.liftedPacketCoefficient_trace (G : Field P T raw) |
| 82 | (hG : A.approximation = G.toFieldTower) (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 83 | LinearMap.trace ℝ LiftTangent |
| 84 | (fderiv ℝ ((B.liftedPacketCoefficient P G).field t : LiftTangent → LiftTangent) x).toLinearMap = 0 := by |
| 85 | have he : ((B.liftedPacketCoefficient P G).field t : LiftTangent → LiftTangent) = |
| 86 | coverVelocity P A.κ A.direction ((B.correctedFieldTower P).pointField t) := |
| 87 | funext (B.liftedPacketCoefficient_eq_corrected P G hG t) |
| 88 | rw [he] |
| 89 | exact coverVelocity_trace_zero P A.κ A.direction ((B.correctedFieldTower P).pointField t) |
| 90 | ((B.correctedFieldTower P).field t) (B.correctedFieldTower_divergence P t) |
| 91 | ((B.correctedFieldTower P).pointField_ae t) ((B.correctedFieldTower P).pointField_smooth t) x |
| 92 | |
| 93 | end EulerAllOrderDriftCorrection |