Documentation

LeanPool.OrderMaintenance.Proof.Top.Len

M5: table lengths #

Every node serves at most Π_h (ew_le_any), so a live table has seen fewer than Dmax insertion events (Room.dr_lt): its length is bounded by a constant (TabLen).

theorem OrderMaintenance.Proof.Top.Timing.ew_le {s : TS} {cl : List ℕ} {oj : Option Model.Job} (Ti : Timing s cl oj) (hTP : TopParams s.P) {g : ℕ} (hg : ghostN s g) :
ew s cl g ≤ Pid s.P (ht s g)

A drain's targets weigh at most Π_h together.

theorem OrderMaintenance.Proof.Top.ew_le_any {s : TS} {cl : List ℕ} {ord : ℕ → List ℕ} {oj : Option Model.Job} (S : Shape s cl ord) (Ti : Timing s cl oj) (hTP : TopParams s.P) (hcap : cl.length + 2 ≤ Wd s.P (s.P.H - 1)) {T : ℕ} (hT : isN s T) :
ew s cl T ≤ Pid s.P (ht s T)

Every node serves at most Π_h.

theorem OrderMaintenance.Proof.Top.Room.dr_lt {s : TS} {cl : List ℕ} {ord : ℕ → List ℕ} {dr n0 : ℕ → ℕ} {oj : Option Model.Job} (Ro : Room s cl dr n0) (S : Shape s cl ord) (Ti : Timing s cl oj) (hTP : TopParams s.P) (hcap : cl.length + 2 ≤ Wd s.P (s.P.H - 1)) {T : ℕ} (hT : isN s T) :
dr T + 1 ≤ Dmax s.P (ht s T)

A live table has seen fewer than Dmax insertion events.

theorem OrderMaintenance.Proof.Top.Room.len_le {s : TS} {cl : List ℕ} {ord : ℕ → List ℕ} {dr n0 : ℕ → ℕ} {oj : Option Model.Job} (Ro : Room s cl dr n0) (S : Shape s cl ord) (Ti : Timing s cl oj) (hTP : TopParams s.P) (hcap : cl.length + 2 ≤ Wd s.P (s.P.H - 1)) {T : ℕ} (hT : isN s T) :
n0 T + 2 * dr T ≤ 160

The bound n0 + 2·dr ≤ 160 of a live table.