Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§4, proof of Theorem (4.5), first claim — (4.6) defines a probability distribution

Proved
JacksonJobshop.Equilibrium.product_form_is_distribution

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

p2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1product-formqueueing-theory

Let (N,L,M,R)(N, L, M, R)(N,L,M,R) be a jobshop-like queueing system satisfying Assumptions (2.1)–(2.4), with the notations WWW, www, π\piπ of (4.1)–(4.4). If π>0\pi > 0π>0, then

p(kˉ)=π w(kˉ) W(S(kˉ))(4.6)p(\bar k) = \pi\, w(\bar k)\, W(S(\bar k)) \tag{4.6}p(kˉ)=πw(kˉ)W(S(kˉ))(4.6)

defines a probability distribution over state vectors kˉ∈Z≥0N\bar k \in \mathbb{Z}_{\ge 0}^Nkˉ∈Z≥0N​: every p(kˉ)≥0p(\bar k) \ge 0p(kˉ)≥0 and

∑kˉp(kˉ)=1.\sum_{\bar k} p(\bar k) = 1.kˉ∑​p(kˉ)=1.

This is the first of the two verifications the paper names as the proof of Theorem (4.5).

Formalization Note The sum over state vectors is an unconditional sum (HasSum) over Fin N → ℕ.

Preamble
import Mathlib
import Definitions.Def_JacksonJobshop_Equilibrium_System
Formal statement
namespace JacksonJobshop.Equilibrium

/-- Jackson (1963), p. 136, first claim of the proof sentence before Theorem (4.5): if `π > 0`,
then (4.6) `p(k) = π w(k) W(S(k))` defines a probability distribution over state vectors. -/
theorem product_form_is_distribution {N : ℕ} (sys : JobshopSystem N) (hπ : 0 < piConst sys) :
    (∀ k, 0 ≤ productForm sys k) ∧ HasSum (productForm sys) 1 := by sorry

end JacksonJobshop.Equilibrium
Source
Jackson, Jobshop-Like Queueing Systems, Management Science 10(1) (1963), p. 136, §4, sentence before Theorem (4.5), first claim
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. Take any NNN and any jobshop system (λ,μ,r,e)(\lambda,\mu,r,e)(λ,μ,r,e) with NNN centers. Its assumptions are:

  • N>0N>0N>0;
  • λ(K)>0\lambda(K)>0λ(K)>0 for all KKK, or λ\lambdaλ is positive up to some K0K_0K0​ and zero after it;
  • μ(n,0)=0\mu(n,0)=0μ(n,0)=0 and μ(n,k)>0\mu(n,k)>0μ(n,k)>0 for k≥1k\ge1k≥1;
  • rrr has non-negative entries, and each of its N+1N+1N+1 rows (source 000 and centers 1..N1..N1..N) sums to 111 over the targets (centers 1..N1..N1..N and exit N+1N+1N+1);
  • e≥0e\ge0e≥0 is the unique solution of the traffic equations e(n)=r(0,n)+∑me(m)r(m,n)e(n)=r(0,n)+\sum_m e(m)r(m,n)e(n)=r(0,n)+∑m​e(m)r(m,n).

Definitions.

W(K)=∏i=0K−1λ(i),w(k)=∏n=1N∏i=1kne(n)μ(n,i),T(K)=∑S(k)=Kw(k),W(K)=\prod_{i=0}^{K-1}\lambda(i),\qquad w(k)=\prod_{n=1}^N\prod_{i=1}^{k_n}\frac{e(n)}{\mu(n,i)},\qquad T(K)=\sum_{S(k)=K}w(k),W(K)=i=0∏K−1​λ(i),w(k)=n=1∏N​i=1∏kn​​μ(n,i)e(n)​,T(K)=S(k)=K∑​w(k),

where S(k)=∑nknS(k)=\sum_n k_nS(k)=∑n​kn​. The constant π\piπ equals (∑KW(K)T(K))−1\big(\sum_K W(K)T(K)\big)^{-1}(∑K​W(K)T(K))−1 if the series is summable, and 000 otherwise. For every state k∈NNk\in\mathbb N^Nk∈NN,

p(k)=π w(k) W(S(k)).p(k)=\pi\,w(k)\,W(S(k)).p(k)=πw(k)W(S(k)).

Hypothesis. π>0\pi>0π>0. By the definition of π\piπ, this holds exactly when the series ∑KW(K)T(K)\sum_K W(K)T(K)∑K​W(K)T(K) is summable and its sum is positive.

Conclusion. p(k)≥0p(k)\ge 0p(k)≥0 for every k∈NNk\in\mathbb N^Nk∈NN, and the family (p(k))k∈NN(p(k))_{k\in\mathbb N^N}(p(k))k∈NN​ is (unconditionally) summable with total exactly 111.

Degenerate cases. N≥1N\ge1N≥1 always. If the series diverges, then π=0\pi=0π=0, the hypothesis fails, and nothing is asserted. States with kn≥1k_n\ge1kn​≥1 at a center where e(n)=0e(n)=0e(n)=0 have p(k)=0p(k)=0p(k)=0. The same holds for states with S(k)>K0+1S(k)>K_0+1S(k)>K0​+1 when λ\lambdaλ vanishes beyond K0K_0K0​.

Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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