Documentation

CslibFrontier.GameTheory.ResourceAllocation.NUMTrajectoryExistence

Global trajectory existence and uniqueness for projected dual congestion control #

This module closes the Carathéodory trajectory well-posedness gap for Section 22.1 of [OS07] (pp. 575–578; Eqs. (22.13)–(22.15) and (22.21)):

  1. Monotonicity of projDrift and global uniqueness: sub_mul_projDrift_sub_le establishes (p - q) * (projDrift a p - projDrift b q) ≤ (p - q) * (a - b) for 0 ≤ p, q. Applied to the quadratic Lyapunov distance between two Carathéodory trajectories, eqOn_of_monotone_projDrift_traj proves global uniqueness on [0, ∞) whenever the unprojected excess-demand drift is monotone (covering wireline fixed-bid, wireline myopic, and wireless Max-Weight trajectories).
  2. Projected Euler + diagonal Arzelà–Ascoli global existence engine: For any bounded continuous arrival map g on the nonnegative orthant, constant baseline capacity c₀, linear service map svc : (S → ℝ) →ₗ[ℝ] (L → ℝ), compact convex nonempty selection set K, and maximizing selector sel p ∈ K of ∑ l, p l * svc f l, exists_projDrift_trajectory_of_compactSelection constructs a globally Lipschitz Carathéodory trajectory p : ℝ → L → ℝ on [0, ∞) and a maximizing selection f : ℝ → S → ℝ solving p_l(t) = p_l(0) + ∫_0^t projDrift (g (p s) l - (c₀ l + svc (f s) l)) (p s l) ds as the uniform-on-compacts limit of a subsequence of explicit projected Euler interpolants projEulerInterp (projEulerSeq ...).
  3. Wireline fixed-bid and myopic global existence, uniqueness, and unconditional convergence:

Main definitions #

Main results #

References #

Part 1: Monotonicity of projDrift and global uniqueness #

theorem Cslib.GameTheory.sub_mul_projDrift_sub_le {a b p q : ℝ} (hp : 0 ≤ p) (hq : 0 ≤ q) :
(p - q) * (projDrift a p - projDrift b q) ≤ (p - q) * (a - b)

Two-point monotonicity inequality for the orthant projection projDrift: for 0 ≤ p and 0 ≤ q, (p - q) * (projDrift a p - projDrift b q) ≤ (p - q) * (a - b).

theorem Cslib.GameTheory.eqOn_of_monotone_projDrift_traj {L : Type u_1} [Fintype L] {p₁ p₂ F₁ F₂ : ℝ → L → ℝ} (hp₁0 : ∀ t ∈ Set.Ici 0, ∀ (l : L), 0 ≤ p₁ t l) (hp₂0 : ∀ t ∈ Set.Ici 0, ∀ (l : L), 0 ≤ p₂ t l) (hp₁ : ∀ (l : L), ∀ t ∈ Set.Ici 0, IntervalIntegrable (fun (s : ℝ) => projDrift (F₁ s l) (p₁ s l)) MeasureTheory.volume 0 t ∧ p₁ t l = p₁ 0 l + ∫ (s : ℝ) in 0..t, projDrift (F₁ s l) (p₁ s l)) (hp₂ : ∀ (l : L), ∀ t ∈ Set.Ici 0, IntervalIntegrable (fun (s : ℝ) => projDrift (F₂ s l) (p₂ s l)) MeasureTheory.volume 0 t ∧ p₂ t l = p₂ 0 l + ∫ (s : ℝ) in 0..t, projDrift (F₂ s l) (p₂ s l)) (hinit : p₁ 0 = p₂ 0) (hmono : ∀ s ∈ Set.Ici 0, ∑ l : L, (p₁ s l - p₂ s l) * (F₁ s l - F₂ s l) ≤ 0) (t : ℝ) :
t ∈ Set.Ici 0 → p₁ t = p₂ t

Global uniqueness of Carathéodory projected-orthant trajectories under a monotone unprojected drift: if p₁ 0 = p₂ 0 and ∑ l, (p₁ s l - p₂ s l) * (F₁ s l - F₂ s l) ≤ 0 for all s ≥ 0, then p₁ t = p₂ t for all t ≥ 0.

Part 2: Explicit projected Euler and diagonal Arzelà–Ascoli existence engine #

noncomputable def Cslib.GameTheory.projEulerSeq {L : Type u_1} {S : Type u_2} (g : (L → ℝ) → L → ℝ) (c₀ : L → ℝ) (svc : (S → ℝ) →ₗ[ℝ] L → ℝ) (sel : (L → ℝ) → S → ℝ) (p₀ : L → ℝ) (h : ℝ) :
ℕ → L → ℝ

Explicit projected Euler sequence with step size h on the nonnegative orthant: p_{k + 1, l} = max 0 (p_{k, l} + h * (g (p_k) l - (c₀ l + svc (sel p_k) l))).

noncomputable def Cslib.GameTheory.projEulerInterp {L : Type u_1} (seq : ℕ → L → ℝ) (h t : ℝ) (l : L) :

Piecewise-linear interpolation of an Euler sequence seq with uniform step size h > 0, extended constantly by seq 0 for t ≤ 0.

theorem Cslib.GameTheory.exists_projDrift_trajectory_of_compactSelection {L : Type u_1} {S : Type u_2} [Fintype L] [Finite S] {K : Set (S → ℝ)} (hK_compact : IsCompact K) (hK_convex : Convex ℝ K) {g : (L → ℝ) → L → ℝ} {c₀ : L → ℝ} {svc : (S → ℝ) →ₗ[ℝ] L → ℝ} {sel : (L → ℝ) → S → ℝ} {B : ℝ} (hB0 : 0 ≤ B) (hg_cont : ContinuousOn g {p : L → ℝ | ∀ (l : L), 0 ≤ p l}) (hsel_mem : ∀ (p : L → ℝ), (∀ (l : L), 0 ≤ p l) → sel p ∈ K) (hsel_max : ∀ (p : L → ℝ), (∀ (l : L), 0 ≤ p l) → ∀ f' ∈ K, ∑ l : L, p l * svc f' l ≤ ∑ l : L, p l * svc (sel p) l) (hB : ∀ (p : L → ℝ), (∀ (l : L), 0 ≤ p l) → ∀ f ∈ K, ∀ (l : L), |g p l - (c₀ l + svc f l)| ≤ B) {p₀ : L → ℝ} (hp₀ : ∀ (l : L), 0 ≤ p₀ l) :
∃ (f : ℝ → S → ℝ) (p : ℝ → L → ℝ), p 0 = p₀ ∧ (∀ t ∈ Set.Ici 0, ∀ (l : L), 0 ≤ p t l) ∧ (∀ t ∈ Set.Ici 0, f t ∈ K ∧ ∀ f' ∈ K, ∑ l : L, p t l * svc f' l ≤ ∑ l : L, p t l * svc (f t) l) ∧ (∀ (l : L), ∀ t ∈ Set.Ici 0, IntervalIntegrable (fun (s : ℝ) => projDrift (g (p s) l - (c₀ l + svc (f s) l)) (p s l)) MeasureTheory.volume 0 t ∧ p t l = p₀ l + ∫ (s : ℝ) in 0..t, projDrift (g (p s) l - (c₀ l + svc (f s) l)) (p s l)) ∧ ∃ (diag : ℕ → ℕ), StrictMono diag ∧ ∀ T ∈ Set.Ici 0, ∀ ε > 0, ∃ (N : ℕ), ∀ n ≥ N, ∀ t ∈ Set.Icc 0 T, ∀ (l : L), |projEulerInterp (projEulerSeq g c₀ svc sel p₀ (1 / (↑(diag n) + 1))) (1 / (↑(diag n) + 1)) t l - p t l| < ε

Global Carathéodory existence for projected-orthant dynamics with compact convex selection (covering wireline fixed-bid, wireline myopic, and wireless Max-Weight dual dynamics): given a bounded continuous arrival map g on the nonnegative orthant, constant baseline c₀, linear service map svc : (S → ℝ) →ₗ[ℝ] (L → ℝ), compact convex K ⊆ S → ℝ, and a maximizer selector sel p ∈ K of f ↦ ∑ l, p l * svc f l, there exist a globally B-Lipschitz Carathéodory trajectory p : ℝ → L → ℝ on [0, ∞) and a selection f : ℝ → S → ℝ solving p t l = p₀ l + ∫_0^t projDrift (g (p s) l - (c₀ l + svc (f s) l)) (p s l) ds, realized as the uniform-on-compacts limit of a subsequence of explicit projected Euler interpolants.

Part 3: Clamped myopic rate map for strictly concave admissible utilities #

noncomputable def Cslib.GameTheory.clampedMyopicRate (u : ℝ → ℝ) (X q : ℝ) :

Bounded myopic rate response on [0, X] for a strictly concave admissible utility u:

  • returns 0 when derivWithin u (Ici 0) 0 ≤ q,
  • returns X when q ≤ derivWithin u (Ici 0) X, and
  • returns the unique x ∈ [0, X] solving derivWithin u (Ici 0) x = q otherwise.
theorem Cslib.GameTheory.clampedMyopicRate_spec {u : ℝ → ℝ} (hu : IsAdmissibleUtility u) {X : ℝ} (hX : 0 ≤ X) (q : ℝ) :
have x := clampedMyopicRate u X q; x ∈ Set.Icc 0 X ∧ derivWithin u (Set.Ici 0) x = max (derivWithin u (Set.Ici 0) X) (min q (derivWithin u (Set.Ici 0) 0))
theorem Cslib.GameTheory.clampedMyopicRate_eq_cap_of_lt {u : ℝ → ℝ} (hu : IsAdmissibleUtility u) {X q : ℝ} (hX : 0 ≤ X) (hlt : q < derivWithin u (Set.Ici 0) X) :
theorem Cslib.GameTheory.utility_sub_clampedMyopicRate_le {u : ℝ → ℝ} (hu : IsAdmissibleUtility u) {X q y : ℝ} (hX : 0 ≤ X) (hy : y ∈ Set.Icc 0 X) :
u y - u (clampedMyopicRate u X q) ≤ q * (y - clampedMyopicRate u X q)

First-order variational inequality for clampedMyopicRate: for any y ∈ [0, X], u y - u (clampedMyopicRate u X q) ≤ q * (y - clampedMyopicRate u X q) regardless of whether q lies below u'(X), above u'(0), or in between.

theorem Cslib.GameTheory.myopic_rate_eq_of_routePrice_eq {u : ℝ → ℝ} (hu : IsAdmissibleUtility u) (hstrict : StrictConcaveOn ℝ (Set.Ici 0) u) {x₁ x₂ q : ℝ} (hx₁ : 0 ≤ x₁) (hx₂ : 0 ≤ x₂) (hle₁ : derivWithin u (Set.Ici 0) x₁ ≤ q) (heq₁ : 0 < x₁ → derivWithin u (Set.Ici 0) x₁ = q) (hle₂ : derivWithin u (Set.Ici 0) x₂ ≤ q) (heq₂ : 0 < x₂ → derivWithin u (Set.Ici 0) x₂ = q) :
x₁ = x₂

Uniqueness of a myopic price-taking rate vector at equal route prices for strictly concave admissible utilities.

Part 4: Wireline fixed-bid and myopic trajectory existence, uniqueness & convergence #

theorem Cslib.GameTheory.NetworkUtilityModel.IsDualPriceTrajectory.eqOn_of_fixedBids {R : Type u_1} {L : Type u_2} [Fintype R] [Finite L] [DecidableEq L] {M : NetworkUtilityModel R L} {w : R → ℝ} {x₁ x₂ : ℝ → R → ℝ} {p₁ p₂ : ℝ → L → ℝ} (hw : ∀ (r : R), 0 < w r) (h₁ : M.IsDualPriceTrajectory x₁ p₁) (h₂ : M.IsDualPriceTrajectory x₂ p₂) (hq₁ : ∀ t ∈ Set.Ici 0, ∀ (r : R), 0 < M.routePrice (p₁ t) r) (hq₂ : ∀ 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) (hctrl₂ : ∀ t ∈ Set.Ici 0, ∀ (r : R), x₂ t r = w r / M.routePrice (p₂ t) r) (hinit : p₁ 0 = p₂ 0) :
(∀ t ∈ Set.Ici 0, p₁ t = p₂ t) ∧ ∀ t ∈ Set.Ici 0, x₁ t = x₂ t

Global uniqueness of fixed-bid dual congestion-control trajectories ([OS07], §22.1, Eqs. (22.13)–(22.14), pp. 575–576): any two Carathéodory trajectories starting at p₁ 0 = p₂ 0 with x_r = w_r / q_r coincide on [0, ∞).

theorem Cslib.GameTheory.NetworkUtilityModel.exists_isDualPriceTrajectory_of_fixedBids {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) {p₀ : L → ℝ} (hp₀ : ∀ (l : L), 0 ≤ p₀ l) (hq₀ : ∀ (r : R), 0 < M.routePrice p₀ r) :
∃ (x : ℝ → R → ℝ) (p : ℝ → L → ℝ), p 0 = p₀ ∧ M.IsDualPriceTrajectory x p ∧ (∀ t ∈ Set.Ici 0, ∀ (r : R), 0 < M.routePrice (p t) r) ∧ ∀ t ∈ Set.Ici 0, ∀ (r : R), x t r = w r / M.routePrice (p t) r

Global existence of fixed-bid dual congestion-control trajectories ([OS07], §22.1, Eqs. (22.13)–(22.14), pp. 575–576): for nonempty routes, positive capacities, positive bids w, and any nonnegative initial price p₀ with 0 < M.routePrice p₀ r, there exists a global Carathéodory trajectory (x, p) on [0, ∞) starting at p 0 = p₀ with 0 < M.routePrice (p t) r and x t r = w r / M.routePrice (p t) r.

theorem Cslib.GameTheory.NetworkUtilityModel.exists_isDualPriceTrajectory_tendsto_of_fixedBids {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) {xStar : R → ℝ} {pStar : L → ℝ} (hkkt : M.IsWeightedPropFairKKT w xStar pStar) {p₀ : L → ℝ} (hp₀ : ∀ (l : L), 0 ≤ p₀ l) (hq₀ : ∀ (r : R), 0 < M.routePrice p₀ r) :
∃ (x : ℝ → R → ℝ) (p : ℝ → L → ℝ), p 0 = p₀ ∧ M.IsDualPriceTrajectory x p ∧ (∀ t ∈ Set.Ici 0, ∀ (r : R), 0 < M.routePrice (p t) r) ∧ (∀ t ∈ Set.Ici 0, ∀ (r : R), x t r = w r / M.routePrice (p t) r) ∧ Filter.Tendsto (fun (t : ℝ) => M.routePrice (p t)) Filter.atTop (nhds (M.routePrice pStar)) ∧ Filter.Tendsto x Filter.atTop (nhds xStar) ∧ (Function.Injective M.routePrice → Filter.Tendsto p Filter.atTop (nhds pStar))

Unconditional global convergence of fixed-bid dual congestion control ([OS07], §22.1, Eqs. (22.13)–(22.14), pp. 575–576): combines global trajectory existence, uniqueness, and Lyapunov convergence without assuming a trajectory exists.

theorem Cslib.GameTheory.NetworkUtilityModel.IsDualPriceTrajectory.eqOn_of_myopic {R : Type u_1} {L : Type u_2} [Fintype R] [Finite L] [DecidableEq L] {M : NetworkUtilityModel R L} {x₁ x₂ : ℝ → R → ℝ} {p₁ p₂ : ℝ → L → ℝ} (hU : ∀ (r : R), IsAdmissibleUtility (M.utility r)) (hstrict : ∀ (r : R), StrictConcaveOn ℝ (Set.Ici 0) (M.utility r)) (h₁ : M.IsDualPriceTrajectory x₁ p₁) (h₂ : M.IsDualPriceTrajectory x₂ p₂) (hx₁0 : ∀ t ∈ Set.Ici 0, ∀ (r : R), 0 ≤ x₁ t r) (hx₂0 : ∀ 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) (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) (hinit : p₁ 0 = p₂ 0) :
(∀ t ∈ Set.Ici 0, p₁ t = p₂ t) ∧ ∀ t ∈ Set.Ici 0, x₁ t = x₂ t

Global uniqueness of myopic dual congestion-control trajectories ([OS07], §22.1, Eqs. (22.13), (22.15), pp. 575–576): for strictly concave admissible utilities, any two Carathéodory trajectories starting at p₁ 0 = p₂ 0 under myopic price-taking rate control have identical link prices and source rates for all t ≥ 0.

theorem Cslib.GameTheory.NetworkUtilityModel.exists_isDualPriceTrajectory_of_myopic {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [Finite L] [DecidableEq 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)) {p₀ : L → ℝ} (hp₀ : ∀ (l : L), 0 ≤ p₀ l) {x₀ : R → ℝ} (hx₀0 : ∀ (r : R), 0 ≤ x₀ r) (hx₀_le : ∀ (r : R), derivWithin (M.utility r) (Set.Ici 0) (x₀ r) ≤ M.routePrice p₀ r) :
∃ (x : ℝ → R → ℝ) (p : ℝ → L → ℝ), p 0 = p₀ ∧ M.IsDualPriceTrajectory x p ∧ (∀ t ∈ Set.Ici 0, ∀ (r : R), 0 ≤ x t r) ∧ (∀ t ∈ Set.Ici 0, ∀ (r : R), derivWithin (M.utility r) (Set.Ici 0) (x t r) ≤ M.routePrice (p t) r) ∧ ∀ 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

Global existence of myopic dual congestion-control trajectories ([OS07], §22.1, Eqs. (22.13), (22.15), pp. 575–576): for nonnegative capacities, strictly concave admissible utilities, and any nonnegative initial price p₀ admitting an initial myopic rate x₀ ≥ 0 (U'_r(x₀ r) ≤ q_r(p₀)), there exists a global Carathéodory trajectory (x, p) on [0, ∞) with p 0 = p₀ and myopic complementary slackness U'_r(x_r(t)) ≤ q_r(t) (equality at 0 < x_r(t)).

theorem Cslib.GameTheory.NetworkUtilityModel.exists_isDualPriceTrajectory_tendsto_of_myopic {R : Type u_1} {L : Type u_2} (M : NetworkUtilityModel R L) [Fintype R] [Finite L] [DecidableEq 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)) {xStar : R → ℝ} {pStar : L → ℝ} (hkkt : M.IsKKT xStar pStar) {p₀ : L → ℝ} (hp₀ : ∀ (l : L), 0 ≤ p₀ l) {x₀ : R → ℝ} (hx₀0 : ∀ (r : R), 0 ≤ x₀ r) (hx₀_le : ∀ (r : R), derivWithin (M.utility r) (Set.Ici 0) (x₀ r) ≤ M.routePrice p₀ r) :
∃ (x : ℝ → R → ℝ) (p : ℝ → L → ℝ), p 0 = p₀ ∧ M.IsDualPriceTrajectory x p ∧ (∀ t ∈ Set.Ici 0, ∀ (r : R), 0 ≤ x t r) ∧ (∀ t ∈ Set.Ici 0, ∀ (r : R), derivWithin (M.utility r) (Set.Ici 0) (x t r) ≤ M.routePrice (p t) r) ∧ (∀ 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))

Unconditional global convergence of myopic dual congestion control ([OS07], §22.1, Eqs. (22.13), (22.15), pp. 575–576): combines global trajectory existence, uniqueness, and Lyapunov convergence without assuming a trajectory exists.