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.CylinderSmoothTimeField |
| 2 | import Euler.PacketFieldTensorBounds |
| 3 | import Euler.SmoothTimeFieldAlgebra |
| 4 | import Euler.CorrectionSmoothTimeField |
| 5 | import Euler.AllOrderDriftFieldDecomposition |
| 6 | import Euler.CylinderJetLp |
| 7 | |
| 8 | /-! Actual smooth four-dimensional coefficients of the corrected packet. |
| 9 | The lifted field equals the constructed exact velocity, has the genuine |
| 10 | time derivative, is periodic, and has zero divergence. -/ |
| 11 | |
| 12 | /-! ## From `Euler/PacketFieldSmoothTimeField.lean` |
| 13 | |
| 14 | The text of `Euler/PacketFieldSmoothTimeField.lean`, folded into this file, which was its only importer. -/ |
| 15 | |
| 16 | section |
| 17 | |
| 18 | /-! The actual finite packet fields supply bounded smooth cover |
| 19 | coefficients. Their fixed-Hq word bounds give uniform tensor-jet bounds, |
| 20 | with a single fixed coordinate radius conversion. -/ |
| 21 | |
| 22 | noncomputable section |
| 23 | |
| 24 | |
| 25 | namespace EulerPacketCylinderField.Field |
| 26 | |
| 27 | open Set EulerSmoothLimit EulerLiftedGradientSpace EulerCylinderSmoothOrbit |
| 28 | EulerCylinderSmoothTimeField EulerCylinderCoordinates EulerCylinderSobolevSpace |
| 29 | EulerPacketProfileRecursion EulerGevrey |
| 30 | open scoped ContDiff BoundedContinuousFunction |
| 31 | |
| 32 | variable {P T : ℝ} [Fact (0 < P)] {raw raw_t : VectorField} |
| 33 | |
| 34 | private local instance (n : ℕ) : NormedAddCommGroup (LiftTangent [×n]→L[ℝ] Space) := inferInstance |
| 35 | private local instance (n : ℕ) : NormedSpace ℝ (LiftTangent [×n]→L[ℝ] Space) := inferInstance |
| 36 | private local instance (n : ℕ) : NormedAddCommGroup |
| 37 | (LiftTangent →ᵇ (LiftTangent [×n]→L[ℝ] Space)) := inferInstance |
| 38 | private local instance (n : ℕ) : NormedSpace ℝ |
| 39 | (LiftTangent →ᵇ (LiftTangent [×n]→L[ℝ] Space)) := inferInstance |
| 40 | |
| 41 | def toSmoothTimeField (G : Field P T raw) : SmoothTimeField (Icc (0 : ℝ) T) LiftTangent Space := |
| 42 | ofPath P G.path G.orbit |
| 43 | |
| 44 | theorem toSmoothTimeField_apply (G : Field P T raw) (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 45 | G.toSmoothTimeField.field t x = raw (t,x) := (G.raw_eq t x.1 x.2).symm |
| 46 | |
| 47 | theorem toSmoothTimeField_timeDerivative (G : Field P T raw) (H : Field P T raw_t) |
| 48 | (hT : 0 ≤ T) (hd : TimeDerivative hT G H) : |
| 49 | SmoothTimeField.TimeDerivative T hT G.toSmoothTimeField H.toSmoothTimeField := by |
| 50 | intro t x |
| 51 | exact pointField_hasDerivWithinAt P T hT G.path H.path G.orbit H.orbit hd t (coveringMap P x) |
| 52 | |
| 53 | theorem toSmoothTimeField_map_jet (G : Field P T raw) (L : Space →L[ℝ] Space) (n : ℕ) : |
| 54 | (G.map L).toSmoothTimeField.jet n = (G.toSmoothTimeField.map L).jet n := by |
| 55 | apply SmoothTimeField.jet_eq_of_field_eq |
| 56 | intro t x |
| 57 | rw [(G.map L).toSmoothTimeField_apply, SmoothTimeField.map_apply, G.toSmoothTimeField_apply] |
| 58 | |
| 59 | theorem WordBound.toSmoothTimeField_jet_bound {G : Field P T raw} {q : ℕ} {R A : ℝ} |
| 60 | (hG : G.WordBound q R A 0) (hq : 3 ≤ q) (hR : 0 ≤ R) (hA : 0 ≤ A) (n : ℕ) : |
| 61 | ‖G.toSmoothTimeField.jet n‖ ≤ (sobolevEmbeddingConstant P 3*A) * |
| 62 | (‖coordinateEquiv.symm.toContinuousLinearMap‖*R)^n * (n.factorial : ℝ)^2 := by |
| 63 | have hS := sobolevEmbeddingConstant_nonneg P 3 |
| 64 | apply ofPath_jet_norm_le P G.path G.orbit n _ (by positivity) |
| 65 | intro t x |
| 66 | have he : (fun y => pointField P G.path G.orbit t (coveringMap P y)) = |
| 67 | fun y => raw (t,y) := funext (fun y => (G.raw_eq t y.1 y.2).symm) |
| 68 | rw [he] |
| 69 | apply (hG.raw_tensor_le hq t n x).trans_eq |
| 70 | simp only [majorant, Nat.add_zero, mul_pow] |
| 71 | ring |
| 72 | |
| 73 | end EulerPacketCylinderField.Field |
| 74 | end |
| 75 | |
| 76 | end |
| 77 | |
| 78 | noncomputable section |
| 79 | |
| 80 | |
| 81 | namespace EulerAllOrderDriftCorrection |
| 82 | |
| 83 | open Set MeasureTheory EulerAllOrderCorrectionData EulerLiftedGradientSpace EulerSmoothLimit |
| 84 | EulerPacketCylinderField EulerPacketProfileRecursion EulerCylinderSmoothOrbit |
| 85 | EulerLiftedSmoothTimeField EulerLiftedTransportTrace EulerMetricTransport |
| 86 | open scoped ContDiff BoundedContinuousFunction |
| 87 | |
| 88 | variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {hT : 0 < T} {A : Data P T} |
| 89 | (B : Budget P hT A) {raw raw_t : VectorField} |
| 90 | |
| 91 | def Budget.packetCoefficient (G : Field P T raw) : |
| 92 | SmoothTimeField (Icc (0 : ℝ) T) LiftTangent Space := |
| 93 | G.toSmoothTimeField.add (B.correctionCoefficient P) |
| 94 | |
| 95 | def Budget.packetDerivativeCoefficient (H : Field P T raw_t) : |
| 96 | SmoothTimeField (Icc (0 : ℝ) T) LiftTangent Space := |
| 97 | H.toSmoothTimeField.add (B.correctionDerivativeCoefficient P) |
| 98 | |
| 99 | def Budget.liftedPacketCoefficient (G : Field P T raw) : |
| 100 | SmoothTimeField (Icc (0 : ℝ) T) LiftTangent LiftTangent := |
| 101 | lift (B.packetCoefficient P G) A.κ A.direction |
| 102 | |
| 103 | def Budget.liftedPacketDerivativeCoefficient (H : Field P T raw_t) : |
| 104 | SmoothTimeField (Icc (0 : ℝ) T) LiftTangent LiftTangent := |
| 105 | lift (B.packetDerivativeCoefficient P H) A.κ A.direction |
| 106 | |
| 107 | theorem Budget.packetCoefficient_eq_corrected (G : Field P T raw) |
| 108 | (hG : A.approximation = G.toFieldTower) (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 109 | (B.packetCoefficient P G).field t x = (B.correctedFieldTower P).pointField t (coveringMap P x) := by |
| 110 | rw [B.correctedFieldTower_eq P, FieldTower.add_pointField, hG] |
| 111 | change G.toSmoothTimeField.field t x + (B.fieldTower P).pointField t (coveringMap P x) = _ |
| 112 | rw [G.toSmoothTimeField_apply] |
| 113 | change raw (t,x) + (B.fieldTower P).pointField t (coveringMap P x) = |
| 114 | G.toFieldTower.pointField t (x.1,(x.2 : AddCircle P)) + |
| 115 | (B.fieldTower P).pointField t (coveringMap P x) |
| 116 | rw [G.toFieldTower_pointField_raw] |
| 117 | |
| 118 | theorem Budget.liftedPacketCoefficient_eq_corrected (G : Field P T raw) |
| 119 | (hG : A.approximation = G.toFieldTower) (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 120 | (B.liftedPacketCoefficient P G).field t x = |
| 121 | transportDirection A.κ A.direction ((B.correctedFieldTower P).pointField t (coveringMap P x)) := by |
| 122 | change transportDirection A.κ A.direction ((B.packetCoefficient P G).field t x) = _ |
| 123 | rw [B.packetCoefficient_eq_corrected P G hG] |
| 124 | |
| 125 | theorem Budget.packetCoefficient_timeDerivative (G : Field P T raw) (H : Field P T raw_t) |
| 126 | (h : TimeDerivative hT.le G H) : |
| 127 | SmoothTimeField.TimeDerivative T hT.le (B.packetCoefficient P G) |
| 128 | (B.packetDerivativeCoefficient P H) := |
| 129 | (G.toSmoothTimeField_timeDerivative H hT.le h).add (B.correctionCoefficient_timeDerivative P) |
| 130 | |
| 131 | theorem Budget.liftedPacketCoefficient_timeDerivative (G : Field P T raw) (H : Field P T raw_t) |
| 132 | (h : TimeDerivative hT.le G H) : |
| 133 | SmoothTimeField.TimeDerivative T hT.le (B.liftedPacketCoefficient P G) |
| 134 | (B.liftedPacketDerivativeCoefficient P H) := |
| 135 | (B.packetCoefficient_timeDerivative P G H h).map (transportLinear A.κ A.direction) |
| 136 | |
| 137 | theorem Budget.liftedPacketCoefficient_periodic (G : Field P T raw) |
| 138 | (c : AddSubgroup.zmultiples P) (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 139 | (B.liftedPacketCoefficient P G).field t (x.1,(c : ℝ)+x.2) = |
| 140 | (B.liftedPacketCoefficient P G).field t x := by |
| 141 | have hc : coveringMap P (x.1,(c : ℝ)+x.2) = coveringMap P x := |
| 142 | EulerCylinderMeasureDescent.coveringMap_deck P c x |
| 143 | change transportDirection A.κ A.direction |
| 144 | (EulerCylinderSmoothOrbit.pointField P G.path G.orbit t (coveringMap P (x.1,(c : ℝ)+x.2)) + |
| 145 | (B.fieldTower P).pointField t (coveringMap P (x.1,(c : ℝ)+x.2))) = _ |
| 146 | rw [hc] |
| 147 | rfl |
| 148 | |
| 149 | theorem Budget.liftedPacketCoefficient_trace (G : Field P T raw) |
| 150 | (hG : A.approximation = G.toFieldTower) (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 151 | LinearMap.trace ℝ LiftTangent |
| 152 | (fderiv ℝ ((B.liftedPacketCoefficient P G).field t : LiftTangent → LiftTangent) x).toLinearMap = 0 := by |
| 153 | have he : ((B.liftedPacketCoefficient P G).field t : LiftTangent → LiftTangent) = |
| 154 | coverVelocity P A.κ A.direction ((B.correctedFieldTower P).pointField t) := |
| 155 | funext (B.liftedPacketCoefficient_eq_corrected P G hG t) |
| 156 | rw [he] |
| 157 | exact coverVelocity_trace_zero P A.κ A.direction ((B.correctedFieldTower P).pointField t) |
| 158 | ((B.correctedFieldTower P).field t) (B.correctedFieldTower_divergence P t) |
| 159 | ((B.correctedFieldTower P).pointField_ae t) ((B.correctedFieldTower P).pointField_smooth t) x |
| 160 | |
| 161 | end EulerAllOrderDriftCorrection |