Documentation

LeanPool.OrderMaintenance.Proof.Top.PresCopy

M5: path copy steps #

A copy step writes one level of the new chunks' paths (copyS). The state with the copy completed (finS) does not change, so the invariant carries over; only the job's position advances.

The job after copy step l.

Equations
Instances For

    The state after copy step l, as the code computes it.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem OrderMaintenance.Proof.Top.Timing.congr_job {s : TS} {cl : List ℕ} {oj oj' : Option Model.Job} (Ti : Timing s cl oj) (hp : pend s oj' = pend s oj) (hs : ∀ (v : ℕ), slack s oj' v = slack s oj v) (hf : ∀ (v : ℕ), funded s oj' v ↔ funded s oj v) :
      Timing s cl oj'

      Timing depends on the job only through the lagging nodes, the sweeps owed, and funding.

      theorem OrderMaintenance.Proof.Top.copyRest_congr {j j' : Model.Job} (hx : j'.x = j.x) (hy : j'.y = j.y) (hz : j'.z = j.z) (H k : ℕ) (t : TS) (l : ℕ) :
      H + 1 - l = k → copyRest j' H t l = copyRest j H t l
      theorem OrderMaintenance.Proof.Top.copyS_P (t : TS) (j : Model.Job) (l : ℕ) :
      (copyS t j l).P = t.P
      theorem OrderMaintenance.Proof.Top.copyRest_P (j : Model.Job) (H k : ℕ) (t : TS) (l : ℕ) :
      H + 1 - l = k → (copyRest j H t l).P = t.P
      theorem OrderMaintenance.Proof.Top.copyRest_step (j : Model.Job) (H : ℕ) (t : TS) (l : ℕ) (hl : l ≤ H) :
      copyRest j H t l = copyRest j H (copyS t j l) (l + 1)
      theorem OrderMaintenance.Proof.Top.inv_copy {s : Model.Core} {cl : List ℕ} {ord : ℕ → List ℕ} {dr n0 : ℕ → ℕ} {j : Model.Job} {l : ℕ} (hpc : j.pc = Model.JobPc.copy l) (hI : InvJ (finS (ts s) (some j)) cl ord dr n0 (some j)) :
      InvJ (finS (ts (copyC s j l)) (some (copyNext s.P j l))) cl ord dr n0 (some (copyNext s.P j l))

      A copy step keeps the invariant: the completed state is unchanged.