Documentation

LeanPool.OrderMaintenance.Proof.Top.TopParams

M5: the top structure's parameter conditions for a = 8, s = 11, β = 64 #

Heights 1, 2, 3 are checked by computation. Above, every quantity is linear in x = 8^k (with floors by constants), once the two quotients (τ_h - 1)/λ_{h-1} and Π_h/γ_{h-1} are bounded by constants (17 and 30).

theorem OrderMaintenance.Proof.Top.pows (k : ℕ) :
8 ^ (k + 4) = 4096 * 8 ^ k ∧ 8 ^ (k + 3) = 512 * 8 ^ k ∧ 8 ^ (k + 2) = 64 * 8 ^ k
theorem OrderMaintenance.Proof.Top.Wd_eq {P : Model.Params} (ha : P.a = 8) (h : ℕ) :
Wd P h = 2 * 8 ^ h
theorem OrderMaintenance.Proof.Top.Kd_eq {P : Model.Params} (ha : P.a = 8) (hs : P.s = 11) (h : ℕ) :
Kd P h = (2 * 8 ^ h + 2) / 9 + 1
theorem OrderMaintenance.Proof.Top.Pid_eq {P : Model.Params} (ha : P.a = 8) (hs : P.s = 11) (h : ℕ) :
Pid P h = 2 * 8 ^ h + 2 + 2 * ((2 * 8 ^ h + 2) / 9 + 1)
theorem OrderMaintenance.Proof.Top.taud_eq {P : Model.Params} (ha : P.a = 8) (k : ℕ) :
taud P (k + 2) = 8 ^ (k + 2) + 1 + Pid P (k + 1)
theorem OrderMaintenance.Proof.Top.lamd_eq {P : Model.Params} (ha : P.a = 8) (k : ℕ) :
lamd P (k + 2) = 8 ^ (k + 2) + 1 - Pid P (k + 1)
theorem OrderMaintenance.Proof.Top.lamK_8 {P : Model.Params} (ha : P.a = 8) (hs : P.s = 11) (h : ℕ) (h1 : 1 ≤ h) :
2 + 2 * Kd P h ≤ lamd P h
theorem OrderMaintenance.Proof.Top.piW_8 {P : Model.Params} (ha : P.a = 8) (hs : P.s = 11) (h : ℕ) (h2 : 2 ≤ h) :
Pid P (h - 1) ≤ Wd P h
theorem OrderMaintenance.Proof.Top.gam1_8 {P : Model.Params} (ha : P.a = 8) (hs : P.s = 11) (h : ℕ) (h1 : 1 ≤ h) :
1 ≤ gamd P h
theorem OrderMaintenance.Proof.Top.n0max_le {P : Model.Params} (ha : P.a = 8) (hs : P.s = 11) (k : ℕ) :
n0max P (k + 4) ≤ 27
theorem OrderMaintenance.Proof.Top.Dmax_le {P : Model.Params} (ha : P.a = 8) (hs : P.s = 11) (k : ℕ) :
Dmax P (k + 4) ≤ 58
theorem OrderMaintenance.Proof.Top.topHeightBounds_8 {P : Model.Params} (ha : P.a = 8) (hs : P.s = 11) (h : ℕ) (h1 : 1 ≤ h) :
n0max P h ≤ 27 ∧ Dmax P h ≤ 58

Uniform bounds for the top workload and drain budget, including the three small heights.

theorem OrderMaintenance.Proof.Top.room_8 {P : Model.Params} (ha : P.a = 8) (hs : P.s = 11) (hb : P.beta = 64) (h : ℕ) (h1 : 1 ≤ h) :
2 ^ Dmax P h * (n0max P h + 1) ≤ 2 ^ P.beta
theorem OrderMaintenance.Proof.Top.tab_8 {P : Model.Params} (ha : P.a = 8) (hs : P.s = 11) (h : ℕ) (h1 : 1 ≤ h) :
n0max P h + 2 * Dmax P h ≤ 160
theorem OrderMaintenance.Proof.Top.topParams_8 {P : Model.Params} (ha : P.a = 8) (hs : P.s = 11) (hb : P.beta = 64) :

The top structure's parameter conditions for a = 8, s = 11, β = 64.