Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix A, pp. 16–17, with (A.2) — F_n is finite and the drift of Ξ = Ξ1 + Ξ2 is at most −1 at every state outside F_n

Proved
StableDispatch.Markov.drift_outside_Fn

by mikedeng1 · Oct 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

continuous-time-markov-chainfoster-lyapunovload-balancinglyapunov-driftp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Fix n≥1n\ge1n≥1, λ∈(0,1)\lambda\in(0,1)λ∈(0,1), αn>0\alpha_n>0αn​>0 and μ∈Σn\mu\in\Sigma_nμ∈Σn​, and let rrr be the transition rates of the chain (Q(⋅),I(⋅))(Q(\cdot),I(\cdot))(Q(⋅),I(⋅)) of the single-ID policy. Let Ξ=Ξ1+Ξ2\Xi=\Xi_1+\Xi_2Ξ=Ξ1​+Ξ2​ be the Lyapunov function of (A.1) and

Fn={(q,i)∈Z+n×{1,…,n}: ∑j=1nqj<λn(1+2μmax⁡αn)+n+12min⁡{1−λ,μmin⁡}}(A.2).F_n=\Big\{(q,i)\in\mathbb Z_+^n\times\{1,\dots,n\}:\ \sum_{j=1}^nq_j<\frac{\lambda n\big(1+\frac{2\mu_{\max}}{\alpha_n}\big)+n+1}{2\min\{1-\lambda,\mu_{\min}\}}\Big\}\qquad(A.2).Fn​={(q,i)∈Z+n​×{1,…,n}: j=1∑n​qj​<2min{1−λ,μmin​}λn(1+αn​2μmax​​)+n+1​}(A.2).

Then

  1. FnF_nFn​ is a finite set;
  2. for every state (q,i)∉Fn(q,i)\notin F_n(q,i)∈/Fn​ the series below converges and
∑(q′,i′)∈Z+n×{1,…,n}[Ξ(q′,i′)−Ξ(q,i)]r(q,i)→(q′,i′)≤−1.\sum_{(q',i')\in\mathbb Z_+^n\times\{1,\dots,n\}}\big[\Xi(q',i')-\Xi(q,i)\big]r_{(q,i)\to(q',i')}\le-1 .(q′,i′)∈Z+n​×{1,…,n}∑​[Ξ(q′,i′)−Ξ(q,i)]r(q,i)→(q′,i′)​≤−1.

Together with irreducibility and the finiteness of the Ξ\XiΞ-weighted exit rates, this is the drift condition of the Foster–Lyapunov criterion, from which the positive recurrence of (Q(⋅),I(⋅))(Q(\cdot),I(\cdot))(Q(⋅),I(⋅)), and hence Theorem 2.1, follows.

Formalization Note. The sum runs over all states, including (q,i)(q,i)(q,i) itself, where the summand is 000; it is stated as the existence of a value d≤−1d\le-1d≤−1 to which the series converges (HasSum).

Differences from the source:

  • encoding: Σ over all (q′, i′) of [Ξ(q′, i′) − Ξ(q, i)] r ≤ −1 → there is d with HasSum of y ↦ (Ξ(y) − Ξ(x))·Q(x, y) to d and d ≤ −1; reason: same sum, with convergence made explicit (the diagonal term is 0)
  • encoding: n arbitrary → [NeZero n]; reason: μ_max and μ_min are undefined for n = 0 (no servers)
  • encoding: servers {1, …, n} → Fin n (0-based); reason: Lean convention, same instances
Preamble
import Mathlib
import Definitions.Def_MatrixAnalytic_Tree_Process
import Definitions.Def_StableDispatch_Markov_Setting
Formal statement
namespace StableDispatch.Markov

theorem drift_outside_Fn (n : ℕ) [NeZero n] (lam α : ℝ) (μ : Fin n → ℝ) (hlam0 : 0 < lam)
    (hlam1 : lam < 1) (hα : 0 < α) (hμ : μ ∈ Sigma n) :
    (Fn n lam α μ).Finite ∧
      ∀ x : State n, x ∉ Fn n lam α μ →
        ∃ d : ℝ, HasSum (fun y : State n => (Xi μ α y - Xi μ α x) * gen n lam α μ x y) d ∧
          d ≤ -1 := by sorry

end StableDispatch.Markov
Source
Gamarnik, Tsitsiklis, Zubeldia, Stability, Memory, and Messaging Trade-Offs in Heterogeneous Service Systems, arXiv:2007.07219v1, pp. 15–17, (A.2) and the display after (A.5)
Human review
  • Endorsed by Shuze Chen · Oct 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 24, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me