Documentation

CslibFrontier.GameTheory.Mechanism.Frugality

Frugality in Set-System, Path, and Spanning-Tree Procurement Auctions #

In a procurement ("hiring-a-team") auction ([HK07a], §13.5, pp. 350–354), a finite set of agents E each has a private nonnegative cost c e ≥ 0 (equivalently valuation -c e), and the auctioneer must purchase a feasible subset S ∈ F from a nonempty, monopoly-free family F : Finset (Finset E) while minimizing total payments.

This module formalizes the competitive frugality framework and main bounds of [HK07a], §13.5 (pp. 350–354) and Exercise 13.12 (p. 361):

No running-time claim is made in this module.

Main definitions #

Main results #

References #

Set-system procurement environments and mechanisms #

A feasible family F is monopoly-free if no agent belongs to every feasible set: for every agent e, some feasible set avoids e. Without this condition, a monopoly agent can demand arbitrarily large payments in VCG and no pure Nash equilibrium exists in pay-your-bid auctions.

A deterministic sealed-bid procurement mechanism for the set system (E, F) ([HK07a], §13.5, p. 351): on a reported cost profile b : E → ℝ, it selects a feasible set alloc b ∈ F and pays each agent e the amount pay b e.

  • alloc : (E → ℝ) → Finset E

    The feasible-set allocation rule.

  • alloc_mem (b : E → ℝ) : self.alloc b ∈ F

    Feasibility: the chosen set belongs to F on every bid profile.

  • pay : (E → ℝ) → E → ℝ

    The payment rule: pay b e is the transfer from the auctioneer to agent e.

Quasilinear utility of agent e with true cost cₑ on bid profile b: pay b e - cₑ if e ∈ alloc b, and pay b e otherwise (corresponding to valuation -cₑ and transfer -pay b e in [HK07a], p. 351).

Total payment made by the auctioneer on bid profile b.

Dominant-strategy incentive compatibility on nonnegative cost profiles: for every agent e, nonnegative bid profile b, and true cost cₑ ≥ 0, reporting cₑ maximizes e's utility.

Individual rationality on nonnegative cost profiles: a truthful agent gets nonnegative utility.

Normalization for procurement auctions: losing agents (e ∉ alloc b) receive zero payment on every nonnegative bid profile.

theorem Cslib.GameTheory.Mechanism.Frugality.ProcurementMechanism.totalPay_eq_sum_alloc {E : Type u_1} {F : Finset (Finset E)} [Fintype E] {M : ProcurementMechanism E F} (hZ : M.LosersPaidZero) {b : E → ℝ} (hb : 0 ≤ b) :
M.totalPay b = ∑ e ∈ M.alloc b, M.pay b e

When losers are paid zero, totalPay equals the sum of payments over winning agents.

theorem Cslib.GameTheory.Mechanism.Frugality.ProcurementMechanism.pay_nonneg {E : Type u_1} {F : Finset (Finset E)} [DecidableEq E] {M : ProcurementMechanism E F} (hIR : M.IsIR) (hZ : M.LosersPaidZero) {b : E → ℝ} (hb : 0 ≤ b) (e : E) :
0 ≤ M.pay b e

Under IsIR and LosersPaidZero, every agent receives a nonnegative payment on nonnegative cost profiles.

theorem Cslib.GameTheory.Mechanism.Frugality.ProcurementMechanism.IsDSIC.antitone_alloc {E : Type u_1} {F : Finset (Finset E)} [DecidableEq E] {M : ProcurementMechanism E F} (hM : M.IsDSIC) {b : E → ℝ} (hb : 0 ≤ b) {e : E} {x y : ℝ} (hx : 0 ≤ x) (hxy : x ≤ y) (hy_win : e ∈ M.alloc (Function.update b e y)) :

Under IsDSIC, the allocation rule is monotone (antitone in own cost): lowering agent e's nonnegative bid preserves winning ([HK07a], §13.5.1.1, p. 353).

theorem Cslib.GameTheory.Mechanism.Frugality.ProcurementMechanism.IsDSIC.pay_eq_of_mem_alloc {E : Type u_1} {F : Finset (Finset E)} [DecidableEq E] {M : ProcurementMechanism E F} (hM : M.IsDSIC) {b : E → ℝ} (hb : 0 ≤ b) {e : E} {x y : ℝ} (hx : 0 ≤ x) (hy : 0 ≤ y) (hx_win : e ∈ M.alloc (Function.update b e x)) (hy_win : e ∈ M.alloc (Function.update b e y)) :
M.pay (Function.update b e x) e = M.pay (Function.update b e y) e

Under IsDSIC, a winning agent's payment does not depend on its own bid as long as it continues to win.

theorem Cslib.GameTheory.Mechanism.Frugality.ProcurementMechanism.IsDSIC.le_pay_of_mem_alloc_update {E : Type u_1} {F : Finset (Finset E)} [DecidableEq E] {M : ProcurementMechanism E F} (hM : M.IsDSIC) (hIR : M.IsIR) {b : E → ℝ} (hb : 0 ≤ b) {e : E} {x y : ℝ} (hx : 0 ≤ x) (hy : 0 ≤ y) (hx_win : e ∈ M.alloc (Function.update b e x)) (hy_win : e ∈ M.alloc (Function.update b e y)) :
y ≤ M.pay (Function.update b e x) e

Under IsDSIC and IsIR, if agent e wins at both nonnegative bids x and y, then its payment at x is at least y.

The VCG procurement mechanism #

S is a minimum-cost feasible set in F for cost profile c if S ∈ F and no feasible set has strictly smaller total cost.

theorem Cslib.GameTheory.Mechanism.Frugality.exists_isMinCostSet {E : Type u_1} {F : Finset (Finset E)} (hF : F.Nonempty) (c : E → ℝ) :
∃ (S : Finset E), IsMinCostSet F c S

Every nonempty feasible family admits a minimum-cost feasible set.

noncomputable def Cslib.GameTheory.Mechanism.Frugality.vcgAlloc {E : Type u_1} (F : Finset (Finset E)) (hF : F.Nonempty) (c : E → ℝ) :

Canonical VCG procurement allocation rule: picks a minimum-cost feasible set in F.

The nonempty subcollection of feasible sets avoiding agent e, guaranteed by IsMonopolyFree F.

noncomputable def Cslib.GameTheory.Mechanism.Frugality.vcgPayOfSet {E : Type u_1} [DecidableEq E] (F : Finset (Finset E)) (hmono : IsMonopolyFree F) (c : E → ℝ) (S : Finset E) (e : E) :

The Clarke-pivot VCG payment to agent e when feasible set S is selected on cost profile c: min_{T ∈ F, e ∉ T} c(T) - c(S \ {e}). When S is a minimum-cost set, this equals min_{T ∈ F, e ∉ T} c(T) - (c(S) - c(e)) for e ∈ S and 0 for e ∉ S ([HK07a], §13.5, p. 351).

theorem Cslib.GameTheory.Mechanism.Frugality.vcgPayOfSet_of_mem {E : Type u_1} [DecidableEq E] {F : Finset (Finset E)} (hmono : IsMonopolyFree F) (c : E → ℝ) {S : Finset E} {e : E} (he : e ∈ S) :
vcgPayOfSet F hmono c S e = ({T ∈ F | e ∉ T}.inf' ⋯ fun (T : Finset E) => ∑ x ∈ T, c x) - (∑ x ∈ S, c x - c e)

For a winning agent e ∈ S, vcgPayOfSet equals min_{T ∈ F, e ∉ T} c(T) - (c(S) - c(e)).

theorem Cslib.GameTheory.Mechanism.Frugality.vcgPayOfSet_of_notMem {E : Type u_1} [DecidableEq E] {F : Finset (Finset E)} (hmono : IsMonopolyFree F) {c : E → ℝ} {S : Finset E} (hS : IsMinCostSet F c S) {e : E} (he : e ∉ S) :
vcgPayOfSet F hmono c S e = 0

For a losing agent e ∉ S of a minimum-cost feasible set S, vcgPayOfSet is 0.

theorem Cslib.GameTheory.Mechanism.Frugality.cost_le_vcgPayOfSet {E : Type u_1} [DecidableEq E] {F : Finset (Finset E)} (hmono : IsMonopolyFree F) {c : E → ℝ} {S : Finset E} (hS : IsMinCostSet F c S) {e : E} (he : e ∈ S) :
c e ≤ vcgPayOfSet F hmono c S e

For a winning agent e ∈ S of a minimum-cost feasible set S, its VCG payment covers its cost.

theorem Cslib.GameTheory.Mechanism.Frugality.vcgPayOfSet_le {E : Type u_1} [DecidableEq E] {F : Finset (Finset E)} (hmono : IsMonopolyFree F) (c : E → ℝ) (S : Finset E) {e : E} {T : Finset E} (hTF : T ∈ F) (heT : e ∉ T) :
vcgPayOfSet F hmono c S e ≤ ∑ x ∈ T, c x - ∑ x ∈ S.erase e, c x

Upper bound on vcgPayOfSet: every feasible set T avoiding e bounds vcgPayOfSet from above by c(T) - c(S \ {e}).

theorem Cslib.GameTheory.Mechanism.Frugality.le_vcgPayOfSet {E : Type u_1} [DecidableEq E] {F : Finset (Finset E)} (hmono : IsMonopolyFree F) (c : E → ℝ) (S : Finset E) {e : E} {r : ℝ} (h : ∀ T ∈ F, e ∉ T → r ≤ ∑ x ∈ T, c x - ∑ x ∈ S.erase e, c x) :
r ≤ vcgPayOfSet F hmono c S e

Lower bound on vcgPayOfSet: if every T ∈ F avoiding e satisfies r ≤ c(T) - c(S \ {e}), then r ≤ vcgPayOfSet F hmono c S e.

The VCG procurement mechanism on a nonempty, monopoly-free feasible family (E, F) ([HK07a], §13.5, p. 351).

def Cslib.GameTheory.Mechanism.Frugality.negCostValuation {E : Type u_1} [DecidableEq E] (F : Finset (Finset E)) (c : E → ℝ) (e : E) (S : ↥F) :

Negative-cost valuation induced by cost profile c on feasible outcomes {S // S ∈ F}: agent e values outcome S at -c e if e ∈ S and 0 otherwise ([HK07a], p. 351).

noncomputable def Cslib.GameTheory.Mechanism.Frugality.procurementGrovesPivot {E : Type u_1} [Fintype E] [DecidableEq E] (F : Finset (Finset E)) (hmono : IsMonopolyFree F) (e : E) (v : E → ↥F → ℝ) :

The outside-option Groves pivot for procurement: max_{T ∈ F, e ∉ T} ∑_{j ≠ e} v_j(T), which restricts the economy to feasible sets not requiring agent e.

theorem Cslib.GameTheory.Mechanism.Frugality.vcgMechanism_pay_eq_neg_groves {E : Type u_1} [Fintype E] [DecidableEq E] (F : Finset (Finset E)) (hF : F.Nonempty) (hmono : IsMonopolyFree F) (f : (E → ↥F → ℝ) → ↥F) (c : E → ℝ) (hf : ↑(f (negCostValuation F c)) = vcgAlloc F hF c) (e : E) :

Bridge to Cslib.GameTheory.Mechanism.groves (VCG.lean): on negative-cost valuations, vcgMechanism pays each agent the negation of the Groves payment with the outside-option pivot procurementGrovesPivot.

The VCG procurement mechanism is DSIC (even without restricting to nonnegative costs).

The VCG procurement mechanism is individually rational.

The VCG procurement mechanism pays losers zero.

Pay-your-bid Nash benchmark N(c) and frugality ratio #

structure Cslib.GameTheory.Mechanism.Frugality.IsPayYourBidNash {E : Type u_1} (F : Finset (Finset E)) (c b : E → ℝ) (S : Finset E) :

A restricted pure Nash equilibrium (b, S) of the pay-your-bid mechanism N for cost profile c ([HK07a], §13.5.1 and Footnote 3, p. 352): S ∈ F is a cheapest feasible set under b, winners bid at least their true costs, non-winners bid truthfully, and every winner is tightly constrained by some tied feasible set excluding it.

isPayYourBidNash_iff_pureNash establishes the exact equivalence with unilateral-deviation pure Nash equilibria of the pay-your-bid mechanism N (with non-winners bidding truthfully) on every monopoly-free family, and IsPayYourBidNash.isMinCostSet proves that S is automatically efficient (minimum true cost).

  • mem : S ∈ F

    The winning set S is feasible.

  • min_bid (T : Finset E) : T ∈ F → ∑ e ∈ S, b e ≤ ∑ e ∈ T, b e

    S minimizes total bid among all feasible sets.

  • winner_ge (e : E) : e ∈ S → c e ≤ b e

    Every winner covers its true cost.

  • loser_truthful (e : E) : e ∉ S → b e = c e

    Non-winners bid their true cost (Footnote 3, p. 352).

  • winner_tight (e : E) : e ∈ S → ∃ T ∈ F, e ∉ T ∧ ∑ x ∈ S, b x = ∑ x ∈ T, b x

    No winner can raise its bid without creating a strictly cheaper feasible set avoiding it.

def Cslib.GameTheory.Mechanism.Frugality.payYourBidUtility {E : Type u_1} [DecidableEq E] (e : E) (cₑ : ℝ) (b : E → ℝ) (S : Finset E) :

Utility of agent e with true cost cₑ in the pay-your-bid auction when feasible set S wins under bid profile b.

Every restricted pay-your-bid Nash equilibrium automatically selects a minimum true-cost (efficient) feasible set S.

theorem Cslib.GameTheory.Mechanism.Frugality.IsPayYourBidNash.bid_le_vcgPayOfSet {E : Type u_1} [DecidableEq E] {F : Finset (Finset E)} (hmono : IsMonopolyFree F) {c b : E → ℝ} {S : Finset E} (h : IsPayYourBidNash F c b S) {e : E} (he : e ∈ S) :
b e ≤ vcgPayOfSet F hmono c S e

In any restricted pay-your-bid Nash equilibrium (b, S), every winner's bid is bounded above by its VCG payment vcgPayOfSet F hmono c S e.

theorem Cslib.GameTheory.Mechanism.Frugality.isPayYourBidNash_iff_pureNash {E : Type u_1} [DecidableEq E] {F : Finset (Finset E)} (hmono : IsMonopolyFree F) {alloc : (E → ℝ) → Finset E} (halloc : ∀ (b' : E → ℝ), IsMinCostSet F b' (alloc b')) {c b : E → ℝ} {S : Finset E} (hS : alloc b = S) :
IsPayYourBidNash F c b S ↔ (∀ e ∉ S, b e = c e) ∧ ∀ (e : E) (z : ℝ), payYourBidUtility e (c e) (Function.update b e z) (alloc (Function.update b e z)) ≤ payYourBidUtility e (c e) b S

Game-theoretic equivalence ([HK07a], §13.5.1 and Footnote 3, p. 352): given any pay-your-bid allocation rule alloc that selects a minimum-bid feasible set on every bid profile and picks S at b on a monopoly-free family F, (b, S) satisfies IsPayYourBidNash F c b S if and only if non-winners bid truthfully and no agent can strictly increase its pay-your-bid utility by a unilateral deviation.

theorem Cslib.GameTheory.Mechanism.Frugality.exists_isPayYourBidNash_of_isMinCostSet {E : Type u_1} {F : Finset (Finset E)} (hmono : IsMonopolyFree F) {c : E → ℝ} {S : Finset E} (hS : IsMinCostSet F c S) :
∃ (b : E → ℝ), IsPayYourBidNash F c b S

Greedy bid-raising construction: for every monopoly-free family F and every minimum-cost feasible set S, raising the bids of elements of S one by one up to their tightest blocking alternative yields a restricted pay-your-bid Nash equilibrium (b, S).

theorem Cslib.GameTheory.Mechanism.Frugality.exists_isPayYourBidNash {E : Type u_1} {F : Finset (Finset E)} (hF : F.Nonempty) (hmono : IsMonopolyFree F) (c : E → ℝ) :
∃ (b : E → ℝ) (S : Finset E), IsPayYourBidNash F c b S

Every nonempty, monopoly-free set system has at least one restricted pay-your-bid Nash equilibrium ([HK07a], §13.5.1, p. 352).

noncomputable def Cslib.GameTheory.Mechanism.Frugality.cheapestNash {E : Type u_1} (F : Finset (Finset E)) (c : E → ℝ) :

The cheapest Nash benchmark N(c) ([HK07a], §13.5.1, p. 352): the infimum of total pay-your-bid payments ∑ e ∈ S, b e over all restricted pure Nash equilibria (b, S) for true cost profile c.

theorem Cslib.GameTheory.Mechanism.Frugality.cheapestNash_le_of_isPayYourBidNash {E : Type u_1} {F : Finset (Finset E)} (hF : F.Nonempty) {c b : E → ℝ} {S : Finset E} (h : IsPayYourBidNash F c b S) :
cheapestNash F c ≤ ∑ e ∈ S, b e
theorem Cslib.GameTheory.Mechanism.Frugality.le_cheapestNash {E : Type u_1} {F : Finset (Finset E)} (hF : F.Nonempty) (hmono : IsMonopolyFree F) {c : E → ℝ} {r : ℝ} (h : ∀ (b : E → ℝ) (S : Finset E), IsPayYourBidNash F c b S → r ≤ ∑ e ∈ S, b e) :
theorem Cslib.GameTheory.Mechanism.Frugality.cheapestNash_nonneg {E : Type u_1} {F : Finset (Finset E)} (hF : F.Nonempty) (hmono : IsMonopolyFree F) {c : E → ℝ} (hc : 0 ≤ c) :

On every nonempty, monopoly-free set system, the cheapest Nash benchmark N(c) never exceeds the VCG total payment (for any cost profile c).

Frugality ratio upper bound ([HK07a], Definition 13.52, p. 352): HasFrugalityRatioLe F M ρ states that 0 ≤ ρ and for every nonnegative cost profile c, M.totalPay c ≤ ρ * cheapestNash F c (multiplicative form avoiding 0 / 0).

theorem Cslib.GameTheory.Mechanism.Frugality.cheapestNash_of_pairwiseDisjoint {E : Type u_1} [DecidableEq E] {F : Finset (Finset E)} (hdisj : (↑F).PairwiseDisjoint id) (hne_sets : ∀ S ∈ F, S.Nonempty) (hcard : 2 ≤ F.card) (c : E → ℝ) {S : Finset E} (hS : IsMinCostSet F c S) :
cheapestNash F c = (F.erase S).inf' ⋯ fun (T : Finset E) => ∑ e ∈ T, c e

On a family F of at least two pairwise-disjoint nonempty feasible sets (such as k ≥ 2 parallel vertex-disjoint s-t paths), cheapestNash F c equals the cost of the second-cheapest feasible set ([HK07a], §13.5.1, p. 352).

Theorem 13.53: Matroid characterization of VCG frugality ratio 1 #

A finite family F : Finset (Finset E) is a matroid base family if it is nonempty and satisfies the basis exchange axiom: for any S, T ∈ F and e ∈ S \ T, there exists f ∈ T \ S such that insert f (S.erase e) ∈ F.

  • nonempty : F.Nonempty

    There is at least one base.

  • exchange (S : Finset E) : S ∈ F → ∀ T ∈ F, ∀ e ∈ S \ T, ∃ f ∈ T \ S, insert f (S.erase e) ∈ F

    Basis exchange axiom.

Every matroid base family is an antichain under inclusion.

Bridge to Mathlib's Matroid: on a finite ground type E, IsMatroidBaseFamily F holds if and only if F is the family of bases of a Matroid E with ground set Set.univ.

theorem Cslib.GameTheory.Mechanism.Frugality.IsMatroidBaseFamily.card_eq {E : Type u_1} [Finite E] [DecidableEq E] {F : Finset (Finset E)} (h : IsMatroidBaseFamily F) {S T : Finset E} (hS : S ∈ F) (hT : T ∈ F) :
S.card = T.card

All bases in a matroid base family have equal cardinality.

theorem Cslib.GameTheory.Mechanism.Frugality.IsMatroidBaseFamily.exists_exchange_bijection {E : Type u_1} [Finite E] [DecidableEq E] {F : Finset (Finset E)} (h : IsMatroidBaseFamily F) {S T : Finset E} (hS : S ∈ F) (hT : T ∈ F) :
∃ (φ : ↥(S \ T) → ↥(T \ S)), Function.Bijective φ ∧ ∀ (x : ↥(S \ T)), insert (↑(φ x)) (S.erase ↑x) ∈ F

Brualdi's basis-exchange bijection: for any two bases S, T of a finite matroid base family F, there is a bijection φ : S \ T → T \ S such that insert (φ x) (S.erase x) ∈ F for every x ∈ S \ T. Proved via Hall's marriage theorem and fundamental circuits.

theorem Cslib.GameTheory.Mechanism.Frugality.isPayYourBidNash_vcg {E : Type u_1} [Finite E] [DecidableEq E] {F : Finset (Finset E)} (hmat : IsMatroidBaseFamily F) (hmono : IsMonopolyFree F) {c : E → ℝ} {S : Finset E} (hS : IsMinCostSet F c S) :
IsPayYourBidNash F c (fun (e : E) => if e ∈ S then vcgPayOfSet F hmono c S e else c e) S

On a matroid base family, setting winner bids to their VCG payments and loser bids to their true costs yields a restricted pay-your-bid Nash equilibrium.

theorem Cslib.GameTheory.Mechanism.Frugality.sum_eq_vcgTotalPay_of_isPayYourBidNash {E : Type u_1} [Fintype E] [DecidableEq E] {F : Finset (Finset E)} (hmat : IsMatroidBaseFamily F) (hmono : IsMonopolyFree F) {c b : E → ℝ} {S' : Finset E} (h : IsPayYourBidNash F c b S') :
∑ e ∈ S', b e = (vcgMechanism F ⋯ hmono).totalPay c

On a matroid base family, every restricted pay-your-bid Nash equilibrium (b, S') pays every winner its VCG payment vcgPayOfSet F hmono c S' e, and achieves the exact same total payment as vcgMechanism (regardless of tie-breaking among minimum-cost bases).

Theorem 13.53 (forward direction, exact equality): on any monopoly-free matroid base family, VCG's total payment equals the cheapest Nash benchmark N(c) for every cost profile c ([HK07a], §13.5.1.1, p. 353).

On any monopoly-free matroid base family, VCG has frugality ratio at most 1 (hence exact frugality ratio 1, by cheapestNash_le_vcgTotalPay).

Theorem 13.53 ([HK07a], §13.5.1.1, p. 353): for any nonempty, monopoly-free antichain (E, F) of feasible sets, the VCG procurement mechanism has frugality ratio 1 if and only if F is the set of bases of a matroid.

Exercise 13.12: Spanning-tree auctions #

The feasible family of spanning trees of a finite simple graph G, represented as subsets of its edge set G.edgeSet ([HK07a], Example 13.51, p. 351; Exercise 13.12, p. 361).

Every finite connected simple graph has a nonempty spanning-tree family.

A connected graph's spanning-tree family is monopoly-free if and only if G is bridgeless (equivalently G.IsEdgeConnected 2).

Graphic matroid base property: for any finite connected simple graph G, the spanning trees of G form a matroid base family.

Exercise 13.12 ([HK07a], p. 361; Example 13.51, p. 351): for any finite connected bridgeless simple graph G, the VCG spanning-tree auction has total payment equal to cheapestNash on every cost profile c and hence achieves frugality ratio 1.

Exercise 13.12 ([HK07a], p. 361): VCG has frugality ratio 1 for spanning-tree auctions on every finite connected bridgeless (equivalently 2-edge-connected) simple graph.

Theorem 13.54 and the √(|P||P'|)-frugal weighted path mechanism #

The first (n-edge) path in the two-disjoint-paths set system on Fin n ⊕ Fin n'.

The second (n'-edge) path in the two-disjoint-paths set system on Fin n ⊕ Fin n'.

Set system of two vertex-disjoint s-t paths P (|P| = n) and P' (|P'| = n') ([HK07a], §13.5, pp. 351, 353–354).

theorem Cslib.GameTheory.Mechanism.Frugality.sum_leftPath (n n' : ℕ) (c : Fin n ⊕ Fin n' → ℝ) :
∑ e ∈ leftPath n n', c e = ∑ i : Fin n, c (Sum.inl i)
theorem Cslib.GameTheory.Mechanism.Frugality.sum_rightPath (n n' : ℕ) (c : Fin n ⊕ Fin n' → ℝ) :
∑ e ∈ rightPath n n', c e = ∑ j : Fin n', c (Sum.inr j)
theorem Cslib.GameTheory.Mechanism.Frugality.twoDisjointPaths_isAntichain {n n' : ℕ} (hn : 0 < n) (hn' : 0 < n') :
IsAntichain (fun (x1 x2 : Finset (Fin n ⊕ Fin n')) => x1 ⊆ x2) ↑(twoDisjointPaths n n')
theorem Cslib.GameTheory.Mechanism.Frugality.cheapestNash_twoDisjointPaths {n n' : ℕ} (hn : 0 < n) (hn' : 0 < n') (c : Fin n ⊕ Fin n' → ℝ) :
cheapestNash (twoDisjointPaths n n') c = max (∑ i : Fin n, c (Sum.inl i)) (∑ j : Fin n', c (Sum.inr j))

On two vertex-disjoint nonempty paths, the cheapest Nash benchmark N(c) equals the larger of the two path costs (the second-cheapest path cost, [HK07a], §13.5.1, p. 352).

theorem Cslib.GameTheory.Mechanism.Frugality.vcgTotalPay_twoDisjointPaths_zero_one {n n' : ℕ} (hn : 0 < n) (hn' : 0 < n') :
have c := Sum.elim (fun (x : Fin n) => 0) fun (x : Fin n') => 1; (vcgMechanism (twoDisjointPaths n n') ⋯ ⋯).totalPay c = ↑n * ↑n' ∧ cheapestNash (twoDisjointPaths n n') c = ↑n'

VCG overpayment on two vertex-disjoint paths ([HK07a], §13.5, p. 351): when every edge on P (|P| = n) has cost 0 and every edge on P' (|P'| = n' ≥ 1) has cost 1, VCG purchases P and pays each of its n edges n', for a total payment of n * n', whereas cheapestNash = n'. When n = n', VCG pays n^2 against benchmark n.

theorem Cslib.GameTheory.Mechanism.Frugality.twoDisjointPaths_frugality_lower_bound {n n' : ℕ} (hn : 0 < n) (hn' : 0 < n') (M : ProcurementMechanism (Fin n ⊕ Fin n') (twoDisjointPaths n n')) (hDSIC : M.IsDSIC) (hIR : M.IsIR) (hZ : M.LosersPaidZero) :
∃ (c : Fin n ⊕ Fin n' → ℝ), 0 ≤ c ∧ 0 < cheapestNash (twoDisjointPaths n n') c ∧ 1 / 2 * √(↑n * ↑n') * cheapestNash (twoDisjointPaths n n') c ≤ M.totalPay c

Theorem 13.54 ([HK07a], §13.5.1.1, p. 353): for two vertex-disjoint paths of lengths n ≥ 1 and n' ≥ 1, every deterministic DSIC, individually rational, losers-paid-zero procurement mechanism M admits a nonnegative cost profile c with 0 < cheapestNash (twoDisjointPaths n n') c on which M.totalPay c ≥ (1 / 2) * √(n * n') * cheapestNash (twoDisjointPaths n n') c.

theorem Cslib.GameTheory.Mechanism.Frugality.le_of_hasFrugalityRatioLe_twoDisjointPaths {n n' : ℕ} (hn : 0 < n) (hn' : 0 < n') {M : ProcurementMechanism (Fin n ⊕ Fin n') (twoDisjointPaths n n')} (hDSIC : M.IsDSIC) (hIR : M.IsIR) (hZ : M.LosersPaidZero) {ρ : ℝ} (hρ : HasFrugalityRatioLe (twoDisjointPaths n n') M ρ) :
1 / 2 * √(↑n * ↑n') ≤ ρ

Corollary of Theorem 13.54: any frugality ratio upper bound ρ for a deterministic DSIC, IR, losers-paid-zero procurement mechanism on twoDisjointPaths n n' satisfies (1 / 2) * √(n * n') ≤ ρ.

Near-optimal √(|P||P'|)-frugal weighted path mechanism ([HK07a], §13.5.1.1, p. 354): selects leftPath n n' when √n · c(P) ≤ √n' · c(P') and rightPath n n' otherwise, paying each winning edge its critical threshold bid.

Upper bound for the weighted path auction ([HK07a], §13.5.1.1, p. 354): sqrtWeightedPathMechanism n n' achieves frugality ratio at most √(n * n'), matching Theorem 13.54 within a factor of 2.