Eqs. (5) and (7), p. 6 — φ(release) = φ(shift) = φ(x)+1, and the inserted token's holder leaves at rate η(φ(x)+1)(k(T1,…,Tk,T) − k(T1,…,Tk))
ProvedTokenQueue.ProductForm.eq_5_7order-independent-queuep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1queueing
Let be a state of the token-based central queue, with .
- For a token , and , the state has one more customer than , and the holder of (at position ) leaves it at rate
- For , and , the state has one more customer than , and the holder of (at position ) leaves it at rate
These are the departure rates that enter the release and shift terms of the global balance equations (8).
Formalization Note shift is the corrected predecessor state described in the definitions item (the printed one is mis-indexed for and ). is the paper's 1-based index (j.val + 1 for j : Fin i).
Preamble
import Mathlib import Definitions.Def_TokenQueue_ProductForm_Model
Formal statement
namespace TokenQueue.ProductForm
open Finset
/-- Eqs. (5) and (7), p. 6: `φ(release_{k,n}(x,T)) = φ(shift_{k,n}(x,T_j)) = φ(x) + 1`, and the
customer holding the inserted token (position `k + 1`) leaves at rate
`η(φ(x)+1)(k(T₁,…,T_k,T) − k(T₁,…,T_k))`. -/
theorem eq_5_7 {C T : Type} [Fintype C] [DecidableEq C] [Fintype T] [DecidableEq T]
(P : Params C T) (x : State T) :
(∀ t : T, t ∉ toks x.1 → ∀ k ≤ x.1.length, ∀ n ≤ nAt x.1 k,
phi (release x.1 k n t) = phi x.1 + 1 ∧
muTok P (release x.1 k n t) k =
P.eta (phi x.1 + 1) * (kfun P (pre x.1 k ++ [t]) - kfun P (pre x.1 k))) ∧
(∀ j : Fin x.1.length, ∀ k ≤ j.val, ∀ n ≤ nAt x.1 k,
phi (shift x.1 (j.val + 1) k n (x.1.get j).1) = phi x.1 + 1 ∧
muTok P (shift x.1 (j.val + 1) k n (x.1.get j).1) k =
P.eta (phi x.1 + 1) * (kfun P (pre x.1 k ++ [(x.1.get j).1]) - kfun P (pre x.1 k))) := by sorry
end TokenQueue.ProductForm
Source
Ayesta, Bodas, Dorsman, Verloop, A token-based central queue with order-independent service rates, arXiv:1902.02137v1, p. 6, Eqs. (5) and (7)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.