Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Operations Research

911 missions · 539 completed

The discipline of applying mathematical analysis to complex decision problems in operations: allocating scarce resources, scheduling, routing, inventory, and the design of service and production systems. Drawing on mathematical programming, stochastic modeling, queueing, simulation, and game-theoretic reasoning, it seeks policies that perform provably well in systems shaped by constraints, congestion, and uncertainty.

Missions

Open372Completed539All911
🏆Completed
Dynamic ProgrammingProbability·Captain: mikedeng1

The Theory of Dynamic Programming: The Index Rule for Bellman's Stochastic Gold-Mining ProblemResearch Paper

Motivation

Richard Bellman's survey The theory of dynamic programming (Bull. Amer. Math. Soc. 60 (1954), 503–515, DOI 10.1090/s0002-9904-1954-09848-8) introduced dynamic programming to a general mathematical audience. It states the principle of optimality (§2, p. 504): "An optimal policy has the property that whatever the initial state and initial decisions are, the remaining decisions must constitute an optimal policy with regard to the state resulting from the first decisions", and derives from it the functional equations of finite and infinite stochastic decision processes, (4.2) and (5.1) (p. 506).

The survey illustrates the method on a small number of worked examples. The second of them, §8 "Stochastic gold mining" (pp. 508–509), is the one with a sharp answer: a two-armed sequential allocation problem with an absorbing failure state, whose optimal policy is a simple index rule. It is an early instance of the allocation-index phenomenon later made general by Gittins and Jones (1974) and Gittins (1979), and the paper itself notes (p. 509) that the rule "is not valid generally in more complicated decision processes", citing a counterexample of Karlin and Shapiro. The full treatment is in Bellman's RAND report R-245 and his 1957 book Dynamic Programming.

Setting

Two gold mines, Anaconda (AAA) and Bonanza (BBB), hold amounts x≥0x \ge 0x≥0 and y≥0y \ge 0y≥0 of gold. A single machine can be used in either mine. A use in Anaconda succeeds with probability ppp: it then mines a fraction rrr of the gold currently in Anaconda and the machine stays undamaged. With probability 1−p1-p1−p it mines nothing and the machine is destroyed. Bonanza behaves the same way with probability qqq and fraction sss. While the machine works, the operator chooses the next mine; the aim is to maximize the expected amount mined before the machine is destroyed.

The only information the operator ever receives is that the machine still works. A policy is therefore a choice sequence σ=(σ0,σ1,… )∈{A,B}N\sigma = (\sigma_0, \sigma_1, \dots) \in \{A, B\}^{\mathbb N}σ=(σ0​,σ1​,…)∈{A,B}N: the mine for use number nnn, applied if uses 0,…,n−10, \dots, n-10,…,n−1 succeeded. With ana_nan​, bnb_nbn​ the numbers of AAA- and BBB-uses among the first nnn, use nnn collects gn=rx(1−r)ang_n = r x (1-r)^{a_n}gn​=rx(1−r)an​ if σn=A\sigma_n = Aσn​=A and gn=sy(1−s)bng_n = s y (1-s)^{b_n}gn​=sy(1−s)bn​ if σn=B\sigma_n = Bσn​=B, and does so with probability ∏k=0nπσk\prod_{k=0}^{n} \pi_{\sigma_k}∏k=0n​πσk​​ (πA=p\pi_A = pπA​=p, πB=q\pi_B = qπB​=q). The expected return is

J(σ;x,y)=∑n≥0(∏k=0nπσk)gn,J(\sigma; x, y) = \sum_{n \ge 0} \Big(\prod_{k=0}^{n} \pi_{\sigma_k}\Big) g_n ,J(σ;x,y)=n≥0∑​(k=0∏n​πσk​​)gn​,

and Bellman's (8.1) defines the optimal return

f(x,y)=sup⁡σJ(σ;x,y).f(x, y) = \sup_\sigma J(\sigma; x, y).f(x,y)=σsup​J(σ;x,y).

In Lean these are expectedReturn p q r s σ x y and optimalReturn p q r s x y in the namespace BellmanTheoryDP.GoldMining.

Formalization targets

Milestone: the functional equation (8.2), p. 508

f(x,y)=max⁡{p [rx+f((1−r)x,y)], q [sy+f(x,(1−s)y)]}.f(x, y) = \max\Big\{ p\,[r x + f((1-r)x, y)],\ q\,[s y + f(x, (1-s)y)] \Big\}.f(x,y)=max{p[rx+f((1−r)x,y)], q[sy+f(x,(1−s)y)]}.

Goal: the decision rule (8.3), p. 509, corrected

Write VA=p[rx+f((1−r)x,y)]V_A = p[rx + f((1-r)x, y)]VA​=p[rx+f((1−r)x,y)] and VB=q[sy+f(x,(1−s)y)]V_B = q[sy + f(x, (1-s)y)]VB​=q[sy+f(x,(1−s)y)] for the two branches of (8.2). For 0<p,q,r,s<10 < p, q, r, s < 10<p,q,r,s<1 and x,y≥0x, y \ge 0x,y≥0:

prx1−p>qsy1−q⇒VA>VB,prx1−p<qsy1−q⇒VA<VB,prx1−p=qsy1−q⇒VA=VB.\frac{prx}{1-p} > \frac{qsy}{1-q} \Rightarrow V_A > V_B, \qquad \frac{prx}{1-p} < \frac{qsy}{1-q} \Rightarrow V_A < V_B, \qquad \frac{prx}{1-p} = \frac{qsy}{1-q} \Rightarrow V_A = V_B .1−pprx​>1−qqsy​⇒VA​>VB​,1−pprx​<1−qqsy​⇒VA​<VB​,1−pprx​=1−qqsy​⇒VA​=VB​.

The paper prints the rule with (1−r)(1-r)(1−r) and (1−s)(1-s)(1−s) in the denominators:

a. For prx/(1−r)>qsy/(1−s)prx/(1 - r) > qsy/(1 - s)prx/(1−r)>qsy/(1−s), choose A, b. For prx/(1−r)<qsy/(1−s)prx/(1 - r) < qsy/(1 - s)prx/(1−r)<qsy/(1−s), choose B, c. For prx/(1−r)=qsy/(1−s)prx/(1 - r) = qsy/(1 - s)prx/(1−r)=qsy/(1−s), choose either.

and glosses it as "the locus of points where immediate expected gain over immediate expected loss is the same for both choices". The immediate expected loss is the probability of destroying the machine, 1−p1-p1−p (resp. 1−q1-q1−q), not 1−r1 - r1−r. As printed the rule is false: with p=1/2p = 1/2p=1/2, r=0.9r = 0.9r=0.9, q=0.9q = 0.9q=0.9, s=0.1s = 0.1s=0.1, x=1x = 1x=1, y=2y = 2y=2 the printed indices are 4.5>0.24.5 > 0.24.5>0.2, but VA≈0.924<VB≈1.055V_A \approx 0.924 < V_B \approx 1.055VA​≈0.924<VB​≈1.055. The mission's goal is the corrected rule, the one the paper describes in words.

Companion: the index policy is optimal, p. 509

"Using this prescription, f(x,y)f(x, y)f(x,y) may be computed recurrently": the choice sequence σ∗\sigma^*σ∗ generated by applying the corrected rule to the current amounts at every use satisfies J(σ∗;x,y)=f(x,y)J(\sigma^*; x, y) = f(x, y)J(σ∗;x,y)=f(x,y).

Significance

The decision rule reduces an optimization over infinite sequences to comparing two explicit numbers, one per mine, each depending only on that mine's own data. This is the defining property of an index policy, and gold mining is one of the earliest problems where it was observed. The functional equation (8.2) is the concrete form, for this process, of the infinite-horizon equation (5.1) that the paper states formally.

Formalizing the example yields a complete machine-checked instance of the principle of optimality for an infinite-horizon stochastic process whose state space (the amounts left in the two mines) is infinite, where the supremum over policies is not attained trivially and the finite-horizon recursion does not apply directly. It also records, with a checked statement, the correction of the misprint in (8.3). No machine-checked proof of (8.2) or (8.3) is known to exist.

Difficulty

The equation (8.2) looks immediate, and the paper calls it "easily seen". The informal argument treats fff as the value of an optimal policy, but fff is a supremum over infinite sequences that need not be attained a priori, and the return of a sequence is an infinite series. The finite-horizon recursion (4.2) does not apply as it stands, because the process has no last stage and its state space, the amounts left in the two mines, is infinite.

The rule (8.3) compares the two optimal continuations f((1−r)x,y)f((1-r)x, y)f((1−r)x,y) and f(x,(1−s)y)f(x, (1-s)y)f(x,(1−s)y), which are themselves unknown. A comparison of the one-step gains alone does not decide it, as the misprinted rule shows. Parts a and b are strict preferences, so it is not enough to show that one choice is at least as good as the other.

Formalization scope

  • Representation. The mines are a two-element inductive type Mine; a policy is a function ℕ → Mine (ChoiceSeq). All quantities are real numbers. Randomized policies are mixtures of choice sequences and give no larger return, so they are not modelled. No restriction to stationary or Markov policies is made: fff is the supremum over all sequences.
  • Parameter ranges. The paper does not state them. The theorems assume 0<p,q,r,s<10 < p, q, r, s < 10<p,q,r,s<1 and x,y≥0x, y \ge 0x,y≥0 (zero amounts allowed). p,q<1p, q < 1p,q<1 keeps the indices prx/(1−p)prx/(1-p)prx/(1−p), qsy/(1−q)qsy/(1-q)qsy/(1−q) well defined.
  • Series and supremum. JJJ is a real tsum and fff a real iSup. For the parameter ranges above the terms are nonnegative, the partial sums are bounded by x+yx + yx+y, and the family is bounded above, so neither Lean default value (0 for a divergent series or an unbounded supremum) arises; this is stated as the auxiliary theorem expectedReturn_le_add.
  • Survival indexing. The gold of use nnn is counted only if use nnn itself succeeds, so the survival product runs over k≤nk \le nk≤n.
  • The misprint. The goal and the index policy use (1−p)(1-p)(1−p), (1−q)(1-q)(1−q) in place of the printed (1−r)(1-r)(1−r), (1−s)(1-s)(1−s). The printed rule appears only as the quotation above.
  • No trivializing encoding. fff is defined as the supremum of expected returns over all choice sequences, per (8.1); it is not defined as a solution of (8.2), as the value of the index policy, or as a limit of value iteration, any of which would make the milestone or the goal true by definition.
  • Auxiliary theorems (not from the paper). The bound 0≤J≤x+y0 \le J \le x + y0≤J≤x+y with summability, the one-step unrolling J(σ)=p[rx+J(σ′;(1−r)x,y)]J(\sigma) = p[rx + J(\sigma'; (1-r)x, y)]J(σ)=p[rx+J(σ′;(1−r)x,y)] when σ0=A\sigma_0 = Aσ0​=A (and symmetrically), and the single-mine values f(x,0)=prx/(1−p(1−r))f(x, 0) = prx/(1 - p(1-r))f(x,0)=prx/(1−p(1−r)), f(0,y)=qsy/(1−q(1−s))f(0, y) = qsy/(1-q(1-s))f(0,y)=qsy/(1−q(1−s)) are included as footholds. They are not milestones.
  • Related platform content. AllocationIndices.two_discount_index_policy_optimal (Gittins et al., Theorem 3.4) concerns Markov bandits whose rewards are discounted by ata^tat at global time ttt; gold mining multiplies by the success probability of each use of the mine used, so it is a different model and is not reused. BertsekasDP.dp_algorithm_optimality is finite-horizon and does not give (8.2).

Contributions welcome: proofs of the auxiliary theorems, of (8.2), of the decision rule, and of the optimality of the index policy.

Selected references

  • R. Bellman, The theory of dynamic programming, Bull. Amer. Math. Soc. 60 (1954), no. 6, 503–515. https://doi.org/10.1090/s0002-9904-1954-09848-8
  • R. Bellman, Dynamic Programming, Princeton University Press, 1957.
  • J. C. Gittins, Bandit processes and dynamic allocation indices, J. Roy. Statist. Soc. Ser. B 41 (1979), 148–177. https://doi.org/10.1111/j.2517-6161.1979.tb01068.x
  • J. C. Gittins, K. D. Glazebrook, R. Weber, Multi-armed Bandit Allocation Indices, 2nd ed., Wiley, 2011. https://doi.org/10.1002/9780470980033
4 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryMechanism Design·Captain: mikedeng1

School Choice: A Mechanism Design Approach 2: The Top Trading Cycles Mechanism with Type-Specific Quotas Is Strategy-ProofResearch Paper

Motivation

Many US school districts assign children to public schools centrally. Each family ranks the schools. Each school ranks the children by priority, which is set by state or local law (siblings, walking distance, a lottery). A procedure then turns these rankings into an assignment. Abdulkadiroğlu and Sönmez (Columbia Economics Discussion Paper 0203-18, 2003; published in the American Economic Review 93(3), 2003) cast this as a mechanism design problem. They showed that the mechanisms then in use in Boston, Columbus and Minneapolis gave families reasons to misreport their preferences. They proposed two alternatives: the student-optimal stable mechanism of Gale and Shapley, and a school-choice version of Shapley and Scarf's top trading cycles (TTC) mechanism.

Many districts also operate under controlled choice: court-ordered or voluntary rules that keep the racial or ethnic composition of each school within bounds. In Minneapolis, for instance, a 100-seat school could admit at most 75 majority and at most 55 minority students (paper, Section III). Such rules are implemented as type-specific quotas. Section III.B of the paper modifies TTC to respect these quotas. It proves that the modified mechanism keeps both properties that recommend TTC: it wastes nothing beyond what the quotas force (constrained efficiency, Proposition 6), and truth-telling is a dominant strategy (strategy-proofness, Proposition 7). This mission formalizes those two results.

Setting

There is a finite set III of students and a finite set SSS of schools. School sss has a capacity qsq_sqs​, and the total number of seats suffices: ∣I∣≤∑sqs|I|\le\sum_s q_s∣I∣≤∑s​qs​. Each student iii has a strict preference over all schools, encoded as a ranking Pi:S→{0,…,∣S∣−1}P_i : S\to\{0,\dots,|S|-1\}Pi​:S→{0,…,∣S∣−1} with rank 000 the favourite. Each school sss has a strict priority ranking over all students, with rank 000 the highest priority. Each student belongs to exactly one type τ(i)\tau(i)τ(i), and school sss has a type quota qstq_s^tqst​ for each type ttt.

An assignment ν\nuν gives each student a school or nothing (∅\varnothing∅, worse than every school). It satisfies the controlled choice constraints if every school sss receives at most qsq_sqs​ students, and at most qstq_s^tqst​ students of each type ttt. An assignment μ\muμ is constrained efficient if no assignment satisfying the constraints makes every student weakly better off and some student strictly better off.

The top trading cycles mechanism with type-specific quotas, TTCq\mathrm{TTC}^qTTCq, runs in steps. Each school keeps a counter csc_scs​ (initially qsq_sqs​) and one type counter cstc_s^tcst​ for each type (initially qstq_s^tqst​). A school is removed when csc_scs​ reaches zero. At each step:

  • every remaining student points to her favourite remaining school with room for her type, that is, with cs>0c_s>0cs​>0 and csτ(i)>0c_s^{\tau(i)}>0csτ(i)​>0;
  • every remaining school points to its highest-priority remaining student, whatever her type;
  • every student on a cycle of this graph is assigned the school she points to and leaves;
  • that school's counter and its counter for her type each drop by one.

A direct mechanism is strategy-proof if no student can ever gain by misreporting her preference, whatever the others report.

Formalization targets

Goal: Proposition 7 (p. 23)

For every student iii, every profile PPP of announced preferences and every alternative report QiQ_iQi​,

TTCq(Qi,P−i)(i)=s′  ⟹  TTCq(P)(i)=s with Pi(s)≤Pi(s′).\mathrm{TTC}^q(Q_i,P_{-i})(i)=s' \implies \mathrm{TTC}^q(P)(i)=s \text{ with } P_i(s)\le P_i(s').TTCq(Qi​,P−i​)(i)=s′⟹TTCq(P)(i)=s with Pi​(s)≤Pi​(s′).

This holds for all capacities without shortage, all quotas, all types and all priorities. The priorities are fixed data, not reported.

Milestones

  1. Section III.B, Step 1 (p. 22). At every step there is at least one cycle, after the convention below has removed the students who cannot point.
  2. The Lemma (Appendix, pp. 28–29; declared valid for the modified mechanism on p. 30). Fix the other students' reports, and suppose student iii is still present at the beginning of a step under two different reports of hers. Then the two runs have the same remaining students and the same counters at that point.
  3. Proposition 6 (p. 23). TTCq(P)\mathrm{TTC}^q(P)TTCq(P) satisfies the controlled choice constraints and is constrained efficient with respect to PPP.

Significance

Strategy-proofness is what lets a district publish a simple instruction: rank the schools in your true order. A strategy-proof mechanism does not reward families who can afford to gather information and game the system. Proposition 7 shows that this guarantee survives the addition of flexible diversity quotas, which many districts are legally bound to impose. Proposition 6 shows that the quotas cost nothing beyond the losses they themselves cause. Both results were proved in 2003 by pen and paper. The published proof of Proposition 7 is a short adaptation of the proof of Proposition 4 (strategy-proofness of plain TTC). It rests on a lemma about how the algorithm's intermediate states depend on one student's report.

To our knowledge neither result has a machine-checked proof. The related platform theorem AGT.ttc_strategyproof concerns the Shapley–Scarf housing market, where every agent owns one house and the mechanism selects the core. It does not cover capacities, priorities or quotas. A formal proof here would check the adaptation that the paper leaves to the reader, and would give a reusable formal model of cycle-clearing allocation algorithms with multiple counters.

Difficulty

The algorithm clears all cycles of a step at once, and a student's report changes the graph at every step she is present. The paper's argument compares two whole runs of the algorithm, under the true report and under a misreport, step by step. That comparison needs precise control of which parts of the state a single student's report can influence, and when. A local argument about one step does not suffice. The student's outcome can depend on cycles that form several steps after the two runs could first have diverged.

With quotas, the pointing graph also depends on the type counters. A school can be present but closed to one type, and a school points to its best remaining student even when it has no room for her type. The comparison must therefore track the type counters as well as the set of remaining schools. Efficiency cannot be read off step by step against unrestricted matchings either: every competing assignment must satisfy both the capacity and the quota constraints.

Formalization scope

Students, schools and types are finite types; no nonemptiness is assumed. Preferences and priorities are bijective rankings onto Fin, so strictness is built in. Rank 000 is the favourite or the highest priority. The no-shortage condition ∣I∣≤∑sqs|I|\le\sum_s q_s∣I∣≤∑s​qs​ appears in every theorem, as the standing assumption of Section I. No relation between qsq_sqs​ and qstq_s^tqst​ is imposed, which generalises the paper.

The algorithm is a concrete, total definition: a state with remaining students, counters, type counters and partial assignments, a step map that clears all cycles simultaneously, and ∣I∣|I|∣I∣ iterations. run … t is the state at the beginning of the paper's Step t+1t+1t+1.

The paper's step is undefined when a remaining student has no remaining school with room for her type. She cannot point, and the promised cycle may not exist. The formalization adopts one convention: at the beginning of each step, such a stuck student is removed unassigned, and her outcome is ∅\varnothing∅, ranked below every school. Counters only decrease, so a stuck student stays stuck. Whenever nobody gets stuck, the algorithm is exactly the paper's, and when every quota is at least the capacity it is plain TTC. The goal and Proposition 6 are stated for assignments that may leave students unassigned. When everyone is assigned, they coincide with the paper's statements over matchings.

The formalization does not add a hypothesis that the run never gets stuck. Such a hypothesis would restrict the algorithm's own behaviour and could make the theorems vacuous. Nor may strategy-proofness be weakened to comparisons at the truthful profile only: the others' reports and the misreport are arbitrary.

Contributions welcome: invariants of the step map (counters bounded by the initial values, assigned students leave for good), the cycle-existence lemma for functional graphs on finite sets, and the comparison lemma. These pieces are shared with the plain-TTC mission of this series.

Selected references

  • Atila Abdulkadiroğlu and Tayfun Sönmez, School Choice: A Mechanism Design Approach, Columbia University Department of Economics Discussion Paper No. 0203-18, 2003. https://doi.org/10.7916/D8057T27
  • Atila Abdulkadiroğlu and Tayfun Sönmez, School Choice: A Mechanism Design Approach, American Economic Review 93(3), 729–747, 2003. https://doi.org/10.1257/000282803322157061
  • Lloyd Shapley and Herbert Scarf, On Cores and Indivisibility, Journal of Mathematical Economics 1(1), 23–37, 1974. https://doi.org/10.1016/0304-4068(74)90033-0
6 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryMechanism Design·Captain: mikedeng1

School Choice: A Mechanism Design Approach 1: The Top Trading Cycles Mechanism Is Strategy-ProofResearch Paper

Motivation

Public school districts in many US cities let families rank schools and then assign seats by a centralized procedure. Each school has a limited number of seats, and state or local law gives some students priority at some schools, for example for a sibling already enrolled or for living within walking distance. Abdulkadiroğlu and Sönmez (Columbia Economics Discussion Paper 0203-18, 2003; published in the American Economic Review 93(3), 2003) framed this as a mechanism design problem and showed that the mechanism then used in Boston rewards families who misreport their preferences. They proposed two replacements with written proofs of their properties. This mission covers the second one, the top trading cycles mechanism, and its two properties: every outcome is Pareto efficient, and no student can gain by misreporting.

The paper drew on earlier results for simpler allocation problems:

  • 1974: Shapley and Scarf introduce housing markets and Gale's top trading cycles algorithm, in which each agent owns one house.
  • 1977: Roth and Postlewaite show the algorithm finds the unique core allocation of a housing market.
  • 1982: Roth proves the core mechanism for housing markets is strategy-proof.
  • 1999: Abdulkadiroğlu and Sönmez adapt the algorithm to house allocation with existing tenants and prove strategy-proofness.
  • 2000: Pápai introduces hierarchical exchange rules, a wider class that includes these mechanisms.
  • 2003: the paper formalized here extends the algorithm to schools with capacities and school-specific priorities (Propositions 3 and 4).

Setting

A school choice problem consists of a finite set III of students, a finite set SSS of schools, a capacity qs∈Nq_s \in \mathbb Nqs​∈N for each school, a strict preference PiP_iPi​ of each student over all schools, and a strict priority ordering ≻s\succ_s≻s​ of each school over all students. The standing assumption is that there is no shortage of seats:

∣I∣≤∑s∈Sqs.|I| \le \sum_{s\in S} q_s .∣I∣≤s∈S∑​qs​.

Preferences are rankings: Pi(s)∈{0,…,∣S∣−1}P_i(s)\in\{0,\dots,|S|-1\}Pi​(s)∈{0,…,∣S∣−1} is the rank of sss for student iii, with rank 000 the favourite. Priorities are rankings of students in the same way, with rank 000 the highest priority. A matching is a map μ:I→S\mu : I\to Sμ:I→S with #{i:μ(i)=s}≤qs\#\{i:\mu(i)=s\}\le q_s#{i:μ(i)=s}≤qs​ for every school sss. A matching μ\muμ is Pareto efficient if no other matching ν\nuν gives every student a weakly better school (Pi(ν(i))≤Pi(μ(i))P_i(\nu(i))\le P_i(\mu(i))Pi​(ν(i))≤Pi​(μ(i))) and some student a strictly better one.

A direct mechanism maps the reported preference profile, together with the fixed priorities and capacities, to a matching. It is strategy-proof if no student can ever obtain a school she strictly prefers by changing her own report while the others keep theirs.

The top trading cycles algorithm keeps a counter csc_scs​ of free seats at each school, starting at qsq_sqs​. A school is remaining while cs>0c_s>0cs​>0. At each step every remaining student points to her favourite remaining school, and every remaining school points to the remaining student with the highest priority for it. A cycle is a list (s1,i1,…,sk,ik)(s_1,i_1,\dots,s_k,i_k)(s1​,i1​,…,sk​,ik​) of distinct schools and students in which s1s_1s1​ points to i1i_1i1​, i1i_1i1​ points to s2s_2s2​, and so on, and iki_kik​ points to s1s_1s1​. Every student on a cycle is assigned the school she points to and is removed. Each school on a cycle loses one seat. All cycles present at a step are cleared at that same step. The top trading cycles mechanism TTC(q,≻,P)\mathrm{TTC}(q,\succ,P)TTC(q,≻,P) returns the resulting assignment.

Formalization targets

Goal: Proposition 4 (strategy-proofness)

For all capacities with no shortage, all priorities, every profile PPP, every student iii and every alternative report QiQ_iQi​, student iii is assigned schools s=TTC(q,≻,P)(i)s = \mathrm{TTC}(q,\succ,P)(i)s=TTC(q,≻,P)(i) and s′=TTC(q,≻,(Qi,P−i))(i)s' = \mathrm{TTC}(q,\succ,(Q_i,P_{-i}))(i)s′=TTC(q,≻,(Qi​,P−i​))(i), and

Pi(s)≤Pi(s′).P_i(s) \le P_i(s') .Pi​(s)≤Pi​(s′).

Milestones

  1. At every step at which some student remains, there is a cycle (Section II.B, p. 15).
  2. After ∣I∣|I|∣I∣ steps no student remains, and the outcome is a matching (Section II.B, p. 16).
  3. Lemma (Appendix, pp. 28–29): if student iii is still remaining at the beginning of a step under two different reports of her own, the remaining students and the remaining schools at that point are the same under both reports.
  4. Proposition 3 (p. 17): the outcome is a Pareto efficient matching with respect to the reported profile.
  5. When all schools share one priority ordering π\piπ, the mechanism equals the serial dictatorship induced by π\piπ (Section II.B, p. 16).

Significance

Strategy-proofness means truthful reporting is a dominant strategy for every student. Families need no information about other families' reports. Under the Boston mechanism, ranking a popular school first can cost a student her priority at her second choice. Proposition 3 separates the top trading cycles mechanism from the Gale–Shapley student-optimal stable mechanism, which is also strategy-proof but can select Pareto dominated matchings.

The results are proved in the paper, in short prose arguments in its Appendix. To the best of our knowledge they have no machine-checked proof. The platform already has the housing-market version, AGT.ttc_strategyproof, but that statement covers one house per agent with the mechanism characterised as the core. Capacities, school priorities and the step-by-step algorithm are absent from it. This mission produces a checked account of the algorithm with capacities and counters, together with its termination and invariance properties.

Difficulty

The paper's argument moves from the step at which student iii leaves under one report to the step at which she leaves under another. It relies on the claim that the cycles formed before either step are unaffected by iii's report. Informally, iii is not on a cycle yet, so what she points to does not matter. Formally, "the same cycles form" requires comparing two runs of a simultaneous-clearing procedure step by step. At each step one has to show that the set of cycles, and hence the counters and the remaining schools, agree, even though iii points to different schools in the two runs. Reasoning about a single cycle at a time does not work, because the algorithm clears all cycles of a step at once. Termination is also not immediate: without the no-shortage condition the algorithm can leave students unassigned. Seats are counted with multiplicity, so a school can stay in the market for several steps.

Formalization scope

Everything lives in the namespace SchoolChoice.TTC. Students and schools are arbitrary finite types with decidable equality; the set of students may be empty. Capacities are q : S → ℕ, and a school of capacity zero is never remaining. A preference is a bijection S ≃ Fin (card S) and a priority is a bijection I ≃ Fin (card I), in both cases with rank 0 the best. Strictness and completeness of both therefore hold by construction, and every school is acceptable. A state of the algorithm consists of the remaining students, the counters and the assignments made so far. run q pri P t is the state after t completed steps, which is the beginning of the paper's Step t + 1. The mechanism ttc q pri P : I → Option S reads off the assignment after card I steps. Every theorem assumes card I ≤ ∑ s, q s.

The algorithm is a concrete, deterministic definition that clears all cycles at every step. The mechanism is not defined as "some Pareto efficient matching" or characterised by properties, since that would make Proposition 3 trivial. The goal asserts that both outcomes exist, so an unassigned outcome cannot satisfy it vacuously. The misreport, the other students' reports and the priorities are all universally quantified.

A complete development needs termination of the algorithm, a combinatorial account of the pointing graph (cycles in a finite functional graph), and the step-by-step invariance argument of the Lemma. The last two are reusable for the type-specific quota variant and for other trading-cycle mechanisms. Contributions of intermediate lemmas are welcome: counter invariants such as "the sum of the counters is at least the number of remaining students", monotonicity of the remaining sets, and the fact that a student on a cycle receives her favourite remaining school.

Selected references

  • Atila Abdulkadiroğlu and Tayfun Sönmez, School Choice: A Mechanism Design Approach, Columbia University Department of Economics Discussion Paper No. 0203-18, 2003. https://doi.org/10.7916/D8057T27
  • Atila Abdulkadiroğlu and Tayfun Sönmez, School Choice: A Mechanism Design Approach, American Economic Review 93(3), 729–747, 2003. https://doi.org/10.1257/000282803322157061
  • Lloyd Shapley and Herbert Scarf, On Cores and Indivisibility, Journal of Mathematical Economics 1(1), 23–37, 1974. https://doi.org/10.1016/0304-4068(74)90033-0
  • Alvin E. Roth and Andrew Postlewaite, Weak versus Strong Domination in a Market with Indivisible Goods, Journal of Mathematical Economics 4(2), 131–137, 1977. https://doi.org/10.1016/0304-4068(77)90004-0
  • Alvin E. Roth, Incentive Compatibility in a Market with Indivisible Goods, Economics Letters 9(2), 127–132, 1982. https://doi.org/10.1016/0165-1765(82)90003-9
  • Atila Abdulkadiroğlu and Tayfun Sönmez, House Allocation with Existing Tenants, Journal of Economic Theory 88(2), 233–260, 1999. https://doi.org/10.1006/jeth.1999.2553
  • Szilvia Pápai, Strategyproof Assignment by Hierarchical Exchange, Econometrica 68(6), 1403–1433, 2000. https://doi.org/10.1111/1468-0262.00166
9 thms2 active usersReviewed
🏆Completed
Discrete GeometryLinear OptimizationOptimization·Captain: mikedeng1

Elementare Theorie der konvexen Polyeder I: A Point on All Extreme Supports of a Finite Cone Is a Nonnegative Combination of at Most n GeneratorsResearch Paper

Motivation

A polyhedral cone can be described in two ways: as the set of nonnegative combinations of finitely many vectors (a finitely generated cone), or as the intersection of finitely many closed half-spaces through the origin. That the two descriptions give the same class of sets is the Minkowski–Weyl theorem. It is the structural basis of linear programming: the simplex method, LP duality, Farkas' lemma, and the vertex/facet description of polytopes used throughout combinatorial optimization all rest on it.

Hermann Weyl's 1935 paper Elementare Theorie der konvexen Polyeder (Comment. Math. Helv. 7, 290–306) gives an elementary, self-contained proof of both directions. Its first result, which Weyl calls the Hauptsatz (main theorem, Satz 1), is the direction "finitely generated ⇒ finite intersection of half-spaces", in a sharp form: the half-spaces needed are exactly the extreme supports of the generating set, i.e. its facets. Its sharpening, Satz 2, bounds the number of generators needed to represent a point by the dimension nnn. This mission formalizes §§1–2 of the paper (pp. 290–295): the Hauptsatz, its sharpening, and the steps of Weyl's inductive proof.

Timeline:

  • 1896, H. Minkowski, Geometrie der Zahlen: polytopes as bounded intersections of half-spaces and as convex hulls of finitely many points.
  • 1911, C. Carathéodory: a point in the convex hull of a set in Rd\mathbb{R}^dRd is a convex combination of at most d+1d+1d+1 of its points (Rend. Circ. Mat. Palermo 32).
  • 1935, H. Weyl: the present paper; Satz 1 and Satz 2 for cones, with the dual statements in §3 and the polytope theorem in §4.

Setting

Points of Rn\mathbb{R}^nRn are nnn-tuples x=(x1,…,xn)x = (x_1, \ldots, x_n)x=(x1​,…,xn​), and ⟨α,x⟩=α1x1+⋯+αnxn\langle \alpha, x \rangle = \alpha_1 x_1 + \cdots + \alpha_n x_n⟨α,x⟩=α1​x1​+⋯+αn​xn​. A vector α≠0\alpha \ne 0α=0 determines the half-space {x:⟨α,x⟩≥0}\{x : \langle\alpha,x\rangle \ge 0\}{x:⟨α,x⟩≥0}; positive multiples of α\alphaα give the same half-space.

A point system SSS is a finite set of points of Rn\mathbb{R}^nRn. It is non-degenerate if its points do not all satisfy one equation ⟨α,x⟩=0\langle\alpha,x\rangle = 0⟨α,x⟩=0 with α≠0\alpha \neq 0α=0, i.e. the only α\alphaα orthogonal to every point of SSS is 000.

A half-space ⟨α,x⟩≥0\langle\alpha,x\rangle\ge 0⟨α,x⟩≥0 (α≠0\alpha\ne 0α=0) is a support of SSS if every point of SSS lies in it. It is an extreme support if, in addition, equality ⟨α,x⟩=0\langle\alpha,x\rangle = 0⟨α,x⟩=0 holds at n−1n-1n−1 linearly independent points xxx of SSS.

A point xxx is representable by SSS if it is a nonnegative combination of the points of SSS:

x=∑s∈Scs s,cs≥0.x = \sum_{s\in S} c_s\, s, \qquad c_s \ge 0 .x=s∈S∑​cs​s,cs​≥0.

The set of points lying in all extreme supports of SSS is Weyl's konvexe Pyramide. In the Lean development these objects are Representable, NonDegenerate, IsSupport and IsExtremeSupport in the namespace WeylPolyhedra.Pyramid, with points of type Fin n → ℝ and ⟨α,x⟩\langle\alpha,x\rangle⟨α,x⟩ written α ⬝ᵥ x.

Formalization targets

Goal: Satz 2 (Verschärfung des Hauptsatzes), p. 295

For a finite non-degenerate S⊂RnS \subset \mathbb{R}^nS⊂Rn and a point xxx with ⟨α,x⟩≥0\langle\alpha,x\rangle\ge 0⟨α,x⟩≥0 for every extreme support α\alphaα of SSS,

∃ T⊆S,∣T∣≤n,x=∑t∈Tct t,  ct≥0.\exists\, T \subseteq S,\quad |T| \le n,\quad x = \sum_{t\in T} c_t\, t,\ \ c_t \ge 0 .∃T⊆S,∣T∣≤n,x=t∈T∑​ct​t,  ct​≥0.

Satz 1 (Hauptsatz), p. 291

Under the same hypotheses, xxx is representable by SSS. Satz 2 contains Satz 1.

Steps of the proof (§1–§2)

  1. A finite non-degenerate SSS has only finitely many extreme supports, up to positive scaling (p. 291).
  2. The reduction step of case a) (p. 292): if SSS has an extreme support β\betaβ and ppp satisfies all extreme supports, there are e∈Se \in Se∈S with ⟨β,e⟩>0\langle\beta,e\rangle>0⟨β,e⟩>0 and λ≥0\lambda\ge 0λ≥0 such that q=p−λeq = p-\lambda eq=p−λe still satisfies all extreme supports and lies on the plane of one of them.
  3. The lifting step (p. 293): with xn≥0x_n \ge 0xn​≥0 an extreme support of SSS and S0S_0S0​ the points on xn=0x_n = 0xn​=0, every extreme support β\betaβ of S0S_0S0​ in Rn−1\mathbb{R}^{n-1}Rn−1 lifts to the extreme support β1x1+⋯+βn−1xn−1−μxn≥0\beta_1x_1+\cdots+\beta_{n-1}x_{n-1} - \mu x_n \ge 0β1​x1​+⋯+βn−1​xn−1​−μxn​≥0 of SSS (inequality (6)).
  4. Case b) (p. 291, proved pp. 293–294): if SSS has no extreme support, every point of Rn\mathbb{R}^nRn is representable by SSS.

Significance

Satz 1 together with its trivial converse identifies the cone generated by SSS with the intersection of its extreme-support half-spaces. This is one half of the Minkowski–Weyl theorem for cones, and it names the half-spaces: they are the facets of the cone. Satz 2 adds the conic form of Carathéodory's theorem: every point of a cone generated by a finite spanning set in Rn\mathbb{R}^nRn is a nonnegative combination of at most nnn generators. In linear programming this is the statement that a feasible system has a basic feasible solution. The second mission in this series, on §§3–4 of the paper, uses Satz 1 to prove that a bounded region cut out by finitely many inequalities is the convex hull of finitely many points, and conversely.

On formalization status: Mathlib defines finitely generated and dually finitely generated pointed cones (PointedCone, PointedCone.DualFG) and proves Carathéodory's theorem for convex hulls (convexHull_eq_union), but, at the pinned revision, it does not prove the Minkowski–Weyl theorem or the facet description of a finitely generated cone. The results are classical and proved in the paper; this mission produces machine-checked proofs of them, in Weyl's formulation with extreme supports, together with the intermediate steps of his induction.

Difficulty

The hypothesis only controls xxx against the extreme supports, not against every support. Showing that xxx lies in the cone generated by SSS whenever ⟨α,x⟩≥0\langle\alpha,x\rangle\ge 0⟨α,x⟩≥0 holds for every support is the conic Farkas lemma, which follows from a separating hyperplane argument. Here that argument is not enough: a separating hyperplane is a support, but in general not an extreme one, and the statement is about the finitely many extreme ones. The proof has to produce, for a point outside the cone, a violated extreme support, which requires control over the facet structure of the cone.

The dimension count of Satz 2 is a second difficulty. An induction on the dimension naturally gives nnn generators in one case and n+1n+1n+1 in another (a point of a half-space needs one generator on each side), and Weyl notes that he could not avoid a detour to recover the bound nnn. The case where SSS has no extreme support at all must also be handled separately; it is not vacuous, since SSS can then generate all of Rn\mathbb{R}^nRn.

Formalization scope

Conventions committed to in Lean:

  • Rn\mathbb{R}^nRn is Fin n → ℝ; points and normals share this type (the dual space is identified with Rn\mathbb{R}^nRn, as in the paper). The pairing is dotProduct, written α ⬝ᵥ x.
  • A point system is a Finset (Fin n → ℝ). The zero vector is not excluded.
  • A support normal satisfies α ≠ 0. Extreme supports require a subset T ⊆ S with T.card = n - 1 whose elements are linearly independent in the vector space Rn\mathbb{R}^nRn.
  • "All extreme support equations are satisfied" in Satz 1 is read as the inequalities ⟨α,x⟩≥0\langle\alpha,x\rangle\ge0⟨α,x⟩≥0 for every extreme normal α\alphaα, as the proof and Satz 2 make explicit. The hypothesis quantifies over all extreme normals, so no representatives are chosen.
  • "Positive-linear" combinations have nonnegative coefficients (display (3)). In Satz 2 the subset TTT is not required to be linearly independent.
  • Finiteness of extreme supports is stated up to positive scaling.
  • The lifting step is stated in the coordinates Weyl fixes on p. 293: Rn\mathbb{R}^nRn is Fin (m+1) → ℝ, the extreme support is xn≥0x_n \ge 0xn​≥0 (Fin.last m), S0S_0S0​ is projected by Fin.init, and μ\muμ is given together with hypotheses that it is the attained minimum. The hypothesis n≥2n \ge 2n≥2 is made explicit.

Replacing extreme supports by all supports in the hypothesis of Satz 1 or Satz 2 would turn the goal into a much weaker theorem (the conic Farkas lemma plus Carathéodory) and is not an admissible formalization. Dropping non-degeneracy makes Satz 1 false: for S={e1}⊂R2S = \{e_1\} \subset \mathbb{R}^2S={e1​}⊂R2 the extreme supports are ±x2≥0\pm x_2 \ge 0±x2​≥0, and x=(−1,0)x = (-1, 0)x=(−1,0) satisfies both without being a nonnegative multiple of e1e_1e1​.

A complete development needs basic linear algebra over Fin n → ℝ (hyperplanes through n−1n-1n−1 independent points, projection to a coordinate hyperplane) and finite minimisation. The facet description of finitely generated cones, conic Carathéodory and the finiteness of facets are reusable beyond this mission, including for the second mission of the series. Contributions of lemmas on PointedCone that connect Representable with PointedCone.span are welcome.

Selected references

  • H. Weyl, Elementare Theorie der konvexen Polyeder, Commentarii Mathematici Helvetici 7 (1935), 290–306. https://doi.org/10.1007/BF01292722
  • C. Carathéodory, Über den Variabilitätsbereich der Fourier'schen Konstanten von positiven harmonischen Funktionen, Rendiconti del Circolo Matematico di Palermo 32 (1911), 193–217. https://doi.org/10.1007/BF03014795
  • A. Schrijver, Theory of Linear and Integer Programming, Wiley, 1986, §7.2 (the Farkas–Minkowski–Weyl theorem). ISBN 978-0-471-98232-6
  • G. M. Ziegler, Lectures on Polytopes, Springer GTM 152, 1995, Lecture 1. https://doi.org/10.1007/978-1-4613-8431-1
9 thms2 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryOptimization+1·Captain: mikedeng1

An Analysis of Several Heuristics for the Traveling Salesman Problem II: Every Insertion Method Is Within ⌈lg n⌉ + 1 of the Optimal TourResearch Paper

Motivation

The traveling salesman problem asks for a shortest closed route visiting every node of a weighted complete graph exactly once. It is NP-hard, so practitioners use fast heuristics, and the basic question about a heuristic is how far from optimal its tour can be. Rosenkrantz, Stearns and Lewis (SIAM J. Comput. 6(3), 1977) gave the first systematic worst-case analysis of the simple constructive heuristics under the triangle inequality: nearest neighbor, the family of insertion methods, and several variants.

Insertion methods build a tour by growing it one node at a time. They are among the most widely used construction heuristics in practice and in textbooks, and they differ only in the rule that chooses which node to insert next: the nearest one, the cheapest one, the farthest one, a random one, or any other. This mission formalizes the paper's result that holds for the whole family at once, regardless of that rule: every insertion method produces a tour at most ⌈lg⁡n⌉+1\lceil \lg n\rceil + 1⌈lgn⌉+1 times longer than an optimal one (Theorem 3, p. 571).

Timeline. 1977: Rosenkrantz, Stearns and Lewis prove ⌈lg⁡n⌉+1\lceil\lg n\rceil+1⌈lgn⌉+1 for every insertion method (Theorem 3), 12(⌈lg⁡n⌉+1)\tfrac12(\lceil\lg n\rceil+1)21​(⌈lgn⌉+1) for nearest neighbor (Theorem 1), both from a shared counting lemma (Lemma 1), and the constant 222 for nearest and cheapest insertion (Theorem 4). 1994: Bafna, Kalyanasundaram and Pruhs (Theoretical Computer Science 125, 1994) give instances on which some insertion methods reach ratio Ω(log⁡n/log⁡log⁡n)\Omega(\log n/\log\log n)Ω(logn/loglogn), so the logarithmic growth cannot be replaced by a constant for the family as a whole.

Setting

A traveling salesman graph with nnn nodes consists of a finite node set NNN with ∣N∣=n|N|=n∣N∣=n and a distance d:N×N→Rd:N\times N\to\mathbb Rd:N×N→R with d(i,j)=d(j,i)d(i,j)=d(j,i)d(i,j)=d(j,i), d(i,j)≥0d(i,j)\ge 0d(i,j)≥0 and d(i,j)+d(j,k)≥d(i,k)d(i,j)+d(j,k)\ge d(i,k)d(i,j)+d(j,k)≥d(i,k) for all nodes (the triangle inequality). A tour visits every node once and returns to its start; its length is the sum of its edge lengths, and OPTIMAL is the least length of a tour.

A subtour is a tour on a subset of the nodes; a single node is a tour without edges. Given a subtour TTT and a node k∉Tk\notin Tk∈/T, TOUR(T,k)(T,k)(T,k) is obtained by choosing an edge (x,y)(x,y)(x,y) of TTT minimizing

d(x,k)+d(k,y)−d(x,y)d(x,k)+d(k,y)-d(x,y)d(x,k)+d(k,y)−d(x,y)

and replacing it by the edges (x,k)(x,k)(x,k) and (k,y)(k,y)(k,y); if TTT is a single node iii, TOUR(T,k)(T,k)(T,k) is the two-node tour (i,k),(k,i)(i,k),(k,i)(i,k),(k,i). COST(T,k)(T,k)(T,k) is the length of TOUR(T,k)(T,k)(T,k) minus the length of TTT.

An insertion method constructs subtours T1,…,TnT_1,\dots,T_nT1​,…,Tn​ with T1={a0}T_1=\{a_0\}T1​={a0​} a single node and Ti+1=TOUR(Ti,ai)T_{i+1}=\mathrm{TOUR}(T_i,a_i)Ti+1​=TOUR(Ti​,ai​) for some node ai∉Tia_i\notin T_iai​∈/Ti​, 1≤i<n1\le i<n1≤i<n. The final tour TnT_nTn​ is the approximation, and INSERT denotes its length. No rule for choosing the aia_iai​ is fixed, and ties between minimizing edges are broken arbitrarily.

Write lg⁡\lglg for the logarithm to base 2 and ⌈x⌉\lceil x\rceil⌈x⌉ for the least integer ≥x\ge x≥x.

Formalization targets

Goal: Theorem 3

For every traveling salesman graph with n≥1n\ge 1n≥1 nodes and every run of every insertion method,

INSERT ≤ (⌈lg⁡n⌉+1)⋅OPTIMAL.\mathrm{INSERT}\ \le\ \bigl(\lceil\lg n\rceil+1\bigr)\cdot\mathrm{OPTIMAL}.INSERT ≤ (⌈lgn⌉+1)⋅OPTIMAL.

Milestones

  1. (2.2), shortcutting: visiting a subset of the nodes in the order of a tour gives a tour of the subset that is no longer.
  2. (2.1): if the numbers l1≥⋯≥lnl_1\ge\dots\ge l_nl1​≥⋯≥ln​ satisfy d(p,q)≥min⁡(lp,lq)d(p,q)\ge\min(l_p,l_q)d(p,q)≥min(lp​,lq​) for distinct p,qp,qp,q, then OPTIMAL≥2∑i=k+1min⁡(2k,n)li\mathrm{OPTIMAL}\ge 2\sum_{i=k+1}^{\min(2k,n)} l_iOPTIMAL≥2∑i=k+1min(2k,n)​li​ for 1≤k≤n1\le k\le n1≤k≤n.
  3. Lemma 1: if d(p,q)≥min⁡(lp,lq)d(p,q)\ge\min(l_p,l_q)d(p,q)≥min(lp​,lq​) for distinct nodes and lp≤12OPTIMALl_p\le\frac12\mathrm{OPTIMAL}lp​≤21​OPTIMAL for all ppp, then
∑plp≤12(⌈lg⁡n⌉+1)OPTIMAL.\sum_p l_p\le\tfrac12\bigl(\lceil\lg n\rceil+1\bigr)\mathrm{OPTIMAL}.p∑​lp​≤21​(⌈lgn⌉+1)OPTIMAL.
  1. Lemma 2: COST(T,k)≤2 d(k,j)\mathrm{COST}(T,k)\le 2\,d(k,j)COST(T,k)≤2d(k,j) for every node jjj of TTT.
  2. (3.7): INSERT=∑i=1n−1COST(Ti,ai)\mathrm{INSERT}=\sum_{i=1}^{n-1}\mathrm{COST}(T_i,a_i)INSERT=∑i=1n−1​COST(Ti​,ai​).
  3. (3.10): COST(Ti,ai)≤2 d(ai,aj)\mathrm{COST}(T_i,a_i)\le 2\,d(a_i,a_j)COST(Ti​,ai​)≤2d(ai​,aj​) whenever j<ij<ij<i.
  4. (3.12): COST(Ti,ai)≤OPTIMAL\mathrm{COST}(T_i,a_i)\le\mathrm{OPTIMAL}COST(Ti​,ai​)≤OPTIMAL for 1≤i<n1\le i<n1≤i<n.

Significance

The result. Theorem 3 is a guarantee for an entire class of algorithms rather than for one. Any rule for choosing the next node, including rules designed for speed or for empirical quality, inherits a worst-case ratio of ⌈lg⁡n⌉+1\lceil\lg n\rceil+1⌈lgn⌉+1 from the insertion step alone. The rule matters only for improving on that: nearest and cheapest insertion achieve the constant 2(1−1/n)2(1-1/n)2(1−1/n) (Theorem 4 and its corollary, the subject of the third mission of this series), while the logarithmic bound remains the best general statement for other rules, such as farthest or arbitrary insertion. Lemma 1 is reusable on its own: it converts "every node carries a charge bounded by half the optimum and by its distance to other nodes" into a logarithmic bound, and the same lemma yields the nearest neighbor bound of Theorem 1.

Formalizing it. The theorem has been proved since 1977; the work here is a machine-checked proof of the known argument together with a reusable library for subtours, insertion and insertion costs. The companion nearest neighbor bound (Theorem 1) is already on the platform as SupplyChainTheory.nearest_neighbor_bound (proved), and nearest insertion with constant 2 as SupplyChainTheory.nearest_insertion_bound; neither covers arbitrary insertion methods or states Lemma 1 separately.

Difficulty

The per-step facts are local: each insertion is cheap relative to a node already present (Lemma 2) and relative to OPTIMAL (3.12). The obvious way to combine them, adding up n−1n-1n−1 costs each at most OPTIMAL, gives only the ratio n−1n-1n−1. The logarithm comes from a global counting argument over all nodes simultaneously (Lemma 1), in which OPTIMAL is compared with tours on nested subsets of nodes of doubling size, and the per-node charges must be matched against the edges of those tours. Formally, the delicate parts are the bookkeeping of subtours as they grow (that every earlier node lies on the current subtour, and that the insertion cost equals the length increase), the shortcutting of a tour to an arbitrary subset, and the ceiling-of-logarithm arithmetic.

Formalization scope

Nodes are Fin n; a tour of all nodes is a permutation τ : Equiv.Perm (Fin n), and OPTIMAL is the minimum of the tour length over the finite, nonempty set of permutations. Subtours are duplicate-free lists of nodes, with closed length d(x0,x1)+⋯+d(xm−1,x0)d(x_0,x_1)+\dots+d(x_{m-1},x_0)d(x0​,x1​)+⋯+d(xm−1​,x0​). TOUR(T,k)(T,k)(T,k) is encoded as inserting kkk at a list position whose resulting length is minimal among all positions; inserting at a position removes exactly one edge of TTT and raises the length by exactly d(x,k)+d(k,y)−d(x,y)d(x,k)+d(k,y)-d(x,y)d(x,k)+d(k,y)−d(x,y), so this is the paper's rule, with every tie-breaking allowed. COST is the minimum length increase over positions. The paper's 1-based subtour index is kept (T1=[a0]T_1=[a_0]T1​=[a0​], TnT_nTn​ final). ⌈lg⁡n⌉\lceil\lg n\rceil⌈lgn⌉ is Nat.clog 2 n. All quantities are real.

Conventions and deviations, each disclosed in the item statements:

  • The distance satisfies d(i,i)=0d(i,i)=0d(i,i)=0, a normalization not in the paper; a loop never enters any length.
  • Ratios are multiplied out (INSERT≤c⋅OPTIMAL\mathrm{INSERT}\le c\cdot\mathrm{OPTIMAL}INSERT≤c⋅OPTIMAL), so the paper's exclusion of the identically zero distance (1.1) is not needed.
  • Condition a) of Lemma 1 is required for distinct nodes only. The page says "for all nodes ppp and qqq", which for p=qp=qp=q would force every lp≤0l_p\le 0lp​≤0 and make the lemma inapplicable in the proof of Theorem 3; the proof uses the condition only on edges of a tour.
  • (2.2) is stated for every subset of the nodes and every tour, which is what the shortcut argument shows; the paper applies it to one specific subset and an optimal tour.
  • (2.1) uses 0-based node labels, so its range k+1,…,min⁡(2k,n)k+1,\dots,\min(2k,n)k+1,…,min(2k,n) becomes k,…,min⁡(2k,n)−1k,\dots,\min(2k,n)-1k,…,min(2k,n)−1.

The goal quantifies over every run: any choice of the inserted nodes aia_iai​ and any minimizing insertion position. Adding a selection rule (nearest, cheapest) or fixing a tie-breaking would state a weaker, different theorem; restricting to instances with OPTIMAL =0=0=0 or to a fixed small nnn would trivialize it.

Reusable beyond this mission: the subtour and insertion library (closed length of a list, TOUR, COST, insertion runs) and Lemma 1, which also yields Theorem 1. Contributions welcome: proofs of the milestones, general lemmas about the closed length of List.insertIdx and of filtered lists, and a proof of Theorem 1 from this mission's Lemma 1.

Selected references

  • D. J. Rosenkrantz, R. E. Stearns, P. M. Lewis II, An Analysis of Several Heuristics for the Traveling Salesman Problem, SIAM Journal on Computing 6(3):563–581, 1977. https://doi.org/10.1137/0206041
  • V. Bafna, B. Kalyanasundaram, K. Pruhs, Not all insertion methods yield constant approximate tours in the Euclidean plane, Theoretical Computer Science 125(2):345–353, 1994.
10 thms2 active usersReviewed
🏆Completed
OptimizationProbability·Captain: mikedeng1

Robust Mean-Covariance Solutions for Stochastic Optimization I: The General Projection Property of Mean-Covariance Distribution ClassesResearch Paper

Motivation

In robust stochastic optimization a decision maker chooses a decision xxx whose outcome depends on a random vector R\mathbf RR, but knows only the first two moments of R\mathbf RR: its mean vector μ\muμ and its covariance matrix Σ\SigmaΣ. The decision is evaluated by its worst-case expected utility over every distribution consistent with those moments. This model is standard in portfolio selection, where estimated means and covariances are the usual inputs, and in pricing and inventory problems with mean-variance information. It goes back to Scarf's min-max newsvendor (1958) and the Chebyshev-type moment bounds of Bertsimas and Popescu (2005).

For a linear outcome x′Rx'\mathbf Rx′R, such as the return of a portfolio with weights xxx, the robust objective is

U(x)=min⁡R∼(μ,Σ)E[u(x′R)],U(x) = \min_{\mathbf R \sim (\mu,\Sigma)} E[u(x'\mathbf R)],U(x)=R∼(μ,Σ)min​E[u(x′R)],

an optimization over an infinite-dimensional set of nnn-variate distributions. Popescu (2007) showed that this problem depends on μ\muμ and Σ\SigmaΣ only through the scalar mean μx=x′μ\mu_x = x'\muμx​=x′μ and variance σx2=x′Σx\sigma_x^2 = x'\Sigma xσx2​=x′Σx. The multivariate robust problem then reduces to a univariate moment problem, and for many utilities to a parametric quadratic program. The reduction rests on one structural fact, the general projection property, which this mission formalizes.

Setting

Fix a dimension nnn. A law on Rn\mathbb R^nRn is a Borel probability measure on Rn\mathbb R^nRn. For a vector μ∈Rn\mu \in \mathbb R^nμ∈Rn and a real n×nn\times nn×n matrix Σ\SigmaΣ, the mean-covariance class M(μ,Σ)n\mathbb M^n_{(\mu,\Sigma)}M(μ,Σ)n​ is the set of laws PPP under which every coordinate RiR_iRi​ has a finite second moment and

∫Ri dP(R)=μi,∫(Ri−μi)(Rj−μj) dP(R)=Σij(1≤i,j≤n).\int R_i\,dP(R) = \mu_i, \qquad \int (R_i-\mu_i)(R_j-\mu_j)\,dP(R) = \Sigma_{ij} \qquad (1\le i,j\le n).∫Ri​dP(R)=μi​,∫(Ri​−μi​)(Rj​−μj​)dP(R)=Σij​(1≤i,j≤n).

Writing R∼(μ,Σ)\mathbf R \sim (\mu,\Sigma)R∼(μ,Σ) means that the law of R\mathbf RR lies in M(μ,Σ)n\mathbb M^n_{(\mu,\Sigma)}M(μ,Σ)n​. For n=1n=1n=1 the superscript is dropped: for real mmm and vvv, M(m,v)\mathbb M_{(m,v)}M(m,v)​ is the set of laws on R\mathbb RR with finite second moment, mean mmm and variance vvv.

For a vector x∈Rnx \in \mathbb R^nx∈Rn, the xxx-projection sends the law PPP of R\mathbf RR to the law of the scalar r=x′R\mathbf r = x'\mathbf Rr=x′R, that is, to the pushforward of PPP under R↦x′RR \mapsto x'RR↦x′R. Write μx=x′μ\mu_x = x'\muμx​=x′μ and σx2=x′Σx\sigma_x^2 = x'\Sigma xσx2​=x′Σx. The matrix Σ\SigmaΣ is positive semidefinite, Σ⪰0\Sigma \succeq 0Σ⪰0, when x′Σx≥0x'\Sigma x \ge 0x′Σx≥0 for all xxx (and Σ\SigmaΣ is symmetric); Σ1/2\Sigma^{1/2}Σ1/2 denotes its positive semidefinite square root.

Formalization targets

Goal: Theorem 1 (General Projection Property)

For every μ∈Rn\mu \in \mathbb R^nμ∈Rn, every Σ⪰0\Sigma \succeq 0Σ⪰0 and every nonzero x∈Rnx \in \mathbb R^nx∈Rn, the xxx-projection maps M(μ,Σ)n\mathbb M^n_{(\mu,\Sigma)}M(μ,Σ)n​ into and onto M(μx,σx2)\mathbb M_{(\mu_x,\sigma_x^2)}M(μx​,σx2​)​:

{ law of x′R  :  R∼(μ,Σ)}  =  M(x′μ,  x′Σx).\bigl\{\, \text{law of } x'\mathbf R \;:\; \mathbf R \sim (\mu,\Sigma) \bigr\} \;=\; \mathbb M_{(x'\mu,\; x'\Sigma x)}.{law of x′R:R∼(μ,Σ)}=M(x′μ,x′Σx)​.

The "into" half says every projected law has the right mean and variance. The "onto" half says that every univariate law with mean μx\mu_xμx​ and variance σx2\sigma_x^2σx2​, however heavy-tailed or irregular, is the law of x′Rx'\mathbf Rx′R for some R∼(μ,Σ)\mathbf R \sim (\mu,\Sigma)R∼(μ,Σ). The degenerate case x′Σx=0x'\Sigma x = 0x′Σx=0 is included.

Milestones

  1. The into half (§2.1, justification of (4)): x′Rx'\mathbf Rx′R has mean x′μx'\mux′μ and variance x′Σxx'\Sigma xx′Σx.
  2. The degenerate case: if x′Σx=0x'\Sigma x = 0x′Σx=0 then x′R=x′μx'\mathbf R = x'\mux′R=x′μ almost surely.
  3. Standardization: if r∼(m,v)\mathbf r \sim (m, v)r∼(m,v) with v>0v > 0v>0, then v−1/2(r−m)∼(0,1)v^{-1/2}(\mathbf r - m) \sim (0,1)v−1/2(r−m)∼(0,1).
  4. Normalization: for x′Σx>0x'\Sigma x > 0x′Σx>0, the vector y=(x′Σx)−1/2Σ1/2xy = (x'\Sigma x)^{-1/2}\Sigma^{1/2}xy=(x′Σx)−1/2Σ1/2x satisfies y′y=1y'y = 1y′y=1.
  5. Isotropic lift: if y′y=1y'y = 1y′y=1 and z∼(0,1)\mathbf z \sim (0,1)z∼(0,1), there is Z∼(0,In)\mathbf Z \sim (0, I_n)Z∼(0,In​) with y′Zy'\mathbf Zy′Z distributed as z\mathbf zz.
  6. Affine image: if Z∼(0,In)\mathbf Z \sim (0,I_n)Z∼(0,In​) then μ+Σ1/2Z∼(μ,Σ)\mu + \Sigma^{1/2}\mathbf Z \sim (\mu,\Sigma)μ+Σ1/2Z∼(μ,Σ), and x′(μ+Σ1/2Z)=x′μ+(x′Σx)1/2 y′Zx'(\mu + \Sigma^{1/2}Z) = x'\mu + (x'\Sigma x)^{1/2}\,y'Zx′(μ+Σ1/2Z)=x′μ+(x′Σx)1/2y′Z for every ZZZ.

Significance

The result. Theorem 1 immediately yields Proposition 1 of the paper: for every objective uuu,

min⁡R∼(μ,Σ)E[u(x′R)]=min⁡r∼(μx,σx2)E[u(r)],\min_{\mathbf R\sim(\mu,\Sigma)} E[u(x'\mathbf R)] = \min_{\mathbf r\sim(\mu_x,\sigma_x^2)} E[u(\mathbf r)],R∼(μ,Σ)min​E[u(x′R)]=r∼(μx​,σx2​)min​E[u(r)],

with minima in the wide sense of infima. The robust objective is therefore a function of (μx,σx)(\mu_x, \sigma_x)(μx​,σx​) alone, which makes every robust mean-covariance problem with a linear outcome a bicriteria mean-variance problem. The paper's later results use this: the two-point and one-point support properties, the parametric quadratic programming solution, and the portfolio applications (bonus schemes, value at risk). The projection property holds with no assumption on uuu, so it serves non-concave, discontinuous and quantile-based objectives alike.

Formalizing it. The theorem is proved in the paper; no machine-checked version is known. The mission produces a formal definition of mean-covariance classes that treats integrability honestly, a proof of the projection property, and through it a formally verified reduction of multivariate moment-robust problems to univariate ones. The paper's own construction of the lifted vector has a gap (see Difficulty), so a formal proof also records a corrected argument.

Difficulty

The into half is a computation with linearity of expectation. The difficulty is entirely in the onto half. Given an arbitrary univariate law with prescribed mean and variance, one must build an nnn-variate law with a prescribed full covariance matrix whose one-dimensional marginal in direction xxx is exactly the given law. This is a coupling problem: the obvious approach, taking independent coordinates, fixes the marginal in direction xxx as a convolution and cannot reproduce an arbitrary target. Taking R\mathbf RR supported on the line through μ\muμ in a single direction reproduces the target law but has a rank-one covariance and fails whenever Σ\SigmaΣ has rank above one.

The paper's appendix constructs the lift through conditional distributions of the remaining coordinates given the projected one. As printed, the conditional second-moment requirement it imposes cannot hold for unbounded targets, so that argument does not go through verbatim. The milestone for the lift states only the claim, not the printed construction.

The integrability bookkeeping is real work: every intermediate law must be shown to have finite second moments before its moments can be computed.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n) with its Borel σ-algebra; x′Rx'Rx′R is the inner product ⟨x,R⟩\langle x, R\rangle⟨x,R⟩; x′Σxx'\Sigma xx′Σx is x.ofLp ⬝ᵥ S *ᵥ x.ofLp, where the matrix Σ\SigmaΣ is named S (the symbol Σ is reserved in Lean).
  • Laws are probability measures. Both classes require finite second moments (MemLp … 2), so that means and covariances are genuine integrals, not the default value 000 that Lean assigns to non-integrable functions. The univariate class is parametrized by the variance v=σ2v = \sigma^2v=σ2, not by σ\sigmaσ.
  • The projection is the pushforward P.map (fun R => ⟪x, R⟫) under a continuous map. "Pathwise" identities in the paper become equalities of pushforward laws, or pointwise algebraic identities.
  • Σ1/2\Sigma^{1/2}Σ1/2 is CFC.sqrt S, acting through Matrix.toEuclideanCLM, as in Mathlib's multivariateGaussian.
  • The goal is stated as Set.MapsTo ∧ Set.SurjOn with both classes explicit. Its only hypotheses are Σ⪰0\Sigma \succeq 0Σ⪰0 and x≠0x \ne 0x=0, as in the paper. No bound on nnn, no invertibility of Σ\SigmaΣ and no positivity of x′Σxx'\Sigma xx′Σx is assumed. Restricting the target to Gaussian, bounded or finitely supported laws, or dropping the finite-second-moment clause (which would admit Cauchy laws as "mean 0, variance 0"), would trivialize or change the theorem and is ruled out.
  • Milestones 3, 4 and 6 assume x′Σx>0x'\Sigma x > 0x′Σx>0 (or v>0v > 0v>0), the case the proof treats after its first sentence; milestone 2 covers the complementary case.

Needed infrastructure: moments of pushforwards under linear and affine maps, a covariance calculus for coordinates of random vectors, and a coupling that realizes the isotropic lift. Mathlib's multivariateGaussian, stdGaussian and CFC.sqrt are available. A reusable lemma "the covariance of AZ+bA\mathbf Z + bAZ+b is A Cov(Z)A′A\,\mathrm{Cov}(\mathbf Z)A'ACov(Z)A′" would serve beyond this mission. Related platform work on moment-based ambiguity sets: Wasserstein Distributionally Robust Optimization II. Contributions of any milestone, and alternative proofs of the lift, are welcome.

Selected references

  • I. Popescu, Robust Mean-Covariance Solutions for Stochastic Optimization, Operations Research 55(1):98–112, 2007. https://doi.org/10.1287/opre.1060.0353
  • D. Bertsimas, I. Popescu, Optimal Inequalities in Probability Theory: A Convex Optimization Approach, SIAM Journal on Optimization 15(3):780–804, 2005. https://doi.org/10.1137/S1052623401399903
  • H. Scarf, A Min-Max Solution of an Inventory Problem, in Studies in the Mathematical Theory of Inventory and Production, Stanford University Press, 1958.
  • W. W. Rogosinski, Moments of Non-Negative Mass, Proceedings of the Royal Society A 245:1–27, 1958. https://doi.org/10.1098/rspa.1958.0062
10 thms2 active usersReviewed
🏆Completed
Convex OptimizationLinear OptimizationOptimization·Captain: mikedeng1

Path-Finding Methods for Linear Programming I: Centering with Weights on the Weighted Central PathResearch Paper

Motivation

Interior point methods solve a linear program by following a central path: a curve of minimizers of a penalized objective that trades off cost against distance from the boundary of the feasible region. The classical analysis of path following with the logarithmic barrier needs O(m L)O(\sqrt{m}\,L)O(m​L) iterations for a program with mmm constraints, where LLL is the bit complexity of the input (Renegar 1988). For programs with many more constraints than variables, mmm can be far larger than the dimension nnn or the rank of the constraint matrix, and the m\sqrt mm​ factor is then the bottleneck.

Lee and Sidford (FOCS 2014) reduce the iteration count to O~(rank(A) L)\tilde O(\sqrt{\mathrm{rank}(A)}\,L)O~(rank(A)​L) by following a weighted central path in which each constraint carries its own positive weight, and the weights are re-computed as the algorithm moves. Their improved maximum-flow algorithm is an application of the same method.

Timeline. Karmarkar (1984) gave the first polynomial-time interior point method for linear programming. Renegar (1988) showed that path following with the logarithmic barrier needs O(mL)O(\sqrt m L)O(m​L) iterations. Nesterov and Nemirovskii (1994) showed that a universal self-concordant barrier yields O(nL)O(\sqrt n L)O(n​L) iterations, but that barrier is not known to be efficiently computable. Lee and Sidford (2014) achieved O~(rank(A)L)\tilde O(\sqrt{\mathrm{rank}(A)}L)O~(rank(A)​L) iterations, each reducible to O~(1)\tilde O(1)O~(1) linear-system solves.

This mission covers the first half of that framework (§IV of the paper): the weighted central path, the weighted Newton step, and the centering theorem that shows a single step followed by re-weighting makes constant-factor progress.

Setting

Let A∈Rm×nA\in\mathbb R^{m\times n}A∈Rm×n, b∈Rmb\in\mathbb R^mb∈Rm, c∈Rnc\in\mathbb R^nc∈Rn, and consider the linear program

min⁡x∈Rn: Ax≥bcTx.\min_{x\in\mathbb R^n:\ Ax\ge b} c^Tx .x∈Rn: Ax≥bmin​cTx.

The slack of a point xxx is s(x)=Ax−bs(x)=Ax-bs(x)=Ax−b, and the interior is S0={x:Ax>b}S^0=\{x : Ax>b\}S0={x:Ax>b}, the points with all slacks strictly positive. For a path parameter ttt and a vector of positive weights w∈R>0mw\in\mathbb R^m_{>0}w∈R>0m​, the weighted penalized objective is

ft(x,w)=t cTx−∑i=1mwilog⁡s(x)i.f_t(x,w)=t\,c^Tx-\sum_{i=1}^m w_i\log s(x)_i .ft​(x,w)=tcTx−i=1∑m​wi​logs(x)i​.

A pair (x,w)(x,w)(x,w) is feasible if x∈S0x\in S^0x∈S0 and w>0w>0w>0.

Write Sx=diag(s(x))S_x=\mathrm{diag}(s(x))Sx​=diag(s(x)), W=diag(w)W=\mathrm{diag}(w)W=diag(w) and ∥v∥M=vTMv\|v\|_M=\sqrt{v^TMv}∥v∥M​=vTMv​. The Newton step and the centrality are

h⃗t(x,w)=(ATSx−1WSx−1A)−1(tc−ATSx−1w),δt(x,w)=∥h⃗t(x,w)∥ATSx−1WSx−1A.\vec h_t(x,w)=\big(A^TS_x^{-1}WS_x^{-1}A\big)^{-1}\big(tc-A^TS_x^{-1}w\big),\qquad \delta_t(x,w)=\big\|\vec h_t(x,w)\big\|_{A^TS_x^{-1}WS_x^{-1}A}.ht​(x,w)=(ATSx−1​WSx−1​A)−1(tc−ATSx−1​w),δt​(x,w)=​ht​(x,w)​ATSx−1​WSx−1​A​.

The matrix ATSx−1WSx−1AA^TS_x^{-1}WS_x^{-1}AATSx−1​WSx−1​A is the Hessian of ftf_tft​ in xxx, and tc−ATSx−1wtc-A^TS_x^{-1}wtc−ATSx−1​w is its gradient; δt(x,w)=0\delta_t(x,w)=0δt​(x,w)=0 exactly when xxx minimizes ft(⋅,w)f_t(\cdot,w)ft​(⋅,w).

For slacks sss and weights www the projection matrix is PS−1A(w)=W1/2S−1A(ATS−1WS−1A)−1ATS−1W1/2P_{S^{-1}A}(w)=W^{1/2}S^{-1}A(A^TS^{-1}WS^{-1}A)^{-1}A^TS^{-1}W^{1/2}PS−1A​(w)=W1/2S−1A(ATS−1WS−1A)−1ATS−1W1/2 and the slack sensitivity is

γ(s,w)=max⁡i∈[m]∥W−1/21⃗i∥PS−1A(w).\gamma(s,w)=\max_{i\in[m]}\big\|W^{-1/2}\vec 1_i\big\|_{P_{S^{-1}A}(w)} .γ(s,w)=i∈[m]max​​W−1/21i​​PS−1A​(w)​.

A weight function (Definition 4) is a differentiable map g⃗:R>0m→R>0m\vec g:\mathbb R^m_{>0}\to\mathbb R^m_{>0}g​:R>0m​→R>0m​ from slacks to weights with constants c1c_1c1​ (size, a bound on ∥g⃗(s)∥1\|\vec g(s)\|_1∥g​(s)∥1​), cγ≥1c_\gamma\ge1cγ​≥1 (slack sensitivity, γ(s,g⃗(s))≤cγ\gamma(s,\vec g(s))\le c_\gammaγ(s,g​(s))≤cγ​), cr≥1c_r\ge1cr​≥1 (step consistency, two inequalities on the Jacobian G′(s)G'(s)G′(s) of g⃗\vec gg​ that hold for every r≥crr\ge c_rr≥cr​), and uniformity ∥g⃗(s)∥∞≤2\|\vec g(s)\|_\infty\le2∥g​(s)∥∞​≤2.

Formalization targets

Goal: Theorem 5 (Centering with Weights), §IV.C

Let g⃗\vec gg​ be a weight function for AAA with constants c1,cγ,crc_1,c_\gamma,c_rc1​,cγ​,cr​, let x(old)∈S0x^{(old)}\in S^0x(old)∈S0, s(old)=s(x(old))s^{(old)}=s(x^{(old)})s(old)=s(x(old)), and

x(new)=x(old)−11+cr h⃗t(x(old),g⃗(s(old))).x^{(new)}=x^{(old)}-\frac{1}{1+c_r}\,\vec h_t\big(x^{(old)},\vec g(s^{(old)})\big).x(new)=x(old)−1+cr​1​ht​(x(old),g​(s(old))).

If δt(x(old),g⃗(s(old)))≤1100cγcr2\delta_t(x^{(old)},\vec g(s^{(old)}))\le\frac{1}{100c_\gamma c_r^2}δt​(x(old),g​(s(old)))≤100cγ​cr2​1​, then x(new)∈S0x^{(new)}\in S^0x(new)∈S0 and

δt(x(new),g⃗(s(new)))≤(1−14cr)δt(x(old),g⃗(s(old))).\delta_t\big(x^{(new)},\vec g(s^{(new)})\big)\le\Big(1-\frac{1}{4c_r}\Big)\delta_t\big(x^{(old)},\vec g(s^{(old)})\big).δt​(x(new),g​(s(new)))≤(1−4cr​1​)δt​(x(old),g​(s(old))).

The theorem is stated for every weight function, not for the specific one constructed in §V of the paper; that construction is the subject of a separate mission.

Milestone: Lemma 3 (Split Newton Step), §IV.B

For feasible (x(old),w(old))(x^{(old)},w^{(old)})(x(old),w(old)) and r≥0r\ge0r≥0, the split step x(new)=x(old)−11+rh⃗tx^{(new)}=x^{(old)}-\frac1{1+r}\vec h_tx(new)=x(old)−1+r1​ht​, w(new)=w(old)+r1+rW(old)S(old)−1Ah⃗tw^{(new)}=w^{(old)}+\frac r{1+r}W_{(old)}S_{(old)}^{-1}A\vec h_tw(new)=w(old)+1+rr​W(old)​S(old)−1​Aht​ satisfies, whenever δt≤18γ\delta_t\le\frac1{8\gamma}δt​≤8γ1​,

δt(x(new),w(new))≤21+r γ δt2,\delta_t\big(x^{(new)},w^{(new)}\big)\le\frac{2}{1+r}\,\gamma\,\delta_t^2,δt​(x(new),w(new))≤1+r2​γδt2​,

with γ=γ(s(x(old)),w(old))\gamma=\gamma(s(x^{(old)}),w^{(old)})γ=γ(s(x(old)),w(old)), and the new pair is feasible.

Milestone: Lemma 1, §IV.B

For feasible (x,w)(x,w)(x,w) and α,t≥0\alpha,t\ge0α,t≥0:

δ(1+α)t(x,w)≤(1+α)δt(x,w)+α∥w∥1.\delta_{(1+\alpha)t}(x,w)\le(1+\alpha)\delta_t(x,w)+\alpha\sqrt{\|w\|_1}.δ(1+α)t​(x,w)≤(1+α)δt​(x,w)+α∥w∥1​​.

Significance

Theorem 5 is the centering half of the weighted path-following method. Combined with Lemma 1, it shows that the path parameter can be doubled, while staying close to the weighted central path, in a number of steps of the form (5) controlled by cγc_\gammacγ​, crc_rcr​ and c1\sqrt{c_1}c1​​. The paper then constructs (§V, Theorem 1) a weight function with c1=2 rank(A)c_1=2\,\mathrm{rank}(A)c1​=2rank(A), cγ=2c_\gamma=2cγ​=2 and crc_rcr​ logarithmic in m/rank(A)m/\mathrm{rank}(A)m/rank(A), which yields the O~(rank(A))\tilde O(\sqrt{\mathrm{rank}(A)})O~(rank(A)​) iteration bound. The theorem isolates exactly which properties of a weighting scheme are needed, so it applies to any weight function satisfying Definition 4.

The FOCS extended abstract states these results without proofs; the proofs are in the arXiv full version (arXiv:1312.6677). The results are proved on paper. No machine-checked formalization of weighted path following, or of the Lee–Sidford framework, is known. A formal proof would check the constants 1100\frac1{100}1001​, 14\frac1{4}41​, 18\frac1881​ and 21+r\frac2{1+r}1+r2​ as stated in the extended abstract, and would produce reusable Lean infrastructure for Newton steps of barrier functions with explicit matrix formulas.

Difficulty

The standard analysis of Newton's method on a self-concordant barrier gives quadratic convergence of centrality for a fixed barrier. Here the barrier changes during the step: the weights are reset to g⃗(s(x(new)))\vec g(s(x^{(new)}))g​(s(x(new))), so the new centrality is measured with respect to a different Hessian and a different gradient. The obvious argument, analysing the step at fixed weights and then treating the re-weighting as a small perturbation, does not give a contraction factor independent of mmm: without control of how g⃗\vec gg​ reacts to changes in the slacks, the re-weighting can undo the progress of the step. The step-consistency conditions of Definition 4 are the only hypotheses that control this reaction, and they are pointwise bounds on the Jacobian of g⃗\vec gg​, while the step moves the slacks by a finite amount.

Formalization scope

Vectors are Fin n → ℝ and Fin m → ℝ, matrices Matrix (Fin m) (Fin n) ℝ, and products are Matrix.mulVec and dotProduct. S−1S^{-1}S−1 is the diagonal matrix of reciprocals, W±1/2W^{\pm1/2}W±1/2 the diagonal matrices of wi±1\sqrt{w_i}^{\pm1}wi​​±1, and ∥v∥M=vTMv\|v\|_M=\sqrt{v^TMv}∥v∥M​=vTMv​. The Newton step and centrality are defined by the explicit formulas (3) and (4), not by derivatives of ftf_tft​; the centrality uses the Hessian-norm form of (4). The Jacobian G′(s)G'(s)G′(s) is the Fréchet derivative fderiv ℝ g s, and ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​ is Mathlib's sup norm.

Conventions fixed where the paper is silent:

  1. Full column rank. Every theorem assumes A.rank = n. The paper uses (ATSx−1WSx−1A)−1(A^TS_x^{-1}WS_x^{-1}A)^{-1}(ATSx−1​WSx−1​A)−1 without comment; the inverse exists for positive slacks and weights exactly when AAA has full column rank. Lean's matrix inverse is 000 on singular matrices, which would make h⃗t\vec h_tht​, δt\delta_tδt​ and γ\gammaγ vanish and every statement trivially true; the rank hypothesis rules this trivializing reading out.
  2. Size as an upper bound. Definition 4's "c1(g⃗)=∥g⃗(s)∥1c_1(\vec g)=\|\vec g(s)\|_1c1​(g​)=∥g​(s)∥1​" is read as ∥g⃗(s)∥1≤c1\|\vec g(s)\|_1\le c_1∥g​(s)∥1​≤c1​ for all s>0s>0s>0 (the paper's own weight function reports a c1c_1c1​ above its ℓ1\ell_1ℓ1​ norm). c1c_1c1​ does not enter Theorem 5.
  3. Operator norm. Step consistency's first bullet is written as ∥(I+r−1G−1G′S)y∥G(s)≤∥y∥G(s)\|(I+r^{-1}G^{-1}G'S)y\|_{G(s)}\le\|y\|_{G(s)}∥(I+r−1G−1G′S)y∥G(s)​≤∥y∥G(s)​ for all yyy.
  4. Lemma 3's rrr ranges over r≥0r\ge0r≥0, and γ(x,w)\gamma(x,w)γ(x,w) means γ(s(x),w)\gamma(s(x),w)γ(s(x),w).
  5. Feasibility of the new point is part of the conclusion of Lemma 3 and Theorem 5, since the page's conclusion evaluates quantities defined only on the interior.
  6. Maximum over [m][m][m] is a supremum over Fin m (attained for m≥1m\ge1m≥1, equal to 000 for m=0m=0m=0).
  7. The path parameter ttt is unrestricted in Theorem 5 and Lemma 3, as on the page; Lemma 1 assumes t≥0t\ge0t≥0 as the page does.

A complete development needs basic facts about weighted norms and the projection matrix PS−1A(w)P_{S^{-1}A}(w)PS−1A​(w), spectral comparison of the matrices ATS−1WS−1AA^TS^{-1}WS^{-1}AATS−1WS−1A for nearby slacks and weights, and calculus for vector-valued maps on the positive orthant. The weighted-norm and projection-matrix material is reusable for any interior point analysis. Proofs of the milestones, alternative arguments, and sharper constants are welcome.

Selected references

  • Y. T. Lee, A. Sidford, Path Finding Methods for Linear Programming: Solving Linear Programs in Õ(√rank) Iterations and Faster Algorithms for Maximum Flow, FOCS 2014, pp. 424–433. https://doi.org/10.1109/FOCS.2014.52
  • Y. T. Lee, A. Sidford, Path Finding I: Solving Linear Programs with Õ(√rank) Linear System Solves, arXiv:1312.6677, 2013. https://arxiv.org/abs/1312.6677
  • J. Renegar, A polynomial-time algorithm, based on Newton's method, for linear programming, Mathematical Programming 40, 1988, pp. 59–93. https://doi.org/10.1007/BF01580724
  • N. Karmarkar, A new polynomial-time algorithm for linear programming, Combinatorica 4, 1984, pp. 373–395. https://doi.org/10.1007/BF02579150
  • Y. Nesterov, A. Nemirovskii, Interior-Point Polynomial Algorithms in Convex Programming, SIAM, 1994. https://doi.org/10.1137/1.9781611970791
6 thms2 active usersReviewed
🏆Completed
Linear OptimizationOptimization·Captain: mikedeng1

Critical-Path Planning and Scheduling II: The Project Cost Curve Is Non-Increasing, Piecewise Linear and ConvexResearch Paper

Motivation

A large engineering or construction project is a set of jobs with precedence constraints, and most jobs can be finished faster at a higher cost (overtime, more crews, faster equipment). Planners want to know, for every possible project duration, the cheapest way to meet it. The resulting trade-off between duration and direct cost is what management compares with overhead, penalties and market losses when it picks a schedule.

J. E. Kelley, Jr. and M. R. Walker introduced the critical-path method (CPM) in 1959, from work at du Pont and Remington Rand (Kelley and Walker 1959). Alongside the critical-path computation, they modelled each job's cost as a linear function of its duration and posed the choice of durations as a parametric linear program. They stated that its optimal value, as a function of the project duration λ\lambdaλ, is a non-increasing, piecewise linear, convex function, which they called the project cost curve. The 1959 paper gives no proof and defers the detailed development to a separate paper (Kelley 1961). Fulkerson (1961) gave a network-flow algorithm that computes the curve. Time–cost trade-off analysis ("crashing") has been a standard part of project management since then.

Setting

A project network has events labelled 0,1,…,n0, 1, \dots, n0,1,…,n with n≥1n \ge 1n≥1. Event 000 is the origin and event nnn the terminus. A finite set PPP of jobs is given, each an ordered pair (i,j)(i,j)(i,j): an arrow from event iii to event jjj. As in the paper, labels increase along arrows (i<ji < ji<j for every (i,j)∈P(i,j) \in P(i,j)∈P), the origin precedes every event, and the terminus follows every event.

For job durations y=(yij)y = (y_{ij})y=(yij​), the earliest event times are given by recursion (1):

t0(0)=0,tj(0)=max⁡ [ yij+ti(0)∣i<j, (i,j)∈P ],1≤j≤n,t_0^{(0)} = 0,\qquad t_j^{(0)} = \max\,[\,y_{ij} + t_i^{(0)} \mid i<j,\ (i,j)\in P\,],\quad 1\le j\le n,t0(0)​=0,tj(0)​=max[yij​+ti(0)​∣i<j, (i,j)∈P],1≤j≤n,

and tn(0)(y)t_n^{(0)}(y)tn(0)​(y) is the earliest project completion time.

Each job has a crash duration dijd_{ij}dij​ and a normal duration DijD_{ij}Dij​ with 0≤dij≤Dij0 \le d_{ij} \le D_{ij}0≤dij​≤Dij​, and a linear job cost aijyij+bija_{ij}y_{ij} + b_{ij}aij​yij​+bij​ with aij≤0a_{ij} \le 0aij​≤0, bij≥0b_{ij} \ge 0bij​≥0. The project (direct) cost is

(7)∑(i,j)∈P(aijyij+bij).\text{(7)}\qquad \sum_{(i,j)\in P} (a_{ij} y_{ij} + b_{ij}).(7)(i,j)∈P∑​(aij​yij​+bij​).

A schedule for λ\lambdaλ is a pair (y,t)(y,t)(y,t) with

(5) dij≤yij≤Dij,(8) yij≤tj−ti((i,j)∈P),(9) t0=0, tn=λ.\text{(5)}\ d_{ij}\le y_{ij}\le D_{ij},\qquad \text{(8)}\ y_{ij}\le t_j-t_i\quad ((i,j)\in P),\qquad \text{(9)}\ t_0=0,\ t_n=\lambda.(5) dij​≤yij​≤Dij​,(8) yij​≤tj​−ti​((i,j)∈P),(9) t0​=0, tn​=λ.

Let Λ\LambdaΛ be the set of λ\lambdaλ for which a schedule exists. For λ∈Λ\lambda \in \Lambdaλ∈Λ the project cost curve C(λ)C(\lambda)C(λ) is the minimum of (7) over schedules for λ\lambdaλ. Write λc=tn(0)(d)\lambda_c = t_n^{(0)}(d)λc​=tn(0)​(d) (all jobs crashed) and λN=tn(0)(D)\lambda_N = t_n^{(0)}(D)λN​=tn(0)​(D) (all jobs normal).

Formalization targets

Goal: the shape of the project cost curve (p. 165)

C is non-increasing on Λ,C is piecewise linear on Λ,C is convex on Λ.C \text{ is non-increasing on } \Lambda,\qquad C \text{ is piecewise linear on } \Lambda,\qquad C \text{ is convex on } \Lambda .C is non-increasing on Λ,C is piecewise linear on Λ,C is convex on Λ.

Piecewise linear means finitely many breakpoints β0<⋯<βm\beta_0<\dots<\beta_mβ0​<⋯<βm​ with Λ⊆[β0,∞)\Lambda\subseteq[\beta_0,\infty)Λ⊆[β0​,∞), and affine pieces on Λ∩[βk,βk+1]\Lambda\cap[\beta_k,\beta_{k+1}]Λ∩[βk​,βk+1​] and on Λ∩[βm,∞)\Lambda\cap[\beta_m,\infty)Λ∩[βm​,∞). The goal fixes no breakpoints or slopes. It asserts only the shape the paper claims, on the whole of Λ\LambdaΛ.

Milestones

  1. Feasible range (p. 165, "until no further reduction in project completion time is possible"): Λ=[λc,∞)\Lambda = [\lambda_c, \infty)Λ=[λc​,∞).
  2. Existence of optimal schedules (p. 165, the linear program (8), (9)): for every λ∈Λ\lambda\in\Lambdaλ∈Λ the minimum of (7) is attained.
  3. All-normal solution (p. 165): (D,t(0)(D))(D, t^{(0)}(D))(D,t(0)(D)) is a minimum cost schedule for λ=λN\lambda = \lambda_Nλ=λN​.
  4. λ\lambdaλ is the earliest completion time (p. 165, "within the limits of most interest"): for λc≤λ≤λN\lambda_c\le\lambda\le\lambda_Nλc​≤λ≤λN​ some minimum cost schedule (y,t)(y,t)(y,t) for λ\lambdaλ has tn(0)(y)=λt_n^{(0)}(y)=\lambdatn(0)​(y)=λ.

Significance

The cost curve is the output of CPM's cost analysis. Its convexity is what makes the paper's parametric procedure valid: jobs are expedited in order of increasing marginal cost, and the curve is traced from λN\lambda_NλN​ down to λc\lambda_cλc​ one linear piece at a time. Monotonicity justifies reading the curve as a trade-off. Piecewise linearity with finitely many pieces means the whole curve is determined by finitely many characteristic schedules, the vertices plotted in the paper's Fig. 3. The milestones identify the domain of the curve, show that it is well defined, and fix its right end at the all-normal solution.

These facts are classical: they follow from parametric linear programming, and Kelley (1961) and Fulkerson (1961) develop them in detail. No machine-checked proof of them is known. Prove2Me has a related result, LinearOptimization.lp_optimal_cost_convex_in_rhs (Bertsimas–Tsitsiklis, Theorem 5.1): convexity of the optimal cost of a standard-form LP in its right-hand side. It covers convexity only, for a different LP form, and says nothing about monotonicity or finitely many pieces. This mission adds a formal model of CPM's time–cost program and the full three-part shape theorem.

Difficulty

Convexity alone follows from the usual argument: a convex combination of optimal schedules for two durations is a schedule for the combined duration. Monotonicity needs the structure of the network: when λ\lambdaλ increases, only the constraints (8) on jobs ending at the terminus loosen, because no job leaves the terminus. The hard part is piecewise linearity with finitely many pieces. Convexity does not imply it, and a general result on value functions of linear programs has to be tied to this specific program, whose right-hand side depends on λ\lambdaλ only through tn=λt_n = \lambdatn​=λ. The domain is also unbounded, so the argument must show that the curve is eventually a single affine (in fact constant) piece. It cannot just produce finitely many pieces on a compact interval.

Formalization scope

Events are Fin (n + 1) with origin 0 and terminus Fin.last n, and 1 ≤ n. Jobs are a Finset of ordered pairs, with at most one job per ordered pair. The standing assumptions of pp. 161–162 are fields of ProjectNetwork: labels increase along jobs, and reachability via Relation.ReflTransGen from the origin and to the terminus. Times and durations are real. Job data are functions Fin (n+1) → Fin (n+1) → ℝ, constrained and read only on PPP. The hypotheses 0≤dij≤Dij0\le d_{ij}\le D_{ij}0≤dij​≤Dij​, aij≤0a_{ij}\le 0aij​≤0 and bij≥0b_{ij}\ge 0bij​≥0 are fields of JobData. Recursion (1) is earliest, defined by well-founded recursion on the label. It uses a fallback value 000 for an event without predecessors, which occurs only at the origin. The paper's λ\lambdaλ is written lam. Constraint (9) fixes tn=λt_n = \lambdatn​=λ exactly, and the event times are otherwise unconstrained.

The goal takes C:R→RC : \mathbb{R}\to\mathbb{R}C:R→R with the hypothesis that C(λ)C(\lambda)C(λ) is the least element of the set of costs of schedules for λ\lambdaλ, for every λ∈Λ\lambda \in \Lambdaλ∈Λ. All three conclusions are stated on Λ\LambdaΛ only. This rules out the trivializing formalizations:

  • a junk-valued infimum off Λ\LambdaΛ plays no role;
  • CCC is tied to the program, and the hypothesis on CCC is satisfiable by milestone 2;
  • piecewise linearity requires finitely many pieces that cover all of Λ\LambdaΛ;
  • all three properties are claimed, not convexity alone.

The goal keeps aij≤0a_{ij}\le 0aij​≤0, as the page does throughout §3, although monotonicity and convexity would hold without it.

Disclosed readings:

  • Milestone 1 renders "until no further reduction in project completion time is possible" as Λ=[λc,∞)\Lambda=[\lambda_c,\infty)Λ=[λc​,∞).
  • Milestone 4 reads "within the limits of most interest" as λc≤λ≤λN\lambda_c\le\lambda\le\lambda_Nλc​≤λ≤λN​. It asserts that some optimal schedule has tn(0)(y)=λt_n^{(0)}(y)=\lambdatn(0)​(y)=λ. "Every" is false: when all aij=0a_{ij}=0aij​=0, the all-crash durations are optimal for every λ\lambdaλ.

A complete development needs:

  • the existence of LP optima under a bounded objective, or a direct compactness argument on the feasible polyhedron;
  • a parametric-LP or polyhedral argument for finitely many linear pieces;
  • basic facts on the recursion (1).

The one-variable notion IsPiecewiseLinearOn and the facts on earliest event times can be reused in scheduling missions. Proofs of the milestones, of any of the three goal conjuncts separately, and general lemmas on parametric LP value functions are all welcome.

Not formalized: general piecewise linear convex job costs (deferred by the paper to its references [7], [8]), and the primal–dual procedure itself (a method, not a claim).

Selected references

  • J. E. Kelley, Jr. and M. R. Walker, Critical-Path Planning and Scheduling, Proc. Eastern Joint IRE-AIEE-ACM Computer Conference, 1959, pp. 160–173. https://doi.org/10.1145/1460299.1460318
  • J. E. Kelley, Jr., Critical-Path Planning and Scheduling: Mathematical Basis, Operations Research 9(3), 1961, pp. 296–320. https://doi.org/10.1287/opre.9.3.296
  • D. R. Fulkerson, A Network Flow Computation for Project Cost Curves, Management Science 7(2), 1961, pp. 167–178. https://doi.org/10.1287/mnsc.7.2.167
  • D. Bertsimas and J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, §5.2 (the optimal cost as a function of the right-hand side).
10 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryMechanism Design·Captain: mikedeng1

Incentives in Teams: The Own Profit Incentive Structure Is an Optimal Incentive Structure for a ConglomerateResearch Paper

Motivation

An organization whose members hold private information faces two problems at once. The first is the team problem of Marschak and Radner: choose the rules by which members observe, communicate and decide so as to maximize the expected payoff of the organization as a whole (Marschak–Radner 1972). The second is the incentive problem: a member who is paid by their own results has no reason to follow those rules, and in particular no reason to report truthfully what they have observed. Theodore Groves' Incentives in Teams (Econometrica 41(4), 1973) connected the two. For a decentralized firm in which subunits report to a head, it exhibits compensation rules that make the team-optimal behaviour, truthful messages included, each subunit manager's unique best reply.

The construction is the origin of what is now called the Groves scheme, and with Vickrey's second-price auction (Vickrey 1961) and Clarke's pivot rule (Clarke 1971) it forms the Vickrey–Clarke–Groves (VCG) family of mechanisms.

Timeline:

  • 1961, Vickrey: second-price auctions make truthful bidding a dominant strategy for a single object.
  • 1971, Clarke: pivot payments for public-good decisions with deterministic valuations.
  • 1972, Marschak–Radner: the economic theory of teams, with information and decision structures but a common payoff.
  • 1973, Groves: compensation CiIIC_i^{II}CiII​ based on the head's conditional expectation of the other units' payoffs; Theorem 1 proves optimality in a conglomerate with independent component states and one round of communication.
  • 1977, Green–Laffont: in the complete-information setting, Groves-type payments are the only ones that make truth-telling dominant (Econometrica 45(2)).
  • 1979, d'Aspremont–Gérard-Varet: Bayesian incentive-compatible mechanisms with expected externality payments (J. Public Econ. 11(1)).

The conglomerate model

The organization consists of a head (component 000) and finitely many subunits i=1,…,ni = 1, \dots, ni=1,…,n. Each component kkk has its own random component state sk∈Sks_k \in S_ksk​∈Sk​, and the components are independent: the state of the environment s=(s0,s1,…,sn)s = (s_0, s_1, \dots, s_n)s=(s0​,s1​,…,sn​) is distributed according to the product law P(s)=P0(s0)∏iPi(si)P(s) = P_0(s_0) \prod_{i} P_i(s_i)P(s)=P0​(s0​)∏i​Pi​(si​) (Condition S.2).

Every member plays a strategy βk=(ζk,γk,δk)\beta_k = (\zeta_k, \gamma_k, \delta_k)βk​=(ζk​,γk​,δk​) made of an observation strategy ζk\zeta_kζk​ on its own state, a message strategy γk\gamma_kγk​ and a decision strategy δk\delta_kδk​ (Condition S.3). Communication runs only between the head and each subunit, in one exchange: the head observes ζ0(s0)\zeta_0(s_0)ζ0​(s0​) and sends γ0i(ζ0(s0))\gamma_0^i(\zeta_0(s_0))γ0i​(ζ0​(s0​)) to subunit iii; the subunit, with information yi(s)=[ζi(si),γ0i(ζ0(s0))]y_i(s) = [\zeta_i(s_i), \gamma_0^i(\zeta_0(s_0))]yi​(s)=[ζi​(si​),γ0i​(ζ0​(s0​))], sends back γi(yi(s))\gamma_i(y_i(s))γi​(yi​(s)); the head's information is y0(s)=[ζ0(s0),{γi(yi(s))}i]y_0(s) = [\zeta_0(s_0), \{\gamma_i(y_i(s))\}_{i}]y0​(s)=[ζ0​(s0​),{γi​(yi​(s))}i​] (3.1). Decisions are δi(yi(s))\delta_i(y_i(s))δi​(yi​(s)) and δ0(y0(s))\delta_0(y_0(s))δ0​(y0​(s)).

The organization payoff is a sum of components (Condition S.4),

ω0(β,s)=∑i=1nvi[δi(yi(s)),δ0(y0(s));si]+v0[δ0(y0(s)),s0],\omega_0(\beta, s) = \sum_{i=1}^n v_i[\delta_i(y_i(s)), \delta_0(y_0(s)); s_i] + v_0[\delta_0(y_0(s)), s_0],ω0​(β,s)=i=1∑n​vi​[δi​(yi​(s)),δ0​(y0​(s));si​]+v0​[δ0​(y0​(s)),s0​],

and ωˉ0(β)=E[ω0(β,s)]\bar\omega_0(\beta) = E[\omega_0(\beta, s)]ωˉ0​(β)=E[ω0​(β,s)]. Each viv_ivi​ accrues directly to subunit iii (Condition S.5). Strategy sets B0,B1,…,BnB_0, B_1, \dots, B_nB0​,B1​,…,Bn​ are given; β/βi\beta/\beta_iβ/βi​ denotes β\betaβ with subunit iii's strategy replaced by βi\beta_iβi​. Two strategies βi′,βi′′\beta_i', \beta_i''βi′​,βi′′​ are equivalent if ωˉ0(β/βi′)=ωˉ0(β/βi′′)\bar\omega_0(\beta/\beta_i') = \bar\omega_0(\beta/\beta_i'')ωˉ0​(β/βi′​)=ωˉ0​(β/βi′′​) for every β∈B\beta \in Bβ∈B.

Assumption A requires a β∗∈B\beta^* \in Bβ∗∈B maximizing ωˉ0\bar\omega_0ωˉ0​ over BBB such that, for each subunit, ωˉ0(β∗)>ωˉ0(β∗/βi)\bar\omega_0(\beta^*) > \bar\omega_0(\beta^*/\beta_i)ωˉ0​(β∗)>ωˉ0​(β∗/βi​) whenever βi∈Bi\beta_i \in B_iβi​∈Bi​ is not equivalent to βi∗\beta_i^*βi∗​.

An incentive structure W={ωi}W = \{\omega_i\}W={ωi​} pays subunit iii the amount ωi(β,s)\omega_i(\beta, s)ωi​(β,s). The class J\mathscr{J}J (3.2) consists of those of the form ωi=vi[… ]+Ci(y0(s))\omega_i = v_i[\dots] + C_i(y_0(s))ωi​=vi​[…]+Ci​(y0​(s)): own payoff plus a compensation computed from the head's information only. WWW is optimal (2.6) if βi∗\beta_i^*βi∗​ maximizes ωˉi(β∗/βi)\bar\omega_i(\beta^*/\beta_i)ωˉi​(β∗/βi​) over BiB_iBi​, uniquely up to equivalence.

Formalization targets

Goal: Theorem 1 (p. 625)

With CiII(y0)=∑j≠iE[vj[δj∗(yj∗(s)),δ0∗(y0∗(s));sj] ∣ y0∗(s)=y0]−AiC_i^{II}(y_0) = \sum_{j \ne i} E\big[v_j[\delta_j^*(y_j^*(s)), \delta_0^*(y_0^*(s)); s_j] \,\big|\, y_0^*(s) = y_0\big] - A_iCiII​(y0​)=∑j=i​E[vj​[δj∗​(yj∗​(s)),δ0∗​(y0∗​(s));sj​]​y0∗​(s)=y0​]−Ai​, the sum running over all components j∈{0,…,n}j \in \{0, \dots, n\}j∈{0,…,n} other than iii and the expectation taken under β∗\beta^*β∗ (3.3), the structure ωiII=vi[… ]+CiII(y0(s))\omega_i^{II} = v_i[\dots] + C_i^{II}(y_0(s))ωiII​=vi​[…]+CiII​(y0​(s)) lies in J\mathscr{J}J and satisfies, for every subunit iii and every βi∈Bi\beta_i \in B_iβi​∈Bi​,

ωˉiII(β∗/βi)≤ωˉiII(β∗),with strict inequality if βi≢βi∗.\bar\omega_i^{II}(\beta^*/\beta_i) \le \bar\omega_i^{II}(\beta^*), \qquad \text{with strict inequality if } \beta_i \not\equiv \beta_i^*.ωˉiII​(β∗/βi​)≤ωˉiII​(β∗),with strict inequality if βi​≡βi∗​.

It holds for every β∗\beta^*β∗ satisfying Assumption A, all strategy sets and all constants AiA_iAi​.

Milestones

  1. The Appendix Lemma: the sets of states consistent with the head's information under β∗/βi\beta^*/\beta_iβ∗/βi​ and under β∗\beta^*β∗ have the same projections onto every component other than iii.
  2. The right-hand side of (A.2): the head's conditional expectation factorizes over the independent components.
  3. (A.2) for a subunit j≠ij \ne ij=i, and 4. (A.2) for the head's component j=0j = 0j=0: the expected payoff of component jjj under β∗/βi\beta^*/\beta_iβ∗/βi​ equals the expected value of its conditional expectation.
  4. (A.1): ωˉiII(β∗/βi)+Ai=ωˉ0(β∗/βi)\bar\omega_i^{II}(\beta^*/\beta_i) + A_i = \bar\omega_0(\beta^*/\beta_i)ωˉiII​(β∗/βi​)+Ai​=ωˉ0​(β∗/βi​) for all βi∈Bi\beta_i \in B_iβi​∈Bi​.

Significance

Theorem 1 shows that a head who knows only the messages it receives can nonetheless align every subunit's interest with the organization's, without monitoring decisions or observations. It is an early statement that expected-externality payments make truthful communication an equilibrium of a decentralized organization, and the Bayesian, team-theoretic counterpart of the dominant-strategy results of Vickrey and Clarke. Its structure (own payoff plus a transfer depending only on the others' reported information) is the template later characterized by Green and Laffont and generalized by d'Aspremont and Gérard-Varet.

Theorem 1 is proved in the paper; nothing here is open mathematically. What the mission adds is a machine-checked version with every modelling choice explicit: how information is generated by the message protocol, what the conditional expectation in (3.3) means on events of probability zero, and which equivalence "uniquely" refers to. No machine-checked proof of Theorem 1 is known to the platform. The platform's AGT.vcg_incentive_compatible treats the complete-information, direct-revelation analogue (deterministic valuations, dominant strategies), a different model with a different conclusion.

Difficulty

The tempting argument conditions on the head's information y0∗(s)=y0y_0^*(s) = y_0y0∗​(s)=y0​ under β∗\beta^*β∗ and compares it with the head's information under a deviation. That comparison fails when a deviating subunit sends a message that γi∗\gamma_i^*γi∗​ never sends: the conditioning event then has probability zero under β∗\beta^*β∗, and the conditional expectation of (3.3) is not determined by the joint law. A second obstacle is that the head's information under a deviation differs from the information under β∗\beta^*β∗ in every coordinate the deviation touches, while the compensation is computed as if β∗\beta^*β∗ were played; the statement to be proved compares expectations taken under two different joint strategies, and the one-exchange protocol makes the head's messages, and hence every subunit's information, depend on the head's own state. Treating these dependencies loosely either produces a circular definition of the information functions (as (3.1) is printed) or a statement that fails on events of probability zero.

Formalization scope

  • Every component state space SkS_kSk​ is a finite type with weights that are nonnegative and sum to one; the joint law is the product of these weights and expectations are finite sums. The paper allows general probability spaces; the finite case covers the whole argument and gives conditional expectations at a point an elementary meaning.
  • Subunits form a finite index type; the head is a separate component with its own observation, message and decision types. Observation, message and decision spaces are fixed types per component.
  • Information (3.1) follows the single exchange of messages the paper describes in §4.A (p. 627): the head's message to subunit iii is a function of the head's observation. As printed, (3.1) is circular; this protocol is the paper's own resolution.
  • CiIIC_i^{II}CiII​ is used in factorized form: the head's term conditions only the head's state on the head's observation, and subunit jjj's term conditions only sjs_jsj​ on the message jjj sent. A separate milestone states that this equals the literal conditional expectation of (3.3) whenever the conditioning event has positive probability. The literal elementary quotient takes the value 000 on null events, and with it Theorem 1 is false (one subunit that can send an unused message suffices); the factorized form is what the Appendix computes. The sum in (3.3) includes the head's component v0v_0v0​.
  • Equivalence of strategies is footnote 5's, over all β∈B\beta \in Bβ∈B; optimality includes the strict inequality for non-equivalent deviations. A formalization that replaces equivalence by equality of strategies, fixes Bi={βi∗}B_i = \{\beta_i^*\}Bi​={βi∗​}, drops the strict inequality, or assumes (A.1) as a hypothesis is not this theorem.
  • The Lemma carries the added hypothesis that the set B(s)B(s)B(s) is nonempty; the paper's proof presumes it and the statement is false without it.

Contributions welcome: proofs of the milestones, and reusable finite-probability facts (conditioning on product events, iterated expectation over a coordinate) stated for product weights.

Selected references

  • T. Groves, Incentives in Teams, Econometrica 41(4):617–631, 1973. https://doi.org/10.2307/1914085
  • J. Marschak and R. Radner, Economic Theory of Teams, Yale University Press, 1972.
  • W. Vickrey, Counterspeculation, Auctions, and Competitive Sealed Tenders, Journal of Finance 16(1):8–37, 1961. https://doi.org/10.1111/j.1540-6261.1961.tb02789.x
  • E. H. Clarke, Multipart Pricing of Public Goods, Public Choice 11:17–33, 1971. https://doi.org/10.1007/BF01726210
  • J. Green and J.-J. Laffont, Characterization of Satisfactory Mechanisms for the Revelation of Preferences for Public Goods, Econometrica 45(2):427–438, 1977. https://doi.org/10.2307/1911219
  • C. d'Aspremont and L.-A. Gérard-Varet, Incentives and Incomplete Information, Journal of Public Economics 11(1):25–45, 1979. https://doi.org/10.1016/0047-2727(79)90043-4
7 thms2 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine LearningProbability·Captain: mikedeng1

Stochastic Linear Optimization under Bandit Feedback 2: A Regret Lower Bound on the CircleResearch Paper

Motivation

In stochastic linear optimization under bandit feedback a learner repeatedly chooses a point xtx_txt​ from a compact decision set D⊂RnD\subset\mathbb R^nD⊂Rn and observes only the random cost ℓt\ell_tℓt​ of that point, whose mean is μ⋅xt\mu\cdot x_tμ⋅xt​ for an unknown vector μ\muμ. The problem models online routing, ad placement and other sequential decisions with linearly structured costs. The quality of a learner is measured by its regret against the best fixed decision.

For the KKK-armed bandit the achievable regret for a fixed instance is logarithmic in the horizon TTT (Lai and Robbins 1985; Auer, Cesa-Bianchi and Fischer 2002). Dani, Hayes and Kakade (COLT 2008) showed that for linear costs the picture depends on the geometry of DDD. Their Theorem 1 gives polylogarithmic regret when the decision set has a positive gap between the best and second-best extreme point (a polytope, for instance), and their Theorem 2 gives O∗(nT)O^*(n\sqrt T)O∗(nT​) regret for every decision set. Their Theorem 3 shows that the second rate cannot be improved in general: on a decision set with zero gap, every algorithm pays Ω(T)\Omega(\sqrt T)Ω(T​) in expectation.

Timeline:

  • 2002: Auer, Using confidence bounds for exploitation–exploration trade-offs (JMLR 3), introduces confidence-bound algorithms for linear bandits on finite decision sets.
  • 2008: Dani, Hayes and Kakade prove the O∗(nT)O^*(n\sqrt T)O∗(nT​) upper bound for ConfidenceBall₂ and the Ω(T)\Omega(\sqrt T)Ω(T​) lower bound on a product of circles, the subject of this mission. A hypercube lower bound for the adversarial setting appears in their NIPS 2007 paper.
  • 2010: Rusmevichientong and Tsitsiklis, Linearly parameterized bandits (Math. OR 35), give Ω(nT)\Omega(n\sqrt T)Ω(nT​) lower bounds on the unit sphere.
  • 2020: Lattimore and Szepesvári, Bandit Algorithms, Theorems 24.1 and 24.2, give minimax lower bounds on the hypercube and the unit ball with Gaussian noise.

Setting

The decision set is the unit circle D2=S1={x∈R2:x12+x22=1}D_2=S^1=\{x\in\mathbb R^2: x_1^2+x_2^2=1\}D2​=S1={x∈R2:x12​+x22​=1}. An unknown mean vector μ∈R2\mu\in\mathbb R^2μ∈R2 is drawn once, uniformly from the circle D2/2D_2/2D2​/2 of radius 1/21/21/2; concretely μ=μ(θ)=12(cos⁡θ,sin⁡θ)\mu=\mu(\theta)=\tfrac12(\cos\theta,\sin\theta)μ=μ(θ)=21​(cosθ,sinθ) with θ\thetaθ uniform on [0,2π)[0,2\pi)[0,2π).

On each round t=1,…,Tt=1,\dots,Tt=1,…,T the algorithm plays xt∈D2x_t\in D_2xt​∈D2​ and observes a cost ℓt∈{−1,+1}\ell_t\in\{-1,+1\}ℓt​∈{−1,+1} with Pr⁡(ℓt=+1)=(1+μ⋅xt)/2\Pr(\ell_t=+1)=(1+\mu\cdot x_t)/2Pr(ℓt​=+1)=(1+μ⋅xt​)/2, so that E[ℓt]=μ⋅xt\mathbb E[\ell_t]=\mu\cdot x_tE[ℓt​]=μ⋅xt​. Given the decision, the cost is independent of the past.

An algorithm may be randomised. It draws a seed sss once from a probability measure ρ\rhoρ on a measurable space SSS, and chooses xtx_txt​ as a function of sss and the costs ℓ1,…,ℓt−1\ell_1,\dots,\ell_{t-1}ℓ1​,…,ℓt−1​ observed so far, measurably in sss.

The regret over TTT rounds is

R=∑t=1T(μ⋅xt−μ⋅x∗),μ⋅x∗=min⁡x∈D2μ⋅x,R=\sum_{t=1}^T(\mu\cdot x_t-\mu\cdot x^*),\qquad \mu\cdot x^*=\min_{x\in D_2}\mu\cdot x,R=t=1∑T​(μ⋅xt​−μ⋅x∗),μ⋅x∗=x∈D2​min​μ⋅x,

so each round costs rt=μ⋅xt+12≥0r_t=\mu\cdot x_t+\tfrac12\ge0rt​=μ⋅xt​+21​≥0 when ∥μ∥=1/2\|\mu\|=1/2∥μ∥=1/2. The expected regret ER=Eμ E(R∣μ)\mathbb E R=\mathbb E_\mu\,\mathbb E(R\mid\mu)ER=Eμ​E(R∣μ) averages over the seed, the prior and the costs.

In the Lean development these objects are unitCircle, meanVec, optCost, RandomizedPolicy and expectedRegret in the namespace StochLinOpt.LowerBound.

Formalization targets

Goal: Theorem 3 for n=2n=2n=2

There is a universal constant c>0c>0c>0 such that for every randomised algorithm and every T≥1T\ge1T≥1,

ER ≥ cT.\mathbb E R\ \ge\ c\sqrt T.ER ≥ cT​.

The constant is left existential, which is the form that survives any later improvement of the constant; it is chosen before the algorithm and before TTT.

Milestones

  1. Section 6.1, Eq. (3). For ∥μ1∥=∥μ2∥=1/2\|\mu_1\|=\|\mu_2\|=1/2∥μ1​∥=∥μ2​∥=1/2, x∈S1x\in S^1x∈S1, a posterior probability p∈[0,1]p\in[0,1]p∈[0,1] of μ=μ1\mu=\mu_1μ=μ1​ and a cost ℓ∈{±1}\ell\in\{\pm1\}ℓ∈{±1}, the Bayes-updated bias bt+1b_{t+1}bt+1​ satisfies ∣bt+1−bt∣≤∣(μ1−μ2)⋅x∣|b_{t+1}-b_t|\le|(\mu_1-\mu_2)\cdot x|∣bt+1​−bt​∣≤∣(μ1​−μ2​)⋅x∣, where bt=2p−1b_t=2p-1bt​=2p−1.
  2. Lemma 15. With ε=∥μ1−μ2∥>0\varepsilon=\|\mu_1-\mu_2\|>0ε=∥μ1​−μ2​∥>0 and the same data,
Eμ(rt∣Ht)≥116(ε2+∣bt+1−bt∣2ε2)1{∣bt∣≤1/2}.\mathbb E_\mu(r_t\mid\mathcal H_t)\ge\frac1{16}\Big(\varepsilon^2+\frac{|b_{t+1}-b_t|^2}{\varepsilon^2}\Big)\mathbf 1\{|b_t|\le1/2\}.Eμ​(rt​∣Ht​)≥161​(ε2+ε2∣bt+1​−bt​∣2​)1{∣bt​∣≤1/2}.
  1. Theorem 4 (Freedman). For a martingale difference sequence X1,…,XTX_1,\dots,X_TX1​,…,XT​ bounded above by bbb, with conditional variance sum VVV, and all a,v>0a,v>0a,v>0,
Pr⁡(∑iXi≥a, V≤v)≤exp⁡(−a22v+2ab/3).\Pr\Big(\sum_i X_i\ge a,\ V\le v\Big)\le\exp\Big(\frac{-a^2}{2v+2ab/3}\Big).Pr(i∑​Xi​≥a, V≤v)≤exp(2v+2ab/3−a2​).

Significance

The lower bound shows that the T\sqrt TT​ dependence of the problem-independent upper bound (Theorem 2 of the same paper) is necessary. It also shows that the gap-dependent polylogarithmic rate of Theorem 1 cannot extend to decision sets without a gap, such as the sphere. Together with the upper bound it characterises the minimax regret of stochastic linear bandits in TTT up to logarithmic factors, and in the paper's general-nnn form it also underlies the claim that the price of bandit information is Θ∗(n)\Theta^*(\sqrt n)Θ∗(n​).

The result is proved in the paper for n=2n=2n=2 and has not been machine-checked. The mission produces a checked Bayesian lower bound over all randomised algorithms, with an explicit probability model for the protocol. Two related platform results are different theorems: BanditAlgorithm.linear_bandit_unit_ball_minimax_lower_bound (Lattimore–Szepesvári Theorem 24.2: unit ball, Gaussian noise, a worst-case μ\muμ) and BanditAlgorithm.linear_bandit_hypercube_minimax_lower_bound (Theorem 24.1: hypercube). The {−1,+1}\{-1,+1\}{−1,+1} costs, the circle and the uniform prior used here are not covered by either.

Difficulty

The obvious attempt is a two-point change-of-measure argument with a fixed pair of means at distance ε\varepsilonε. It fails as stated because the decision set has no gap: an algorithm that plays close to the optimum of both candidates learns slowly but also pays little. The per-round trade-off between regret and information (Lemma 15) is exact only while the posterior is undecided, ∣bt∣≤1/2|b_t|\le1/2∣bt​∣≤1/2. Turning it into a bound on the whole horizon requires controlling how long the posterior stays undecided, which is a statement about a martingale whose step sizes are chosen by the algorithm; a concentration bound that ignores the accumulated conditional variance (Azuma–Hoeffding with worst-case steps) is too weak for this. The averaging step from a two-point prior to the uniform prior on the circle is also part of the formal work.

Formalization scope

Vectors are Fin 2 → ℝ with the dot product ⬝ᵥ; Euclidean norms are written through dot products, never with Lean's sup norm. Rounds are 0-indexed internally: the Lean index ttt is the paper's round t+1t+1t+1. The expected regret is the exact finite expectation

ER=∫S12π∫02π∑ℓ∈{±1}T∏t=1T1+ℓt μ(θ)⋅xt2  R  dθ dρ(s),\mathbb E R=\int_S\frac1{2\pi}\int_0^{2\pi}\sum_{\ell\in\{\pm1\}^T}\prod_{t=1}^T\frac{1+\ell_t\,\mu(\theta)\cdot x_t}{2}\;R\;d\theta\,d\rho(s),ER=∫S​2π1​∫02π​ℓ∈{±1}T∑​t=1∏T​21+ℓt​μ(θ)⋅xt​​Rdθdρ(s),

so no infinite product of measures is needed. A randomised algorithm is a seeded policy, which covers every randomised algorithm. The optimal cost is the infimum of μ⋅x\mu\cdot xμ⋅x over the compact circle and is attained. Every junk value in the model (a non-integrable integrand) could only make the lower bound harder to prove, never easier.

A statement over deterministic algorithms only, over a worst-case μ\muμ instead of the uniform prior, or with the constant allowed to depend on the algorithm or on TTT would be a weaker theorem. The goal quantifies ∃c>0\exists c>0∃c>0 before the algorithm and TTT, and fixes the prior.

Corrections relative to the printed paper:

  • General nnn is not stated. Theorem 3 as printed claims ER≥110nT\mathbb E R\ge\frac1{10}n\sqrt TER≥101​nT​ for every even nnn. It is false for n>10n>10n>10: on DnD_nDn​ with μ∈Dn/n\mu\in D_n/nμ∈Dn​/n each round has regret at most 111, so at T=1T=1T=1 the claim would need ER≥n/10>1\mathbb E R\ge n/10>1ER≥n/10>1. The general case rests on Lemma 16, which has no proof. The goal is the n=2n=2n=2 case, which Section 6.1 proves.
  • The constant. For n=2n=2n=2 the paper prints 15T\frac15\sqrt T51​T​; its proof gives c=116min⁡(12−1e,164)=11024c=\frac1{16}\min(\frac12-\frac1e,\frac1{64})=\frac1{1024}c=161​min(21​−e1​,641​)=10241​. The proof's Freedman step prints 2exp⁡(−1/41/8+ε/3)≤2/e22\exp(-\frac{1/4}{1/8+\varepsilon/3})\le 2/e^22exp(−1/8+ε/31/4​)≤2/e2; with v=1/32v=1/32v=1/32 the denominator is 1/16+ε/31/16+\varepsilon/31/16+ε/3, and the bound 2/e22/e^22/e2 then needs ε=T−1/4≤3/16\varepsilon=T^{-1/4}\le3/16ε=T−1/4≤3/16. Small TTT is covered by the first round, whose expected regret is 1/21/21/2. The goal leaves ccc existential.
  • Theorem 4. The printed variance sum runs to nnn; it runs to TTT. The conditioning is on a general filtration, and square-integrability of the steps is assumed so that the conditional variance is defined.
  • Lemma 15. Its right side depends on the round-ttt cost ℓt\ell_tℓt​, which is not part of Ht\mathcal H_tHt​; the Lean statement holds for either value of ℓt\ell_tℓt​.

Welcome contributions: a Lean proof of Freedman's inequality (reusable across the bandit and concentration missions on the platform); the averaging argument from two-point priors to the uniform prior; and the stopped-martingale bookkeeping for the bias sequence.

Selected references

  • Varsha Dani, Thomas P. Hayes, Sham M. Kakade, Stochastic Linear Optimization under Bandit Feedback, Proceedings of the 21st Annual Conference on Learning Theory (COLT), 2008.
  • David A. Freedman, On tail probabilities for martingales, The Annals of Probability 3(1):100–118, 1975. https://doi.org/10.1214/aop/1176996452
  • Colin McDiarmid, Concentration, in Probabilistic Methods for Algorithmic Discrete Mathematics, Springer, 1998. https://doi.org/10.1007/978-3-662-12788-9_6
  • Peter Auer, Using confidence bounds for exploitation–exploration trade-offs, JMLR 3:397–422, 2002. https://www.jmlr.org/papers/v3/auer02a.html
  • Paat Rusmevichientong, John N. Tsitsiklis, Linearly parameterized bandits, Mathematics of Operations Research 35(2):395–411, 2010. https://doi.org/10.1287/moor.1100.0446
  • Tor Lattimore, Csaba Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapter 24. https://doi.org/10.1017/9781108571401
5 thms2 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryLinear Optimization·Captain: mikedeng1

On Certain Polytopes Associated with Graphs IV: Adjacent Stable Sets on the Stable Set PolytopeResearch Paper

Motivation

Many combinatorial optimization problems are linear programs over a polytope whose vertices are the zero–one incidence vectors of the feasible objects: matchings, stable sets, spanning trees. The edges of such a polytope (pairs of vertices joined by a one-dimensional face) govern the behaviour of the simplex method and of local-search procedures, which move from vertex to vertex along edges: a pivot of the simplex method on a nondegenerate basis replaces a vertex by one of its neighbours.

In December 1971 M. L. Balinski asked when two matchings M1,M2M_1, M_2M1​,M2​ of a graph are neighbours on the matching polyhedron determined by Edmonds (Edmonds 1965). V. Chvátal answered a more general question in §6 of On certain polytopes associated with graphs (Chvátal 1975): he characterized the neighbours on the stable set polytope of an arbitrary graph. Since matchings of GGG are the stable sets of the line graph L(G)L(G)L(G), Balinski's question is the special case of line graphs (Corollary 6.3 of the paper).

Setting

Let G=(V,E)G=(V,E)G=(V,E) be a finite undirected loopless graph. A stable set is a set of vertices no two of which are adjacent. S(G)S(G)S(G) denotes the set of all zero–one vectors x=(xu:u∈V)x=(x_u : u\in V)x=(xu​:u∈V) such that {u:xu=1}\{u : x_u=1\}{u:xu​=1} is stable, and the stable set polytope is

P(G)=conv⁡S(G)⊆RV.P(G)=\operatorname{conv} S(G)\subseteq \mathbb R^V .P(G)=convS(G)⊆RV.

For y∈S(G)y\in S(G)y∈S(G) the corresponding stable set is Y={u:yu=1}Y=\{u : y_u=1\}Y={u:yu​=1}.

For an integer-valued vector c=(cu:u∈V)c=(c_u : u\in V)c=(cu​:u∈V) write cx=∑u∈Vcuxucx=\sum_{u\in V}c_ux_ucx=∑u∈V​cu​xu​. Two vectors y,zy, zy,z are neighbours in P(G)P(G)P(G) if there is an integer-valued ccc such that yyy and zzz are the only two vectors which maximize cxcxcx over S(G)S(G)S(G); in particular y≠zy\neq zy=z. This is the definition the paper states at the start of the proof of Theorem 6.2.

A bicoloration of a graph TTT is a partition V=B∪RV=B\cup RV=B∪R, B∩R=∅B\cap R=\emptysetB∩R=∅, such that every edge joins BBB to RRR. Every tree has one.

In the Lean development these objects are stableVectors G (S(G)S(G)S(G)), stablePolytope G (P(G)P(G)P(G)), onesSet y (YYY), AreNeighbors G y z and IsBicoloration T B R, all in the namespace ChvatalPolytopes.Neighbors.

Formalization targets

Goal: Theorem 6.2 (p. 149)

For y,z∈S(G)y,z\in S(G)y,z∈S(G) with corresponding stable sets Y,ZY,ZY,Z,

y and z are neighbours in P(G)  ⟺  the subgraph H of G induced by (Y−Z)∪(Z−Y) is connected.y \text{ and } z \text{ are neighbours in } P(G) \iff \text{the subgraph } H \text{ of } G \text{ induced by } (Y-Z)\cup(Z-Y) \text{ is connected.}y and z are neighbours in P(G)⟺the subgraph H of G induced by (Y−Z)∪(Z−Y) is connected.

Milestone: Lemma 6.1 (p. 149)

For a tree T=(V,E)T=(V,E)T=(V,E) with a bicoloration V=B∪RV=B\cup RV=B∪R there are nonnegative integers cuc_ucu​ (u∈Vu\in Vu∈V) and mmm with

∑u∈Vcuxu≤mfor all x∈S(T),\sum_{u\in V}c_ux_u\le m\quad\text{for all } x\in S(T),u∈V∑​cu​xu​≤mfor all x∈S(T),

with equality exactly when xxx is the incidence vector of BBB or of RRR.

Milestone: the certificate of the "if" part (p. 149, proof of Theorem 6.2, (i))

If HHH is connected with spanning tree TTT, and cuc_ucu​ (u∈(Y−Z)∪(Z−Y)u\in (Y-Z)\cup(Z-Y)u∈(Y−Z)∪(Z−Y)), mmm are as in Lemma 6.1 for TTT, extend ccc by cu=1c_u=1cu​=1 on Y∩ZY\cap ZY∩Z and cu=−1c_u=-1cu​=−1 outside Y∪ZY\cup ZY∪Z. Then

∑u∈Vcuxu≤m+∣Y∩Z∣for all x∈S(G),\sum_{u\in V}c_ux_u\le m+|Y\cap Z|\quad\text{for all } x\in S(G),u∈V∑​cu​xu​≤m+∣Y∩Z∣for all x∈S(G),

with equality if and only if x=yx=yx=y or x=zx=zx=z.

Significance

Theorem 6.2 describes the 1-skeleton of the stable set polytope of every graph by a condition that can be checked in linear time, although optimizing over P(G)P(G)P(G) is NP-hard in general and no complete linear description of P(G)P(G)P(G) is known for general graphs. Through line graphs it gives the adjacency criterion for the matching polytope (two matchings are neighbours if and only if their symmetric difference is a single path or cycle), which settled Balinski's question. Characterizations of this type underlie the analysis of simplex-type and pivoting algorithms on combinatorial polytopes and the study of their diameters.

The result has been proved since 1975. The mission asks for a machine-checked proof of the theorem as stated in the paper; no formal proof of Theorem 6.2 or of the matching-polytope corollary is known to exist on Prove2Me or in Mathlib. The two milestones isolate the constructive half (Lemma 6.1 and the weighting built from it), which is reusable for any statement that needs an explicit objective singling out two stable sets.

Difficulty

The "only if" direction and the equality analysis are elementary; the substance lies in the "if" direction. An objective that makes both yyy and zzz optimal is easy to write down, for example c=y+zc=y+zc=y+z; the difficulty is to make them the only optimal vectors. Any stable set that agrees with YYY on some connected pieces of HHH and with ZZZ on others ties with yyy and zzz under naive weightings, so the weights on (Y−Z)∪(Z−Y)(Y-Z)\cup(Z-Y)(Y−Z)∪(Z−Y) must be chosen so that every mixed choice loses strictly. The integrality requirement on ccc and the need to control all of S(G)S(G)S(G), not only the stable sets contained in Y∪ZY\cup ZY∪Z, rule out a direct perturbation argument.

Formalization scope

  • Graphs. VVV is a finite type with decidable equality and GGG is a SimpleGraph V; loops and multiple edges are excluded, as in the paper.
  • S(G)S(G)S(G) and P(G)P(G)P(G). S(G)S(G)S(G) is the set of incidence vectors in V → ℝ of stable finsets; P(G)P(G)P(G) is convexHull ℝ (S G).
  • Neighbours. Defined exactly as on p. 149: y≠zy\ne zy=z and, for some c:V→Zc : V\to\mathbb Zc:V→Z, the set of maximizers of cxcxcx over S(G)S(G)S(G) equals {y,z}\{y,z\}{y,z}. The face-lattice notion of an edge of P(G)P(G)P(G) is not used; its equivalence with this definition is not part of the paper.
  • Induced subgraph and connectedness. HHH is G.induce of the set (Y∖Z)∪(Z∖Y)(Y\setminus Z)\cup(Z\setminus Y)(Y∖Z)∪(Z∖Y), and "connected" is Mathlib's SimpleGraph.Connected, which requires at least one vertex. For y=zy=zy=z both sides of the goal are therefore false.
  • Trees. SimpleGraph.IsTree, which includes connectedness; a spanning tree of HHH is a graph TTT on the vertex set of HHH with T≤HT\le HT≤H and T.IsTree. In Lemma 6.1 the integers cuc_ucu​ and mmm are natural numbers.

A trivializing formalization — defining neighbours through the symmetric-difference condition or through Lemma 6.1's certificate, or omitting y≠zy\neq zy=z from the definition — is excluded: neighbours are defined only through unique maximizers of integer objectives over S(G)S(G)S(G).

A complete development needs only finite graphs, induced subgraphs, spanning trees of connected graphs (available in Mathlib) and finite sums. Contributions welcome beyond the milestones: the equivalence of this notion of neighbours with the one-dimensional faces of P(G)P(G)P(G), and Corollary 6.3 for the matching polytope via line graphs.

Selected references

  • V. Chvátal, On certain polytopes associated with graphs, Journal of Combinatorial Theory, Series B 18 (1975), 138–154. https://doi.org/10.1016/0095-8956(75)90041-6
  • J. Edmonds, Maximum matching and a polyhedron with 0,1-vertices, Journal of Research of the National Bureau of Standards 69B (1965), 125–130. https://doi.org/10.6028/jres.069B.013
  • M. W. Padberg, On the facial structure of set packing polyhedra, Mathematical Programming 5 (1973), 199–215. https://doi.org/10.1007/BF01580121
6 thms2 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryLinear Optimization·Captain: mikedeng1

On Certain Polytopes Associated with Graphs II: No Clique Is a Cutset of a Connected α-Critical GraphResearch Paper

Motivation

The stability number α(G)\alpha(G)α(G) of a graph, the largest number of pairwise non-adjacent vertices, is the optimum of an integer program over the stable set polytope P(G)P(G)P(G). Linear programming duality turns any explicit linear description of P(G)P(G)P(G) into a certificate of optimality for α(G)\alpha(G)α(G), which is why the question "which inequalities are needed to describe P(G)P(G)P(G)?" has been central to polyhedral combinatorics since Edmonds' description of the matching polytope (Edmonds 1965). Chvátal's 1975 paper (doi:10.1016/0095-8956(75)90041-6) initiated the systematic study of P(G)P(G)P(G) for arbitrary graphs: which graph operations preserve a known description, and which inequalities are facets, i.e. indispensable in every description.

Section 4 of the paper treats one such operation, gluing two graphs along a complete subgraph, and one family of facets, the "rank" inequality ∑uxu≤α(G)\sum_u x_u\le\alpha(G)∑u​xu​≤α(G) for graphs whose critical edges connect all vertices. Combining the two yields a purely graph-theoretic fact about α\alphaα-critical graphs (graphs in which deleting any edge increases the stability number): no complete subgraph separates such a graph. The fact is due to Berge (Graphes et hypergraphes, 1970, Ch. 13, §3, Corollary 2); Chvátal's derivation obtains it from polyhedral arguments. α\alphaα-critical graphs were studied by Erdős and Gallai, Hajnal, Andrásfai and Lovász, and their structure is closely tied to the facets of P(G)P(G)P(G).

Setting

Graphs are finite, undirected and loopless: G=(V,E)G=(V,E)G=(V,E). A stable set is a set of pairwise non-adjacent vertices; α(G)\alpha(G)α(G) is the largest size of a stable set. The incidence vector of s⊆Vs\subseteq Vs⊆V is χs∈RV\chi^s\in\mathbb R^Vχs∈RV with χus=1\chi^s_u=1χus​=1 for u∈su\in su∈s and 000 otherwise. S(G)S(G)S(G) is the set of incidence vectors of stable sets and

P(G)=conv⁡S(G)⊆RV.P(G)=\operatorname{conv}S(G)\subseteq\mathbb R^V .P(G)=convS(G)⊆RV.

A finite system ∑u∈Vaiuxu≤bi\sum_{u\in V}a_{iu}x_u\le b_i∑u∈V​aiu​xu​≤bi​ (i∈J)(i\in J)(i∈J) is a defining linear system of PPP if its solution set is exactly PPP. An inequality ∑uauxu≤b\sum_u a_ux_u\le b∑u​au​xu​≤b is a facet of PPP if every defining linear system of PPP contains, for some t>0t>0t>0, the inequality ∑utauxu≤tb\sum_u ta_ux_u\le tb∑u​tau​xu​≤tb.

An edge eee of GGG is critical if α(G−e)=α(G)+1\alpha(G-e)=\alpha(G)+1α(G−e)=α(G)+1; E∗E^*E∗ denotes the set of critical edges, G∗=(V,E∗)G^*=(V,E^*)G∗=(V,E∗), and GGG is α\alphaα-critical if every edge is critical. For graphs G1=(V1,E1)G_1=(V_1,E_1)G1​=(V1​,E1​), G2=(V2,E2)G_2=(V_2,E_2)G2​=(V2​,E2​) put G1∩G2=(V1∩V2,E1∩E2)G_1\cap G_2=(V_1\cap V_2,E_1\cap E_2)G1​∩G2​=(V1​∩V2​,E1​∩E2​) and G1∪G2=(V1∪V2,E1∪E2)G_1\cup G_2=(V_1\cup V_2,E_1\cup E_2)G1​∪G2​=(V1​∪V2​,E1​∪E2​). A vertex set KKK is a cutset of GGG if two vertices outside KKK are joined by no path of G−KG-KG−K, the subgraph induced on V∖KV\setminus KV∖K.

In Lean, all objects live in the namespace ChvatalPolytopes.Separation: stablePolytope G, IsFacet P a b, IsCriticalEdge, criticalGraph G (for G∗G^*G∗), IsAlphaCritical G and IsCutset G K.

Formalization targets

Goal: Corollary 4.3 (p. 144)

For a finite connected α\alphaα-critical graph GGG and any K⊆VK\subseteq VK⊆V inducing a complete subgraph,

K is not a cutset of G.K \text{ is not a cutset of } G .K is not a cutset of G.

The goal is pure graph theory; its proof in the paper consists of the two polyhedral theorems below.

Milestones

  1. Proposition 2.1 (pp. 139–140). For a finite nonempty set SSS of solutions of −xu≤0-x_u\le0−xu​≤0 (u∈V)(u\in V)(u∈V), ∑uaiuxu≤bi\sum_u a_{iu}x_u\le b_i∑u​aiu​xu​≤bi​ (i∈J)(i\in J)(i∈J): the solution set equals conv⁡S\operatorname{conv}SconvS if and only if for every c∈ZVc\in\mathbb Z^Vc∈ZV
max⁡{cx:x∈S}=min⁡{∑iλibi:λ≥0, ∑iλiaiu≥cu (u∈V)}.\max\{cx:x\in S\}=\min\Big\{\sum_i\lambda_ib_i:\lambda\ge0,\ \sum_i\lambda_ia_{iu}\ge c_u\ (u\in V)\Big\}.max{cx:x∈S}=min{i∑​λi​bi​:λ≥0, i∑​λi​aiu​≥cu​ (u∈V)}.
  1. Theorem 4.1 (p. 141). If G1∩G2G_1\cap G_2G1​∩G2​ is complete, the union of defining linear systems of P(G1)P(G_1)P(G1​) and P(G2)P(G_2)P(G2​) (each containing its nonnegativity rows) is a defining linear system of P(G1∪G2)P(G_1\cup G_2)P(G1​∪G2​).
  2. Theorem 4.2 (p. 143). If G∗G^*G∗ is connected, then
∑u∈Vxu≤α(G)\sum_{u\in V}x_u\le\alpha(G)u∈V∑​xu​≤α(G)

is a facet of P(G)P(G)P(G).

Significance

Theorem 4.1 says that clique-sums are harmless for linear descriptions of P(G)P(G)P(G): a description of a graph glued along a clique is the union of descriptions of the pieces. It underlies the later decomposition theory of stable set polytopes (clique cutsets appear throughout the study of perfect and ttt-perfect graphs). Theorem 4.2 supplies a large class of facets with a combinatorial certificate, and was the starting point of the study of rank facets. Corollary 4.3 illustrates how polyhedral statements yield structural graph theory: the facet in Theorem 4.2 cannot coexist with a clique cutset.

All three results are proved in the paper, and Berge's corollary was known before it. None of them has, to the knowledge of this mission, a machine-checked proof; Mathlib has stable sets (IsIndepSet, indepNum), cliques and convex hulls, but no stable set polytope, no notion of facet via defining systems, and no α\alphaα-critical graphs. The mission produces these definitions and the formal proofs of Proposition 2.1, Theorems 4.1, 4.2 and Corollary 4.3.

Difficulty

Proposition 2.1 requires LP duality in the form "min = max with both optima attained" together with a separation argument that reduces arbitrary objectives to integral ones; the "if" direction fails without the nonnegativity rows, so the statement is sensitive to the exact form of the system. In Theorem 4.1 the inclusion P(G1∪G2)⊆P(G_1\cup G_2)\subseteqP(G1​∪G2​)⊆ (solutions of the union) is routine; the difficulty is the converse: a point whose restrictions lie in P(G1)P(G_1)P(G1​) and in P(G2)P(G_2)P(G2​) is a convex combination of stable sets on each side, and the two combinations have to be matched on the clique V1∩V2V_1\cap V_2V1​∩V2​ to produce stable sets of G1∪G2G_1\cup G_2G1​∪G2​. Theorem 4.2 concerns every defining linear system, so it cannot be proved by exhibiting one description; the natural route via "affinely independent tight points" is a different definition of facet and needs full-dimensionality of P(G)P(G)P(G) to be equivalent. Finally, the goal requires translating a cutset into a decomposition G=G1∪G2G=G_1\cup G_2G=G1​∪G2​ with complete intersection, and then showing that a union of two systems on smaller vertex sets cannot contain a positive multiple of ∑u∈Vxu≤α(G)\sum_{u\in V}x_u\le\alpha(G)∑u∈V​xu​≤α(G).

Formalization scope

  • Graphs are SimpleGraph V on a Fintype V with DecidableEq V. S(G)S(G)S(G) is a set of functions V → ℝ (incidence vectors of stable finsets), and P(G)P(G)P(G) is convexHull ℝ (stableVectors G).
  • Linear systems are indexed by finite types with real coefficients. "Defining linear system" is equality of the solution set with the polytope. IsFacet quantifies over all finite index types J : Type and all real systems whose solution set equals the polytope; it is the paper's definition, not the affinely-independent-points characterization.
  • Proposition 2.1: "min = max" means an attained minimum equal to the maximum; the hypothesis S≠∅S\neq\emptysetS=∅ is added (the paper's max⁡\maxmax over SSS needs it), and the nonnegativity rows are kept.
  • Theorem 4.1: the glued graph GGG lives on a type VVV with finsets V1∪V2=VV_1\cup V_2=VV1​∪V2​=V; G1,G2G_1,G_2G1​,G2​ are the induced subgraphs on V1,V2V_1,V_2V1​,V2​; "G1∩G2G_1\cap G_2G1​∩G2​ complete" is encoded as "V1∩V2V_1\cap V_2V1​∩V2​ is a clique of GGG and no edge joins V1−V2V_1-V_2V1​−V2​ to V2−V1V_2-V_1V2​−V1​", which is equivalent to the paper's hypotheses. The rows of each system are evaluated on the restriction of xxx.
  • Theorem 4.2: "G∗G^*G∗ connected" is Mathlib's Connected, which requires V≠∅V\neq\emptysetV=∅ — for V=∅V=\emptysetV=∅ the statement would be false. α(G)\alpha(G)α(G) is indepNum, cast to R\mathbb RR.
  • Corollary 4.3: "complete subgraph" is any clique set G.IsClique K, not only maximal cliques (the paper reserves "clique" for maximal complete subgraphs, but the corollary speaks of complete subgraphs), including K=∅K=\emptysetK=∅. "Cutset" means two vertices outside KKK joined by no path of G−KG-KG−K. The formalization "G−KG-KG−K is not connected" is ruled out: under Mathlib's convention it would make K=VK=VK=V a cutset and the statement false for K1K_1K1​ and K2K_2K2​.
  • Reusable infrastructure: the stable set polytope, facets via defining systems, Proposition 2.1 (shared with the other missions of this series), critical edges and α\alphaα-critical graphs. Contributions of intermediate lemmas (LP duality in the attained form, full-dimensionality of P(G)P(G)P(G), the cutset–decomposition equivalence) are welcome.

Selected references

  • V. Chvátal, On certain polytopes associated with graphs, J. Combin. Theory Ser. B 18 (1975) 138–154. https://doi.org/10.1016/0095-8956(75)90041-6
  • C. Berge, Graphes et hypergraphes, Dunod, Paris, 1970 (English translation: Graphs and Hypergraphs, North-Holland, 1973), Chapter 13, §3.
  • J. Edmonds, Maximum matching and a polyhedron with 0,1-vertices, J. Res. Nat. Bur. Standards 69B (1965) 125–130. https://doi.org/10.6028/jres.069B.013
  • M. W. Padberg, On the facial structure of set packing polyhedra, Math. Programming 5 (1973) 199–215. https://doi.org/10.1007/BF01580121
  • L. Lovász, Normal hypergraphs and the perfect graph conjecture, Discrete Math. 2 (1972) 253–267. https://doi.org/10.1016/0012-365X(72)90006-4
8 thms2 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryLinear Optimization·Captain: mikedeng1

On Certain Polytopes Associated with Graphs I: Clique Inequalities Define the Stable Set Polytope Exactly for Perfect GraphsResearch Paper

Motivation

Many combinatorial optimization problems ask for the best subset of a finite set subject to combinatorial side conditions. The polyhedral method replaces the finite family of feasible subsets by the convex hull of their incidence vectors and asks for an explicit system of linear inequalities describing that convex hull; once such a system is known, linear programming duality gives min–max theorems and certificates of optimality. The maximum weight stable set problem is the central test case: it is NP-hard in general, so no tractable complete description of its polytope is expected for all graphs, and the question becomes for which graphs a simple description suffices.

V. Chvátal's 1975 paper On certain polytopes associated with graphs answers this question for the two simplest families of valid inequalities, and its Section 3 connects the answer to Berge's perfect graphs. The result is a standard entry point to polyhedral combinatorics and is one of the ingredients behind the later polynomial-time algorithms for stable sets in perfect graphs by Grötschel, Lovász and Schrijver.

Timeline. Berge (1961) introduced perfect graphs and conjectured that a graph is perfect if and only if its complement is. Lovász (Normal hypergraphs and the perfect graph conjecture, Discrete Math. 1972; A characterization of perfect graphs, J. Combin. Theory Ser. B 1972) proved this, together with the characterization of perfection by α(GA) ω(GA)≥∣A∣\alpha(G_A)\,\omega(G_A)\ge|A|α(GA​)ω(GA​)≥∣A∣ and the invariance of perfection under vertex duplication. Fulkerson's theory of antiblocking polyhedra (1971–72) gave a polyhedral route to the same equivalence. Chvátal (received 1972, published 1975) gave the self-contained polyhedral statement formalized here, with a proof based on Lovász's two theorems.

Setting

A graph G=(V,E)G=(V,E)G=(V,E) is finite, undirected and loopless. A stable set is a set of vertices no two of which are adjacent. A clique is a maximal complete subgraph, and C(G)C(G)C(G) is the set of vertex sets W⊆VW\subseteq VW⊆V of the cliques of GGG.

S(G)⊆RVS(G)\subseteq\mathbb R^VS(G)⊆RV is the set of zero–one vectors x=(xu:u∈V)x=(x_u:u\in V)x=(xu​:u∈V) such that {u:xu=1}\{u:x_u=1\}{u:xu​=1} is stable, and the stable set polytope is P(G)=conv⁡S(G)P(G)=\operatorname{conv}S(G)P(G)=convS(G). A finite system of linear inequalities is a defining linear system of P(G)P(G)P(G) if its solution set is exactly P(G)P(G)P(G). For c∈RVc\in\mathbb R^Vc∈RV write cx=∑u∈Vcuxucx=\sum_{u\in V}c_ux_ucx=∑u∈V​cu​xu​.

GGG is perfect (the paper's α\alphaα-perfect) if for every zero–one vector ccc,

max⁡{cx:x∈S(G)}=min⁡{∑W∈C(G)λW: λW∈{0,1}, ∑W∈C(G), u∈WλW≥cu (u∈V)}.\max\{cx:x\in S(G)\}=\min\Big\{\sum_{W\in C(G)}\lambda_W:\ \lambda_W\in\{0,1\},\ \sum_{W\in C(G),\,u\in W}\lambda_W\ge c_u\ (u\in V)\Big\}.max{cx:x∈S(G)}=min{W∈C(G)∑​λW​: λW​∈{0,1}, W∈C(G),u∈W∑​λW​≥cu​ (u∈V)}.

For A⊆VA\subseteq VA⊆V, GAG_AGA​ is the induced subgraph, α(GA)\alpha(G_A)α(GA​) its stability number and ω(GA)\omega(G_A)ω(GA​) its clique number. To duplicate a vertex uuu is to add a new vertex u′u'u′ adjacent to all neighbours of uuu but not to uuu.

In the Lean development these are stableVectors G, stablePolytope G, maximalCliques G, IsPerfect G and duplicate G u in the namespace ChvatalPolytopes.Perfect.

Formalization targets

Goal: Theorem 3.1 (p. 140)

For every graph GGG, the system

−xu≤0(u∈V),∑u∈Wxu≤1(W∈C(G))-x_u\le0\quad(u\in V),\qquad\sum_{u\in W}x_u\le1\quad(W\in C(G))−xu​≤0(u∈V),u∈W∑​xu​≤1(W∈C(G))

is a defining linear system of P(G)P(G)P(G) if and only if GGG is perfect. Both directions are required.

Milestones

  1. Proposition 2.1 (pp. 139–140). For a finite nonempty set SSS of solutions of −xu≤0-x_u\le0−xu​≤0, ∑uaiuxu≤bi\sum_u a_{iu}x_u\le b_i∑u​aiu​xu​≤bi​ (i∈J)(i\in J)(i∈J), the solution set equals conv⁡S\operatorname{conv}SconvS if and only if for every c∈ZVc\in\mathbb Z^Vc∈ZV
max⁡{cx:x∈S}=min⁡{∑iλibi:λ≥0, ∑iλiaiu≥cu (u∈V)}.\max\{cx:x\in S\}=\min\Big\{\sum_i\lambda_ib_i:\lambda\ge0,\ \sum_i\lambda_ia_{iu}\ge c_u\ (u\in V)\Big\}.max{cx:x∈S}=min{i∑​λi​bi​:λ≥0, i∑​λi​aiu​≥cu​ (u∈V)}.
  1. Lovász's first theorem (§3, p. 140). Every nonperfect GGG has A⊆VA\subseteq VA⊆V with α(GA) ω(GA)<∣A∣\alpha(G_A)\,\omega(G_A)<|A|α(GA​)ω(GA​)<∣A∣.
  2. Lovász's second theorem (§3, p. 140). Duplicating a vertex of a perfect graph gives a perfect graph.
  3. Condition (iii) (p. 141). GGG is perfect if and only if for every c∈ZVc\in\mathbb Z^Vc∈ZV
max⁡{cx:x∈S(G)}=min⁡{∑W∈C(G)λW:λW≥0, ∑W∋uλW≥cu (u∈V)}.\max\{cx:x\in S(G)\}=\min\Big\{\sum_{W\in C(G)}\lambda_W:\lambda_W\ge0,\ \sum_{W\ni u}\lambda_W\ge c_u\ (u\in V)\Big\}.max{cx:x∈S(G)}=min{W∈C(G)∑​λW​:λW​≥0, W∋u∑​λW​≥cu​ (u∈V)}.

Significance

The result. The nonnegativity and clique inequalities are valid for P(G)P(G)P(G) for every graph. Theorem 3.1 says they are complete exactly for perfect graphs, so on perfect graphs the maximum weight stable set problem is a linear program over an explicitly described polytope, and weighted min–max theorems (stable sets versus clique covers) follow from LP duality. Combined with the perfect graph theorem, it gives a polyhedral characterization of perfect graphs, and it is the model for later results that identify graph classes by the facets of their stable set polytopes (odd-cycle inequalities, ttt-perfection, Section 7 of the same paper).

Formalizing it. The result is classical and proved. No machine-checked version of it is known, and Mathlib has neither perfect graphs nor stable set polytopes. The mission produces a formal statement of the polyhedral characterization with the paper's own notion of perfection, a formal version of the convex-hull/LP min–max principle (Proposition 2.1), which is reusable for any 0–1 polytope, and formal statements of the two theorems of Lovász that the proof relies on.

Difficulty

Proposition 2.1 reduces Theorem 3.1 to the equivalence of perfection with a fractional min–max for all integer weights. The obvious approach to that equivalence fails in both directions. From perfection one only gets the min–max for zero–one weights and zero–one multipliers; general integer weights do not reduce to zero–one weights by linearity, because the minimum over clique covers is not additive in ccc. Conversely, a fractional clique cover of value α\alphaα does not directly produce an integral one. The paper crosses this gap with two theorems of Lovász: a numerical certificate of nonperfection, and the invariance of perfection under vertex duplication. Both are substantial graph-theoretic results in their own right, and neither follows from the definitions by routine manipulation.

Proposition 2.1 itself needs separation of a point from a polytope by an integral objective and LP strong duality with the nonnegativity rows handled separately.

Formalization scope

Vertices form a finite type V with decidable equality; a graph is a SimpleGraph V. S(G)S(G)S(G) is a set of functions V → ℝ, and P(G)P(G)P(G) is Mathlib's convexHull ℝ of it. C(G)C(G)C(G) is the finset of finsets that are maximal among cliques (Maximal), as on the page; with V=∅V=\emptysetV=∅ the only maximal clique is ∅\emptyset∅. "Defining linear system" is an equality of sets. Every "max = min" is written out in full: there is a value mmm that is the maximum over SSS (attained and an upper bound), some feasible multiplier vector attains mmm, and every feasible multiplier vector has objective at least mmm. Clique multipliers are functions Finset V → ℝ read only on C(G)C(G)C(G).

Explicit conventions and added hypotheses:

  • In Proposition 2.1 the index set JJJ is a finite type, coefficients are real, the nonnegativity rows are kept as a separate conjunct x≥0x\ge0x≥0, and SSS is assumed nonempty (the paper's max⁡\maxmax over SSS needs it).
  • α\alphaα and ω\omegaω are Mathlib's indepNum and cliqueNum (natural numbers) of G.induce A.
  • The duplicated graph lives on Option V, with none the new vertex.

Perfection is the paper's zero–one min–max, not "the clique system defines P(G)P(G)P(G)" (which would make the goal a tautology) and not Berge's χ(GA)=ω(GA)\chi(G_A)=\omega(G_A)χ(GA​)=ω(GA​) (a different definition, equivalent only through the perfect graph theorem). P(G)P(G)P(G) is the convex hull of S(G)S(G)S(G), never the solution set of an inequality system.

Needed infrastructure, all reusable: integral separation from a rational polytope and LP strong duality in the form max⁡{cx:Ax≤b,x≥0}=min⁡{λb:λA≥c,λ≥0}\max\{cx:Ax\le b,x\ge0\}=\min\{\lambda b:\lambda A\ge c,\lambda\ge0\}max{cx:Ax≤b,x≥0}=min{λb:λA≥c,λ≥0}; basic facts about stable sets and maximal cliques of induced subgraphs and of duplicated graphs; invariance of IsPerfect under graph isomorphism and under taking induced subgraphs. Proofs of the Lovász milestones, which have independent value for a Mathlib theory of perfect graphs, are welcome.

Selected references

  • V. Chvátal, On certain polytopes associated with graphs, J. Combin. Theory Ser. B 18 (1975) 138–154. https://doi.org/10.1016/0095-8956(75)90041-6
  • L. Lovász, Normal hypergraphs and the perfect graph conjecture, Discrete Math. 2 (1972) 253–267. https://doi.org/10.1016/0012-365X(72)90006-4
  • L. Lovász, A characterization of perfect graphs, J. Combin. Theory Ser. B 13 (1972) 95–98. https://doi.org/10.1016/0095-8956(72)90045-7
  • D. R. Fulkerson, Anti-blocking polyhedra, J. Combin. Theory Ser. B 12 (1972) 50–71. https://doi.org/10.1016/0095-8956(72)90032-9
  • M. Grötschel, L. Lovász, A. Schrijver, Geometric Algorithms and Combinatorial Optimization, Springer, 1988. https://doi.org/10.1007/978-3-642-97881-4
8 thms2 active usersReviewed
🏆Completed
OptimizationTheoretical Computer Science·Captain: mikedeng1

An Optimal On-Line Algorithm for Metrical Task System 1: Every n-State Metrical Task System Has Competitive Ratio 2n - 1Research Paper

Motivation

A system that processes a stream of tasks can often be configured in several ways, and the configuration affects both the cost of the current task and the cost of switching before the next one: paging schemes, replicated files, server placements. When the future is unknown, the natural worst-case yardstick is competitive analysis, introduced by Sleator and Tarjan for list update and paging (Sleator–Tarjan 1985): an on-line strategy is compared with the optimal strategy that knows the whole input in advance.

Borodin, Linial and Saks (J. ACM 1992; conference version STOC 1987) proposed metrical task systems as a single model containing all such problems, and determined the exact deterministic competitive ratio of every such system. Their theorem is the starting point of the on-line-algorithms literature on metrical task systems, the kkk-server problem (Manasse–McGeoch–Sleator 1990) and their randomized variants.

Timeline. 1985: Sleator and Tarjan introduce competitive analysis for paging and list update. 1987: Borodin, Linial and Saks prove w(S,d)=2n−1w(S,d)=2n-1w(S,d)=2n−1 for every nnn-state metrical task system (journal version 1992). 1990: Manasse, McGeoch and Sleator extend the task-system model to restricted task sets and pose the kkk-server conjecture. The randomized ratio of the uniform task system, bounded in the same paper between H(n)H(n)H(n) and 2H(n)2H(n)2H(n), is the subject of the companion mission.

Setting

A task system (S,d)(S,d)(S,d) has a finite set SSS of nnn states and a transition-cost matrix ddd with d(i,i)=0d(i,i)=0d(i,i)=0, d(i,j)>0d(i,j)>0d(i,j)>0 for i≠ji\neq ji=j, and the triangle inequality d(i,j)+d(j,k)≥d(i,k)d(i,j)+d(j,k)\ge d(i,k)d(i,j)+d(j,k)≥d(i,k). It is metrical if also d(i,j)=d(j,i)d(i,j)=d(j,i)d(i,j)=d(j,i).

A task TTT is a vector of nonnegative processing costs T(s)T(s)T(s), s∈Ss\in Ss∈S. Given a task sequence T=T1⋯Tm\mathbf T=T^1\cdots T^mT=T1⋯Tm and an initial state s0s_0s0​, a schedule is a map σ:{0,…,m}→S\sigma:\{0,\dots,m\}\to Sσ:{0,…,m}→S with σ(0)=s0\sigma(0)=s_0σ(0)=s0​; task TiT^iTi is processed in state σ(i)\sigma(i)σ(i), and the cost is

c(T;σ)=∑i=1md(σ(i−1),σ(i))+∑i=1mTi(σ(i)).c(\mathbf T;\sigma)=\sum_{i=1}^m d(\sigma(i-1),\sigma(i))+\sum_{i=1}^m T^i(\sigma(i)).c(T;σ)=i=1∑m​d(σ(i−1),σ(i))+i=1∑m​Ti(σ(i)).

The off-line optimum c0(T)c_0(\mathbf T)c0​(T) is the minimum over all schedules. An on-line algorithm AAA chooses σ(i)\sigma(i)σ(i) knowing only s0s_0s0​ and T1,…,TiT^1,\dots,T^iT1,…,Ti; its cost is cA(T)c_A(\mathbf T)cA​(T). For w>0w>0w>0, AAA is www-competitive if there is a constant KwK_wKw​ with cA(T)≤w c0(T)+Kwc_A(\mathbf T)\le w\,c_0(\mathbf T)+K_wcA​(T)≤wc0​(T)+Kw​ for every finite task sequence. The competitive ratio of AAA is w(A)=inf⁡{w:A is w-competitive}w(A)=\inf\{w: A\text{ is }w\text{-competitive}\}w(A)=inf{w:A is w-competitive}, and the competitive ratio of the task system is w(S,d)=inf⁡Aw(A)w(S,d)=\inf_A w(A)w(S,d)=infA​w(A).

For the upper bound the paper also uses continuous-time schedules, in which task TiT^iTi occupies the interval [i,i+1)[i,i+1)[i,i+1) and the scheduler may change state at any real time, paying ∫ii+1Ti(σ(t)) dt\int_i^{i+1}T^i(\sigma(t))\,dt∫ii+1​Ti(σ(t))dt for processing. For a general (possibly asymmetric) matrix ddd, the cycle offset ratio ψ(d)\psi(d)ψ(d) is the maximum over closed walks s0,…,sk=s0s_0,\dots,s_k=s_0s0​,…,sk​=s0​ of ∑id(si−1,si)/∑id(si,si−1)\sum_i d(s_{i-1},s_i)\big/\sum_i d(s_i,s_{i-1})∑i​d(si−1​,si​)/∑i​d(si​,si−1​); it equals 111 when ddd is symmetric.

Formalization targets

Goal: Theorem 1.1

For every metrical task system (S,d)(S,d)(S,d) with nnn states,

w(S,d)=2n−1.w(S,d)=2n-1 .w(S,d)=2n−1.

The value depends on nnn only, not on the distances.

Milestones

  • Lemma 2.1. If c0(T1⋯Tm)→∞c_0(T^1\cdots T^m)\to\inftyc0​(T1⋯Tm)→∞ along an infinite task sequence T\mathbf TT, then w(A)≥wT(A)=lim sup⁡mcA/c0w(A)\ge w_{\mathbf T}(A)=\limsup_m c_A/c_0w(A)≥wT​(A)=limsupm​cA​/c0​.
  • Theorem 2.2. Against the cruel taskmaster M(ε)M(\varepsilon)M(ε), which charges ε\varepsilonε in the state the algorithm currently occupies,
wT(ε)(A)≥2n−11+ε/min⁡i≠jd(i,j).w_{\mathbf T(\varepsilon)}(A)\ge\frac{2n-1}{1+\varepsilon/\min_{i\neq j}d(i,j)} .wT(ε)​(A)≥1+ε/mini=j​d(i,j)2n−1​.
  • Lemma 3.1. Every on-line continuous-time algorithm is matched, on every task sequence, by an on-line discrete-time algorithm.
  • Lemmas 6.3, 6.4, 6.2. Properties of the functions fkf_kfk​ that drive the algorithm Ad∗A^*_dAd∗​: fk(s)−fk(s′)≤d(s′,s)f_k(s)-f_k(s')\le d(s',s)fk​(s)−fk​(s′)≤d(s′,s); the identity 2∑s≠skfk(s)+fk(sk)=Ck−1+∑i≤kd(si,si−1)2\sum_{s\ne s_k}f_k(s)+f_k(s_k)=C_{k-1}+\sum_{i\le k}d(s_i,s_{i-1})2∑s=sk​​fk​(s)+fk​(sk​)=Ck−1​+∑i≤k​d(si​,si−1​); and fk≤hkf_k\le h_kfk​≤hk​, the off-line cost at the kkk-th transition time.
  • Theorem 6.1 (= Theorem 1.2). For every task system, symmetric or not, Ad∗A^*_dAd∗​ has competitive ratio at most (2n−1)ψ(d)(2n-1)\psi(d)(2n−1)ψ(d).

Significance

The theorem settles the deterministic competitive ratio of the whole class of metrical task systems: the lower bound says that no deterministic on-line strategy can beat 2n−12n-12n−1 on any metric, and the upper bound supplies one algorithm that achieves it on every metric. For asymmetric costs the same algorithm gives (2n−1)ψ(d)(2n-1)\psi(d)(2n−1)ψ(d). The 2n−12n-12n−1 lower bound is also the benchmark against which restricted models, such as paging and the kkk-server problem, measure their improvements, and the randomized question it leaves open drove much of the later work on metrical task systems.

The result was proved in 1987 and is standard; to the best of our knowledge no machine-checked proof exists. A formal development would provide a reusable model of deterministic on-line algorithms and competitiveness (on-line maps from task prefixes, additive competitiveness, infima over algorithms), an adversary construction by mutual recursion with an arbitrary algorithm, and an exact treatment of continuous-time schedules with piecewise-constant task costs. These pieces are reusable for other competitive-analysis results.

Difficulty

The lower bound is not a single bad input: the adversary is built from the algorithm it plays against, so the hard task sequence exists only as a recursion interleaved with the algorithm's choices, and the bound must hold for every deterministic on-line map, including ones that behave erratically. Obtaining the exact constant 2n−12n-12n−1, rather than some Ω(n)\Omega(n)Ω(n) bound, requires a sharp estimate of the off-line cost of that sequence.

The upper bound needs an algorithm defined in continuous time, whose transition times are determined by accumulated processing costs; the budgets can be zero, so transitions can be instantaneous, and a formal cost must remain well defined before one knows that only finitely many transitions occur. Relating the off-line cost function at those times to the recursively defined fkf_kfk​ (Lemma 6.2) requires reasoning about all continuous-time off-line schedules. Finally, the goal combines both directions through infima over all on-line algorithms, and the discretization of Lemma 3.1 must be composed with the continuous-time algorithm.

Formalization scope

States form a finite type S (Fintype, DecidableEq, Nonempty); the goal is stated for all n≥1n\ge1n≥1, where n=1n=1n=1 gives w(S,d)=1w(S,d)=1w(S,d)=1. Task costs are finite nonnegative reals; the paper also allows +∞+\infty+∞ entries, which are excluded (this affects neither bound). A task sequence is T : Fin m → S → ℝ, with T i the paper's Ti+1T^{i+1}Ti+1, and a schedule is σ : Fin (m+1) → S. An on-line algorithm is a map sending (s0,[T1,…,Ti])(s_0,[T^1,\dots,T^i])(s0​,[T1,…,Ti]) to σ(i)\sigma(i)σ(i), so on-line behaviour is built into the type. Competitiveness is written additively, cA≤w c0+Kc_A\le w\,c_0+KcA​≤wc0​+K, with KKK independent of the task sequence and of s0s_0s0​.

The competitive ratio competitiveRatio d is the real infimum of the set of all www for which some on-line algorithm is www-competitive. It is not defined as an infimum of per-algorithm real infima: a non-competitive algorithm has WA=∅W_A=\emptysetWA​=∅, whose real infimum is 000, and that would drag w(S,d)w(S,d)w(S,d) to 000 for every system. Since the goal's value 2n−12n-12n−1 is at least 111 while the empty set's real infimum is 000, the goal cannot hold vacuously.

Continuous-time algorithms are given as lists of (state,length)(\text{state},\text{length})(state,length) pieces per unit interval; processing integrals are exact finite sums. The algorithm Ad∗A^*_dAd∗​ minimizes over states different from the current one, as its proof requires (the printed rule ranges over all states, and would stall); ties are left arbitrary. Its budgets may be 000, its entry times are Option ℝ, and its cost is a sum in [0,∞][0,\infty][0,∞], so that Theorem 6.1 itself asserts that only finitely many transitions occur. The ratio ψ(d)\psi(d)ψ(d) excludes closed walks that never move, and Theorems 2.2 and 6.1 require n≥2n\ge2n≥2, where min⁡i≠jd(i,j)\min_{i\ne j}d(i,j)mini=j​d(i,j) and ψ(d)\psi(d)ψ(d) are defined. Lemma 3.1 is stated comparing AAA with A′A'A′ (the printed statement says "as well as AAA").

A complete development needs: the discrete model and off-line optimum (finite minimum over schedules), limsup arguments in EReal, continuous-time schedules with piecewise-constant costs, and the recursion defining Ad∗A^*_dAd∗​. Proofs of any milestone, including the purely combinatorial Lemmas 6.3 and 6.4, are welcome, as is a formal composition of Lemma 3.1 with Theorem 6.1.

Selected references

  • A. Borodin, N. Linial, M. E. Saks, An optimal on-line algorithm for metrical task system, Journal of the ACM 39(4):745–763, 1992. https://doi.org/10.1145/146585.146588
  • D. D. Sleator, R. E. Tarjan, Amortized efficiency of list update and paging rules, Communications of the ACM 28(2):202–208, 1985. https://doi.org/10.1145/2786.2793
  • M. S. Manasse, L. A. McGeoch, D. D. Sleator, Competitive algorithms for server problems, Journal of Algorithms 11(2):208–230, 1990. https://doi.org/10.1016/0196-6774(90)90003-W
12 thms2 active usersReviewed
🏆Completed
Convex OptimizationOptimization·Captain: mikedeng1

Nonmonotone Spectral Projected Gradient Methods on Convex Sets I: SPG2 Is Well Defined and Its Accumulation Points Are StationaryResearch Paper

Motivation

Minimizing a smooth function over a closed convex set Ω⊆Rn\Omega\subseteq\mathbb R^nΩ⊆Rn on which projection is cheap (a box, a ball, a simplex) is a routine subproblem in large-scale optimization: box-constrained minimization is the inner solver of augmented Lagrangian methods, and bound-constrained least squares, image restoration and density estimation all have this form. The classical projected gradient method of Goldstein and of Levitin and Polyak is simple and needs only gradients and projections, but with constant or Armijo-type step lengths it is slow.

Spectral projected gradient (SPG) methods, introduced by Birgin, Martínez and Raydan (paper), combine three ingredients: the projected gradient direction; the Barzilai–Borwein (spectral) step length αk+1=⟨sk,sk⟩/⟨sk,yk⟩\alpha_{k+1}=\langle s_k,s_k\rangle/\langle s_k,y_k\rangleαk+1​=⟨sk​,sk​⟩/⟨sk​,yk​⟩, an inverse Rayleigh quotient of the average Hessian along the last step; and the nonmonotone line search of Grippo, Lampariello and Lucidi, which compares a trial value with the worst of the last MMM objective values instead of the current one. The method is widely used in practice, and its analysis is the template for many later nonmonotone projected methods.

Timeline:

  • 1964–1966: Goldstein; Levitin and Polyak introduce gradient projection.
  • 1976: Bertsekas analyses the Armijo rule along the projection arc.
  • 1986: Grippo, Lampariello and Lucidi introduce the nonmonotone line search for unconstrained problems.
  • 1988: Barzilai and Borwein propose the two-point step size; Raydan (1993, 1997) proves convergence for quadratics and combines it with nonmonotone search in the unconstrained case.
  • 2000: Birgin, Martínez and Raydan define SPG1 and SPG2 for convex constraints (SIAM J. Optim. 10(4)).
  • 2003: the same authors publish the convergence proof that Theorem 2.1 refers to, in the inexact setting (IMA J. Numer. Anal. 23).

Setting

Let Ω⊆Rn\Omega\subseteq\mathbb R^nΩ⊆Rn be nonempty, closed and convex, with the Euclidean inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ and norm ∥⋅∥\|\cdot\|∥⋅∥. Let fff have continuous partial derivatives on an open set U⊇ΩU\supseteq\OmegaU⊇Ω and write g(x)=∇f(x)g(x)=\nabla f(x)g(x)=∇f(x). The orthogonal projection P(z)P(z)P(z) is the unique point of Ω\OmegaΩ nearest to zzz. The scaled projected gradient is gt(x)=P(x−t g(x))−xg_t(x)=P(x-t\,g(x))-xgt​(x)=P(x−tg(x))−x for x∈Ωx\in\Omegax∈Ω, t>0t>0t>0. A point xˉ\bar xxˉ is a constrained stationary point if ⟨g(xˉ),x−xˉ⟩≥0\langle g(\bar x),x-\bar x\rangle\ge0⟨g(xˉ),x−xˉ⟩≥0 for all x∈Ωx\in\Omegax∈Ω.

The parameters are an integer M≥1M\ge1M≥1, reals 0<αmin⁡<αmax⁡0<\alpha_{\min}<\alpha_{\max}0<αmin​<αmax​, a sufficient-decrease constant γ∈(0,1)\gamma\in(0,1)γ∈(0,1) and safeguards 0<σ1<σ2<10<\sigma_1<\sigma_2<10<σ1​<σ2​<1. Algorithm SPG2 starts from x0∈Ωx_0\in\Omegax0​∈Ω and α0∈[αmin⁡,αmax⁡]\alpha_0\in[\alpha_{\min},\alpha_{\max}]α0​∈[αmin​,αmax​] and at iteration k=0,1,…k=0,1,\dotsk=0,1,…:

  1. Stop test. If ∥P(xk−g(xk))−xk∥=0\|P(x_k-g(x_k))-x_k\|=0∥P(xk​−g(xk​))−xk​∥=0, stop: xkx_kxk​ is stationary.
  2. Backtracking. Set dk=P(xk−αkg(xk))−xkd_k=P(x_k-\alpha_k g(x_k))-x_kdk​=P(xk​−αk​g(xk​))−xk​ and λ=1\lambda=1λ=1. While
f(xk+λdk)≤max⁡0≤j≤min⁡{k,M−1}f(xk−j)+γλ⟨dk,g(xk)⟩(3)f(x_k+\lambda d_k)\le\max_{0\le j\le\min\{k,M-1\}}f(x_{k-j})+\gamma\lambda\langle d_k,g(x_k)\rangle\qquad(3)f(xk​+λdk​)≤0≤j≤min{k,M−1}max​f(xk−j​)+γλ⟨dk​,g(xk​)⟩(3)

fails, replace λ\lambdaλ by any λnew∈[σ1λ,σ2λ]\lambda_{\rm new}\in[\sigma_1\lambda,\sigma_2\lambda]λnew​∈[σ1​λ,σ2​λ]. When (3) holds, λk=λ\lambda_k=\lambdaλk​=λ and xk+1=xk+λkdkx_{k+1}=x_k+\lambda_kd_kxk+1​=xk​+λk​dk​. 3. Spectral step. With sk=xk+1−xks_k=x_{k+1}-x_ksk​=xk+1​−xk​, yk=g(xk+1)−g(xk)y_k=g(x_{k+1})-g(x_k)yk​=g(xk+1​)−g(xk​), bk=⟨sk,yk⟩b_k=\langle s_k,y_k\ranglebk​=⟨sk​,yk​⟩: αk+1=αmax⁡\alpha_{k+1}=\alpha_{\max}αk+1​=αmax​ if bk≤0b_k\le0bk​≤0, else αk+1=min⁡{αmax⁡,max⁡{αmin⁡,⟨sk,sk⟩/bk}}\alpha_{k+1}=\min\{\alpha_{\max},\max\{\alpha_{\min},\langle s_k,s_k\rangle/b_k\}\}αk+1​=min{αmax​,max{αmin​,⟨sk​,sk​⟩/bk​}}.

In Lean the projection is a function P with the predicate IsProjOnto Ω P, gtg_tgt​ is scaledProjGrad P f t, stationarity is IsConstrainedStationary Ω f, the maximum in (3) is nonmonotoneRef f x M k, and an infinite run is IsSPG2Run Ω f P M αmin αmax γ σ₁ σ₂ x α.

Formalization targets

Goal: Theorem 2.1, accumulation points are stationary

For every infinite run (xk,αk)(x_k,\alpha_k)(xk​,αk​) of SPG2 and every accumulation point xˉ\bar xxˉ of (xk)(x_k)(xk​),

⟨g(xˉ),x−xˉ⟩≥0for all x∈Ω.\langle g(\bar x),x-\bar x\rangle\ge0\qquad\text{for all }x\in\Omega.⟨g(xˉ),x−xˉ⟩≥0for all x∈Ω.

The statement fixes no parameter values and assumes neither convexity of fff nor a bounded level set.

Milestones

  • Lemma 2.1 (ii). For xˉ∈Ω\bar x\in\Omegaxˉ∈Ω and t∈(0,αmax⁡]t\in(0,\alpha_{\max}]t∈(0,αmax​]: gt(xˉ)=0g_t(\bar x)=0gt​(xˉ)=0 iff xˉ\bar xxˉ is a constrained stationary point.
  • Lemma 2.1 (i). For x∈Ωx\in\Omegax∈Ω and t∈(0,αmax⁡]t\in(0,\alpha_{\max}]t∈(0,αmax​]:
⟨g(x),gt(x)⟩≤−1t∥gt(x)∥22≤−1αmax⁡∥gt(x)∥22.\langle g(x),g_t(x)\rangle\le-\tfrac1t\|g_t(x)\|_2^2\le-\tfrac1{\alpha_{\max}}\|g_t(x)\|_2^2.⟨g(x),gt​(x)⟩≤−t1​∥gt​(x)∥22​≤−αmax​1​∥gt​(x)∥22​.
  • Theorem 2.1, first clause (SPG2 is well defined). At a point where Step 1 does not stop, every admissible backtracking sequence reaches a step satisfying (3). The step is stated for an arbitrary reference value R≥f(x)R\ge f(x)R≥f(x), which covers the maximum in (3).
  • Section 2, p. 4. The iterates remain in Ω0={x∈Ω:f(x)≤f(x0)}\Omega_0=\{x\in\Omega:f(x)\le f(x_0)\}Ω0​={x∈Ω:f(x)≤f(x0​)}.

Significance

Theorem 2.1 is the global convergence guarantee for SPG2. It holds without monotone decrease of fff and without any restriction on the spectral step beyond the safeguards. These are the two features that make the method fast in practice, and together they mean that no classical monotone projected-gradient argument applies directly. The same statement underlies the convergence claims of the SPG software (ACM TOMS Algorithm 813) and of the many methods that reuse the nonmonotone spectral framework: inexact SPG, augmented Lagrangian inner solvers, and projected BB methods for machine learning.

Status: the theorem is proved in the literature. This paper's proof reads "See [7]", a pointer to Birgin, Martínez and Raydan (2003). No Lean formalization of this theorem, of the nonmonotone Armijo analysis, or of the projected-gradient stationarity lemma is known. The mission produces a formal proof and a reusable Lean interface for projection-based first-order methods on convex sets.

Difficulty

The obvious argument for monotone descent methods is to show that f(xk)f(x_k)f(xk​) decreases, so that the total decrease is finite and the per-iteration decrease γλk∣⟨dk,g(xk)⟩∣\gamma\lambda_k|\langle d_k,g(x_k)\rangle|γλk​∣⟨dk​,g(xk​)⟩∣ tends to zero. Here f(xk)f(x_k)f(xk​) need not decrease. Only the reference value max⁡0≤j≤min⁡{k,M−1}f(xk−j)\max_{0\le j\le\min\{k,M-1\}}f(x_{k-j})max0≤j≤min{k,M−1}​f(xk−j​) is nonincreasing, and a small decrease of this maximum along the whole sequence does not by itself give a small decrease at the iterates that approach a given accumulation point xˉ\bar xxˉ. A second difficulty is that the accepted step lengths λk\lambda_kλk​ may tend to zero along the subsequence, while fff is C1C^1C1 only on a neighbourhood of Ω\OmegaΩ and no Lipschitz constant for ggg is available, so no uniform sufficient-decrease estimate holds. The spectral steps αk\alpha_kαk​ vary within [αmin⁡,αmax⁡][\alpha_{\min},\alpha_{\max}][αmin​,αmax​], so the directions dkd_kdk​ are not a fixed function of xkx_kxk​.

Formalization scope

  • Space and data. The space is EuclideanSpace ℝ (Fin n) with inner ℝ and the 2-norm. fff is a total function EuclideanSpace ℝ (Fin n) → ℝ with ContDiffOn ℝ 1 f U on an open U ⊇ Ω, and ggg is Mathlib's gradient f. The algorithm evaluates fff and ggg only at points of Ω\OmegaΩ.
  • Iteration and trials. Iterations are indexed from 000. The backtracking choice (2) is universally quantified: a run carries, at each iteration, a finite trial list λ(0)=1\lambda^{(0)}=1λ(0)=1, λ(i+1)∈[σ1λ(i),σ2λ(i)]\lambda^{(i+1)}\in[\sigma_1\lambda^{(i)},\sigma_2\lambda^{(i)}]λ(i+1)∈[σ1​λ(i),σ2​λ(i)], in which test (3) fails at every trial but the last and holds at the last.
  • Step size. αk+1\alpha_{k+1}αk+1​ is given by Step 3 exactly.
  • Accumulation point. An accumulation point is MapClusterPt x̄ atTop x.
  • Excluded simplifications. A run predicate that accepts any positive step, or lets αk+1\alpha_{k+1}αk+1​ range freely over [αmin⁡,αmax⁡][\alpha_{\min},\alpha_{\max}][αmin​,αmax​], is not SPG2. Nor is a goal stating gt(xˉ)=0g_t(\bar x)=0gt​(xˉ)=0 instead of the variational inequality, or one that adds convexity of fff, a Lipschitz gradient or a bounded level set.
  • Non-vacuity. The hypotheses of the goal are satisfiable: for f(x)=∥x∥2f(x)=\|x\|^2f(x)=∥x∥2, Ω=Rn\Omega=\mathbb R^nΩ=Rn, M=1M=1M=1, αmin⁡=1/8\alpha_{\min}=1/8αmin​=1/8, αmax⁡=1/4\alpha_{\max}=1/4αmax​=1/4, γ=1/2\gamma=1/2γ=1/2 and v≠0v\ne0v=0, the iterates xk=2−kvx_k=2^{-k}vxk​=2−kv with αk=1/4\alpha_k=1/4αk​=1/4 form an infinite run with accumulation point 000.
  • Infrastructure. A complete development needs the variational characterization of the projection (Mathlib has it for the iInf form: norm_eq_iInf_iff_real_inner_le_zero), continuity properties of the projection, a mean-value estimate for C1C^1C1 functions on segments in Ω\OmegaΩ, and the nonmonotone reference-value bookkeeping. The projection lemmas and the nonmonotone bookkeeping are reusable beyond this mission, in particular for the companion mission on SPG1, and contributions of them as separate lemmas are welcome.

Selected references

  • E. G. Birgin, J. M. Martínez, M. Raydan, Nonmonotone spectral projected gradient methods on convex sets, SIAM J. Optim. 10(4) (2000) 1196–1211; authors' updated version, July 2004. https://doi.org/10.1137/S1052623497330963, https://www.ime.unicamp.br/~martinez/bmr.pdf
  • E. G. Birgin, J. M. Martínez, M. Raydan, Inexact spectral projected gradient methods on convex sets, IMA J. Numer. Anal. 23 (2003) 539–559. https://doi.org/10.1093/imanum/23.4.539
  • J. Barzilai, J. M. Borwein, Two-point step size gradient methods, IMA J. Numer. Anal. 8 (1988) 141–148. https://doi.org/10.1093/imanum/8.1.141
  • L. Grippo, F. Lampariello, S. Lucidi, A nonmonotone line search technique for Newton's method, SIAM J. Numer. Anal. 23 (1986) 707–716. https://doi.org/10.1137/0723046
  • M. Raydan, The Barzilai and Borwein gradient method for the large scale unconstrained minimization problem, SIAM J. Optim. 7 (1997) 26–33. https://doi.org/10.1137/S1052623494266365
  • D. P. Bertsekas, On the Goldstein–Levitin–Polyak gradient projection method, IEEE Trans. Automat. Control 21 (1976) 174–184. https://doi.org/10.1109/TAC.1976.1101194
10 thms2 active usersReviewed
🏆Completed
Convex OptimizationOptimization·Captain: mikedeng1

Robust Solutions of Optimization Problems Affected by Uncertain Probabilities II: A Self-Concordant Barrier for the Perspective ConstraintResearch Paper

Motivation

Robust optimization protects a decision against every scenario in an uncertainty set. When the uncertain data are probabilities, a natural uncertainty set is a ball around a nominal distribution measured by a φ-divergence (Kullback–Leibler, Burg entropy, χ², Hellinger and others). Ben-Tal, den Hertog, De Waegenaere, Melenberg and Rennen (Management Science 59(2), 2013) show that the robust counterpart of a linear constraint over such a set is a finite convex system, and then ask whether that system is computationally tractable: can an interior-point method solve it in polynomial time?

For the Burg and Kullback–Leibler divergences the reformulated constraints (Eqs. (29) and (32) of the paper) have the shape λf(si/λ)≤…\lambda f(s_i/\lambda)\le\dotsλf(si​/λ)≤…, a perspective constraint. Polynomial-time solvability by interior-point methods follows once the constraint set carries a self-concordant barrier in the sense of Nesterov and Nemirovski (Interior-Point Polynomial Algorithms in Convex Programming, SIAM 1994). Theorem 2 of the paper supplies such a barrier for every perspective constraint whose generating function satisfies a one-dimensional differential inequality. The same question arises for perspective and relative-entropy cones in conic optimization generally, so the criterion is of interest beyond φ-divergences.

Setting

A function φ:F→R\varphi:F\to\mathbb Rφ:F→R on an open convex set F⊆RnF\subseteq\mathbb R^nF⊆Rn is κ\kappaκ-self-concordant (κ≥0\kappa\ge0κ≥0) if it is three times continuously differentiable on FFF and for every y∈Fy\in Fy∈F and every direction h∈Rnh\in\mathbb R^nh∈Rn

∣∇3φ(y)[h,h,h]∣≤2κ (hT∇2φ(y)h)3/2,\bigl|\nabla^3\varphi(y)[h,h,h]\bigr|\le 2\kappa\,\bigl(h^{\mathsf T}\nabla^2\varphi(y)h\bigr)^{3/2},​∇3φ(y)[h,h,h]​≤2κ(hT∇2φ(y)h)3/2,

where ∇kφ(y)[h,…,h]\nabla^k\varphi(y)[h,\dots,h]∇kφ(y)[h,…,h] is the kkk-th differential of φ\varphiφ at yyy in direction hhh (Definition 1, p. 350). In Lean this is PhiDivRobust.Barrier.IsSelfConcordant κ F φ.

Let fff be a real function on (0,∞)(0,\infty)(0,∞). Its perspective is g(s,y)=y f(s/y)g(s,y)=y\,f(s/y)g(s,y)=yf(s/y) for s,y>0s,y>0s,y>0 (perspective f). The constraint set (34) is

{(s,y,z): yf(s/y)≤z, s≥0, y≥0},\{(s,y,z):\ y f(s/y)\le z,\ s\ge0,\ y\ge0\},{(s,y,z): yf(s/y)≤z, s≥0, y≥0},

and its logarithmic barrier (35) is

φB(s,y,z)=−ln⁡(z−yf(s/y))−ln⁡s−ln⁡y\varphi_B(s,y,z)=-\ln\bigl(z-yf(s/y)\bigr)-\ln s-\ln yφB​(s,y,z)=−ln(z−yf(s/y))−lns−lny

(logBarrier f), finite on the open set Ff={(s,y,z):s>0, y>0, yf(s/y)<z}F_f=\{(s,y,z): s>0,\ y>0,\ yf(s/y)<z\}Ff​={(s,y,z):s>0, y>0, yf(s/y)<z} (barrierDomain f). Directions are h=(h1,h2)h=(h_1,h_2)h=(h1​,h2​) for ggg, with h1h_1h1​ along sss and h2h_2h2​ along yyy, and h∈R3h\in\mathbb R^3h∈R3 for φB\varphi_BφB​.

Formalization targets

Goal: Theorem 2 (p. 350)

If fff is convex on (0,∞)(0,\infty)(0,∞) and, for some κ>0\kappa>0κ>0,

∣f′′′(s)∣≤κ f′′(s)s(s>0),(33)|f'''(s)|\le\kappa\,\frac{f''(s)}{s}\qquad(s>0),\tag{33}∣f′′′(s)∣≤κsf′′(s)​(s>0),(33)

then φB\varphi_BφB​ is (2+23κ)\bigl(2+\tfrac{\sqrt2}{3}\kappa\bigr)(2+32​​κ)-self-concordant on FfF_fFf​.

Milestones (the displayed steps of the proof)

  1. Eq. (37): ∇2g(s,y)[h,h]=f′′(s/y)(h12/y−2sh1h2/y2+s2h22/y3)\nabla^2 g(s,y)[h,h]=f''(s/y)\bigl(h_1^2/y-2sh_1h_2/y^2+s^2h_2^2/y^3\bigr)∇2g(s,y)[h,h]=f′′(s/y)(h12​/y−2sh1​h2​/y2+s2h22​/y3).
  2. The third differential of ggg in terms of f′′(s/y)f''(s/y)f′′(s/y) and f′′′(s/y)f'''(s/y)f′′′(s/y).
  3. Under (33), inequality (36) with β=3+κ2\beta=3+\kappa\sqrt2β=3+κ2​:
∣∇3g(s,y)[h,h,h]∣≤β hT∇2g(s,y)h h12/s2+h22/y2.\bigl|\nabla^3 g(s,y)[h,h,h]\bigr|\le\beta\,h^{\mathsf T}\nabla^2 g(s,y)h\,\sqrt{h_1^2/s^2+h_2^2/y^2}.​∇3g(s,y)[h,h,h]​≤βhT∇2g(s,y)hh12​/s2+h22​/y2​.
  1. Lemma A.2 of den Hertog (1994), as quoted in the proof: if (36) holds with β≥0\beta\ge0β≥0, then φB\varphi_BφB​ is (1+β/3)(1+\beta/3)(1+β/3)-self-concordant on FfF_fFf​.

Milestones 3 and 4 give the goal, since 1+13(3+κ2)=2+23κ1+\tfrac13(3+\kappa\sqrt2)=2+\tfrac{\sqrt2}{3}\kappa1+31​(3+κ2​)=2+32​​κ. A further item records the paper's application: f(s)=−log⁡sf(s)=-\log sf(s)=−logs (the Burg case) satisfies (33) with κ=2\kappa=2κ=2.

Significance

The result. Theorem 2 turns a two-line calculus check on a scalar function into a certificate of polynomial-time solvability for a three-dimensional convex constraint. The paper uses it to conclude that the robust counterparts for the Burg entropy and Kullback–Leibler uncertainty sets are tractable, and the criterion applies to any other convex fff satisfying (33); for example f(s)=slog⁡sf(s)=s\log sf(s)=slogs satisfies it with κ=1\kappa=1κ=1, which covers the relative-entropy cone. The constant 2+23κ2+\tfrac{\sqrt2}{3}\kappa2+32​​κ enters the complexity bound of any path-following method through the barrier parameter.

Formalizing it. The theorem is proved in the paper, but the decisive step is delegated to Lemma A.2 of den Hertog's monograph, which in turn belongs to the compatibility theory of Nesterov and Nemirovski. As far as is known none of these statements has a machine-checked proof. The mission produces a checked version of the compatibility lemma for perspective constraints, which is reusable for any barrier of the form −ln⁡(z−g)−ln⁡s−ln⁡y-\ln(z-g)-\ln s-\ln y−ln(z−g)−lns−lny, together with explicit second- and third-differential formulas for perspectives in Mathlib's iteratedFDeriv language. The printed third-differential display contains a typo (see below); the formal statements fix it.

Difficulty

The differential identities (milestones 1 and 2) are routine but heavy: they require computing iterated Fréchet derivatives of a composition with a quotient in two variables and matching them with one-variable iterated derivatives of fff. The inequality (milestone 3) is elementary real-variable algebra once the differentials are available.

The central difficulty is den Hertog's lemma. The obvious approach, bounding the three terms of ∇3φB\nabla^3\varphi_B∇3φB​ separately against (∇2φB)3/2(\nabla^2\varphi_B)^{3/2}(∇2φB​)3/2, fails: the cross term −3 (∇ω⋅h) ∇2g[h,h]/ω2-3\,(\nabla\omega\cdot h)\,\nabla^2 g[h,h]/\omega^2−3(∇ω⋅h)∇2g[h,h]/ω2 with ω=z−g\omega=z-gω=z−g couples the first and second differentials, and bounding it separately loses the constant 1+β/31+\beta/31+β/3. A further practical difficulty is that FfF_fFf​ is open and convex only because the perspective of a convex function is jointly convex and continuous, which must itself be established.

Formalization scope

Points are (s,y,z)∈R×R×R(s,y,z)\in\mathbb R\times\mathbb R\times\mathbb R(s,y,z)∈R×R×R and directions for ggg are in R×R\mathbb R\times\mathbb RR×R. Differentials are iteratedFDeriv ℝ k applied to the constant tuple (h,…,h)(h,\dots,h)(h,…,h); f′′f''f′′ and f′′′f'''f′′′ are iteratedDeriv 2 f and iteratedDeriv 3 f. The power x3/2x^{3/2}x3/2 is Real.rpow, which is 000 for x<0x<0x<0; this makes the Lean definition of self-concordance no weaker than the paper's. Real.log and division have junk values outside FfF_fFf​, but FfF_fFf​ is open, so no differential at a point of FfF_fFf​ sees them.

Committed conventions and disclosed deviations:

  • "f:R+→Rf:\mathbb R^+\to\mathbb Rf:R+→R" is read as fff convex on the open half-line (0,∞)(0,\infty)(0,∞); the Burg case f=−log⁡f=-\logf=−log is undefined at 000, and fff is only evaluated at s/ys/ys/y with s,y>0s,y>0s,y>0.
  • fff is assumed C3C^3C3 on (0,∞)(0,\infty)(0,∞). The page does not say so, but (33) uses f′′′f'''f′′′ and Definition 1 requires the barrier to be C3C^3C3.
  • The printed third-differential display ends in s3hx3/y5s^3h_x^3/y^5s3hx3​/y5; the correct term is s3h23/y5s^3h_2^3/y^5s3h23​/y5, and the Lean statement uses it. The milestone text keeps the printed version.
  • Lemma A.2 is stated with β≥0\beta\ge0β≥0 added. The quoted text says "if there exists a β\betaβ", which is false for β<0\beta<0β<0: with f≡0f\equiv0f≡0, (36) holds for every β\betaβ and β=−3\beta=-3β=−3 would give a 000-self-concordant −ln⁡z−ln⁡s−ln⁡y-\ln z-\ln s-\ln y−lnz−lns−lny. The goal uses β=3+κ2>0\beta=3+\kappa\sqrt2>0β=3+κ2​>0 and is unaffected.

A trivializing formalization is excluded. The self-concordance predicate requires C3C^3C3 regularity and quantifies over all directions h∈R3h\in\mathbb R^3h∈R3, the domain is exactly FfF_fFf​ (not a subset such as ∅\emptyset∅), and κ>0\kappa>0κ>0 is as printed. The constant of the conclusion is tied to the same κ\kappaκ as in (33).

Useful infrastructure, reusable beyond this mission: iterated derivatives of perspectives, joint convexity of perspectives, and the calculus of self-concordance (sums, −ln⁡-\ln−ln of a concave function composed with an affine map). Proofs of the milestones independently of the goal are welcome, as are proofs of the Burg item's consequence and of the analogous statement for f(s)=slog⁡sf(s)=s\log sf(s)=slogs.

Selected references

  • A. Ben-Tal, D. den Hertog, A. De Waegenaere, B. Melenberg, G. Rennen, Robust Solutions of Optimization Problems Affected by Uncertain Probabilities, Management Science 59(2):341–357, 2013. https://doi.org/10.1287/mnsc.1120.1641
  • D. den Hertog, Interior Point Approach to Linear, Quadratic and Convex Programming: Algorithms and Complexity, Kluwer Academic Publishers, 1994. https://doi.org/10.1007/978-94-011-1134-8
  • Yu. Nesterov, A. Nemirovskii, Interior-Point Polynomial Algorithms in Convex Programming, SIAM Studies in Applied Mathematics 13, 1994. https://doi.org/10.1137/1.9781611970791
8 thms2 active usersReviewed
🏆Completed
Convex OptimizationOptimization·Captain: mikedeng1

Robust Solutions of Optimization Problems Affected by Uncertain Probabilities I: The Robust Counterpart of a Linear Constraint under φ-Divergence UncertaintyResearch Paper

Motivation

Many decision problems contain a constraint whose coefficients are an expectation under a probability vector that is not known exactly: an expected cost under uncertain scenario probabilities, an expected payoff of an asset under an estimated distribution, the expected demand in a newsvendor model. The probabilities are usually estimated from data, and a solution that is feasible for the estimate can be infeasible for the true distribution. Robust optimization protects against this by requiring the constraint to hold for every probability vector in an uncertainty region around the estimate.

A natural region is a ball in a φ-divergence, a family of statistical distances between probability vectors that contains the Kullback–Leibler divergence, the Burg entropy, the χ² distances, the Hellinger distance and the variation distance. Such balls arise as asymptotic confidence sets for the true distribution given observed frequencies (Pardo 2006), so the radius has a statistical meaning. Ben-Tal, den Hertog, De Waegenaere, Melenberg and Rennen (Management Science 59(2), 2013) showed that the robust version of a linear constraint over such a ball is equivalent to a finite convex system involving the convex conjugate of φ. This reformulation is a standard tool in the later literature on distributionally robust optimization.

Setting

A φ-divergence function is a function ϕ:R→R∪{+∞}\phi:\mathbb R\to\mathbb R\cup\{+\infty\}ϕ:R→R∪{+∞} that is convex on [0,∞)[0,\infty)[0,∞), finite on (0,∞)(0,\infty)(0,∞), and satisfies ϕ(1)=0\phi(1)=0ϕ(1)=0; the value ϕ(0)\phi(0)ϕ(0) may be +∞+\infty+∞. Examples are ϕ(t)=tlog⁡t−t+1\phi(t)=t\log t-t+1ϕ(t)=tlogt−t+1 (Kullback–Leibler), ϕ(t)=−log⁡t+t−1\phi(t)=-\log t+t-1ϕ(t)=−logt+t−1 (Burg), ϕ(t)=(t−1)2\phi(t)=(t-1)^2ϕ(t)=(t−1)2 (modified χ²) and ϕ(t)=∣t−1∣\phi(t)=|t-1|ϕ(t)=∣t−1∣ (variation). For p,q∈Rmp,q\in\mathbb R^mp,q∈Rm with q>0q>0q>0 the φ-divergence is

Iϕ(p,q)=∑i=1mqi ϕ ⁣(piqi),I_\phi(p,q)=\sum_{i=1}^m q_i\,\phi\!\left(\frac{p_i}{q_i}\right),Iϕ​(p,q)=i=1∑m​qi​ϕ(qi​pi​​),

and the conjugate of ϕ\phiϕ is ϕ∗(s)=sup⁡t≥0{st−ϕ(t)}\phi^*(s)=\sup_{t\ge0}\{st-\phi(t)\}ϕ∗(s)=supt≥0​{st−ϕ(t)}, a function with values in R∪{+∞}\mathbb R\cup\{+\infty\}R∪{+∞}.

Fix a∈Rna\in\mathbb R^na∈Rn, B∈Rn×mB\in\mathbb R^{n\times m}B∈Rn×m with columns bib_ibi​, β∈R\beta\in\mathbb Rβ∈R, C∈Rk×mC\in\mathbb R^{k\times m}C∈Rk×m with columns cic_ici​, d∈Rkd\in\mathbb R^kd∈Rk, a nominal vector q∈Rmq\in\mathbb R^mq∈Rm and a radius ρ>0\rho>0ρ>0. The uncertainty region is

U={p∈Rm∣p≥0, Cp≤d, Iϕ(p,q)≤ρ},U=\{p\in\mathbb R^m\mid p\ge0,\ Cp\le d,\ I_\phi(p,q)\le\rho\},U={p∈Rm∣p≥0, Cp≤d, Iϕ​(p,q)≤ρ},

where the linear constraints Cp≤dCp\le dCp≤d can encode e⊤p=1e^\top p=1e⊤p=1 and any further information on ppp. A decision x∈Rnx\in\mathbb R^nx∈Rn satisfies the robust linear constraint if

(a+Bp)⊤x≤βfor all p∈U.(11)(a+Bp)^\top x\le\beta\qquad\text{for all }p\in U. \tag{11}(a+Bp)⊤x≤βfor all p∈U.(11)

Inequalities between vectors are componentwise throughout.

Formalization targets

Goal: Theorem 1

Assume q>0q>0q>0 and q∈Uq\in Uq∈U. Then xxx satisfies (11) if and only if there are η∈Rk\eta\in\mathbb R^kη∈Rk and λ∈R\lambda\in\mathbb Rλ∈R with

a⊤x+d⊤η+ρλ+λ∑iqi ϕ∗ ⁣(bi⊤x−ci⊤ηλ)≤β,η≥0, λ≥0,(13)a^\top x+d^\top\eta+\rho\lambda+\lambda\sum_{i}q_i\,\phi^*\!\left(\frac{b_i^\top x-c_i^\top\eta}{\lambda}\right)\le\beta,\qquad\eta\ge0,\ \lambda\ge0, \tag{13}a⊤x+d⊤η+ρλ+λi∑​qi​ϕ∗(λbi⊤​x−ci⊤​η​)≤β,η≥0, λ≥0,(13)

where 0ϕ∗(s/0):=00\phi^*(s/0):=00ϕ∗(s/0):=0 for s≤0s\le0s≤0 and 0ϕ∗(s/0):=+∞0\phi^*(s/0):=+\infty0ϕ∗(s/0):=+∞ for s>0s>0s>0. The statement fixes no constants and no particular φ; it holds for the whole class.

Milestones

The proof in the paper has three displayed steps, which are the milestones. With the Lagrange function L(p,λ,η)=(a+Bp)⊤x+ρλ−λIϕ(p,q)+η⊤(d−Cp)L(p,\lambda,\eta)=(a+Bp)^\top x+\rho\lambda-\lambda I_\phi(p,q)+\eta^\top(d-Cp)L(p,λ,η)=(a+Bp)⊤x+ρλ−λIϕ​(p,q)+η⊤(d−Cp) and the dual objective g(λ,η)=sup⁡p≥0L(p,λ,η)g(\lambda,\eta)=\sup_{p\ge0}L(p,\lambda,\eta)g(λ,η)=supp≥0​L(p,λ,η):

  1. Closing identity. For λ≥0\lambda\ge0λ≥0, (λϕ)∗(s)=sup⁡t≥0{st−λϕ(t)}(\lambda\phi)^*(s)=\sup_{t\ge0}\{st-\lambda\phi(t)\}(λϕ)∗(s)=supt≥0​{st−λϕ(t)} equals λϕ∗(s/λ)\lambda\phi^*(s/\lambda)λϕ∗(s/λ), with the convention above at λ=0\lambda=0λ=0.
  2. Eq. (15). For q>0q>0q>0 and λ≥0\lambda\ge0λ≥0,
g(λ,η)=a⊤x+d⊤η+ρλ+∑i=1mqi(λϕ)∗(bi⊤x−ci⊤η).g(\lambda,\eta)=a^\top x+d^\top\eta+\rho\lambda+\sum_{i=1}^m q_i(\lambda\phi)^*(b_i^\top x-c_i^\top\eta).g(λ,η)=a⊤x+d⊤η+ρλ+i=1∑m​qi​(λϕ)∗(bi⊤​x−ci⊤​η).
  1. Duality. Under the hypotheses of Theorem 1, xxx satisfies (11) if and only if g(λ,η)≤βg(\lambda,\eta)\le\betag(λ,η)≤β for some λ≥0\lambda\ge0λ≥0, η≥0\eta\ge0η≥0. This is split into the weak-duality direction and the strong-duality direction with attainment.

An additional item states Corollary 1, the specialization to U={p≥0, e⊤p=1, Iϕ(p,q)≤ρ}U=\{p\ge0,\ e^\top p=1,\ I_\phi(p,q)\le\rho\}U={p≥0, e⊤p=1, Iϕ​(p,q)≤ρ}, where the multiplier η∈R\eta\in\mathbb Rη∈R of the normalization is free in sign.

Significance

Theorem 1 turns a semi-infinite constraint, one inequality for each ppp in a convex set, into a single convex inequality in (x,λ,η)(x,\lambda,\eta)(x,λ,η). The left side of (13) is jointly convex because λϕ∗(s/λ)\lambda\phi^*(s/\lambda)λϕ∗(s/λ) is the perspective of a convex function. For the divergences of Table 4 of the paper the conjugate has a closed form, and the robust constraint becomes a linear, conic quadratic or self-concordant-barrier-representable constraint. The paper's applications (robust asset pricing, a robust newsvendor, and the tractability results of its §5) all start from this theorem, as do its Corollaries 2–5.

The theorem is proved in the paper; no machine-checked proof of it is known. Formalizing it adds a checked robust-counterpart theorem for φ-divergence regions, a reusable encoding of φ-divergences with extended values, and a strong-duality statement with attainment for convex programs whose constraint function takes the value +∞+\infty+∞ on the boundary of the orthant. It also records a correction: the paper states the theorem for q≥0q\ge0q≥0, and that version is false (see Formalization scope).

Difficulty

The separation step (15) and the conjugate identity are elementary manipulations of suprema, but in extended arithmetic: ϕ\phiϕ may be +∞+\infty+∞ at 000, the conjugate may be +∞+\infty+∞, and the case λ=0\lambda=0λ=0 follows its own convention. The central difficulty is the duality step. The worst-case problem is a convex program whose constraint Iϕ(p,q)≤ρI_\phi(p,q)\le\rhoIϕ​(p,q)≤ρ is not a finite convex function on a closed set: for the Burg or χ² divergence it is +∞+\infty+∞ on the boundary of the orthant, and UUU itself need not be closed. Textbook statements of Slater-type strong duality usually assume finite-valued convex functions on a closed domain, so they do not apply as stated. The statement also requires attainment of the dual minimum, not only the absence of a duality gap, and this is the part a naive limiting argument does not give.

Formalization scope

Conventions:

  • Vectors are Fin n → ℝ with the componentwise order; BBB and CCC are Matrix (Fin n) (Fin m) ℝ and Matrix (Fin k) (Fin m) ℝ; bib_ibi​ and cic_ici​ are the columns fun j => B j i and fun j => C j i.
  • ϕ\phiϕ is ℝ → EReal, never −∞-\infty−∞, finite on (0,∞)(0,\infty)(0,∞), with ϕ(1)=0\phi(1)=0ϕ(1)=0 and convexity on [0,∞)[0,\infty)[0,∞) written out in EReal. ϕ(0)=+∞\phi(0)=+\inftyϕ(0)=+∞ is allowed, so the Burg, χ² and J divergences are covered.
  • Iϕ(p,q)I_\phi(p,q)Iϕ​(p,q), ϕ∗\phi^*ϕ∗, (λϕ)∗(\lambda\phi)^*(λϕ)∗, LLL, ggg and the left side of (13) are EReal-valued. λϕ(t)\lambda\phi(t)λϕ(t) is the EReal product, in which 0⋅(+∞)=00\cdot(+\infty)=00⋅(+∞)=0. The term λϕ∗(s/λ)\lambda\phi^*(s/\lambda)λϕ∗(s/λ) is defined by an explicit case split at λ=0\lambda=0λ=0, and λ∑iqiϕ∗(⋅/λ)\lambda\sum_i q_i\phi^*(\cdot/\lambda)λ∑i​qi​ϕ∗(⋅/λ) in (13) is read as ∑iqi (λϕ∗(⋅/λ))\sum_i q_i\,(\lambda\phi^*(\cdot/\lambda))∑i​qi​(λϕ∗(⋅/λ)) with the convention applied term by term.
  • The paper's max⁡p≥0\max_{p\ge0}maxp≥0​ in ggg is a supremum; min⁡λ,η≥0g≤β\min_{\lambda,\eta\ge0}g\le\betaminλ,η≥0​g≤β is stated in its attained form, ∃ λ≥0,η≥0\exists\,\lambda\ge0,\eta\ge0∃λ≥0,η≥0 with g(λ,η)≤βg(\lambda,\eta)\le\betag(λ,η)≤β.
  • mmm and kkk may be 000.

Corrected slip. The paper's standing assumption is q≥0q\ge0q≥0. The third equality of (15) substitutes pi=qitp_i=q_itpi​=qi​t, which needs qi>0q_i>0qi​>0, and Theorem 1 is false for q≥0q\ge0q≥0: with m=k=2m=k=2m=k=2, n=1n=1n=1, ϕ(t)=∣t−1∣\phi(t)=|t-1|ϕ(t)=∣t−1∣, q=(1,0)q=(1,0)q=(1,0), both columns of CCC equal to (1,−1)⊤(1,-1)^\top(1,−1)⊤, d=(1,−1)d=(1,-1)d=(1,−1), a=0a=0a=0, B=(0  1)B=(0\ \ 1)B=(0  1), x=1x=1x=1, ρ=1\rho=1ρ=1, β=0\beta=0β=0, the vector p=(1/2,1/2)p=(1/2,1/2)p=(1/2,1/2) lies in UUU and violates (11), while η=0\eta=0η=0, λ=0\lambda=0λ=0 satisfy (13). Every statement of the mission therefore assumes qi>0q_i>0qi​>0 for all iii. The hypothesis q∈Uq\in Uq∈U (the paper's "such that q∈Uq\in Uq∈U") and ρ>0\rho>0ρ>0 are kept.

Ruled-out trivializations: a conjugate taken as a supremum over all t∈Rt\in\mathbb Rt∈R of a real-valued φ with junk values at t<0t<0t<0 is a different function; computing the λ=0\lambda=0λ=0 term as 0⋅ϕ∗(s/0)0\cdot\phi^*(s/0)0⋅ϕ∗(s/0) with Lean's s/0=0s/0=0s/0=0 makes it identically 000; a real-valued, everywhere finite φ silently excludes the Burg, χ² and J divergences; dropping q∈Uq\in Uq∈U or ρ>0\rho>0ρ>0 removes the Slater point and changes the theorem. The mission's definitions avoid all four.

Needed infrastructure: suprema of EReal-valued families over half-lines and orthants, the interchange of a supremum over a product with a finite sum, and a Lagrangian strong-duality theorem with attainment for a convex program with finitely many affine inequality constraints and one convex, possibly infinite-valued, inequality constraint with a Slater point in the interior of its domain. That duality theorem, and the φ-divergence definitions, are reusable beyond this mission, in particular for the paper's Corollaries 2–5 and for other distributionally robust formulations. Contributions of any of these pieces as separate theorems are welcome.

Selected references

  • A. Ben-Tal, D. den Hertog, A. De Waegenaere, B. Melenberg, G. Rennen, Robust Solutions of Optimization Problems Affected by Uncertain Probabilities, Management Science 59(2):341–357, 2013. https://doi.org/10.1287/mnsc.1120.1641
  • L. Pardo, Statistical Inference Based on Divergence Measures, Chapman & Hall/CRC, 2006. https://doi.org/10.1201/9781420034813
  • A. Ben-Tal, L. El Ghaoui, A. Nemirovski, Robust Optimization, Princeton University Press, 2009. https://doi.org/10.1515/9781400831050
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970. https://doi.org/10.1515/9781400873173
12 thms2 active usersReviewed
🏆Completed
Mechanism Design·Captain: naimengye

Fundamentals of Supply Chain Theory XIII: AuctionsTextbook

When is the auctioneer's revenue acceptable?

The Vickrey-Clarke-Groves auction is the textbook mechanism for selling several objects at once: bidders report valuations for bundles, the auctioneer computes the welfare-maximizing allocation, and each winner pays the externality it imposes on the others. Truthful bidding is a dominant strategy and the outcome is efficient. Yet Ausubel and Milgrom (2006) catalogued its practical defects: revenue can be zero when the objects are valuable, revenue can fall when bidders or bids are added, losing bidders can profit by colluding, and a bidder can profit from false identities. Chapter 15 of Snyder and Shen's Fundamentals of Supply Chain Theory (2019) reproduces those examples and then gives the cooperative-game answer to when they cannot occur: the VCG payoff vector should lie in the core, the set of outcomes no coalition of auctioneer and bidders can improve upon, and it does so for every set of participants exactly when the coalitional value function is bidder-submodular. This mission formalizes that characterization, Theorem 15.3, together with the lemma and theorem leading to it.

Setting

Players are the auctioneer 000 and bidders 1,…,n1, \dots, n1,…,n. A coalitional value function VVV assigns to each coalition TTT the value it can create by trading among themselves: 000 if the auctioneer, who owns the objects, is not in TTT, and otherwise the optimal value of the auctioneer's allocation problem among the bidders of TTT, each bidder receiving at most one bundle and bundles disjoint (capValue). Two properties of VVV are all the theory uses: coalitions without the auctioneer are worthless, and adding players never lowers the value (IsCoalitionalValue).

A payoff vector π\piπ gives each player a payoff. It lies in the core of the game on a coalition S∋0S \ni 0S∋0 (InCore V S π) if the payoffs of SSS sum to V(S)V(S)V(S) and no sub-coalition T⊆ST \subseteq ST⊆S is paid less than V(T)V(T)V(T). The VCG payoff vector πˉ(S)\bar\pi(S)πˉ(S) (vcgPayoff) pays each bidder kkk its marginal contribution V(S)−V(S∖k)V(S) - V(S \setminus k)V(S)−V(S∖k), which is its valuation minus its VCG payment, and the auctioneer the remainder. A core vector is bidder dominant (BidderDominant) if every bidder weakly prefers it to every other core vector. VVV is bidder-submodular (BidderSubmodular) if each bidder's marginal contribution weakly decreases as the coalition grows.

Formalization targets

Goal: Theorem 15.3

For a coalitional value function VVV, the following are equivalent: (i) VVV is bidder-submodular; (ii) for every coalition S∋0S \ni 0S∋0 the core equals ΠS={π:∑k∈Sπk=V(S), 0≤πk≤πˉk(S) ∀k∈S∖0}\Pi_S = \{\pi : \sum_{k \in S}\pi_k = V(S),\ 0 \le \pi_k \le \bar\pi_k(S)\ \forall k \in S \setminus 0\}ΠS​={π:∑k∈S​πk​=V(S), 0≤πk​≤πˉk​(S) ∀k∈S∖0}; (iii) for every coalition S∋0S \ni 0S∋0, πˉ(S)\bar\pi(S)πˉ(S) lies in the core of SSS. This is vcg_core_characterization.

Supporting targets

That the combinatorial auction's VVV is a coalitional value function; Lemma 15.1, the core is nonempty and each bidder's VCG payoff is the largest it receives at any core point; Theorem 15.2, the VCG vector is the bidder-dominant core point when it is in the core, and otherwise no bidder-dominant point exists and the auctioneer's VCG payoff is below every core payoff.

The English auction of Sect. 15.2, presented as a primal-dual interpretation of a linear program, and the combinatorial allocation problem of Sect. 15.3 carry no numbered results and are not targets.

Significance

Theorem 15.3 is the criterion an auction designer can check before running a VCG auction: when the bidders' valuations make VVV bidder-submodular (for instance when objects are substitutes), the VCG outcome is a competitive outcome, its revenue meets the core benchmark, and none of the defects of Sect. 15.4.2 can arise; when they do not, Theorem 15.2 says the auctioneer's revenue is strictly below every competitive outcome. The result underlies the ascending package auctions proposed as VCG alternatives and the procurement auctions used in supply chains, such as the combinatorial reverse auctions of the chapter's case study.

None of these results has a machine-checked proof. The book proves all three. The formal treatment of the core and of marginal-contribution vectors is reusable for the cooperative-game models of cost allocation in supply chains.

Difficulty

The theorems are combinatorial statements about a function on finite sets, and the difficulty is entirely in the bookkeeping of coalitions. Lemma 15.1 needs the explicit core vector of its proof to be verified against every sub-coalition, which splits into cases on whether the sub-coalition contains the auctioneer and the distinguished bidder. The implication (i) ⇒\Rightarrow⇒ (ii) telescopes marginal contributions along a chain of coalitions between a sub-coalition and SSS, and the chain has to be built and its sum computed. The implication (iii) ⇒\Rightarrow⇒ (i) is the delicate one: a failure of submodularity is a pair of nested coalitions, and the proof needs to extract from it a single-element step at which a bidder's marginal contribution increases, then show the two-bidder sub-coalition blocks the VCG vector. The obvious idea, that submodularity can be checked only on single-element extensions, is correct but must itself be proved.

Formalization scope

Coalitions are finite sets of Fin (n+1) and payoff vectors are functions on all players; the core and ΠS\Pi_SΠS​ constrain only the players of SSS, so vectors differing outside SSS are interchangeable. The core's budget equation sums over all players of the coalition, including the auctioneer, which is what the book's proofs use although its displayed definition sums over the bidders. The theorems take VVV as any function with the two properties, and the auction's VVV is shown to have them; the VCG vector is defined by the formulas (15.23) and (15.24) rather than through the payment rule, whose equivalence is the book's derivation. Bidder-submodularity is stated for S⊆S′S \subseteq S'S⊆S′ rather than proper inclusion, which changes nothing.

The definition module is shared by all five items. The single-item English auction as a primal-dual algorithm and the condition on individual preferences (substitutes) that implies bidder-submodularity are natural extensions on the same definitions.

Selected references

  • L. V. Snyder and Z.-J. M. Shen, Fundamentals of Supply Chain Theory, 2nd ed., Wiley, 2019, Chapter 15. https://doi.org/10.1002/9781119584445
  • L. M. Ausubel and P. Milgrom, The lovely but lonely Vickrey auction, in Combinatorial Auctions, MIT Press, 2006. https://doi.org/10.7551/mitpress/9780262033428.003.0002
  • S. de Vries and R. V. Vohra, Combinatorial auctions: a survey, INFORMS Journal on Computing 15(3), 2003. https://doi.org/10.1287/ijoc.15.3.284.16077
  • W. Vickrey, Counterspeculation, auctions, and competitive sealed tenders, Journal of Finance 16(1), 1961. https://doi.org/10.1111/j.1540-6261.1961.tb02789.x
5 thms2 active usersReviewed
🏆Completed
Algorithmic Game Theory·Captain: naimengye

The Theory and Practice of Revenue Management V: CompetitionTextbook

When competing firms settle on prices and allocations

Revenue management is practised by firms that compete: airlines matching fares while allocating seats, retailers ordering stock and then pricing to clear it, hotels protecting rooms for late high-paying guests. Chapter 8 of Talluri and van Ryzin's The Theory and Practice of Revenue Management (2004) surveys the economics behind these situations: monopoly pricing and mechanism design, the Coase problem, advance-purchase discounts, and oligopoly in quantities (Cournot), in prices (Bertrand, Bertrand–Edgeworth with capacities), in newsvendor capacities and in RM allocations. Most of its numbered results are quoted from the literature; what the book itself establishes is a family of equilibrium arguments built on Talluri's equilibrium graph: when each firm's best response moves monotonically with the rival's action, following best-response arcs must end in an equilibrium pair. This mission formalizes those arguments, with Proposition 8.3, existence of an equilibrium in offer sets under the multinomial-logit choice model, as the goal.

Setting

A two-firm game on finite chains of strategies has payoffs u1,u2u_1, u_2u1​,u2​, best responses and pure Nash equilibria (IsBestResponse1, IsNashEquilibrium); its equilibrium graph has no crossing arcs (NoCrossing1) when best-response arcs (k2,k1)(k_2, k_1)(k2​,k1​), (l2,l1)(l_2, l_1)(l2​,l1​) with k2<l2k_2 < l_2k2​<l2​ always have k1≤l1k_1 \le l_1k1​≤l1​. The chapter's games are: the RM duopoly of Sect. 8.4.1.3, two firms with capacity CCC and fares pL<pHp_L < p_HpL​<pH​ whose high-fare demand spills over to the rival beyond its protection level (spilloverDemand), each firm answering with Littlewood's protection level (littlewoodResponse); the duopoly newsvendor of Example 8.16 with effective demands R1=D1+(D2−x2)+R_1 = D_1 + (D_2 - x_2)^+R1​=D1​+(D2​−x2​)+ (effectiveDemand); linear Cournot (cournotPayoff); Bertrand–Edgeworth price competition with capacity CCC per firm, linear demand and efficient rationing (beSales, bePayoff, IsBEEquilibrium); the advance-purchase model of Sect. 8.3.6 (peakLoadRevenue, advancePurchaseRevenue); and the one-period offer-set game of Sect. 8.4.3.2, where a firm offering its first kkk products earns g(Ck)/(W1(k)+W2(l)+w0)g(C_k)/(W_1(k) + W_2(l) + w_0)g(Ck​)/(W1​(k)+W2​(l)+w0​) with g(Ck)=∑j≤kwj(pj−Δ)−w0δg(C_k) = \sum_{j \le k} w_j(p_j - \Delta) - w_0\deltag(Ck​)=∑j≤k​wj​(pj​−Δ)−w0​δ (OfferFirm, offerPayoff1, CaseI, CaseII).

Formalization targets

Goal: Proposition 8.3

If both firms are in Case I (g(G∗)≥0g(G^*) \ge 0g(G∗)≥0) or both in Case II (g<0g < 0g<0 on every complete set), the offer-set game has a pure-strategy equilibrium in complete sets: mnl_offer_set_equilibrium.

Supporting targets

The equilibrium-graph lemma, monotone best responses for both firms give an equilibrium (Sect. 8.4.1.3); Proposition 8.1, Littlewood responses in the RM duopoly are monotone in the rival's protection level, and the resulting equilibrium of the RM duopoly game; Example 8.16, duopoly newsvendor capacities total at least the monopoly capacity; Example 8.15, the symmetric Cournot equilibrium and its price; Theorem 8.5 (i)-(ii), the pure-strategy Bertrand–Edgeworth equilibria; and the advance-purchase comparison of Sect. 8.3.6, w2<w^w_2 < \hat ww2​<w^ and VAPD(w^)≥Vpeak(w2)V_{APD}(\hat w) \ge V_{peak}(w_2)VAPD​(w^)≥Vpeak​(w2​).

Not targets: Theorems 8.1-8.2 (the Coase problem, subgame-perfect equilibria of an infinite-horizon game, proofs in von der Fehr and Kühn), Theorem 8.3 (Harris–Raviv priority pricing, stated with a garbled price formula), Theorem 8.4 (existence via quasiconcavity, cited), Theorem 8.5 (iii), 8.6 and 8.7-8.8 (mixed-strategy and supergame equilibria of Kreps and Scheinkman and Benoit and Krishna), Proposition 8.2 and Proposition 8.4 (the dynamic offer-set game under condition (8.32), proved in Talluri's paper), and the Kreps–Scheinkman derivation of Sect. 8.4.1.6, which rests on Theorem 8.6.

Significance

The equilibrium graph is the chapter's own contribution: a bipartite picture of best responses on chains in which monotonicity, the absence of crossing arcs, forces an equilibrium. It is the finite, combinatorial form of the monotone comparative-statics route to Nash equilibrium (Tarski's fixed point on a chain), and it is what makes RM allocation games tractable: the two-class duopoly with Littlewood responses always has an equilibrium, and the offer-set duopoly does whenever the two firms face the same sign of ggg, while Example 8.18 shows a best-response cycle when they do not. The Bertrand–Edgeworth, Cournot and newsvendor results are the benchmarks the book uses to interpret RM competition: capacity constraints soften Bertrand's zero-profit outcome, competing in allocations tends to raise total capacity above the monopoly level, and advance-purchase discounts dominate peak-load pricing as a self-selection mechanism. None of these has a machine-checked proof.

Difficulty

The lemma and the goal are fixed-point arguments on finite chains: the largest best response is a monotone map of the rival's index, the composition of two monotone (or two antitone) maps on a finite chain has a fixed point, and for the offer-set game the monotonicity itself must be extracted from the ratio structure g(Ck)/(W(k)+a)g(C_k)/(W(k) + a)g(Ck​)/(W(k)+a) as in the appendix's inequalities (8.A.3)-(8.A.5), separately in the two cases. Proposition 8.1 is a monotonicity of tail probabilities under the pointwise order of effective demands. Example 8.16 is a short probabilistic argument that needs the identity {D>x1+x2}={R1>x1}∩{R2>x2}\{D > x_1 + x_2\} = \{R_1 > x_1\} \cap \{R_2 > x_2\}{D>x1​+x2​}={R1​>x1​}∩{R2​>x2​} and the strict monotonicity of the tail. Theorem 8.5 requires computing efficient-rationing sales for every unilateral deviation from a symmetric profile, through the recursive definition of residual demand, and a quadratic inequality for upward deviations in part (ii). The advance-purchase item reduces to the identity VAPD(w)−Vpeak(w)=(1−α)wV_{APD}(w) - V_{peak}(w) = (1 - \alpha)wVAPD​(w)−Vpeak​(w)=(1−α)w and the strict decrease of the first-order-condition function.

Formalization scope

Products, protection levels and complete sets are natural numbers; the offer-set game's strategies are the complete sets C1,…,CnC_1, \dots, C_nC1​,…,Cn​ of the book, and its payoff is (8.31) up to the positive factor λ\lambdaλ and the terms independent of both offer sets. Prices decreasing in the product index are a hypothesis, as the nested-by-revenue order of Sect. 8.4.3.2. The RM duopoly is modeled through Littlewood's response, as the book's appendix argues, rather than through expected revenues. Efficient rationing is defined recursively over the firms priced strictly below a given firm, with equal sharing among firms at the same price. Example 8.16 is stated with the equilibrium conditions (8.23) and the strictly increasing distribution of aggregate demand as hypotheses. The advance-purchase item takes the first-order conditions (8.13) and (8.15) and the book's uniqueness assumption as hypotheses, the latter as (v−w)−F(w)/f(w)(v - w) - F(w)/f(w)(v−w)−F(w)/f(w) strictly decreasing in www (the page prints "increasing", but its footnote identifies it with the monotone marginal-revenue assumption, which is decreasing in the waiting cost). Theorem 8.5 is stated for its pure-strategy parts (i) and (ii) only.

Selected references

  • K. T. Talluri and G. J. van Ryzin, The Theory and Practice of Revenue Management, Kluwer/Springer, 2004, Chapter 8. https://doi.org/10.1007/b139000
  • D. M. Kreps and J. A. Scheinkman, Quantity precommitment and Bertrand competition yield Cournot outcomes, Bell Journal of Economics 14(2), 1983. https://doi.org/10.2307/3003636
  • S. A. Lippman and K. F. McCardle, The competitive newsboy, Operations Research 45(1), 1997. https://doi.org/10.1287/opre.45.1.54
  • S. Netessine and R. A. Shumsky, Revenue management games: horizontal and vertical competition, Management Science 51(5), 2005. https://doi.org/10.1287/mnsc.1040.0356
  • I. L. Gale and T. J. Holmes, Advance-purchase discounts and monopoly allocation of capacity, American Economic Review 83(1), 1993. https://www.jstor.org/stable/2117500
  • D. M. Topkis, Supermodularity and Complementarity, Princeton University Press, 1998. https://doi.org/10.1515/9781400822539
8 thms2 active usersReviewed
🏆Completed
Combinatorics·Captain: naimengye

Fundamentals of Supply Chain Theory XII: The Vehicle Routing ProblemTextbook

Many vehicles, one depot

The vehicle routing problem asks for the cheapest set of delivery routes from a depot to a set of customers when each vehicle can carry only so much. It generalizes the traveling salesman problem, which is the case of a single vehicle of unlimited capacity, and it is the operational problem behind every distribution fleet. Exact methods reach a few hundred customers; the questions that shape fleet design are structural: how does the optimal routing cost compare with the cost of a single grand tour, and how does it grow with the number of customers? Haimovich and Rinnooy Kan (1985) answered both for unit demands by bounding the optimal cost above and below in terms of the optimal TSP tour and the average distance to the depot. Chapter 11 of Snyder and Shen's Fundamentals of Supply Chain Theory (2019) presents that result with its full proof as Theorem 11.6, and it is the goal of this mission.

Setting

Nodes are the depot 000 and customers 1,…,n1, \dots, n1,…,n, with distances cijc_{ij}cij​ that are symmetric, nonnegative and satisfy the triangle inequality (VRPMetric). Every customer has demand 111 and every vehicle capacity CCC, so a route is a sequence of at most CCC distinct customers, served by one vehicle that leaves the depot, visits them in order and returns; its length is routeCost c L. A solution is a family of routes visiting every customer exactly once (IsVRPSolution), with total length solutionCost; the number of routes is free. The optimal VRP value z∗z^*z∗ (vrpOpt c C) is the least total length, the optimal TSP value zTz_TzT​ (tspOpt c) is the least length of a single route through all customers, and cˉ\bar ccˉ (avgDepotDist) is the average distance from the depot to a customer.

Formalization targets

Goal: Theorem 11.6

For every metric instance with n≥1n \ge 1n≥1 customers and capacity C≥1C \ge 1C≥1,

max⁡{2nCcˉ, zT}  ≤  z∗  ≤  2⌈nC⌉cˉ+(1−1C)zT.\max\Big\{2\frac{n}{C}\bar c,\ z_T\Big\} \;\le\; z^* \;\le\; 2\Big\lceil\frac{n}{C}\Big\rceil\bar c + \Big(1 - \frac{1}{C}\Big)z_T.max{2Cn​cˉ, zT​}≤z∗≤2⌈Cn​⌉cˉ+(1−C1​)zT​.

This is vrp_tsp_bounds.

Supporting targets

The three steps of the book's proof: the radial bound 2nCcˉ≤z∗2\frac{n}{C}\bar c \le z^*2Cn​cˉ≤z∗, obtained route by route from the triangle inequality and the capacity; the routing bound zT≤z∗z_T \le z^*zT​≤z∗; and the iterated optimal tour partition bound (11.59), that for any tour Γ\GammaΓ through all customers some partition of its customer sequence into ⌈n/C⌉\lceil n/C\rceil⌈n/C⌉ consecutive routes costs at most 2⌈n/C⌉cˉ+(1−⌈n/C⌉/n) z(Γ)2\lceil n/C\rceil\bar c + (1 - \lceil n/C\rceil/n)\,z(\Gamma)2⌈n/C⌉cˉ+(1−⌈n/C⌉/n)z(Γ).

The chapter's other numbered results are not targets: Proposition 11.1 (state-space relaxation of the routing dynamic program) and Theorem 11.2 (the capacitated comb inequality, proof omitted, which needs the bin-packing function v(S)v(S)v(S)), and Theorems 11.3, 11.5, 11.7 and Lemma 11.4 (almost-sure asymptotics of random instances and the location-based heuristic), whose proofs the book cites.

Significance

Theorem 11.6 is the quantitative link between routing and the two things a planner can estimate without solving anything: the TSP length, which grows like n\sqrt{n}n​ for random customers, and the average depot distance. It says that the VRP cost is the TSP cost plus a radial term 2cˉ2\bar c2cˉ per vehicle, and that this decomposition is exact up to a factor bounded by the capacity. The radial term explains Theorem 11.7, that the optimal cost grows linearly in nnn for fixed capacity, and the tour partition heuristic in the proof is a practical route-first-cluster-second method with a provable guarantee. The bounds are the basis of the continuous approximation formulas used in strategic distribution design.

None of these results has a machine-checked proof. The book proves Theorem 11.6 in full. The formal treatment of routes as lists and of the averaging argument over rotations of a tour is reusable for the capacitated heuristics of Sect. 11.3.

Difficulty

The upper bound is an averaging argument that is easy to state and fiddly to formalize: for each of the nnn rotations of the tour's customer sequence, the sequence is cut into blocks of CCC, and one must count, across all rotations, how often each customer is the first or last of a block and how often each tour edge is cut. The counts, ℓ=⌈n/C⌉\ell = \lceil n/C\rceilℓ=⌈n/C⌉ each, hold only after the rotations are indexed carefully, and the passage from the average to the best rotation needs the sum of the nnn solution costs computed exactly.

The lower bound has two parts with different flavors. The radial part needs, for each route, that the closed route from the depot is at least twice the largest depot distance among its customers, which is the triangle inequality applied along the route, followed by an averaging step that uses the capacity. The routing part is a shortcutting argument: the routes of a solution concatenate into a closed walk that revisits the depot, and removing the repeated depot visits must not increase the length. The obvious idea, that a VRP solution is itself a tour, is false, and the shortcut has to be constructed.

Formalization scope

Routes are lists of customers, solutions are lists of routes, and the feasibility predicate requires nonempty routes of length at most CCC avoiding the depot, with the concatenation of all routes a duplicate-free list containing every customer. Costs use the closed walk through the depot followed by the route. The optimal values are infima of finite nonempty sets of reals, nonempty because singleton routes are feasible when C≥1C \ge 1C≥1. The ceiling ⌈n/C⌉\lceil n/C\rceil⌈n/C⌉ is Mathlib's Nat.ceil of the real quotient. The number of vehicles is unrestricted, as the section assumes; the fixed-fleet version of the problem is not modeled.

The TSP value zTz_TzT​ is defined as the least route cost over all orderings of the customers, so no separate tour model is needed and the mission does not depend on the TSP mission of this series.

The definition module is shared by all five items. Problem 11.18 (tightness of both bounds) and Theorem 11.7 for deterministic instance families are natural extensions on the same definitions.

Selected references

  • L. V. Snyder and Z.-J. M. Shen, Fundamentals of Supply Chain Theory, 2nd ed., Wiley, 2019, Chapter 11. https://doi.org/10.1002/9781119584445
  • M. Haimovich and A. H. G. Rinnooy Kan, Bounds and heuristics for capacitated routing problems, Mathematics of Operations Research 10(4), 1985. https://doi.org/10.1287/moor.10.4.527
  • P. Toth and D. Vigo (eds.), Vehicle Routing: Problems, Methods, and Applications, 2nd ed., SIAM, 2014. https://doi.org/10.1137/1.9781611973594
5 thms2 active usersReviewed
🏆Completed
Combinatorics·Captain: naimengye

Fundamentals of Supply Chain Theory XI: The Traveling Salesman ProblemTextbook

The problem every routing model contains

A salesman must visit nnn cities and return home by the shortest route. The traveling salesman problem is the prototype of combinatorial optimization: easy to state, NP-hard (Karp 1972), and solved to optimality on instances with tens of thousands of nodes by branch-and-cut. In a supply chain it is the core of every vehicle routing model and of the location-routing models of the chapters that follow. Chapter 10 of Snyder and Shen's Fundamentals of Supply Chain Theory (2019) covers the symmetric metric TSP, in which distances satisfy the triangle inequality: the cutting planes of branch-and-cut (comb inequalities), the construction heuristics with their worst-case guarantees, culminating in Christofides' (1976) 3/2-approximation, and the lower bounds of Little et al. and of Held and Karp (1970). This mission formalizes those results, with Christofides' theorem as its goal.

Setting

Nodes are N={1,…,n}N = \{1, \dots, n\}N={1,…,n} with distances cijc_{ij}cij​ that are symmetric, nonnegative, zero on the diagonal and satisfy the triangle inequality cij≤cik+ckjc_{ij} \le c_{ik} + c_{kj}cij​≤cik​+ckj​ (IsMetric). A tour is a visiting order τ\tauτ of all the nodes, of length z(τ)=∑kc(τk,τk+1)z(\tau) = \sum_k c(\tau_k, \tau_{k+1})z(τ)=∑k​c(τk​,τk+1​) with indices mod nnn (tourLength); z∗z^*z∗ is the least tour length (optTourLength). A tour has an edge set (tourEdges), and for a node set SSS the counts of tour edges inside SSS and leaving SSS (edgesWithin, edgesLeaving) are the sums ∑i,j∈Sxij\sum_{i,j \in S} x_{ij}∑i,j∈S​xij​ and ∑i∈S,j∉Sxij\sum_{i \in S, j \notin S} x_{ij}∑i∈S,j∈/S​xij​ of the integer programming formulation. A comb is a handle HHH with an odd number s≥3s \ge 3s≥3 of pairwise disjoint teeth, each meeting both HHH and its complement (IsComb); when every tooth has exactly two nodes the comb is a 2-matching configuration.

The nearest neighbor heuristic always moves to a nearest unvisited node (IsNearestNeighborTour); the nearest insertion heuristic grows a partial tour by inserting the unvisited node nearest to it at the cheapest position (IsNearestInsertionRun, with cycleLength and distToTour). The minimum spanning tree heuristic doubles an MST (IsMST, graphWeight), takes an Eulerian tour of the doubled tree and shortcuts it, visiting the nodes in order of first appearance (IsShortcut). Christofides' heuristic instead adds to the MST a minimum-weight perfect matching on its odd-degree nodes (oddNodes, IsMinMatchingOn) before taking the Eulerian tour. A 1-tree rooted at rrr is a spanning tree on the other nodes plus two edges at rrr (Is1Tree); the revised distances cij′=cij+λi+λjc'_{ij} = c_{ij} + \lambda_i + \lambda_jcij′​=cij​+λi​+λj​ (revisedCost) define the Held-Karp bound.

Formalization targets

Goal: Theorem 10.13

For every metric instance, every minimum spanning tree T∗T^*T∗, every minimum-weight perfect matching MMM on the odd-degree nodes of T∗T^*T∗, every Eulerian tour of T∗+MT^* + MT∗+M and its shortcut τ\tauτ,

z(τ)  ≤  32 z∗.z(\tau) \;\le\; \tfrac{3}{2}\, z^*.z(τ)≤23​z∗.

This is christofides_bound.

Supporting targets

Theorem 10.1, the reduced-matrix bound ∑iρi+∑jκj≤z∗\sum_i \rho_i + \sum_j \kappa_j \le z^*∑i​ρi​+∑j​κj​≤z∗; Theorem 10.2, Proposition 10.3 and Theorem 10.4, the 2-matching and comb inequalities valid for every tour; Theorem 10.6, zNN≤12(⌈log⁡2n⌉+1)z∗z_{NN} \le \frac{1}{2}(\lceil\log_2 n\rceil + 1) z^*zNN​≤21​(⌈log2​n⌉+1)z∗; Theorem 10.7, zNI≤2z∗z_{NI} \le 2z^*zNI​≤2z∗; Lemma 10.9, z(T∗)≤z∗z(T^*) \le z^*z(T∗)≤z∗; Theorem 10.10, Euler's theorem; Theorem 10.11, zMST≤2z∗z_{MST} \le 2z^*zMST​≤2z∗; Lemma 10.12, the handshaking lemma; Lemma 10.15, the 1-tree bound; Lemma 10.16, the revised distance identities; Theorem 10.17, the Held-Karp bound. Theorem 10.5 (no constant-factor approximation unless P = NP), Theorem 10.8 and the second part of Theorem 10.6 (tightness instances), Lemma 10.14 (Euclidean tours do not cross), Lemma 10.18 (the integrality gap) and Theorem 10.19 (the Beardwood-Halton-Hammersley asymptotics) are not targets.

Significance

Christofides' bound was the best approximation guarantee for the metric TSP for over forty years, until the 3/2−10−363/2 - 10^{-36}3/2−10−36 of Karlin, Klein and Oveis Gharan (2021), and it is the reference point against which every heuristic in the chapter is measured: nearest neighbor has no constant bound, nearest insertion and the MST heuristic achieve 222, Christofides 3/23/23/2. The comb inequalities are the cuts that make branch-and-cut work, and the Held-Karp bound is the lower bound that tells a practitioner how far a heuristic tour is from optimal. Theorem 10.1 is the historical bounding rule of the first branch-and-bound algorithm.

None of these results has a machine-checked proof. The book proves Theorems 10.2, 10.11, 10.13 and 10.17 and Proposition 10.3 and Lemma 10.9, cites Theorems 10.6, 10.7 and 10.10, and leaves Theorem 10.4 and Lemmas 10.12 and 10.16 as exercises. The formal infrastructure for tours, shortcutting and Eulerian walks is reusable for the vehicle routing chapter.

Difficulty

Christofides' argument has three steps and each has a formal obstacle. The MST bound is a spanning-path argument that needs the removal of an edge from a tour to yield a tree, in Mathlib's terms a connected acyclic subgraph of the complete graph. The matching bound is the subtle one: the optimal tour shortcut to the odd-degree nodes, of length at most z∗z^*z∗ by the triangle inequality, is an even cycle whose alternate edges form two perfect matchings on those nodes, the cheaper of which costs at most z∗/2z^*/2z∗/2; formalizing the decomposition of a cycle on an even node set into two matchings, and the shortcut's length bound, is the bulk of the work. The final step, that shortcutting an Eulerian walk does not lengthen it, is an induction along the walk using the triangle inequality on the skipped stretches, and it needs the first-occurrence order to be handled explicitly.

The obvious approach to the heuristic bounds, comparing the heuristic tour directly with the optimal tour, fails; every proof goes through a spanning tree. For nearest insertion the tree is Prim's, grown in the same order as the insertions, and the bound charges each insertion cost to a tree edge; for nearest neighbor the argument of Rosenkrantz et al. bounds the sum of the kkk largest steps by 2z∗2z^*2z∗ for each kkk and sums a geometric series, which is where the logarithm comes from.

The comb inequalities are counting arguments on degrees, but the general comb of Theorem 10.4 needs the case analysis of how a tour enters and leaves each tooth. Euler's theorem in the sufficiency direction is Hierholzer's construction, which is not in Mathlib.

Formalization scope

Tours are permutations of Fin n, so a tour is an ordering rather than an edge set, and every tie-breaking of a heuristic is covered by a predicate on its output rather than by an algorithm. Graphs are Mathlib SimpleGraphs on Fin n; the multigraphs of the two tree heuristics are represented by closed walks with prescribed edge multisets, and shortcutting is the first-occurrence order along the walk's node sequence. All degree and edge-set computations use classical decidability. Theorems on tours assume n≥3n \ge 3n≥3 where a tour must have distinct edges, n≥1n \ge 1n≥1 otherwise.

Theorem 10.1 is stated for the reduction of the full off-diagonal matrix, because the book's upper-triangular version is false: a random metric instance violates it, since the last row and first column of a triangular matrix are empty and the two edges at a node need not be one row and one column entry. The full-matrix version is the statement of Little et al. It is stated for n≥2n \ge 2n≥2, because a one-node "tour" is a self-loop that no off-diagonal entry constrains.

Theorem 10.4 is stated with the comb inequality's right-hand side corrected to ∣H∣+∑k(∣Tk∣−1)−12(s+1)|H| + \sum_k(|T_k| - 1) - \tfrac{1}{2}(s+1)∣H∣+∑k​(∣Tk​∣−1)−21​(s+1), the standard form. The book prints +12(s−1)+\tfrac{1}{2}(s-1)+21​(s−1), which contradicts its own 2-matching special case (10.15) and is weaker by sss. The corrected statement implies the printed one.

The 111-tree root is an explicit node rrr, the book's node 111. The nearest insertion run is a sequence of lists indexed by iteration, and the theorem compares the nnn-th list's closed length with z∗z^*z∗; a run always exists, so the hypothesis is satisfiable.

The definition module is shared by all fifteen items. Theorem 10.8 and Problem 10.12 (tightness of the bounds of 222), the second part of Theorem 10.6, and Lemma 10.18 on the integrality gap are natural extensions on the same definitions.

Selected references

  • L. V. Snyder and Z.-J. M. Shen, Fundamentals of Supply Chain Theory, 2nd ed., Wiley, 2019, Chapter 10. https://doi.org/10.1002/9781119584445
  • N. Christofides, Worst-case analysis of a new heuristic for the travelling salesman problem, Report 388, GSIA, Carnegie Mellon University, 1976; reprinted in Operations Research Forum 3, 2022. https://doi.org/10.1007/s43069-021-00101-z
  • D. J. Rosenkrantz, R. E. Stearns and P. M. Lewis II, An analysis of several heuristics for the traveling salesman problem, SIAM Journal on Computing 6(3), 1977. https://doi.org/10.1137/0206041
  • M. Held and R. M. Karp, The traveling-salesman problem and minimum spanning trees, Operations Research 18(6), 1970. https://doi.org/10.1287/opre.18.6.1138
  • J. D. C. Little, K. G. Murty, D. W. Sweeney and C. Karel, An algorithm for the traveling salesman problem, Operations Research 11(6), 1963. https://doi.org/10.1287/opre.11.6.972
  • M. Grötschel and M. W. Padberg, On the symmetric travelling salesman problem I and II, Mathematical Programming 16, 1979. https://doi.org/10.1007/BF01582116
15 thms2 active usersReviewed
🏆Completed
Optimization·Captain: naimengye

The Theory and Practice of Revenue Management III: Dynamic PricingTextbook

Prices that respond to inventory

A retailer marking down a seasonal line, an airline raising fares as seats sell, a manufacturer pricing while restocking: each sets prices over time against a finite and changing inventory. Chapter 5 of Talluri and van Ryzin's The Theory and Practice of Revenue Management (2004) collects the structural theory of that problem. Without replenishment, the Bernoulli-arrival model of Gallego and van Ryzin (1994) gives a marginal value of capacity that falls with inventory and with time, hence prices that jump up at each sale and drift down between sales, and the deterministic fluid model bounds it from above. With replenishment, the model of Federgruen and Heching (1999) has a jointly concave and supermodular continuation value, from which the base-stock, posted-price policy follows: below a base-stock level order up to it and post a fixed price, above it order nothing and discount, more the higher the inventory. This mission formalizes those results with Proposition 5.3 as the goal.

Setting

Bernoulli demand (Sect. 5.2.2.2). One customer arrives per period with a random willingness to pay; the firm's decision is the demand rate d∈[0,1]d \in [0, 1]d∈[0,1], the probability of a sale at the inverse-demand price p(t,d)p(t, d)p(t,d), with revenue rate r(t,d)=d p(t,d)r(t, d) = d\,p(t, d)r(t,d)=dp(t,d) (revenueRate). The value function (5.12) is Vt(x)=max⁡d{r(t,d)−d ΔVt+1(x)}+Vt+1(x)V_t(x) = \max_{d}\{r(t, d) - d\,\Delta V_{t+1}(x)\} + V_{t+1}(x)Vt​(x)=maxd​{r(t,d)−dΔVt+1​(x)}+Vt+1​(x), VT+1=0V_{T+1} = 0VT+1​=0, Vt(0)=0V_t(0) = 0Vt​(0)=0 (bernoulliValue), and ΔVt(x)=Vt(x)−Vt(x−1)\Delta V_t(x) = V_t(x) - V_t(x-1)ΔVt​(x)=Vt​(x)−Vt​(x−1) (bernoulliDelta). The deterministic model (5.1) maximizes ∑tr(t,d(t))\sum_t r(t, d(t))∑t​r(t,d(t)) over rates with ∑td(t)≤C\sum_t d(t) \le C∑t​d(t)≤C (deterministicValue).

Pricing with replenishment (Sect. 5.3.2). Inventory may be negative (backorders). In period ttt with inventory xxx the firm orders up to y≥xy \ge xy≥x at unit cost ctc_tct​, chooses a rate d∈[0,dˉ]d \in [0, \bar d]d∈[0,dˉ], sells the random demand D(t,d,ξt)=at(ξt) d+bt(ξt)D(t, d, \xi_t) = a_t(\xi_t)\,d + b_t(\xi_t)D(t,d,ξt​)=at​(ξt​)d+bt​(ξt​) (additive, multiplicative or mixed noise), and pays the convex cost hth_tht​ on ending inventory. The value function (5.20) is Vt(x)=sup⁡y≥x, d{r(t,d)−ct(y−x)+Gt+1(y,d)}V_t(x) = \sup_{y \ge x,\, d}\{r(t, d) - c_t(y - x) + G_{t+1}(y, d)\}Vt​(x)=supy≥x,d​{r(t,d)−ct​(y−x)+Gt+1​(y,d)} with the continuation value Gt+1(y,d)=E[Vt+1(y−D(t,d,ξt))−ht(y−D(t,d,ξt))]G_{t+1}(y, d) = \mathbb E[V_{t+1}(y - D(t, d, \xi_t)) - h_t(y - D(t, d, \xi_t))]Gt+1​(y,d)=E[Vt+1​(y−D(t,d,ξt​))−ht​(y−D(t,d,ξt​))] (ReplPricing.value, contValue). Assumption 7.2, marginal revenue decreasing, is the concavity of r(t,⋅)r(t, \cdot)r(t,⋅).

Formalization targets

Goal: Proposition 5.3

For every period, Gt+1G_{t+1}Gt+1​ is jointly concave on R×[0,dˉ]\mathbb R \times [0, \bar d]R×[0,dˉ], VtV_tVt​ is concave on R\mathbb RR, and Gt+1G_{t+1}Gt+1​ has increasing differences in (y,d)(y, d)(y,d), the supermodularity that the book states through its partial derivatives: replenishment_concave_supermodular.

Supporting targets

Proposition 5.2, the marginal value of capacity in the Bernoulli model decreases in ttt and in xxx; the upper bound of Sect. 5.2.2.3, the optimal deterministic revenue dominates the optimal expected stochastic revenue; and the base-stock, posted-price structure of Sect. 5.3.2.1, derived from Proposition 5.3: below the unconstrained optimum y0y^0y0 order up to it and use d0d^0d0, above it order nothing and use a rate at least d0d^0d0 that is nondecreasing in the inventory.

Proposition 5.1 and Lemma 5-5.A.1 (the continuous-demand model without replenishment) are not targets; see the formalization scope. The deterministic sections (efficient prices, discrete price sets), the asymptotic optimality of the deterministic heuristic, the infinite-horizon stationary problem and the multiproduct and finite-population models carry no numbered results.

Significance

Proposition 5.3 is the structural core of joint pricing and inventory control: joint concavity makes the period problem a concave program, and supermodularity is what turns its solution into a policy, the base-stock, posted-price rule that Federgruen and Heching showed optimal and that later work on pricing with inventory builds on. Proposition 5.2 is the reason optimal dynamic prices in the stochastic single-item model rise at every sale and fall while inventory sits, the behaviour of Figure 5.5, and the deterministic upper bound is what justifies the fluid model as a benchmark and a heuristic, the pattern quantified in Table 5.6. None of these has a machine-checked proof; the replenishment result in particular needs the interplay of concavity, expectation and partial maximization on all of R\mathbb RR.

Difficulty

Proposition 5.2 is an induction whose step compares suprema over the rate interval, with the boundary condition Vt(0)=0V_t(0) = 0Vt​(0)=0 breaking the recursion at x=1x = 1x=1 and requiring r(t,0)=0r(t, 0) = 0r(t,0)=0. The deterministic bound is an induction on periods that uses the concavity of the deterministic value in the inventory (a concave program's value) to absorb the two branches of the Bernoulli recursion. The goal needs: integrability and continuity of Vt+1(y−D)−ht(y−D)V_{t+1}(y - D) - h_t(y - D)Vt+1​(y−D)−ht​(y−D) under bounded noise; that the expectation of a concave function of an affine map is jointly concave, and its increasing differences from those of the concave integrand; that a partial supremum of a jointly concave function over the convex feasible set {y≥x}\{y \ge x\}{y≥x} is concave in xxx; and the boundedness of the objective so that every supremum is a real number. The base-stock item is the segment argument that moves an unconstrained maximizer onto the boundary y=xy = xy=x and a monotone comparative-statics argument on the supermodular objective, with maxima attained by continuity on the compact rate interval.

Formalization scope

Periods are natural numbers with value t the value with T+1−tT + 1 - tT+1−t periods to go, the maxima are suprema, and the book's ranges are hypotheses. The demand is affine in the rate, which is the additive and multiplicative models the book names; with a merely convex demand (Assumption 5.1) the joint concavity of Proposition 5.3 fails when Vt+1−htV_{t+1} - h_tVt+1​−ht​ is not monotone, and the noise has bounded support, strengthening Assumption 7.6. The partial-derivative statements (iii)-(iv) are in difference form. Proposition 5.1 is not formalized: its model (5.11) evaluates Vt+1(x−D)V_{t+1}(x - D)Vt+1​(x−D) at negative inventories the model does not define while truncating revenue at xxx, and its Lemma 5-5.A.1 (joint concavity of r+r^+r+) is false as stated, its Hessian argument mistaking an indefinite matrix for a negative definite one; a counterexample is in the mission's check. The deterministic model restricts rates to [0,1][0, 1][0,1], the rates the Bernoulli model can realize.

Selected references

  • K. T. Talluri and G. J. van Ryzin, The Theory and Practice of Revenue Management, Kluwer/Springer, 2004, Chapter 5. https://doi.org/10.1007/b139000
  • G. Gallego and G. J. van Ryzin, Optimal dynamic pricing of inventories with stochastic demand over finite horizons, Management Science 40(8), 1994. https://doi.org/10.1287/mnsc.40.8.999
  • A. Federgruen and A. Heching, Combined pricing and inventory control under uncertainty, Operations Research 47(3), 1999. https://doi.org/10.1287/opre.47.3.454
  • W. Elmaghraby and P. Keskinocak, Dynamic pricing in the presence of inventory considerations, Management Science 49(10), 2003. https://doi.org/10.1287/mnsc.49.10.1287.17315
  • D. M. Topkis, Supermodularity and Complementarity, Princeton University Press, 1998. https://doi.org/10.1515/9781400822539
5 thms2 active usersReviewed
🏆Completed
Markov Chain·Captain: naimengye

Fundamentals of Supply Chain Theory X: Supply UncertaintyTextbook

When the supplier is the risk

Every model in the earlier chapters of this series treats demand as the uncertain quantity and supply as given. Chapter 9 of Snyder and Shen's Fundamentals of Supply Chain Theory (2019) reverses the roles: demand is deterministic and the supplier fails. A disruption is a binary event, modeled as a two-state Markov process between up and down periods, during which nothing can be ordered. The chapter's thesis, from Snyder and Shen (2006), is that supply uncertainty is a mirror image of demand uncertainty: the optimal base-stock level has the same critical-fractile form as the newsvendor solution but with the fractile taken over the disruption-length distribution (Tomlin 2006), and consolidation, which pools demand risk, now does nothing to expected cost and multiplies its variance, the risk-diversification effect of Schmitt, Sun, Snyder and Shen (2015). The chapter closes with the reliable fixed-charge location problem of Snyder and Daskin (2005). This mission formalizes the chapter's theorems on disruptions, with the risk-diversification theorem as its goal.

Setting

A supplier that is up is disrupted next period with probability α\alphaα; one that is down recovers with probability β\betaβ. The disruption chain records 000 when the supplier is up and n≥1n \ge 1n≥1 in the nnn-th consecutive period of a disruption; its stationary distribution is π0=β/(α+β)\pi_0 = \beta/(\alpha+\beta)π0​=β/(α+β) and πn=αβα+β(1−β)n−1\pi_n = \frac{\alpha\beta}{\alpha+\beta}(1-\beta)^{n-1}πn​=α+βαβ​(1−β)n−1 (disruptionPmf), with distribution function F(n)=∑i≤nπiF(n) = \sum_{i \le n}\pi_iF(n)=∑i≤n​πi​ (disruptionCdf).

A single location faces demand ddd per period, pays hhh per unit held and ppp per unit backordered per period, and follows a base-stock policy: it orders up to SSS in every up period and nothing in down periods. In the nnn-th period of a disruption it has S−(n+1)dS - (n+1)dS−(n+1)d units on hand or backordered, so its cost is g^(S,n)=h[S−(n+1)d]++p[(n+1)d−S]+\hat g(S, n) = h[S-(n+1)d]^+ + p[(n+1)d - S]^+g^​(S,n)=h[S−(n+1)d]++p[(n+1)d−S]+ (periodCost), and the expected cost per period is g(S)=∑nπng^(S,n)g(S) = \sum_n \pi_n \hat g(S, n)g(S)=∑n​πn​g^​(S,n) (meanCost), with variance V(S)V(S)V(S) over the disruption state (varCost). The critical fractile γ=p/(p+h)\gamma = p/(p+h)γ=p/(p+h) and F−1(γ)F^{-1}(\gamma)F−1(γ), the smallest nnn with F(n)≥γF(n) \ge \gammaF(n)≥γ, determine the optimal level.

In the reliable fixed-charge location problem (RFLP), sites fail independently with probability qqq and each customer is assigned to a chain of facilities: its level-rrr facility serves it when the rrr closer facilities are disrupted, until it is assigned to an emergency facility uuu that never fails and charges the penalty θi\theta_iθi​. The objective (9.61) is fixed cost plus expected transportation cost, with coefficients ψijr=hicijqr(1−q)\psi_{ijr} = h_i c_{ij} q^r (1-q)ψijr​=hi​cij​qr(1−q) (rflpPsi, rflpCost) under the constraints (9.62)-(9.67) (RFLPFeasible).

Formalization targets

Goal: Theorem 9.9

For NNN identical locations and the centralized location formed by merging them (demand NdNdNd):

SC∗=NS∗,gC∗=gD∗=Ng∗,VC∗=NVD∗=N2V∗,S^*_C = NS^*, \qquad g^*_C = g^*_D = Ng^*, \qquad V^*_C = N V^*_D = N^2 V^*,SC∗​=NS∗,gC∗​=gD∗​=Ng∗,VC∗​=NVD∗​=N2V∗,

that is, an optimal single-location level SSS scales to the optimal centralized level NSNSNS, the centralized expected cost at NSNSNS is NNN times the single-location cost, and its variance is N2N^2N2 times the single-location variance. This is risk_diversification.

Supporting targets

Lemma 9.2, the stationary distribution and distribution function of the disruption chain; Lemma 9.4, that the optimal base-stock level is a multiple of ddd; Theorem 9.5, S∗=d+dF−1(p/(p+h))S^* = d + dF^{-1}(p/(p+h))S∗=d+dF−1(p/(p+h)), as the least minimizer of ggg; and Theorem 9.10, that in every optimal RFLP solution consecutive backup assignments are ordered by cost. Theorem 9.3, the optimality of base-stock policies, is cited by the book to Song and Zipkin without a model of the policy space and is not a target; Proposition 9.1 and the multisupplier results of Sect. 9.4 are left for a later mission, as discussed below.

Significance

Theorem 9.5 is the supply-side newsvendor formula: it says exactly how much inventory buys protection against disruptions of a given length, and it underlies the disruption models used in practice for raw-material buffers. Theorem 9.9 is the chapter's central insight and the reason supply and demand uncertainty call for opposite strategies: pooling reduces expected cost under demand uncertainty but only redistributes risk under supply uncertainty, concentrating it. Its three identities are what a risk-averse planner needs to compare the two designs by a mean-variance criterion. Theorem 9.10 is what lets the RFLP be formulated without ordering constraints and solved by Lagrangian relaxation like the UFLP.

None of these results has a machine-checked proof. The book proves Theorem 9.5 and the identities behind Theorem 9.9, sketches Lemma 9.4, and leaves Lemma 9.2 and Theorem 9.10 as exercises. The formal treatment of the piecewise-linear cost ggg and its finite differences is reusable for the yield-uncertainty and multi-supplier models of the same chapter.

Difficulty

The cost ggg is an infinite series whose terms grow linearly in nnn against a geometric weight, so every statement about it begins with summability, and the finite-difference identity Δg(S)=d[(h+p)F(S/d−1)−p]\Delta g(S) = d[(h+p)F(S/d - 1) - p]Δg(S)=d[(h+p)F(S/d−1)−p] requires exchanging a difference with a sum. Theorem 9.5 then needs the convexity and piecewise linearity of ggg to pass from a sign condition on slopes at multiples of ddd to a global minimum over all real SSS, and the identification of the least minimizer needs the slopes to be strictly negative below S∗S^*S∗. The obvious idea, treating the problem as a discrete newsvendor over multiples of ddd, is only half of the argument: it does not by itself exclude non-multiple minimizers, which is what Lemma 9.4 asserts.

Lemma 9.2 is elementary but the stationary equations involve a series over all down states, and the proof must establish summability before manipulating it. Theorem 9.9's scaling identities are termwise, but the optimality transfer in part 1 requires the scaling to preserve minimizers, which follows from the cost identity holding for every SSS.

Theorem 9.10 is an exchange argument on a binary program with layered constraints. The delicate case is the emergency facility: swapping it into a lower level is infeasible, and the correct move is to promote it and drop the later assignment, which changes the constraints for every higher level; the argument must show feasibility of the modified solution level by level.

Formalization scope

The disruption distribution is given by Lemma 9.2's formula rather than defined as the stationary distribution, and Lemma 9.2 shows it satisfies the stationary equations; the theorems assume 0<α≤10 < \alpha \le 10<α≤1 and 0<β≤10 < \beta \le 10<β≤1, under which every series is a geometric series times a polynomial and is summable. The quantity F−1(γ)F^{-1}(\gamma)F−1(γ) enters Theorem 9.5 as a natural number kkk characterized by F(k)≥γF(k) \ge \gammaF(k)≥γ and F(n)<γF(n) < \gammaF(n)<γ for n<kn < kn<k, which exists since F(n)→1>γF(n) \to 1 > \gammaF(n)→1>γ; the conclusion asserts both optimality and leastness of d+dkd + dkd+dk among all real levels.

Theorem 9.9 is stated as the scaling of the single-location functions; the decentralized totals Ng∗Ng^*Ng∗ and NV∗NV^*NV∗ are the mean and variance of a sum of NNN independent copies, which the book asserts rather than derives, and are not modeled separately. In the RFLP, levels are indexed by Fin m, the emergency facility is a designated index uuu whose data satisfy the book's conventions through the hypotheses, and demands are positive with 0<q<10 < q < 10<q<1, both needed: with q=0q = 0q=0 or hi=0h_i = 0hi​=0 backup assignments are free and any order is optimal.

The EOQ with disruptions (Proposition 9.1) is a renewal-reward derivation without a formal model of the renewal process in the book, and the multisupplier newsvendor of Sect. 9.4 (Lemma 9.6, Theorems 9.7 and 9.8) rests on differentiability conditions the book defers to Dada et al. and on a lemma it leaves as an exercise; both are natural extensions on the same definitions rather than targets here.

Selected references

  • L. V. Snyder and Z.-J. M. Shen, Fundamentals of Supply Chain Theory, 2nd ed., Wiley, 2019, Chapter 9. https://doi.org/10.1002/9781119584445
  • B. Tomlin, On the value of mitigation and contingency strategies for managing supply chain disruption risks, Management Science 52(5), 2006. https://doi.org/10.1287/mnsc.1060.0515
  • A. J. Schmitt, S. A. Sun, L. V. Snyder and Z.-J. M. Shen, Centralization versus decentralization: risk pooling, risk diversification, and supply chain disruptions, Omega 52, 2015. https://doi.org/10.1016/j.omega.2014.10.010
  • L. V. Snyder and M. S. Daskin, Reliability models for facility location: the expected failure cost case, Transportation Science 39(3), 2005. https://doi.org/10.1287/trsc.1040.0107
  • L. V. Snyder and Z.-J. M. Shen, Supply and demand uncertainty in multi-echelon supply chains, working paper, 2006. https://doi.org/10.1287/msom.1080.0224
6 thms2 active usersReviewed
🏆Completed
Optimization·Captain: naimengye

Fundamentals of Supply Chain Theory IX: Facility Location ModelsTextbook

Where to put the warehouses

Choosing where to open distribution centers is the strategic decision that fixes a supply chain's shape for years. The basic model, the uncapacitated fixed-charge location problem (UFLP) of Balinski (1965), trades the fixed cost of opening sites against the cost of transporting demand from open sites to customers. It is NP-hard, yet routinely solved to optimality, and the reason is a fact about its relaxations: the LP relaxation is unusually tight, and Lagrangian relaxation, which Cornuejols, Fisher and Nemhauser (1977) brought to location problems, gives the same bound with a subproblem solvable by inspection. Chapter 8 of Snyder and Shen's Fundamentals of Supply Chain Theory (2019) develops the UFLP, its Lagrangian relaxation and Erlenkotter's (1978) DUALOC dual-ascent method, then the p-median problem with Hakimi's (1965) node-optimality theorem and the covering models. This mission formalizes the chapter's numbered results, with the equality of the Lagrangian and LP bounds as its goal.

Setting

Customers i∈Ii \in Ii∈I have demands hih_ihi​; candidate sites j∈Jj \in Jj∈J have fixed costs fjf_jfj​; shipping one unit from jjj to iii costs cijc_{ij}cij​. A solution opens sites (xj∈{0,1}x_j \in \{0,1\}xj​∈{0,1}) and assigns demand fractions (yij≥0y_{ij} \ge 0yij​≥0, ∑jyij=1\sum_j y_{ij} = 1∑j​yij​=1, yij≤xjy_{ij} \le x_jyij​≤xj​); its cost is ∑jfjxj+∑i∑jhicijyij\sum_j f_j x_j + \sum_i \sum_j h_i c_{ij} y_{ij}∑j​fj​xj​+∑i​∑j​hi​cij​yij​ (uflpCost, UFLPFeasible). The optimal value is z∗z^*z∗ (uflpOpt); relaxing xj∈{0,1}x_j \in \{0,1\}xj​∈{0,1} to 0≤xj≤10 \le x_j \le 10≤xj​≤1 gives the LP relaxation with value zLPz_{LP}zLP​ (uflpLP).

Lagrangian relaxation removes the assignment constraints and charges λi\lambda_iλi​ per unit of violation. For fixed multipliers λ\lambdaλ the subproblem (UFLP-LRλ_\lambdaλ​) minimizes ∑jfjxj+∑i∑j(hicij−λi)yij+∑iλi\sum_j f_j x_j + \sum_i\sum_j (h_i c_{ij} - \lambda_i) y_{ij} + \sum_i \lambda_i∑j​fj​xj​+∑i​∑j​(hi​cij​−λi​)yij​+∑i​λi​ over yij≤xjy_{ij} \le x_jyij​≤xj​, xxx binary, y≥0y \ge 0y≥0 (lagrObjective, LagrFeasible), with value zLR(λ)z_{LR}(\lambda)zLR​(λ) (zLR). It separates by site: the benefit of opening jjj is βj=∑imin⁡{0,hicij−λi}\beta_j = \sum_i \min\{0, h_i c_{ij} - \lambda_i\}βj​=∑i​min{0,hi​cij​−λi​} (benefit), and jjj is opened iff βj+fj<0\beta_j + f_j < 0βj​+fj​<0. The best bound is the Lagrangian dual value zLR=max⁡λzLR(λ)z_{LR} = \max_\lambda z_{LR}(\lambda)zLR​=maxλ​zLR​(λ) (zLRbest).

DUALOC works with the condensed dual of the LP relaxation, whose variables viv_ivi​ satisfy ∑imax⁡{0,vi−c^ij}≤fj\sum_i \max\{0, v_i - \hat c_{ij}\} \le f_j∑i​max{0,vi​−c^ij​}≤fj​ with c^ij=hicij\hat c_{ij} = h_i c_{ij}c^ij​=hi​cij​. A dual solution vvv and a site set J+J^+J+ form a primal-dual pair (PDP) when these constraints are tight on J+J^+J+ and every customer has a site in J+J^+J+ with c^ij≤vi\hat c_{ij} \le v_ic^ij​≤vi​; the primal solution opens J+J^+J+ and assigns each customer to its nearest open site j+(i)j^+(i)j+(i) (NearestIn, primalX, primalY).

For the p-median problem on a network, the customers are the nodes, ddd is the shortest-path distance between nodes, and a facility may sit at position ttt along an edge (u,w)(u, w)(u,w) of length ℓ\ellℓ, at distance min⁡{d(i,u)+tℓ,d(i,w)+(1−t)ℓ}\min\{d(i,u) + t\ell, d(i,w) + (1-t)\ell\}min{d(i,u)+tℓ,d(i,w)+(1−t)ℓ} from node iii (NetPoint, netDist). The p-center problem minimizes the largest distance from a customer to its nearest of ppp open sites; pCenterValue c p is its optimal value.

Formalization targets

Goal: Corollary 8.2

For every instance with at least one candidate site,

zLP  =  zLR  =  sup⁡λzLR(λ).z_{LP} \;=\; z_{LR} \;=\; \sup_\lambda z_{LR}(\lambda).zLP​=zLR​=λsup​zLR​(λ).

This is lagrangian_equals_lp.

Supporting targets

Theorem 8.1, the closed form zLR(λ)=∑jmin⁡{0,βj+fj}+∑iλiz_{LR}(\lambda) = \sum_j \min\{0, \beta_j + f_j\} + \sum_i \lambda_izLR​(λ)=∑j​min{0,βj​+fj​}+∑i​λi​ with its optimal solution; the bounds (8.16) zLR(λ)≤z∗z_{LR}(\lambda) \le z^*zLR​(λ)≤z∗ and (8.19) zLP≤zLR≤z∗z_{LP} \le z_{LR} \le z^*zLP​≤zLR​≤z∗; Theorem 8.3, the variable-fixing tests; Lemma 8.4, the DUALOC duality gap zP+−zD+=∑i∑j∈J+,j≠j+(i)max⁡{0,vi−c^ij}z^+_P - z^+_D = \sum_i \sum_{j \in J^+, j \ne j^+(i)} \max\{0, v_i - \hat c_{ij}\}zP+​−zD+​=∑i​∑j∈J+,j=j+(i)​max{0,vi​−c^ij​}; Lemma 8.6, the characterization of complementary slackness violations; Theorem 8.7, Hakimi's theorem that some ppp nodes are optimal among all ppp-point sets; Lemma 8.8, the equivalence between the ppp-center value being at most rrr and a set cover of radius rrr with at most ppp sites. Proposition 8.5, which concerns the output of a specific procedure, is not a target.

Significance

Corollary 8.2 explains the behavior of every Lagrangian location code: the bound cannot beat the LP bound, so its value lies in the ease of the subproblem and in extensions to nonlinear location models (the location model with risk pooling of Chapter 12) where no LP is available. Theorem 8.1 is the subproblem solution those codes use; Theorem 8.3 is the variable-fixing device of Daskin, Snyder and others that shrinks branch-and-bound trees. Lemmas 8.4 and 8.6 are the analytical core of DUALOC, the method that made large UFLP instances solvable in the 1970s. Hakimi's theorem is the reason the ppp-median problem is a discrete problem at all, and Lemma 8.8 is the reason ppp-center problems are solved by bisection over covering problems rather than by their weak MIP formulation.

None of these results has a machine-checked proof. The book proves Theorems 8.1 and 8.3 and Lemma 8.6, cites Corollary 8.2 to Appendix D and Theorem 8.7 to Hakimi, and leaves Lemmas 8.4 and 8.8 as exercises. The formal treatment of the integrality property and of Lagrangian duality for a linear objective over a product of boxes is reusable for the p-median and capacitated variants the chapter goes on to discuss.

Difficulty

The goal is an LP duality statement in disguise, and the obvious idea, that zLR(λ)z_{LR}(\lambda)zLR​(λ) is the dual function of the LP relaxation, is exactly what needs proof. Two facts must be established: that for fixed λ\lambdaλ the subproblem over binary xxx has the same value as over x∈[0,1]x \in [0,1]x∈[0,1], because after the optimal yyy is substituted the objective is linear in xxx; and that the supremum over λ\lambdaλ of the resulting concave piecewise-linear function equals the LP minimum. The second is strong duality for a linear program, which Mathlib does not provide ready-made; it has to be obtained either through a Farkas-type argument or by exhibiting, for the LP optimum, a multiplier vector that attains it, which for this problem can be read off the LP dual. The book proves none of this; it invokes Lemma D.3.

The bounds (8.16) and (8.19) are easier but not free: the infima and suprema defining z∗z^*z∗, zLPz_{LP}zLP​ and zLRz_{LR}zLR​ must be shown attained, which needs finiteness of the binary choices and compactness of the assignment polytope. Theorem 8.3 depends on the value of the subproblem with one variable forced, which is Theorem 8.1 applied to a modified instance. Hakimi's theorem needs a concavity argument in each point's position and a bookkeeping step, since moving several points to nodes may merge them and the result must still have exactly ppp nodes. Lemma 8.8 is combinatorial and short once the ppp-center value is identified with a minimum over ppp-subsets.

Formalization scope

Customers and sites are Fin n and Fin m; demands, costs and fixed costs are arbitrary reals, as the book's formulations are, and the theorems that need it assume m≥1m \ge 1m≥1. Optimal values are infima or suprema of the sets of attainable objective values, all of which are nonempty and bounded under the stated hypotheses. The Lagrangian dual value is a supremum over all real multiplier vectors, so Corollary 8.2 asserts in particular that the supremum equals the attained LP value.

The DUALOC statements take the nearest-facility assignment j+(i)j^+(i)j+(i) as a function a with the defining property, so ties are resolved by the hypothesis, and the complementary slackness violation is written exactly as (8.51) with (x+,y+)(x^+, y^+)(x+,y+) substituted. Hakimi's theorem is stated for a family of ppp points with repetition allowed, which is stronger than for a set. It assumes what the book's network supplies: the node distances satisfy the triangle inequality, since they are shortest-path distances, and every edge carrying a point is at least as long as the distance between its endpoints. The argument needs both: they make the ends of an edge coincide with its nodes, and without them a point on a short fictitious edge can beat every node. The set covering value in Lemma 8.8 is expressed through the existence of a cover with at most ppp sites rather than as a natural-number infimum, whose value 000 on infeasible instances would falsify the equivalence.

The definition module is shared by all ten items. The Lagrangian relaxation of the ppp-median problem (Sect. 8.3.2.2), the continuous knapsack subproblem of the capacitated problem, and Proposition 8.5 on the dual-ascent procedure are natural extensions on the same definitions.

Selected references

  • L. V. Snyder and Z.-J. M. Shen, Fundamentals of Supply Chain Theory, 2nd ed., Wiley, 2019, Chapter 8. https://doi.org/10.1002/9781119584445
  • M. L. Balinski, Integer programming: methods, uses, computation, Management Science 12(3), 1965. https://doi.org/10.1287/mnsc.12.3.253
  • G. Cornuejols, M. L. Fisher and G. L. Nemhauser, Location of bank accounts to optimize float, Management Science 23(8), 1977. https://doi.org/10.1287/mnsc.23.8.789
  • D. Erlenkotter, A dual-based procedure for uncapacitated facility location, Operations Research 26(6), 1978. https://doi.org/10.1287/opre.26.6.992
  • S. L. Hakimi, Optimum distribution of switching centers in a communication network and some related graph theoretic problems, Operations Research 13(3), 1965. https://doi.org/10.1287/opre.13.3.462
  • A. M. Geoffrion, Lagrangean relaxation for integer programming, Mathematical Programming Study 2, 1974. https://doi.org/10.1007/BFb0120690
10 thms2 active usersReviewed
🏆Completed
Algorithmic Game Theory·Captain: naimengye

Fundamentals of Supply Chain Theory VIII: Supply Chain ContractsTextbook

Why the newsvendor orders too little

A retailer facing uncertain single-period demand and buying from a supplier at a wholesale price orders less than the two of them together would want. The reason is not irrationality but incentives: the retailer bears the whole cost of unsold stock while the supplier collects a margin on every unit ordered, so each party marks up its own cost and the combined markup, Spengler's (1950) double marginalization, depresses the order. Pasternack (1985) showed that a buyback credit for unsold units, priced correctly, realigns the retailer with the chain, and Cachon (2003) surveys the contracts that followed. Chapter 14 of Snyder and Shen's Fundamentals of Supply Chain Theory (2019) develops this as a Stackelberg game on the newsvendor model: the supplier sets contract terms, the retailer sets the order quantity. This mission formalizes the chapter's seven theorems, with the buyback allocation theorem, which shows that buyback both coordinates the chain and can divide its profit in any proportion, as the goal.

Setting

Demand DDD is a random variable with law on R\mathbb{R}R and mean μ\muμ. The retail price is rrr; the supplier's and retailer's per-unit costs are csc_scs​ and crc_rcr​ with c=cs+cr<rc = c_s + c_r < rc=cs​+cr​<r; lost sales cost the two parties goodwill penalties psp_sps​ and prp_rpr​ with p=ps+prp = p_s + p_rp=ps​+pr​; unsold units salvage for v<crv < c_rv<cr​ (ContractData). With S(Q)=E[min⁡{Q,D}]S(Q) = \mathbb{E}[\min\{Q, D\}]S(Q)=E[min{Q,D}] the expected sales (expSales) and I(Q)=Q−S(Q)I(Q) = Q - S(Q)I(Q)=Q−S(Q) the expected leftover (expLeftover), a transfer payment T(Q)T(Q)T(Q) from retailer to supplier determines the two profits (retailerProfit, supplierProfit),

πr(Q)=(r−v+pr)S(Q)−(cr−v)Q−prμ−T(Q),πs(Q)=psS(Q)−csQ−psμ+T(Q),\pi_r(Q) = (r - v + p_r)S(Q) - (c_r - v)Q - p_r\mu - T(Q), \qquad \pi_s(Q) = p_s S(Q) - c_s Q - p_s\mu + T(Q),πr​(Q)=(r−v+pr​)S(Q)−(cr​−v)Q−pr​μ−T(Q),πs​(Q)=ps​S(Q)−cs​Q−ps​μ+T(Q),

whose sum Π(Q)=(r−v+p)S(Q)−(c−v)Q−pμ\Pi(Q) = (r - v + p)S(Q) - (c - v)Q - p\muΠ(Q)=(r−v+p)S(Q)−(c−v)Q−pμ (chainProfit) is independent of the contract. The chain-optimal quantity Q0Q_0Q0​ maximizes Π\PiΠ; the retailer's and supplier's optimal quantities Qr∗Q^*_rQr∗​, Qs∗Q^*_sQs∗​ maximize their own profits. A contract coordinates the chain when Qr∗=Qs∗=Q0Q^*_r = Q^*_s = Q_0Qr∗​=Qs∗​=Q0​, stated here as equality of the sets of maximizers, and is a coordinating contract type when some choice of its parameters does this with both profits positive.

The four contracts are their transfer payments. Wholesale price: T=wQT = wQT=wQ. Buyback: T=wQ−b I(Q)T = wQ - b\,I(Q)T=wQ−bI(Q), the supplier crediting bbb per unsold unit, with 0≤b≤r−v+pr0 \le b \le r - v + p_r0≤b≤r−v+pr​ and w=w(b)w = w(b)w=w(b) of (14.22). Revenue sharing: the retailer keeps a fraction ϕ\phiϕ of sales and salvage revenue, T=(w+(1−ϕ)v)Q+(1−ϕ)(r−v)S(Q)T = (w + (1-\phi)v)Q + (1-\phi)(r - v)S(Q)T=(w+(1−ϕ)v)Q+(1−ϕ)(r−v)S(Q), with w=w(ϕ)w = w(\phi)w=w(ϕ) of (14.34). Quantity flexibility: the supplier reimburses the retailer's loss w+cr−vw + c_r - vw+cr​−v on unsold units up to δQ\delta QδQ, T=wQ−(w+cr−v)∫(1−δ)QQF(t) dtT = wQ - (w + c_r - v)\int_{(1-\delta)Q}^{Q} F(t)\,dtT=wQ−(w+cr​−v)∫(1−δ)QQ​F(t)dt, with w=w(δ)w = w(\delta)w=w(δ) of (14.46). For buyback, λ=(r−v+pr−b)/(r−v+p)\lambda = (r - v + p_r - b)/(r - v + p)λ=(r−v+pr​−b)/(r−v+p) is the retailer's share of the chain profit (buybackShare), and b1<b2b_1 < b_2b1​<b2​ (buybackB1, buybackB2) are the credits at which one party earns everything.

Formalization targets

Goal: Theorem 14.5

Under buyback with w(b)w(b)w(b) at the chain-optimal Q0Q_0Q0​, the retailer's profit is decreasing and the supplier's increasing in b∈[0,r−v+pr]b \in [0, r - v + p_r]b∈[0,r−v+pr​], with 0<b1<b2<r−v+pr0 < b_1 < b_2 < r - v + p_r0<b1​<b2​<r−v+pr​ and

πr(Q0,w(b1),b1)=Π(Q0),πs(Q0,w(b2),b2)=Π(Q0),\pi_r(Q_0, w(b_1), b_1) = \Pi(Q_0), \qquad \pi_s(Q_0, w(b_2), b_2) = \Pi(Q_0),πr​(Q0​,w(b1​),b1​)=Π(Q0​),πs​(Q0​,w(b2​),b2​)=Π(Q0​),

the supplier losing money for b<b1b < b_1b<b1​, both earning positive profit for b1<b<b2b_1 < b < b_2b1​<b<b2​, and the retailer losing money for b>b2b > b_2b>b2​. This is buyback_allocation.

Supporting targets

Equation (14.8), Q0Q_0Q0​ maximizes Π\PiΠ iff Fˉ(Q0)=(c−v)/(r−v+p)\bar F(Q_0) = (c - v)/(r - v + p)Fˉ(Q0​)=(c−v)/(r−v+p); Theorem 14.1, the wholesale price contract coordinates iff w=cs−c−vr−v+ppsw = c_s - \frac{c-v}{r-v+p}p_sw=cs​−r−v+pc−v​ps​, at which the supplier's profit is negative; Theorem 14.2, Qr∗<Q0Q^*_r < Q_0Qr∗​<Q0​ whenever w>csw > c_sw>cs​; Theorem 14.3, for IGFR demand the supplier's induced profit πs(Q,w(Q))\pi_s(Q, w(Q))πs​(Q,w(Q)) is unimodal; the identities (14.27) and (14.28), πr=λΠ+μ(λp−pr)\pi_r = \lambda\Pi + \mu(\lambda p - p_r)πr​=λΠ+μ(λp−pr​) and its complement under buyback; Theorem 14.4, buyback with w(b)w(b)w(b) coordinates; Theorem 14.6, revenue sharing with w(ϕ)w(\phi)w(ϕ) coordinates; Theorem 14.7, quantity flexibility with w(δ)w(\delta)w(δ) makes Q0Q_0Q0​ optimal for the retailer.

Significance

The chapter's theorems are the analytical basis of contract design in newsvendor supply chains. Theorem 14.1 and 14.2 make double marginalization precise: coordination by price alone is possible only at a price the supplier rejects, and any acceptable price makes the retailer under-order. Theorem 14.3 is what lets the supplier optimize the wholesale price at all, and is the reason the IGFR class of Lariviere and Porteus (2001) is standard in the field. Theorems 14.4 to 14.6 show that buyback and revenue sharing coordinate and, through the share λ\lambdaλ, that the chain profit can be split arbitrarily, so a coordinating contract can be made acceptable to both parties. Theorem 14.7 shows the limits: quantity flexibility coordinates the retailer but not necessarily the supplier.

None of these results has a machine-checked proof. The book proves Theorems 14.1, 14.3, 14.4, 14.5, 14.6 and 14.7 and leaves 14.2 as an exercise. The formalization of the fractile characterization and of the affine profit identities is reusable for the many contract types (sales rebates, quantity discounts) the chapter cites but does not analyze.

Difficulty

The wholesale price results are first-order conditions on concave functions, and the difficulty is entirely in the analysis: S(Q)=E[min⁡{Q,D}]S(Q) = \mathbb{E}[\min\{Q, D\}]S(Q)=E[min{Q,D}] has derivative Fˉ(Q)\bar F(Q)Fˉ(Q) for every QQQ when FFF is continuous, which is a differentiation under the integral that has to be carried out for a Lipschitz integrand and an arbitrary law, and the maximizers of the concave profit must then be identified with the solutions of the fractile equation, including existence by the intermediate value theorem. Theorem 14.1's "only if" direction requires that a coincidence of maximizer sets pins the fractile and hence the price, which is where strict monotonicity of FFF enters.

Theorem 14.3 is the delicate one. The obvious approach, concavity of πs(Q,w(Q))\pi_s(Q, w(Q))πs​(Q,w(Q)), fails: the book stresses the function is not concave in general. The proof is a sign-change argument on the derivative (14.16), which is Fˉ(Q)\bar F(Q)Fˉ(Q) times a bracket that IGFR makes decreasing, minus a constant; one must show the derivative is positive near 000, eventually negative, and crosses zero exactly once, and that the last needs both Fˉ\bar FFˉ strictly decreasing and the bracket positive at the crossing. Working with a density in Mathlib means relating the withDensity law to the distribution function throughout.

The buyback, revenue sharing and quantity flexibility theorems are algebra once the right identity is found: πr\pi_rπr​ is an affine function of Π\PiΠ with slope λ\lambdaλ. The formalization must handle the boundary cases the book glosses over, where λ=0\lambda = 0λ=0 or λ=1\lambda = 1λ=1 and one party is indifferent among all quantities, so "the same QQQ maximizes" holds only in one direction. Theorem 14.5 also needs Π(Q0)≤μ(r−c)\Pi(Q_0) \le \mu(r - c)Π(Q0​)≤μ(r−c), a Jensen-type bound S(Q)≤min⁡{Q,μ}S(Q) \le \min\{Q, \mu\}S(Q)≤min{Q,μ}, for b1>0b_1 > 0b1​>0, and the ordering b1<b2b_1 < b_2b1​<b2​ needs Π(Q0)>0\Pi(Q_0) > 0Π(Q0​)>0, which the book's proof does not isolate.

Formalization scope

Demand is an arbitrary probability law on R\mathbb{R}R with finite mean, not assumed nonnegative; the book's own examples use normal demand. Optimal quantities are maximizers over all of R\mathbb{R}R (IsMaxOn … Set.univ), and coordination is the coincidence of maximizer sets, with the degenerate endpoints of the parameter ranges stated as one-directional. Where the book uses a density, continuity of the distribution function (NullSingletonClass) is assumed instead, except in Theorem 14.3, where the density fff is explicit, continuous on [0,∞)[0, \infty)[0,∞) (so the exponential law is included), positive on (0,∞)(0, \infty)(0,∞), and IGFR on (0,∞)(0, \infty)(0,∞). Strict monotonicity of FFF on R\mathbb{R}R is never assumed, since it would rule out every nonnegative demand law. Theorem 14.1 assumes ps>0p_s > 0ps​>0 and a positive chain optimum, Fˉ(0)>(c−v)/(r−v+p)\bar F(0) > (c - v)/(r - v + p)Fˉ(0)>(c−v)/(r−v+p), both implicit in the book's proof.

The transfer payments are functions of QQQ and the profits are defined for every QQQ, so the theorems compare values of one family of functions; the book's Fˉ\bar FFˉ is 1−F1 - F1−F with Mathlib's cdf, and the quantity flexibility integral is an interval integral. Theorem 14.5 takes Π(Q0)>0\Pi(Q_0) > 0Π(Q0​)>0, μ>0\mu > 0μ>0 and ps,pr>0p_s, p_r > 0ps​,pr​>0 as hypotheses. Without positive goodwill costs its strict inequalities 0<b10 < b_10<b1​ and b2<r−v+prb_2 < r - v + p_rb2​<r−v+pr​ fail (at ps=0p_s = 0ps​=0, b1=0b_1 = 0b1​=0; at pr=0p_r = 0pr​=0, b2=r−v+prb_2 = r - v + p_rb2​=r−v+pr​).

The definition module is shared by all eleven items. The equivalence (14.42)-(14.43) of revenue sharing and buyback, the supplier's stationarity under quantity flexibility (Problem 14.11) and the allocation results for revenue sharing (14.40)-(14.41) are natural extensions on the same definitions.

Selected references

  • L. V. Snyder and Z.-J. M. Shen, Fundamentals of Supply Chain Theory, 2nd ed., Wiley, 2019, Chapter 14. https://doi.org/10.1002/9781119584445
  • B. A. Pasternack, Optimal pricing and return policies for perishable commodities, Marketing Science 4(2), 1985. https://doi.org/10.1287/mksc.4.2.166
  • 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
  • M. A. Lariviere and E. L. Porteus, Selling to the newsvendor: an analysis of price-only contracts, Manufacturing & Service Operations Management 3(4), 2001. https://doi.org/10.1287/msom.3.4.293.9971
  • G. P. Cachon and M. A. Lariviere, Supply chain coordination with revenue-sharing contracts, Management Science 51(1), 2005. https://doi.org/10.1287/mnsc.1040.0215
  • J. J. Spengler, Vertical integration and antitrust policy, Journal of Political Economy 58(4), 1950. https://doi.org/10.1086/256964
11 thms2 active usersReviewed
PreviousPage 20 of 22Next

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