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.ChildParticleTime |
| 2 | import Mathlib.LinearAlgebra.Determinant |
| 3 | |
| 4 | /-! Exact Jacobian composition for the child displacement. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerChildParticleTime |
| 9 | |
| 10 | variable {K E : Type} [TopologicalSpace K] [CompactSpace K] |
| 11 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 12 | |
| 13 | theorem displacement_jacobian (P D : SmoothTimeField K E E) (t : K) (x : E) : |
| 14 | ContinuousLinearMap.id ℝ E + fderiv ℝ ((displacement P D).field t : E → E) x = |
| 15 | (ContinuousLinearMap.id ℝ E + fderiv ℝ (P.field t : E → E) (x+D.field t x)).comp |
| 16 | (ContinuousLinearMap.id ℝ E + fderiv ℝ (D.field t : E → E) x) := by |
| 17 | have hi := (hasFDerivAt_id x).add ((D.smooth t).differentiable (by simp) x).hasFDerivAt |
| 18 | have ho := (hasFDerivAt_id (x+D.field t x)).add |
| 19 | ((P.smooth t).differentiable (by simp) (x+D.field t x)).hasFDerivAt |
| 20 | have hc := ho.comp x hi |
| 21 | have hh := (hasFDerivAt_id x).add |
| 22 | (((displacement P D).smooth t).differentiable (by simp) x).hasFDerivAt |
| 23 | apply hh.unique |
| 24 | apply hc.congr_of_eventuallyEq |
| 25 | exact Filter.Eventually.of_forall (fun y => map_composition P D t y) |
| 26 | |
| 27 | theorem displacement_det_one [FiniteDimensional ℝ E] |
| 28 | (P D : SmoothTimeField K E E) (t : K) |
| 29 | (hP : ∀ y, (ContinuousLinearMap.id ℝ E + fderiv ℝ (P.field t : E → E) y).det=1) |
| 30 | (hD : ∀ y, (ContinuousLinearMap.id ℝ E + fderiv ℝ (D.field t : E → E) y).det=1) |
| 31 | (x : E) : |
| 32 | (ContinuousLinearMap.id ℝ E + fderiv ℝ ((displacement P D).field t : E → E) x).det=1 := by |
| 33 | rw [displacement_jacobian] |
| 34 | change LinearMap.det |
| 35 | ((ContinuousLinearMap.id ℝ E + fderiv ℝ (P.field t : E → E) (x+D.field t x)).toLinearMap.comp |
| 36 | (ContinuousLinearMap.id ℝ E + fderiv ℝ (D.field t : E → E) x).toLinearMap)=1 |
| 37 | rw [LinearMap.det_comp] |
| 38 | change (ContinuousLinearMap.id ℝ E + fderiv ℝ (P.field t : E → E) (x+D.field t x)).det * |
| 39 | (ContinuousLinearMap.id ℝ E + fderiv ℝ (D.field t : E → E) x).det=1 |
| 40 | rw [hP,hD,mul_one] |
| 41 | |
| 42 | end EulerChildParticleTime |