Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

727 completed missions

Missions

601–620 of 727
OpenCompletedAll
🏆Completed
Control TheoryDynamic ProgrammingOperations Research+1·Captain: mikedeng1

Stochastic Optimal Control: The Discrete-Time Case II: Contraction Models — the Optimal Cost Is the Unique Fixed Point of T in the Closed Set B̄Textbook

Motivation

Discounted dynamic programming with bounded cost per stage is the standard setting in which infinite-horizon sequential decision problems are well posed: the optimal cost exists, satisfies Bellman's equation, and can be computed by iterating the DP operator. Shapley proved this for stochastic games in 1953 (Shapley 1953), Blackwell for discounted Markov decision processes in 1965 (Blackwell 1965), and Denardo observed in 1967 that the arguments use only two properties of the DP operator: monotonicity and contraction in the supremum norm (Denardo 1967). Bertsekas (1975, 1977) and Bertsekas and Shreve (1978) turned this observation into an abstract dynamic programming framework, in which a single mapping HHH encodes stochastic, deterministic, minimax and multiplicative-cost problems at once (Bertsekas 1977).

Chapter 4 of Bertsekas and Shreve, Stochastic Optimal Control: The Discrete-Time Case, is the contraction part of that framework. Its results are the abstract form of what every course on Markov decision processes proves for the discounted case, and they are what later work on abstract DP (Bertsekas, Abstract Dynamic Programming, 2022) and on robust and regularized MDPs builds on.

Setting

A model consists of a state space SSS, a control space CCC, a nonempty constraint set U(x)⊆CU(x)\subseteq CU(x)⊆C for each x∈Sx\in Sx∈S, a mapping H:S×C×F→[−∞,∞]H:S\times C\times F\to[-\infty,\infty]H:S×C×F→[−∞,∞], where FFF is the set of functions S→[−∞,∞]S\to[-\infty,\infty]S→[−∞,∞], and a function J0∈FJ_0\in FJ0​∈F with J0>−∞J_0>-\inftyJ0​>−∞. HHH is monotone: J≤J′J\le J'J≤J′ implies H(x,u,J)≤H(x,u,J′)H(x,u,J)\le H(x,u,J')H(x,u,J)≤H(x,u,J′).

A selector is a function μ:S→C\mu:S\to Cμ:S→C with μ(x)∈U(x)\mu(x)\in U(x)μ(x)∈U(x); MMM is the set of selectors, and a policy is a sequence π=(μ0,μ1,… )\pi=(\mu_0,\mu_1,\dots)π=(μ0​,μ1​,…) in MMM. The operators are

Tμ(J)(x)=H(x,μ(x),J),T(J)(x)=inf⁡u∈U(x)H(x,u,J).T_\mu(J)(x)=H(x,\mu(x),J),\qquad T(J)(x)=\inf_{u\in U(x)}H(x,u,J).Tμ​(J)(x)=H(x,μ(x),J),T(J)(x)=u∈U(x)inf​H(x,u,J).

The cost of π\piπ is Jπ(x)=lim⁡N→∞(Tμ0⋯TμN−1)(J0)(x)J_\pi(x)=\lim_{N\to\infty}(T_{\mu_0}\cdots T_{\mu_{N-1}})(J_0)(x)Jπ​(x)=limN→∞​(Tμ0​​⋯TμN−1​​)(J0​)(x), the optimal cost is J∗(x)=inf⁡πJπ(x)J^*(x)=\inf_{\pi}J_\pi(x)J∗(x)=infπ​Jπ​(x), and JμJ_\muJμ​ is the cost of the stationary policy (μ,μ,… )(\mu,\mu,\dots)(μ,μ,…).

BBB is the Banach space of bounded real functions on SSS with ∥J∥=sup⁡x∣J(x)∣\|J\|=\sup_x|J(x)|∥J∥=supx​∣J(x)∣. Assumption C asks for a closed set Bˉ⊆B\bar B\subseteq BBˉ⊆B containing J0J_0J0​ and invariant under TTT and every TμT_\muTμ​; that every limit defining JπJ_\piJπ​ exist and be real; and that for some integer m≥1m\ge1m≥1 and scalars 0<ρ<10<\rho<10<ρ<1, α>0\alpha>0α>0,

∥Tμ(J)−Tμ(J′)∥≤α∥J−J′∥(J,J′∈B),∥(Tμ0⋯Tμm−1)(J)−(Tμ0⋯Tμm−1)(J′)∥≤ρ∥J−J′∥(J,J′∈Bˉ).\|T_\mu(J)-T_\mu(J')\|\le\alpha\|J-J'\|\quad(J,J'\in B),\qquad \|(T_{\mu_0}\cdots T_{\mu_{m-1}})(J)-(T_{\mu_0}\cdots T_{\mu_{m-1}})(J')\|\le\rho\|J-J'\|\quad(J,J'\in\bar B).∥Tμ​(J)−Tμ​(J′)∥≤α∥J−J′∥(J,J′∈B),∥(Tμ0​​⋯Tμm−1​​)(J)−(Tμ0​​⋯Tμm−1​​)(J′)∥≤ρ∥J−J′∥(J,J′∈Bˉ).

Formalization targets

Goal: Proposition 4.2

Under Assumption C,

J∗∈Bˉ,J∗=T(J∗),J′∈Bˉ, J′=T(J′) ⇒ J′=J∗,J^*\in\bar B,\qquad J^*=T(J^*),\qquad J'\in\bar B,\ J'=T(J')\ \Rightarrow\ J'=J^*,J∗∈Bˉ,J∗=T(J∗),J′∈Bˉ, J′=T(J′) ⇒ J′=J∗,

T(J′)≤J′T(J')\le J'T(J′)≤J′ implies J∗≤J′J^*\le J'J∗≤J′ and J′≤T(J′)J'\le T(J')J′≤T(J′) implies J′≤J∗J'\le J^*J′≤J∗ for J′∈BˉJ'\in\bar BJ′∈Bˉ; each JμJ_\muJμ​ is the unique fixed point of TμT_\muTμ​ in Bˉ\bar BBˉ; and for every J∈BˉJ\in\bar BJ∈Bˉ

lim⁡N→∞∥TN(J)−J∗∥=0,lim⁡N→∞∥TμN(J)−Jμ∥=0.\lim_{N\to\infty}\|T^N(J)-J^*\|=0,\qquad\lim_{N\to\infty}\|T_\mu^N(J)-J_\mu\|=0.N→∞lim​∥TN(J)−J∗∥=0,N→∞lim​∥TμN​(J)−Jμ​∥=0.

The statement carries no constants beyond those of Assumption C.

Milestones

  • Fixed Point Theorem (p. 55): an mmm-step contraction of a nonempty closed subset of a Banach space has a unique fixed point, which attracts every orbit.
  • Proposition 4.1 (p. 53): JπJ_\piJπ​ does not depend on the terminal function in Bˉ\bar BBˉ; inf⁡π(Tμ0⋯TμN−1)(J)=TN(J)\inf_\pi(T_{\mu_0}\cdots T_{\mu_{N-1}})(J)=T^N(J)infπ​(Tμ0​​⋯TμN−1​​)(J)=TN(J); TmT^mTm and TμmT_\mu^mTμm​ are ρ\rhoρ-contractions on Bˉ\bar BBˉ.
  • Proposition 4.3 (p. 56): (μ∗,μ∗,… )(\mu^*,\mu^*,\dots)(μ∗,μ∗,…) is optimal iff Tμ∗(J∗)=T(J∗)T_{\mu^*}(J^*)=T(J^*)Tμ∗​(J∗)=T(J∗); pointwise optimal policies yield a stationary optimal one; stationary ε\varepsilonε-optimal policies exist.
  • Proposition 4.4 (p. 57): compactness of the sets {u∈U(x)∣H[x,u,Tk(Jˉ)]≤λ}\{u\in U(x)\mid H[x,u,T^k(\bar J)]\le\lambda\}{u∈U(x)∣H[x,u,Tk(Jˉ)]≤λ} gives policies attaining the DP infimum, and their accumulation points are optimal stationary policies.
  • Proposition 4.11 (p. 69): the discounted minimax model with 0≤g≤b0\le g\le b0≤g≤b and α<1\alpha<1α<1 satisfies Assumption C with Bˉ=B\bar B=BBˉ=B, m=1m=1m=1, ρ=α\rho=\alphaρ=α.

Further result

  • Proposition 4.5 (p. 59), a draft theorem of this mission that is not a milestone: the error bound J∗≤Jμ≤J∗+(2αε1+ε2)(1+α+⋯+αm−1)/(1−ρ)J^*\le J_\mu\le J^*+(2\alpha\varepsilon_1+\varepsilon_2)(1+\alpha+\cdots+\alpha^{m-1})/(1-\rho)J∗≤Jμ​≤J∗+(2αε1​+ε2​)(1+α+⋯+αm−1)/(1−ρ).

Significance

Proposition 4.2 is the existence-and-uniqueness theorem for Bellman's equation in the contraction regime, together with the convergence of value iteration from an arbitrary start in Bˉ\bar BBˉ. Propositions 4.3 to 4.5 turn it into statements about policies: when a stationary optimal policy exists, how one is found from the DP algorithm, and how much is lost when Bellman's equation is solved only approximately. Proposition 4.11 shows the assumption is met by a concrete class of problems, discounted minimax control, and so certifies that the abstract theorems are not vacuous.

The results are classical and have been proved in print since 1978; none of them is open. What this mission adds is a machine-checked version of the abstract theory itself, rather than of a single model. Mathlib has the Banach fixed point theorem for a contracting map of a complete space (ContractingWith) and a lemma for contracting iterates, but not the version on a closed subset with norm convergence of every orbit, and nothing on abstract DP. The platform has proved the finite-state discounted case for a concrete model (BertsekasDP.discounted_main_theorem); the abstract statements here cover infinite state spaces, minimax problems and mmm-step contractions, and are reused by the later missions of this series (generalized models, Chapter 6) and by papers that cite the book.

Difficulty

The first idea is to apply the contraction mapping principle to TTT and read off J∗J^*J∗ as its fixed point. That gives a fixed point of TTT but says nothing about J∗J^*J∗, which is defined as an infimum over all, generally nonstationary, policies of limits of compositions. The identification of the fixed point with J∗J^*J∗ is the content of the proposition, and it is where the Lipschitz condition (2) on all of BBB, not only on Bˉ\bar BBˉ, enters.

Two further features block a direct appeal to Mathlib. The contraction is only mmm-step, so neither TTT nor TμT_\muTμ​ need be a contraction. And HHH takes extended-real values, so every passage between FFF and the Banach space BBB must be justified by the invariance of Bˉ\bar BBˉ.

Formalization scope

The state and control spaces are arbitrary types. FFF is S → EReal; BBB is Mathlib's lp (fun _ : S => ℝ) ⊤, whose norm is the supremum norm, and toF embeds BBB into FFF. Bˉ\bar BBˉ is an arbitrary closed subset of BBB, not BBB itself, and uniqueness of fixed points is asserted within Bˉ\bar BBˉ. Policies are sequences ℕ → M; (Tμ0⋯TμN−1)(J)(T_{\mu_0}\cdots T_{\mu_{N-1}})(J)(Tμ0​​⋯TμN−1​​)(J) applies TμN−1T_{\mu_{N-1}}TμN−1​​ first. JπJ_\piJπ​ is the pointwise limit (limUnder), which exists and is real under Assumption C; J∗J^*J∗ is the infimum over all policies.

The book computes in [−∞,∞][-\infty,\infty][−∞,∞] with ∞−∞=∞\infty-\infty=\infty∞−∞=∞, whereas Mathlib's EReal has ⊥+⊤=⊥\bot+\top=\bot⊥+⊤=⊥. No statement adds infinities of opposite sign. A norm bound ∥J−J′∥≤c\|J-J'\|\le c∥J−J′∥≤c between functions of FFF is the predicate SupDistLe: both functions are real at every point and differ by at most ccc, which is what the bound means under the book's arithmetic. Condition (2) is imposed on all of BBB, as on p. 53. The scalars m,ρ,αm,\rho,\alpham,ρ,α of Assumption C are explicit parameters, so the constant of Proposition 4.5 is the book's exact expression. The Fixed Point Theorem assumes Bˉ\bar BBˉ nonempty, which the page leaves implicit and without which the statement is false.

Defining J∗J^*J∗ as the fixed point of TTT, or replacing it by the infimum over stationary policies, would make the goal trivial. Neither is done here: J∗J^*J∗ is the infimum of the policy costs, exactly as in Eq. (8) of Chapter 2.

A complete development needs the mmm-step fixed point theorem on closed subsets of a Banach space, which can be reused well beyond dynamic programming; the elementary calculus of SupDistLe and of the embedding of BBB into S → EReal; and the monotone-operator inequalities of Section 2.1. Contributions of any of these, or alternative proofs of the milestones, are welcome.

Selected references

  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press 1978; Athena Scientific reprint 1996, Chapter 4. http://web.mit.edu/dimitrib/www/soc.html
  • D. P. Bertsekas, Monotone mappings with application in dynamic programming, SIAM J. Control Optim. 15 (1977) 438–464. https://doi.org/10.1137/0315031
  • E. V. Denardo, Contraction mappings in the theory underlying dynamic programming, SIAM Review 9 (1967) 165–177. https://doi.org/10.1137/1009030
  • D. Blackwell, Discounted dynamic programming, Ann. Math. Statist. 36 (1965) 226–235. https://doi.org/10.1214/aoms/1177700285
  • L. S. Shapley, Stochastic games, Proc. Natl. Acad. Sci. USA 39 (1953) 1095–1100. https://doi.org/10.1073/pnas.39.10.1095
  • D. P. Bertsekas, Abstract Dynamic Programming, 3rd ed., Athena Scientific 2022. https://web.mit.edu/dimitrib/www/abstractdp_MIT.html
8 thms3 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

The Relaxation Method of Finding the Common Point of Convex Sets and Its Application to the Solution of Problems in Convex Programming 3: A Convergent Relaxation from Z Solves the Equality ProgramResearch Paper

Motivation

Many large convex programs have the form "minimize a strictly convex function fff subject to linear equations Ax=bAx=bAx=b". Examples are entropy maximization under moment constraints, the estimation of a matrix with prescribed row and column sums (the matrix-scaling or RAS problem of transportation and input–output analysis), and least-norm solutions of linear systems. When AAA is large and sparse, methods that touch one equation at a time are attractive: each step needs only one row of AAA.

L. M. Bregman's 1967 paper (doi:10.1016/0041-5553(67)90040-7) introduced such a method. §1 defines a "relaxation" for finding a common point of closed convex sets AiA_iAi​, in which each step replaces the current point by its DDD-projection onto one set: the minimizer of a distance-like function D(⋅,y)D(\cdot,y)D(⋅,y) over that set. §2 chooses DDD from the objective fff itself, D(x,y)=f(x)−f(y)−(g(y),x−y)D(x,y)=f(x)-f(y)-(g(y),x-y)D(x,y)=f(x)−f(y)−(g(y),x−y) with ggg the gradient of fff; this function is now called the Bregman divergence. Theorem 3 of the paper, the target of this mission, shows that with this choice the relaxation does more than find a feasible point: started at a suitable point, its limit minimizes fff over the feasible set. The resulting row-action methods underlie later work on entropy optimization and matrix balancing (Censor and Zenios, Parallel Optimization, 1997) and the Bregman-projection techniques of modern optimization.

Setting

Work in the Euclidean space EpE^pEp with inner product (⋅,⋅)(\cdot,\cdot)(⋅,⋅). Let S⊂EpS\subset E^pS⊂Ep be a convex set with closure Sˉ\bar SSˉ and interior int⁡S\operatorname{int}SintS. Let fff be strictly convex and continuously differentiable over SSS, with gradient g(x)g(x)g(x) at x∈Sx\in Sx∈S, and continuous over Sˉ\bar SSˉ. Let AAA be an m×pm\times pm×p matrix with nonzero rows A1,…,AmA_1,\dots,A_mA1​,…,Am​ and b∈Emb\in E^mb∈Em. The problem (2.1)–(2.3) is

minimize f(x)subject toAx=b, x∈Sˉ,\text{minimize } f(x)\quad\text{subject to}\quad Ax=b,\ x\in\bar S,minimize f(x)subject toAx=b, x∈Sˉ,

with feasible set R={x∈Ep∣Ax=b, x∈Sˉ}R=\{x\in E^p\mid Ax=b,\ x\in\bar S\}R={x∈Ep∣Ax=b, x∈Sˉ}, assumed nonempty. A point of RRR minimizing fff over RRR is a solution.

The function (1.4) is

D(x,y)=f(x)−f(y)−(g(y),x−y),D(x,y)=f(x)-f(y)-\bigl(g(y),x-y\bigr),D(x,y)=f(x)−f(y)−(g(y),x−y),

and AiA_iAi​ also denotes the hyperplane {x∣(Ai,x)=bi}\{x\mid (A_i,x)=b_i\}{x∣(Ai​,x)=bi​}. The paper assumes that DDD satisfies its conditions I–VI of §1 with respect to these hyperplanes; among them, condition II provides, for every y∈Sy\in Sy∈S, a DDD-projection Piy∈Ai∩SP_iy\in A_i\cap SPi​y∈Ai​∩S minimizing D(⋅,y)D(\cdot,y)D(⋅,y) over Ai∩SA_i\cap SAi​∩S. It also assumes condition (2): if yn∈Sy^n\in Syn∈S and yn→y∗∈Sˉy^n\to y^*\in\bar Syn→y∗∈Sˉ, then D(y∗,yn)→0D(y^*,y^n)\to 0D(y∗,yn)→0.

A relaxation sequence with control (in)n≥0(i_n)_{n\ge0}(in​)n≥0​ starts at x0∈Sx^0\in Sx0∈S and sets xn+1=Pinxnx^{n+1}=P_{i_n}x^nxn+1=Pin​​xn. The control is any sequence of row indices. Finally,

Z={x∈S∣g(x)=uA=∑iuiAi for some u∈Em}Z=\{x\in S\mid g(x)=uA=\textstyle\sum_i u_iA_i\ \text{for some } u\in E^m\}Z={x∈S∣g(x)=uA=∑i​ui​Ai​ for some u∈Em}

is the set of points of SSS at which the gradient lies in the row space of AAA.

Formalization targets

Goal: Theorem 3

Assume that the DDD-projection of every point of int⁡S\operatorname{int}SintS onto every AiA_iAi​ lies in int⁡S\operatorname{int}SintS. For every control and every relaxation sequence with x0∈Z∩int⁡Sx^0\in Z\cap\operatorname{int}Sx0∈Z∩intS that converges to a point x∗∈Rx^*\in Rx∗∈R,

f(x∗)≤f(y)for every y∈R.f(x^*)\le f(y)\qquad\text{for every } y\in R .f(x∗)≤f(y)for every y∈R.

Convergence of the sequence is a hypothesis; the theorem says what the limit is, whichever control produced it.

Milestones

  1. Lemma 3. If y∗∈R∩Zˉy^*\in R\cap\bar Zy∗∈R∩Zˉ, then y∗y^*y∗ is a solution of (2.1)–(2.3).
  2. (2.7)–(2.8). For x∈int⁡Sx\in\operatorname{int}Sx∈intS there is λ∈R\lambda\in\mathbb Rλ∈R with g(Pix)=g(x)+λAig(P_ix)=g(x)+\lambda A_ig(Pi​x)=g(x)+λAi​ and (Ai,Pix)=bi(A_i,P_ix)=b_i(Ai​,Pi​x)=bi​.
  3. Invariance of ZZZ. PiP_iPi​ maps Z∩int⁡SZ\cap\operatorname{int}SZ∩intS into Z∩int⁡SZ\cap\operatorname{int}SZ∩intS.

An additional item states Note 2: the point and the multiplier in (2.7)–(2.8) are unique.

Significance

Theorem 3 converts a feasibility algorithm into an optimization algorithm for equality-constrained convex programs. Each step solves a one-dimensional problem (the multiplier λ\lambdaλ of a single equation), so the method scales to systems with very many equations, and with the controls of Theorems 1–2 of the same paper it gives a complete algorithm. Specializations include iterative proportional fitting for entropy objectives and Kaczmarz-type projections for f(x)=12∥x∥2f(x)=\tfrac12\|x\|^2f(x)=21​∥x∥2.

The theorem and its proof are classical and have been reproved many times, but no machine-checked proof is known to exist. A formalization produces a verified bridge between three standard pieces of convex analysis: first-order optimality on an affine set, the supporting-hyperplane inequality for a differentiable convex function extended to the closure of its domain, and the passage of a Lagrange condition to a limit. Each is reusable in other row-action and mirror-descent developments.

Difficulty

The obvious argument says: the limit is feasible, and the gradient at every iterate lies in the row space of AAA, so the limit satisfies the Karush–Kuhn–Tucker conditions. Two steps of this argument fail as stated. First, the gradient is only known on SSS, the limit may lie on the boundary of SSS (or outside SSS, in Sˉ\bar SSˉ), and ggg need not extend continuously there, so the multipliers unu^nun need not converge and no Lagrange condition holds at the limit. Lemma 3 must therefore reach optimality without a gradient at y∗y^*y∗. Second, the Lagrange condition (2.7) at an iterate requires the projection to be an interior minimizer, which is why the theorem carries the hypothesis that PiP_iPi​ preserves int⁡S\operatorname{int}SintS; on the boundary of SSS a minimizer over Ai∩SA_i\cap SAi​∩S need not satisfy (2.7).

Formalization scope

The space is EuclideanSpace ℝ (Fin p), rows are vectors a i, and (Ai,x)(A_i,x)(Ai​,x) is the real inner product. The gradient ggg is explicit data tied to fff by HasGradientWithinAt f (g x) S x for x∈Sx\in Sx∈S and continuous on SSS; SSS is not assumed open, and Mathlib's gradient is not used. The relevant explicit choices are:

  • The DDD-projection is a fixed map PPP; condition II says PiyP_iyPi​y minimizes D(⋅,y)D(\cdot,y)D(⋅,y) over Ai∩SA_i\cap SAi​∩S, and condition III is stated for that map.
  • Condition IV is assumed in its one-sided directional form (implied by the paper's), so theorems under it are at least as strong as the paper's.
  • "Compact" in conditions V and VI is sequential compactness. Condition V is assumed for the points of R∩SR\cap SR∩S.
  • Condition (2) is assumed for limits y∗∈Sˉy^*\in\bar Sy∗∈Sˉ; the page prints y∗∈Sy^*\in Sy∗∈S, but its use at a feasible point needs Sˉ\bar SSˉ.
  • Translation slips are corrected in the statements and recorded: condition II's "D(z,x)D(z,x)D(z,x)" and "i∈Ti\in Ti∈T", (2.7)'s "g(xn−1)g(x^{n-1})g(xn−1)" (read g(xn+1)g(x^{n+1})g(xn+1)), and "Theorems 1 − 3" (read Theorems 1–2).
  • The control is an arbitrary sequence of indices in {0,…,m−1}\{0,\dots,m-1\}{0,…,m−1}; λ is named lam.
  • Note 2 is stated for candidate points y,z∈Sy,z\in Sy,z∈S, where ggg is meaningful.

The goal does not conclude that the relaxation converges; a statement asserting convergence is a different, unproved theorem. Equally, it must not be weakened to a fixed control, to an open SSS, or to a limit assumed to lie in ZZZ: any of these would trivialize the passage to the limit that the theorem is about.

A complete development needs the first-order condition for a local minimum on an affine hyperplane, the gradient inequality f(x)≥f(y)+(g(y),x−y)f(x)\ge f(y)+(g(y),x-y)f(x)≥f(y)+(g(y),x−y) for x∈Sˉx\in\bar Sx∈Sˉ, y∈Sy\in Sy∈S, and an induction along the relaxation sequence. Proofs of the milestones and of Note 2 are welcome independently.

Selected references

  • L. M. Bregman, The relaxation method of finding the common point of convex sets and its application to the solution of problems in convex programming, USSR Comput. Math. Math. Phys. 7(3) (1967) 200–217. doi:10.1016/0041-5553(67)90040-7
  • Y. Censor, S. A. Zenios, Parallel Optimization: Theory, Algorithms, and Applications, Oxford University Press, 1997. doi:10.1093/oso/9780195100624.001.0001
  • Y. Censor, A. Lent, An iterative row-action method for interval convex programming, J. Optim. Theory Appl. 34 (1981) 321–353. doi:10.1007/BF00934676
6 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations ResearchOptimization·Captain: mikedeng1

Supply Chain Coordination with Revenue-Sharing Contracts: Strengths and Limitations 2: With Competing Retailers, Revenue Sharing Supports the System-Optimal Quantities as a Nash EquilibriumResearch Paper

Motivation

A supplier that sells through independent retailers usually loses part of the profit an integrated firm would earn: each retailer orders to maximize its own profit, not the channel's. Supply chain coordination asks which contracts make the decentralized choices coincide with the integrated optimum. Cachon and Lariviere study revenue-sharing contracts, under which a retailer pays a per-unit wholesale price and keeps only a fraction ϕ\phiϕ of its revenue, the rest going to the supplier. The contracts were made prominent by the video rental industry around 1998, where studios lowered tape prices in exchange for a share of rental income.

With a single retailer, revenue sharing at the wholesale price ϕc\phi cϕc coordinates the channel and splits its profit in the proportion ϕ\phiϕ. This mission formalizes the extension in Section 3.2 of the paper to competing retailers: several locations whose revenues depend on each other's stock, so that one retailer's order lowers the others' revenue. Competition creates externalities the single-retailer argument does not have, and the question is whether revenue sharing still coordinates, and at what prices. Section 4.1.2 then works out a Cournot example in closed form, measuring how far the supplier's own optimal wholesale price leaves the channel from the integrated profit.

The source is the authors' working paper of June 2000; the published version (Management Science 51(1), 2005) renumbers and revises the results. The working paper numbers no theorem, so results are cited by section, displayed equation and page.

Setting

A single supplier sells one product through nnn locations i=1,…,ni = 1,\dots,ni=1,…,n, each run by an independent retailer. A stocking profile is qˉ=(q1,…,qn)\bar q = (q_1,\dots,q_n)qˉ​=(q1​,…,qn​), and the revenue at location iii is Ri(qˉ)R_i(\bar q)Ri​(qˉ​), which may depend on every location's quantity. The system revenue is R(qˉ)=∑iRi(qˉ)R(\bar q) = \sum_i R_i(\bar q)R(qˉ​)=∑i​Ri​(qˉ​), every unit costs the supplier c>0c > 0c>0, and the integrated system profit is

Π(qˉ)=R(qˉ)−c∑i=1nqi.\Pi(\bar q) = R(\bar q) - c\sum_{i=1}^n q_i .Π(qˉ​)=R(qˉ​)−ci=1∑n​qi​.

Write Rji(qˉ)=∂Rj(qˉ)/∂qiR_j^i(\bar q) = \partial R_j(\bar q)/\partial q_iRji​(qˉ​)=∂Rj​(qˉ​)/∂qi​: the superscript is the variable differentiated, the subscript the revenue function. The paper assumes that each RiR_iRi​ is continuous, that ∂2Ri/∂qi∂qj≤0\partial^2 R_i/\partial q_i\partial q_j \le 0∂2Ri​/∂qi​∂qj​≤0 for j≠ij \ne ij=i (locations are substitutes), and that RiR_iRi​ is unimodal in qiq_iqi​. The system-optimal profile qˉI\bar q^Iqˉ​I has positive entries and solves the first-order system

Rii(qˉI)+∑j≠iRji(qˉI)=c,i=1,…,n.(6)R_i^i(\bar q^I) + \sum_{j\ne i} R_j^i(\bar q^I) = c, \qquad i = 1,\dots,n. \tag{6}Rii​(qˉ​I)+j=i∑​Rji​(qˉ​I)=c,i=1,…,n.(6)

Under a revenue-sharing contract (ϕ,wi)(\phi, w_i)(ϕ,wi​) retailer iii earns πri(qˉ,ϕ,wˉ)=ϕRi(qˉ)−wiqi\pi_{r_i}(\bar q,\phi,\bar w) = \phi R_i(\bar q) - w_i q_iπri​​(qˉ​,ϕ,wˉ)=ϕRi​(qˉ​)−wi​qi​ and the supplier earns πs(qˉ,ϕ,wˉ)=∑i((1−ϕ)Ri(qˉ)+wiqi)−c∑iqi\pi_s(\bar q,\phi,\bar w) = \sum_i\big((1-\phi)R_i(\bar q) + w_i q_i\big) - c\sum_i q_iπs​(qˉ​,ϕ,wˉ)=∑i​((1−ϕ)Ri​(qˉ​)+wi​qi​)−c∑i​qi​; the wholesale-price contract is ϕ=1\phi = 1ϕ=1, with profits written πri(qˉ,wˉ)\pi_{r_i}(\bar q,\bar w)πri​​(qˉ​,wˉ) and πs(qˉ,wˉ)\pi_s(\bar q,\bar w)πs​(qˉ​,wˉ). A Nash equilibrium in order quantities is a profile qˉ≥0\bar q \ge 0qˉ​≥0 from which no retailer gains by changing its own quantity to any x≥0x \ge 0x≥0. The coordinating wholesale prices are

wiI=c−∑j≠iRji(qˉI).w_i^I = c - \sum_{j\ne i} R_j^i(\bar q^I).wiI​=c−j=i∑​Rji​(qˉ​I).

The Cournot example (7) is Ri(qˉ)=qi(1−qi−β∑j≠iqj)R_i(\bar q) = q_i\big(1 - q_i - \beta\sum_{j\ne i} q_j\big)Ri​(qˉ​)=qi​(1−qi​−β∑j=i​qj​) with 0≤β<10 \le \beta < 10≤β<1.

Formalization targets

Goal: revenue sharing supports qˉI\bar q^Iqˉ​I (Sec. 3.2, p. 14)

For ϕ∈[0,1]\phi\in[0,1]ϕ∈[0,1] and wi(ϕ)=ϕwiIw_i(\phi) = \phi w_i^Iwi​(ϕ)=ϕwiI​:

qˉI is a Nash equilibrium,πri(qˉI,ϕ,ϕwˉI)=ϕ πri(qˉI,wˉI),πs(qˉI,ϕ,ϕwˉI)=(1−ϕ)Π(qˉI)+ϕ πs(qˉI,wˉI).\bar q^I \text{ is a Nash equilibrium},\quad \pi_{r_i}(\bar q^I,\phi,\phi\bar w^I) = \phi\,\pi_{r_i}(\bar q^I,\bar w^I),\quad \pi_s(\bar q^I,\phi,\phi\bar w^I) = (1-\phi)\Pi(\bar q^I) + \phi\,\pi_s(\bar q^I,\bar w^I).qˉ​I is a Nash equilibrium,πri​​(qˉ​I,ϕ,ϕwˉI)=ϕπri​​(qˉ​I,wˉI),πs​(qˉ​I,ϕ,ϕwˉI)=(1−ϕ)Π(qˉ​I)+ϕπs​(qˉ​I,wˉI).

Wholesale-price contracts (Sec. 3.2, pp. 13–14)

An interior equilibrium satisfies Rii(qˉN)=wiR_i^i(\bar q^N) = w_iRii​(qˉ​N)=wi​ (Eq. (8)), so marginal-cost pricing does not support qˉI\bar q^Iqˉ​I when a location imposes a negative externality; the prices wˉI\bar w^IwˉI make qˉI\bar q^Iqˉ​I an equilibrium; wiI≥cw_i^I \ge cwiI​≥c when cross-effects are nonpositive; and wˉI\bar w^IwˉI supports exactly the split πs(qˉI,wˉI)=∑iqiI∑j≠i(−Rji(qˉI))\pi_s(\bar q^I,\bar w^I) = \sum_i q_i^I\sum_{j\ne i}(-R_j^i(\bar q^I))πs​(qˉ​I,wˉI)=∑i​qiI​∑j=i​(−Rji​(qˉ​I)).

Revenue sharing (Sec. 3.2, p. 14)

An interior equilibrium satisfies ϕRii(qˉN)=wi(ϕ)\phi R_i^i(\bar q^N) = w_i(\phi)ϕRii​(qˉ​N)=wi​(ϕ); the two profit identities hold for every ϕ\phiϕ; and πri(qˉI,wˉI)≥0\pi_{r_i}(\bar q^I,\bar w^I) \ge 0πri​​(qˉ​I,wˉI)≥0.

The Cournot example (Sec. 4.1.2, pp. 19–20)

At a common price w<1w<1w<1 the unique equilibrium is qiN=(1−w)/(2+β(n−1))q_i^N = (1-w)/(2+\beta(n-1))qiN​=(1−w)/(2+β(n−1)); the integrated optimum is qiI=(1−c)/(2+2β(n−1))q_i^I = (1-c)/(2+2\beta(n-1))qiI​=(1−c)/(2+2β(n−1)); the coordinating price wI=c+β(n−1)(1−c)/(2+2β(n−1))w^I = c + \beta(n-1)(1-c)/(2+2\beta(n-1))wI=c+β(n−1)(1−c)/(2+2β(n−1)) increases in β\betaβ and nnn; the supplier's optimal price is w∗=(1+c)/2w^* = (1+c)/2w∗=(1+c)/2; and the efficiency at w∗w^*w∗ is

Π(qˉN(w∗))Π(qˉI)=1−1(2+β(n−1))2.\frac{\Pi(\bar q^N(w^*))}{\Pi(\bar q^I)} = 1 - \frac{1}{(2+\beta(n-1))^2}.Π(qˉ​I)Π(qˉ​N(w∗))​=1−(2+β(n−1))21​.

Significance

The goal shows that the single-retailer coordination result survives competition, with one change: the coordinating price must charge each retailer for the externality it imposes on the others, so it depends on every location's revenue function, and wiIw^I_iwiI​ exceeds the production cost. The supplier's profit then moves along a line between what wholesale prices alone give her and the whole system profit, which is how revenue sharing provides a profit split that linear prices cannot. The Cournot results make the comparison quantitative: when retailers compete intensely, the supplier's own optimal wholesale price already achieves most of the integrated profit, so revenue sharing, which has administrative costs, is less attractive.

No machine-checked proof of these results is known. The mission produces a reusable formal description of an nnn-player quantity game under per-retailer linear contracts, equilibrium conditions for it, and a fully worked Cournot instance, including a uniqueness claim for equilibria among all (not only symmetric) profiles.

Difficulty

The equilibrium claims are global: a retailer must not gain from any nonnegative deviation, not only from small ones. A first-order condition at qˉI\bar q^Iqˉ​I does not give this by itself. The page assumes RiR_iRi​ unimodal in qiq_iqi​, but unimodality does not survive subtracting the linear purchase cost, so the first-order condition is not sufficient under that assumption alone; the formalization uses concavity in the own quantity, under which it is. The participation claim πri(qˉI,wˉI)≥0\pi_{r_i}(\bar q^I,\bar w^I) \ge 0πri​​(qˉ​I,wˉI)≥0 is stated on the page without proof and needs a bound on the revenue of a location that stocks nothing.

In the Cournot example, uniqueness of the equilibrium must exclude asymmetric profiles and profiles where some retailers stock nothing, and the supplier's optimal price must be compared against every equilibrium at every price, including prices at which the retailers order nothing.

Formalization scope

Locations are Fin n; a profile is Fin n → ℝ; revenues are R : Fin n → (Fin n → ℝ) → ℝ, and dR i j q is Rji(qˉ)=∂Rj/∂qiR_j^i(\bar q) = \partial R_j/\partial q_iRji​(qˉ​)=∂Rj​/∂qi​, given as a partial derivative at every profile with all entries positive. A deviation of retailer iii to xxx is Function.update q i x, and Nash equilibria quantify over all x≥0x \ge 0x≥0. The standing assumptions of Section 3.2 are fields of the structure Model: c>0c > 0c>0; continuity of RiR_iRi​ on the nonnegative orthant; the partial derivatives; ∂2Ri/∂qi∂qj≤0\partial^2 R_i/\partial q_i\partial q_j \le 0∂2Ri​/∂qi​∂qj​≤0, encoded as "RiiR_i^iRii​ does not increase in qjq_jqj​"; and concavity of RiR_iRi​ in qiq_iqi​, which is the formalization's reading of "unimodal in qiq_iqi​". The paper's assumption that marginal revenue eventually falls below every δ>0\delta > 0δ>0 is used only for existence of an equilibrium, which is not formalized, and is omitted.

Deviations from the page, each disclosed in the item concerned:

  • qˉI\bar q^Iqˉ​I is taken as any positive solution of (6); its optimality for Π\PiΠ is not used.
  • "qˉ∗\bar q^*qˉ​∗ is a Nash equilibrium" (p. 13) is read as qˉI\bar q^Iqˉ​I.
  • In ϕ(Ri(qˉI)−qiIwi)\phi(R_i(\bar q^I) - q_i^I w_i)ϕ(Ri​(qˉ​I)−qiI​wi​) (p. 14), wiw_iwi​ is read as wiIw_i^IwiI​.
  • "Rii(qˉI)>cR_i^i(\bar q^I) > cRii​(qˉ​I)>c" needs a negative externality ∑j≠iRji(qˉI)<0\sum_{j\ne i}R_j^i(\bar q^I) < 0∑j=i​Rji​(qˉ​I)<0, which is assumed.
  • "Rji(qˉ)≤0R_j^i(\bar q) \le 0Rji​(qˉ​)≤0" is not a standing assumption, so it is a hypothesis of wiI≥cw_i^I \ge cwiI​≥c, and strictness needs some strictly negative cross-effect.
  • πri(qˉI,wˉI)≥0\pi_{r_i}(\bar q^I,\bar w^I) \ge 0πri​​(qˉ​I,wˉI)≥0 assumes nonnegative revenue at a location that stocks nothing.
  • In the Cournot example the implicit w<1w < 1w<1 and 0<c<10 < c < 10<c<1 are hypotheses; all retailers pay a common price; "increasing" is strict exactly where it holds (n≥2n \ge 2n≥2 for β\betaβ, β>0\beta > 0β>0 for nnn).

A formalization that defines "the prices coordinate" as "the prices satisfy the first-order condition at qˉI\bar q^Iqˉ​I" restates (6) and is ruled out: every equilibrium claim here is the game-theoretic statement about unilateral deviations. Contributions welcome: proofs of the equilibrium lemmas from concavity and the derivative, the Cournot uniqueness argument, and a general existence theorem for the quantity game.

Selected references

  • G. P. Cachon, M. A. Lariviere, Supply Chain Coordination with Revenue-Sharing Contracts: Strengths and Limitations, working paper, June 2000. Published version: Management Science 51(1):30–44, 2005. https://doi.org/10.1287/mnsc.1040.0215
  • D. Fudenberg, J. Tirole, Game Theory, MIT Press, 1991 (Theorem 1.2, existence of pure-strategy equilibria).
  • F. Bernstein, A. Federgruen, Pricing and Replenishment Strategies in a Distribution System with Competing Retailers, Operations Research 51(3):409–426, 2003. https://doi.org/10.1287/opre.51.3.409.14957
  • J. Tirole, The Theory of Industrial Organization, MIT Press, 1988.
16 thms3 active usersReviewed
🏆Completed
Control TheoryDynamic ProgrammingOperations Research+1·Captain: mikedeng1

Stochastic Optimal Control: The Discrete-Time Case I: Finite-Horizon Abstract Dynamic Programming — the DP Algorithm Yields the N-Stage Optimal CostTextbook

Motivation

Dynamic programming (DP) solves sequential decision problems by backward recursion: compute the optimal cost of the last stage, then of the last two stages, and so on. For problems with finitely many states and controls and real-valued costs, the recursion obviously gives the optimal cost. Applications are rarely like that. Control spaces are continuous, costs can be unbounded or infinite, the criterion can be multiplicative (risk-sensitive exponential cost) or worst-case (minimax), and the set of policies is an infinite product of function spaces. In this setting the DP recursion can fail to produce the optimal cost.

Bertsekas and Shreve, Stochastic Optimal Control: The Discrete-Time Case (Academic Press 1978; Athena Scientific 1996), Part I, separates the order-theoretic content of DP from the measure theory. It works with an abstract monotone mapping HHH that covers deterministic, stochastic, multiplicative-cost and minimax problems at once, following Bertsekas, Monotone mappings with application in dynamic programming, SIAM J. Control Optim. 15 (1977). Chapter 3 answers the finite-horizon questions: when does the DP algorithm give the NNN-stage optimal cost, and when do optimal or nearly optimal policies exist? This mission is the first of a series formalizing the book. Later chapters (contraction models, monotone increase and decrease models, the Borel models of Part II) are built on the model fixed here.

Setting

Let SSS (states) and CCC (controls) be sets, and for each x∈Sx\in Sx∈S let U(x)⊆CU(x)\subseteq CU(x)⊆C be a nonempty control constraint set. Write R∗=[−∞,∞]R^*=[-\infty,\infty]R∗=[−∞,∞] and let FFF be the set of all functions J:S→R∗J:S\to R^*J:S→R∗, ordered pointwise. A mapping H:S×C×F→R∗H:S\times C\times F\to R^*H:S×C×F→R∗ is given, subject to the Monotonicity Assumption: J≤J′J\le J'J≤J′ implies H(x,u,J)≤H(x,u,J′)H(x,u,J)\le H(x,u,J')H(x,u,J)≤H(x,u,J′) for all x∈Sx\in Sx∈S, u∈U(x)u\in U(x)u∈U(x).

A selector is a function μ:S→C\mu:S\to Cμ:S→C with μ(x)∈U(x)\mu(x)\in U(x)μ(x)∈U(x) for all xxx. A policy is a sequence π=(μ0,μ1,… )\pi=(\mu_0,\mu_1,\dots)π=(μ0​,μ1​,…) of selectors. Define

Tμ(J)(x)=H[x,μ(x),J],T(J)(x)=inf⁡u∈U(x)H(x,u,J),T_\mu(J)(x)=H[x,\mu(x),J],\qquad T(J)(x)=\inf_{u\in U(x)}H(x,u,J),Tμ​(J)(x)=H[x,μ(x),J],T(J)(x)=u∈U(x)inf​H(x,u,J),

and let TkT^kTk be the kkk-fold composition of TTT. A terminal function J0∈FJ_0\in FJ0​∈F with J0(x)>−∞J_0(x)>-\inftyJ0​(x)>−∞ for all xxx is fixed. The NNN-stage cost of π\piπ and the NNN-stage optimal cost are

JN,π=(Tμ0Tμ1⋯TμN−1)(J0),JN∗(x)=inf⁡πJN,π(x).J_{N,\pi}=(T_{\mu_0}T_{\mu_1}\cdots T_{\mu_{N-1}})(J_0),\qquad J^*_N(x)=\inf_{\pi}J_{N,\pi}(x).JN,π​=(Tμ0​​Tμ1​​⋯TμN−1​​)(J0​),JN∗​(x)=πinf​JN,π​(x).

A policy is uniformly NNN-stage optimal if each tail (μi,μi+1,… )(\mu_i,\mu_{i+1},\dots)(μi​,μi+1​,…) is (N−i)(N-i)(N−i)-stage optimal, and NNN-stage ε\varepsilonε-optimal if JN,π(x)≤JN∗(x)+εJ_{N,\pi}(x)\le J^*_N(x)+\varepsilonJN,π​(x)≤JN∗​(x)+ε where JN∗(x)>−∞J^*_N(x)>-\inftyJN∗​(x)>−∞ and JN,π(x)≤−1/εJ_{N,\pi}(x)\le-1/\varepsilonJN,π​(x)≤−1/ε where JN∗(x)=−∞J^*_N(x)=-\inftyJN∗​(x)=−∞.

The three conditions on HHH used in the chapter are F.1 (continuity of HHH along nonincreasing sequences JkJ_kJk​ with H(x,u,J1)<∞H(x,u,J_1)<\inftyH(x,u,J1​)<∞), F.2 (there is α>0\alpha>0α>0 with H(x,u,J)≤H(x,u,J+r)≤H(x,u,J)+αrH(x,u,J)\le H(x,u,J+r)\le H(x,u,J)+\alpha rH(x,u,J)≤H(x,u,J+r)≤H(x,u,J)+αr for all r>0r>0r>0), and F.3 (a quantitative selection property with a constant β>0\beta>0β>0).

Formalization targets

Goal: Proposition 3.1

Under F.1, if Jk,π(x)<∞J_{k,\pi}(x)<\inftyJk,π​(x)<∞ for all x,πx,\pix,π and k=1,…,Nk=1,\dots,Nk=1,…,N; or under F.2, if Jk∗(x)>−∞J^*_k(x)>-\inftyJk∗​(x)>−∞ for all xxx and k=1,…,Nk=1,\dots,Nk=1,…,N:

JN∗=TN(J0),J^*_N=T^N(J_0),JN∗​=TN(J0​),

and under F.2, for every ε>0\varepsilon>0ε>0 there is πε\pi_\varepsilonπε​ with JN∗≤JN,πε≤JN∗+εJ^*_N\le J_{N,\pi_\varepsilon}\le J^*_N+\varepsilonJN∗​≤JN,πε​​≤JN∗​+ε.

Milestones

  • Proposition 3.3: π∗\pi^*π∗ is uniformly NNN-stage optimal iff (Tμk∗TN−k−1)(J0)=TN−k(J0)(T_{\mu^*_k}T^{N-k-1})(J_0)=T^{N-k}(J_0)(Tμk∗​​TN−k−1)(J0​)=TN−k(J0​) for k<Nk<Nk<N. Needs monotonicity only.
  • Corollary 3.3.1: a uniformly NNN-stage optimal policy exists iff every infimum Tk+1(J0)(x)=inf⁡uH[x,u,Tk(J0)]T^{k+1}(J_0)(x)=\inf_{u}H[x,u,T^k(J_0)]Tk+1(J0​)(x)=infu​H[x,u,Tk(J0​)] is attained, and then JN∗=TN(J0)J^*_N=T^N(J_0)JN∗​=TN(J0​).
  • Proposition 3.4: if CCC is Hausdorff and every sublevel set {u∈U(x)∣H[x,u,Tk(J0)]≤λ}\{u\in U(x)\mid H[x,u,T^k(J_0)]\le\lambda\}{u∈U(x)∣H[x,u,Tk(J0​)]≤λ} is compact, then JN∗=TN(J0)J^*_N=T^N(J_0)JN∗​=TN(J0​) and a uniformly NNN-stage optimal policy exists.
  • Proposition 3.7: the minimax mapping H(x,u,J)=sup⁡w∈W(x,u){g+αJ[f]}H(x,u,J)=\sup_{w\in W(x,u)}\{g+\alpha J[f]\}H(x,u,J)=supw∈W(x,u)​{g+αJ[f]} satisfies F.2 with constant α\alphaα.
  • Proposition 3.6: the multiplicative mapping H(x,u,J)=E{g J[f]∣x,u}H(x,u,J)=E\{g\,J[f]\mid x,u\}H(x,u,J)=E{gJ[f]∣x,u} over a countable disturbance set satisfies F.1, and F.2 with constant bbb when 0≤g≤b0\le g\le b0≤g≤b.
  • Proposition 3.2: under F.3 and the finiteness of Jk,πJ_{k,\pi}Jk,π​, JN∗=TN(J0)J^*_N=T^N(J_0)JN∗​=TN(J0​) and, for εn↓0\varepsilon_n\downarrow0εn​↓0, policies with {εn}\{\varepsilon_n\}{εn​}-dominated convergence to optimality exist.
  • Corollary 3.7.1(a): for minimax control with J0=0J_0=0J0​=0 and Jk∗>−∞J^*_k>-\inftyJk∗​>−∞, the DP algorithm gives JN∗J^*_NJN∗​ and NNN-stage ε\varepsilonε-optimal policies exist.

Significance

The identity JN∗=TN(J0)J^*_N=T^N(J_0)JN∗​=TN(J0​) says that an infimum over an infinite-dimensional policy space equals NNN nested one-dimensional infima. Every numerical use of finite-horizon DP depends on it, and so do the infinite-horizon results of later chapters, which pass to the limit in TN(J0)T^N(J_0)TN(J0​). Corollary 3.3.1 and Proposition 3.4 give the existence of optimal policies, and Propositions 3.6 and 3.7 verify the abstract hypotheses for two models outside standard expected additive cost.

These results are proved in the book; none of them is formalized. Mathlib has no abstract DP model, and the platform's finite-horizon results (Bertsekas, Dynamic Programming and Optimal Control, Prop. 1.3.1 and the minimax DP algorithm) assume finite disturbance and constraint sets and real costs. They are special cases, not this theory. The finite-horizon results of the 1977 paper (Lemma 3.1 here, on compact sublevel sets, and Corollary 3.1.1, the F.1′ case) are already posed on the platform and are not posed again.

Difficulty

The obvious argument interchanges the infimum over policies with the composition of operators: inf⁡πTμ0(⋯ )=T(inf⁡π′⋯ )\inf_\pi T_{\mu_0}(\cdots)=T(\inf_{\pi'}\cdots)infπ​Tμ0​​(⋯)=T(infπ′​⋯). The inequality TN(J0)≤JN∗T^N(J_0)\le J^*_NTN(J0​)≤JN∗​ follows from monotonicity alone. The reverse inequality is the content. Taking a near-minimizing selector at each stage requires either passing a limit inside HHH (F.1) or bounding how errors at later stages propagate through HHH (F.2, F.3). Both steps break at infinite values. With Jk∗(x)=−∞J^*_k(x)=-\inftyJk∗​(x)=−∞ there may be no ε\varepsilonε-optimal policy at all (Counterexample 4 of the book). Without F.1 or F.2 the identity itself fails (Counterexamples 1–3). A proof must therefore track separately the states where the optimal cost is −∞-\infty−∞, which is why F.3 and the definition of ε\varepsilonε-optimality have two cases.

Formalization scope

The model is a structure Model S C with fields U, U_nonempty, H : S → C → (S → EReal) → EReal and the monotonicity proof. Policies are ℕ → Selector, with selectors as a subtype of S → C. TNT^NTN is m.T^[N], and (Tμ0⋯TμN−1)(J)(T_{\mu_0}\cdots T_{\mu_{N-1}})(J)(Tμ0​​⋯TμN−1​​)(J) is a recursion that applies TμN−1T_{\mu_{N-1}}TμN−1​​ first. All values lie in EReal. The book's convention ∞−∞=∞\infty-\infty=\infty∞−∞=∞ never arises in Propositions 3.1–3.4, which only add real numbers to extended reals. The minimax and multiplicative mappings implement it explicitly (badd, and an expectation that returns +∞+\infty+∞ when the positive part diverges). Every theorem assumes J0>−∞J_0>-\inftyJ0​>−∞ and N≥1N\ge1N≥1. Assumptions F.1–F.3 are predicates on the model. F.2 is also available with a named constant (F2With) so that Propositions 3.6 and 3.7 can carry the book's constants bbb and α\alphaα.

JN∗J^*_NJN∗​ is defined as an infimum over policies of the composed operators, never through TTT, so the goal is not true by definition. A formalization in which JN,πJ_{N,\pi}JN,π​ already contains an infimum over controls would make Proposition 3.1 hold by rfl, and this one rules that out.

Proving the goal needs elementary EReal order arithmetic, iterated infima over subtypes, and pointwise selection of near-minimizers via choice. Proposition 3.6 additionally needs monotone and dominated convergence for countable sums in ℝ≥0∞. The model and operator definitions are reusable by the later missions of the series (contraction, monotone increase and decrease models). Proofs of any milestone, and reusable EReal lemmas about shifting by real constants, are welcome.

Selected references

  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press 1978; Athena Scientific 1996, Chapters 2–3. https://web.mit.edu/dimitrib/www/soc.html
  • D. P. Bertsekas, Monotone mappings with application in dynamic programming, SIAM J. Control Optim. 15(3) (1977) 438–464. https://doi.org/10.1137/0315031
  • D. P. Bertsekas, Dynamic Programming and Stochastic Control, Academic Press 1976.
  • D. P. Bertsekas, Abstract Dynamic Programming, 3rd ed., Athena Scientific 2022. https://web.mit.edu/dimitrib/www/abstractdp_MIT.html
12 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryGraph TheoryOperations Research·Captain: mikedeng1

The Price of Stability for Network Design with Fair Cost Allocation II: Two Players with a Common Terminal in an Undirected Graph Have Price of Stability at Most 4/3, and This Is TightResearch Paper

Motivation

In network design games, selfish users build a shared network and split the cost of every edge among the users of that edge. Anshelevich, Dasgupta, Kleinberg, Tardos, Wexler and Roughgarden (SIAM J. Comput. 38 (2008), DOI 10.1137/070680096) studied the fair connection game, in which the cost of an edge is shared equally (the Shapley value) among its users. In this game the worst equilibrium can cost kkk times the optimum, so the relevant measure is the price of stability: the ratio between the cheapest pure Nash equilibrium and the optimal centralized design. Their Theorem 2.1 bounds it by the harmonic number H(k)=1+12+⋯+1kH(k)=1+\frac12+\dots+\frac1kH(k)=1+21​+⋯+k1​ in every directed graph, and that bound is tight for directed graphs.

For undirected graphs the paper notes that H(k)H(k)H(k) is not tight and calls the correct bound "an interesting open problem". Its Section 4 settles the smallest case: two players with a common terminal. The general theorem gives H(2)=3/2H(2)=3/2H(2)=3/2 there; Claim 4.1 improves this to 4/34/34/3, and a three-node example shows that 4/34/34/3 is the right value.

Timeline. Rosenthal (1973) showed that congestion games have pure Nash equilibria through a potential function. Anshelevich et al. (FOCS 2004; journal version 2008) introduced the price of stability for the fair connection game, proved the H(k)H(k)H(k) bound and the two-player undirected bound 4/34/34/3 treated here. Subsequent work studied the undirected multi-player case, which remains without a matching upper and lower bound in general.

Setting

Let G=(V,E)G=(V,E)G=(V,E) be a finite undirected simple graph, with a cost ce≥0c_e\ge0ce​≥0 on every edge eee. There are two players, a common terminal s∈Vs\in Vs∈V and personal terminals t1,t2∈Vt_1,t_2\in Vt1​,t2​∈V. A strategy of player iii is a set of edges Si⊆ES_i\subseteq ESi​⊆E that connects tit_iti​ with sss: in the graph (V,Si)(V,S_i)(V,Si​), tit_iti​ and sss lie in the same connected component. A profile is a pair S=(S1,S2)S=(S_1,S_2)S=(S1​,S2​) of strategies.

Under fair cost sharing each edge is paid for equally by the players using it. With xe∈{1,2}x_e\in\{1,2\}xe​∈{1,2} the number of players whose strategy contains eee, player iii pays

Ci(S)=∑e∈Sicexe.C_i(S)=\sum_{e\in S_i}\frac{c_e}{x_e}.Ci​(S)=e∈Si​∑​xe​ce​​.

A pure Nash equilibrium is a profile in which no player can lower its payment by switching to another strategy while the other player's strategy stays fixed. The total cost of a profile is the cost of the network it builds,

cost(S)=∑e∈S1∪S2ce.\mathrm{cost}(S)=\sum_{e\in S_1\cup S_2}c_e .cost(S)=e∈S1​∪S2​∑​ce​.

For a set FFF of edges write cost(F)=∑e∈Fce\mathrm{cost}(F)=\sum_{e\in F}c_ecost(F)=∑e∈F​ce​. For a profile (S1,S2)(S_1,S_2)(S1​,S2​), the quantities x1=cost(S1∖S2)x_1=\mathrm{cost}(S_1\setminus S_2)x1​=cost(S1​∖S2​), x2=cost(S2∖S1)x_2=\mathrm{cost}(S_2\setminus S_1)x2​=cost(S2​∖S1​) and x3=cost(S1∩S2)x_3=\mathrm{cost}(S_1\cap S_2)x3​=cost(S1​∩S2​) split the total cost into the private and the shared parts.

The game is an instance of a congestion game, with per-user latency ce/xc_e/xce​/x on edge eee; the mission builds on the published congestion-game layer CongestionPoA.AsymSum.Model.

Formalization targets

Goal: Claim 4.1 and its tightness

If the game has a profile, then some pure Nash equilibrium SSS satisfies

cost(S) ≤ 43 cost(P)for every profile P.\mathrm{cost}(S)\ \le\ \tfrac43\,\mathrm{cost}(P)\qquad\text{for every profile }P.cost(S) ≤ 34​cost(P)for every profile P.

Moreover, in the three-node example (nodes s,t1,t2s,t_1,t_2s,t1​,t2​, edges (s,t1),(s,t2)(s,t_1),(s,t_2)(s,t1​),(s,t2​) of cost 222, edge (t1,t2)(t_1,t_2)(t1​,t2​) of cost 1+ε1+\varepsilon1+ε, with 0<ε<10<\varepsilon<10<ε<1) the cheapest pure Nash equilibrium costs exactly 444 and the optimum costs exactly 3+ε3+\varepsilon3+ε, so the ratio 4/(3+ε)4/(3+\varepsilon)4/(3+ε) approaches 4/34/34/3.

Milestones

  1. (4.1). From every profile (S1,S2)(S_1,S_2)(S1​,S2​), some pure Nash equilibrium (S1′,S2′)(S'_1,S'_2)(S1′​,S2′​) has y1+y2+32y3≤x1+x2+32x3y_1+y_2+\frac32y_3\le x_1+x_2+\frac32x_3y1​+y2​+23​y3​≤x1​+x2​+23​x3​, where yiy_iyi​ are the quantities of (S1′,S2′)(S'_1,S'_2)(S1′​,S2′​).
  2. Deviation inequalities. If (S1′,S2′)(S'_1,S'_2)(S1′​,S2′​) is a Nash equilibrium and each SiS_iSi​ is an inclusion-minimal strategy, then y1+y32≤x1+x2+y22+y32y_1+\frac{y_3}2\le x_1+x_2+\frac{y_2}2+\frac{y_3}2y1​+2y3​​≤x1​+x2​+2y2​​+2y3​​ and symmetrically for player 2.
  3. (4.2). Under the same hypotheses, y12+y22≤2x1+2x2\frac{y_1}2+\frac{y_2}2\le 2x_1+2x_22y1​​+2y2​​≤2x1​+2x2​.
  4. The three-node example, as in the second half of the goal.

Significance

The result shows that the price of stability of fair cost sharing depends on the network: the H(k)H(k)H(k) bound, tight for directed graphs, is not tight for undirected ones even with two players. It is the first undirected bound below H(k)H(k)H(k) and the starting point for the later study of undirected fair network design, where the question for many players is still open.

The theorem is proved in the paper; this mission formalizes it. A search of the Prove2Me library found no formalization of the price of stability of fair connection games. Beyond the theorem itself, the mission produces a reusable undirected layer over the congestion-game library: connectivity strategies stated with Mathlib's graph reachability, fair cost sharing as a congestion game, and the total-cost functional. A checked proof of the potential inequality (4.1) is the two-player case of the potential argument behind Theorem 2.1.

Difficulty

The obvious argument starts from an optimal solution, follows improving moves to an equilibrium and compares potentials. For two players this only yields the factor H(2)=3/2H(2)=3/2H(2)=3/2: the potential counts shared edges with weight 3/23/23/2, so a potential inequality alone cannot rule out an equilibrium in which both players share expensive edges. The improvement to 4/34/34/3 needs a second inequality, (4.2), obtained from a specific deviation of each player in the equilibrium, and that deviation is valid only because of the undirected structure: the private parts of the two optimal paths together connect t1t_1t1​ with t2t_2t2​, and the deviating player can then follow the other player's equilibrium route to sss. Making this connectivity claim precise for edge sets rather than drawn paths is where the formal work lies. It holds when the optimal strategies are inclusion-minimal, which is why the deviation milestones carry that hypothesis.

Formalization scope

  • Vertices form a Fintype with decidable equality; edges are unordered pairs Sym2 V; the graph is a SimpleGraph V. Edge costs are a real function c with 0 ≤ c e for every e.
  • A strategy of player i : Fin 2 (the paper's players 1 and 2 are 0 and 1) is a Finset of edges contained in G.edgeSet such that t i and s are Reachable in SimpleGraph.fromEdgeSet. Strategies are not restricted to paths.
  • The game is a CongestionGame from CongestionPoA.AsymSum.Model with latency ce/xc_e/xce​/x; profiles, player costs and pure Nash equilibria are that library's IsProfile, cost and IsPureNash.
  • "Price of stability at most 4/34/34/3" is stated in existence form: some pure Nash equilibrium costs at most 43\frac4334​ times every profile. A formalization quantifying over all equilibria would be false (the price of anarchy is 222), and one dropping the Nash condition would be trivial; neither is acceptable. The tightness half fixes a concrete instance and asserts both that an equilibrium of cost 444 exists and that every equilibrium costs at least 444.
  • The deviation inequalities and (4.2) assume inclusion-minimal reference strategies; this hypothesis is implicit in the paper and does not appear in the goal, which quantifies over all profiles.

Contributions welcome: a proof of the potential inequality (finite improvement paths in the two-player fair game), the graph-theoretic lemma that the symmetric difference of two simple paths with a common endpoint connects their other endpoints, and a computation of the three-node example.

Selected references

  • E. Anshelevich, A. Dasgupta, J. Kleinberg, É. Tardos, T. Wexler, T. Roughgarden, The Price of Stability for Network Design with Fair Cost Allocation, SIAM Journal on Computing 38(4):1602–1623, 2008. https://doi.org/10.1137/070680096
  • R. W. Rosenthal, A class of games possessing pure-strategy Nash equilibria, International Journal of Game Theory 2:65–67, 1973. https://doi.org/10.1007/BF01737559
  • D. Monderer, L. S. Shapley, Potential games, Games and Economic Behavior 14(1):124–143, 1996. https://doi.org/10.1006/game.1996.0044
  • G. Christodoulou, E. Koutsoupias, The price of anarchy of finite congestion games, STOC 2005, 67–73. https://doi.org/10.1145/1060590.1060600
9 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: mikedeng1

Discounted Dynamic Programming: An Optimal Stationary Plan Exists When the Action Set Is Essentially FiniteResearch Paper

Motivation

Sequential decisions often change the distribution of future states. A planner choosing an action today must account for both its immediate reward and the later rewards made possible by the resulting state. The mathematical question is whether an optimal rule can be chosen once and reused at every stage, even when a competing plan may randomize and use the entire observed history. In Discounted Dynamic Programming, Blackwell studies this question on general Borel state and action spaces, beyond the finite models in which a direct comparison of actions is available.

The paper distinguishes several strengths of optimality. For each distribution of the initial state, an approximately optimal stationary plan exists, but a single plan that is approximately optimal at every initial state need not exist in a general Borel problem. Essential countability of the actions restores uniform approximate stationary optimality; essential finiteness yields exact stationary optimality. These are different mathematical claims, and the mission keeps their different quantifiers visible. Blackwell 1965, pp. 227, 229, 232–234.

Setting

A state is an element sss of a nonempty standard Borel space SSS, and an action is an element aaa of a nonempty standard Borel space AAA. The transition kernel q(⋅∣s,a)q(\cdot\mid s,a)q(⋅∣s,a) gives a probability distribution for the next state after action aaa in state sss. The reward r(s,a,s′)∈Rr(s,a,s')\in\mathbb Rr(s,a,s′)∈R may depend on that next state s′s's′; it is bounded and Borel measurable. Future rewards are discounted by β\betaβ with 0≤β<10\le\beta<10≤β<1. These are the objects of Blackwell’s Sections 2–3. Blackwell 1965, pp. 227–228.

A plan π=(π1,π2,…)\pi=(\pi_1,\pi_2,\ldots)π=(π1​,π2​,…) assigns a probability distribution of actions to each possible history before a decision. At stage nnn, that history contains n−1n-1n−1 completed state-action pairs and the current state. Thus plans may randomize and depend on earlier states and actions. A Markov plan instead uses a Borel function fn:S→Af_n:S\to Afn​:S→A at each stage; a stationary plan uses the same function fff at every stage and is denoted f(∞)f^{(\infty)}f(∞). Starting from state sss, the plan has discounted expected return

I(π)(s)=∑n=1∞βn−1 Esπ[r(σn,αn,σn+1)].I(\pi)(s)=\sum_{n=1}^{\infty}\beta^{n-1}\,\mathbb E_s^\pi\bigl[r(\sigma_n,\alpha_n,\sigma_{n+1})\bigr].I(π)(s)=n=1∑∞​βn−1Esπ​[r(σn​,αn​,σn+1​)].

Here σn\sigma_nσn​ and αn\alpha_nαn​ are the state and action at stage nnn. The comparison class for an optimal plan is all such plans, including randomized and history-dependent ones. Blackwell 1965, pp. 228–229.

Two actions are equivalent at state sss when they have the same reward r(s,a,s′)r(s,a,s')r(s,a,s′) for every next state s′s's′ and the same transition measure q(⋅∣s,a)q(\cdot\mid s,a)q(⋅∣s,a). An action set is essentially countable by a Markov plan (f1,f2,…)(f_1,f_2,\ldots)(f1​,f2​,…) if, for every (s,a)(s,a)(s,a), one of the actions fn(s)f_n(s)fn​(s) is equivalent to aaa at sss. It is essentially finite by that plan if SSS has a countable Borel partition (Sn)(S_n)(Sn​) such that, for s∈Sns\in S_ns∈Sn​, one of f1(s),…,fn(s)f_1(s),\ldots,f_n(s)f1​(s),…,fn​(s) is equivalent to every action aaa at sss. A finite action set is a special case. Blackwell 1965, pp. 233–234.

Formalization targets

For a probability distribution ppp on SSS and ε>0\varepsilon>0ε>0, (p,ε)(p,\varepsilon)(p,ε)-optimality asks for a stationary fff with

p{s:I(π)(s)>I(f(∞))(s)+ε}=0for every plan π.p\{s:I(\pi)(s)>I(f^{(\infty)})(s)+\varepsilon\}=0\qquad\text{for every plan }\pi.p{s:I(π)(s)>I(f(∞))(s)+ε}=0for every plan π.

Theorem 6(b) asserts that such an fff always exists. Under essential countability, Theorem 7(a) obtains a stronger, uniform ε\varepsilonε-optimality statement: for every ε>0\varepsilon>0ε>0 there is a stationary fff with I(π)(s)≤I(f(∞))(s)+εI(\pi)(s)\le I(f^{(\infty)})(s)+\varepsilonI(π)(s)≤I(f(∞))(s)+ε for all π,s\pi,sπ,s. Its other targets identify the optimal return with the fixed point of the operator Uπu=sup⁡nTfnuU_\pi u=\sup_nT_{f_n}uUπ​u=supn​Tfn​​u and with the unique bounded solution of the optimality equation u=sup⁡a∈ATauu=\sup_{a\in A}T_auu=supa∈A​Ta​u. Blackwell 1965, pp. 232–234.

The mission’s goal is Theorem 7(b). Under essential finiteness, it asks for a stationary fff with exact optimality:

I(π)(s)≤I(f(∞))(s)for every plan π and state s.I(\pi)(s)\le I(f^{(\infty)})(s)\qquad\text{for every plan }\pi\text{ and state }s.I(π)(s)≤I(f(∞))(s)for every plan π and state s.

The milestone list also includes the paper’s operator identity, approximate selection result, contraction criterion, generated-plan comparison, and upper-bound criterion. Each has its own source index and statement. Blackwell 1965, pp. 231–234.

Significance

The exact result says that, under a condition weaker than a globally finite action set, repeated use of one measurable state-based rule matches or exceeds the return of every adaptive randomized plan. It is a structural result about what information and randomization can add to discounted control. The preceding approximate results specify what can still be guaranteed when that condition is relaxed; Blackwell’s examples show that the distinctions cannot simply be ignored. Blackwell 1965, pp. 229–230, 234.

Blackwell proved these statements in 1965. The formalization work here is to give machine-checked proofs for the Borel-space model and its full comparison class, together with reusable definitions of history-dependent kernels, returns, stationary rules, and Bellman operators. The draft theorem statements compile as Lean declarations, but their proofs remain open. The milestone results are intended to make both the final theorem and its supporting measure-theoretic objects independently usable.

Difficulty

On an uncountable Borel action space, the pointwise supremum of available action values does not automatically come with a Borel action selector. Choosing a maximizing action separately at each state may fail to define a measurable rule, and a supremum need not be attained. Also, a Markov or stationary comparison cannot by itself certify optimality against plans that depend on full histories. These issues are real in the paper’s examples: general Borel problems may lack an ε\varepsilonε-optimal plan, and a given plan need not be uniformly approximated by a Markov plan. Blackwell 1965, pp. 229–230.

Formalization scope

The Lean model uses nonempty StandardBorelSpace types for SSS and AAA. “Baire function” is read as Borel measurable on these metrizable spaces. The problem stores a Markov transition kernel, a bounded measurable real reward on S×A×SS\times A\times SS×A×S, and 0≤β<10\le\beta<10≤β<1; β=0\beta=0β=0 is included. A plan contains a probability kernel on each finite history, and the return is the actual absolutely convergent series of expected one-stage rewards. The first decision is indexed by 000 in Lean, corresponding to the paper’s index 111. The finite history law is assembled through kernel composition products, and a stationary rule is represented by deterministic kernels. The integrals and series therefore express the paper’s expected return, including the cases where the reward depends on the next state.

For the operator results, M(S)M(S)M(S) means bounded and measurable real functions. The suprema defining UπU_\piUπ​ and the optimal return are real suprema over nonempty families bounded by the reward and discount; they are used only in that setting. The abstract operator in Theorem 5 maps M(S)M(S)M(S) into itself. The action equivalence predicate uses the paper’s explicit equality of reward functions and transition laws; the later “i.e.” phrasing on p. 234 is weaker when interpreted as equality of operators alone. A partition piece may be empty, and Lean’s piece nnn corresponds to the paper’s Sn+1S_{n+1}Sn+1​, with rules f1,…,fn+1f_1,\ldots,f_{n+1}f1​,…,fn+1​.

An optimality claim here always compares with every randomized history-dependent plan. Restricting that quantifier to Markov or stationary plans would trivialize the target. A complete development needs measure-theoretic facts about history laws and their bounded integrals, the discounted series, measurable partitions and selections, and the sup-norm contraction of bounded Borel functions. The history-law and bounded-function infrastructure can be reused outside this mission. Contributions to those foundations and to the numbered milestone theorems are welcome.

Selected references

  • David Blackwell, Discounted Dynamic Programming, Annals of Mathematical Statistics 36(1), 226–235, 1965. DOI: 10.1214/aoms/1177700285.
11 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Supply Chain Coordination with Revenue-Sharing Contracts: Strengths and Limitations 4: With Retailer Effort, the Supplier Prefers the Wholesale-Price Contract Exactly When τ > 1/√2Research Paper

Motivation

A revenue-sharing contract {ϕ,w}\{\phi, w\}{ϕ,w} lets a supplier charge a retailer a wholesale price www per unit and, in addition, collect the share 1−ϕ1 - \phi1−ϕ of the retailer's revenue. The video-rental industry adopted such contracts at scale in the late 1990s, and Cachon and Lariviere showed that in a broad class of models they coordinate the supply chain: the retailer's privately optimal decisions coincide with those that maximize total channel profit, and the profit can be split arbitrarily between the firms (missions 1 and 2 of this series).

The same authors also studied where revenue sharing breaks down. The most practically relevant limitation is retailer effort: shelf space, service, store cleanliness and promotion raise demand, cost the retailer money, and cannot be written into a contract. Once the retailer gives away part of its revenue, it earns only a share of the return on its effort while still paying the whole cost. This mission formalizes Section 4.2 of the authors' working paper, which shows that revenue sharing then cannot coordinate the channel while leaving the supplier any profit, and, in an explicit linear-demand example, determines exactly when the supplier is better off with the plain wholesale-price contract.

The source is the June 2000 working paper (Cachon and Lariviere, Supply Chain Coordination with Revenue-Sharing Contracts: Strengths and Limitations), whose results are displayed claims inside numbered sections rather than numbered theorems; the milestones cite section, printed page and display. The published version appeared in Management Science 51(1), 2005.

Setting

General model (Sec. 4.2.1). A supplier produces at unit cost c>0c > 0c>0. The retailer chooses an order quantity q≥0q \ge 0q≥0 and an effort level e≥0e \ge 0e≥0 after observing the contract {ϕ,w}\{\phi, w\}{ϕ,w}. Expected revenue R(q,e)R(q, e)R(q,e) is continuous, differentiable, strictly increasing in eee and concave in qqq; effort costs the retailer g(e)g(e)g(e), where ggg is continuous, increasing, differentiable and convex with g(0)=0g(0) = 0g(0)=0. The profits of the integrated channel, the retailer and the supplier are

Π(q,e)=R(q,e)−g(e)−qc,πr(q,e)=ϕR(q,e)−g(e)−qw,(1−ϕ)R(q,e)+q(w−c).\Pi(q, e) = R(q, e) - g(e) - qc,\qquad \pi_r(q, e) = \phi R(q, e) - g(e) - qw,\qquad (1-\phi)R(q, e) + q(w - c).Π(q,e)=R(q,e)−g(e)−qc,πr​(q,e)=ϕR(q,e)−g(e)−qw,(1−ϕ)R(q,e)+q(w−c).

The integrated solution (qI,eI)(q_I, e_I)(qI​,eI​) maximizes Π\PiΠ over q,e≥0q, e \ge 0q,e≥0.

Linear example (Sec. 4.2.2). Inverse demand is P(q,e)=1−q+2τeP(q, e) = 1 - q + 2\tau eP(q,e)=1−q+2τe with an effort-impact parameter τ≥0\tau \ge 0τ≥0, revenue is R(q,e)=qP(q,e)R(q, e) = qP(q, e)R(q,e)=qP(q,e) and effort costs g(e)=e2g(e) = e^2g(e)=e2. For a share ϕ\phiϕ the supplier's profit when the retailer responds optimally to {ϕ,w}\{\phi, w\}{ϕ,w} is πs(w,ϕ)\pi_s(w, \phi)πs​(w,ϕ), and the supplier's optimal profit is

V(ϕ)=sup⁡w≥0πs(w,ϕ).V(\phi) = \sup_{w \ge 0} \pi_s(w, \phi).V(ϕ)=w≥0sup​πs​(w,ϕ).

The share ϕ=1\phi = 1ϕ=1 is the wholesale-price contract.

Formalization targets

Goal: the supplier's choice of contract

For 0≤τ<10 \le \tau < 10≤τ<1, 0<c<10 < c < 10<c<1 and every ϕ∈(0,1]\phi \in (0, 1]ϕ∈(0,1], the supremum defining V(ϕ)V(\phi)V(ϕ) is attained at the price w(ϕ)=ϕ((1−τ2)ϕ+c(1−ϕτ2))/(1+ϕ(1−2τ2))w(\phi) = \phi\big((1-\tau^2)\phi + c(1-\phi\tau^2)\big)/\big(1 + \phi(1-2\tau^2)\big)w(ϕ)=ϕ((1−τ2)ϕ+c(1−ϕτ2))/(1+ϕ(1−2τ2)), and

V(ϕ)=(1−c)24(1+ϕ(1−2τ2)).V(\phi) = \frac{(1 - c)^2}{4\big(1 + \phi(1 - 2\tau^2)\big)} .V(ϕ)=4(1+ϕ(1−2τ2))(1−c)2​.

Consequently VVV is strictly increasing on (0,1](0, 1](0,1] if τ>1/2\tau > 1/\sqrt 2τ>1/2​ (the wholesale-price contract is the supplier's unique best share), constant if τ=1/2\tau = 1/\sqrt 2τ=1/2​, and strictly decreasing if τ<1/2\tau < 1/\sqrt 2τ<1/2​, with V(ϕ)→(1−c)2/4V(\phi) \to (1-c)^2/4V(ϕ)→(1−c)2/4 as ϕ→0+\phi \to 0^+ϕ→0+.

Milestones

  1. Sec. 4.2.1, p. 22: with w=ϕcw = \phi cw=ϕc and ϕ<1\phi < 1ϕ<1 the retailer's optimal effort at qIq_IqI​ is below eIe_IeI​.
  2. Sec. 4.2.1, p. 22: if (qI,eI)(q_I, e_I)(qI​,eI​) is optimal for the retailer, then ϕ=1\phi = 1ϕ=1, w=cw = cw=c, and the supplier earns nothing.
  3. Sec. 4.2.2, p. 23: the retailer's unique optimal effort at quantity qqq is e(q)=ϕτqe(q) = \phi\tau qe(q)=ϕτq.
  4. Sec. 4.2.2, pp. 23–24: the retailer's reduced profit q[ϕ−q(ϕ−ϕ2τ2)−w]q[\phi - q(\phi - \phi^2\tau^2) - w]q[ϕ−q(ϕ−ϕ2τ2)−w], its unique joint optimum (q(w,ϕ),e(q(w,ϕ)))\big(q(w,\phi), e(q(w,\phi))\big)(q(w,ϕ),e(q(w,ϕ))) with q(w,ϕ)=(ϕ−w)/(2(ϕ−ϕ2τ2))q(w, \phi) = (\phi - w)/(2(\phi - \phi^2\tau^2))q(w,ϕ)=(ϕ−w)/(2(ϕ−ϕ2τ2)) for w<ϕw < \phiw<ϕ and 000 otherwise, and the optimal profit (ϕ−w)2/(4(ϕ−ϕ2τ2))(\phi - w)^2/(4(\phi - \phi^2\tau^2))(ϕ−w)2/(4(ϕ−ϕ2τ2)).
  5. Sec. 4.2.2, p. 24: the integrated retail price pI=(1+c(1−2τ2))/(2(1−τ2))p_I = (1 + c(1-2\tau^2))/(2(1-\tau^2))pI​=(1+c(1−2τ2))/(2(1−τ2)), increasing in ccc if τ<1/2\tau < 1/\sqrt 2τ<1/2​ and decreasing if τ>1/2\tau > 1/\sqrt 2τ>1/2​.
  6. Sec. 4.2.2, p. 24: πs(⋅,ϕ)\pi_s(\cdot, \phi)πs​(⋅,ϕ) is strictly concave where the retailer orders, and w(ϕ)w(\phi)w(ϕ) is its unique maximizer over w≥0w \ge 0w≥0.
  7. Sec. 4.2.2, p. 24: πs(w(ϕ),ϕ)=(1−c)2/(4(1+ϕ(1−2τ2)))\pi_s(w(\phi), \phi) = (1-c)^2/\big(4(1 + \phi(1-2\tau^2))\big)πs​(w(ϕ),ϕ)=(1−c)2/(4(1+ϕ(1−2τ2))).

Significance

The general result (milestones 1–2) is a clean impossibility statement: with non-contractible effort, the only contract in the revenue-sharing family that coordinates the channel is the wholesale-price contract at marginal cost, which leaves the supplier zero profit. It marks the boundary of the coordination results of the earlier sections, and contrasts with the price-dependent newsvendor, where revenue sharing does coordinate price and quantity because the cost of expanding demand is captured in the revenue function and shared by both firms.

The example turns the impossibility into a design rule. Because coordination is out of reach, the supplier compares contracts by her own profit, and the threshold τ=1/2\tau = 1/\sqrt 2τ=1/2​ separates two regimes: when effort matters a lot she should leave the retailer all revenue and charge only a wholesale price ("a smaller share of a larger pie"); when it matters little she should take as much revenue as possible. The same threshold governs the counterintuitive comparative static that the integrated channel's retail price falls as production cost rises.

All results are proved on paper in the source. None has a machine-checked proof; this mission produces the first. The example is a fully explicit two-stage optimization problem, so the formal development also yields a verified computation of a Stackelberg equilibrium with moral hazard that other contract-design missions can reuse.

Difficulty

The individual calculations are elementary, and the work lies in getting the optimization statements right. The page solves the retailer's problem sequentially (effort first, then quantity) and writes the supplier's objective by substituting closed forms. A faithful proof must instead show that these closed forms are global optima over the constrained domains: the retailer optimizes jointly over the quadrant q,e≥0q, e \ge 0q,e≥0, the corner q=0q = 0q=0 is optimal whenever w≥ϕw \ge \phiw≥ϕ, and the supplier's objective is a quadratic on w≤ϕw \le \phiw≤ϕ glued to the zero function on w≥ϕw \ge \phiw≥ϕ, which is not concave on all of w≥0w \ge 0w≥0. The first-order-condition argument of the general model similarly needs an interior integrated optimum and a strictly positive marginal effect of effort, which "strictly increasing in eee" alone does not provide.

Formalization scope

All quantities are real numbers. The general model is a structure RevShareCoord.Effort.Model carrying RRR, its partial derivatives, ggg, g′g'g′ and ccc; derivatives are one-sided within [0,∞)[0, \infty)[0,∞), and joint differentiability of RRR is replaced by its partial derivatives and joint continuity. The example lives in RevShareCoord.Effort.Linear. "Optimal" always means a maximizer over the whole admissible set (q,e≥0q, e \ge 0q,e≥0 for the retailer, w≥0w \ge 0w≥0 for the supplier), and the supplier's value V(ϕ)V(\phi)V(ϕ) is defined as the supremum of her attainable profits, not by the printed formula.

Deviations from the page, each disclosed in the item's Formalization Note:

  • τ<1\tau < 1τ<1 instead of τ∈[0,1]\tau \in [0, 1]τ∈[0,1]: at τ=1\tau = 1τ=1 the integrated problem is unbounded and pIp_IpI​ divides by zero. The page's "jointly concave in qqq and τ\tauτ" is read as qqq and eee.
  • 0<c<10 < c < 10<c<1: c>0c > 0c>0 is the standing assumption of Sec. 1, and c<1c < 1c<1 is needed for a positive integrated quantity.
  • ϕ∈(0,1]\phi \in (0, 1]ϕ∈(0,1] in the example: at ϕ=0\phi = 0ϕ=0 the retailer keeps no revenue and q(w,ϕ)q(w, \phi)q(w,ϕ) divides by zero. The page's optimal share "ϕ=0\phi = 0ϕ=0" for τ<1/2\tau < 1/\sqrt 2τ<1/2​ is stated as strict decrease on (0,1](0, 1](0,1] with the limit at 0+0^+0+.
  • The printed second derivative −(1−ϕ(1−2τ2))/(2ϕ2(1−ϕτ2)2)-\big(1 - \phi(1-2\tau^2)\big)/\big(2\phi^2(1-\phi\tau^2)^2\big)−(1−ϕ(1−2τ2))/(2ϕ2(1−ϕτ2)2) has a sign slip in the numerator; the Lean states −(1+ϕ(1−2τ2))/(2ϕ2(1−ϕτ2)2)-\big(1 + \phi(1-2\tau^2)\big)/\big(2\phi^2(1-\phi\tau^2)^2\big)−(1+ϕ(1−2τ2))/(2ϕ2(1−ϕτ2)2).
  • "Otherwise decreasing" fails at τ=1/2\tau = 1/\sqrt 2τ=1/2​, where VVV and pIp_IpI​ are constant; the trichotomy is stated.
  • In the general model, the integrated optimum is interior, ∂R/∂e>0\partial R/\partial e > 0∂R/∂e>0 at it, and, for milestone 1, πr(qI,⋅)\pi_r(q_I, \cdot)πr​(qI​,⋅) is strictly concave in eee (the page asserts this but it does not follow from the assumptions).

Plugging the printed w(ϕ)w(\phi)w(ϕ) into πs\pi_sπs​ and comparing across ϕ\phiϕ would turn the dichotomy into a statement about an arbitrary price schedule; the goal instead asserts that w(ϕ)w(\phi)w(ϕ) attains the supremum over all w≥0w \ge 0w≥0, with the retailer best-responding jointly in (q,e)(q, e)(q,e).

No external library beyond Mathlib's real analysis and convexity is needed. Contributions welcome: proofs of the milestones, reusable lemmas on maximizing strictly concave quadratics over orthants, and a generalization of milestone 2 to non-interior optima.

Selected references

  • G. P. Cachon, M. A. Lariviere, Supply Chain Coordination with Revenue-Sharing Contracts: Strengths and Limitations, working paper, June 2000. Published version: Management Science 51(1):30–44, 2005. https://doi.org/10.1287/mnsc.1040.0215
  • G. P. Cachon, Supply Chain Coordination with Contracts, in Handbooks in Operations Research and Management Science 11, 2003. https://doi.org/10.1016/S0927-0507(03)11006-7
  • S. Desiraju, S. Moorthy, Managing a Distribution Channel under Asymmetric Information with Performance Requirements, Management Science 43(12), 1997. https://doi.org/10.1287/mnsc.43.12.1628
10 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Supply Chain Coordination with Revenue-Sharing Contracts: Strengths and Limitations 3: The Optimal Wholesale-Price Contract with R′(q) = 1 − q^α Has Efficiency (2+α)/(1+α)^((1+α)/α)Research Paper

Motivation

A supplier who sells to a retailer at a per-unit wholesale price above her own production cost induces the retailer to order less than an integrated firm would. This effect, double marginalization, goes back to Spengler (1950) and is the standard benchmark against which supply chain contracts are judged: a contract coordinates the channel if it makes the decentralized decisions coincide with the integrated optimum. Revenue-sharing contracts, as used in the video-rental industry, coordinate the channel; the plain wholesale-price contract does not. Whether a supplier should bother with the administrative cost of revenue sharing depends on how much the wholesale-price contract actually loses and how much of the remaining profit the supplier keeps.

Cachon and Lariviere answer that question for a retailer whose revenue depends only on the quantity ordered, in Section 4.1.1 of their working paper Supply Chain Coordination with Revenue-Sharing Contracts: Strengths and Limitations (June 2000; the 2005 Management Science version renumbers and revises the material). They show that the answer is governed by the curvature of the marginal revenue curve, and they compute it exactly for a one-parameter family. The source is the June 2000 working paper, whose results are unnumbered; every item cites its section, page and display.

Setting

A supplier produces at unit cost c>0c > 0c>0 and sells to a single retailer. The retailer's expected revenue from qqq units is R(q)R(q)R(q), where R(0)=0R(0) = 0R(0)=0, RRR is strictly concave and differentiable on [0,∞)[0,\infty)[0,∞) with derivative R′R'R′ (the marginal revenue), R′R'R′ is differentiable on (0,∞)(0,\infty)(0,∞) with derivative R′′R''R′′, the product is viable (R′(0)>cR'(0) > cR′(0)>c), and a finite quantity is optimal (R′(q)<cR'(q) < cR′(q)<c for some qqq). The supply chain profit is Π(q)=R(q)−qc\Pi(q) = R(q) - qcΠ(q)=R(q)−qc; the integrated quantity qIq_IqI​ maximizes Π\PiΠ over q≥0q \ge 0q≥0.

Under a wholesale-price contract with price www, the retailer orders qqq to maximize R(q)−wqR(q) - wqR(q)−wq. Each order q≥0q \ge 0q≥0 is induced by exactly one price, w(q)=R′(q)w(q) = R'(q)w(q)=R′(q), so the supplier can be thought of as choosing qqq. Her profit, the retailer's profit, and their sum are then

πs(q)=q (R′(q)−c),πr(q)=R(q)−qR′(q),πs(q)+πr(q)=Π(q).\pi_s(q) = q\,(R'(q) - c), \qquad \pi_r(q) = R(q) - qR'(q), \qquad \pi_s(q) + \pi_r(q) = \Pi(q).πs​(q)=q(R′(q)−c),πr​(q)=R(q)−qR′(q),πs​(q)+πr​(q)=Π(q).

Following the paper, q↦R′(q)+qR′′(q)q \mapsto R'(q) + qR''(q)q↦R′(q)+qR′′(q) is assumed decreasing, which makes πs\pi_sπs​ unimodal. The supplier's optimal quantity to induce q∗q^*q∗ maximizes πs\pi_sπs​ over q≥0q \ge 0q≥0, and w(q∗)w(q^*)w(q∗) is her optimal wholesale price. The efficiency of the contract and the supplier's profit share are

πs(q∗)+πr(q∗)Π(qI)andπs(q∗)Π(q∗).\frac{\pi_s(q^*) + \pi_r(q^*)}{\Pi(q_I)} \qquad\text{and}\qquad \frac{\pi_s(q^*)}{\Pi(q^*)} .Π(qI​)πs​(q∗)+πr​(q∗)​andΠ(q∗)πs​(q∗)​.

In the α-family, R(q)=q−qα+1/(α+1)R(q) = q - q^{\alpha+1}/(\alpha+1)R(q)=q−qα+1/(α+1) for α>0\alpha > 0α>0 and q∈[0,1]q \in [0,1]q∈[0,1], so R′(q)=1−qαR'(q) = 1 - q^\alphaR′(q)=1−qα: marginal revenue is convex for α<1\alpha < 1α<1, linear for α=1\alpha = 1α=1 and concave for α>1\alpha > 1α>1.

Formalization targets

Goal: the α-family

For α>0\alpha > 0α>0 and 0<c<10 < c < 10<c<1, the quantities q∗=(1−c1+α)1/αq^* = \left(\frac{1-c}{1+\alpha}\right)^{1/\alpha}q∗=(1+α1−c​)1/α and qI=(1−c)1/αq_I = (1-c)^{1/\alpha}qI​=(1−c)1/α are the unique maximizers of πs\pi_sπs​ and Π\PiΠ on [0,1][0,1][0,1], the profit share is (1+α)/(2+α)(1+\alpha)/(2+\alpha)(1+α)/(2+α), and

πs(q∗)+πr(q∗)Π(qI)=2+α(1+α)1+αα,\frac{\pi_s(q^*) + \pi_r(q^*)}{\Pi(q_I)} = \frac{2+\alpha}{(1+\alpha)^{\frac{1+\alpha}{\alpha}}},Π(qI​)πs​(q∗)+πr​(q∗)​=(1+α)α1+α​2+α​,

a quantity that does not depend on ccc, is strictly increasing in α\alphaα, tends to 2/e2/e2/e as α→0+\alpha \to 0^+α→0+ and to 111 as α→∞\alpha \to \inftyα→∞.

Milestones for a general revenue function

  1. The price w(q)=R′(q)w(q) = R'(q)w(q)=R′(q) makes qqq the retailer's unique optimum (Eq. (9)).
  2. 0<q∗<qI0 < q^* < q_I0<q∗<qI​.
  3. w(q∗)=c−q∗R′′(q∗)w(q^*) = c - q^*R''(q^*)w(q∗)=c−q∗R′′(q∗), and w(q∗)>cw(q^*) > cw(q∗)>c.
  4. The profit share is at most (at least) 2/32/32/3 when R′R'R′ is convex (concave), strictly under strict convexity (concavity).
  5. 2q∗≤qI2q^* \le q_I2q∗≤qI​ (≥qI\ge q_I≥qI​) when R′R'R′ is convex (concave), strictly under strict convexity (concavity).
  6. Π(qI)−Π(q∗)=∫q∗qI(R′(z)−c) dz\Pi(q_I) - \Pi(q^*) = \int_{q^*}^{q_I}(R'(z) - c)\,dzΠ(qI​)−Π(q∗)=∫q∗qI​​(R′(z)−c)dz is at least (at most) 12πs(q∗)\tfrac12\pi_s(q^*)21​πs​(q∗) when R′R'R′ is convex (concave), strictly under strict convexity (concavity).

Milestones for the α-family

  1. The closed forms of q∗q^*q∗, qIq_IqI​, πr(q∗)\pi_r(q^*)πr​(q∗), πs(q∗)\pi_s(q^*)πs​(q∗) and Π(qI)\Pi(q_I)Π(qI​).
  2. E(α)=(2+α)/(1+α)(1+α)/αE(\alpha) = (2+\alpha)/(1+\alpha)^{(1+\alpha)/\alpha}E(α)=(2+α)/(1+α)(1+α)/α is strictly increasing on (0,∞)(0,\infty)(0,∞) with limits 2/e2/e2/e and 111.

Significance

The general milestones turn the paper's area argument (the triangle under the tangent to marginal revenue at q∗q^*q∗) into three comparisons: convex marginal revenue makes the wholesale-price contract worse for the chain and leaves the supplier at most two thirds of a smaller pie, concave marginal revenue the opposite. The α-family makes the trade-off exact: efficiency never falls below 2/e≈0.7362/e \approx 0.7362/e≈0.736, while the supplier's share (1+α)/(2+α)(1+\alpha)/(2+\alpha)(1+α)/(2+α) moves much faster than efficiency, which is the paper's argument for why revenue sharing is most attractive when marginal revenue is convex.

These results are proved on paper but, to our knowledge, not machine-checked anywhere; Mathlib has no supply chain contract theory. The formalization provides a reusable single-retailer wholesale-price model, a checked version of the convex/concave tangent comparisons, and a corrected statement of the α-family's monotonicity (see the scope section).

Difficulty

The general comparisons are short on paper but rest on a picture: they need the first-order condition at an interior maximizer, the tangent-line inequality for a convex or concave derivative, and the fundamental theorem of calculus for a function whose derivative is known only on a half-line and one-sided at 000. Strictness needs a strictly positive integrand on a nondegenerate interval.

The α-family is where the analysis is not routine. The closed forms involve real powers with exponents 1/α1/\alpha1/α and (1+α)/α(1+\alpha)/\alpha(1+α)/α, which must be combined carefully. The limit (1+α)1/α→e(1+\alpha)^{1/\alpha} \to e(1+α)1/α→e as α→0+\alpha \to 0^+α→0+ is classical, but the monotonicity of log⁡(2+α)−1+ααlog⁡(1+α)\log(2+\alpha) - \frac{1+\alpha}{\alpha}\log(1+\alpha)log(2+α)−α1+α​log(1+α) on all of (0,∞)(0,\infty)(0,∞) is not a one-line derivative sign check: the derivative mixes log⁡(1+α)/α2\log(1+\alpha)/\alpha^2log(1+α)/α2 with rational terms, and its sign has to be established uniformly near 000 and near ∞\infty∞.

Formalization scope

Quantities and prices are real numbers. "Optimal" always means a maximizer over all admissible quantities (IsMaxOn on [0,∞)[0,\infty)[0,∞), or on [0,1][0,1][0,1] in the α-family, as the page restricts), never a root of a first-order condition. The derivative R′R'R′ of the general model is linked to RRR by a one-sided derivative hypothesis on [0,∞)[0,\infty)[0,∞); R′′R''R′′ is required only on (0,∞)(0,\infty)(0,∞), since for α<1\alpha < 1α<1 it blows up at 000. In the α-family the marginal revenue is deriv of RRR, not a separate function, and 0<c<10 < c < 10<c<1 is assumed (implicit on the page: c>0c > 0c>0 and R′(0)=1>cR'(0) = 1 > cR′(0)=1>c). Efficiency and profit share are real divisions; their denominators are positive at the optimal quantities.

Deviations from the page, all disclosed in the items:

  • R(0)=0R(0) = 0R(0)=0 is added to the model. It is implicit in the paper's area reading of the retailer's profit, and the 2/32/32/3 comparison fails without it.
  • The paper states the curvature comparisons strictly ("less (more) than 2/3rds", "q∗>qI/2q^* > q_I/2q∗>qI​/2 (<qI/2< q_I/2<qI​/2)", "more (less) than 50%") under convexity (concavity). Linear marginal revenue is both and gives equality, so each item states the weak inequality under convexity or concavity and the strict one under strict convexity or concavity.
  • Printed slip. The page says "Efficiency is a decreasing function of α, i.e., efficiency improves as the marginal revenue curve becomes more concave". EEE is in fact strictly increasing (E(0+)=2/e≈0.7358E(0^+) = 2/e \approx 0.7358E(0+)=2/e≈0.7358, E(1)=0.75E(1) = 0.75E(1)=0.75, E(10)≈0.858E(10) \approx 0.858E(10)≈0.858), as the second half of the sentence and the two limits say. The Lean states the increasing form; the milestone text is kept verbatim. The numerical gloss "2/e≈0.732/e \approx 0.732/e≈0.73" is not formalized.

A trivializing formalization is ruled out: the efficiency in the goal is the ratio of profits computed from RRR at the maximizers, not a definition equal to (2+α)/(1+α)(1+α)/α(2+\alpha)/(1+\alpha)^{(1+\alpha)/\alpha}(2+α)/(1+α)(1+α)/α, and the maximizers are characterized as unique argmaxes rather than assumed.

Welcome contributions: proofs of the general tangent comparisons, which are reusable for any concave revenue model; the real-analysis lemmas on (1+α)1/α(1+\alpha)^{1/\alpha}(1+α)1/α; and the α-family closed forms.

Selected references

  • G. P. Cachon and M. A. Lariviere, Supply Chain Coordination with Revenue-Sharing Contracts: Strengths and Limitations, working paper, June 2000. Published version: Management Science 51(1):30–44, 2005. https://doi.org/10.1287/mnsc.1040.0215
  • J. J. Spengler, Vertical Integration and Antitrust Policy, Journal of Political Economy 58(4):347–352, 1950. https://doi.org/10.1086/256964
  • M. A. Lariviere and E. L. Porteus, Selling to the Newsvendor: An Analysis of Price-Only Contracts, Manufacturing & Service Operations Management 3(4):293–305, 2001. https://doi.org/10.1287/msom.3.4.293.9971
10 thms2 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchOptimization·Captain: mikedeng1

Maximization of a Linear Function of Variables Subject to Linear Inequalities: Under Nondegeneracy the Simplex Technique Ends in Infeasibility, Unboundedness, or a Maximum Feasible SolutionResearch Paper

Motivation

Linear programming asks for the best value of a linear objective under linear constraints. In the form studied by George B. Dantzig in 1951, all variables are nonnegative and the constraints are equalities. The simplex technique moves between small sets of columns, seeking a feasible vector first and then improving its objective. Its basic promise is operational: a run should end with a valid answer, whether that answer is a maximum, infeasibility, or an objective that can grow without bound. Dantzig's chapter sets out both phases and the tests that distinguish these outcomes.

The formulation matters to readers of optimization because it separates the algebraic claim about a linear program from a particular rule for selecting the next column. The chapter permits any entering column satisfying the stated improvement test. This mission captures the correctness claim for every sequence of admissible choices under the chapter's nondegeneracy assumption, with one additional general-position condition needed for the Phase I argument.

Setting

Fix integers 1≤m≤n1\le m\le n1≤m≤n. Let P0∈RmP_0\in\mathbb R^mP0​∈Rm be a right-hand side, P1,…,Pn∈RmP_1,\ldots,P_n\in\mathbb R^mP1​,…,Pn​∈Rm be columns, and c1,…,cn∈Rc_1,\ldots,c_n\in\mathbb Rc1​,…,cn​∈R be objective coefficients. A feasible solution is a weight vector λ∈Rn\lambda\in\mathbb R^nλ∈Rn with λj≥0\lambda_j\ge0λj​≥0 and ∑jλjPj=P0\sum_j\lambda_jP_j=P_0∑j​λj​Pj​=P0​. Its objective value is z(λ)=∑jλjcjz(\lambda)=\sum_j\lambda_jc_jz(λ)=∑j​λj​cj​. It is maximum feasible when z(μ)≤z(λ)z(\mu)\le z(\lambda)z(μ)≤z(λ) for every feasible μ\muμ. Unboundedness means that feasible objective values exceed every real threshold.

Dantzig assumes nondegeneracy: every indexed selection of mmm points among P0,P1,…,PnP_0,P_1,\ldots,P_nP0​,P1​,…,Pn​ is linearly independent. A Phase II state uses exactly mmm basic columns BBB, each with a positive weight, and represents P0P_0P0​ with them. Every column has unique coordinates Pj=∑i∈BxijPiP_j=\sum_{i\in B}x_{ij}P_iPj​=∑i∈B​xij​Pi​, and zj=∑i∈Bxijciz_j=\sum_{i\in B}x_{ij}c_izj​=∑i∈B​xij​ci​ is the corresponding objective value. A column with cj>zjc_j>z_jcj​>zj​ can improve the objective. When some xij>0x_{ij}>0xij​>0, the step uses the smallest ratio λi/xij\lambda_i/x_{ij}λi​/xij​ over those positive coordinates and replaces a minimizing basic column.

A Phase I state begins from m−1m-1m−1 basic columns SSS and a fixed reference point GGG. Positive weights wiw_iwi​ and ρ>0\rho>0ρ>0 satisfy G+ρP0=∑i∈SwiPiG+\rho P_0=\sum_{i\in S}w_iP_iG+ρP0​=∑i∈S​wi​Pi​. Write Pj=y0jP0+∑i∈SyijPiP_j=y_{0j}P_0+\sum_{i\in S}y_{ij}P_iPj​=y0j​P0​+∑i∈S​yij​Pi​. A column with y0j>0y_{0j}>0y0j​>0 either gives a new Phase I basis through the positive-ratio test or supplies the nonnegative weights in equation (39), which start Phase II.

Formalization targets

The goal is the correctness of the complete two-phase transition system. There is no infinite admissible run. Every state with no outgoing transition has one of three outcomes:

Phase I:y0j≤0 (∀j),no feasible solution;Phase II:∃j (cj>zj ∧ xij≤0 (∀i∈B)),∀M∈R ∃λ feasible:z(λ)>M;Phase II:cj≤zj (∀j),z(μ)≤z(λ) for every feasible μ.\begin{array}{ll} \text{Phase I:}& y_{0j}\le0\ (\forall j),\quad \text{no feasible solution};\\ \text{Phase II:}& \exists j\ (c_j>z_j\ \land\ x_{ij}\le0\ (\forall i\in B)),\quad \forall M\in\mathbb R\ \exists\lambda\text{ feasible}: z(\lambda)>M;\\ \text{Phase II:}& c_j\le z_j\ (\forall j),\quad z(\mu)\le z(\lambda)\text{ for every feasible }\mu. \end{array}Phase I:Phase II:Phase II:​y0j​≤0 (∀j),no feasible solution;∃j (cj​>zj​ ∧ xij​≤0 (∀i∈B)),∀M∈R ∃λ feasible:z(λ)>M;cj​≤zj​ (∀j),z(μ)≤z(λ) for every feasible μ.​

The five milestones follow the chapter's own statements: Theorem 3's infeasibility certificate, Section 2's termination and hand-off, Theorem 1's improving family and two cases, Section 1's termination alternatives, and Theorem 2's optimality test. The goal includes the hand-off from the first phase to the second; the milestones make each outcome separately auditable.

Significance

The result gives a complete outcome guarantee for the chapter's procedure under its stated nondegeneracy regime. A terminal basis satisfying cj≤zjc_j\le z_jcj​≤zj​ is certified optimal against every feasible solution, not just against nearby bases. The other terminal tests certify properties of the original problem: nonexistence of feasible weights or arbitrarily large feasible objective values. This is the distinction needed to use the procedure as an algorithm for an LP rather than merely a local improvement rule.

The chapter's Theorems A and B assert existence of a basic feasible solution, and existence of a basic optimal one when the objective is bounded above. A proved platform theorem on basic optimal solutions covers these structural results after changing minimization cost qqq to −c-c−c; it is included by reference. Existing simplex results in the platform's minimization convention do not state Dantzig's Phase I reference-point process or his xijx_{ij}xij​ and zjz_jzj​ tests. Formalizing this mission adds that two-phase interface and a machine-checkable statement of its outcomes.

Difficulty

An improving column alone does not say whether another basis exists. In Phase II, the signs of its basis coordinates determine whether the positive weights meet a finite ratio limit or instead continue along an unbounded feasible family. In Phase I, the analogous limit must preserve strictly positive weights on exactly m−1m-1m−1 columns. The printed argument says that a coefficient vanishes at the limit, but does not exclude two coefficients vanishing together. That gap matters because the next state in the paper's recurrence must again have strictly positive basic weights. The mission states a general-position condition on GGG that rules out this simultaneous-vanishing case. It is an explicit addition to the printed assumptions and should be reviewed as such.

Formalization scope

Lean uses Fin n → (Fin m → ℝ) for the columns, Fin m → ℝ for P0P_0P0​ and GGG, Fin n → ℝ for weights and costs, and finite sets for bases. Its zero-based Fin n labels correspond to the paper's 1,…,n1,\ldots,n1,…,n. Each state carries its basis cardinality, independence, coordinate equations, and strictly positive basic weights. This keeps the coordinate functions defined on genuine bases and prevents a zero-weight intermediate state from counting as a valid pivot. The transition relation records every admissible entering column and minimizing leaving index; the pivot-selection heuristics (20) and (21) are outside the claim.

The phrases “upper bound of zzz is infinite” and “process terminates” are read as, respectively, objective values above every real threshold on the original feasible set and absence of an infinite sequence of admissible steps. “A feasible solution has been obtained” is the explicit vector of equation (39), not an unnamed existence assertion. Maximum feasible means feasible plus comparison with every feasible vector, avoiding a real supremum's empty-set default. The dimensions 1≤m≤n1\le m\le n1≤m≤n make both kinds of basis possible and prevent a vacuous nondegeneracy condition. General position asks every family containing GGG, P0P_0P0​, and m−2m-2m−2 distinct PjP_jPj​ to be independent. The paper does not write this condition, so its inclusion is a substantive qualification of the target.

The printed indices in (30), (45), and a sentence following (18) do not match their defining ranges. The Lean statements use all nnn columns for jjj and the current m−1m-1m−1 Phase I columns for iii. The indices in (17) and (45) also carry the entering conditions cj>zjc_j>z_jcj​>zj​ and y0j>0y_{0j}>0y0j​>0, respectively. These corrections preserve the paper's described procedure and prevent a terminal test from becoming trivial through a basic column. Contributions may address the finite-state termination argument, the ratio-test lemmas, coordinate uniqueness, and the translation from terminal signs to the three global LP outcomes. The operation counts and geometric interpretation on the last pages are outside the formalization.

Selected references

  • George B. Dantzig, “Maximization of a Linear Function of Variables Subject to Linear Inequalities,” in T. C. Koopmans (ed.), Activity Analysis of Production and Allocation, Wiley, 1951, Chapter XXI, pp. 339–347. Book catalog search.
  • Hartmann_Psi, “A bounded feasible standard-form LP attains its minimum at a basic feasible solution,” Prove2Me, proved platform theorem. Theorem record.
  • Shuze Chen, “Finite termination of the simplex method under nondegeneracy,” Prove2Me, proved platform theorem in a minimization convention. Theorem record.
9 thms4 active usersReviewed
🏆Completed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Quantifying the Bullwhip Effect in a Simple Supply Chain: The Impact of Forecasting, Lead Times, and Information 2: Without Shared Demand Information the Bullwhip Bound Is MultiplicativeResearch Paper

Motivation

The bullwhip effect is the observation that the variability of orders grows as one moves up a supply chain, from the retailer to the wholesaler, the distributor and the factory, even when customer demand is stable. It was documented in industry practice by Lee, Padmanabhan and Whang (Management Science, 1997), who identified demand forecasting as one of its main causes. Amplified order variability raises the safety stock, capacity and transportation costs of every upstream firm, so the question of how large the effect is, and what reduces it, is central to supply chain management.

Chen, Drezner, Ryan and Simchi-Levi (Management Science 46(3), 2000) quantified the effect for a retailer that forecasts with a moving average and follows an order-up-to policy. Their §3 asks whether sharing customer demand information with every stage removes the effect. Theorem 3.1 (the companion mission of this series) shows that it does not; Theorem 3.2, the goal of this mission, gives the lower bound for the chain in which no demand information is shared.

Setting

Time is indexed by the integers t∈Zt \in \mathbb Zt∈Z. The retailer faces i.i.d. demand

Dt=μ+ϵt,D_t = \mu + \epsilon_t,Dt​=μ+ϵt​,

where the error terms ϵt\epsilon_tϵt​ are independent and identically distributed from a symmetric distribution with mean 000 and variance σ2>0\sigma^2 > 0σ2>0.

Single-stage policy (§2). With p≥1p \ge 1p≥1 observations, a lead time LLL, a safety factor zzz and a constant CL,ρC_{L,\rho}CL,ρ​, the retailer forms the moving-average estimates

D^tL=L ∑i=1pDt−ip,σ^etL=CL,ρ∑i=1pet−i2p,et=Dt−D^t1,\hat D^L_t = L\,\frac{\sum_{i=1}^p D_{t-i}}{p}, \qquad \hat\sigma^L_{et} = C_{L,\rho}\sqrt{\frac{\sum_{i=1}^p e_{t-i}^2}{p}}, \qquad e_t = D_t - \hat D^1_t,D^tL​=Lp∑i=1p​Dt−i​​,σ^etL​=CL,ρ​p∑i=1p​et−i2​​​,et​=Dt​−D^t1​,

raises its inventory position to the order-up-to point yt=D^tL+zσ^etLy_t = \hat D^L_t + z\hat\sigma^L_{et}yt​=D^tL​+zσ^etL​, and so orders qt=yt−yt−1+Dt−1q_t = y_t - y_{t-1} + D_{t-1}qt​=yt​−yt−1​+Dt−1​. Orders may be negative: excess inventory is returned without cost.

Decentralized chain (§3). Stages k=1,2,…k = 1, 2, \dotsk=1,2,… form a serial chain; stage 1 is the retailer, and LkL_kLk​ is the lead time between stages kkk and k+1k+1k+1. No stage sees customer demand except the retailer. Stage kkk forecasts from the orders it receives,

D^t(1)=∑i=1pDt−ip,D^t(k)=∑j=0p−1qt−jk−1p(k≥2),\hat D^{(1)}_t = \frac{\sum_{i=1}^p D_{t-i}}{p}, \qquad \hat D^{(k)}_t = \frac{\sum_{j=0}^{p-1} q^{k-1}_{t-j}}{p} \quad (k \ge 2),D^t(1)​=p∑i=1p​Dt−i​​,D^t(k)​=p∑j=0p−1​qt−jk−1​​(k≥2),

uses the order-up-to point ytk=LkD^t(k)y^k_t = L_k\hat D^{(k)}_tytk​=Lk​D^t(k)​, and orders

qt1=yt1−yt−11+Dt−1,qtk=ytk−yt−1k+qtk−1(k≥2).q^1_t = y^1_t - y^1_{t-1} + D_{t-1}, \qquad q^k_t = y^k_t - y^k_{t-1} + q^{k-1}_t \quad (k \ge 2).qt1​=yt1​−yt−11​+Dt−1​,qtk​=ytk​−yt−1k​+qtk−1​(k≥2).

Formalization targets

Goal: Theorem 3.2 (Eq. (7))

For every stage k≥1k \ge 1k≥1 and every period ttt,

Var⁡(qtk)Var⁡(Dt)  ≥  ∏i=1k(1+2Lip+2Li2p2).\frac{\operatorname{Var}(q^k_t)}{\operatorname{Var}(D_t)} \;\ge\; \prod_{i=1}^{k}\left(1 + \frac{2L_i}{p} + \frac{2L_i^2}{p^2}\right).Var(Dt​)Var(qtk​)​≥i=1∏k​(1+p2Li​​+p22Li2​​).

The bound is the paper's, with its explicit constants. The paper asserts no tightness for this theorem, and none is claimed.

Milestone: Eq. (6)

For the single-stage policy with any safety factor zzz and any constant CL,ρC_{L,\rho}CL,ρ​,

Var⁡(qt)Var⁡(Dt)  ≥  1+2Lp+2L2p2.\frac{\operatorname{Var}(q_t)}{\operatorname{Var}(D_t)} \;\ge\; 1 + \frac{2L}{p} + \frac{2L^2}{p^2}.Var(Dt​)Var(qt​)​≥1+p2L​+p22L2​.

This is the i.i.d. case ρ=0\rho = 0ρ=0 of the paper's Theorem 2.2. With z=0z = 0z=0 and L=L1L = L_1L=L1​ the single-stage orders are the stage-1 orders of the chain, so Eq. (6) contains the case k=1k = 1k=1 of the goal.

Significance

The result. Theorem 3.2 is half of the paper's comparison between centralized and decentralized information. When demand information is shared, the amplification from the retailer to stage kkk in the i.i.d. case equals 1+2(∑i≤kLi)/p+2(∑i≤kLi)2/p21 + 2(\sum_{i\le k}L_i)/p + 2(\sum_{i\le k}L_i)^2/p^21+2(∑i≤k​Li​)/p+2(∑i≤k​Li​)2/p2 (Eq. (8)), which grows additively in the lead times. Without sharing, the lower bound (7) is a product over stages and grows multiplicatively. The paper concludes that centralizing demand information "can significantly reduce the bullwhip effect", and that the gap widens as one moves up the chain. Eq. (6) is the single-stage statement that forecasting with a moving average alone already amplifies variability, by a factor depending only on the ratio L/pL/pL/p.

Formalizing it. The paper gives no proof of Theorem 3.2; it refers to Ryan (1997, PhD thesis) and to Chen et al. (1998). A machine-checked proof would therefore supply the first self-contained, verified argument for the multiplicative bound. The Gaussian special case of Eq. (6) is already formalized on Prove2Me, in the Snyder–Shen chapter on the bullwhip effect (SupplyChainTheory.bullwhip_signal_processing at ρ=0\rho = 0ρ=0); that statement assumes Gaussian errors, whereas this mission assumes only symmetry, mean 000 and variance σ2\sigma^2σ2. Neither the multistage bound nor the symmetric-error version of Eq. (6) has a formal proof.

Difficulty

The natural first idea is induction on the stage: treat the orders of stage k−1k-1k−1 as the demand of stage kkk and apply the single-stage bound. That step fails, because the single-stage bound is a statement about i.i.d. demand, and the orders reaching stage k≥2k \ge 2k≥2 are not i.i.d.: they are autocorrelated, and stage kkk's moving average of those orders interacts with the correlation in a way that can raise or lower the variance. Whether the product bound survives depends on controlling that interaction at every stage. For Eq. (6), the safety-stock term zσ^etLz\hat\sigma^L_{et}zσ^etL​ is a nonlinear function of the demands, and only symmetry of the errors, not normality, is available to control its interaction with the linear part of the order.

Formalization scope

All objects live in the namespace ChenBullwhip.Decentralized.

  • IIDDemand P is the demand model on a probability space (Ω,P)(\Omega, P)(Ω,P): a constant mu, sigma > 0, and errors eps : ℤ → Ω → ℝ that are measurable, mutually independent (iIndepFun), identically distributed, symmetric (eps t and -eps t have the same law), in L2L^2L2, with mean 000 and variance sigma ^ 2. Demand is D t = mu + eps t. Variances are Mathlib's ProbabilityTheory.variance.
  • SingleStage defines D^tL\hat D^L_tD^tL​, ete_tet​, σ^etL\hat\sigma^L_{et}σ^etL​, yty_tyt​ and qtq_tqt​ of §2; CL,ρC_{L,\rho}CL,ρ​ is a free real parameter, as the paper does not fix it.
  • Chain defines the forecasts D^t(k)\hat D^{(k)}_tD^t(k)​ and the orders qtkq^k_tqtk​ by recursion on the stage, with the convention qt0=Dt−1q^0_t = D_{t-1}qt0​=Dt−1​, so that stage 1 orders yt1−yt−11+Dt−1y^1_t - y^1_{t-1} + D_{t-1}yt1​−yt−11​+Dt−1​. The recursion qtk=ytk−yt−1k+qtk−1q^k_t = y^k_t - y^k_{t-1} + q^{k-1}_tqtk​=ytk​−yt−1k​+qtk−1​ is not printed in the paper; it is the §2.2 order identity applied to a stage whose incoming demand is qtk−1q^{k-1}_tqtk−1​, as the sequence of events on p. 440 describes.

Disclosed hypotheses not on the page: p≥1p \ge 1p≥1 (a moving average needs an observation), σ>0\sigma > 0σ>0 (the paper divides by Var⁡(D)=σ2\operatorname{Var}(D) = \sigma^2Var(D)=σ2), and square-integrable errors (Mathlib's variance is 000 off L2L^2L2). The paper's model (1) asks μ≥0\mu \ge 0μ≥0; since μ\muμ affects no variance, no sign condition is imposed. Lead times are natural numbers. The statements hold in every period ttt, with no stationarity hypothesis.

Trivializing formalizations are excluded: the orders are computed from the demands, not posited processes with a given covariance; the variances are genuine because every random variable involved is square integrable; and the ratio's denominator is σ2>0\sigma^2 > 0σ2>0.

A complete development needs variance and covariance calculus for finite linear combinations of independent L2L^2L2 variables, and, for Eq. (6), the vanishing of the covariance between an odd and an even function of a symmetric random vector. Both are reusable well beyond this mission. Proofs of either target, and general lemmas on variances of linear filters of i.i.d. sequences, are welcome.

Selected references

  • F. Chen, Z. Drezner, J. K. Ryan, D. Simchi-Levi, Quantifying the Bullwhip Effect in a Simple Supply Chain: The Impact of Forecasting, Lead Times, and Information, Management Science 46(3):436–443, 2000. https://doi.org/10.1287/mnsc.46.3.436.12069
  • H. L. Lee, V. Padmanabhan, S. Whang, Information Distortion in a Supply Chain: The Bullwhip Effect, Management Science 43(4):546–558, 1997. https://doi.org/10.1287/mnsc.43.4.546
  • J. K. Ryan, Analysis of Inventory Models with Limited Demand Information, Ph.D. dissertation, Department of Industrial Engineering and Management Science, Northwestern University, 1997.
  • L. V. Snyder, Z.-J. M. Shen, Fundamentals of Supply Chain Theory, 2nd ed., Wiley, 2019, Chapter 13 (formalized on Prove2Me as SupplyChainTheory.*).
5 thms2 active usersReviewed
🏆Completed
Markov ChainOperations ResearchProbability+1·Captain: mikedeng1

Reversibility and Stochastic Networks I: Kolmogorov's Criterion — a Stationary Markov Process Is Reversible iff Its Rates Balance Around Every CycleTextbook

Why reversibility

A stochastic process is reversible when a film of it run backwards is statistically indistinguishable from the film run forwards. For Markov processes in equilibrium this distributional symmetry has an algebraic counterpart, the detailed balance conditions, and that counterpart is what makes large classes of queueing networks, migration processes, loss networks, clustering processes and population-genetics models solvable in closed form. F. P. Kelly's Reversibility and Stochastic Networks (Wiley, 1979) builds the whole theory of product-form equilibria on this link, and Chapter 1 sets it up.

The criterion that bears Kolmogorov's name goes back to A. Kolmogorov, "Zur Theorie der Markoffschen Ketten" (Math. Annalen 112, 1936), who showed that reversibility of a chain can be read off its transition probabilities around closed cycles. Kelly's Chapter 1 (§§1.1–1.7) states the criterion for chains (Theorem 1.7) and processes (Theorem 1.8), together with the detailed-balance characterization (Theorems 1.2, 1.3), the cut and tree lemmas (1.4, 1.5), the monotonicity of relative entropy (Theorem 1.6), truncation and rate alteration (Lemma 1.9, Corollary 1.10), and the description of the time-reversed process (Theorems 1.12–1.14). This mission is the first in a series covering the book.

Setting

Let S\mathcal SS be a finite state space. A continuous-time Markov process X(t)X(t)X(t), t∈Rt\in\mathbb Rt∈R, is specified by transition rates q(j,k)≥0q(j,k)\ge 0q(j,k)≥0, j≠kj\ne kj=k, with Kelly's convention q(j,j)=0q(j,j)=0q(j,j)=0. Its generator is the matrix QQQ with Q(j,k)=q(j,k)Q(j,k)=q(j,k)Q(j,k)=q(j,k) off the diagonal and Q(j,j)=−∑k≠jq(j,k)Q(j,j)=-\sum_{k\ne j}q(j,k)Q(j,j)=−∑k=j​q(j,k), and its transition matrices are P(t)=etQP(t)=e^{tQ}P(t)=etQ. The rates are irreducible if every state can be reached from every other through transitions of positive rate. An equilibrium distribution is a collection of positive numbers π(j)\pi(j)π(j) summing to one that satisfy the equilibrium equations

π(j)∑kq(j,k)=∑kπ(k)q(k,j),j∈S.(1.3)\pi(j)\sum_{k}q(j,k)=\sum_k\pi(k)q(k,j),\qquad j\in\mathcal S. \qquad (1.3)π(j)k∑​q(j,k)=k∑​π(k)q(k,j),j∈S.(1.3)

The stationary process with rates qqq and equilibrium distribution π\piπ has finite-dimensional distributions

P(X(t1)=j1,…,X(tn)=jn)=π(j1)∏r=1n−1P(tr+1−tr)(jr,jr+1),t1≤⋯≤tn.P\bigl(X(t_1)=j_1,\dots,X(t_n)=j_n\bigr)=\pi(j_1)\prod_{r=1}^{n-1}P(t_{r+1}-t_r)(j_r,j_{r+1}),\qquad t_1\le\dots\le t_n .P(X(t1​)=j1​,…,X(tn​)=jn​)=π(j1​)r=1∏n−1​P(tr+1​−tr​)(jr​,jr+1​),t1​≤⋯≤tn​.

It is reversible (Kelly, p. 5) if (X(t1),…,X(tn))(X(t_1),\dots,X(t_n))(X(t1​),…,X(tn​)) has the same distribution as (X(τ−t1),…,X(τ−tn))(X(\tau-t_1),\dots,X(\tau-t_n))(X(τ−t1​),…,X(τ−tn​)) for all t1,…,tn,τt_1,\dots,t_n,\taut1​,…,tn​,τ. The rates satisfy detailed balance with π\piπ if π(j)q(j,k)=π(k)q(k,j)\pi(j)q(j,k)=\pi(k)q(k,j)π(j)q(j,k)=π(k)q(k,j) for all j,kj,kj,k, and Kolmogorov's cycle condition if

q(j1,j2)q(j2,j3)⋯q(jn−1,jn)q(jn,j1)=q(j1,jn)q(jn,jn−1)⋯q(j3,j2)q(j2,j1)(1.22)q(j_1,j_2)q(j_2,j_3)\cdots q(j_{n-1},j_n)q(j_n,j_1)=q(j_1,j_n)q(j_n,j_{n-1})\cdots q(j_3,j_2)q(j_2,j_1)\qquad (1.22)q(j1​,j2​)q(j2​,j3​)⋯q(jn−1​,jn​)q(jn​,j1​)=q(j1​,jn​)q(jn​,jn−1​)⋯q(j3​,j2​)q(j2​,j1​)(1.22)

for every finite sequence of states j1,…,jnj_1,\dots,j_nj1​,…,jn​. The discrete-time analogue replaces rates by a stochastic matrix p(j,k)p(j,k)p(j,k) and P(t)P(t)P(t) by the matrix power PtP^tPt, t∈Z≥0t\in\mathbb Z_{\ge 0}t∈Z≥0​.

Formalization targets

Goal: Theorem 1.8 (p. 23)

For a stationary, irreducible Markov process on a finite state space,

X is reversible  ⟺  q satisfies (1.22) for every finite sequence of states.X\ \text{is reversible}\iff q\ \text{satisfies (1.22) for every finite sequence of states}.X is reversible⟺q satisfies (1.22) for every finite sequence of states.

The left side is a statement about the joint laws of the process at all finite sets of times; the right side involves the rates alone, not even the equilibrium distribution.

Milestones

  1. Theorems 1.2 and 1.3: reversibility of a stationary chain or process is equivalent to the existence of a positive, normalized solution of detailed balance, and that solution is the equilibrium distribution.
  2. Theorem 1.7: Kolmogorov's criterion (1.21) for chains. (The platform's proved rate-level equivalence of (1.22) with detailed balance under two-way communication, Serfozo's Theorem 2.8, is included as a reference item but is not a milestone: it is not Kelly's statement.)
  3. Lemmas 1.4 and 1.5: the flux across any cut balances, and a process whose graph is a tree is reversible.
  4. Theorem 1.6: H(t)=∑jπ(j)h(uj(t)/π(j))H(t)=\sum_j\pi(j)h(u_j(t)/\pi(j))H(t)=∑j​π(j)h(uj​(t)/π(j)) is strictly increasing for t>0t>0t>0 when hhh is strictly concave and the initial distribution is not the equilibrium one.
  5. Lemma 1.9 and Corollary 1.10: altering the rates across a cut by a factor c>0c>0c>0, or truncating to a subset, preserves reversibility with explicit equilibrium distributions.
  6. Theorems 1.12–1.14: the reversed process X(τ−t)X(\tau-t)X(τ−t) is stationary Markov with rates q′(j,k)=π(k)q(k,j)/π(j)q'(j,k)=\pi(k)q(k,j)/\pi(j)q′(j,k)=π(k)q(k,j)/π(j); conditions (1.27)–(1.28) identify it; and dynamic reversibility is characterized by π(j)=π(j+)\pi(j)=\pi(j^+)π(j)=π(j+) and π(j)q(j,k)=π(k+)q(k+,j+)\pi(j)q(j,k)=\pi(k^+)q(k^+,j^+)π(j)q(j,k)=π(k+)q(k+,j+).

Significance

Theorem 1.8 is the working test for reversibility throughout the book and the queueing literature: a model's reversibility, and with it a product-form equilibrium obtained by solving detailed balance, can be decided by checking a finite list of cycles in its transition diagram. Theorem 1.3 converts the distributional property into equations that later chapters solve explicitly; Theorems 1.12 and 1.13 underlie the treatment of quasi-reversible queues and networks in Chapter 3; Lemma 1.9 and Corollary 1.10 produce the equilibria of loss systems and queues with shared buffers.

The algebraic content of several of these results is already proved on the platform at the level of rates: detailed balance implies the equilibrium equations, the reversed rates preserve π\piπ, truncation preserves detailed balance, and Kolmogorov's criterion is equivalent to detailed balance for two-way communicating rates. What is not formalized anywhere is the process-level statement: that these conditions are equivalent to the time-reversal symmetry of the finite-dimensional distributions built from etQe^{tQ}etQ. This mission supplies that layer, which connects the rate identities to the probabilistic notion they are meant to capture.

Difficulty

The rate-level identities are short; the difficulty is the passage between them and the process. Reversibility constrains the joint law at every finite set of times, and that law is built from the matrix exponential etQe^{tQ}etQ, whose entries are not explicit functions of the rates. Relating the two requires the analytic facts about etQe^{tQ}etQ for a generator (stationarity of π\piπ, the semigroup property, behaviour as t→0t\to 0t→0, strict positivity of the entries for t>0t>0t>0 under irreducibility) that Mathlib does not yet provide for Markov generators, together with bookkeeping for tuples of times given in arbitrary order, with ties. For Theorem 1.8 a positive, normalized equilibrium has to be produced from the cycle condition alone, on rates that may vanish in one direction only: two-way communication is not a hypothesis, so the platform's proved rate-level criterion does not apply directly. A first attempt that defines reversibility as detailed balance avoids all of this and proves nothing new; it is excluded below.

Formalization scope

The state space is a Fintype with decidable equality; Kelly allows a countable state space, and this restriction is stated in every item. Rates are q : S → S → ℝ with 0 ≤ q j k for j ≠ k and q j j = 0 as hypotheses. The transition matrices are NormedSpace.exp (t • generator q). Time sets are ℝ (processes) and ℤ (chains). Finite-dimensional distributions are defined for arbitrary finite tuples of time points by sorting them with Tuple.sort. Equilibrium means positive, summing to one, and satisfying (1.3) (resp. πP=π\pi P=\piπP=π), and every theorem takes the equilibrium distribution of the stationary process as a hypothesis. Existing platform definitions are reused: FullBalance, DetailedBalance and reversedRates from KellyStochasticNetworks_Balance, the stochastic-matrix vocabulary of mm_basic, and truncatedRates from KellyStochasticNetworks_LossNetwork.

Reversibility is not defined as detailed balance or as equality of qqq with its reversed rates: under such a definition Theorems 1.2 and 1.3 would be tautologies and Theorem 1.8 would be the already proved rate-level criterion. It is the distributional definition of p. 5. Kolmogorov's condition ranges over all sequences of all lengths, repetitions allowed, and two-way communication is not assumed.

A complete development needs the matrix exponential of a generator (positivity, the semigroup property, the derivative at 000, and πetQ=π\pi e^{tQ}=\piπetQ=π), which is reusable for any finite-state continuous-time Markov chain, and a lemma on reversing sorted tuples. Lemma 1.1 (a general stationary process) and Lemma 1.11 (a non-stationary reversal) are not included. Proofs of any milestone, and generalizations to countable state spaces, are welcome.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, John Wiley & Sons, 1979, Chapter 1. https://www.statslab.cam.ac.uk/~frank/BOOKS/kelly_book.html
  • A. Kolmogorov, "Zur Theorie der Markoffschen Ketten", Mathematische Annalen 112 (1936), 155–160. https://doi.org/10.1007/BF01565412
  • R. Serfozo, Introduction to Stochastic Networks, Springer, 1999, Chapter 1. https://doi.org/10.1007/978-1-4612-1482-3
  • F. P. Kelly and E. Yudovina, Stochastic Networks, Cambridge University Press, 2014, Chapter 1. https://doi.org/10.1017/CBO9781139565363
21 thms6 active usersReviewed
🏆Completed
Markov ChainOperations ResearchProbability+1·Captain: mikedeng1

Reversibility and Stochastic Networks II: Migration Processes with Blocking — Reversibility and Product-Form EquilibriumTextbook

Motivation

A migration process is a continuous-time Markov model of a population spread over JJJ sites, called colonies, in which individuals move one at a time: between colonies, out of the system, or into it from outside. The model was introduced by Whittle (1967) and Kingman (1969) and is the framework of Chapter 2 of F. P. Kelly, Reversibility and Stochastic Networks (Wiley, 1979). It covers closed and open networks of queues (Jackson networks), linear population models and the movement of particles between cells. Its central fact is that the equilibrium distribution is a product form: the joint law of the colony sizes factorizes into one term per colony, and for open processes the colony sizes are independent in equilibrium.

In the migration processes of Chapter 2 the rate at which an individual leaves colony jjj depends on the number njn_jnj​ there, but not on the number already present in the colony it joins. Chapter 6 (§6.1) lifts this restriction. The rate of a move into colony kkk is multiplied by a function ψk(nk)\psi_k(n_k)ψk​(nk​) of the receiving colony's occupancy, which can model blocking (a crowded colony slows arrivals) or attraction (as in the models of social grouping of §6.2). The price is that product form survives only under a reversibility condition on the routing parameters. This mission formalizes the two theorems of §6.1 on top of the already-formalized results of Chapter 2.

Timeline. Whittle (1967) and Kingman (1969) introduced migration processes and their product-form equilibria; Kelly (1976) treated networks of queues with general routes; Kelly (1979, Ch. 2) states the closed and open product forms (Theorems 2.3, 2.4) and the time reversal of an open process (Theorem 2.5); Kelly (1979, §6.1) states the reversible versions with receiving-colony dependence (Theorems 6.1, 6.2).

Setting

There are JJJ colonies. The state is n=(n1,…,nJ)∈NJn = (n_1,\dots,n_J) \in \mathbb{N}^Jn=(n1​,…,nJ​)∈NJ, with njn_jnj​ the number of individuals in colony jjj. Three operators change the state by one individual: TjknT_{jk}nTjk​n moves one individual from colony jjj to colony kkk, Tj⋅nT_{j\cdot}nTj⋅​n removes one from colony jjj, and T⋅knT_{\cdot k}nT⋅k​n adds one to colony kkk.

The model is given by non-negative constants λjk\lambda_{jk}λjk​ (with λjj=0\lambda_{jj} = 0λjj​=0), μj\mu_jμj​, νk\nu_kνk​, and functions φj,ψj:N→R\varphi_j,\psi_j : \mathbb{N}\to\mathbb{R}φj​,ψj​:N→R with φj(0)=0\varphi_j(0) = 0φj​(0)=0, φj(n)>0\varphi_j(n) > 0φj​(n)>0 for n>0n > 0n>0, and ψj(n)>0\psi_j(n) > 0ψj​(n)>0 for all n≥0n \ge 0n≥0. A closed reversible migration process with NNN individuals has state space S={n:∑jnj=N}\mathcal{S} = \{n : \sum_j n_j = N\}S={n:∑j​nj​=N} and transition rates

q(n,Tjkn)=λjk φj(nj) ψk(nk).(6.2)q(n, T_{jk}n) = \lambda_{jk}\,\varphi_j(n_j)\,\psi_k(n_k). \qquad (6.2)q(n,Tjk​n)=λjk​φj​(nj​)ψk​(nk​).(6.2)

An open reversible migration process has state space NJ\mathbb{N}^JNJ and, in addition to (6.2), the rates

q(n,Tj⋅n)=μj φj(nj)(6.5),q(n,T⋅kn)=νk ψk(nk)(6.6).q(n, T_{j\cdot}n) = \mu_j\,\varphi_j(n_j) \quad (6.5), \qquad q(n, T_{\cdot k}n) = \nu_k\,\psi_k(n_k) \quad (6.6).q(n,Tj⋅​n)=μj​φj​(nj​)(6.5),q(n,T⋅k​n)=νk​ψk​(nk​)(6.6).

The parameters are required to make the process irreducible: in the closed case an individual can pass between any two colonies along pairs with λab>0\lambda_{ab} > 0λab​>0; in the open case it can reach every colony from outside and leave from every colony. Setting ψj≡1\psi_j \equiv 1ψj​≡1 recovers the migration processes of Chapter 2.

Given positive constants α1,…,αJ\alpha_1,\dots,\alpha_Jα1​,…,αJ​, the candidate equilibrium is

π(n)=B∏j=1J{αjnj∏r=1njψj(r−1)φj(r)},(6.3)\pi(n) = B\prod_{j=1}^{J}\Bigl\{\alpha_j^{n_j}\prod_{r=1}^{n_j}\frac{\psi_j(r-1)}{\varphi_j(r)}\Bigr\}, \qquad (6.3)π(n)=Bj=1∏J​{αjnj​​r=1∏nj​​φj​(r)ψj​(r−1)​},(6.3)

with BBB chosen so that π\piπ sums to one over the state space.

Formalization targets

Goal: Theorem 6.2 (open process)

If positive αj\alpha_jαj​ satisfy

αjλjk=αkλkj(6.4),αjμj=νj(6.7),\alpha_j\lambda_{jk} = \alpha_k\lambda_{kj} \quad (6.4), \qquad \alpha_j\mu_j = \nu_j \quad (6.7),αj​λjk​=αk​λkj​(6.4),αj​μj​=νj​(6.7),

and every colony series gj=∑m≥0αjm∏r=1mψj(r−1)/φj(r)g_j = \sum_{m\ge 0}\alpha_j^m\prod_{r=1}^m \psi_j(r-1)/\varphi_j(r)gj​=∑m≥0​αjm​∏r=1m​ψj​(r−1)/φj​(r) converges, then (6.3) with B=∏jgj−1B = \prod_j g_j^{-1}B=∏j​gj−1​ is in detailed balance with the rates (6.2), (6.5), (6.6), satisfies the equilibrium equations, is positive and sums to one, and under it n1,…,nJn_1,\dots,n_Jn1​,…,nJ​ are independent with marginals πj(m)=gj−1αjm∏r=1mψj(r−1)/φj(r)\pi_j(m) = g_j^{-1}\alpha_j^m\prod_{r=1}^m\psi_j(r-1)/\varphi_j(r)πj​(m)=gj−1​αjm​∏r=1m​ψj​(r−1)/φj​(r).

Milestones

  • Theorem 2.3: the closed migration process (ψ≡1\psi\equiv 1ψ≡1) has equilibrium of the form (2.3).
  • Theorem 2.4: the open migration process has independent colonies with marginals bjαjnj/∏r=1njφj(r)b_j\alpha_j^{n_j}/\prod_{r=1}^{n_j}\varphi_j(r)bj​αjnj​​/∏r=1nj​​φj​(r).
  • Theorem 2.5: the reversal of a stationary open migration process is an open migration process.
  • Theorem 6.1: the closed process with rates (6.2) is reversible under (6.4), with equilibrium (6.3) on S\mathcal{S}S.

Theorems 2.3–2.5 are already proved on the platform and enter as references.

Significance

The result. Theorem 6.2 shows that product form and independence of colony sizes are not tied to routing that ignores the destination's occupancy. Any positive ψk\psi_kψk​ is allowed, provided the routing is reversible in the sense of (6.4) and (6.7). This is what makes the social-grouping models of §6.2 and the clustering models of Chapter 8 tractable, and it identifies (6.4) as the structural condition: Exercise 6.1.1 shows that without it the process cannot be reversible. Through Theorem 1.3 of the book, detailed balance also gives that the stationary process looks the same run backwards in time.

Formalization. The Chapter 2 results (Theorems 2.3–2.5) are formalized and proved on the platform, at the level of transition rates, in the KellyStochasticNetworks series. Theorems 6.1 and 6.2 are not formalized anywhere to our knowledge. The new work is the detailed-balance verification with the receiving-colony factor, the normalization over the finite set S\mathcal{S}S in the closed case, and the summation over the countable space NJ\mathbb{N}^JNJ with the marginal computation that expresses independence in the open case.

Difficulty

The equilibrium equations of a migration process with blocking have no simple solution in general (p. 135); a direct attack on the full balance equations does not close. Detailed balance is a local condition, but the formal statement has to be careful with transitions that do not exist: a move out of an empty colony, a departure that would make a count negative, and the coincidences between operators at the boundary (Tjkn=T⋅knT_{jk}n = T_{\cdot k}nTjk​n=T⋅k​n when nj=0n_j = 0nj​=0). In the open case the bookkeeping is in infinite sums: positivity and normalization need convergence of each colony series, and independence needs the marginal of π\piπ on one colony to be computed as a sum over the remaining J−1J-1J−1 coordinates.

Formalization scope

Colonies are Fin J; states are Fin J → ℕ; rates are real-valued functions of two states, assembled as sums of indicator terms over the possible transitions, reusing the operators Tjk, Tout, Tin and the predicates DetailedBalance, FullBalance of the published definitions KellyStochasticNetworks_Migration and KellyStochasticNetworks_Balance. Transitions out of an empty colony carry the factor φj(0)=0\varphi_j(0) = 0φj​(0)=0 and so vanish. The hypotheses λjj=0\lambda_{jj} = 0λjj​=0, non-negativity of the rates, positivity of φj(n)\varphi_j(n)φj​(n) (n>0n>0n>0), ψj(n)\psi_j(n)ψj​(n) (n≥0n\ge0n≥0) and αj\alpha_jαj​, and the book's irreducibility requirements are binders of each theorem.

The statements are at the level of transition rates: "reversible" is read as detailed balance of the equilibrium distribution, and "equilibrium distribution" as positive, summing to one, and satisfying the equilibrium equations. The stochastic process itself is not constructed. In the closed case the distribution lives on NJ\mathbb{N}^JNJ and vanishes off S\mathcal{S}S, which is equivalent because every transition preserves ∑jnj\sum_j n_j∑j​nj​; J≥1J \ge 1J≥1 is assumed so that S\mathcal{S}S is nonempty. In the open case stationarity is the convergence of each colony series, carried as HasSum hypotheses with sums gjg_jgj​.

The normalizing constant is never free: π≡0\pi \equiv 0π≡0 satisfies detailed balance, so a statement that leaves BBB unconstrained, or omits the factor ψk(nk)\psi_k(n_k)ψk​(nk​) from (6.2), (6.6) and (6.3), is not this theorem. Contributions welcome: proofs of Theorem 6.1 and 6.2, reusable lemmas on detailed balance for indicator-sum rates, and on products of summable families over Fin J → ℕ.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, 1979; reprinted Cambridge University Press, 2011. Chapters 2 and 6. http://www.statslab.cam.ac.uk/~frank/BOOKS/kelly_book.html
  • J. F. C. Kingman, Markov population processes, Journal of Applied Probability 6 (1969), 1–18. https://doi.org/10.2307/3212273
  • F. P. Kelly, Networks of queues, Advances in Applied Probability 8 (1976), 416–432. https://doi.org/10.2307/1426136
  • P. Whittle, Nonlinear migration processes, Bulletin of the International Statistical Institute 42 (1967).
  • F. P. Kelly and E. Yudovina, Stochastic Networks, Cambridge University Press, 2014, Chapter 2. http://www.statslab.cam.ac.uk/~frank/STOCHNET/
9 thms4 active usersReviewed
🏆Completed
Markov ChainOperations ResearchOptimization+2·Captain: mikedeng1

Reversibility and Stochastic Networks V: Optimal Capacity Allocation in a Network of QueuesTextbook

Motivation

Chapter 4 of F. P. Kelly's Reversibility and Stochastic Networks (Wiley, 1979) applies the product-form theory of Chapter 3 to concrete systems. Two of its results have numbered statements, and they answer two practical questions.

The first comes from the design of store-and-forward communication networks (telegraph and packet-switched data networks). Messages queue at channels; the designer chooses each channel's capacity subject to a budget, and wants to minimize the delay messages suffer. Because the equilibrium law at every channel is geometric under several different modelling assumptions (§4.1, pp. 95–96), the mean delay has a closed form, and the budget allocation problem becomes a small convex program with an explicit solution. This square-root capacity assignment goes back to L. Kleinrock's work on communication nets (Communication Nets, McGraw-Hill, 1964) and remains the textbook example of optimal design for a network of queues.

The second comes from compartmental models in biology, birth–illness–death processes and manpower planning (§4.5, pp. 113–115). Individuals enter a system as a Poisson stream and move through it independently. Equilibrium results follow from Chapter 3; Theorem 4.2 describes the transient behaviour exactly, starting from an empty system.

Setting

Capacity allocation (§4.1). A network has J≥1J \ge 1J≥1 channels. Channel jjj receives traffic at average rate aj>0a_j > 0aj​>0 and is given capacity ϕj\phi_jϕj​. In equilibrium the number njn_jnj​ of messages at channel jjj has the geometric law (4.1),

P(nj=n)=(1−ajϕj)(ajϕj)n,n=0,1,2,…,P(n_j = n) = \Big(1 - \frac{a_j}{\phi_j}\Big)\Big(\frac{a_j}{\phi_j}\Big)^n, \qquad n = 0, 1, 2, \dots,P(nj​=n)=(1−ϕj​aj​​)(ϕj​aj​​)n,n=0,1,2,…,

which requires ϕj>aj\phi_j > a_jϕj​>aj​. Its mean is aj/(ϕj−aj)a_j/(\phi_j - a_j)aj​/(ϕj​−aj​). Capacity on channel jjj costs fj>0f_j > 0fj​>0 per unit and the total budget is FFF, giving the cost constraint (4.2)

∑jfjϕj=F.\sum_j f_j\phi_j = F.j∑​fj​ϕj​=F.

The mean number of customers in the network is

N(ϕ)=∑jajϕj−aj,N(\phi) = \sum_j \frac{a_j}{\phi_j - a_j},N(ϕ)=j∑​ϕj​−aj​aj​​,

and the feasible set is the set of ϕ∈RJ\phi \in \mathbb{R}^Jϕ∈RJ with ϕj>aj\phi_j > a_jϕj​>aj​ for every jjj that satisfy (4.2). In Lean these are meanNumberInNetwork a φ and FeasibleCapacities a f F. The proof works with the Lagrangian lagrangian a f F y φ =N(ϕ)+y(∑jfjϕj−F)= N(\phi) + y(\sum_j f_j\phi_j - F)=N(ϕ)+y(∑j​fj​ϕj​−F).

Compartmental model (§4.5). Individuals arrive in a Poisson stream of rate ν>0\nu > 0ν>0 at a system of JJJ compartments that is empty at time 000. Let pj(s)p_j(s)pj​(s) be the probability that an individual is in compartment jjj a time sss after its arrival; pj(s)≥0p_j(s) \ge 0pj​(s)≥0 and ∑jpj(s)≤1\sum_j p_j(s) \le 1∑j​pj​(s)≤1, since individuals may leave. Let nj(t)n_j(t)nj​(t) be the number of individuals in compartment jjj at time t>0t > 0t>0, and

αj(t)=∫0tpj(u) du.\alpha_j(t) = \int_0^t p_j(u)\,du.αj​(t)=∫0t​pj​(u)du.

In Lean the model is the predicate IsCompartmentModel P ν t p M T Loc, the counts are compartmentCount M Loc j, and αj(t)\alpha_j(t)αj​(t) is alpha p j t.

Formalization targets

Goal: Theorem 4.1 (p. 97)

If J≥1J \ge 1J≥1, aj>0a_j > 0aj​>0, fj>0f_j > 0fj​>0 and F>∑kakfkF > \sum_k a_k f_kF>∑k​ak​fk​, then

ϕj∗=aj+ajfj∑kakfk⋅F−∑kakfkfj\phi^*_j = a_j + \frac{\sqrt{a_j f_j}}{\sum_k \sqrt{a_k f_k}}\cdot\frac{F - \sum_k a_k f_k}{f_j}ϕj∗​=aj​+∑k​ak​fk​​aj​fj​​​⋅fj​F−∑k​ak​fk​​

is feasible and minimizes NNN over the feasible set, and every other feasible ϕ\phiϕ has N(ϕ)>N(ϕ∗)N(\phi) > N(\phi^*)N(ϕ)>N(ϕ∗).

Milestones toward the goal

  1. The mean of the geometric law (4.1) is aj/(ϕj−aj)a_j/(\phi_j - a_j)aj​/(ϕj​−aj​) (p. 97).
  2. For y>0y > 0y>0 the Lagrangian is minimized over {ϕj>aj}\{\phi_j > a_j\}{ϕj​>aj​} by ϕj=aj+aj/(yfj)\phi_j = a_j + \sqrt{a_j/(y f_j)}ϕj​=aj​+aj​/(yfj​)​ (proof of Theorem 4.1).
  3. The choice 1/y=(F−∑kakfk)/∑kakfk1/\sqrt y = (F - \sum_k a_k f_k)/\sum_k\sqrt{a_k f_k}1/y​=(F−∑k​ak​fk​)/∑k​ak​fk​​ makes that minimizer equal to ϕ∗\phi^*ϕ∗ and feasible for (4.2).

Second result: Theorem 4.2 (pp. 114–115)

The proof's generating-function identity, for zj∈[0,1]z_j \in [0,1]zj​∈[0,1],

E(z1n1(t)⋯zJnJ(t))=∏j=1Jexp⁡[−(1−zj)ναj(t)],E\big(z_1^{n_1(t)}\cdots z_J^{n_J(t)}\big) = \prod_{j=1}^J \exp\big[-(1 - z_j)\nu\alpha_j(t)\big],E(z1n1​(t)​⋯zJnJ​(t)​)=j=1∏J​exp[−(1−zj​)ναj​(t)],

and the theorem itself: n1(t),…,nJ(t)n_1(t), \dots, n_J(t)n1​(t),…,nJ​(t) are independent and nj(t)n_j(t)nj​(t) is Poisson with mean ναj(t)\nu\alpha_j(t)ναj​(t).

Significance

Theorem 4.1 is a closed-form design rule. Every channel first receives the capacity aja_jaj​ needed to carry its traffic; the remaining budget is shared in proportion to ajfj\sqrt{a_j f_j}aj​fj​​, not to the traffic aja_jaj​. Sizing capacity in proportion to the load, which is the obvious rule, is therefore not optimal. The same calculation applies to any network whose stations have the geometric law (4.1), for example a manufacturing job shop (p. 97). The mean number in the network and the mean time a customer spends in it are minimized together.

Theorem 4.2 is the exact transient law of a network of infinite-server queues started empty. It holds however complicated the motion of an individual is, provided individuals move independently, and letting t→∞t \to \inftyt→∞ it recovers the equilibrium Poisson law of §4.5.

Both results are classical and proved in the book. Neither is formalized on Prove2Me. The platform has the geometric equilibrium law of the M/M/1 queue (KellyStochasticNetworks.mm1_equilibrium) but not its mean, and no result on Poisson thinning or marking by independent random locations. The formal work for Theorem 4.1 is a strict-convexity and Lagrangian-sufficiency argument in RJ\mathbb{R}^JRJ. For Theorem 4.2 it is a Poisson marking theorem in measure-theoretic probability. Both pieces are reusable.

Difficulty

For Theorem 4.1, the book's proof sets the partial derivatives of the Lagrangian to zero. A stationary point is not a global minimizer in general, so the formal proof must show that LLL is (strictly) convex on the open region ϕj>aj\phi_j > a_jϕj​>aj​, and it must use Lagrangian sufficiency, not first-order conditions alone. The region is open and the objective is unbounded near its boundary. Feasibility of ϕ∗\phi^*ϕ∗ needs F>∑kakfkF > \sum_k a_k f_kF>∑k​ak​fk​, which the book leaves implicit.

For Theorem 4.2, the steps of the proof that read "conditional on MMM" have to be carried out with measure-theoretic independence. One step averages a product over MMM independent uniform instants. Another sums the Poisson mixture into an exponential. The last turns a factorized generating function into mutual independence of JJJ counts with Poisson marginals. Mathlib has the Poisson distribution (ProbabilityTheory.poissonMeasure) but no marking or thinning theorem, and no uniqueness theorem for multivariate probability generating functions.

Formalization scope

Channels and compartments are indexed by Fin J; all rates, costs and capacities are real numbers.

Theorem 4.1. The statement carries the book's implicit hypotheses explicitly: J≥1J \ge 1J≥1, aj>0a_j > 0aj​>0, fj>0f_j > 0fj​>0, F>∑kakfkF > \sum_k a_k f_kF>∑k​ak​fk​. Stability ϕj>aj\phi_j > a_jϕj​>aj​ is part of the feasible set. The conclusion is global optimality over the feasible set (IsMinOn) together with feasibility of ϕ∗\phi^*ϕ∗, plus strict optimality against every other feasible point. Uniqueness is a slight strengthening of the book's "the optimal allocation is", and it holds by strict convexity. A statement that ϕ∗\phi^*ϕ∗ satisfies (4.2), or that it is a stationary point of the Lagrangian, is not the theorem: those are one-line computations or the proof method, and the goal is stated as global optimality to rule them out.

Theorem 4.2. The model is pinned down as in the proof on p. 115:

  • the number MMM of arrivals in (0,t)(0,t)(0,t) is Poisson with mean νt\nu tνt;
  • an i.i.d. sequence of (arrival instant, location at time ttt) pairs is independent of MMM, and only its first MMM entries are used;
  • each instant is uniform on (0,t)(0,t)(0,t), and an individual arriving at uuu is in compartment jjj at time ttt with probability pj(t−u)p_j(t-u)pj​(t−u), or has left.

"Individuals move independently" is formalized as this conditional independence. The pjp_jpj​ are measurable sub-probabilities, not assumed to sum to one. The conclusion is mutual independence of the JJJ counts (iIndepFun) together with the Poisson probability mass function of each. Infinite time horizons and the point-process description of the system are out of scope.

Useful contributions: a reusable Lagrangian-sufficiency lemma for separable convex objectives under one linear constraint; a Poisson marking (colouring) theorem for finitely many colours; the multivariate generating-function uniqueness lemma for NJ\mathbb{N}^JNJ-valued random vectors.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, John Wiley & Sons, 1979, Chapter 4 (§4.1, pp. 95–97; §4.5, pp. 113–115).
  • L. Kleinrock, Communication Nets: Stochastic Message Flow and Delay, McGraw-Hill, 1964 (reprinted Dover, 1972).
  • J. F. C. Kingman, Poisson Processes, Oxford University Press, 1993 (colouring and marking theorems).
8 thms3 active usersReviewed
🏆Completed
Control TheoryDynamic ProgrammingOperations Research+1·Captain: mikedeng1

Stochastic Optimal Control: The Discrete-Time Case III: Monotone Increase Models — Accumulation Points of DP-Optimal Controls Give an Optimal Stationary PolicyTextbook

Motivation

Infinite-horizon dynamic programming with positive (nonnegative) costs and no discounting, or with discount factors that do not make the Bellman operator a contraction, is the setting of Blackwell's and Strauch's positive and negative programming models and of many deterministic control and reachability problems. In this regime the classical contraction argument is unavailable: the optimal cost may be infinite at some states, value iteration may fail to converge to it, and an optimal policy may fail to exist. Chapter 5 of Bertsekas and Shreve, Stochastic Optimal Control: The Discrete-Time Case (1978; Athena Scientific reprint 1996), treats these problems in an abstract framework, a single monotone mapping HHH, so that one set of theorems covers stochastic control with additive or multiplicative costs and minimax control. The chapter is the book version of Bertsekas, "Monotone mappings with application in dynamic programming", SIAM J. Control Optim. 15 (1977).

The chapter's last structural result answers a practical question: when value iteration is run from the terminal cost, do the minimizing controls it computes at each stage lead to an optimal stationary policy?

Setting

The abstract monotone model consists of a state space SSS, a control space CCC, nonempty constraint sets U(x)⊆CU(x)\subseteq CU(x)⊆C, a terminal function J0:S→(−∞,∞]J_0 : S\to(-\infty,\infty]J0​:S→(−∞,∞], and a mapping H(x,u,J)∈[−∞,∞]H(x,u,J)\in[-\infty,\infty]H(x,u,J)∈[−∞,∞] defined for x∈Sx\in Sx∈S, u∈Cu\in Cu∈C and J:S→[−∞,∞]J : S\to[-\infty,\infty]J:S→[−∞,∞], which is monotone: J≤J′J\le J'J≤J′ implies H(x,u,J)≤H(x,u,J′)H(x,u,J)\le H(x,u,J')H(x,u,J)≤H(x,u,J′).

A selector is a function μ:S→C\mu : S\to Cμ:S→C with μ(x)∈U(x)\mu(x)\in U(x)μ(x)∈U(x); a policy is a sequence π=(μ0,μ1,… )\pi=(\mu_0,\mu_1,\dots)π=(μ0​,μ1​,…) of selectors, and it is stationary if all μk\mu_kμk​ are equal. The operators are

Tμ(J)(x)=H(x,μ(x),J),T(J)(x)=inf⁡u∈U(x)H(x,u,J),T_\mu(J)(x)=H(x,\mu(x),J),\qquad T(J)(x)=\inf_{u\in U(x)}H(x,u,J),Tμ​(J)(x)=H(x,μ(x),J),T(J)(x)=u∈U(x)inf​H(x,u,J),

the cost of a policy is Jπ(x)=lim⁡N→∞(Tμ0Tμ1⋯TμN−1)(J0)(x)J_\pi(x)=\lim_{N\to\infty}(T_{\mu_0}T_{\mu_1}\cdots T_{\mu_{N-1}})(J_0)(x)Jπ​(x)=limN→∞​(Tμ0​​Tμ1​​⋯TμN−1​​)(J0​)(x), JμJ_\muJμ​ is the cost of the stationary policy (μ,μ,… )(\mu,\mu,\dots)(μ,μ,…), and the optimal cost is J∗(x)=inf⁡πJπ(x)J^*(x)=\inf_\pi J_\pi(x)J∗(x)=infπ​Jπ​(x). A policy is optimal if Jπ=J∗J_\pi=J^*Jπ​=J∗.

Assumption I (uniform increase) is J0(x)≤H(x,u,J0)J_0(x)\le H(x,u,J_0)J0​(x)≤H(x,u,J0​) for all xxx, u∈U(x)u\in U(x)u∈U(x); under it the sequence defining JπJ_\piJπ​ is nondecreasing, so the limit exists in [−∞,∞][-\infty,\infty][−∞,∞]. Assumption I.1 says H(x,u,⋅)H(x,u,\cdot)H(x,u,⋅) commutes with limits of nondecreasing sequences above J0J_0J0​, and I.2 says that for some α>0\alpha>0α>0, H(x,u,J)≤H(x,u,J+r)≤H(x,u,J)+αrH(x,u,J)\le H(x,u,J+r)\le H(x,u,J)+\alpha rH(x,u,J)≤H(x,u,J+r)≤H(x,u,J)+αr for all r>0r>0r>0 and J≥J0J\ge J_0J≥J0​. Assumptions D, D.1, D.2 are the mirror images (uniform decrease, continuity along nonincreasing sequences below J0J_0J0​, and a lower shift bound).

The DP algorithm (value iteration) generates T(J0),T2(J0),…T(J_0), T^2(J_0),\dotsT(J0​),T2(J0​),…; for k≥0k\ge0k≥0 and λ∈R\lambda\in\mathbb Rλ∈R the level sets

Uk(x,λ)={u∈U(x)∣H[x,u,Tk(J0)]≤λ}U_k(x,\lambda)=\{u\in U(x)\mid H[x,u,T^k(J_0)]\le\lambda\}Uk​(x,λ)={u∈U(x)∣H[x,u,Tk(J0​)]≤λ}

collect the controls that keep the stage-kkk cost below λ\lambdaλ.

Formalization targets

Goal: Proposition 5.11

Let I, I.1 and I.2 hold, let CCC be a Hausdorff space, and let Uk(x,λ)U_k(x,\lambda)Uk​(x,λ) be compact for all x∈Sx\in Sx∈S, λ∈R\lambda\in\mathbb Rλ∈R and k≥kˉk\ge\bar kk≥kˉ. Then (a) some policy π∗=(μ0∗,μ1∗,… )\pi^*=(\mu_0^*,\mu_1^*,\dots)π∗=(μ0∗​,μ1∗​,…) satisfies

(Tμk∗Tk)(J0)=Tk+1(J0)∀k≥kˉ;(T_{\mu_k^*}T^k)(J_0)=T^{k+1}(J_0)\qquad\forall k\ge\bar k;(Tμk∗​​Tk)(J0​)=Tk+1(J0​)∀k≥kˉ;

(b) for every such policy, {μk∗(x)}\{\mu_k^*(x)\}{μk∗​(x)} has an accumulation point whenever J∗(x)<∞J^*(x)<\inftyJ∗(x)<∞; and (c) any μ∗\mu^*μ∗ that picks such an accumulation point at those states, and any admissible control where J∗(x)=∞J^*(x)=\inftyJ∗(x)=∞, defines an optimal stationary policy:

Jμ∗=J∗.J_{\mu^*}=J^*.Jμ∗​=J∗.

Milestones

In the order of the mission's milestone list: Lemma 3.1 (compact sublevel sets give a minimum), Proposition 5.2 (Bellman's equation J∗=T(J∗)J^*=T(J^*)J∗=T(J∗) under I, I.1, I.2), Proposition 5.4 (a stationary policy is optimal iff Tμ∗(J∗)=T(J∗)T_{\mu^*}(J^*)=T(J^*)Tμ∗​(J∗)=T(J∗)), Proposition 5.10 (under the compactness hypothesis, J∞=T(J∞)=T(J∗)=J∗J_\infty=T(J_\infty)=T(J^*)=J^*J∞​=T(J∞​)=T(J∗)=J∗ and a stationary optimal policy exists), Proposition 5.6 (ε\varepsilonε-optimal policies from approximate attainment, with explicit constants ∑kαkεk=ε\sum_k\alpha^k\varepsilon_k=\varepsilon∑k​αkεk​=ε and ε(1−α)\varepsilon(1-\alpha)ε(1−α)), Corollaries 5.3.1 and 5.7.1 (Bellman's equation and ε\varepsilonε-optimal policies under D, D.2 with finite SSS and J∗>−∞J^*>-\inftyJ∗>−∞), and Propositions 5.14 and 5.15 (the multiplicative-cost and minimax models satisfy I, I.1, I.2 or D, D.1/D.2 with explicitly named scalars).

Significance

Proposition 5.10 alone gives existence of an optimal stationary policy; Proposition 5.11 identifies one. It says that the minimizers computed by value iteration, which any implementation produces anyway, converge (along subsequences, state by state) to optimal controls. This is the abstract form of the classical results for deterministic and stochastic positive-cost problems with compact control sets, and through Propositions 5.14 and 5.15 it applies to multiplicative (risk-sensitive) costs and to minimax control without new arguments.

Lemma 3.1, Propositions 5.1–5.5, 5.7–5.10, Lemmas 5.1–5.2 and Corollaries 5.2.1, 5.3.2 are already formalized and proved on the platform, in the MonotoneDP.Increase and MonotoneDP.Decrease developments built from the 1977 paper; this mission reuses their model and assumption definitions and links Lemma 3.1, Proposition 5.2 and Proposition 5.10 as milestones. Propositions 5.4 (in the book's stronger form, with policies optimal state by state), 5.6, 5.11, 5.14, 5.15 and Corollaries 5.3.1, 5.7.1 are new here. All are proved in the book; none has a machine-checked proof yet.

Difficulty

The obvious route to (c) is to pass to the limit in H[x,μk∗(x),Tk(J0)]=Tk+1(J0)(x)H[x,\mu_k^*(x),T^k(J_0)]=T^{k+1}(J_0)(x)H[x,μk∗​(x),Tk(J0​)]=Tk+1(J0​)(x). That fails twice. First, {μk∗(x)}\{\mu_k^*(x)\}{μk∗​(x)} need not converge, and different subsequences may have different limits; the statement is about an arbitrary accumulation point, and in a general Hausdorff space accumulation points are not limits of subsequences. Second, HHH is not assumed continuous in uuu at all: the only regularity in uuu is compactness of the level sets Uk(x,λ)U_k(x,\lambda)Uk​(x,λ), and the only regularity in JJJ is I.1 along monotone sequences. States with J∗(x)=∞J^*(x)=\inftyJ∗(x)=∞ need separate treatment, because there the level sets give no control on μk∗(x)\mu_k^*(x)μk∗​(x).

For Corollaries 5.3.1 and 5.7.1 the difficulty is that D.1 is not assumed; the replacement uses finiteness of SSS and J∗>−∞J^*>-\inftyJ∗>−∞ essentially, and both hypotheses are needed.

Formalization scope

Functions JJJ are S → EReal. The model, Assumptions I, I.1, I.2, D, D.1, D.2 and the epigraph sets used by Proposition 5.10 are the published definitions MonotoneDP_Increase_Model, MonotoneDP_Increase_Assumptions, MonotoneDP_Increase_Epigraph, MonotoneDP_Decrease_Model and MonotoneDP_Decrease_Assumptions. In them JπJ_\piJπ​ is the limit (limUnder) of the policy compositions, which exists under I or D; TkT^kTk is the iterate T^[k]; the composition (Tμ0⋯TμN−1)(J)(T_{\mu_0}\cdots T_{\mu_{N-1}})(J)(Tμ0​​⋯TμN−1​​)(J) applies TμN−1T_{\mu_{N-1}}TμN−1​​ first; the model requires SSS nonempty and J0>−∞J_0>-\inftyJ0​>−∞; "I.2 holds" is the existence of a scalar α\alphaα, and results that name the scalar take it as a parameter. An accumulation point of a sequence in CCC is a cluster point (MapClusterPt), not a limit; in Proposition 5.11(c) the conclusion includes that μ∗\mu^*μ∗ is admissible. J∗+εJ^*+\varepsilonJ∗+ε is computed pointwise in [−∞,∞][-\infty,\infty][−∞,∞] and equals +∞+\infty+∞ where J∗J^*J∗ does.

The book computes in [−∞,∞][-\infty,\infty][−∞,∞] with ∞−∞=∞\infty-\infty=\infty∞−∞=∞. Mathlib's EReal gives ⊤+⊥=⊥\top+\bot=\bot⊤+⊥=⊥, so the two mappings of Section 2.3 use the series' shared definitions, which follow the book's convention: the expected value on a countable WWW (expect, positive and negative parts summed in [0,∞][0,\infty][0,∞], +∞+\infty+∞ when the positive part diverges) and the sum inside the minimax supremum (badd, +∞+\infty+∞ when either summand is +∞+\infty+∞), both from BertsekasShreve.FiniteHorizon.SpecificModels. Propositions 5.14 and 5.15 quantify over every model whose HHH and J0J_0J0​ are these mappings; such models exist because the mappings are monotone.

A formalization in which JπJ_\piJπ​ or J∗J^*J∗ is introduced as an arbitrary fixed point of TTT, or in which (c) assumes that μ∗\mu^*μ∗ is a limit of μk∗\mu_k^*μk∗​, would make the goal trivial or different; both are ruled out by the definitions above.

Contributions welcome: proofs of the milestones, and reusable EReal infrastructure (limits of monotone sequences, series of nonnegative extended reals) that the Part I chapters of the book share.

Selected references

  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978; reprinted Athena Scientific, 1996. Chapter 5, pp. 70–90. https://web.mit.edu/dimitrib/www/soc.html
  • D. P. Bertsekas, "Monotone mappings with application in dynamic programming", SIAM J. Control Optim. 15 (1977) 438–464. https://doi.org/10.1137/0315031
  • D. Blackwell, "Positive dynamic programming", Proc. Fifth Berkeley Symp. Math. Statist. Probab. 1 (1967) 415–418. https://projecteuclid.org/euclid.bsmsp/1200512999
  • R. E. Strauch, "Negative dynamic programming", Ann. Math. Statist. 37 (1966) 871–890. https://doi.org/10.1214/aoms/1177699369
16 thms6 active usersReviewed
🏆Completed
Markov ChainOperations ResearchProbability+1·Captain: mikedeng1

Reversibility and Stochastic Networks VII: Clustering Processes — Poisson Product-Form Equilibrium of the Open Clustering ProcessTextbook

Motivation

Many systems consist of units that form themselves into clusters: individuals at a gathering forming conversational groups, monomers forming polymers, particles coagulating and fragmenting. Chapter 8 of F. P. Kelly, Reversibility and Stochastic Networks (Wiley, 1979) treats such clustering processes as Markov processes whose state counts the clusters of each type, and shows that when the process is reversible its equilibrium distribution has an explicit product form. The chapter opens with a model of social grouping (§8.1), develops a general basic model (§8.2) and later applies it to polymerization (§8.4).

The basic model sits in the same family as the migration processes and queueing networks of the earlier chapters: the method is to guess reversibility, solve the detailed balance equations, and normalize. Its specific feature is that the transitions are unions and break-ups of clusters, with rates quadratic in the cluster counts, rather than movements of single individuals.

Setting

There is a countable collection of cluster types rrr. A state is a vector m=(mr)m = (m_r)m=(mr​) of non-negative integers, mrm_rmr​ being the number of rrr-clusters present, with only finitely many mrm_rmr​ non-zero. For cluster types r,s,ur, s, ur,s,u let ere_rer​ be the rrr-th unit vector and

Rursm=m−er−es+eu,Rrsum=m+er+es−eu,R^{rs}_u m = m - e_r - e_s + e_u, \qquad R^u_{rs} m = m + e_r + e_s - e_u,Rurs​m=m−er​−es​+eu​,Rrsu​m=m+er​+es​−eu​,

the union of an rrr-cluster with an sss-cluster into a uuu-cluster, and the break-up of a uuu-cluster into an rrr-cluster and an sss-cluster. Given non-negative parameters λrsu=λsru\lambda_{rsu} = \lambda_{sru}λrsu​=λsru​ and μrsu=μsru\mu_{rsu} = \mu_{sru}μrsu​=μsru​, the clustering process has transition rates

q(m,Rursm)=λrsumrms (r≠s),q(m,Rurrm)=λrrumr(mr−1),q(m,Rrsum)=μrsumu.(8.3)q(m, R^{rs}_u m) = \lambda_{rsu} m_r m_s \ (r \ne s), \qquad q(m, R^{rr}_u m) = \lambda_{rru} m_r(m_r - 1), \qquad q(m, R^u_{rs} m) = \mu_{rsu} m_u. \qquad (8.3)q(m,Rurs​m)=λrsu​mr​ms​ (r=s),q(m,Rurr​m)=λrru​mr​(mr​−1),q(m,Rrsu​m)=μrsu​mu​.(8.3)

A closed clustering process lives on a finite irreducible state space S\mathcal SS. The open clustering process additionally lets one-clusters enter at rate ν\nuν and leave at rate μm1\mu m_1μm1​,

q(m,m+e1)=ν,q(m,m−e1)=μm1,(8.7)q(m, m + e_1) = \nu, \qquad q(m, m - e_1) = \mu m_1, \qquad (8.7)q(m,m+e1​)=ν,q(m,m−e1​)=μm1​,(8.7)

and its state space is the countable set of all mmm with ∑rmr\sum_r m_r∑r​mr​ finite, every state being reachable from every other.

An equilibrium distribution is a collection of positive numbers π(m)\pi(m)π(m) summing to one that satisfies the equilibrium equations π(m)∑m′q(m,m′)=∑m′π(m′)q(m′,m)\pi(m)\sum_{m'} q(m, m') = \sum_{m'} \pi(m') q(m', m)π(m)∑m′​q(m,m′)=∑m′​π(m′)q(m′,m); the process is reversible in equilibrium exactly when π\piπ satisfies the detailed balance conditions π(m)q(m,m′)=π(m′)q(m′,m)\pi(m) q(m, m') = \pi(m') q(m', m)π(m)q(m,m′)=π(m′)q(m′,m).

Formalization targets

Goal: Theorem 8.2 (p. 164)

If there are positive numbers crc_rcr​ with

ν=c1μ,λrsucrcs=cuμrsu,(8.8)∑rcr<∞,(8.9)\nu = c_1 \mu, \qquad \lambda_{rsu} c_r c_s = c_u \mu_{rsu}, \qquad (8.8) \qquad \sum_r c_r < \infty, \qquad (8.9)ν=c1​μ,λrsu​cr​cs​=cu​μrsu​,(8.8)r∑​cr​<∞,(8.9)

then the open clustering process has equilibrium distribution

π(m)=∏re−crcrmrmr!,(8.10)\pi(m) = \prod_{r} e^{-c_r} \frac{c_r^{m_r}}{m_r!}, \qquad (8.10)π(m)=r∏​e−cr​mr​!crmr​​​,(8.10)

it is reversible, and the counts m1,m2,…m_1, m_2, \dotsm1​,m2​,… are independent, mrm_rmr​ being Poisson with mean crc_rcr​.

Milestones

  • Eq. (8.6): under (8.4), crcsλrsu=cuμrsuc_r c_s \lambda_{rsu} = c_u \mu_{rsu}cr​cs​λrsu​=cu​μrsu​, the weights ∏rcrmr/mr!\prod_r c_r^{m_r}/m_r!∏r​crmr​​/mr​! satisfy the detailed balance conditions for the rates (8.3) on the whole state space.
  • Theorem 8.1 (p. 163): under (8.4) the closed clustering process is reversible with equilibrium distribution π(m)=B∏rcrmr/mr!\pi(m) = B\prod_r c_r^{m_r}/m_r!π(m)=B∏r​crmr​​/mr​! on S\mathcal SS.
  • Eq. (8.2) (p. 161): the social grouping model with MMM individuals has equilibrium π(m)=B∏i1mi!(βα i!)mi\pi(m) = B \prod_{i} \frac{1}{m_i!}\bigl(\frac{\beta}{\alpha\, i!}\bigr)^{m_i}π(m)=B∏i​mi​!1​(αi!β​)mi​ on {m:∑iimi=M}\{m : \sum_i i m_i = M\}{m:∑i​imi​=M}.
  • Eq. (8.9) (p. 164): the product-form weights are summable over the finitely supported states if and only if ∑rcr<∞\sum_r c_r < \infty∑r​cr​<∞, and then (8.10) sums to one.

Significance

Theorem 8.2 gives the equilibrium of a whole class of coagulation–fragmentation dynamics in closed form: the cluster counts are independent Poisson variables, and the equation system (8.8) is the only thing to solve. Quantities such as the expected number of clusters of each type, or the proportion of units in clusters of a given size, are then read off directly. Theorem 8.1 gives the corresponding result for a closed system, where the normalizing constant couples the types; opening the system removes that coupling. The results are the base of the polymerization models of §8.4 and of the later literature on reversible coagulation–fragmentation processes.

The results are proved in the book, with short proofs that state the detailed balance computation is "readily verified". To our knowledge they have no machine-checked proof. The work this mission asks for is the formal verification of that computation for the aggregated rate function, including unions in which two clusters of the same type meet, and the normalization of an infinite product over a countable set of types, which the book takes for granted.

Difficulty

The book calls the detailed balance computation readily verified; the bookkeeping is where a formal check can fail. Two different unions, or a break-up and the entry of a one-cluster, can lead from the same state to the same state when a cluster type is reproduced by the transition, so the rate between two states is a sum over transitions, and the identity has to be checked for the sums, not for single transitions. The same-type case r=sr = sr=s carries the falling factorial mr(mr−1)m_r(m_r - 1)mr​(mr​−1) rather than mr2m_r^2mr2​.

The normalization is the second difficulty. The state space of the open process is countably infinite, the product (8.10) runs over infinitely many types, and the interchange ∑m∏r=∏r∑n\sum_m \prod_r = \prod_r \sum_{n}∑m​∏r​=∏r​∑n​ that makes it sum to one requires (8.9). Without (8.9) the weights are not summable; this is the content of the book's remark that (8.9) is necessary.

Formalization scope

Cluster types are an arbitrary countable type R carrying a linear order, used only to count each unordered pair of types once. States are finitely supported vectors R →₀ ℕ. The rate q(m,m′)q(m, m')q(m,m′) is the sum of the rates (8.3) of all unions and break-ups taking mmm to m′m'm′, plus, for the open process, the rates (8.7); a transition is present only when the clusters it consumes exist, and q(m,m)=0q(m, m) = 0q(m,m)=0 holds because every transition changes the number of clusters. The one-cluster type is a distinguished element one. The closed state space is a finite non-empty set closed under positive-rate transitions and irreducible. The open process carries the book's assumptions that every state is reachable from every other and that the total rate out of each state is finite.

The statements are at the level of rates: reversibility is detailed balance for a positive, normalized π\piπ, the equivalence with reversibility of the stationary process being Kelly's Theorem 1.3. That π\piπ is the law of a stationary Markov process with these rates is not formalized. Independence and the Poisson laws are stated as the joint law of every finite set of counts. A formalization in which crc_rcr​ may vanish, in which detailed balance is imposed only for a degenerate choice of rates, or in which (8.10) is not normalized does not meet the goal: the crc_rcr​ are positive, the rates are arbitrary non-negative symmetric parameters, and both detailed balance and total mass one are required.

The development uses the published definitions KellyStochasticNetworks_Balance (detailed balance and the equilibrium equations) and the proved implication from detailed balance to the equilibrium equations. Lemmas on summing products over finitely supported vectors, and on infinite products of exponentials, are reusable beyond this mission. Lemma 8.3, a partial converse to Theorem 8.1, is not part of this mission; a faithful statement of it, with the units structure of the clusters, is a welcome addition.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, Chichester, 1979, Chapter 8. Reissued by Cambridge University Press, 2011. https://doi.org/10.1017/CBO9780511564246 (author's copy: http://www.statslab.cam.ac.uk/~frank/BOOKS/kelly_book.html)
  • P. Whittle, Systems in Stochastic Equilibrium, Wiley, 1986 (reversible models of association and polymerization). ISBN 978-0-471-90887-0.
  • F. P. Kelly and E. Yudovina, Stochastic Networks, Cambridge University Press, 2014 (detailed balance and the equilibrium equations used here). https://doi.org/10.1017/CBO9781139565363
8 thms4 active usersReviewed
🏆Completed
Graph TheoryMarkov ChainOperations Research+3·Captain: mikedeng1

Reversibility and Stochastic Networks VIII: Markov Fields — A Positive Random Field Is Markov iff It Factorizes over the Simplices of the GraphTextbook

Motivation

Many systems consist of a finite number of sites whose states influence one another only locally: fruit trees in an orchard that are diseased or healthy, power sources that are working or broken, individuals holding one of several views. Chapter 9 of F. P. Kelly, Reversibility and Stochastic Networks (Wiley, 1979) asks which joint distributions such systems have in equilibrium. Earlier chapters of the book produce product-form distributions in which the components are independent; spatial models instead give a limited dependence, and §9.1 makes that notion precise through Markov fields.

The central characterization, that a positive random field is Markov with respect to a graph exactly when it factorizes over the cliques of that graph, is the theorem of Hammersley and Clifford (1971, unpublished manuscript), with published proofs by Besag (1974), Grimmett (1973) and Preston (1973). It underlies Gibbs random fields in statistical mechanics, spatial statistics, image analysis and graphical models. Kelly's §§9.2–9.3 then use it to identify the equilibrium distributions of interacting-particle Markov processes ("spatial processes"), connecting it to reversibility and partial balance.

Setting

There are JJJ sites, the vertices of a finite graph GGG; ∂j\partial j∂j is the set of neighbours of site jjj and G−jG-jG−j the set of sites other than jjj. Site jjj carries an attribute njn_jnj​ from a finite set Nj\mathcal N_jNj​, and a state is n=(n1,…,nJ)\mathbf n=(n_1,\dots,n_J)n=(n1​,…,nJ​) in S=N1×⋯×NJ\mathcal S=\mathcal N_1\times\cdots\times\mathcal N_JS=N1​×⋯×NJ​. For a set of sites HHH, nH\mathbf n_HnH​ is the vector of attributes of the sites in HHH. The operator TjmT_j^mTjm​ changes the attribute of site jjj to mmm.

A random field is a function π\piπ on S\mathcal SS with π(n)>0\pi(\mathbf n)>0π(n)>0 for every state and ∑nπ(n)=1\sum_{\mathbf n}\pi(\mathbf n)=1∑n​π(n)=1. The conditional probability that site jjj has attribute njn_jnj​ given all other sites is

P(nj∣nG−j)=π(n)∑m∈Njπ(Tjmn).(9.1)P(n_j\mid\mathbf n_{G-j}) = \frac{\pi(\mathbf n)}{\sum_{m\in\mathcal N_j}\pi(T_j^m\mathbf n)}. \qquad (9.1)P(nj​∣nG−j​)=∑m∈Nj​​π(Tjm​n)π(n)​.(9.1)

π\piπ is a Markov field if P(nj∣nG−j)=P(nj∣n∂j)P(n_j\mid\mathbf n_{G-j}) = P(n_j\mid\mathbf n_{\partial j})P(nj​∣nG−j​)=P(nj​∣n∂j​) for every jjj and n\mathbf nn (9.2): the attribute of a site depends on the rest of the system only through its neighbours. A simplex is a single site or a set of sites any two of which are neighbours; C\mathcal CC is the set of simplices of GGG.

A spatial process is a Markov process n(t)\mathbf n(t)n(t) on S\mathcal SS with rates qqq such that (i) only one component changes at a time, (ii) q(n,Tjmn)q(\mathbf n,T_j^m\mathbf n)q(n,Tjm​n) depends on n\mathbf nn only through njn_jnj​ and n∂j\mathbf n_{\partial j}n∂j​, and (iii) TjmnT_j^m\mathbf nTjm​n can be reached from n\mathbf nn by transitions that do not alter nG−j\mathbf n_{G-j}nG−j​. The general spatial process of §9.3 has rates

q(n,Tjmn)=λj(nj,m) Φ(n)ΦG−j(nG−j)(9.15)q(\mathbf n,T_j^m\mathbf n)=\lambda_j(n_j,m)\,\frac{\Phi(\mathbf n)}{\Phi_{G-j}(\mathbf n_{G-j})} \qquad (9.15)q(n,Tjm​n)=λj​(nj​,m)ΦG−j​(nG−j​)Φ(n)​(9.15)

for positive functions Φ\PhiΦ, ΦG−j\Phi_{G-j}ΦG−j​.

Formalization targets

Goal: Theorem 9.2 (p. 186)

A random field π\piπ is a Markov field if and only if

π(n)=B∏C∈CϕC(nC),n∈S,(9.5)\pi(\mathbf n) = B\prod_{C\in\mathcal C}\phi_C(\mathbf n_C), \qquad \mathbf n\in\mathcal S, \qquad (9.5)π(n)=BC∈C∏​ϕC​(nC​),n∈S,(9.5)

for some constant BBB and functions ϕC\phi_CϕC​.

Milestones

  • Lemma 9.1 (p. 185): the conditional probabilities P(nj∣nG−j)P(n_j\mid\mathbf n_{G-j})P(nj​∣nG−j​), j∈Gj\in Gj∈G, n∈S\mathbf n\in\mathcal Sn∈S, determine the random field uniquely.
  • Theorem 9.3 (p. 189): the equilibrium distribution of a reversible spatial process is a Markov field.
  • Theorem 9.4 (p. 193): for the rates (9.15), with αj>0\alpha_j>0αj​>0 solving αj(n)∑mλj(n,m)=∑mαj(m)λj(m,n)\alpha_j(n)\sum_m\lambda_j(n,m)=\sum_m\alpha_j(m)\lambda_j(m,n)αj​(n)∑m​λj​(n,m)=∑m​αj​(m)λj​(m,n) (9.16), the equilibrium distribution is
π(n)=B ∏j=1Jαj(nj)Φ(n),(9.17)\pi(\mathbf n) = B\,\frac{\prod_{j=1}^J\alpha_j(n_j)}{\Phi(\mathbf n)}, \qquad (9.17)π(n)=BΦ(n)∏j=1J​αj​(nj​)​,(9.17)

and it satisfies the partial balance equations (9.18) site by site.

Significance

Theorem 9.2 turns a statement about conditional laws, which is how local interaction is usually specified, into an explicit parametrization of the joint law by clique potentials. On a lattice with binary attributes it reduces a Markov field to one parameter per site and one per pair of adjacent sites, giving the form π(n)=BαMβR\pi(\mathbf n)=B\alpha^M\beta^Rπ(n)=BαMβR (9.9). Theorem 9.3 shows that local, reversible dynamics produce Markov-field equilibria, and Theorem 9.4 gives a family of non-reversible processes, containing the closed migration process of Chapter 2, whose equilibria are still explicit; its partial balance equations are the bridge to §9.4.

All four results are classical and proved in the book. They are not, to our knowledge, machine-checked in this discrete form. The platform has an open statement of Hammersley–Clifford in a different setting, HighDimStat.GraphicalModels.thm11_8_hammersley_clifford (Wainwright, High-Dimensional Statistics, Theorem 11.8): a random vector in RV\mathbb R^VRV with a strictly positive Lebesgue density and the global (separation) Markov property. Neither statement implies the other as formalized, so this mission poses Kelly's finite, local version separately. A formal proof here also gives reusable infrastructure: conditional probabilities of a distribution on a finite product space, and factorizations over the cliques of a graph.

Difficulty

The "if" direction is routine. The "only if" direction is where the content lies: the functions ϕC\phi_CϕC​ must be produced from π\piπ alone, and a product over the cliques of GGG must reproduce π\piπ at every state, not only at the states whose nonzero attributes sit on a single clique. The natural first idea, one factor per site read off from the conditional laws, fails as soon as two sites interact. The Markov property must also be brought from its explicit form (9.2), which involves a marginal over the non-neighbours, into a usable statement about π\piπ itself. Strict positivity is essential: without it the "only if" direction is false (Exercise 9.2.2). For Theorem 9.3, condition (iii) cannot be dropped: Exercise 9.2.2 gives a reversible process satisfying (i) and (ii) whose equilibrium is not a Markov field, so any argument that uses only the local form of the rates fails.

Formalization scope

  • Sites form an arbitrary finite type V with decidable equality; attributes at site j form a finite type N j, which may differ between sites. States are dependent functions (j : V) → N j, and TjmnT_j^m\mathbf nTjm​n is Function.update n j m. The graph is a Mathlib SimpleGraph V, so ∂j\partial j∂j is G.neighborSet j.
  • A random field is a real function, positive at every state, with finite sum 111. P(nj∣n∂j)P(n_j\mid\mathbf n_{\partial j})P(nj​∣n∂j​) is the conditional probability computed from π\piπ (a ratio of finite sums), so (9.2) is stated literally.
  • Simplices are the nonempty cliques of the given graph GGG, including single sites. The factorization ranges over exactly these sets; a product over all subsets of sites, or over the cliques of the complete graph, would make the goal trivially true and is ruled out.
  • Theorems 9.3 and 9.4 are read at the level of rates: "equilibrium distribution of a reversible process" is a positive distribution summing to one in detailed balance with qqq (the published KellyStochasticNetworks.DetailedBalance), and "equilibrium distribution" in 9.4 is a positive distribution summing to one satisfying the equilibrium equations (KellyStochasticNetworks.FullBalance), together with its uniqueness under irreducibility. The Markov process itself is not constructed. The state space is always finite, so all sums are finite.
  • Contributions welcome: proofs of any item, general lemmas on conditional laws over finite product spaces, and a formal account of the general Hammersley–Clifford theorem that both this mission and the Wainwright statement could use.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, 1979, Chapter 9. https://www.statslab.cam.ac.uk/~frank/BOOKS/kelly_book.html
  • J. Besag, Spatial interaction and the statistical analysis of lattice systems, J. Roy. Statist. Soc. B 36 (1974), 192–236. https://doi.org/10.1111/j.2517-6161.1974.tb00999.x
  • G. R. Grimmett, A theorem about random fields, Bull. London Math. Soc. 5 (1973), 81–84. https://doi.org/10.1112/blms/5.1.81
  • C. J. Preston, Generalized Gibbs states and Markov random fields, Adv. Appl. Probab. 5 (1973), 242–261. https://doi.org/10.2307/1426035
  • M. J. Wainwright, High-Dimensional Statistics, Cambridge University Press, 2019, Theorem 11.8. https://doi.org/10.1017/9781108627771
8 thms3 active usersReviewed
🏆Completed
CombinatoricsOperations Research·Captain: mikedeng1

On the Abstract Properties of Linear Dependence 1: The Rank Postulates and the Independence Postulates Are EquivalentResearch Paper

Motivation

In 1935 Hassler Whitney asked which properties of linear dependence among the columns of a matrix can be stated without reference to the matrix at all. His answer, On the Abstract Properties of Linear Dependence (American Journal of Mathematics 57, 1935), introduced the matroid: a finite set together with a rank function obeying three short postulates. The notion now underlies combinatorial optimization (the greedy algorithm is optimal exactly on matroids, and matroid intersection and partition generalize bipartite matching and arborescence packing), graph theory (graphic and cographic matroids), coding theory and the study of linear representations over finite fields.

A defining feature of the subject is that the same structure can be axiomatized in several apparently unrelated ways: by rank, by independent sets, by bases, by circuits. Each axiom system is convenient for different arguments, and passing between them, a so-called cryptomorphism, is routine in practice. Whitney's paper is where these equivalences first appear. Part I, §§2–4 and §6 (pp. 510–514), derives the basic properties of rank from the rank postulates, deduces from them the postulates for independent sets, and shows that the two systems are equivalent. This mission formalizes that first equivalence.

Setting

Let MMM be a finite set of elements e1,…,ene_1, \dots, e_ne1​,…,en​. Following Whitney, write N+eN + eN+e for N∪{e}N \cup \{e\}N∪{e}, M1+M2M_1 + M_2M1​+M2​ for the union and M1M2M_1 M_2M1​M2​ for the intersection of subsets; ρ(N)\rho(N)ρ(N) is the number of elements of NNN.

A rank system is a function rrr on the subsets of MMM satisfying

  • (R₁) r(∅)=0r(\emptyset) = 0r(∅)=0;
  • (R₂) for every subset NNN and element e∉Ne \notin Ne∈/N, r(N+e)=r(N)r(N + e) = r(N)r(N+e)=r(N) or r(N+e)=r(N)+1r(N + e) = r(N) + 1r(N+e)=r(N)+1;
  • (R₃) for every subset NNN and elements e1,e2∉Ne_1, e_2 \notin Ne1​,e2​∈/N, if r(N+e1)=r(N+e2)=r(N)r(N + e_1) = r(N + e_2) = r(N)r(N+e1​)=r(N+e2​)=r(N) then r(N+e1+e2)=r(N)r(N + e_1 + e_2) = r(N)r(N+e1​+e2​)=r(N).

The nullity of NNN is n(N)=ρ(N)−r(N)n(N) = \rho(N) - r(N)n(N)=ρ(N)−r(N), and NNN is independent when n(N)=0n(N) = 0n(N)=0. The increment of (3.1) is Δ(M′,N)=r(M′+N)−r(M′)\Delta(M', N) = r(M' + N) - r(M')Δ(M′,N)=r(M′+N)−r(M′), written Δ(M′,e)\Delta(M', e)Δ(M′,e) when N={e}N = \{e\}N={e}.

An independence system is a predicate "independent" on the subsets of MMM satisfying

  • (I₁) any subset of an independent set is independent;
  • (I₂) if NNN and N′N'N′ are independent and N′N'N′ has exactly one element more than NNN, then N+e′N + e'N+e′ is independent for some e′∈N′e' \in N'e′∈N′ with e′∉Ne' \notin Ne′∈/N.

From an independence system one recovers a rank by letting r(N)r(N)r(N) be the number of elements in a largest independent subset of NNN. In the Lean development these objects are IsRankSystem, nullity, Delta, indepOfRank, IsIndepSystem and rankOfIndep, all in the namespace WhitneyMatroid.RankIndep.

Formalization targets

Goal: (R) and (I) are equivalent (§6, p. 514)

  1. If rrr satisfies (R₁)–(R₃), then {N:ρ(N)=r(N)}\{N : \rho(N) = r(N)\}{N:ρ(N)=r(N)} satisfies (I₁), (I₂), contains ∅\emptyset∅, and
r(N)=max⁡{ρ(I):I⊆N, ρ(I)=r(I)}for every N.r(N) = \max\{\rho(I) : I \subseteq N,\ \rho(I) = r(I)\} \quad \text{for every } N.r(N)=max{ρ(I):I⊆N, ρ(I)=r(I)}for every N.
  1. If "independent" satisfies (I₁), (I₂) and ∅\emptyset∅ is independent, then r(N)=max⁡{ρ(I):I⊆N independent}r(N) = \max\{\rho(I) : I \subseteq N \text{ independent}\}r(N)=max{ρ(I):I⊆N independent} satisfies (R₁)–(R₃), and NNN is independent if and only if ρ(N)=r(N)\rho(N) = r(N)ρ(N)=r(N).

Both translations and both round trips are part of the goal: Whitney's conclusion is not only that each system implies the other but that "the definitions of the rank and the independence or dependence of any subset of MMM agree under the two systems".

Milestones

  • Lemma 1 (p. 510): r(N)≥0r(N) \ge 0r(N)≥0, n(N)≥0n(N) \ge 0n(N)≥0, and N⊆M′N \subseteq M'N⊆M′ implies r(N)≤r(M′)r(N) \le r(M')r(N)≤r(M′), n(N)≤n(M′)n(N) \le n(M')n(N)≤n(M′).
  • Lemma 2 (p. 510): any subset of an independent set is independent, which is (I₁).
  • Lemma 3 (p. 511): Δ(M+e2,e1)≤Δ(M,e1)\Delta(M + e_2, e_1) \le \Delta(M, e_1)Δ(M+e2​,e1​)≤Δ(M,e1​).
  • Lemma 4 (p. 511): Δ(M+N,e)≤Δ(M,e)\Delta(M + N, e) \le \Delta(M, e)Δ(M+N,e)≤Δ(M,e).
  • Theorem 3 (p. 511): Δ(M+N2,N1)≤Δ(M,N1)\Delta(M + N_2, N_1) \le \Delta(M, N_1)Δ(M+N2​,N1​)≤Δ(M,N1​); equivalently
r(M+N1+N2)≤r(M+N1)+r(M+N2)−r(M),r(M1+M2)≤r(M1)+r(M2)−r(M1M2).r(M + N_1 + N_2) \le r(M + N_1) + r(M + N_2) - r(M), \qquad r(M_1 + M_2) \le r(M_1) + r(M_2) - r(M_1 M_2).r(M+N1​+N2​)≤r(M+N1​)+r(M+N2​)−r(M),r(M1​+M2​)≤r(M1​)+r(M2​)−r(M1​M2​).
  • §4 (pp. 511–512): the independent sets of a rank system satisfy (I₂).

Significance

The equivalence makes the rank function and the family of independent sets two descriptions of one object. Every later result of Whitney's paper, and of matroid theory generally, moves between them without comment: the circuit postulates of §5 and §8, the base postulates of §7 and the duality of §§11–13 are all phrased through rank or independence as convenient. Theorem 3 is the submodularity of rank, the property that connects matroids to submodular function minimization and polymatroids; here it is derived from the purely local postulates (R₁)–(R₃), which constrain the rank only under the addition of one or two elements.

On the formal side, Mathlib defines Matroid through independent sets (with constructors from other axiom systems) and proves submodularity of its rank; the platform has submodularity for Mathlib matroids (FamousTheorems.matroid_rank_submodular_7a). Neither starts from Whitney's local rank postulates. What this mission adds is a machine-checked derivation of the global properties of rank from (R₁)–(R₃) and of Whitney's original equivalence, stated for his own postulates, so that the later missions of this series, which work from the same postulates, rest on a verified foundation. The result itself has been settled since 1935; the open work is the formal proof.

Difficulty

The postulates (R₂) and (R₃) are local: they speak about adding at most two elements to a set. Monotonicity and the bound r(N)≤ρ(N)r(N) \le \rho(N)r(N)≤ρ(N) follow by adding elements one at a time, but the submodular inequality relates arbitrary sets, and nothing in (R₃) mentions more than two new elements. The gap between the local and the global statement is the substance of Lemmas 3, 4 and Theorem 3, and the deduction of (I₂) depends on it.

In the converse direction the rank is defined as a maximum over independent subsets, while (I₂) only augments a set from an independent set with exactly one element more; (R₃) for the derived rank is a statement about three sets that are not given in that form. The round trips are where the two halves meet, and each depends on the global properties of the first half rather than on the postulates alone.

Formalization scope

Elements form a type α with [Fintype α] [DecidableEq α]; subsets are Finset α, and the matroid MMM is the whole type. Ranks, nullities and increments take values in ℤ, so differences never truncate; Whitney allows any number, but (R₁) and (R₂) force nonnegative integers. Postulate (I₂) is stated in Whitney's form with N'.card = N.card + 1, not the general augmentation for ρ(N)<ρ(N′)\rho(N) < \rho(N')ρ(N)<ρ(N′). Postulates (R₂), (R₃) keep their hypotheses e,e1,e2∉Ne, e_1, e_2 \notin Ne,e1​,e2​∈/N. Lemmas 3, 4 and Theorem 3 are stated for arbitrary subsets M,N,N1,N2M, N, N_1, N_2M,N,N1​,N2​; Lemma 1's monotonicity for arbitrary N⊆M′N \subseteq M'N⊆M′, the form in which the paper uses it. rankOfIndep is the supremum of cardinalities over the independent members of the powerset.

The paper takes for granted that the empty set is independent in system (I). Without that hypothesis, the predicate declaring nothing independent satisfies (I₁) and (I₂) vacuously, the supremum defining the rank returns 000, and the round trip fails; the goal therefore assumes ∅\emptyset∅ independent in part 2 and proves it in part 1. A formalization in terms of Mathlib's Matroid would make the goal a restatement of library facts, since Mathlib's matroids are independence systems by construction; the goal is deliberately about the postulates as predicates on functions and on families of sets.

A complete development needs only finite set combinatorics (Finset.card, induction on finite sets, Finset.sup). The derived lemmas (monotonicity, submodularity, (I₂)) are reusable for any later work from Whitney's rank postulates, including the circuit-postulate equivalence of the companion mission. A bridge from rank systems to Mathlib's Matroid (via IndepMatroid.ofFinset) would be a welcome addition but is not part of the goal. Proofs of the milestones in any order are welcome; Theorem 3 and the §4 deduction are the natural first targets.

Selected references

  • H. Whitney, On the Abstract Properties of Linear Dependence, American Journal of Mathematics 57 (1935), no. 3, 509–533. https://doi.org/10.2307/2371182
  • J. Oxley, Matroid Theory, 2nd ed., Oxford Graduate Texts in Mathematics 21, Oxford University Press, 2011. https://doi.org/10.1093/acprof:oso/9780198566946.001.0001
  • J. Kung (ed.), A Source Book in Matroid Theory, Birkhäuser, 1986. https://doi.org/10.1007/978-1-4684-9199-9
  • Mathlib, Mathlib.Data.Matroid (matroids via independent sets; IndepMatroid.ofFinset). https://leanprover-community.github.io/mathlib4_docs/Mathlib/Data/Matroid/Basic.html
8 thms2 active usersReviewed
🏆Completed
Markov ChainOperations ResearchProbability+1·Captain: mikedeng1

Reversibility and Stochastic Networks IX: Partial Balance — Equivalent Characterizations via Truncation, Rate Changes and Time ReversalTextbook

Why partial balance

Equilibrium distributions of Markov models of networks are rarely computed by solving the full equilibrium equations directly. In the classical product-form results (migration processes, Jackson and Kelly networks, loss networks, clustering processes) the equilibrium distribution satisfies a stronger, local family of equations, and that is what makes it computable. The strongest such family is detailed balance, which characterizes reversibility. Many models that are not reversible still satisfy an intermediate family, partial balance: the probability flux balances not pair by pair but across a chosen set of transitions. F. P. Kelly's Reversibility and Stochastic Networks (Wiley, 1979) uses partial balance throughout: quasi-reversibility in Chapter 3 is a form of it, and the models that display it tend to be insensitive, meaning their equilibrium distribution does not change when exponential holding times are replaced by general ones with the same mean.

Section 9.4 of the book collects what partial balance means in a single statement. Theorem 9.5 summarizes Exercises 1.6.2–1.6.4 and 1.7.7–1.7.8 and gives five operational characterizations of partial balance. Corollaries 9.6–9.8 translate them into the language of spatial processes, and Theorem 9.9 turns partial balance of a coarse description into a product-form equilibrium for a finer one. This last step is the mechanism behind insensitivity.

Setting

A Markov process on a state space S\mathcal SS has transition rates q(j,k)≥0q(j,k)\ge0q(j,k)≥0 for j≠kj\ne kj=k, with q(j,j)=0q(j,j)=0q(j,j)=0. It is irreducible: every state can be reached from every other through transitions of positive rate. An equilibrium distribution is a collection of positive numbers π(j)\pi(j)π(j) summing to one that satisfies the equilibrium equations

π(j)∑k∈Sq(j,k)=∑k∈Sπ(k)q(k,j),j∈S.\pi(j)\sum_{k\in\mathcal S}q(j,k)=\sum_{k\in\mathcal S}\pi(k)q(k,j),\qquad j\in\mathcal S.π(j)k∈S∑​q(j,k)=k∈S∑​π(k)q(k,j),j∈S.

For an irreducible process on a finite state space it exists and is unique.

Given a set A⊆S\mathcal A\subseteq\mathcal SA⊆S, π\piπ satisfies partial balance with respect to A\mathcal AA if

π(j)∑k∈Aq(j,k)=∑k∈Aπ(k)q(k,j),j∈A.\pi(j)\sum_{k\in\mathcal A}q(j,k)=\sum_{k\in\mathcal A}\pi(k)q(k,j),\qquad j\in\mathcal A.π(j)k∈A∑​q(j,k)=k∈A∑​π(k)q(k,j),j∈A.

Truncating the process to A\mathcal AA deletes every transition out of A\mathcal AA, and the result is required to be irreducible within A\mathcal AA. The time-reversed process of a process with equilibrium distribution π\piπ has rates π(k)q(k,j)/π(j)\pi(k)q(k,j)/\pi(j)π(k)q(k,j)/π(j).

A spatial process has JJJ sites, the vertices of a graph GGG. Site jjj carries an attribute njn_jnj​ from a finite set Nj\mathcal N_jNj​, and the state space is S=N1×⋯×NJ\mathcal S=\mathcal N_1\times\cdots\times\mathcal N_JS=N1​×⋯×NJ​. Write TjmnT_j^m\mathbf nTjm​n for the state n\mathbf nn with the attribute of site jjj changed to mmm. The process must satisfy three conditions: only one site changes at a time; the rate q(n,Tjmn)q(\mathbf n,T_j^m\mathbf n)q(n,Tjm​n) depends on the other sites only through the neighbours of jjj; and any TjmnT_j^m\mathbf nTjm​n can be reached from n\mathbf nn without changing the other sites. The conditional distribution of site jjj given the rest is P(nj∣nG−j)=π(n)/∑mπ(Tjmn)P(n_j\mid\mathbf n_{G-j})=\pi(\mathbf n)/\sum_m\pi(T_j^m\mathbf n)P(nj​∣nG−j​)=π(n)/∑m​π(Tjm​n). A Markov field is a positive distribution whose conditional distributions depend only on the neighbours of jjj.

Formalization targets

Goal: Theorem 9.5

For an irreducible process on a finite S\mathcal SS with equilibrium distribution π\piπ, a nonempty A\mathcal AA within which the truncated process is irreducible, and a constant c>0c>0c>0, c≠1c\ne1c=1, the following are equivalent:

  1. partial balance with respect to A\mathcal AA;
  2. the equilibrium distribution of the truncated process is π(j)/∑k∈Aπ(k)\pi(j)/\sum_{k\in\mathcal A}\pi(k)π(j)/∑k∈A​π(k);
  3. multiplying the rates q(j,k)q(j,k)q(j,k), j,k∈Aj,k\in\mathcal Aj,k∈A, by ccc leaves the equilibrium distribution unchanged;
  4. multiplying the rates q(j,k)q(j,k)q(j,k), j∈Aj\in\mathcal Aj∈A, k∉Ak\notin\mathcal Ak∈/A, by ccc changes the equilibrium distribution to
Bπ(j) (j∈A),Bcπ(j) (j∉A),B−1=∑j∈Aπ(j)+c∑j∉Aπ(j);B\pi(j)\ (j\in\mathcal A),\qquad Bc\pi(j)\ (j\notin\mathcal A),\qquad B^{-1}=\sum_{j\in\mathcal A}\pi(j)+c\sum_{j\notin\mathcal A}\pi(j);Bπ(j) (j∈A),Bcπ(j) (j∈/A),B−1=j∈A∑​π(j)+cj∈/A∑​π(j);
  1. time reversal and truncation to A\mathcal AA commute.

When S−A\mathcal S-\mathcal AS−A is nonempty, these are also equivalent to:

  1. the chain observed just before each exit from A\mathcal AA and the chain observed just after each entry into A\mathcal AA have the same equilibrium distribution.

Milestones

  • Corollary 9.6: the equivalences for the sets on which all sites but jjj are frozen, i.e. partial balance (9.26) at a site.
  • Corollary 9.7: on a state space with at least two states, partial balance at every site makes π\piπ a Markov field, with 0<π(n)<10<\pi(\mathbf n)<10<π(n)<1 as in the book's definition.
  • Corollary 9.8: the equivalences for the set on which site jjj is frozen at one attribute (9.27).
  • Theorem 9.9: if a reduced description n=f(x)\mathbf n=f(\mathbf x)n=f(x) has a distribution π(n)\pi(\mathbf n)π(n) in partial balance for the rates (9.31), then the finer process has equilibrium distribution π(x)=π(n)∏jPj(xj∣nj)\pi(\mathbf x)=\pi(\mathbf n)\prod_jP_j(x_j\mid n_j)π(x)=π(n)∏j​Pj​(xj​∣nj​).

What the results give

Theorem 9.5 makes partial balance testable by operations on the process itself: truncation, speeding up or slowing down transitions, and time reversal. The book points to close relationships between statement (iv) and the product form of Section 2.3, and between statement (ii) and part (iii) of Theorem 3.12. Corollary 9.6 (iv) explains why the reversed migration process has such a simple form. Corollary 9.7 strengthens Theorem 9.3 by replacing reversibility with partial balance at each site. Theorem 9.9 is the step from partial balance to insensitivity: it is what the book uses to show that a spatial process keeps its equilibrium distribution when the lifetimes of attributes are mixtures of gamma distributions.

All of these results were proved in 1979. None has a machine-checked proof. The platform has the reversible special case of statement (ii) (KellyStochasticNetworks.truncated_reversible) and the rate-level objects for time reversal and truncation, which this mission reuses. Formalizing Theorem 9.5 also produces a reusable account of embedded exit and entry chains of a finite Markov process.

Difficulty

Most of the equivalences (i)–(v) are short manipulations of the equilibrium equations, but each direction from a property of an altered process back to partial balance needs uniqueness of equilibrium distributions for irreducible finite processes, and (v) ⇒ (i) also needs their existence. Mathlib has neither in the form needed here. Statement (vi) is a different kind of claim. The equilibrium distribution of the exit chain is proportional to the exit flux π(j)∑k∉Aq(j,k)\pi(j)\sum_{k\notin\mathcal A}q(j,k)π(j)∑k∈/A​q(j,k), and that of the entry chain to the entry flux. Proving this requires the hitting distributions and the Green's function of the jump chain killed on leaving a set, and the convergence of the series that define them. Corollary 9.8 (v) inherits that work. Theorem 9.9 requires uniqueness for the reduced frozen processes and careful bookkeeping of the fibres {xj:fj(xj)=nj}\{x_j:f_j(x_j)=n_j\}{xj​:fj​(xj​)=nj​}.

Formalization scope

State spaces are finite types, and every sum is an unconditional sum over a finite type. Because the state space is finite, the book's extra condition for (vi), a finite flux out of A\mathcal AA, holds automatically. Rates are real functions with q(j,j)=0q(j,j)=0q(j,j)=0 built into the hypotheses; the reduced rates of (9.31) also have zero self-rates. "The equilibrium distribution of a process is XXX" means: XXX is positive, sums to one, satisfies the equilibrium equations, and every distribution with these properties equals XXX. The book's "c≠0c\ne0c=0 or 111" is read as c>0c>0c>0, c≠1c\ne1c=1, so that altered rates remain rates. Truncation to A\mathcal AA is the published truncatedRates, a process on the subtype A\mathcal AA, and the reversed rates are the published reversedRates. The exit and entry chains are defined from the jump chain through series of restricted matrix powers. Spatial processes live on ∏jNj\prod_j\mathcal N_j∏j​Nj​ with TjmT_j^mTjm​ given by Function.update. In Theorem 9.9 the graph is complete, as the book assumes from p. 202 on.

The equilibrium distribution of the truncated process must be the unique positive normalized solution of the truncated equilibrium equations. It must not be defined as the conditional distribution, which would make (ii) a tautology. For the same reason (iii) and (iv) are stated through the equilibrium equations of the altered rates, not by assumption.

Theorem 9.10 (p. 207) is not a target. Its hypothesis, that a nominal lifetime "can have any distribution with unit mean", is not defined on the page, and the point-process and lifetime description it needs lies outside this rate-level development.

Contributions are welcome at every level: uniqueness and existence of equilibrium distributions for irreducible finite rate matrices (reusable across the series), convergence of the killed Green's function, and proofs of the corollaries from the goal.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, Chichester, 1979; reissued Cambridge University Press, 2011. https://doi.org/10.1017/CBO9781139171724 (§9.4, pp. 200–208; §1.6, pp. 25–27)
  • F. P. Kelly and E. Yudovina, Stochastic Networks, Cambridge University Press, 2014. https://doi.org/10.1017/CBO9781139565363
11 thms3 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchStatistics·Captain: mikedeng1

Conditional Logit Analysis of Qualitative Choice Behavior 3: The Conditional Logit Likelihood Has a Maximum Exactly When No Direction Makes Every Observed Choice Weakly BestResearch Paper

Motivation

The conditional logit model is the workhorse of discrete choice analysis in transportation, marketing, labour and industrial organization. McFadden's 1974 chapter derived it from a theory of population choice behaviour and showed how to estimate it by maximum likelihood; this line of work was recognized by his 2000 Nobel Prize in Economic Sciences, awarded for theory and methods of discrete choice analysis. Every applied logit estimation rests on a basic question: does the maximum likelihood estimate exist for the sample at hand? In small samples it may not. When one alternative is always chosen whenever it is available, the likelihood keeps increasing as a parameter tends to infinity, and numerical optimizers report diverging coefficients. This failure is known in the binary case as complete or quasi-complete separation. McFadden's Lemma 3 gives the exact condition, for the multinomial conditional logit model with general alternative sets, under which a maximizer exists.

Timeline. Berkson (1951, 1955) popularized binomial logit; multinomial versions were developed by Gurland (1960), Bloch (1967), Rassam (1971), McFadden (1968) and Theil (1969, 1970). McFadden (1974) stated the existence criterion for the conditional logit likelihood (Lemma 3) together with a quadratic-programming test for it (Lemma 4). Albert and Anderson (1984) later classified separation patterns for binary and multinomial logistic regression, and Haberman (1974) treated existence for log-linear models.

Setting

A choice experiment has N≥1N \ge 1N≥1 trials. Trial nnn offers an alternative set of JnJ_nJn​ alternatives, indexed i=1,…,Jni = 1,\dots,J_ni=1,…,Jn​, each described by an attribute vector zin∈RKz_{in} \in \mathbb{R}^Kzin​∈RK (the values of KKK specified functions of the individual's and the alternative's characteristics). Trial nnn is repeated Rn≥1R_n \ge 1Rn​≥1 times, and alternative iii is chosen SinS_{in}Sin​ times, so Rn=∑jSjnR_n = \sum_{j} S_{jn}Rn​=∑j​Sjn​.

For a parameter θ∈RK\theta \in \mathbb{R}^Kθ∈RK, with zinθz_{in}\thetazin​θ the inner product, the selection probabilities are

Pin(θ)=ezinθ∑j=1Jnezjnθ(16)P_{in}(\theta) = \frac{e^{z_{in}\theta}}{\sum_{j=1}^{J_n} e^{z_{jn}\theta}} \qquad (16)Pin​(θ)=∑j=1Jn​​ezjn​θezin​θ​(16)

and the log-likelihood of the sample is

L(θ)=C−∑n=1N∑i=1JnSinlog⁡∑j=1Jne(zjn−zin)θ,C=∑n=1N[log⁡Rn!−∑j=1Jnlog⁡Sjn!].(18)L(\theta) = C - \sum_{n=1}^N \sum_{i=1}^{J_n} S_{in} \log \sum_{j=1}^{J_n} e^{(z_{jn} - z_{in})\theta}, \qquad C = \sum_{n=1}^N \Big[\log R_n! - \sum_{j=1}^{J_n}\log S_{jn}!\Big]. \qquad (18)L(θ)=C−n=1∑N​i=1∑Jn​​Sin​logj=1∑Jn​​e(zjn​−zin​)θ,C=n=1∑N​[logRn​!−j=1∑Jn​​logSjn​!].(18)

Write zˉn(θ)=∑izinPin(θ)\bar z_n(\theta) = \sum_i z_{in}P_{in}(\theta)zˉn​(θ)=∑i​zin​Pin​(θ) for the probability-weighted mean attribute vector of trial nnn.

Axiom 5 (Full Rank). The (∑nJn)×K\big(\sum_n J_n\big)\times K(∑n​Jn​)×K matrix with rows zin−zˉnz_{in} - \bar z_nzin​−zˉn​ has rank KKK.

Axiom 6. There is no nonzero γ∈RK\gamma \in \mathbb{R}^Kγ∈RK with Sin(zjn−zin)γ≤0S_{in}(z_{jn} - z_{in})\gamma \le 0Sin​(zjn​−zin​)γ≤0 for all i,j=1,…,Jni, j = 1,\dots,J_ni,j=1,…,Jn​ and n=1,…,Nn = 1,\dots,Nn=1,…,N. Equivalently, no nonzero direction makes every observed choice weakly best in its alternative set.

Formalization targets

Goal: Lemma 3

Under Axiom 5,

(∃ θ^∈RK, ∀θ, L(θ)≤L(θ^))  ⟺  Axiom 6.\big(\exists\, \hat\theta \in \mathbb{R}^K,\ \forall \theta,\ L(\theta) \le L(\hat\theta)\big) \iff \text{Axiom 6}.(∃θ^∈RK, ∀θ, L(θ)≤L(θ^))⟺Axiom 6.

Milestones

  1. Equation (19): the gradient ∂L/∂θ=∑n∑j(Sjn−RnPjn)zjn\partial L/\partial\theta = \sum_n \sum_j (S_{jn} - R_nP_{jn}) z_{jn}∂L/∂θ=∑n​∑j​(Sjn​−Rn​Pjn​)zjn​.
  2. Equation (20): the Hessian ∂2L/∂θ ∂θ′=−∑nRn∑j(zjn−zˉn)′Pjn(zjn−zˉn)\partial^2L/\partial\theta\,\partial\theta' = -\sum_n R_n \sum_j (z_{jn} - \bar z_n)'P_{jn}(z_{jn} - \bar z_n)∂2L/∂θ∂θ′=−∑n​Rn​∑j​(zjn​−zˉn​)′Pjn​(zjn​−zˉn​).
  3. LLL is concave, and every critical point is a global maximizer.
  4. A Hessian that is nonsingular everywhere makes LLL strictly concave with at most one maximizer.
  5. Axiom 5 holds at θ\thetaθ if and only if the Hessian at θ\thetaθ is negative definite.
  6. Necessity: under Axiom 5, a maximizer forces Axiom 6.
  7. Equation (21): under Axiom 6, b(γ)=max⁡nmax⁡i,jSin(zjn−zin)γb(\gamma) = \max_n \max_{i,j} S_{in}(z_{jn}-z_{in})\gammab(γ)=maxn​maxi,j​Sin​(zjn​−zin​)γ has a positive lower bound b∗b^*b∗ on the unit sphere.
  8. The bound L(θ)−C≤−b∗∣θ∣L(\theta) - C \le -b^*|\theta|L(θ)−C≤−b∗∣θ∣ for all θ\thetaθ.
  9. Sufficiency: Axiom 6 gives a maximizer.

Significance

Lemma 3 tells the practitioner when the conditional logit maximum likelihood estimate exists, before any numerical optimization is attempted. It is a linear-inequality condition on the data alone, so it can be checked by linear or quadratic programming (Lemma 4 of the same paper). The existence of the estimator is also the first step of McFadden's asymptotic theory: Lemma 5 shows that Axiom 6 holds with probability tending to one, and Lemma 6, consistency and asymptotic normality, concerns the estimator whose existence Lemma 3 characterizes. The concavity and Hessian formulas (19)–(20) are the basis of the Newton–Raphson computation of the estimator and of its asymptotic covariance matrix.

The result has been proved since 1974 and is classical. To our knowledge it has no machine-checked proof; Mathlib has no statement about the existence of logit or softmax-regression maximum likelihood estimates. Formalizing it produces a verified existence criterion for the multinomial logit likelihood, verified gradient and Hessian formulas for log-sum-exp likelihoods with repeated observations, and a verified link between full column rank and strict concavity.

Difficulty

The likelihood is concave, and concave functions on RK\mathbb{R}^KRK need not attain their supremum. Concavity alone therefore gives nothing, and existence must come from a growth condition. The obvious approach, "the likelihood is bounded above by CCC, hence attains its maximum", fails: LLL is bounded but can approach its supremum only at infinity, which is exactly the separation case. Sufficiency needs a quantitative rate at which LLL decreases, uniform over all directions; a direction-by-direction argument does not suffice. Necessity requires strict concavity, which is where Axiom 5 and the requirement that every trial be observed enter. A trial with Rn=0R_n = 0Rn​=0 can supply the rank of Axiom 5 while contributing nothing to LLL, so with such a trial necessity fails. The calculus part, (19)–(20), involves differentiating sums of log-sum-exp terms over dependent index types and identifying the result with a weighted covariance operator.

Formalization scope

  • Representation. RK\mathbb{R}^KRK is EuclideanSpace ℝ (Fin K), so ∣θ∣=(θ′θ)1/2|\theta| = (\theta'\theta)^{1/2}∣θ∣=(θ′θ)1/2 is the Euclidean norm and zθz\thetazθ is the inner product ⟪z, θ⟫. Trials are Fin N, alternatives of trial nnn are Fin (J n), and the counts SinS_{in}Sin​ are natural numbers.
  • Data structure. The structure Data K bundles NNN, JJJ, zzz, SSS and the standing assumptions N≥1N \ge 1N≥1 and Rn=∑iSin≥1R_n = \sum_i S_{in} \ge 1Rn​=∑i​Sin​≥1 for every trial; these make the trial and alternative index sets nonempty.
  • Axioms 1–4 are built in. The model is the logit form (16) with vvv linear in θ\thetaθ (Axiom 4), so "Suppose Axioms 1–5 hold" becomes "Data plus Axiom 5".
  • Axiom 5 is read at every θ\thetaθ. The row space of the matrix does not depend on θ\thetaθ.
  • Hessian. The Hessian is the Fréchet derivative of the gradient vector field (19), as a continuous linear map.
  • The maximizer is global over all of RK\mathbb{R}^KRK. Neither a local maximizer nor "L(θ^)≥L(0)L(\hat\theta) \ge L(0)L(θ^)≥L(0)" is acceptable as the goal; that would make it trivial.
  • Infrastructure. Gradients and Hessians of log-sum-exp with dependent finite index types; positive definiteness from full column rank; attainment of the maximum of a coercive continuous function on a finite-dimensional space. The calculus lemmas are reusable for any multinomial logit or softmax likelihood. Missions 4 and 5 of this series reuse the same model. Contributions of general log-sum-exp lemmas, independent of this mission's definitions, are welcome.

Selected references

  • D. McFadden, Conditional logit analysis of qualitative choice behavior, in P. Zarembka (ed.), Frontiers in Econometrics, Academic Press, New York, 1974, pp. 105–142. https://eml.berkeley.edu/reprints/mcfadden/zarembka.pdf
  • A. Albert and J. A. Anderson, On the existence of maximum likelihood estimates in logistic regression models, Biometrika 71(1), 1984, pp. 1–10. https://doi.org/10.1093/biomet/71.1.1
  • S. J. Haberman, The Analysis of Frequency Data, University of Chicago Press, 1974.
  • J. Berkson, Maximum likelihood and minimum χ² estimates of the logistic function, Journal of the American Statistical Association 50, 1955, pp. 130–162. https://doi.org/10.1080/01621459.1955.10501255
12 thms3 active usersReviewed
🏆Completed
CombinatoricsOperations Research·Captain: mikedeng1

On the Abstract Properties of Linear Dependence 3: Two Elements Share a Component Iff Some Circuit Contains BothResearch Paper

Motivation

Hassler Whitney's 1935 paper On the Abstract Properties of Linear Dependence introduced matroids: finite sets of elements carrying an abstract rank function that behaves like the rank of a set of vectors. Part II of the paper opens with the decomposition of a matroid into components. The question it answers is basic to every later use of matroids: when does a matroid split into independent pieces, and how can the pieces be recognized?

For the matroid of a graph (elements = edges, rank = number of vertices minus number of connected pieces spanned) the components are the 2-connected blocks of the graph, and Whitney's theorem recovers the classical fact that two edges lie in a common block exactly when they lie on a common cycle. Whitney had studied separability of graphs in Non-separable and planar graphs (1932), and footnote 11 of the 1935 paper points out that the theorem identifies König's "Glieder" of a graph with components. Matroid connectivity built on this notion runs through later structure theory: Tutte's higher connectivity, Seymour's decomposition of regular matroids, and the matroid minors project all start from the separation of a matroid into components.

Setting

A matroid MMM on a finite ground set EEE is given here by Mathlib's Matroid structure, with rank function r(X)r(X)r(X) for X⊆EX\subseteq EX⊆E (Mathlib's M.eRk X) and circuits, the minimal dependent sets (M.IsCircuit). Whitney treats every subset X⊆EX\subseteq EX⊆E as a matroid in its own right, a submatroid, with the rank function of MMM restricted to subsets of XXX. For sets he writes M1+M2M_1+M_2M1​+M2​ for the union, ρ(N)\rho(N)ρ(N) for the number of elements of NNN, and

n(N)=ρ(N)−r(N)n(N) = \rho(N) - r(N)n(N)=ρ(N)−r(N)

for the nullity of NNN.

Rank is subadditive: r(X1+X2)≤r(X1)+r(X2)r(X_1+X_2)\le r(X_1)+r(X_2)r(X1​+X2​)≤r(X1​)+r(X2​). A submatroid XXX is separable if it can be divided into two disjoint groups X1,X2X_1, X_2X1​,X2​, each containing at least one element, with

r(X)=r(X1)+r(X2),r(X) = r(X_1) + r(X_2),r(X)=r(X1​)+r(X2​),

and non-separable otherwise. Every single element is non-separable. A component of MMM is a maximal non-separable part of MMM: a nonempty non-separable set K⊆EK\subseteq EK⊆E contained in no strictly larger non-separable subset of EEE.

Formalization targets

Goal: Theorem 19

For two distinct elements e1≠e2e_1\neq e_2e1​=e2​ of EEE,

(∃K component of M: e1,e2∈K)  ⟺  (∃P circuit of M: e1,e2∈P).\bigl(\exists K \text{ component of } M:\ e_1, e_2\in K\bigr) \iff \bigl(\exists P \text{ circuit of } M:\ e_1, e_2\in P\bigr).(∃K component of M: e1​,e2​∈K)⟺(∃P circuit of M: e1​,e2​∈P).

Components are defined by the rank function, circuits by dependence; the goal asserts that the two descriptions agree.

Milestones (§10, in the paper's order)

  • Theorem 11. If r(M1+M2)=r(M1)+r(M2)r(M_1+M_2)=r(M_1)+r(M_2)r(M1​+M2​)=r(M1​)+r(M2​), M1′⊆M1M_1'\subseteq M_1M1′​⊆M1​ and M2′⊆M2M_2'\subseteq M_2M2′​⊆M2​, then r(M1′+M2′)=r(M1′)+r(M2′)r(M_1'+M_2')=r(M_1')+r(M_2')r(M1′​+M2′​)=r(M1′​)+r(M2′​).
  • Theorem 12. Under the same rank additivity, a non-separable M′⊆M1+M2M'\subseteq M_1+M_2M′⊆M1​+M2​ lies in M1M_1M1​ or in M2M_2M2​.
  • Theorem 13. Two non-separable sets with a common element have a non-separable union.
  • Theorem 14. Distinct components are disjoint.
  • Theorem 15. The components cover EEE, and no other family of components does.
  • Theorem 16. A set is non-separable of nullity 111 if and only if it is a circuit.
  • Lemma 9. If M1+M2M_1+M_2M1​+M2​ is non-separable, with M1,M2M_1, M_2M1​,M2​ nonempty and disjoint, some circuit inside M1+M2M_1+M_2M1​+M2​ meets both.
  • Theorem 17. A non-separable set of nullity n>0n>0n>0 is built from a circuit by n−1n-1n−1 steps, each adding a set of elements that forms a circuit with elements already present, through non-separable sets of nullity 1,2,…,n1,2,\dots,n1,2,…,n.
  • Theorem 18. For distinct nonempty non-separable M1,…,MpM_1,\dots,M_pM1​,…,Mp​ covering EEE, the following are equivalent: they are the components; they are pairwise disjoint and no circuit meets two of them; r(E)=∑ir(Mi)r(E)=\sum_i r(M_i)r(E)=∑i​r(Mi​).

Significance

The result. Theorem 19 makes the component decomposition computable from circuits alone and shows that "lying on a common circuit" is an equivalence relation on distinct elements, a fact that is not evident from the circuit axioms. Theorem 18 adds that the decomposition is the unique one with additive rank. Together they are the starting point of matroid connectivity: the direct-sum decomposition of a matroid, the reduction of many matroid problems (representability, duality of components, Whitney's own Theorems 24–26 on duals of components) to the connected case, and the higher-connectivity theory that followed.

Formalizing it. The results are classical and proved in the paper; nothing here is open. To our knowledge Mathlib at the pinned revision has no notion of matroid connectivity or components, so this mission produces the first machine-checked development of Whitney's §10: the rank-based definition of separability, the disjoint decomposition into components, the circuit characterization, and the ear-type construction of non-separable matroids (Theorem 17). These are reusable for any later formalization of matroid connectivity, including Whitney's results on duals of components.

Difficulty

The two directions of Theorem 19 rest on different machinery. That two elements on a common circuit lie in one component follows from the rank theory (Theorems 13 and 16). The converse is the substantial direction: a component is defined by the failure of rank additivity, which only says that every division of the component is crossed by some circuit (Lemma 9). It does not directly give one circuit through two prescribed elements. Combining circuits that cross different divisions into a single circuit through both e1e_1e1​ and e2e_2e2​ requires the circuit elimination property together with a minimality argument over subsets of the component; the naive attempt of chaining overlapping circuits from e1e_1e1​ to e2e_2e2​ gives a connected chain of circuits, not one circuit.

Formalization scope

  • Representation. A matroid is Mathlib's Matroid α with [M.Finite]; Whitney's matroids are finite. A submatroid is a subset X⊆X\subseteqX⊆ M.E with the rank M.eRk restricted to its subsets; results that Whitney states for "a matroid M=M1+M2M = M_1 + M_2M=M1​+M2​" are stated for subsets of an ambient finite matroid, which is the same statement applied to the submatroid M1+M2M_1+M_2M1​+M2​.
  • Ranks are Mathlib's ℕ∞-valued M.eRk, finite on a finite matroid, so (10.1) is an equation of natural numbers. Nullity is computed in Z\mathbb ZZ as the number of elements minus the rank.
  • Definitions. IsSeparable M X requires two nonempty, disjoint groups with union XXX and additive rank; without nonemptiness every set would be separable. IsNonSeparable M X adds X⊆X\subseteqX⊆ M.E. IsComponent M K requires KKK nonempty, non-separable, and maximal; nonemptiness excludes the empty set, which is vacuously non-separable.
  • Tacit hypotheses made explicit. In Theorem 19 the two elements are distinct: for e1=e2e_1=e_2e1​=e2​ a coloop is its own component and lies on no circuit. In Theorem 18 the sets M1,…,MpM_1,\dots,M_pM1​,…,Mp​ are distinct and nonempty: a loop listed twice would satisfy (3) but not (2), and an empty set would satisfy (2) and (3) but not (1). In Theorems 11 and 12 the two parts need not be disjoint, as Whitney's use of M1+M2M_1+M_2M1​+M2​ for overlapping sets in Theorem 13 indicates; the statements hold in that generality.
  • Ruled out. Components must not be defined as the classes of the relation "lie on a common circuit": that would make the goal a tautology. Here they are the rank-defined maximal non-separable sets of §10, and circuits are Mathlib's Matroid.IsCircuit.
  • Infrastructure. Solvers will need submodularity of M.eRk and circuit elimination (both in Mathlib), the relation between circuits of M ↾ X and circuits of M inside XXX (Matroid.restrict_isCircuit_iff), and finiteness arguments for maximal non-separable sets. Proofs of the milestones, alternative proofs of the goal, and lemmas relating components to Mathlib's direct sums of matroids are all welcome.

Selected references

  • H. Whitney, On the Abstract Properties of Linear Dependence, American Journal of Mathematics 57 (1935), 509–533. https://doi.org/10.2307/2371182
  • H. Whitney, Non-separable and planar graphs, Transactions of the American Mathematical Society 34 (1932), 339–362. https://doi.org/10.1090/S0002-9947-1932-1501641-2
  • D. König, Acta Litterarum ac Scientiarum Szeged, vol. 6, pp. 155–179, as cited by Whitney in footnote 11 (p. 159 for the notion of "Glied").
  • J. Oxley, Matroid Theory, 2nd ed., Oxford University Press, 2011, Chapter 4 (connectivity).
13 thms2 active usersReviewed
PreviousNext

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me