Eq. (29), p. 24 — with n0 = 0 and k(∅) = 0, Σ_k (1 − r_k) ∏_{j>k} r_j^{nj+1} Σ_{n≤nk} r_k^n = 1 for r_j = k(T1,…,Tj)/k(T1,…,Tj,T)
ProvedTokenQueue.ProductForm.eq_29p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1queueingtelescoping
Let be positive on non-empty sequences of distinct tokens, with . For distinct tokens and counts , with ,
The sum telescopes; it is the step of Appendix A that shows that the release terms of (13) add up to , and it is used again, with and , for (14).
Formalization Note The page writes in the first numerator, a typo for . Neither Condition 1 nor Condition 2 is needed. The counts are an arbitrary function with ; prefixes are l.take k.
Preamble
import Mathlib import Definitions.Def_TokenQueue_ProductForm_Model
Formal statement
namespace TokenQueue.ProductForm
open Finset
/-- Eq. (29), p. 24: with `n₀ = 0` and `k(∅) = 0`, for distinct tokens `T₁,…,T_i,T` and any counts
`n₁,…,n_i`,
`∑_{k=0}^{i} (k(T₁..T_k,T) − k(T₁..T_k))/k(T₁..T_k,T) · ∏_{j=k+1}^{i} (k(T₁..T_j)/k(T₁..T_j,T))^{n_j+1}
· ∑_{n=0}^{n_k} (k(T₁..T_k)/k(T₁..T_k,T))^n = 1`. -/
theorem eq_29 {C T : Type} [Fintype C] [DecidableEq C] [Fintype T] [DecidableEq T]
(P : Params C T) (hk : KPos P) (l : List T) (t : T) (hl : (t :: l).Nodup)
(n : ℕ → ℕ) (hn : n 0 = 0) :
∑ k ∈ range (l.length + 1),
(kfun P (l.take k ++ [t]) - kfun P (l.take k)) / kfun P (l.take k ++ [t]) *
(∏ j ∈ Icc (k + 1) l.length, (kfun P (l.take j) / kfun P (l.take j ++ [t])) ^ (n j + 1)) *
∑ m ∈ range (n k + 1), (kfun P (l.take k) / kfun P (l.take k ++ [t])) ^ m = 1 := by sorry
end TokenQueue.ProductForm
Source
Ayesta, Bodas, Dorsman, Verloop, A token-based central queue with order-independent service rates, arXiv:1902.02137v1, p. 24, Appendix A, Eq. (29)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.