The local connection game #
In the local connection game (the unilateral network creation game of Fabrikant, Luthra,
Maneva, Papadimitriou and Shenker [FLM+03];
[TW07], Section 19.2, pp. 489–494), the players are the vertices of a finite set V,
and a strategy s u : LinkSet V u of player u is a set of incident undirected edges (neighbors
with u ∉ neighbors) that u builds and pays α ≥ 0 each to maintain. Together the strategies
form the undirected simple graph formedGraph s : SimpleGraph V in which v and w are adjacent
whenever w ∈ s v or v ∈ s w.
Player u minimizes the sum of her edge-construction cost and shortest-path distances to all
vertices in formedGraph s. Disconnected pairs incur infinite distance cost ([TW07],
Section 19.2.1, p. 490): we value individual and social costs in ℝ≥0∞ using SimpleGraph.edist
(playerECost, socialECost, networkECost) so that unreachable pairs contribute ⊤ rather than
Mathlib's 0 convention on SimpleGraph.dist, and connect connected profiles to real-valued costs
(playerCost, socialCost, networkCost). Every ordered pair (u, v) with u ≠ v contributes
dist(u, v) once to u and once to v ([TW07], Section 19.2.1, p. 490), placing the
social-optimality transition between cliques and stars at α = 2 and the unilateral stability
transition at α = 1.
In Theorem 19.5 ([TW07], p. 492), writing dist(u, v) ≥ 2k bounds k ≤ √α from the
k² distance savings along the second half of a shortest u–v path; for odd diameter
d = 2k + 1, the exact savings 0 + 2 + ⋯ + 2k = k(k + 1) = (d² - 1)/4 yield the sharp bound
d ≤ √(4α + 1) ≤ 2√α + 1 of [FLM+03] (attained
with equality on P₄ at α = 2, where d = 3 > 2√2).
Main definitions #
Cslib.GameTheory.LocalConnection.LinkSet,Cslib.GameTheory.LocalConnection.Profile: a player's loopless incident link set and a pure strategy profile∀ u : V, LinkSet V u.Cslib.GameTheory.LocalConnection.formedGraph: the undirectedSimpleGraph Vformed by a strategy profile.Cslib.GameTheory.LocalConnection.NoDoubleEdges: no undirected edge is paid for by both endpoints.Cslib.GameTheory.LocalConnection.playerECost,Cslib.GameTheory.LocalConnection.socialECost,Cslib.GameTheory.LocalConnection.networkECost:ℝ≥0∞-valued individual, profile-social, and graph-social costs (infinite when disconnected).Cslib.GameTheory.LocalConnection.playerCost,Cslib.GameTheory.LocalConnection.socialCost,Cslib.GameTheory.LocalConnection.networkCost: real-valued costs on connected networks.Cslib.GameTheory.LocalConnection.IsPureNash,Cslib.GameTheory.LocalConnection.IsStableNetwork,Cslib.GameTheory.LocalConnection.IsSocialOptimum,Cslib.GameTheory.LocalConnection.IsOptimalNetwork: Nash stability and social optimality for strategy profiles and networks.Cslib.GameTheory.LocalConnection.orientProfile,Cslib.GameTheory.LocalConnection.starCenterProfile,Cslib.GameTheory.LocalConnection.starLeafProfile,Cslib.GameTheory.LocalConnection.completeProfile: single-sponsor edge orientations and canonical star/complete profiles.
Main results #
Cslib.GameTheory.LocalConnection.IsPureNash.connected,Cslib.GameTheory.LocalConnection.IsPureNash.noDoubleEdges,Cslib.GameTheory.LocalConnection.IsPureNash.socialECost_eq_networkECost: every pure Nash equilibrium on a nonempty vertex set forms a connected graph, has no double-bought edges whenα > 0, and has profile social cost equal tonetworkECostwhenα ≥ 0.Cslib.GameTheory.LocalConnection.isOptimalNetwork_starGraph,Cslib.GameTheory.LocalConnection.isOptimalNetwork_top,Cslib.GameTheory.LocalConnection.NoDoubleEdges.isSocialOptimum_of_formedGraph_eq_starGraph,Cslib.GameTheory.LocalConnection.NoDoubleEdges.isSocialOptimum_of_formedGraph_eq_top([TW07], Lemma 19.1): stars are socially optimal forα ≥ 2, and the complete graph is socially optimal for0 ≤ α ≤ 2.Cslib.GameTheory.LocalConnection.NoDoubleEdges.isPureNash_of_formedGraph_eq_starGraph,Cslib.GameTheory.LocalConnection.isStableNetwork_starGraph,Cslib.GameTheory.LocalConnection.NoDoubleEdges.isPureNash_of_formedGraph_eq_top,Cslib.GameTheory.LocalConnection.isStableNetwork_top,Cslib.GameTheory.LocalConnection.isStableNetwork_top_iff([TW07], Lemma 19.2): stars are pure Nash equilibria forα ≥ 1, and the complete graph is a pure Nash equilibrium for0 ≤ α ≤ 1(and iffα ≤ 1when|V| ≥ 3).Cslib.GameTheory.LocalConnection.exists_isPureNash_isSocialOptimum_of_le_one,Cslib.GameTheory.LocalConnection.exists_isPureNash_isSocialOptimum_of_two_le,Cslib.GameTheory.LocalConnection.exists_isPureNash_socialECost_le_four_thirds,Cslib.GameTheory.LocalConnection.socialCost_starCenterProfile_lt_four_thirds_mul,Cslib.GameTheory.LocalConnection.networkCost_one_starGraph_div_top([TW07], Theorem 19.3): the price of stability is1for0 ≤ α ≤ 1andα ≥ 2, and at most4/3(strictly< 4/3for|V| ≥ 2) for1 ≤ α ≤ 2, with star-to-clique ratio(4n² - 6n + 2)/(3n² - 3n) = 4/3 - 2/(3n)atα = 1.Cslib.GameTheory.LocalConnection.IsPureNash.socialECost_le_three_mul_diam_mul,Cslib.GameTheory.LocalConnection.IsPureNash.socialCost_le_three_mul_diam_mul([TW07], Lemma 19.4): a pure Nash equilibrium of diameterdhas social cost at most3dtimes optimal.Cslib.GameTheory.LocalConnection.IsPureNash.diam_le_sqrt_four_mul_add_one,Cslib.GameTheory.LocalConnection.IsPureNash.diam_le_two_mul_sqrt_add_one,Cslib.GameTheory.LocalConnection.IsPureNash.socialECost_le_six_mul_sqrt_add_three_mul([FLM+03]; [TW07], Theorem 19.5): any pure Nash equilibrium has diameter at most√(4α + 1) ≤ 2√α + 1and social cost at most6√α + 3times optimal (O(√α)).Cslib.GameTheory.LocalConnection.IsPureNash.diam_le_four_mul_div_sqrt_card_add_nine,IsPureNash.socialECost_le_twelve_mul_div_sqrt_card_add_twenty_seven_mul([AEED+06]; [TW07], Theorem 19.6): any pure Nash equilibrium onnplayers has diameter at most4α / √n + 9and social cost at most(12α / √n + 27)times optimal (O(1 + α / √n)).
References #
Link strategies, profiles, and formed graphs #
A pure strategy for player u in the local connection game on vertex set V: a finite set
neighbors of other vertices to which u builds undirected incident links, excluding self-loops
([TW07], Section 19.2.1, p. 490).
- neighbors : Finset V
The target vertices of the undirected edges paid for by player
u. - notMem_self : u ∉ self.neighbors
Players cannot build self-loops.
Instances For
Build a LinkSet V u from an arbitrary s : Finset V by erasing u.
The strategy in which player u builds links to every other vertex in V.
Remove vertex w from player u's link set.
A pure strategy profile assigning a LinkSet V u to each player u : V.
The undirected simple graph formed by strategy profile s: an edge connects v and w
whenever v builds a link to w or w builds a link to v ([TW07], Section 19.2.1,
p. 490).
A profile has no double-bought edges if no pair of players both pay for the undirected edge between them.
Individual, profile-social, and network-social costs #
Player u's extended cost under edge price α and strategy profile s in ℝ≥0∞:
ENNReal.ofReal α * #(s u).neighbors + ∑ v, (formedGraph s).edist u v. Unreachable pairs have
edist = ⊤, giving disconnected players cost ⊤ ([TW07], Section 19.2.1, p. 490).
The extended social cost ∑ u, playerECost α s u of strategy profile s.
The extended social cost SC(G) = α |E| + ∑_{u, v} edist_G(u, v) of a network G
([TW07], Section 19.2.1, p. 490).
Player u's real-valued cost α * #(s u).neighbors + ∑ v, (formedGraph s).dist u v, which
agrees with playerECost when formedGraph s is connected and 0 ≤ α.
Real-valued social cost ∑ u, playerCost α s u of a profile s.
Real-valued social cost α * |E| + ∑_{u, v} dist_G(u, v) of a network G.
Player u has infinite extended cost if and only if some vertex is unreachable from u.
On a nonempty vertex set, socialECost α s = ⊤ if and only if formedGraph s is
disconnected.
When every vertex is reachable from u and 0 ≤ α, playerECost equals ENNReal.ofReal of
playerCost.
Edge counting and single-sponsor orientations #
Every undirected edge of formedGraph s is sponsored by at least one endpoint, so
(formedGraph s).edgeSet.ncard ≤ ∑ u, #(s u).neighbors.
Under NoDoubleEdges s, each edge of formedGraph s has a unique sponsor, so
∑ u, #(s u).neighbors = (formedGraph s).edgeSet.ncard.
Canonical single-sponsor profile forming an arbitrary simple graph G : SimpleGraph V,
assigning each undirected edge to its smaller endpoint under Fintype.equivFin V.
Closed-form network costs and Lemma 19.1 (network level) #
A network G is optimal (or socially efficient) for edge cost α if it minimizes
networkECost α over all simple graphs on V ([TW07], Section 19.2.2, p. 490).
A strategy profile s is socially optimal for edge cost α if it minimizes socialECost α
over all profiles.
Closed-form real social cost of starGraph r on n = Fintype.card V vertices:
α(n - 1) + 2(n - 1)².
Closed-form real social cost of the complete graph ⊤ on n = Fintype.card V vertices:
α · n.choose 2 + n(n - 1).
In any preconnected graph G on n vertices with m edges, non-adjacent distinct pairs have
distance at least 2, giving 2n(n - 1) ≤ (∑_{u, v} dist_G(u, v)) + 2m
([TW07], Proof of Lemma 19.1, p. 490).
Lower bound (α - 2)m + 2n(n - 1) ≤ SC(G) for every preconnected graph G
([TW07], Proof of Lemma 19.1, p. 490).
Optimal network for α ≥ 2 ([TW07], Lemma 19.1, p. 490): for α ≥ 2, any star
starGraph r minimizes networkECost α over all networks.
Optimal network for 0 ≤ α ≤ 2 ([TW07], Lemma 19.1, p. 490): for 0 ≤ α ≤ 2,
the complete graph ⊤ minimizes networkECost α over all networks.
Social optimality of star profiles for α ≥ 2 ([TW07], Lemma 19.1, p. 490).
Social optimality of complete-graph profiles for 0 ≤ α ≤ 2 ([TW07],
Lemma 19.1, p. 490).
Lower bound α(n - 1) + n(n - 1) ≤ SC(G') for every connected network G' when 0 ≤ α
([TW07], Proof of Lemma 19.4, p. 492).
Exact star-to-clique ratio (4n² - 6n + 2) / (3n² - 3n) at the threshold α = 1
([TW07], Proof of Theorem 19.3, p. 491).
Solution concepts, canonical profiles, and Nash equilibria #
In any finite connected graph G, summing all pairwise distances yields at most
G.diam * n * (n - 1).
Deleting a non-bridge edge s(u, v) from a finite connected graph G increases u's total
distance sum by at most 2 * G.diam * #W, where W is the set of vertices whose distance from u
strictly increases ([TW07], Proof of Lemma 19.4, p. 492).
The critical distance-increase sets {w | G.dist u w < (G.deleteEdges {s(u, v)}).dist u w}
indexed by vertices v ≠ u are pairwise disjoint.
Adding an edge (x, y) to a connected graph G (giving G ≤ G' with G'.Adj x y) reduces
x's total distance sum by at least k * (d - k), where d = G.dist x y and k = d / 2
([TW07], Proof of Theorem 19.5, pp. 492–493).
A strategy profile s is a pure Nash equilibrium for edge cost α if no player u can
strictly lower playerECost α by a unilateral deviation ([TW07], Section 19.2.1,
p. 490).
A network G is stable for edge cost α if it is formed by some pure Nash equilibrium
strategy profile ([TW07], Section 19.2.1, p. 490).
Center-sponsored star profile at r : V: player r builds links to every v ≠ r, while all
leaf players build nothing ([TW07], Proof of Lemma 19.2, p. 491).
Leaf-sponsored star profile at r : V: each leaf u ≠ r builds a single link to r, while
center r builds nothing.
Single-sponsor strategy profile forming the complete graph ⊤ : SimpleGraph V.
Structural properties of pure Nash equilibria #
Unilaterally buying links to all other vertices makes u universal and hence guarantees finite
cost for player u, regardless of other players' strategies.
Every pure Nash equilibrium on a nonempty vertex set forms a connected network ([TW07], Section 19.2.1, p. 490).
Deleting an edge owned by u under NoDoubleEdges s removes exactly s(u, v) from
formedGraph s.
For α > 0, at most one endpoint pays for each undirected edge in any pure Nash equilibrium
([TW07], Section 19.2.1, p. 490).
Real-valued equilibrium inequality for deviations a that preserve reachability from u.
Lemma 19.2: Star and complete-graph Nash equilibria #
Star Nash equilibrium for α ≥ 1 ([TW07], Lemma 19.2, p. 491): for α ≥ 1,
every single-sponsor profile forming starGraph r (including both center-sponsored and
leaf-sponsored stars) is a pure Nash equilibrium.
Any star is a stable network for α ≥ 1 ([TW07], Lemma 19.2, p. 491).
Complete-graph Nash equilibrium for 0 ≤ α ≤ 1 ([TW07], Lemma 19.2, p. 491):
for 0 ≤ α ≤ 1, every single-sponsor profile forming ⊤ is a pure Nash equilibrium.
The complete graph is a stable network for 0 ≤ α ≤ 1 ([TW07], Lemma 19.2,
p. 491).
On |V| ≥ 3 vertices with 0 ≤ α, the complete graph ⊤ is stable if and only if α ≤ 1
(for |V| = 2, ⊤ = starGraph 0 is stable for all α ≥ 0).
Theorem 19.3: Price of stability #
Price of stability 1 for 0 ≤ α ≤ 1 ([TW07], Theorem 19.3, p. 491): there
exists a pure Nash equilibrium that is also socially optimal.
Price of stability 1 for α ≥ 2 ([TW07], Theorem 19.3, p. 491): there exists
a pure Nash equilibrium that is also socially optimal.
For 1 ≤ α ≤ 2 and |V| ≥ 2, starCenterProfile r is a pure Nash equilibrium with social
cost strictly less than 4 / 3 times any connected profile's real social cost
([TW07], Proof of Theorem 19.3, p. 491).
Price of stability at most 4 / 3 ([TW07], Theorem 19.3, p. 491): for every
0 ≤ α, there exists a pure Nash equilibrium of social cost at most 4 / 3 times that of any
strategy profile.
Lemma 19.4: Social cost of a diameter-d Nash equilibrium #
Critical-set disjointness summation ([TW07], Proof of Lemma 19.4, p. 492):
for any connected graph G, vertex u, and set NB of vertices v ≠ u each satisfying
α ≤ 2 * G.diam * #(W v) where W v is the set of vertices whose distance from u strictly
increases upon deleting s(u, v), we have α * #NB ≤ 2 * G.diam * (|V| - 1).
In a subsingleton vertex type, networkCost α G = 0.
Diameter-based network-cost bound ([TW07], Lemma 19.4, p. 491):
if a connected graph G with edge cost β ≥ 0 satisfies the edge-cost bound
β * |E(G)| ≤ β * (n - 1) + 2 * G.diam * n * (n - 1), then
networkCost β G ≤ 3 * G.diam * networkCost β G' for every connected graph G'.
Real-valued social-cost bound in terms of equilibrium diameter ([TW07],
Lemma 19.4, p. 491): if a pure Nash equilibrium s (0 ≤ α) forms a network of diameter d, its
social cost is at most 3d times the social cost of any connected profile s'.
Extended social-cost bound in terms of equilibrium diameter ([TW07],
Lemma 19.4, p. 491): for every 0 ≤ α, pure Nash equilibrium s, and profile s',
socialECost α s ≤ 3 * (formedGraph s).diam * socialECost α s'.
Theorem 19.5 and Theorem 19.6: Equilibrium diameter and Price of Anarchy #
Sharp diameter bound √(4α + 1) at Nash equilibrium
([FLM+03]; [TW07], Theorem 19.5,
p. 492): every pure Nash equilibrium for 0 ≤ α has diameter at most √(4α + 1).
Diameter bound 2√α + 1 at Nash equilibrium
([FLM+03]; [TW07], Theorem 19.5,
p. 492).
O(√α) Price of Anarchy ([FLM+03];
[TW07], Theorem 19.5, p. 492): for every 0 ≤ α, pure Nash equilibrium s, and
profile s', socialECost α s ≤ (6√α + 3) * socialECost α s'.
Theorem 19.6: Diameter ≤ 4α / √n + 9 and O(1 + α / √n) Price of Anarchy #
Diameter bound 4α / √n + 9 at Nash equilibrium
([AEED+06]; [TW07], Theorem 19.6, pp. 493–494): every pure
Nash equilibrium for 0 ≤ α on n = Fintype.card V players has diameter at most 4α / √n + 9.
O(1 + α / √n) Price of Anarchy ([AEED+06];
[TW07], Theorem 19.6, pp. 493–494): every pure Nash equilibrium s for 0 ≤ α on
n = Fintype.card V players has socialECost α s ≤ (12α / √n + 27) * socialECost α s'.