Proof sketch of Theorem 2(a), p. 16 (corrected: rates nondecreasing, not strictly increasing) — b/t_b ≤ b_max/t_{b_max} for every token load 1 ≤ b ≤ b_max
ProvedLLMThroughput.TokenBudget.rate_boundbatch-servicellm-inferencep2o-batch-pfp2ap2o-correctedp2o-gran-per-chapterp2o-plan-paperp2o-v1throughput
Maximal token processing rate. Let be the batch processing time of eq. (4). Here are integers, the block size divides the token budget (Assumption 1), and . Then every token load satisfies
The ratio is the rate at which a batch of load processes tokens. The inequality says that full batches are the fastest, so is the largest token processing rate of any schedule. It is the threshold of Theorem 2.
Formalization Note The parameters and are natural numbers because slots are integers. is in natural-number division, and the rates are real quotients.
Differences from the source:
- correction: the step-endpoint rates are strictly increasing in → only the maximum statement is asserted; reason: the strict claim is false when (e.g. , , , : both rates equal ), while the maximum statement holds for all
- reading: "at most tokens can be processed per unit time under any algorithm" → stated per batch here; reason: the time-aggregated form is the separate milestone eq. (43) (corrected)
- encoding: real with integer-valued slots → ; reason: and must be whole numbers of slots, so the instances coincide
- encoding: with and the rate → hypotheses , , ; reason: these only exclude cases where the formula or the rate is undefined
Preamble
import Mathlib import Definitions.Def_LLMThroughput_TokenBudget_Model
Formal statement
namespace LLMThroughput.TokenBudget
theorem rate_bound (P : Params) (hP : P.Valid) (b : ℕ) (hb1 : 1 ≤ b) (hb : b ≤ P.bmax) :
(b : ℝ) / (P.t b : ℝ) ≤ (P.bmax : ℝ) / (P.t P.bmax : ℝ) := by sorry
end LLMThroughput.TokenBudget
Source
Dai, Deng, Li & Peng, Throughput-Optimal Scheduling Algorithms for LLM Inference and AI Agents, arXiv:2504.07347v3, p. 16, proof sketch of Theorem 2(a); eq. (4) p. 10, Assumption 1 p. 11
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.