Theorem 8.2 — stability region of weighted alpha-fair allocations
ProvedKellyStochasticNetworks.FlowStability.stability_iffConsider finitely many resources and routes, each route using at least one resource, with positive capacities , independent Poisson arrival intensities , independent exponential file-size parameters , positive weights , and . At every state , let be the weighted -fair aggregate allocation. The countable Markov process has birth rates and departure rates on active routes. Write .
The process is positive recurrent, equivalently it has an equilibrium probability distribution, if and only if
The equivalence includes failure of positive recurrence at equality as well as above capacity. It characterizes the full stochastic stability region, beyond the deterministic drift inequality.
Formalization Note Equilibrium means invariance under every nonnegative-time transition kernel of the explicit bounded-rate Poisson uniformization on . A probability measure on the canonical path space is also required to realize the corresponding stationary Markov finite-dimensional distributions. Counts are not truncated. Existence of an equilibrium distribution, irreducibility, and any drift bound are not assumptions of the theorem. Positive parameter conventions are the standing nondegenerate model used in the source's Lyapunov calculation; an absent route may be omitted.
import Mathlib import Definitions.Def_KellyStochasticNetworks_FlowStability_Process
namespace KellyStochasticNetworks.FlowStability
/-- Theorem 8.2. Network includes finite 0-1 incidence, a nonempty resource set for
each route, positive capacities, arrival rates, exponential SIZE PARAMETERS mu,
weights, and alpha (all strictly positive). IsAlphaFair maximizes the published aggregate utility at each
count vector, with inactive rates zero and positive active rates. The process has
birth rates nu_r and departure rates mu_r X_r(n), X_r=n_r x_r. PositiveRecurrent
means existence of a probability mass function invariant at EVERY t>=0 under the
Poisson-uniformized transition function on Fin R -> Nat, together with a probability
measure on (NNReal -> (Fin R -> Nat)) whose coordinate process has the stationary
Markov finite-dimensional laws pi(y0) times the product of those transition kernels
for every finite nondecreasing list of nonnegative times. No drift, stationary
law, or process measure is a hypothesis. Subcritical means sum_r A_jr (nu_r/mu_r) < C_j for every j. -/
theorem stability_iff {J R : ℕ} (D : Network J R)
(X : State R → Fin R → ℝ) (hX : IsAlphaFair D X) :
PositiveRecurrent D X ↔ Subcritical D := by sorry
end KellyStochasticNetworks.FlowStability
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The statement asserts the following, for any natural numbers and .
Data.
- is an object of type
Network J R. Here is the number of resources, indexed by , and is the number of routes, indexed by . The fields and well-formedness conditions ofNetworkare defined in the imported fileDefinitions.Def_KellyStochasticNetworks_FlowStability_Process, which is not shown here. - is a function that takes a state (of type
State R) and a route and returns a real number .State Ris also defined in the unseen file. - is a hypothesis that satisfies the predicate
IsAlphaFairfor the network .
Conclusion. Under these assumptions,
This is a two-way equivalence: each condition implies the other.
What the visible code does not show. None of Network, State, IsAlphaFair, PositiveRecurrent or Subcritical is defined in the code shown. Their meaning cannot be checked from this declaration alone. The only description available is the author's doc-comment, which is a description and not the code. According to it:
-
Networkpackages:- a finite 0–1 incidence matrix , in which each route uses a nonempty set of resources;
- capacities ;
- arrival rates ;
- exponential size parameters ;
- weights ;
- a fairness parameter .
-
IsAlphaFairsays that at each count vector , the rates maximize the aggregate utility defined in the source paper. Rates of inactive routes are zero, rates of active routes are positive, and . -
PositiveRecurrentconcerns the process on states . In this process, route gains a flow at rate and loses one at rate . The predicate requires two things to exist:- a probability mass function that is invariant at every time under the Poisson-uniformized transition function;
- a probability measure on paths indexed by whose coordinate process has the stationary Markov finite-dimensional laws. For every finite nondecreasing list of times, these laws are multiplied by the corresponding transition kernels.
The comment says no drift condition, stationary law or process measure is assumed as a hypothesis.
-
Subcriticalmeans that for every resource :
Degenerate cases. These follow from the visible structure and, where noted, the comment's description; none could be confirmed against the unseen definitions.
- (no resources). If
Subcriticalquantifies over all resources as described, it holds vacuously, and the theorem would then assert positive recurrence. However, ifNetworkreally requires every route to use a nonempty set of resources, then no network with and exists, and the statement is vacuous for those sizes. - (no routes). There is exactly one state: the empty count vector. Each sum is , so
Subcriticalreduces to for all , which positive capacities would guarantee. The theorem then asserts that the one-state process is positive recurrent. - Division . If , real division returns . The comment says every , but that is not visible in this code.
- An unsatisfiable
IsAlphaFair. If no satisfiesIsAlphaFairfor some (for example, because the utility maximization has no solution at some state), the theorem says nothing about that . - Values that do not come from the network. is an arbitrary real-valued function, constrained only through . Whether
IsAlphaFairpins down uniquely, or forces nonnegative values, depends on the unseen definition.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.