Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.2 — equalities (24), (25) for I_rr' = E[1{B_r} n_r'] and n̄_r = λ_r x_r

Proved
MulticlassQNet.FirstOrder.theorem_4_2_second_moment_equalities

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

conservation-lawp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1queueing-networksteady-state

Consider an open multiclass network with external rates λ0r\lambda_{0r}λ0r​, routing prsp_{rs}prs​, service rates μr\mu_rμr​, traffic solution λ\lambdaλ of (15), and the load condition at every station. For every Markovian sequencing policy satisfying Assumption A with invariant distribution π\piπ, let nˉr=Eπ[nr]=λrxr\bar n_r=E_\pi[n_r]=\lambda_rx_rnˉr​=Eπ​[nr​]=λr​xr​ and Irr′=Eπ[1{Br}nr′]I_{rr'}=E_\pi[1\{B_r\}n_{r'}]Irr′​=Eπ​[1{Br​}nr′​]. Then for every class rrr,

2μrIrr−2∑r′=1Rμr′pr′rIr′r−2λ0rnˉr=λ0r+λr(1−prr)+∑r′≠rλr′pr′r,(24)2\mu_rI_{rr}-2\sum_{r'=1}^R\mu_{r'}p_{r'r}I_{r'r}-2\lambda_{0r}\bar n_r=\lambda_{0r}+\lambda_r(1-p_{rr})+\sum_{r'\ne r}\lambda_{r'}p_{r'r},\qquad(24)2μr​Irr​−2r′=1∑R​μr′​pr′r​Ir′r​−2λ0r​nˉr​=λ0r​+λr​(1−prr​)+r′=r∑​λr′​pr′r​,(24)

and for all classes r>r′r>r'r>r′,

μrIrr′+μr′Ir′r−∑w=1RμwpwrIwr′−∑w=1Rμwpwr′Iwr−λ0rnˉr′−λ0r′nˉr=−λrprr′−λr′pr′r.(25)\mu_rI_{rr'}+\mu_{r'}I_{r'r}-\sum_{w=1}^R\mu_wp_{wr}I_{wr'}-\sum_{w=1}^R\mu_wp_{wr'}I_{wr}-\lambda_{0r}\bar n_{r'}-\lambda_{0r'}\bar n_r=-\lambda_rp_{rr'}-\lambda_{r'}p_{r'r}.\qquad(25)μr​Irr′​+μr′​Ir′r​−w=1∑R​μw​pwr​Iwr′​−w=1∑R​μw​pwr′​Iwr​−λ0r​nˉr′​−λ0r′​nˉr​=−λr​prr′​−λr′​pr′r​.(25)

These linear equalities in the unknowns nˉr\bar n_rnˉr​ and Irr′I_{rr'}Irr′​ hold for every admissible policy, so together with nonnegativity they define a polyhedron containing the achievable performance vectors; this is the paper's nonparametric relaxation.

Formalization Note The paper's λrxr\lambda_rx_rλr​xr​ is the mean number in system nˉr\bar n_rnˉr​ (Little's law; the paper uses nr′=λr′xr′n_{r'}=\lambda_{r'}x_{r'}nr′​=λr′​xr′​ on p. 20). The sum over r′r'r′ in (24) includes r′=rr'=rr′=r. The equalities are stated through the shared predicates Eq24, Eq25.

Preamble
import Mathlib
import Definitions.Def_MulticlassQNet_FirstOrder_Network
import Definitions.Def_MulticlassQNet_FirstOrder_Dynamics
import Definitions.Def_MulticlassQNet_FirstOrder_Constraints
Formal statement
namespace MulticlassQNet.FirstOrder

/-- Theorem 4.2 (p. 18): for every policy satisfying Assumption A, the moments
`I_{rr'} = E[1{B_r} n_{r'}]` and `n̄_r = λ_r x_r` satisfy (24) and (25). -/
theorem theorem_4_2_second_moment_equalities {N R : ℕ} (net : Network N R) (lam : Fin R → ℝ)
    (htraffic : net.IsTrafficSolution lam) (hopen : net.IsOpen) (hload : net.LoadLtOne lam)
    (P : Policy net) (π : (Fin R → ℕ) → ℝ) (hA : P.AssumptionA π) :
    net.Eq24 lam (meanNum π) (P.busyMoment π) ∧
      net.Eq25 lam (meanNum π) (P.busyMoment π) := by sorry

end MulticlassQNet.FirstOrder
Source
Bertsimas, Paschalidis, Tsitsiklis, Optimization of Multiclass Queueing Networks: Polyhedral and Nonlinear Characterizations of Achievable Performance, MIT Sloan WP #3509-92-MSA (Dec. 1992), p. 18, Theorem 4.2, Eqs. (24)–(25)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 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