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.ParentEulerState |
| 2 | import Euler.ParentChildEulerMatch |
| 3 | |
| 4 | /-! The same exact packet that constructs the next particle map supplies |
| 5 | its physical Euler evolution. All new flow and Euler laws are proved |
| 6 | from the old evolution and the actual correction solver. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerParentPacketFrames.Evolution |
| 11 | |
| 12 | open Set EulerSmoothLimit EulerTransverseFrameCoordinates |
| 13 | EulerAllOrderCorrectionData EulerAllOrderDriftCorrection EulerPacketCorrectionCoefficients |
| 14 | EulerGraphInvariantFlow |
| 15 | |
| 16 | variable {A : Parent} (E : Evolution A) |
| 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 | {P : ℝ} [Fact (0 < P)] {κ : ℝ} {hκ : |κ| ≤ 1} |
| 21 | {Z R : FieldTower P A.T} |
| 22 | (B : Budget P A.T_pos (correctionData (A.transverseData m hm J support hSupport) P κ hκ Z R)) |
| 23 | (residual : ApproximationResidual P A.T_pos |
| 24 | (correctionData (A.transverseData m hm J support hSupport) P κ hκ Z R)) |
| 25 | {raw : EulerPacketProfileRecursion.VectorField} |
| 26 | (V : EulerPacketCylinderField.Field P A.T raw) (hV : Z=V.toFieldTower) |
| 27 | (G : EulerPhysicalGraphFlowBounds.Data P A.T) (hG : G.A=B.liftedPacketCoefficient P V) |
| 28 | (k : ℝ) (hk : k*κ=1) (hgraph : ∀ t q, graphConstraint k m (G.A.field t q)=0) |
| 29 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 30 | |
| 31 | def child : Evolution (A.child G k m hgraph nextEll hnext hnext1) where |
| 32 | inverse := E.inverse.child G k m hgraph nextEll hnext hnext1 |
| 33 | velocity := A.exactPacketVelocity m hm J support hSupport B residual k E.inverse.field E.velocity |
| 34 | pressure := A.exactPacketPressure m hm J support hSupport B residual k E.inverse.field E.pressure |
| 35 | force := A.exactPacketForce m hm J support hSupport B residual k E.inverse.field E.force |
| 36 | force_continuous := A.exactPacketForce_continuous m hm J support hSupport B residual k |
| 37 | E.inverse.field E.force E.inverse.continuous E.force_continuous |
| 38 | velocity_match := A.child_velocity_exact m hm J support hSupport B residual V hV G hG k |
| 39 | hgraph nextEll hnext hnext1 E.inverse.field E.inverse.left_inverse E.velocity E.velocity_match |
| 40 | velocity_differentiable := A.exactPacketVelocity_differentiableAt m hm J support hSupport B |
| 41 | residual k E.inverse.field E.inverse.left_inverse E.inverse.right_inverse E.inverse.continuous |
| 42 | E.velocity E.velocity_differentiable |
| 43 | pressure_differentiable t x := by |
| 44 | have hd := A.normalizedExactPressure_differentiableAt m hm J support hSupport B residual |
| 45 | k hk E.inverse.field E.inverse.right_inverse E.inverse.continuous E.pressure |
| 46 | E.pressure_differentiable t (A.ell⁻¹ • x) |
| 47 | exact (hd.comp x ((A.ell⁻¹ • ContinuousLinearMap.id ℝ Space).differentiableAt)).const_mul (A.ell^2) |
| 48 | pressure_gradient := A.exactPacketPressure_gradient m hm J support hSupport B residual |
| 49 | k hk E.inverse.field E.inverse.right_inverse E.inverse.continuous E.pressure E.force |
| 50 | E.pressure_differentiable E.pressure_gradient |
| 51 | momentum_zero := A.exactPacket_momentum m hm J support hSupport B residual k hk E.inverse.field |
| 52 | E.inverse.left_inverse E.inverse.right_inverse E.inverse.continuous E.velocity E.pressure |
| 53 | E.velocity_match E.velocity_differentiable E.pressure_differentiable E.momentum_zero |
| 54 | divergence_zero t ht x := |
| 55 | (A.exactPacket_euler m hm J support hSupport B residual k hk E.inverse.field |
| 56 | E.inverse.left_inverse E.inverse.right_inverse E.inverse.continuous E.velocity E.pressure |
| 57 | E.velocity_match E.velocity_differentiable E.pressure_differentiable E.momentum_zero |
| 58 | E.divergence_zero t ht x).2 |
| 59 | |
| 60 | @[simp] theorem child_velocity : |
| 61 | (E.child m hm J support hSupport B residual V hV G hG k hk hgraph nextEll hnext hnext1).velocity = |
| 62 | A.exactPacketVelocity m hm J support hSupport B residual k E.inverse.field E.velocity := rfl |
| 63 | |
| 64 | @[simp] theorem child_pressure : |
| 65 | (E.child m hm J support hSupport B residual V hV G hG k hk hgraph nextEll hnext hnext1).pressure = |
| 66 | A.exactPacketPressure m hm J support hSupport B residual k E.inverse.field E.pressure := rfl |
| 67 | |
| 68 | @[simp] theorem child_force : |
| 69 | (E.child m hm J support hSupport B residual V hV G hG k hk hgraph nextEll hnext hnext1).force = |
| 70 | A.exactPacketForce m hm J support hSupport B residual k E.inverse.field E.force := rfl |
| 71 | |
| 72 | end EulerParentPacketFrames.Evolution |