Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 4.3 — the EHL model and the PS network have the same load vector

Disproved
ProcessingNetworks.Subcriticality.ehl_load_eq_ps_load

by Shuze Chen · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

load-vectorqueueingstochastic-processing-network

Section 4.4 builds, from a processor sharing (PS) network, an equivalent head-of-line (EHL) model: each class iii is refined into the classes (i,s)(i,s)(i,s) indexed by the service phases sss of its phase-type service time (Assumption 2.1), and service effort inside a refined class goes to the oldest job rather than being shared. The EHL model is a unitary network with I~=∑i#{Si}\tilde I=\sum_i\#\{S_i\}I~=∑i​#{Si​} classes.

Both networks carry a load vector in the sense of Section 2.6:

ρ~=A~ M~ α~,α~=(I−P~′)−1λ~(4.28)\tilde\rho=\tilde A\,\tilde M\,\tilde\alpha,\qquad \tilde\alpha=(I-\tilde P')^{-1}\tilde\lambda \tag{4.28}ρ~​=A~M~α~,α~=(I−P~′)−1λ~(4.28) ρ=A M α,α=(I−P′)−1λ(4.29)\rho=A\,M\,\alpha,\qquad \alpha=(I-P')^{-1}\lambda \tag{4.29}ρ=AMα,α=(I−P′)−1λ(4.29)

Proposition 4.3 asserts that the two agree: ρ~=ρ\tilde\rho=\rhoρ~​=ρ.

The book calls it "obvious" in a sense -- ρk\rho_kρk​ and ρ~k\tilde\rho_kρ~​k​ have the same interpretation, the total service effort required from server kkk per time unit -- and says its "formal proof simply confirms that no mistake has been made in the development to this point". It is what lets the subcriticality condition be transported between the two models, and so is what makes Proposition 4.4's stability equivalence usable.

Formalization Note The EHL data are carried by the relations that define them from the PS data, not by their consequences: λ~(i,s)=λipsi\tilde\lambda_{(i,s)}=\lambda_i p^i_sλ~(i,s)​=λi​psi​; capacity consumption inherited unchanged, A~k,(i,s)=Ak,i\tilde A_{k,(i,s)}=A_{k,i}A~k,(i,s)​=Ak,i​, a refined class being served by the same server; per-phase mean service times m~(i,s)=msi\tilde m_{(i,s)}=m^i_sm~(i,s)​=msi​; and the class mean service time as the expected total over the phase-type chain, mi=∑sνsimsim_i=\sum_s\nu^i_s m^i_smi​=∑s​νsi​msi​ with νi=(I−(Pi)′)−1pi\nu^i=(I-(P^i)')^{-1}p^iνi=(I−(Pi)′)−1pi. Both α\alphaα and α~\tilde\alphaα~ are given by their own defining equations (4.29) and (4.28); in particular α~\tilde\alphaα~ is not assumed to equal αiνi\alpha_i\nu^iαi​νi, which is precisely the step the book's proof establishes. As the book states ("the substochastic matrices P1,…,PIP^1, \dots, P^IP1,…,PI and PPP are all transient"), the routing matrix PPP and the phase-transition matrices PiP^iPi are taken substochastic and transient (Pn→0P^n \to 0Pn→0 entrywise), which is what makes the three linear systems uniquely solvable — without it, the systems could have several solutions and the identity could fail for some of them.


Retired (2026-10-07). This statement was disproved: the accepted counterexample shows the formal statement does not faithfully state the cited source result, so it is deprecated and should not be built on.

Preamble
import Mathlib
Formal statement
namespace ProcessingNetworks.Subcriticality

open Matrix

/-- Proposition 4.3, p.79 (PDF p.95): the load vector of the equivalent head-of-line (EHL) model
equals the load vector of the processor-sharing (PS) network it was derived from,

`ρ̃ = ρ`.

The two load vectors are the ones of Section 2.6, computed by (4.28) and (4.29):

`ρ̃ = Ã M̃ α̃`  where  `α̃ = (I − P̃′)⁻¹ λ̃`,     (4.28)
`ρ  = A M α`   where  `α  = (I − P′)⁻¹ λ`.      (4.29)

The book calls the proposition "obvious" in a sense, since `ρ_k` and `ρ̃_k` have the same
interpretation — the total service effort required from server `k` per time unit — and says its
"formal proof simply confirms that no mistake has been made in the development to this point".

**Formalization note.** The EHL construction of §4.4 refines each class `i` into the classes
`(i, s)` for `s` a service phase of `i`, the phase-type structure being Assumption 2.1. Its data
are carried here by the relations that define them from the PS data, not by their consequences:
external arrivals to a refined class are `λ̃_{(i,s)} = λ_i p^i_s`, capacity consumption is
inherited unchanged (`Ã_{k,(i,s)} = A_{k,i}`, since a refined class is served by the same server),
mean service times are per phase (`m̃_{(i,s)} = m^i_s`), and the class mean service time is the
expected total over the phase-type chain, `m_i = Σ_s ν^i_s m^i_s` with
`ν^i = (I − (P^i)′)⁻¹ p^i`. The total arrival rate vectors `α` and `α̃` are given by their own
defining equations (4.29) and (4.28); in particular `α̃` is **not** assumed to equal
`α_i ν^i`, which is the step the book's proof establishes. As the book states ("the substochastic
matrices `P¹, …, P^I` and `P` are all transient"), the routing matrix `P` and the phase-transition
matrices `P^i` are substochastic and transient (`Pⁿ → 0`), which is what makes the linear systems
(4.28), (4.29) and `ν^i = (I − (P^i)′)⁻¹ p^i` uniquely solvable. -/
theorem ehl_load_eq_ps_load {I K : ℕ} (S : Fin I → ℕ)
    -- PS network data (Section 2.6)
    (lam : Fin I → ℝ) (P : Matrix (Fin I) (Fin I) ℝ) (A : Matrix (Fin K) (Fin I) ℝ)
    (m : Fin I → ℝ) (alpha : Fin I → ℝ)
    -- the phase-type structure of each class's service time (Assumption 2.1)
    (pinit : (i : Fin I) → Fin (S i) → ℝ)
    (Pph : (i : Fin I) → Matrix (Fin (S i)) (Fin (S i)) ℝ)
    (mph : (i : Fin I) → Fin (S i) → ℝ)
    (hP_nonneg : ∀ i j, 0 ≤ P i j) (hP_rowsum : ∀ i, ∑ j, P i j ≤ 1)
    (hP_transient : ∀ i j, Filter.Tendsto (fun n => (P ^ n) i j) Filter.atTop (nhds 0))
    (hPph_nonneg : ∀ i s s', 0 ≤ Pph i s s') (hPph_rowsum : ∀ i s, ∑ s', Pph i s s' ≤ 1)
    (hPph_transient : ∀ i s s', Filter.Tendsto (fun n => ((Pph i) ^ n) s s') Filter.atTop (nhds 0))
    (nu : (i : Fin I) → Fin (S i) → ℝ)
    (hnu : ∀ i, ((1 : Matrix (Fin (S i)) (Fin (S i)) ℝ) - (Pph i).transpose).mulVec (nu i)
      = pinit i)
    (hm : ∀ i, m i = ∑ s, nu i s * mph i s)
    -- the EHL data, defined from the PS data by the construction of §4.4
    (ltil : ((i : Fin I) × Fin (S i)) → ℝ)
    (Ptil : Matrix ((i : Fin I) × Fin (S i)) ((i : Fin I) × Fin (S i)) ℝ)
    (atil : ((i : Fin I) × Fin (S i)) → ℝ)
    (hltil : ∀ (i : Fin I) (s : Fin (S i)), ltil ⟨i, s⟩ = lam i * pinit i s)
    (hPtil_same : ∀ (i : Fin I) (s s' : Fin (S i)), Ptil ⟨i, s⟩ ⟨i, s'⟩ = Pph i s s')
    (hPtil_diff : ∀ (i j : Fin I), i ≠ j → ∀ (s : Fin (S i)) (s' : Fin (S j)),
      Ptil ⟨i, s⟩ ⟨j, s'⟩ = (1 - ∑ s'' : Fin (S i), Pph i s s'') * P i j * pinit j s')
    -- (4.28) and (4.29): the two total arrival rate vectors
    (hatil : ((1 : Matrix ((i : Fin I) × Fin (S i)) ((i : Fin I) × Fin (S i)) ℝ)
      - Ptil.transpose).mulVec atil = ltil)
    (halpha : ((1 : Matrix (Fin I) (Fin I) ℝ) - P.transpose).mulVec alpha = lam) :
    -- ρ̃ = ρ
    (fun k => ∑ c : (i : Fin I) × Fin (S i), A k c.1 * mph c.1 c.2 * atil c)
      = fun k => ∑ i, A k i * m i * alpha i := by sorry

end ProcessingNetworks.Subcriticality
Source
Dai & Harrison, Processing Networks: Fluid Models and Stability, pre-publication draft 2020-4-2, p. 79, Proposition 4.3
Human review
  • Endorsed by Community (Bot) · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Oct 1, 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