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.PacketExactPhysicalMomentum |
| 2 | import Euler.PacketVolumeDivergence |
| 3 | |
| 4 | /-! The actual exact packet remains incompressible after the genuine |
| 5 | unit-Jacobian parent-flow coordinate change. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketPhysicalTransform |
| 10 | |
| 11 | open Set Filter InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 12 | EulerLiftedGradientSpace EulerAllOrderCorrectionData EulerAllOrderDriftCorrection |
| 13 | EulerPacketCorrectionCoefficients EulerPacketVolumeDivergence EulerGraphPressurePotential |
| 14 | EulerCylinderSmoothOrbit EulerGraphPullback |
| 15 | open scoped Topology ContDiff |
| 16 | |
| 17 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 18 | (D : EulerTransversePacketProvider.Data U) {P : ℝ} [Fact (0 < P)] |
| 19 | {κ : ℝ} {hκ : |κ| ≤ 1} {Z R : FieldTower P D.T} |
| 20 | {B : Budget P D.T_pos (correctionData D P κ hκ Z R)} |
| 21 | (S : ExactLiftedPacket P D.T_pos (correctionData D P κ hκ Z R) B) |
| 22 | |
| 23 | theorem exact_source_divergence |
| 24 | (k : ℝ) (hk : k*κ=1) |
| 25 | (F : ℝ × Space → Space →L[ℝ] Space) (X Y : ℝ × Space → Space) |
| 26 | (t : Icc (0 : ℝ) D.T) (x : Space) |
| 27 | (hmatch : ∀ y, F (t,y) = D.F.field t y) |
| 28 | (hX : ContDiffAt ℝ 2 (fun y => X (t,y)) x) |
| 29 | (hspace : ∀ y, fderiv ℝ (fun a => X (t,a)) y = F (t,y)) |
| 30 | (hdet : ∀ y, (EulerPacketPiola.operatorMatrix (F (t,y))).det = 1) |
| 31 | (hleft : ∀ y, Y (t,X (t,y)) = y) |
| 32 | (hY : DifferentiableAt ℝ (fun y => Y (t,y)) (X (t,x))) : |
| 33 | divergence (fun y => physicalVelocity κ k D.m₀ F S.rawVelocity Y (t,y)) (X (t,x)) = 0 := by |
| 34 | let g : Space → Space := fun y => S.velocity.pointField t (cylinderGraph P k D.m₀ y) |
| 35 | have hg : ContDiff ℝ ∞ g := by |
| 36 | have h := (coverField_contDiff P (S.velocity.pointField t) (S.velocity.pointField_smooth t)).comp |
| 37 | (graphMap k D.m₀).contDiff |
| 38 | simpa only [g,Function.comp_def,graphMap_apply,cylinderGraph] using h |
| 39 | have hdg : divergence g x = 0 := by |
| 40 | rw [divergence_eq_coordinate_sum] |
| 41 | exact S.graphVelocity_divergence k hk t x |
| 42 | have hv : DifferentiableAt ℝ (fun y => κ • g y) x := |
| 43 | (hg.differentiable (by simp) x).const_smul κ |
| 44 | have hvzero : divergence (fun y => κ • g y) x = 0 := by |
| 45 | rw [divergence_eq_trace,← coordinateTrace_eq_linearTrace] |
| 46 | change coordinateTrace (fderiv ℝ (κ • g) x) = 0 |
| 47 | rw [ |
| 48 | ((hg.differentiable (by simp) x).hasFDerivAt.const_smul κ).fderiv, |
| 49 | map_smul,coordinateTrace_eq_linearTrace] |
| 50 | change κ • divergence g x = 0 |
| 51 | rw [hdg,smul_zero] |
| 52 | have he : (fun y => physicalVelocity κ k D.m₀ F S.rawVelocity Y (t,y)) = |
| 53 | (fun y => fderiv ℝ (fun a => X (t,a)) (Y (t,y)) (κ • g (Y (t,y)))) := by |
| 54 | funext y |
| 55 | simp only [physicalVelocity,inverseCoordinates,graphVelocity,spaceTimeGraph_apply, |
| 56 | ExactLiftedPacket.rawVelocity,FieldTower.rawField,projIcc_of_mem D.T_pos.le t.property, |
| 57 | g,cylinderGraph,coveringMap,hspace,map_smul] |
| 58 | rw [he] |
| 59 | have hdet' : (fun y => (EulerPacketPiola.operatorMatrix |
| 60 | (fderiv ℝ (fun a => X (t,a)) y)).det) =ᶠ[𝓝 x] fun _ => (1 : ℝ) := |
| 61 | Filter.Eventually.of_forall (fun y => by |
| 62 | change (EulerPacketPiola.operatorMatrix (fderiv ℝ (fun a => X (t,a)) y)).det = 1 |
| 63 | rw [hspace,hdet]) |
| 64 | exact (divergence_pushforward (fun y => X (t,y)) (fun y => Y (t,y)) |
| 65 | (fun y => κ • g y) x (D.deformationEquiv t x) hX |
| 66 | ((hspace x).trans (hmatch x)) hdet' hleft hY hv).trans hvzero |
| 67 | |
| 68 | end EulerPacketPhysicalTransform |