Eq. (12), p. 7 (Appendix A, pp. 22–23) — the weights (10) satisfy µ(x)π(x) = 1{ni>0}λU π(…, ni − 1) + 1{ni=0}λTi({T1,…,Ti−1}) π(…, Ti−1, ni−1)
ProvedTokenQueue.ProductForm.eq_12p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1partial-balanceproduct-formqueueing
Let be the product-form weights (10) of the token-based central queue. For every state ,
This partial balance equation matches the departure flow out of with the arrival flow into ; it is one of the three equations (12)–(14) whose sum, with (1), gives the global balance equations (8).
Formalization Note The page prints with a missing brace. At both sides are , so the statement is made for . KPos and the standing assumptions () make the weights' denominators non-zero; the equation is a property of the weights alone, and holds for any constant multiple .
Preamble
import Mathlib import Definitions.Def_TokenQueue_ProductForm_Model
Formal statement
namespace TokenQueue.ProductForm
open Finset
/-- Eq. (12), p. 7 (proved in Appendix A, pp. 22–23): for every state `x ≠ (0)`,
`µ(x)π(x) = 1{n_i>0} λ_{𝒰({T₁,…,T_i})} π(T₁,n₁,…,T_i,n_i − 1)
+ 1{n_i=0} λ_{T_i}({T₁,…,T_{i-1}}) π(T₁,n₁,…,T_{i-1},n_{i-1})` for the weights (10). -/
theorem eq_12 {C T : Type} [Fintype C] [DecidableEq C] [Fintype T] [DecidableEq T]
(P : Params C T) (hS : P.Standing) (hk : KPos P) (x : State T) (hx : x.1 ≠ []) :
mu P x.1 * weightL P x.1 =
(if 0 < (x.1.getLast hx).2 then
lamU P (toks x.1).toFinset * weightL P (modLast (· - 1) x.1) else 0) +
(if (x.1.getLast hx).2 = 0 then
lamTok P (pre x.1 (x.1.length - 1)).toFinset (x.1.getLast hx).1 *
weightL P x.1.dropLast else 0) := by sorry
end TokenQueue.ProductForm
Source
Ayesta, Bodas, Dorsman, Verloop, A token-based central queue with order-independent service rates, arXiv:1902.02137v1, p. 7, Eq. (12); proof in Appendix A, pp. 22–23
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.