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.ParentPacketExactPressure |
| 2 | import Euler.ParentPacketExactDivergence |
| 3 | |
| 4 | /-! The new parent is the particle map of the actual corrected Euler |
| 5 | velocity, and its acceleration is minus the actual constructed pressure |
| 6 | force. Both matches are derived from the existing parent law and Euler. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerParentPacketFrames.Parent |
| 11 | |
| 12 | open Set EulerSmoothLimit EulerLiftedGradientSpace EulerTransverseFrameCoordinates |
| 13 | EulerAllOrderCorrectionData EulerAllOrderDriftCorrection EulerPacketCorrectionCoefficients |
| 14 | EulerGraphInvariantFlow EulerLagrangian |
| 15 | |
| 16 | variable (A : EulerParentPacketFrames.Parent) |
| 17 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 18 | (m : Space) (hm : ‖m‖=1) (J : U ≃ₗᵢ[ℝ] referencePlane m) |
| 19 | (support : Set Space) (hSupport : IsCompact support) |
| 20 | |
| 21 | |
| 22 | variable {P : ℝ} [Fact (0 < P)] {κ : ℝ} {hκ : |κ| ≤ 1} |
| 23 | {Z R : FieldTower P A.T} |
| 24 | (B : Budget P A.T_pos (correctionData (A.transverseData m hm J support hSupport) P κ hκ Z R)) |
| 25 | (residual : ApproximationResidual P A.T_pos (correctionData (A.transverseData m hm J support hSupport) P κ hκ Z R)) |
| 26 | {raw : EulerPacketProfileRecursion.VectorField} |
| 27 | (V : EulerPacketCylinderField.Field P A.T raw) (hV : Z=V.toFieldTower) |
| 28 | (G : EulerPhysicalGraphFlowBounds.Data P A.T) (hG : G.A=B.liftedPacketCoefficient P V) |
| 29 | (k : ℝ) (hk : k*κ=1) (hgraph : ∀ t q, graphConstraint k m (G.A.field t q)=0) |
| 30 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 31 | (Y : Icc (0 : ℝ) A.T → Space → Space) |
| 32 | (hYX : ∀ t x, Y t (A.position t x)=x) |
| 33 | (hXY : ∀ t x, A.position t (Y t x)=x) (hY : Continuous (Function.uncurry Y)) |
| 34 | (u : ℝ × Space → Space) (p : ℝ × Space → ℝ) |
| 35 | (force : Icc (0 : ℝ) A.T → Space → Space) |
| 36 | (hforce : Continuous (Function.uncurry force)) |
| 37 | (hgradient : ∀ (t : Icc (0 : ℝ) A.T) x, gradient (fun y => p (t,y)) x=force t x) |
| 38 | (hvelocity : ∀ (t : Icc (0 : ℝ) A.T) x, A.velocity.field t x=u (t,A.position t x)) |
| 39 | (hu : ∀ t ∈ Ioo 0 A.T, ∀ x, DifferentiableAt ℝ u (t,x)) |
| 40 | (hp : ∀ (t : Icc (0 : ℝ) A.T) x, DifferentiableAt ℝ (fun y => p (t,y)) x) |
| 41 | (heuler : ∀ t ∈ Ioo 0 A.T, ∀ x, momentumResidual u p (t,x)=0) |
| 42 | |
| 43 | include hV hG hYX hvelocity in |
| 44 | theorem child_velocity_exact (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 45 | (A.child G k m hgraph nextEll hnext hnext1).velocity.field t x = |
| 46 | A.exactPacketVelocity m hm J support hSupport B residual k Y u |
| 47 | (t,(A.child G k m hgraph nextEll hnext hnext1).position t x) := by |
| 48 | have h := A.child_velocity_corrected B V hV G hG k hgraph nextEll hnext hnext1 |
| 49 | Y (fun s y => u (s,y)) hYX hvelocity t x |
| 50 | exact h.trans |
| 51 | (A.exactPacketVelocity_eq_corrected m hm J support hSupport B residual k Y u t |
| 52 | ((A.child G k m hgraph nextEll hnext hnext1).position t x)).symm |
| 53 | |
| 54 | include hV hG hk hYX hXY hY hforce hgradient hvelocity hu hp heuler in |
| 55 | theorem child_acceleration_exact (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 56 | (A.child G k m hgraph nextEll hnext hnext1).acceleration.field t x = |
| 57 | -A.exactPacketForce m hm J support hSupport B residual k Y force t |
| 58 | ((A.child G k m hgraph nextEll hnext hnext1).position t x) := by |
| 59 | apply (A.child G k m hgraph nextEll hnext hnext1).acceleration_physical_of_euler |
| 60 | (A.exactPacketVelocity m hm J support hSupport B residual k Y u) |
| 61 | (A.exactPacketPressure m hm J support hSupport B residual k Y p) |
| 62 | (A.exactPacketForce m hm J support hSupport B residual k Y force) |
| 63 | (A.exactPacketForce_continuous m hm J support hSupport B residual k Y force hY hforce) |
| 64 | (A.exactPacketPressure_gradient m hm J support hSupport B residual k hk Y hXY hY p force hp hgradient) |
| 65 | (A.child_velocity_exact m hm J support hSupport B residual V hV G hG k hgraph |
| 66 | nextEll hnext hnext1 Y hYX u hvelocity) |
| 67 | (A.exactPacketVelocity_differentiableAt m hm J support hSupport B residual k Y hYX hXY hY u hu) |
| 68 | (A.exactPacket_momentum m hm J support hSupport B residual k hk Y hYX hXY hY u p hvelocity hu hp heuler) |
| 69 | t x |
| 70 | |
| 71 | end EulerParentPacketFrames.Parent |