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.SmoothTimeFieldChain |
| 2 | |
| 3 | /-! The literal child map X(t,Y(t,a)), its actual velocity, and its |
| 4 | actual acceleration, as continuous smooth coefficient paths. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | open scoped ContDiff BoundedContinuousFunction |
| 9 | |
| 10 | namespace EulerChildParticleTime |
| 11 | |
| 12 | open Set SmoothTimeField |
| 13 | |
| 14 | variable {K E : Type} [TopologicalSpace K] [CompactSpace K] |
| 15 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 16 | |
| 17 | def firstTerm (P D V : SmoothTimeField K E E) : SmoothTimeField K E E := |
| 18 | applyField (P.derivative.compDisplacement D) V |
| 19 | |
| 20 | def secondTerm (P D V : SmoothTimeField K E E) : SmoothTimeField K E E := |
| 21 | applyField (applyField (P.derivative.derivative.compDisplacement D) V) V |
| 22 | |
| 23 | def displacement (P D : SmoothTimeField K E E) : SmoothTimeField K E E := |
| 24 | (P.compDisplacement D).add D |
| 25 | |
| 26 | def velocity (P P₁ D D₁ : SmoothTimeField K E E) : SmoothTimeField K E E := |
| 27 | ((P₁.compDisplacement D).add D₁).add (firstTerm P D D₁) |
| 28 | |
| 29 | def acceleration (P P₁ P₂ D D₁ D₂ : SmoothTimeField K E E) : SmoothTimeField K E E := |
| 30 | (((((P₂.compDisplacement D).add (firstTerm P₁ D D₁)).add |
| 31 | (firstTerm P₁ D D₁)).add (secondTerm P D D₁)).add D₂).add (firstTerm P D D₂) |
| 32 | |
| 33 | @[simp] theorem firstTerm_apply (P D V : SmoothTimeField K E E) (t : K) (x : E) : |
| 34 | (firstTerm P D V).field t x = fderiv ℝ (P.field t : E → E) (x+D.field t x) (V.field t x) := by |
| 35 | change P.derivativeField t (x+D.field t x) (V.field t x) = _ |
| 36 | rw [P.derivativeField_eq] |
| 37 | |
| 38 | @[simp] theorem secondTerm_apply (P D V : SmoothTimeField K E E) (t : K) (x : E) : |
| 39 | (secondTerm P D V).field t x = |
| 40 | fderiv ℝ (fderiv ℝ (P.field t : E → E)) (x+D.field t x) (V.field t x) (V.field t x) := by |
| 41 | change P.derivative.derivativeField t (x+D.field t x) (V.field t x) (V.field t x) = _ |
| 42 | rw [P.derivative.derivativeField_eq] |
| 43 | have he : (P.derivative.field t : E → E →L[ℝ] E) = fderiv ℝ (P.field t : E → E) := |
| 44 | funext (P.derivativeField_eq t) |
| 45 | rw [he] |
| 46 | |
| 47 | @[simp] theorem displacement_apply (P D : SmoothTimeField K E E) (t : K) (x : E) : |
| 48 | (displacement P D).field t x = P.field t (x+D.field t x)+D.field t x := rfl |
| 49 | |
| 50 | @[simp] theorem velocity_apply (P P₁ D D₁ : SmoothTimeField K E E) (t : K) (x : E) : |
| 51 | (velocity P P₁ D D₁).field t x = P₁.field t (x+D.field t x)+D₁.field t x+ |
| 52 | fderiv ℝ (P.field t : E → E) (x+D.field t x) (D₁.field t x) := by |
| 53 | simp only [velocity,SmoothTimeField.add_apply,compDisplacement_apply,firstTerm_apply] |
| 54 | |
| 55 | @[simp] theorem acceleration_apply (P P₁ P₂ D D₁ D₂ : SmoothTimeField K E E) (t : K) (x : E) : |
| 56 | (acceleration P P₁ P₂ D D₁ D₂).field t x = P₂.field t (x+D.field t x)+ |
| 57 | fderiv ℝ (P₁.field t : E → E) (x+D.field t x) (D₁.field t x)+ |
| 58 | fderiv ℝ (P₁.field t : E → E) (x+D.field t x) (D₁.field t x)+ |
| 59 | fderiv ℝ (fderiv ℝ (P.field t : E → E)) (x+D.field t x) (D₁.field t x) (D₁.field t x)+ |
| 60 | D₂.field t x+fderiv ℝ (P.field t : E → E) (x+D.field t x) (D₂.field t x) := by |
| 61 | simp only [acceleration,SmoothTimeField.add_apply,compDisplacement_apply,firstTerm_apply,secondTerm_apply] |
| 62 | |
| 63 | theorem map_composition (P D : SmoothTimeField K E E) (t : K) (x : E) : |
| 64 | x+(displacement P D).field t x = |
| 65 | (x+D.field t x)+P.field t (x+D.field t x) := by |
| 66 | rw [displacement_apply] |
| 67 | abel |
| 68 | |
| 69 | section Time |
| 70 | |
| 71 | variable {T : ℝ} {hT : 0 ≤ T} [CompleteSpace E] |
| 72 | {P P₁ P₂ D D₁ D₂ : SmoothTimeField (Icc (0 : ℝ) T) E E} |
| 73 | |
| 74 | theorem displacement_time (hP : TimeDerivative T hT P P₁) (hD : TimeDerivative T hT D D₁) : |
| 75 | TimeDerivative T hT (displacement P D) (velocity P P₁ D D₁) := by |
| 76 | have h := (hP.compDisplacement hD).add hD |
| 77 | apply h.congr_fields (fun _ _ => rfl) |
| 78 | intro t x |
| 79 | simp only [velocity,firstTerm,SmoothTimeField.add_apply,applyField_apply,compDisplacement_apply] |
| 80 | abel |
| 81 | |
| 82 | variable [FiniteDimensional ℝ E] |
| 83 | |
| 84 | theorem velocity_time (hP : TimeDerivative T hT P P₁) (hP₁ : TimeDerivative T hT P₁ P₂) |
| 85 | (hD : TimeDerivative T hT D D₁) (hD₁ : TimeDerivative T hT D₁ D₂) : |
| 86 | TimeDerivative T hT (velocity P P₁ D D₁) (acceleration P P₁ P₂ D D₁ D₂) := by |
| 87 | have hd := SmoothTimeField.TimeDerivative.derivative T hT P P₁ hP |
| 88 | have hp := (hd.compDisplacement hD).applyField hD₁ |
| 89 | have h := ((hP₁.compDisplacement hD).add hD₁).add hp |
| 90 | apply h.congr_fields (fun _ _ => rfl) |
| 91 | intro t x |
| 92 | simp only [acceleration,firstTerm,secondTerm,SmoothTimeField.add_apply,applyField_apply,compDisplacement_apply, |
| 93 | _root_.add_apply] |
| 94 | abel |
| 95 | |
| 96 | end Time |
| 97 | end EulerChildParticleTime |