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.ClassicalDivergence |
| 2 | import Euler.FieldTowerRepresentative |
| 3 | |
| 4 | /-! The four-dimensional transport velocity associated with a lifted |
| 5 | solenoidal field has zero ordinary trace on the real covering space. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerLiftedTransportTrace |
| 10 | |
| 11 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerMetricTransport |
| 12 | EulerTransportDerivatives EulerSmoothLimit EulerClassicalDivergence |
| 13 | open scoped ContDiff |
| 14 | |
| 15 | def transportLinear (κ : ℝ) (m : Vector3) : Vector3 →L[ℝ] LiftTangent := |
| 16 | (κ • ContinuousLinearMap.id ℝ Vector3).prod (toDual ℝ Vector3 m) |
| 17 | |
| 18 | @[simp] theorem transportLinear_apply (κ : ℝ) (m v : Vector3) : |
| 19 | transportLinear κ m v = transportDirection κ m v := rfl |
| 20 | |
| 21 | @[simp] theorem transportLinear_single (κ : ℝ) (m : Vector3) (i : Fin 3) : |
| 22 | transportLinear κ m (EuclideanSpace.single i 1) = coordinateDirection κ m i := by |
| 23 | apply Prod.ext |
| 24 | · rfl |
| 25 | · simp [transportLinear,coordinateDirection,EuclideanSpace.inner_single_right] |
| 26 | |
| 27 | theorem trace_transportLinear (κ : ℝ) (m : Vector3) (L : LiftTangent →L[ℝ] Vector3) : |
| 28 | LinearMap.trace ℝ LiftTangent ((transportLinear κ m).comp L).toLinearMap = |
| 29 | ∑ i : Fin 3, (L (coordinateDirection κ m i)) i := by |
| 30 | change LinearMap.trace ℝ LiftTangent ((transportLinear κ m).toLinearMap ∘ₗ L.toLinearMap) = _ |
| 31 | rw [LinearMap.trace_comp_comm'] |
| 32 | change LinearMap.trace ℝ Vector3 (L.comp (transportLinear κ m)).toLinearMap = _ |
| 33 | rw [← coordinateTrace_eq_linearTrace] |
| 34 | simp only [coordinateTrace,sum_apply,ContinuousLinearMap.comp_apply, |
| 35 | ContinuousLinearMap.apply_apply,transportLinear_single] |
| 36 | rfl |
| 37 | |
| 38 | variable (P κ : ℝ) (m : Vector3) (g : LiftDomain P → Vector3) |
| 39 | |
| 40 | def coverVelocity (z : LiftTangent) : LiftTangent := |
| 41 | transportDirection κ m (g (coveringMap P z)) |
| 42 | |
| 43 | theorem coverVelocity_trace |
| 44 | (hg : ∀ q, ContDiff ℝ ∞ (localFieldLift P g q)) (z : LiftTangent) : |
| 45 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (coverVelocity P κ m g) z).toLinearMap = |
| 46 | ∑ i : Fin 3, (fieldDerivative P (coordinateDirection κ m i) g (coveringMap P z)) i := by |
| 47 | have he : g ∘ coveringMap P = localFieldLift P g 0 := by |
| 48 | funext w |
| 49 | simp [localFieldLift,coveringMap] |
| 50 | have hdg : Differentiable ℝ (g ∘ coveringMap P) := by |
| 51 | rw [he] |
| 52 | exact (hg 0).differentiable (by simp) |
| 53 | have hd := (transportLinear κ m).hasFDerivAt.comp z (hdg z).hasFDerivAt |
| 54 | change HasFDerivAt (coverVelocity P κ m g) ((transportLinear κ m).comp (fderiv ℝ (g ∘ coveringMap P) z)) z at hd |
| 55 | rw [hd.fderiv,trace_transportLinear,he] |
| 56 | apply Finset.sum_congr rfl |
| 57 | intro i _ |
| 58 | simp only [fieldDerivative,fderiv_localFieldLift_cover] |
| 59 | |
| 60 | variable [Fact (0 < P)] |
| 61 | |
| 62 | theorem coverVelocity_trace_zero (u : LiftL2 P) |
| 63 | (hu : u ∈ divergenceFreeSpace P κ m) |
| 64 | (hrep : (u : LiftDomain P → Vector3) =ᵐ[liftMeasure P] g) |
| 65 | (hg : ∀ q, ContDiff ℝ ∞ (localFieldLift P g q)) (z : LiftTangent) : |
| 66 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (coverVelocity P κ m g) z).toLinearMap = 0 := by |
| 67 | rw [coverVelocity_trace P κ m g hg] |
| 68 | exact divergenceFree_classical_divergence_zero P κ m u hu g hrep hg _ |
| 69 | |
| 70 | end EulerLiftedTransportTrace |