Documentation

LeanPool.OrderMaintenance.Proof.Top.PresStart

M5: a drain's start keeps the invariant #

startDrain runs, keeps the core outside the top structure (TopRel), and its result satisfies the invariant with the job moved to afterDrain: this is SDOK, so the top structure's contract holds unconditionally.

A drain's start keeps the invariant.