Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4: neighbors Δ1,Δ2\Delta_1,\Delta_2Δ1​,Δ2​ give proportional kkkth rows of RΔ1,RΔ2R_{\Delta_1},R_{\Delta_2}RΔ1​​,RΔ2​​ and RΔ3=RΔ1(I−(1−λ)A)=RΔ2(I+λA)R_{\Delta_3}=R_{\Delta_1}(I-(1-\lambda)A)=R_{\Delta_2}(I+\lambda A)RΔ3​​=RΔ1​​(I−(1−λ)A)=RΔ2​​(I+λA)

Proved
RobustQueueRatio.SPStability.lemma_4

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

matrix-theorymulticlass-queueing-networkp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1sherman-morrison

Fix an open multiclass network (C,M,P,α)(C,M,P,\alpha)(C,M,P,α) with Q=(I−P⊤)−1Q=(I-P^\top)^{-1}Q=(I−P⊤)−1. Let Δ1,Δ2\Delta_1,\Delta_2Δ1​,Δ2​ be ratio matrices that differ only in the kkkth column, where kkk is a station. Let λ∈(0,1)\lambda\in(0,1)λ∈(0,1) and Δ3=λΔ1+(1−λ)Δ2\Delta_3=\lambda\Delta_1+(1-\lambda)\Delta_2Δ3​=λΔ1​+(1−λ)Δ2​. Assume that CMQΔiCMQ\Delta_iCMQΔi​ is invertible for i=1,2,3i=1,2,3i=1,2,3, and write RΔi=(CMQΔi)−1R_{\Delta_i}=(CMQ\Delta_i)^{-1}RΔi​​=(CMQΔi​)−1.

Since CMQ(Δ2−Δ1)CMQ(\Delta_2-\Delta_1)CMQ(Δ2​−Δ1​) has only its kkkth column nonzero, it equals uv⊤uv^\topuv⊤, where uuu is the kkkth column of CMQ(Δ2−Δ1)CMQ(\Delta_2-\Delta_1)CMQ(Δ2​−Δ1​) and v=ekv=e_kv=ek​ is the kkkth unit vector. Then:

  1. Δ1,Δ2,Δ3\Delta_1,\Delta_2,\Delta_3Δ1​,Δ2​,Δ3​ are ratio-matrix neighbors;
  2. the kkkth rows of RΔ1R_{\Delta_1}RΔ1​​ and RΔ2R_{\Delta_2}RΔ2​​ are proportional,
(RΔ1)k⋅=det⁡(RΔ2−1)det⁡(RΔ1−1) (RΔ2)k⋅;(R_{\Delta_1})_{k\cdot}=\frac{\det(R^{-1}_{\Delta_2})}{\det(R^{-1}_{\Delta_1})}\,(R_{\Delta_2})_{k\cdot};(RΔ1​​)k⋅​=det(RΔ1​−1​)det(RΔ2​−1​)​(RΔ2​​)k⋅​;
  1. the two expressions
A=uv⊤RΔ11+(1−λ)v⊤RΔ1u=uv⊤RΔ21−λv⊤RΔ2uA=\frac{uv^\top R_{\Delta_1}}{1+(1-\lambda)v^\top R_{\Delta_1}u}=\frac{uv^\top R_{\Delta_2}}{1-\lambda v^\top R_{\Delta_2}u}A=1+(1−λ)v⊤RΔ1​​uuv⊤RΔ1​​​=1−λv⊤RΔ2​​uuv⊤RΔ2​​​

define the same matrix; 4. RΔ3=RΔ1(I−(1−λ)A)=RΔ2(I+λA)R_{\Delta_3}=R_{\Delta_1}(I-(1-\lambda)A)=R_{\Delta_2}(I+\lambda A)RΔ3​​=RΔ1​​(I−(1−λ)A)=RΔ2​​(I+λA).

This is the Sherman–Morrison step that drives the paper's analysis: moving along one column of the ratio matrix changes the reflection matrix by a rank-one update.

Formalization Note. The station index kkk is k : Fin J, and "differ only in the kkkth column" is the hypothesis that Δ1\Delta_1Δ1​ and Δ2\Delta_2Δ2​ agree in every column j≠kj\neq kj=k. (R)k⋅(R)_{k\cdot}(R)k⋅​ is the row R k. uuu, vvv and the two expressions A1A_1A1​, A2A_2A2​ are introduced with let, and A=A1=A2A=A_1=A_2A=A1​=A2​ is stated as the conjunct A₁ = A₂. Both denominators equal ratios of determinants under the hypotheses, so they are nonzero and Lean's convention x/0=0x/0=0x/0=0 is not in play. The conclusion still asserts the identities outright.

Preamble
import Mathlib
import Definitions.Def_RobustQueueRatio_SPStability_Network
import Definitions.Def_RobustQueueRatio_SPStability_ChenS
import Definitions.Def_RobustQueueRatio_SPStability_RatioMatrix

open Matrix
Formal statement
namespace RobustQueueRatio.SPStability

/-- Lemma 4 (Zhao, Gurvich & Hasenbein, arXiv:2303.17746v3, p. 25). Two ratio matrices `Δ₁, Δ₂`
that differ only in column `k` (a station), `Δ₃ = λΔ₁ + (1 − λ)Δ₂` with `λ ∈ (0, 1)`, and
`CMQΔᵢ` invertible for `i = 1, 2, 3`. With `u` the `k`th column of `CMQ(Δ₂ − Δ₁)` and `v = e_k`:
`Δ₁, Δ₂, Δ₃` are neighbors; the `k`th rows satisfy (5.6); the two expressions for `A` agree; and
`R_{Δ₃} = R_{Δ₁}(I − (1 − λ)A) = R_{Δ₂}(I + λA)`. -/
theorem lemma_4 {J K : ℕ} (N : Network J K) (Δ₁ Δ₂ : Matrix (Fin K) (Fin J) ℝ) (k : Fin J)
    (lam : ℝ) (hΔ₁ : IsRatioMatrix N Δ₁) (hΔ₂ : IsRatioMatrix N Δ₂)
    (hk : ∀ i j, j ≠ k → Δ₁ i j = Δ₂ i j) (hlam₀ : 0 < lam) (hlam₁ : lam < 1)
    (h₁ : IsUnit (reflInv N Δ₁).det) (h₂ : IsUnit (reflInv N Δ₂).det)
    (h₃ : IsUnit (reflInv N (lam • Δ₁ + (1 - lam) • Δ₂)).det) :
    let Δ₃ := lam • Δ₁ + (1 - lam) • Δ₂
    let u : Fin J → ℝ := fun i => reflInv N (Δ₂ - Δ₁) i k
    let v : Fin J → ℝ := Pi.single k 1
    let A₁ := (1 + (1 - lam) * (v ⬝ᵥ (refl N Δ₁ *ᵥ u)))⁻¹ • (vecMulVec u v * refl N Δ₁)
    let A₂ := (1 - lam * (v ⬝ᵥ (refl N Δ₂ *ᵥ u)))⁻¹ • (vecMulVec u v * refl N Δ₂)
    AreNeighbors ![Δ₁, Δ₂, Δ₃] ∧
      refl N Δ₁ k = ((reflInv N Δ₂).det / (reflInv N Δ₁).det) • refl N Δ₂ k ∧
      A₁ = A₂ ∧
      refl N Δ₃ = refl N Δ₁ * (1 - (1 - lam) • A₁) ∧
      refl N Δ₃ = refl N Δ₂ * (1 + lam • A₁) := by sorry

end RobustQueueRatio.SPStability
Source
Zhao, Gurvich & Hasenbein, A Hierarchical Approach to Robust Stability of Multiclass Queueing Networks, arXiv:2303.17746v3, p. 25, Lemma 4 (with the set-up (5.1)–(5.3) on the same page)
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

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