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 Euler.ChildParticleFieldBounds |
| 3 | |
| 4 | /-! The L² child fields used in the estimates are exactly the actual |
| 5 | first and second time derivatives of the composed particle map. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerChildParticleTime |
| 10 | |
| 11 | open Set EulerSmoothLimit |
| 12 | |
| 13 | variable {T : ℝ} |
| 14 | |
| 15 | /-- Compatibility of two actual realizations of the six input fields. |
| 16 | These are literal value identities, not derivative or output assumptions. -/ |
| 17 | structure Representation (G : Icc (0 : ℝ) T → EulerChildParticleFieldBounds.Data) |
| 18 | (P P₁ P₂ D D₁ D₂ : SmoothTimeField (Icc (0 : ℝ) T) Space Space) : Prop where |
| 19 | parentDisplacement : ∀ t x, (G t).parentDisplacement.field x=P.field t x |
| 20 | parentVelocity : ∀ t x, (G t).parentVelocity.field x=P₁.field t x |
| 21 | parentAcceleration : ∀ t x, (G t).parentAcceleration.field x=P₂.field t x |
| 22 | displacement : ∀ t x, (G t).displacement.field x=D.field t x |
| 23 | velocity : ∀ t x, (G t).velocity.field x=D₁.field t x |
| 24 | acceleration : ∀ t x, (G t).acceleration.field x=D₂.field t x |
| 25 | |
| 26 | namespace Representation |
| 27 | |
| 28 | variable {G : Icc (0 : ℝ) T → EulerChildParticleFieldBounds.Data} |
| 29 | {P P₁ P₂ D D₁ D₂ : SmoothTimeField (Icc (0 : ℝ) T) Space Space} |
| 30 | (H : Representation G P P₁ P₂ D D₁ D₂) |
| 31 | |
| 32 | include H |
| 33 | |
| 34 | theorem childDisplacement (t : Icc (0 : ℝ) T) (x : Space) : |
| 35 | (G t).childDisplacement.field x=(EulerChildParticleTime.displacement P D).field t x := by |
| 36 | rw [EulerChildParticleFieldBounds.Data.childDisplacement_apply,displacement_apply] |
| 37 | simp only [EulerChildParticleFieldBounds.Data.inner,H.parentDisplacement,H.displacement] |
| 38 | |
| 39 | theorem childVelocity (t : Icc (0 : ℝ) T) (x : Space) : |
| 40 | (G t).childVelocity.field x=(EulerChildParticleTime.velocity P P₁ D D₁).field t x := by |
| 41 | rw [EulerChildParticleFieldBounds.Data.childVelocity_apply,velocity_apply] |
| 42 | have he : (G t).parentDisplacement.field = (P.field t : Space → Space) := |
| 43 | funext (H.parentDisplacement t) |
| 44 | simp only [EulerChildParticleFieldBounds.Data.inner,he,H.parentVelocity,H.displacement,H.velocity] |
| 45 | |
| 46 | theorem childAcceleration (t : Icc (0 : ℝ) T) (x : Space) : |
| 47 | (G t).childAcceleration.field x=(EulerChildParticleTime.acceleration P P₁ P₂ D D₁ D₂).field t x := by |
| 48 | rw [EulerChildParticleFieldBounds.Data.childAcceleration_apply,acceleration_apply] |
| 49 | have he : (G t).parentDisplacement.field = (P.field t : Space → Space) := |
| 50 | funext (H.parentDisplacement t) |
| 51 | have he₁ : (G t).parentVelocity.field = (P₁.field t : Space → Space) := |
| 52 | funext (H.parentVelocity t) |
| 53 | simp only [EulerChildParticleFieldBounds.Data.inner,he,he₁, |
| 54 | H.parentAcceleration,H.displacement,H.velocity,H.acceleration] |
| 55 | |
| 56 | variable {hT : 0 ≤ T} |
| 57 | |
| 58 | theorem displacement_hasDerivWithinAt |
| 59 | (hP : SmoothTimeField.TimeDerivative T hT P P₁) |
| 60 | (hD : SmoothTimeField.TimeDerivative T hT D D₁) |
| 61 | (t : Icc (0 : ℝ) T) (x : Space) : |
| 62 | HasDerivWithinAt (fun s => (G (projIcc 0 T hT s)).childDisplacement.field x) |
| 63 | ((G t).childVelocity.field x) (Icc (0 : ℝ) T) t := by |
| 64 | have he : (fun s => (G (projIcc 0 T hT s)).childDisplacement.field x) = |
| 65 | (fun s => (EulerChildParticleTime.displacement P D).realField T hT s x) := by |
| 66 | funext s |
| 67 | exact H.childDisplacement (projIcc 0 T hT s) x |
| 68 | rw [he,H.childVelocity] |
| 69 | exact displacement_time hP hD t x |
| 70 | |
| 71 | theorem velocity_hasDerivWithinAt |
| 72 | (hP : SmoothTimeField.TimeDerivative T hT P P₁) |
| 73 | (hP₁ : SmoothTimeField.TimeDerivative T hT P₁ P₂) |
| 74 | (hD : SmoothTimeField.TimeDerivative T hT D D₁) |
| 75 | (hD₁ : SmoothTimeField.TimeDerivative T hT D₁ D₂) |
| 76 | (t : Icc (0 : ℝ) T) (x : Space) : |
| 77 | HasDerivWithinAt (fun s => (G (projIcc 0 T hT s)).childVelocity.field x) |
| 78 | ((G t).childAcceleration.field x) (Icc (0 : ℝ) T) t := by |
| 79 | have he : (fun s => (G (projIcc 0 T hT s)).childVelocity.field x) = |
| 80 | (fun s => (EulerChildParticleTime.velocity P P₁ D D₁).realField T hT s x) := by |
| 81 | funext s |
| 82 | exact H.childVelocity (projIcc 0 T hT s) x |
| 83 | rw [he,H.childAcceleration] |
| 84 | exact velocity_time hP hP₁ hD hD₁ t x |
| 85 | |
| 86 | theorem composition_hasDerivWithinAt |
| 87 | (hP : SmoothTimeField.TimeDerivative T hT P P₁) |
| 88 | (hD : SmoothTimeField.TimeDerivative T hT D D₁) |
| 89 | (t : Icc (0 : ℝ) T) (x : Space) : |
| 90 | HasDerivWithinAt (fun s => |
| 91 | let F := G (projIcc 0 T hT s) |
| 92 | (x+F.displacement.field x)+F.parentDisplacement.field (x+F.displacement.field x)) |
| 93 | ((G t).childVelocity.field x) (Icc (0 : ℝ) T) t := by |
| 94 | have h := (H.displacement_hasDerivWithinAt hP hD t x).const_add x |
| 95 | have he : (fun s => x+(G (projIcc 0 T hT s)).childDisplacement.field x) = |
| 96 | (fun s => |
| 97 | let F := G (projIcc 0 T hT s) |
| 98 | (x+F.displacement.field x)+F.parentDisplacement.field (x+F.displacement.field x)) := by |
| 99 | funext s |
| 100 | rw [EulerChildParticleFieldBounds.Data.childDisplacement_apply] |
| 101 | simp only [EulerChildParticleFieldBounds.Data.inner] |
| 102 | abel |
| 103 | rw [← he] |
| 104 | exact h |
| 105 | |
| 106 | end Representation |
| 107 | end EulerChildParticleTime |