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.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)
:
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)
:
The bound n0 + 2·dr ≤ 160 of a live table.