Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3 — d(i,ℓ) = (eᵀB₁⁻¹)_ℓ/(eᵀB₁⁻¹)_i, and (eᵀB₁⁻¹)_i > 0

Proved
SWSSNet.Diffusion.theorem_3

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

matrixp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1tree

Let B1B_1B1​ be the matrix of (38) for a pool ȷ^\hat\jmath^​, and let ddd be the class-to-class gains (13). Then

d(i,ℓ)=(eTB1−1)ℓ(eTB1−1)i∀i,ℓ,(45)d(i,\ell)=\frac{(e^{\mathsf T}B_1^{-1})_\ell}{(e^{\mathsf T}B_1^{-1})_i}\qquad\forall i,\ell, \qquad (45)d(i,ℓ)=(eTB1−1​)i​(eTB1−1​)ℓ​​∀i,ℓ,(45)

and (eTB1−1)i>0(e^{\mathsf T}B_1^{-1})_i>0(eTB1−1​)i​>0 for every class iii.

The theorem links the combinatorial gains of the tree to the linear part of the diffusion drift. It is the key step in expressing ϑp\vartheta_pϑp​ through B1B_1B1​ (Theorem 4).

Formalization Note (eTB1−1)ℓ=∑k(B1−1)kℓ(e^{\mathsf T}B_1^{-1})_\ell=\sum_k(B_1^{-1})_{k\ell}(eTB1−1​)ℓ​=∑k​(B1−1​)kℓ​. Lean's inverse of a singular matrix is 000; the positivity clause therefore also asserts that B1B_1B1​ is invertible. The statement is posed for the B1B_1B1​ of every pool, each pool lying on an edge of the tree.

Preamble
import Mathlib
import Definitions.Def_SWSSNet_Diffusion_Network

open Matrix MeasureTheory
open scoped NNReal ENNReal BigOperators
Formal statement
namespace SWSSNet.Diffusion

/-- Theorem 3, p. 19: for the matrix `B₁` of any pool `ĵ`,
`d(i,ℓ) = (eᵀB₁⁻¹)_ℓ / (eᵀB₁⁻¹)_i` (45) for all classes `i, ℓ`, and `(eᵀB₁⁻¹)_i > 0`. -/
theorem theorem_3 {I J : ℕ} (N : TreeNetwork I J) (ĵ : Fin J) :
    (∀ i ℓ : Fin I, gain N (Sum.inl i) (Sum.inl ℓ) =
      (∑ k, (B1 N ĵ)⁻¹ k ℓ) / (∑ k, (B1 N ĵ)⁻¹ k i)) ∧
    ∀ i : Fin I, 0 < ∑ k, (B1 N ĵ)⁻¹ k i := by sorry

end SWSSNet.Diffusion
Source
Hmedi, Arapostathis & Pang, On System-Wide Safety Staffing of Large-Scale Parallel Server Networks, arXiv:2009.01942v3, p. 19, Theorem 3, (45)
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

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