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.FieldTowerPhysicalContinuity |
| 2 | import Mathlib.MeasureTheory.Function.LpSpace.ContinuousCompMeasurePreserving |
| 3 | |
| 4 | /-! A genuine determinant-one flow transports continuous spatial L² paths |
| 5 | through its actual inverse, preserving the norm exactly. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerFlowL2Transport |
| 10 | |
| 11 | open Set MeasureTheory EulerLiftedGradientSpace EulerMetricTransport |
| 12 | |
| 13 | def inverseHomeomorph (X Y : Vector3 → Vector3) |
| 14 | (hYX : Function.LeftInverse Y X) (hXY : Function.RightInverse Y X) |
| 15 | (hX : Continuous X) (hY : Continuous Y) : Vector3 ≃ₜ Vector3 where |
| 16 | toFun := X |
| 17 | invFun := Y |
| 18 | left_inv := hYX |
| 19 | right_inv := hXY |
| 20 | continuous_toFun := hX |
| 21 | continuous_invFun := hY |
| 22 | |
| 23 | theorem inverse_measurePreserving (X Y : Vector3 → Vector3) |
| 24 | (F : Vector3 → Vector3 →L[ℝ] Vector3) |
| 25 | (hX : ∀ x, HasFDerivAt X (F x) x) |
| 26 | (hYX : Function.LeftInverse Y X) (hXY : Function.RightInverse Y X) |
| 27 | (hY : Continuous Y) (hdet : ∀ x, (F x).det=1) : |
| 28 | MeasurePreserving Y volume volume := by |
| 29 | let e := inverseHomeomorph X Y hYX hXY |
| 30 | (continuous_iff_continuousAt.mpr (fun x => (hX x).continuousAt)) hY |
| 31 | have hm : MeasurePreserving e.toMeasurableEquiv volume volume := |
| 32 | EulerDeformationVolume.measurePreserving_of_det_one volume X F hX |
| 33 | ⟨hYX.injective,hXY.surjective⟩ hdet |
| 34 | exact MeasurePreserving.symm e.toMeasurableEquiv hm |
| 35 | |
| 36 | variable {K E : Type*} [TopologicalSpace K] [NormedAddCommGroup E] |
| 37 | (X Y : K → Vector3 → Vector3) (F : K → Vector3 → Vector3 →L[ℝ] Vector3) |
| 38 | (hX : ∀ t x, HasFDerivAt (X t) (F t x) x) |
| 39 | (hYX : ∀ t, Function.LeftInverse (Y t) (X t)) |
| 40 | (hXY : ∀ t, Function.RightInverse (Y t) (X t)) |
| 41 | (hY : Continuous (Function.uncurry Y)) (hdet : ∀ t x, (F t x).det=1) |
| 42 | |
| 43 | def inversePath : C(K,C(Vector3,Vector3)) := |
| 44 | (⟨Function.uncurry Y,hY⟩ : C(K × Vector3,Vector3)).curry |
| 45 | |
| 46 | include hX hYX hXY hY hdet in |
| 47 | theorem inversePath_measurePreserving (t : K) : |
| 48 | MeasurePreserving (inversePath Y hY t) volume volume := |
| 49 | inverse_measurePreserving (X t) (Y t) (F t) (hX t) (hYX t) (hXY t) |
| 50 | (Continuous.uncurry_left t hY) (hdet t) |
| 51 | |
| 52 | /-- No operator-norm continuity of composition is assumed. Joint strong |
| 53 | continuity follows from actual continuity and preservation of volume. -/ |
| 54 | def transportPath (u : C(K,Lp E 2 (volume : Measure Vector3))) : |
| 55 | C(K,Lp E 2 (volume : Measure Vector3)) where |
| 56 | toFun t := Lp.compMeasurePreserving (inversePath Y hY t) |
| 57 | (inversePath_measurePreserving X Y F hX hYX hXY hY hdet t) (u t) |
| 58 | continuous_toFun := u.continuous.compMeasurePreservingLp |
| 59 | (inversePath Y hY).continuous |
| 60 | (inversePath_measurePreserving X Y F hX hYX hXY hY hdet) (by norm_num) |
| 61 | |
| 62 | theorem transportPath_norm (u : C(K,Lp E 2 (volume : Measure Vector3))) (t : K) : |
| 63 | ‖transportPath X Y F hX hYX hXY hY hdet u t‖ = ‖u t‖ := |
| 64 | Lp.norm_compMeasurePreserving (u t) |
| 65 | (inversePath_measurePreserving X Y F hX hYX hXY hY hdet t) |
| 66 | |
| 67 | theorem transportPath_ae (u : C(K,Lp E 2 (volume : Measure Vector3))) |
| 68 | (f : K → Vector3 → E) (hu : ∀ t, (u t : Vector3 → E) =ᵐ[volume] f t) (t : K) : |
| 69 | (transportPath X Y F hX hYX hXY hY hdet u t : Vector3 → E) =ᵐ[volume] |
| 70 | fun x => f t (Y t x) := |
| 71 | (Lp.coeFn_compMeasurePreserving (u t) |
| 72 | (inversePath_measurePreserving X Y F hX hYX hXY hY hdet t)).trans |
| 73 | ((inversePath_measurePreserving X Y F hX hYX hXY hY hdet t).quasiMeasurePreserving.ae_eq_comp (hu t)) |
| 74 | |
| 75 | end EulerFlowL2Transport |