Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 2 — for every edge (î, ĵ), b(x,u) = h − B₁(x − ⟨e,x⟩⁺u^c) + ⟨e,x⟩⁻B₂u^s with B₁ lower triangular (î last), (B₁)_îî = µ_îĵ, last column of B₂ zero

Proved
SWSSNet.Diffusion.proposition_2

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

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

Let (ı^,ȷ^)(\hat\imath,\hat\jmath)(^,^​) be an edge of the tree, and let B1,B2B_1,B_2B1​,B2​ be the matrices of (38) for the pool ȷ^\hat\jmath^​. Then:

  1. For every constant vector hhh, every state x∈RIx\in\mathbb R^Ix∈RI and every control value u=(uc,us)∈ΔI×ΔJu=(u^c,u^s)\in\Delta_I\times\Delta_Ju=(uc,us)∈ΔI​×ΔJ​, the drift (42) has the representation
b(x,u)=h−B1(x−⟨e,x⟩+uc)+⟨e,x⟩−B2us.(43)b(x,u)=h-B_1\big(x-\langle e,x\rangle^+u^c\big)+\langle e,x\rangle^-B_2u^s. \qquad (43)b(x,u)=h−B1​(x−⟨e,x⟩+uc)+⟨e,x⟩−B2​us.(43)
  1. There is an ordering of the classes in which ı^\hat\imath^ comes last and B1B_1B1​ is lower triangular.
  2. Every diagonal entry of B1B_1B1​ is positive, and (B1)ı^ı^=μı^ȷ^(B_1)_{\hat\imath\hat\imath}=\mu_{\hat\imath\hat\jmath}(B1​)^^​=μ^^​​.
  3. The column ȷ^\hat\jmath^​ of B2B_2B2​, the last column in the basis (α,(β)−ȷ^)(\alpha,(\beta)_{-\hat\jmath})(α,(β)−^​​), is identically zero.

The representation turns the network drift into a piecewise-linear vector field with a triangular linear part. Theorems 3–5 and the stability analysis of Theorem 7 work with this form.

Formalization Note The paper states (43) with hhh of (12); the identity does not depend on hhh, and is stated for every constant vector. "Lower diagonal with respect to the ordered basis with αı^\alpha_{\hat\imath}α^​ last" is rendered as a permutation rk of the classes with ı^\hat\imath^ maximal and (B1)kl=0(B_1)_{kl}=0(B1​)kl​=0 whenever kkk precedes lll.

Preamble
import Mathlib
import Definitions.Def_SWSSNet_Diffusion_Network

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

/-- Proposition 2, p. 18: for every edge `(î, ĵ)` the drift (42) equals
`h − B₁(x − ⟨e,x⟩⁺u^c) + ⟨e,x⟩⁻B₂u^s` (43) on control values; `B₁` is lower triangular in an
ordering of the classes in which `î` comes last, with positive diagonal and `(B₁)_{îî} = µ_{îĵ}`;
and the column `ĵ` of `B₂` (the last in the basis `(α, (β)_{−ĵ})`) vanishes. -/
theorem proposition_2 {I J : ℕ} (N : TreeNetwork I J) (î : Fin I) (ĵ : Fin J) (hedge : N.adj î ĵ) :
    (∀ (hv : Fin I → ℝ) (u : (Fin I → ℝ) × (Fin J → ℝ)) (x : EthierKurtz.SDEState I),
      IsControlValue u →
      driftH N hv u x = WithLp.toLp 2 (hv - B1 N ĵ *ᵥ (fun k => x k - max (∑ l, x l) 0 * u.1 k)
        + max (-(∑ k, x k)) 0 • (B2 N ĵ *ᵥ u.2))) ∧
    (∃ rk : Fin I ≃ Fin I, (∀ k, rk k ≤ rk î) ∧ ∀ k l, rk k < rk l → B1 N ĵ k l = 0) ∧
    (∀ i, 0 < B1 N ĵ i i) ∧
    B1 N ĵ î î = N.mu î ĵ ∧
    ∀ i, B2 N ĵ i ĵ = 0 := by sorry

end SWSSNet.Diffusion
Source
Hmedi, Arapostathis & Pang, On System-Wide Safety Staffing of Large-Scale Parallel Server Networks, arXiv:2009.01942v3, p. 18, Proposition 2 and (43); B₁, B₂ from (38), p. 17
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