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.GraphPressurePotential |
| 3 | |
| 4 | /-! Genuine lifted divergence-free fields remain divergence-free on the oscillating graph. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerGraphDivergence |
| 9 | |
| 10 | open MeasureTheory Set InnerProductSpace EulerLiftedGradientSpace EulerMetricTransport |
| 11 | EulerClassicalDivergence EulerGraphPullback EulerGraphPressurePotential |
| 12 | EulerTransportDerivatives EulerLiftedWeakDerivative |
| 13 | open scoped ContDiff Topology |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- The physical graph of an actual smooth representative of a lifted solenoidal L² field is classically divergence-free. -/ |
| 18 | theorem divergenceFree_graph (κ k : ℝ) (hκ : k*κ=1) (m : Vector3) |
| 19 | (u : LiftL2 period) (hu : u ∈ divergenceFreeSpace period κ m) |
| 20 | (g : LiftDomain period → Vector3) |
| 21 | (hrep : (u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 22 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 23 | ∀ x, (∑ i : Fin 3, |
| 24 | (fderiv ℝ (fun y => g (cylinderGraph period k m y)) x (EuclideanSpace.single i 1)) i) = 0 := by |
| 25 | let P : LiftTangent → Vector3 := localFieldLift period g 0 |
| 26 | have heq : (fun y => P (graphMap k m y)) = fun y => g (cylinderGraph period k m y) := by |
| 27 | funext y |
| 28 | simp only [P,localFieldLift,Prod.fst_zero,Prod.snd_zero,zero_add,graphMap_apply,cylinderGraph] |
| 29 | have hdir (i : Fin 3) : liftedDirection κ m (EuclideanSpace.single i 1) = coordinateDirection κ m i := by |
| 30 | simp [liftedDirection_apply,coordinateDirection,EuclideanSpace.inner_single_right] |
| 31 | intro x |
| 32 | have hzero := divergenceFree_classical_divergence_zero period κ m u hu g hrep hg |
| 33 | (cylinderGraph period k m x) |
| 34 | have hd : fderiv ℝ P (graphMap k m x) = |
| 35 | fderiv ℝ (localFieldLift period g (cylinderGraph period k m x)) 0 := by |
| 36 | have h := (fderiv_localFieldLift_cover period g (graphMap k m x)).symm |
| 37 | simpa only [P,coveringMap,graphMap_apply,cylinderGraph] using h |
| 38 | calc |
| 39 | _ = ∑ i : Fin 3, k*(fieldDerivative period (coordinateDirection κ m i) g (cylinderGraph period k m x)) i := by |
| 40 | apply Finset.sum_congr rfl |
| 41 | intro i _ |
| 42 | rw [← heq,graph_fderiv P k κ hκ m x (EuclideanSpace.single i 1) ((hg 0).differentiable (by simp) _),hdir,hd] |
| 43 | rfl |
| 44 | _ = k*(∑ i : Fin 3, (fieldDerivative period (coordinateDirection κ m i) g (cylinderGraph period k m x)) i) := |
| 45 | (Finset.mul_sum ..).symm |
| 46 | _ = 0 := by rw [hzero,mul_zero] |
| 47 | |
| 48 | end EulerGraphDivergence |