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.SmoothFlowJacobian |
| 2 | import Euler.LinearEvolutionDeterminant |
| 3 | |
| 4 | /-! The actual flow of a trace-free smooth bounded velocity preserves its |
| 5 | Jacobian determinant and Haar volume, in every finite dimension. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | |
| 10 | namespace EulerSmoothBanachFlow |
| 11 | |
| 12 | open Set MeasureTheory EulerLinearDuhamel |
| 13 | |
| 14 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 15 | (T : ℝ) (hT : 0 ≤ T) (A : SmoothTimeField (Icc (0 : ℝ) T) E E) |
| 16 | (hdiv : ∀ t x, LinearMap.trace ℝ E (fderiv ℝ (A.field t : E → E) x).toLinearMap = 0) |
| 17 | |
| 18 | include hdiv in |
| 19 | theorem jacobianEvolution_det_one (t : Icc (0 : ℝ) T) (x : E) : |
| 20 | ((jacobianEvolution T hT A x).forward t).det = 1 := by |
| 21 | apply constructedEvolution_det_one |
| 22 | intro s |
| 23 | change LinearMap.trace ℝ E (A.derivativeField s (pathFamily T hT A x s)).toLinearMap = 0 |
| 24 | rw [A.derivativeField_eq] |
| 25 | exact hdiv s _ |
| 26 | |
| 27 | include hdiv in |
| 28 | theorem forward_det_one (t : Icc (0 : ℝ) T) (x : E) : |
| 29 | (fderiv ℝ (fun y => (flowData T hT A).forward t y) x).det = 1 := by |
| 30 | rw [forward_fderiv] |
| 31 | exact jacobianEvolution_det_one T hT A hdiv t x |
| 32 | |
| 33 | variable [MeasurableSpace E] [BorelSpace E] |
| 34 | (μ : Measure E) [Measure.IsAddHaarMeasure μ] |
| 35 | |
| 36 | include hdiv in |
| 37 | theorem forward_measurePreserving (t : Icc (0 : ℝ) T) : |
| 38 | MeasurePreserving ((flowData T hT A).forward t) μ μ := by |
| 39 | apply EulerDeformationVolume.measurePreserving_of_det_one μ |
| 40 | ((flowData T hT A).forward t) (fun x => (jacobianEvolution T hT A x).forward t) |
| 41 | (forward_hasFDerivAt_label T hT A t) |
| 42 | · exact ((flowData T hT A).flowHomeomorph 0 t).bijective |
| 43 | · exact jacobianEvolution_det_one T hT A hdiv t |
| 44 | |
| 45 | include hdiv in |
| 46 | theorem backward_measurePreserving (t : Icc (0 : ℝ) T) : |
| 47 | MeasurePreserving ((flowData T hT A).backward t) μ μ := by |
| 48 | let e := (flowData T hT A).flowHomeomorph 0 t |
| 49 | have hm : MeasurePreserving e.toMeasurableEquiv μ μ := |
| 50 | forward_measurePreserving T hT A hdiv μ t |
| 51 | exact MeasurePreserving.symm e.toMeasurableEquiv hm |
| 52 | |
| 53 | end EulerSmoothBanachFlow |