Theorem 6.10 — large deviations for a queue with many sources
DisprovedKellyStochasticNetworks.EffectiveBandwidth.many_sourcesLet be a fixed finite set of source classes and their base multiplicities. On a probability space, let be real workloads, measurable for each interval, nonnegative and additive over ordered adjacent intervals, and zero on intervals of length zero. The source processes are mutually independent; their whole-process distributions may depend on but not on . Their increments are stationary: has the same law as for . For each class and each nonnegative finite duration, assume the exponential moment is finite in a neighborhood of zero, as in the chapter's local-MGF convention. Fix and .
For each integer scale , set
Assume these extended-real workloads are measurable, as required by their description as random variables, and let . With , the claimed limit is
This is the chapter's many-sources, infinite-horizon buffer-overflow target. Finding F4 gives a counterexample to the printed claim even with positive buffer and stable bounded-rate stationary sources: the strict overflow probability can be zero while the variational rate is finite. The faithful statement is retained as printed and is expected to be disproved. Finding F1 separately records the sketch's unsupported infinite-time upper bound; no repair hypothesis is assumed.
Formalization Note All suprema, infima, and logarithmic rates here use extended reals, so and are retained. The source's is represented by the log MGF itself, including the zero-tilt and zero-time boundaries. The scale is reindexed as and sources from zero. Nonnegative additive increments use the usual half-open interval convention for endpoint arrivals. Capacity and buffer are strictly positive, the regime in which both grow under scaling. The displayed source formulas are expanded directly in the Lean theorem to make its standalone blind audit self-contained; they agree with the model definition. No stability, temporal mixing, uniform-tail, or interior-optimizer assumption has been added to this goal.
import Mathlib open MeasureTheory ProbabilityTheory Filter Topology open scoped BigOperators ENNReal
namespace KellyStochasticNetworks.EffectiveBandwidth
theorem many_sources {Ω J : Type*} [MeasurableSpace Ω] [Fintype J]
(P : Measure Ω) [IsProbabilityMeasure P]
(X : J → ℕ → ℝ → ℝ → Ω → ℝ) (n : J → ℕ)
(C B : ℝ) (hC : 0 < C) (hB : 0 < B)
(hmeas : ∀ j i a b, Measurable (X j i a b))
(hindep : iIndepFun
(fun k : J × ℕ => fun ω => fun ab : ℝ × ℝ => X k.1 k.2 ab.1 ab.2 ω) P)
(hident : ∀ j i, IdentDistrib
(fun ω => fun ab : ℝ × ℝ => X j i ab.1 ab.2 ω)
(fun ω => fun ab : ℝ × ℝ => X j 0 ab.1 ab.2 ω) P P)
(hstationary : ∀ j i a b, a ≤ b →
IdentDistrib (X j i a b) (X j i 0 (b - a)) P P)
(hzero : ∀ j i a ω, X j i a a ω = 0)
(hadd : ∀ j i a b d ω, a ≤ b → b ≤ d →
X j i a d ω = X j i a b ω + X j i b d ω)
(hnonneg : ∀ j i a b ω, a ≤ b → 0 ≤ X j i a b ω)
(hlocal : ∀ j t, 0 ≤ t → ∃ δ : ℝ, 0 < δ ∧ ∀ s : ℝ, |s| < δ →
Integrable (fun ω => Real.exp (s * X j 0 0 t ω)) P) :
let S : ℕ → ℝ → ℝ → Ω → ℝ := fun N a b ω =>
∑ j, ∑ i ∈ Finset.range (n j * N), X j i a b ω
let Q : ℕ → Ω → EReal := fun N ω =>
⨆ t : {t : ℝ // 0 ≤ t}, ((S N (-t.val) 0 ω - (C * N) * t.val : ℝ) : EReal)
(∀ N, Measurable (Q N)) →
Tendsto
(fun N : ℕ => ((((N + 1 : ℕ) : ℝ)⁻¹ : EReal) *
ENNReal.log (P {ω | ((B * (N + 1) : ℝ) : EReal) < Q (N + 1) ω})))
atTop (𝓝 (⨆ t : {t : ℝ // 0 ≤ t}, ⨅ s : {s : ℝ // 0 ≤ s},
(∑ j, (n j : EReal) *
ENNReal.log (∫⁻ ω, ENNReal.ofReal (Real.exp (s.val * X j 0 0 t.val ω)) ∂P)) -
((s.val * (B + C * t.val) : ℝ) : EReal))) := by sorry
end KellyStochasticNetworks.EffectiveBandwidth
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a measurable space with a probability measure , and let be a finite index set. You may read as a set of source types. The data are as follows.
- Process. A family of real-valued random variables
Read as the amount produced by the -th copy of a type- source over the time interval from to .
- Multiplicities. A function . The number is a multiplicity attached to type .
- Constants. Two reals and .
Hypotheses. The process is assumed to satisfy all of the following.
- Measurability. Every is measurable.
- Independence. The random sample paths , indexed by , are mutually independent under . The path space carries the product σ-algebra, so this is independence of the finite-dimensional distributions.
- Identical copies. For every and , the path has the same law (on that product σ-algebra) as the path of copy , .
- Stationary increments. For every , and , the variable has the same law as . This is a statement about one-dimensional marginals only.
- Zero on empty intervals. for every and every .
- Additivity. For every and every ,
- Nonnegativity. For every and every , .
- Local exponential moments. For every and every there is a such that is -integrable for all . The may depend on and .
Nothing is assumed about when , beyond measurability and the independence and identical-law statements.
Definitions inside the statement. For , define the aggregate
Define the extended-real quantity
The supremum is taken in the extended reals, so may equal . The term is by hypothesis 5, so .
Assertion. The statement is an implication.
If every (for all , including ) is measurable, then, as , the following convergence holds in the order topology of :
The conventions inside this formula are as follows.
- Logarithm. is the extended logarithm on , with and .
- Left-hand factor. The factor is a positive real, so it multiplies to .
- Expectation. is the integral of a nonnegative function. It equals when the exponential moment is infinite, and then its logarithm is .
- Weights . Each logarithm is weighted by in the extended reals, with the convention . So a type with contributes , and a type with and an infinite moment makes the whole sum .
- Only copy 0 appears. The right-hand side uses only copy of each type and only the interval from to .
Degenerate cases.
- Right-hand side is at most . At the bracket equals , so every inner infimum is at most .
- Left-hand side when the probability is . For a given the probability may be . The left-hand term is then , and if that happens for all large the assertion forces the right-hand side to be .
- empty, or every . Then and . Since , the event is empty, so every left-hand term is . On the right, , so both sides are .
- Identically zero process. satisfies every hypothesis, and gives the same outcome. So the hypotheses are jointly satisfiable.
- Index shift. The sequence uses , so there is no division by zero. enters only through the measurability premise, where because each inner sum has terms.
- Infinite . If , that belongs to the event, because .
- Measurability premise. The premise only ensures the event is measurable. Without it, of the set would be outer measure.
- Probability space. Because is a probability measure, is nonempty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.