Documentation

CslibFrontier.GameTheory.ResourceAllocation.NetworkUtilityMax

Multi-link network utility maximization, dual congestion control, and wireless Max-Weight #

This module formalizes Section 22.1 of Ozdaglar and Srikant ([OS07], pp. 572–578; building on [Kel97]): competitive pricing and decentralized dual congestion control in multi-link communication networks, together with the wireless Max-Weight scheduling extension.

  1. Multi-link Network Utility Maximization (NUM, Eqs. (22.1)–(22.7), pp. 572–575): A finite network NetworkUtilityModel R L consists of sources/routes R, links L, route incidence route : R → Finset L, link capacities capacity : L → ℝ, and utility functions utility : R → ℝ → ℝ. The aggregate rate on link l is linkLoad x l = ∑_{r : l ∈ r} x_r, and the route price of source r under link prices p is routePrice p r = ∑_{l ∈ r} p_l, satisfying the adjoint identity qᵀ x = pᵀ y (sum_routePrice_mul_eq_sum_price_mul_linkLoad). For concave utilities differentiable on [0, ∞) (such as IsAdmissibleUtility), the KKT conditions IsKKT (U'_r(x̂_r) ≤ q̂_r with equality at x̂_r > 0, matching Eq. (22.2) on interior rates, plus Eqs. (22.3)–(22.5)) are both necessary (via Farkas' lemma) and sufficient for social optimality (isSocialOptimum_iff_exists_isKKT), decentralize the optimum via price-taking net-utility maximization (IsKKT.priceTaking_optimal, Eq. (22.7)), yield a unique optimal rate vector under strict concavity (IsSocialOptimum.eq_of_strictConcaveOn), and yield unique Lagrange multipliers at positive rates when the routing matrix has full row rank (Function.Injective M.routePrice, IsKKT.price_eq_of_injective_routePrice).

  2. Weighted Proportionally Fair Allocation (Eqs. (22.8)–(22.12), pp. 574, 576; [Vaz07], §5.13, p. 125): For positive bids w : R → ℝ, positive capacities, and nonempty routes, the weighted proportionally fair allocation IsWeightedPropFair (∑_r w_r (y_r - x*_r) / x*_r ≤ 0 for all feasible y) exists uniquely (existsUnique_isWeightedPropFair), coincides with maximizing ∑_r w_r log x_r over positive feasible rates (isWeightedPropFair_iff_max_log, Eq. (22.8)), and is characterized by the KKT system IsWeightedPropFairKKT (w_r / x*_r = q*_r, Eqs. (22.9)–(22.12)). Setting w_r = x̂_r U'_r(x̂_r) aligns the proportionally fair optimum with the social optimum (IsKKT.isWeightedPropFairKKT_of_myopicBids), and facing route price q_r > 0, a myopic price-taker maximizing U_r(w_r / q_r) - w_r selects w_r satisfying U'_r(w_r / q_r) = q_r (myopicBid_isMax_iff_derivWithin_eq, Eq. (22.15)).

  3. Dual Congestion Control Lyapunov Stability and Global Convergence (Eqs. (22.13)–(22.15), pp. 575–576): Under the Carathéodory integral form of the projected link-price dynamics p_l(t) = p_l(0) + ∫_0^t (y_l(s) - c_l)^+_{p_l(s)} ds (IsDualPriceTrajectory, Eq. (22.13)), the quadratic Lyapunov function lyapunov pStar p = (1 / 2) ∑_l (p_l - p*_l)^2 satisfies the integral drift inequality V(p(b)) - V(p(a)) ≤ ∫_a^b ∑_r (q_r(s) - q*_r) (x_r(s) - x*_r) ds (lyapunov_sub_le_integral). Both under fixed bids x_r = w_r / q_r (Eq. (22.14)) and under myopic price-taking rate control (U'_r(x_r) ≤ q_r with equality at x_r > 0, generalizing Eq. (22.15) to [0, ∞)) for strictly concave admissible utilities, lyapunov pStar ∘ p is nonincreasing on [0, ∞) and the trajectory converges globally: x(t) → x*, q_r(t) → q*_r for every route with 0 < x*_r (and all routes under fixed bids), and under full row rank (with 0 < x* in the myopic case) p(t) → p* (tendsto_of_fixedBids, tendsto_of_myopic).

  4. Wireless Network Utility Maximization and Max-Weight Scheduling (Eqs. (22.16)–(22.21), pp. 577–578): Extending NetworkUtilityModel with a finite family of interference-free link schedules schedule : S → Finset L (WirelessNetworkModel), the scheduling dual subproblem (Eq. (22.20)) attains its exact maximum at a maximum-weighted-price corner schedule (sum_price_mul_scheduledCapacity_le_maxWeight, exists_maxWeight_corner). The wireless KKT conditions (IsWirelessKKT) are necessary and sufficient for joint rate-and-schedule optimality (IsWirelessKKT.isWirelessOptimum, IsWirelessOptimum.exists_isWirelessKKT). Under the Carathéodory integral model with relaxed Max-Weight scheduling (IsWirelessDualTrajectory, p_l(t) = p_l(0) + ∫_0^t (y_l(s) - ∑_{s' : l ∈ M_{s'}} f_{s'}(s) c_l)^+_{p_l(s)} ds, Eq. (22.21)), Lean takes a supplied maximizing fractional schedule allocation f(t) (IsScheduleDist) at each instant rather than choosing a single maximizing schedule at each instant as on p. 578; this admits a Filippov sliding-mode interpretation, though the results do not identify solutions with the Filippov regularization of a single-schedule controller, establish trajectory existence, or provide the source's approximate distributed scheduler. Along any such trajectory, lyapunov pStar ∘ p obeys the same integral drift bound (IsWirelessDualTrajectory.lyapunov_sub_le_integral), is nonincreasing, and converges globally under myopic rate control (IsWirelessDualTrajectory.tendsto_of_myopic).

Main definitions #

Main results #

References #

Private analysis helpers (concavity, Barbalat) #

theorem Cslib.GameTheory.uniform_modulus_of_strictAntiOn {f : ℝ → ℝ} (hf : StrictAntiOn f (Set.Ici 0)) {X : ℝ} (hX : 0 ≤ X) {ε : ℝ} (hε : 0 < ε) :
∃ η > 0, ∀ a ∈ Set.Icc 0 X, ∀ b ∈ Set.Icc 0 X, |f a - f b| < η → |a - b| < ε

Uniform continuity of the inverse of any strictly antitone function on a bounded interval [0, X]: small changes in f a force small changes in a.

Shared dual-dynamics definitions (projDrift, lyapunov, myopic bid optimality) #

theorem Cslib.GameTheory.myopicBid_isMax_iff_derivWithin_eq {u : ℝ → ℝ} (hconc : ConcaveOn ℝ (Set.Ici 0) u) (hdiff : DifferentiableOn ℝ u (Set.Ici 0)) {q w : ℝ} (hq : 0 < q) (hw : 0 < w) :
(∀ (t : ℝ), 0 ≤ t → u (t / q) - t ≤ u (w / q) - w) ↔ derivWithin u (Set.Ici 0) (w / q) = q

Myopic price-taking bid optimality ([OS07], §22.1, Eq. (22.15), p. 576): facing route price q > 0 with a concave differentiable utility u on [0, ∞), a positive bid w > 0 maximizes instantaneous net utility t ↦ u (t / q) - t over t ≥ 0 if and only if u'(w / q) = q (equivalently w = (w / q) * u'(w / q)).

noncomputable def Cslib.GameTheory.projDrift (a b : ℝ) :

Projected price drift (a)^+_b = max a 0 when b ≤ 0 and a when b > 0 ([OS07], §22.1, Eq. (22.13), p. 575).

noncomputable def Cslib.GameTheory.lyapunov {L : Type u_1} [Fintype L] (pStar p : L → ℝ) :

Quadratic Lyapunov function V(p) = (1 / 2) ∑_l (p_l - p*_l)^2 ([OS07], §22.1, p. 575).

theorem Cslib.GameTheory.lyapunov_nonneg {L : Type u_1} [Fintype L] (pStar p : L → ℝ) :
0 ≤ lyapunov pStar p
theorem Cslib.GameTheory.lyapunov_eq_zero_iff {L : Type u_1} [Fintype L] {pStar p : L → ℝ} :
lyapunov pStar p = 0 ↔ p = pStar
theorem Cslib.GameTheory.mul_projDrift_le {a p pStar : ℝ} (hp : 0 ≤ p) (hpStar : 0 ≤ pStar) :
(p - pStar) * projDrift a p ≤ (p - pStar) * a
theorem Cslib.GameTheory.integral_traj_sub {p d : ℝ → ℝ} (hp : ∀ t ∈ Set.Ici 0, IntervalIntegrable d MeasureTheory.volume 0 t ∧ p t = p 0 + ∫ (s : ℝ) in 0..t, d s) {a b : ℝ} (ha : a ∈ Set.Ici 0) (hb : b ∈ Set.Ici 0) :
theorem Cslib.GameTheory.continuousOn_of_integral_traj {p d : ℝ → ℝ} (hp : ∀ t ∈ Set.Ici 0, IntervalIntegrable d MeasureTheory.volume 0 t ∧ p t = p 0 + ∫ (s : ℝ) in 0..t, d s) {a b : ℝ} (ha : a ∈ Set.Ici 0) (hb : b ∈ Set.Ici 0) :
theorem Cslib.GameTheory.lyapunov_sub_eq_integral {L : Type u_1} [Fintype L] {p d : ℝ → L → ℝ} {pStar : L → ℝ} (hp : ∀ (l : L), ∀ t ∈ Set.Ici 0, IntervalIntegrable (fun (s : ℝ) => d s l) MeasureTheory.volume 0 t ∧ p t l = p 0 l + ∫ (s : ℝ) in 0..t, d s l) {a b : ℝ} (ha : a ∈ Set.Ici 0) (hb : b ∈ Set.Ici 0) :
IntervalIntegrable (fun (s : ℝ) => ∑ l : L, (p s l - pStar l) * d s l) MeasureTheory.volume a b ∧ lyapunov pStar (p b) - lyapunov pStar (p a) = ∫ (s : ℝ) in a..b, ∑ l : L, (p s l - pStar l) * d s l
structure Cslib.GameTheory.NetworkUtilityModel (R : Type u_1) (L : Type u_2) :
Type (max u_1 u_2)

A multi-link network utility maximization (NUM) instance with sources/routes R, links L, route incidence route : R → Finset L, link capacities capacity : L → ℝ, and source utilities utility : R → ℝ → ℝ ([OS07], §22.1, pp. 572–573; [Kel97]).

  • route : R → Finset L

    Set of links traversed by source r.

  • capacity : L → ℝ

    Available bandwidth capacity c_l of link l.

  • utility : R → ℝ → ℝ

    Utility function U_r of source r on [0, ∞).

def Cslib.GameTheory.NetworkUtilityModel.linkLoad {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [DecidableEq L] (x : R → ℝ) (l : L) :

Aggregate arrival rate y_l = ∑_{r : l ∈ r} x_r on link l.

def Cslib.GameTheory.NetworkUtilityModel.routePrice {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) (p : L → ℝ) (r : R) :

Aggregate price q_r = ∑_{l ∈ r} p_l along route r ([OS07], Eq. (22.6)).

Feasibility of a rate vector x : R → ℝ: x ≥ 0 and R x ≤ c ([OS07], Eqs. (22.1), (22.4)–(22.5)).

def Cslib.GameTheory.NetworkUtilityModel.welfare {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] (x : R → ℝ) :

Aggregate social welfare ∑_r U_r(x_r) of a rate vector x.

A feasible rate vector x is socially optimal if it maximizes aggregate utility over all feasible rate vectors ([OS07], Eq. (22.1), p. 573).

structure Cslib.GameTheory.NetworkUtilityModel.IsKKT {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [DecidableEq L] (x : R → ℝ) (p : L → ℝ) :

Karush–Kuhn–Tucker (KKT) optimality conditions for multi-link network utility maximization ([OS07], §22.1, Eqs. (22.2)–(22.5), p. 573). For general utilities on [0, ∞) with finite right derivative at 0, stationarity at x r = 0 is U'_r(0) ≤ q_r, reducing to Eq. (22.2) U'_r(x r) = q_r at all strictly positive rates 0 < x r.

  • feasible : M.IsFeasible x

    Primal feasibility: x ≥ 0 and R x ≤ c (Eqs. (22.4)–(22.5)).

  • price_nonneg (l : L) : 0 ≤ p l

    Dual nonnegativity: p ≥ 0 (Eq. (22.5)).

  • comp_slack (l : L) : p l * (M.linkLoad x l - M.capacity l) = 0

    Complementary slackness: p_l (y_l - c_l) = 0 for every link l (Eq. (22.3)).

  • deriv_le (r : R) : derivWithin (M.utility r) (Set.Ici 0) (x r) ≤ M.routePrice p r

    Stationarity inequality: U'_r(x_r) ≤ q_r for every source r.

  • deriv_eq_of_pos (r : R) : 0 < x r → derivWithin (M.utility r) (Set.Ici 0) (x r) = M.routePrice p r

    Interior stationarity equality: U'_r(x_r) = q_r whenever 0 < x_r (Eq. (22.2)).

theorem Cslib.GameTheory.NetworkUtilityModel.sum_routePrice_mul_eq_sum_price_mul_linkLoad {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [Fintype L] [DecidableEq L] (p : L → ℝ) (x : R → ℝ) :
∑ r : R, M.routePrice p r * x r = ∑ l : L, p l * M.linkLoad x l

Adjoint routing identity qᵀ x = pᵀ R x = pᵀ y ([OS07], §22.1, p. 575).

theorem Cslib.GameTheory.NetworkUtilityModel.linkLoad_add {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [DecidableEq L] (x y : R → ℝ) (l : L) :
M.linkLoad (fun (r : R) => x r + y r) l = M.linkLoad x l + M.linkLoad y l
theorem Cslib.GameTheory.NetworkUtilityModel.linkLoad_smul {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [DecidableEq L] (c : ℝ) (x : R → ℝ) (l : L) :
M.linkLoad (fun (r : R) => c * x r) l = c * M.linkLoad x l
theorem Cslib.GameTheory.NetworkUtilityModel.linkLoad_sub {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [DecidableEq L] (x y : R → ℝ) (l : L) :
M.linkLoad (fun (r : R) => x r - y r) l = M.linkLoad x l - M.linkLoad y l
theorem Cslib.GameTheory.NetworkUtilityModel.routePrice_sub {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) (p q : L → ℝ) (r : R) :
M.routePrice (fun (l : L) => p l - q l) r = M.routePrice p r - M.routePrice q r
theorem Cslib.GameTheory.NetworkUtilityModel.routePrice_add {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) (p q : L → ℝ) (r : R) :
M.routePrice (fun (l : L) => p l + q l) r = M.routePrice p r + M.routePrice q r
theorem Cslib.GameTheory.NetworkUtilityModel.routePrice_smul {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) (c : ℝ) (p : L → ℝ) (r : R) :
M.routePrice (fun (l : L) => c * p l) r = c * M.routePrice p r
theorem Cslib.GameTheory.NetworkUtilityModel.isSocialOptimum_of_priceTaking {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [Finite L] [DecidableEq L] {x : R → ℝ} {p : L → ℝ} (hx : M.IsFeasible x) (hp : ∀ (l : L), 0 ≤ p l) (hcs : ∀ (l : L), p l * (M.linkLoad x l - M.capacity l) = 0) (hpt : ∀ (r : R) (t : ℝ), 0 ≤ t → M.utility r t - M.routePrice p r * t ≤ M.utility r (x r) - M.routePrice p r * x r) :

First Welfare Theorem for multi-link shadow pricing ([OS07], §22.1, Eqs. (22.1), (22.3)–(22.7), pp. 573–574): if (x, p) is feasible with nonnegative link prices satisfying complementary slackness and each source r solves its price-taking problem max_{t ≥ 0} (U_r(t) - q_r t) at x_r, then x maximizes aggregate social welfare (without assuming concavity or differentiability).

theorem Cslib.GameTheory.NetworkUtilityModel.IsKKT.priceTaking_optimal {R : Type u_1} {L : Type u_2} [Fintype R] [DecidableEq L] {M : NetworkUtilityModel R L} {x : R → ℝ} {p : L → ℝ} (hkkt : M.IsKKT x p) (hconc : ∀ (r : R), ConcaveOn ℝ (Set.Ici 0) (M.utility r)) (hdiff : ∀ (r : R), DifferentiableOn ℝ (M.utility r) (Set.Ici 0)) (r : R) {t : ℝ} (ht : 0 ≤ t) :
M.utility r t - M.routePrice p r * t ≤ M.utility r (x r) - M.routePrice p r * x r

Price-taking decentralization ([OS07], §22.1, Eqs. (22.6)–(22.7), pp. 573–574): at any KKT pair (x, p) for concave utilities differentiable on [0, ∞), each source r maximizes its price-taking net utility U_r(t) - q_r t over t ≥ 0 at t = x_r.

theorem Cslib.GameTheory.NetworkUtilityModel.IsKKT.isSocialOptimum {R : Type u_1} {L : Type u_2} [Fintype R] [Finite L] [DecidableEq L] {M : NetworkUtilityModel R L} {x : R → ℝ} {p : L → ℝ} (hkkt : M.IsKKT x p) (hconc : ∀ (r : R), ConcaveOn ℝ (Set.Ici 0) (M.utility r)) (hdiff : ∀ (r : R), DifferentiableOn ℝ (M.utility r) (Set.Ici 0)) :

KKT sufficiency ([OS07], §22.1, Eqs. (22.1)–(22.5), p. 573): every KKT pair (x, p) for concave differentiable utilities is socially optimal.

theorem Cslib.GameTheory.NetworkUtilityModel.IsSocialOptimum.exists_isKKT {R : Type u_1} {L : Type u_2} [Fintype R] [Finite L] [DecidableEq L] {M : NetworkUtilityModel R L} {x : R → ℝ} (hopt : M.IsSocialOptimum x) (hdiff : ∀ (r : R), DifferentiableOn ℝ (M.utility r) (Set.Ici 0)) :
∃ (p : L → ℝ), M.IsKKT x p

KKT necessity ([OS07], §22.1, Eqs. (22.2)–(22.5), p. 573): every socially optimal rate vector x for utilities differentiable on [0, ∞) admits nonnegative link Lagrange multipliers p satisfying M.IsKKT x p.

theorem Cslib.GameTheory.NetworkUtilityModel.isSocialOptimum_iff_exists_isKKT {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [Finite L] [DecidableEq L] (hconc : ∀ (r : R), ConcaveOn ℝ (Set.Ici 0) (M.utility r)) (hdiff : ∀ (r : R), DifferentiableOn ℝ (M.utility r) (Set.Ici 0)) {x : R → ℝ} :
M.IsSocialOptimum x ↔ ∃ (p : L → ℝ), M.IsKKT x p

KKT characterization of multi-link NUM ([OS07], §22.1, Eqs. (22.1)–(22.5), p. 573): for concave utilities differentiable on [0, ∞), a rate vector x is socially optimal if and only if it admits nonnegative link Lagrange multipliers p satisfying M.IsKKT x p.

theorem Cslib.GameTheory.NetworkUtilityModel.exists_isSocialOptimum {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [DecidableEq L] (hroute : ∀ (r : R), (M.route r).Nonempty) (hcap : ∀ (l : L), 0 ≤ M.capacity l) (hcont : ∀ (r : R), ContinuousOn (M.utility r) (Set.Ici 0)) :
∃ (x : R → ℝ), M.IsSocialOptimum x

Existence of a socially optimal rate allocation when every source uses at least one link, link capacities are nonnegative, and utilities are continuous on [0, ∞).

theorem Cslib.GameTheory.NetworkUtilityModel.exists_isKKT {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [Finite L] [DecidableEq L] (hroute : ∀ (r : R), (M.route r).Nonempty) (hcap : ∀ (l : L), 0 ≤ M.capacity l) (hdiff : ∀ (r : R), DifferentiableOn ℝ (M.utility r) (Set.Ici 0)) :
∃ (x : R → ℝ) (p : L → ℝ), M.IsKKT x p ∧ M.IsSocialOptimum x

Existence of a KKT optimal primal-dual pair (x, p) solving multi-link NUM ([OS07], §22.1, Eqs. (22.1)–(22.5), p. 573).

theorem Cslib.GameTheory.NetworkUtilityModel.IsSocialOptimum.eq_of_strictConcaveOn {R : Type u_1} {L : Type u_2} [Fintype R] [DecidableEq L] {M : NetworkUtilityModel R L} {x₁ x₂ : R → ℝ} (h₁ : M.IsSocialOptimum x₁) (h₂ : M.IsSocialOptimum x₂) (hstrict : ∀ (r : R), StrictConcaveOn ℝ (Set.Ici 0) (M.utility r)) :
x₁ = x₂

Uniqueness of the socially optimal rate vector ([OS07], §22.1, p. 573): when every utility function is strictly concave on [0, ∞), any two social optima coincide.

theorem Cslib.GameTheory.NetworkUtilityModel.IsKKT.price_eq_of_injective_routePrice {R : Type u_1} {L : Type u_2} [Fintype R] [DecidableEq L] {M : NetworkUtilityModel R L} {x : R → ℝ} {p₁ p₂ : L → ℝ} (h₁ : M.IsKKT x p₁) (h₂ : M.IsKKT x p₂) (hx : ∀ (r : R), 0 < x r) (hinj : Function.Injective M.routePrice) :
p₁ = p₂

Uniqueness of link Lagrange multipliers ([OS07], §22.1, p. 575): when the routing matrix has full row rank (Function.Injective M.routePrice), any two KKT multiplier vectors at a strictly positive optimal rate vector x > 0 are equal.

Part 2: Weighted Proportional Fairness and Myopic Bid Alignment (Eqs. (22.8)–(22.12)) #

A strictly positive feasible rate vector x is weighted proportionally fair for positive bids w if ∑_r w_r (y_r - x_r) / x_r ≤ 0 for every feasible rate vector y ([OS07], §22.1, p. 574; [Vaz07], §5.13, p. 125; [Kel97]).

structure Cslib.GameTheory.NetworkUtilityModel.IsWeightedPropFairKKT {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [DecidableEq L] (w x : R → ℝ) (p : L → ℝ) :

KKT conditions for the weighted proportionally fair optimization problem max ∑_r w_r log x_r ([OS07], §22.1, Eqs. (22.9)–(22.12), p. 574).

  • feasible : M.IsFeasible x

    Primal feasibility (Eqs. (22.11)–(22.12)).

  • rate_pos (r : R) : 0 < x r

    Strict positivity of equilibrium rates x* > 0 (so w_r / x*_r is finite).

  • price_nonneg (l : L) : 0 ≤ p l

    Dual nonnegativity: p* ≥ 0 (Eq. (22.12)).

  • comp_slack (l : L) : p l * (M.linkLoad x l - M.capacity l) = 0

    Complementary slackness: p*_l (y*_l - c_l) = 0 for every link l (Eq. (22.10)).

  • rate_eq (r : R) : w r / x r = M.routePrice p r

    Rate-price equation w_r / x*_r = ∑_{l ∈ r} p*_l (Eq. (22.9)).

theorem Cslib.GameTheory.NetworkUtilityModel.IsWeightedPropFair.eq_of_isWeightedPropFair {R : Type u_1} {L : Type u_2} [Fintype R] [DecidableEq L] {M : NetworkUtilityModel R L} {w x₁ x₂ : R → ℝ} (hw : ∀ (r : R), 0 < w r) (h₁ : M.IsWeightedPropFair w x₁) (h₂ : M.IsWeightedPropFair w x₂) :
x₁ = x₂

Uniqueness of the weighted proportionally fair allocation for positive bids w > 0.

theorem Cslib.GameTheory.NetworkUtilityModel.isWeightedPropFair_iff_max_log {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [DecidableEq L] {w x : R → ℝ} (hw : ∀ (r : R), 0 < w r) :
M.IsWeightedPropFair w x ↔ M.IsFeasible x ∧ (∀ (r : R), 0 < x r) ∧ ∀ (y : R → ℝ), M.IsFeasible y → (∀ (r : R), 0 < y r) → ∑ r : R, w r * Real.log (y r) ≤ ∑ r : R, w r * Real.log (x r)

Equivalence between weighted proportional fairness (∑_r w_r (y_r - x_r) / x_r ≤ 0) and maximizing ∑_r w_r log x_r over positive feasible rate vectors ([OS07], §22.1, Eq. (22.8), p. 574; [Vaz07], §5.13, p. 125).

KKT characterization of weighted proportional fairness ([OS07], §22.1, Eqs. (22.8)–(22.12), p. 574): x is weighted proportionally fair for bids w if and only if there exist link prices p satisfying Eqs. (22.9)–(22.12).

theorem Cslib.GameTheory.NetworkUtilityModel.existsUnique_isWeightedPropFair {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [Finite L] [DecidableEq L] (hroute : ∀ (r : R), (M.route r).Nonempty) (hcap : ∀ (l : L), 0 < M.capacity l) {w : R → ℝ} (hw : ∀ (r : R), 0 < w r) :
(∃! x : R → ℝ, M.IsWeightedPropFair w x) ∧ ∃ (x : R → ℝ) (p : L → ℝ), M.IsWeightedPropFair w x ∧ M.IsWeightedPropFairKKT w x p

Existence and uniqueness of weighted proportionally fair allocation ([OS07], §22.1, Eqs. (22.8)–(22.12), p. 574): for positive bids w, positive link capacities, and nonempty routes, there is a unique weighted proportionally fair rate vector x*, together with link Lagrange multipliers p* satisfying Eqs. (22.9)–(22.12).

theorem Cslib.GameTheory.NetworkUtilityModel.IsKKT.isWeightedPropFairKKT_of_myopicBids {R : Type u_1} {L : Type u_2} [Fintype R] [Finite L] [DecidableEq L] {M : NetworkUtilityModel R L} {x : R → ℝ} {p : L → ℝ} (hkkt : M.IsKKT x p) (hx : ∀ (r : R), 0 < x r) (hderiv_pos : ∀ (r : R), 0 < derivWithin (M.utility r) (Set.Ici 0) (x r)) :
have w := fun (r : R) => x r * derivWithin (M.utility r) (Set.Ici 0) (x r); (∀ (r : R), 0 < w r) ∧ M.IsWeightedPropFairKKT w x p ∧ M.IsWeightedPropFair w x

Alignment of social optimality with weighted proportional fairness ([OS07], §22.1, p. 574): if (x̂, p̂) satisfies KKT for general utilities with x̂ > 0 and positive marginal utilities, setting w_r = x̂_r U'_r(x̂_r) makes (x̂, p̂) satisfy Eqs. (22.9)–(22.12) and makes x̂ the unique weighted proportionally fair allocation for w.

Part 3: Dual Congestion Control Lyapunov Stability and Convergence (Eqs. (22.13)–(22.15)) #

theorem Cslib.GameTheory.NetworkUtilityModel.routePrice_ge_of_barrier {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [DecidableEq L] {x : ℝ → R → ℝ} {svc p : ℝ → L → ℝ} (hp : ∀ (l : L), ∀ t ∈ Set.Ici 0, IntervalIntegrable (fun (s : ℝ) => projDrift (M.linkLoad (x s) l - svc s l) (p s l)) MeasureTheory.volume 0 t ∧ p t l = p 0 l + ∫ (s : ℝ) in 0..t, projDrift (M.linkLoad (x s) l - svc s l) (p s l)) (hsvc : ∀ t ∈ Set.Ici 0, ∀ (l : L), svc t l ≤ M.capacity l) (hx0 : ∀ t ∈ Set.Ici 0, ∀ (r : R), 0 ≤ x t r) {r : R} {qMin : ℝ} (hq0 : qMin ≤ M.routePrice (p 0) r) (hbarrier : ∀ s ∈ Set.Ici 0, M.routePrice (p s) r < qMin → ∀ l ∈ M.route r, M.capacity l < x s r) (t : ℝ) :
t ∈ Set.Ici 0 → qMin ≤ M.routePrice (p t) r

Shared route-price lower barrier for any Carathéodory projected excess-demand trajectory with time-varying service rate svc t l ≤ M.capacity l (covering both wireline and wireless models).

theorem Cslib.GameTheory.NetworkUtilityModel.myopic_rate_term_le {u : ℝ → ℝ} (hu : IsAdmissibleUtility u) {x xStar q qStar : ℝ} (hx : 0 ≤ x) (hxStar : 0 ≤ xStar) (hle : derivWithin u (Set.Ici 0) x ≤ q) (heq : 0 < x → derivWithin u (Set.Ici 0) x = q) (hleStar : derivWithin u (Set.Ici 0) xStar ≤ qStar) (heqStar : 0 < xStar → derivWithin u (Set.Ici 0) xStar = qStar) :
(q - qStar) * (x - xStar) ≤ (derivWithin u (Set.Ici 0) x - derivWithin u (Set.Ici 0) xStar) * (x - xStar) ∧ (derivWithin u (Set.Ici 0) x - derivWithin u (Set.Ici 0) xStar) * (x - xStar) ≤ 0
def Cslib.GameTheory.NetworkUtilityModel.IsDualPriceTrajectory {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [DecidableEq L] (x : ℝ → R → ℝ) (p : ℝ → L → ℝ) :

A dual congestion-control price trajectory p : ℝ → L → ℝ driven by source rates x : ℝ → R → ℝ on [0, ∞): prices stay nonnegative and satisfy the Carathéodory integral form of the projected excess-demand ODE ṗ_l(t) = (y_l(t) - c_l)^+_{p_l(t)} ([OzdaglarSrikant2007], §22.1, Eq. (22.13), p. 575). Using the integral (absolutely continuous) formulation accommodates corners where a positive link price hits the projection boundary p_l = 0 under negative excess demand.

theorem Cslib.GameTheory.NetworkUtilityModel.IsDualPriceTrajectory.lyapunov_sub_le_integral {R : Type u_1} {L : Type u_2} [Fintype R] [Fintype L] [DecidableEq L] {M : NetworkUtilityModel R L} {x : ℝ → R → ℝ} {p : ℝ → L → ℝ} (htraj : M.IsDualPriceTrajectory x p) {xStar : R → ℝ} {pStar : L → ℝ} (hxStar : M.IsFeasible xStar) (hpStar : ∀ (l : L), 0 ≤ pStar l) (hcs : ∀ (l : L), pStar l * (M.linkLoad xStar l - M.capacity l) = 0) {a b : ℝ} (ha : a ∈ Set.Ici 0) (hab : a ≤ b) (hx_int : ∀ (r : R), IntervalIntegrable (fun (s : ℝ) => x s r) MeasureTheory.volume a b) :
lyapunov pStar (p b) - lyapunov pStar (p a) ≤ ∫ (s : ℝ) in a..b, ∑ r : R, (M.routePrice (p s) r - M.routePrice pStar r) * (x s r - xStar r)

Dual congestion-control integral Lyapunov drift inequality ([OS07], §22.1, pp. 575–576, steps (a)–(b)): along any Carathéodory dual price trajectory p with locally integrable rates x, for all 0 ≤ a ≤ b, lyapunov pStar (p b) - lyapunov pStar (p a) is bounded above by ∫ s in a..b, ∑ r, (q_r(s) - q*_r) (x_r(s) - x*_r).

theorem Cslib.GameTheory.NetworkUtilityModel.IsDualPriceTrajectory.antitoneOn_lyapunov_of_fixedBids {R : Type u_1} {L : Type u_2} [Fintype R] [Fintype L] [DecidableEq L] {M : NetworkUtilityModel R L} {w : R → ℝ} {x : ℝ → R → ℝ} {p : ℝ → L → ℝ} {xStar : R → ℝ} {pStar : L → ℝ} (hw : ∀ (r : R), 0 < w r) (hkkt : M.IsWeightedPropFairKKT w xStar pStar) (htraj : M.IsDualPriceTrajectory x p) (hqpos : ∀ t ∈ Set.Ici 0, ∀ (r : R), 0 < M.routePrice (p t) r) (hctrl : ∀ t ∈ Set.Ici 0, ∀ (r : R), x t r = w r / M.routePrice (p t) r) :
AntitoneOn (fun (t : ℝ) => lyapunov pStar (p t)) (Set.Ici 0)

Lyapunov stability for fixed-bid dual congestion control ([OS07], §22.1, Eqs. (22.13)–(22.14), pp. 575–576): under x_r(t) = w_r / q_r(t), lyapunov pStar ∘ p is nonincreasing on [0, ∞).

theorem Cslib.GameTheory.NetworkUtilityModel.IsDualPriceTrajectory.tendsto_of_fixedBids {R : Type u_1} {L : Type u_2} [Fintype R] [Finite L] [DecidableEq L] {M : NetworkUtilityModel R L} {w : R → ℝ} {x : ℝ → R → ℝ} {p : ℝ → L → ℝ} {xStar : R → ℝ} {pStar : L → ℝ} (hroute : ∀ (r : R), (M.route r).Nonempty) (hcap : ∀ (l : L), 0 < M.capacity l) (hw : ∀ (r : R), 0 < w r) (hkkt : M.IsWeightedPropFairKKT w xStar pStar) (htraj : M.IsDualPriceTrajectory x p) (hqpos : ∀ t ∈ Set.Ici 0, ∀ (r : R), 0 < M.routePrice (p t) r) (hctrl : ∀ t ∈ Set.Ici 0, ∀ (r : R), x t r = w r / M.routePrice (p t) r) :

Global asymptotic convergence of fixed-bid dual congestion control ([OS07], §22.1, Eqs. (22.13)–(22.14), pp. 575–576): along any Carathéodory trajectory of ṗ_l = (y_l - c_l)^+_{p_l} with x_r = w_r / q_r, route prices converge to q*, rates converge to the unique weighted proportionally fair allocation x*, and under full row rank (Function.Injective M.routePrice) link prices converge to p*.

theorem Cslib.GameTheory.NetworkUtilityModel.IsDualPriceTrajectory.antitoneOn_lyapunov_of_myopic {R : Type u_1} {L : Type u_2} [Fintype R] [Fintype L] [DecidableEq L] {M : NetworkUtilityModel R L} {x : ℝ → R → ℝ} {p : ℝ → L → ℝ} {xStar : R → ℝ} {pStar : L → ℝ} (hU : ∀ (r : R), IsAdmissibleUtility (M.utility r)) (hkkt : M.IsKKT xStar pStar) (htraj : M.IsDualPriceTrajectory x p) (hx0 : ∀ t ∈ Set.Ici 0, ∀ (r : R), 0 ≤ x t r) (hctrl_le : ∀ t ∈ Set.Ici 0, ∀ (r : R), derivWithin (M.utility r) (Set.Ici 0) (x t r) ≤ M.routePrice (p t) r) (hctrl_eq : ∀ t ∈ Set.Ici 0, ∀ (r : R), 0 < x t r → derivWithin (M.utility r) (Set.Ici 0) (x t r) = M.routePrice (p t) r) :
AntitoneOn (fun (t : ℝ) => lyapunov pStar (p t)) (Set.Ici 0)

Lyapunov stability for myopic dual congestion control ([OS07], §22.1, Eqs. (22.13), (22.15), pp. 575–576): under myopic price-taking complementary slackness (U'_r(x_r(t)) ≤ q_r(t) with equality whenever 0 < x_r(t)) for admissible utilities, lyapunov pStar ∘ p is nonincreasing on [0, ∞) along any Carathéodory dual trajectory.

theorem Cslib.GameTheory.NetworkUtilityModel.IsDualPriceTrajectory.tendsto_of_myopic {R : Type u_1} {L : Type u_2} [Fintype R] [Finite L] [DecidableEq L] {M : NetworkUtilityModel R L} {x : ℝ → R → ℝ} {p : ℝ → L → ℝ} {xStar : R → ℝ} {pStar : L → ℝ} (hcap : ∀ (l : L), 0 ≤ M.capacity l) (hU : ∀ (r : R), IsAdmissibleUtility (M.utility r)) (hstrict : ∀ (r : R), StrictConcaveOn ℝ (Set.Ici 0) (M.utility r)) (hkkt : M.IsKKT xStar pStar) (htraj : M.IsDualPriceTrajectory x p) (hx0 : ∀ t ∈ Set.Ici 0, ∀ (r : R), 0 ≤ x t r) (hctrl_le : ∀ t ∈ Set.Ici 0, ∀ (r : R), derivWithin (M.utility r) (Set.Ici 0) (x t r) ≤ M.routePrice (p t) r) (hctrl_eq : ∀ t ∈ Set.Ici 0, ∀ (r : R), 0 < x t r → derivWithin (M.utility r) (Set.Ici 0) (x t r) = M.routePrice (p t) r) :
Filter.Tendsto x Filter.atTop (nhds xStar) ∧ (∀ (r : R), 0 < xStar r → Filter.Tendsto (fun (t : ℝ) => M.routePrice (p t) r) Filter.atTop (nhds (M.routePrice pStar r))) ∧ ((∀ (r : R), 0 < xStar r) → Function.Injective M.routePrice → Filter.Tendsto p Filter.atTop (nhds pStar))

Global asymptotic convergence of myopic dual congestion control ([OS07], §22.1, Eqs. (22.13), (22.15), pp. 575–576): for strictly concave admissible utilities, any Carathéodory trajectory of ṗ_l = (y_l - c_l)^+_{p_l} under myopic price-taking rate control (U'_r(x_r) ≤ q_r with equality at 0 < x_r) satisfies global rate convergence x(t) → x*, route-price convergence q_r(t) → q*_r for every route with 0 < x*_r, and under 0 < x* and full row rank (Function.Injective M.routePrice) link-price convergence p(t) → p*.

Part 4: Wireless NUM and Max-Weight Scheduling (Eqs. (22.16)–(22.21)) #

def Cslib.GameTheory.IsScheduleDist {S : Type u_1} [Fintype S] (f : S → ℝ) :

A valid schedule time-sharing distribution on a finite schedule set S: f ≥ 0 and ∑_s f_s ≤ 1 ([OS07], Eqs. (22.17)–(22.18), p. 577).

structure Cslib.GameTheory.WirelessNetworkModel (R : Type u_1) (L : Type u_2) (S : Type u_3) extends Cslib.GameTheory.NetworkUtilityModel R L :
Type (max (max u_1 u_2) u_3)

A wireless network utility maximization model with routes R, links L, and interference-free schedules S ([OS07], §22.1, pp. 577–578). Schedule s : S simultaneously activates the links in schedule s, serving capacity l packets per unit time on each l ∈ schedule s.

def Cslib.GameTheory.WirelessNetworkModel.scheduledCapacity {R : Type u_1} {L : Type u_2} {S : Type u_3} (W : WirelessNetworkModel R L S) [Fintype S] [DecidableEq L] (f : S → ℝ) (l : L) :

Effective service rate ∑_{s : l ∈ M_s} f_s c_l of link l under schedule time-sharing fractions f : S → ℝ ([OS07], Eq. (22.16), p. 577).

def Cslib.GameTheory.WirelessNetworkModel.scheduleWeight {R : Type u_1} {L : Type u_2} {S : Type u_3} (W : WirelessNetworkModel R L S) (p : L → ℝ) (s : S) :

Weighted price ∑_{l ∈ M_s} p_l c_l of schedule s under link prices p ([OS07], §22.1, p. 578).

def Cslib.GameTheory.WirelessNetworkModel.IsWirelessFeasible {R : Type u_1} {L : Type u_2} {S : Type u_3} (W : WirelessNetworkModel R L S) [Fintype R] [Fintype S] [DecidableEq L] (x : R → ℝ) (f : S → ℝ) :

Primal feasibility of (x, f) for wireless network utility maximization ([OS07], Eqs. (22.16)–(22.18), p. 577).

def Cslib.GameTheory.WirelessNetworkModel.IsWirelessOptimum {R : Type u_1} {L : Type u_2} {S : Type u_3} (W : WirelessNetworkModel R L S) [Fintype R] [Fintype S] [DecidableEq L] (x : R → ℝ) (f : S → ℝ) :

Joint rate-and-schedule social optimality for wireless NUM ([OS07], §22.1, pp. 577–578).

structure Cslib.GameTheory.WirelessNetworkModel.IsWirelessKKT {R : Type u_1} {L : Type u_2} {S : Type u_3} (W : WirelessNetworkModel R L S) [Fintype R] [Fintype L] [Fintype S] [DecidableEq L] (x : R → ℝ) (f : S → ℝ) (p : L → ℝ) :

Wireless KKT optimality conditions for joint rate control and scheduling ([OS07], §22.1, Eqs. (22.16)–(22.20), pp. 577–578).

def Cslib.GameTheory.WirelessNetworkModel.IsWirelessDualTrajectory {R : Type u_1} {L : Type u_2} {S : Type u_3} (W : WirelessNetworkModel R L S) [Fintype R] [Fintype S] [DecidableEq L] (x : ℝ → R → ℝ) (f : ℝ → S → ℝ) (p : ℝ → L → ℝ) :

Wireless dual-congestion-control and scheduling price trajectory on [0, ∞) in the Carathéodory integral model with relaxed scheduling: prices stay nonnegative and satisfy p_l(t) = p_l(0) + ∫_0^t (y_l(s) - ∑_{s' : l ∈ M_{s'}} f_{s'}(s) c_l)^+_{p_l(s)} ds ([OzdaglarSrikant2007], §22.1, Eq. (22.21), p. 578). Unlike p. 578, which selects a single maximizing schedule at each instant and interprets fractional allocations as long-run time fractions, this formulation takes a supplied fractional schedule allocation f(t) (IsScheduleDist) at each instant. The integral (absolutely continuous) equation accommodates corners at the projection boundary p_l = 0 and at schedule switches or fractional time-sharing (a Filippov sliding-mode interpretation), without identifying solutions with the Filippov regularization of a single-schedule controller, establishing trajectory existence, or providing the source's approximate distributed scheduler.

theorem Cslib.GameTheory.WirelessNetworkModel.sum_price_mul_scheduledCapacity_eq {R : Type u_1} {L : Type u_2} {S : Type u_3} (W : WirelessNetworkModel R L S) [Fintype L] [Fintype S] [DecidableEq L] (p : L → ℝ) (f : S → ℝ) :
∑ l : L, p l * W.scheduledCapacity f l = ∑ s : S, f s * W.scheduleWeight p s

Sum-interchange identity for the wireless scheduling dual subproblem ([OS07], §22.1, p. 578, first equality): ∑_l p_l ∑_{s : l ∈ M_s} f_s c_l = ∑_s f_s ∑_{l ∈ M_s} p_l c_l.

theorem Cslib.GameTheory.WirelessNetworkModel.scheduledCapacity_nonneg {R : Type u_1} {L : Type u_2} {S : Type u_3} (W : WirelessNetworkModel R L S) [Fintype S] [DecidableEq L] (hcap : ∀ (l : L), 0 ≤ W.capacity l) {f : S → ℝ} (hf : IsScheduleDist f) (l : L) :
theorem Cslib.GameTheory.WirelessNetworkModel.scheduledCapacity_le_capacity {R : Type u_1} {L : Type u_2} {S : Type u_3} (W : WirelessNetworkModel R L S) [Fintype S] [DecidableEq L] (hcap : ∀ (l : L), 0 ≤ W.capacity l) {f : S → ℝ} (hf : IsScheduleDist f) (l : L) :
theorem Cslib.GameTheory.WirelessNetworkModel.sum_price_mul_scheduledCapacity_le_maxWeight {R : Type u_1} {L : Type u_2} {S : Type u_3} (W : WirelessNetworkModel R L S) [Fintype L] [Fintype S] [DecidableEq L] [Nonempty S] {p : L → ℝ} (hp : ∀ (l : L), 0 ≤ p l) (hcap : ∀ (l : L), 0 ≤ W.capacity l) {f : S → ℝ} (hf : IsScheduleDist f) :
∑ l : L, p l * W.scheduledCapacity f l ≤ Finset.univ.sup' ⋯ (W.scheduleWeight p)

Max-Weight upper bound ([OS07], §22.1, p. 578, Eq. (22.20)): for nonnegative link prices and capacities, every schedule distribution f has weighted service rate at most the maximum-weighted-price schedule max_s ∑_{l ∈ M_s} p_l c_l.

theorem Cslib.GameTheory.WirelessNetworkModel.exists_maxWeight_corner {R : Type u_1} {L : Type u_2} {S : Type u_3} (W : WirelessNetworkModel R L S) [Fintype L] [Fintype S] [DecidableEq L] [DecidableEq S] [Nonempty S] {p : L → ℝ} (hp : ∀ (l : L), 0 ≤ p l) (hcap : ∀ (l : L), 0 ≤ W.capacity l) :
∃ (sStar : S), IsScheduleDist (Pi.single sStar 1) ∧ ∑ l : L, p l * W.scheduledCapacity (Pi.single sStar 1) l = Finset.univ.sup' ⋯ (W.scheduleWeight p) ∧ ∀ (f : S → ℝ), IsScheduleDist f → ∑ l : L, p l * W.scheduledCapacity f l ≤ ∑ l : L, p l * W.scheduledCapacity (Pi.single sStar 1) l

Max-Weight corner-point attainment ([OS07], §22.1, p. 578, Eq. (22.20)): there exists a pure schedule s* whose corner distribution Pi.single s* 1 attains the exact maximum max_s ∑_{l ∈ M_s} p_l c_l over all schedule distributions IsScheduleDist.

theorem Cslib.GameTheory.WirelessNetworkModel.IsWirelessKKT.isWirelessOptimum {R : Type u_1} {L : Type u_2} {S : Type u_3} [Fintype R] [Fintype L] [Fintype S] [DecidableEq L] {W : WirelessNetworkModel R L S} {x : R → ℝ} {f : S → ℝ} {p : L → ℝ} (hkkt : W.IsWirelessKKT x f p) (hconc : ∀ (r : R), ConcaveOn ℝ (Set.Ici 0) (W.utility r)) (hdiff : ∀ (r : R), DifferentiableOn ℝ (W.utility r) (Set.Ici 0)) :

Wireless KKT sufficiency and dual decomposition ([OS07], §22.1, Eqs. (22.16)–(22.20), pp. 577–578): every wireless KKT triple (x, f, p) for concave differentiable utilities maximizes aggregate utility over all wireless-feasible (x', f').

theorem Cslib.GameTheory.WirelessNetworkModel.IsWirelessOptimum.exists_isWirelessKKT {R : Type u_1} {L : Type u_2} {S : Type u_3} [Fintype R] [Fintype L] [Fintype S] [DecidableEq L] {W : WirelessNetworkModel R L S} {x : R → ℝ} {f : S → ℝ} (hopt : W.IsWirelessOptimum x f) (hdiff : ∀ (r : R), DifferentiableOn ℝ (W.utility r) (Set.Ici 0)) :
∃ (p : L → ℝ), W.IsWirelessKKT x f p

Wireless KKT necessity via Farkas' lemma ([OS07], §22.1, Eqs. (22.16)–(22.20), pp. 577–578): every wireless optimum (x, f) for utilities differentiable on [0, ∞) admits nonnegative link prices p satisfying W.IsWirelessKKT x f p.

theorem Cslib.GameTheory.WirelessNetworkModel.exists_isWirelessKKT {R : Type u_1} {L : Type u_2} {S : Type u_3} (W : WirelessNetworkModel R L S) [Fintype R] [Fintype L] [Fintype S] [DecidableEq L] (hroute : ∀ (r : R), (W.route r).Nonempty) (hcap : ∀ (l : L), 0 ≤ W.capacity l) (hdiff : ∀ (r : R), DifferentiableOn ℝ (W.utility r) (Set.Ici 0)) :
∃ (x : R → ℝ) (f : S → ℝ) (p : L → ℝ), W.IsWirelessKKT x f p ∧ W.IsWirelessOptimum x f

Existence of a wireless KKT primal-dual optimal triple (x, f, p) when every route is nonempty, capacities are nonnegative, and utilities are differentiable on [0, ∞) ([OzdaglarSrikant2007], §22.1, Eqs. (22.16)–(22.20), pp. 577–578).

theorem Cslib.GameTheory.WirelessNetworkModel.IsWirelessDualTrajectory.lyapunov_sub_le_integral {R : Type u_1} {L : Type u_2} {S : Type u_3} [Fintype R] [Fintype L] [Fintype S] [DecidableEq L] {W : WirelessNetworkModel R L S} {x : ℝ → R → ℝ} {f : ℝ → S → ℝ} {p : ℝ → L → ℝ} (htraj : W.IsWirelessDualTrajectory x f p) {xStar : R → ℝ} {fStar : S → ℝ} {pStar : L → ℝ} (hkkt : W.IsWirelessKKT xStar fStar pStar) {a b : ℝ} (ha : a ∈ Set.Ici 0) (hab : a ≤ b) (hf_dist : ∀ s ∈ Set.Icc a b, IsScheduleDist (f s)) (hf_max : ∀ s ∈ Set.Icc a b, ∀ (f' : S → ℝ), IsScheduleDist f' → ∑ l : L, p s l * W.scheduledCapacity f' l ≤ ∑ l : L, p s l * W.scheduledCapacity (f s) l) (hx_int : ∀ (r : R), IntervalIntegrable (fun (s : ℝ) => x s r) MeasureTheory.volume a b) :
lyapunov pStar (p b) - lyapunov pStar (p a) ≤ ∫ (s : ℝ) in a..b, ∑ r : R, (W.routePrice (p s) r - W.routePrice pStar r) * (x s r - xStar r)

Wireless integral Lyapunov drift inequality under relaxed Max-Weight scheduling ([OS07], §22.1, Eq. (22.21), p. 578): along any trajectory of the Carathéodory integral model with relaxed Max-Weight scheduling (IsWirelessDualTrajectory) with locally integrable rates x, where f s is a supplied maximizing fractional schedule allocation (IsScheduleDist) at each s ∈ [a, b] (rather than choosing a single maximizing schedule at each instant as on p. 578; admitting a Filippov sliding-mode interpretation), lyapunov pStar (p b) - lyapunov pStar (p a) is bounded above by ∫ s in a..b, ∑ r, (q_r(s) - q*_r) (x_r(s) - x*_r). This statement does not identify its solutions with the Filippov regularization of a single-schedule controller, establish trajectory existence, or provide the source's approximate distributed scheduler.

theorem Cslib.GameTheory.WirelessNetworkModel.IsWirelessDualTrajectory.antitoneOn_lyapunov_of_myopic {R : Type u_1} {L : Type u_2} {S : Type u_3} [Fintype R] [Fintype L] [Fintype S] [DecidableEq L] {W : WirelessNetworkModel R L S} {x : ℝ → R → ℝ} {f : ℝ → S → ℝ} {p : ℝ → L → ℝ} {xStar : R → ℝ} {fStar : S → ℝ} {pStar : L → ℝ} (hU : ∀ (r : R), IsAdmissibleUtility (W.utility r)) (hkkt : W.IsWirelessKKT xStar fStar pStar) (htraj : W.IsWirelessDualTrajectory x f p) (hf_dist : ∀ t ∈ Set.Ici 0, IsScheduleDist (f t)) (hf_max : ∀ t ∈ Set.Ici 0, ∀ (f' : S → ℝ), IsScheduleDist f' → ∑ l : L, p t l * W.scheduledCapacity f' l ≤ ∑ l : L, p t l * W.scheduledCapacity (f t) l) (hx0 : ∀ t ∈ Set.Ici 0, ∀ (r : R), 0 ≤ x t r) (hctrl_le : ∀ t ∈ Set.Ici 0, ∀ (r : R), derivWithin (W.utility r) (Set.Ici 0) (x t r) ≤ W.routePrice (p t) r) (hctrl_eq : ∀ t ∈ Set.Ici 0, ∀ (r : R), 0 < x t r → derivWithin (W.utility r) (Set.Ici 0) (x t r) = W.routePrice (p t) r) :
AntitoneOn (fun (t : ℝ) => lyapunov pStar (p t)) (Set.Ici 0)

Lyapunov stability of wireless dual congestion control with relaxed Max-Weight scheduling ([OS07], §22.1, Eqs. (22.15), (22.21), p. 578): lyapunov pStar ∘ p is nonincreasing on [0, ∞) along any trajectory of the Carathéodory integral model with relaxed Max-Weight scheduling (IsWirelessDualTrajectory, taking a supplied maximizing fractional schedule allocation IsScheduleDist at each instant rather than choosing a single maximizing schedule as on p. 578; admitting a Filippov sliding-mode interpretation) under myopic price-taking rate control. This statement does not identify its solutions with the Filippov regularization of a single-schedule controller, establish trajectory existence, or provide the source's approximate distributed scheduler.

theorem Cslib.GameTheory.WirelessNetworkModel.IsWirelessDualTrajectory.tendsto_of_myopic {R : Type u_1} {L : Type u_2} {S : Type u_3} [Fintype R] [Fintype L] [Fintype S] [DecidableEq L] {W : WirelessNetworkModel R L S} {x : ℝ → R → ℝ} {f : ℝ → S → ℝ} {p : ℝ → L → ℝ} {xStar : R → ℝ} {fStar : S → ℝ} {pStar : L → ℝ} (hcap : ∀ (l : L), 0 ≤ W.capacity l) (hU : ∀ (r : R), IsAdmissibleUtility (W.utility r)) (hstrict : ∀ (r : R), StrictConcaveOn ℝ (Set.Ici 0) (W.utility r)) (hkkt : W.IsWirelessKKT xStar fStar pStar) (htraj : W.IsWirelessDualTrajectory x f p) (hf_dist : ∀ t ∈ Set.Ici 0, IsScheduleDist (f t)) (hf_max : ∀ t ∈ Set.Ici 0, ∀ (f' : S → ℝ), IsScheduleDist f' → ∑ l : L, p t l * W.scheduledCapacity f' l ≤ ∑ l : L, p t l * W.scheduledCapacity (f t) l) (hx0 : ∀ t ∈ Set.Ici 0, ∀ (r : R), 0 ≤ x t r) (hctrl_le : ∀ t ∈ Set.Ici 0, ∀ (r : R), derivWithin (W.utility r) (Set.Ici 0) (x t r) ≤ W.routePrice (p t) r) (hctrl_eq : ∀ t ∈ Set.Ici 0, ∀ (r : R), 0 < x t r → derivWithin (W.utility r) (Set.Ici 0) (x t r) = W.routePrice (p t) r) :
Filter.Tendsto x Filter.atTop (nhds xStar) ∧ (∀ (r : R), 0 < xStar r → Filter.Tendsto (fun (t : ℝ) => W.routePrice (p t) r) Filter.atTop (nhds (W.routePrice pStar r))) ∧ ((∀ (r : R), 0 < xStar r) → Function.Injective W.routePrice → Filter.Tendsto p Filter.atTop (nhds pStar))

Global asymptotic convergence of wireless dual congestion control with relaxed Max-Weight scheduling ([OS07], §22.1, Eqs. (22.15), (22.21), p. 578): for strictly concave admissible utilities, any trajectory of the Carathéodory integral model with relaxed Max-Weight scheduling (IsWirelessDualTrajectory, taking a supplied maximizing fractional schedule allocation IsScheduleDist at each instant rather than choosing a single maximizing schedule as on p. 578; admitting a Filippov sliding-mode interpretation) under myopic price-taking rate control (U'_r(x_r) ≤ q_r with equality at 0 < x_r) satisfies global rate convergence x(t) → x*, route-price convergence q_r(t) → q*_r for every route with 0 < x*_r, and under 0 < x* and full row rank (Function.Injective W.routePrice) link-price convergence p(t) → p*. This statement does not identify its solutions with the Filippov regularization of a single-schedule controller, establish trajectory existence, or provide the source's approximate distributed scheduler.