Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 8.21 — assembly-with-side-business fluid model is stable (milestone)

Proved
ProcessingNetworks.GlobalStability.assembly_side_business_stable

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

fluid-limitlyapunov-methodsqueueing

Theorem 8.21. Assume the three inequalities of (5.33) — λ2>λ1\lambda_2 > \lambda_1λ2​>λ1​, λ1m1<1\lambda_1 m_1 < 1λ1​m1​<1, (λ2−λ1)m2<1(\lambda_2-\lambda_1)m_2 < 1(λ2​−λ1​)m2​<1 — all hold. Then the assembly-with- side-business fluid model is stable.

The proof uses the piecewise-linear Lyapunov function f(t)=∣Z1(t)−Z2(t)∣+αZ1(t)f(t) = |Z_1(t)-Z_2(t)| + \alpha Z_1(t)f(t)=∣Z1​(t)−Z2​(t)∣+αZ1​(t) for a suitably small α>0\alpha > 0α>0, case-splitting on the sign of Z1(t)−Z2(t)Z_1(t)-Z_2(t)Z1​(t)−Z2​(t) and applying Lemma 8.9 (mission V) when Z2(t)=0Z_2(t)=0Z2​(t)=0; it is the chapter's first genuinely two-dimensional piecewise-linear Lyapunov argument, foreshadowing the ring and re-entrant-line constructions later in the chapter.

Formalization note. The three inequalities are stated exactly as (5.33), with m1,m2m_1, m_2m1​,m2​ as mean service times (matching the book's own use of "mmm" for times and "μ=1/m\mu = 1/mμ=1/m" for rates within the fluid model's own equations, AssemblySideBusinessFluidModel).

Preamble
import Mathlib
import Definitions.Def_ProcessingNetworks_GlobalStability_AssemblySideBusiness
Formal statement
namespace ProcessingNetworks.GlobalStability

/-- Theorem 8.21, Dai & Harrison p. 150 (PDF p. 166): for the assembly-with-side-business SPN
(Figure 5.5) under the policy "server 1 assembles whenever both buffers are non-empty; server 2
serves buffer 2 alone whenever `Z1 < Z2`," if `lam2 > lam1`, `lam1 * m1 < 1` and
`(lam2 - lam1) * m2 < 1` (Eq. 5.33), then the fluid model is stable. -/
theorem assembly_side_business_stable
    (lam1 lam2 m1 m2 : ℝ) (hm1 : 0 < m1) (hm2 : 0 < m2)
    (h1 : lam2 > lam1) (h2 : lam1 * m1 < 1) (h3 : (lam2 - lam1) * m2 < 1) :
    AssemblySideBusinessFluidStable lam1 lam2 m1 m2 := by sorry

end ProcessingNetworks.GlobalStability
Source
Dai & Harrison, Processing Networks: Fluid Models and Stability, pre-publication draft 2020-4-2, p. 150, Theorem 8.21
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