Documentation

CslibFrontier.GameTheory.Security.Interdependent

Interdependent security games, tipping cascades, correlated equilibria, and Price of Anarchy #

Kunreuther and Heal [KH03] and Heal and Kunreuther [HK07b] (surveyed in [AMNO07], §25.2.1, p. 635) formalize interdependent security (IDS): each agent i : ι chooses whether to invest in security (true) at cost investCost i or remain unprotected (false). Investment eliminates an agent's own direct disaster probability directProb i, but an investing agent still remains exposed to stochastic contagion (contagion j i) originating at each unprotected peer j ≠ i. Disasters are non-additive ("a house only burns once"), so an unprotected agent incurs contagion loss loss i only on the event 1 - directProb i that no domestic disaster occurred.

Main definitions #

Main results #

References #

Parameters of a Class 1 interdependent security (IDS) game ([HK07b], §3 & §5, pp. 6–16; [KH03], §2, pp. 3–8): each agent i : ι chooses Bool (true = invest in protection at cost investCost i, false = remain unprotected with direct disaster probability directProb i and loss loss i), while each unprotected peer j ≠ i independently contaminates i with probability contagion j i.

  • directProb : ι → ℝ

    Probability p_i of a direct domestic disaster at i when i does not invest.

  • loss : ι → ℝ

    Loss magnitude L_i suffered by i if at least one disaster strikes i.

  • investCost : ι → ℝ

    Upfront security expenditure c_i paid by i when s i = true.

  • contagion : ι → ι → ℝ

    Probability r_{j, i} that an unprotected peer j originates and transmits damage to i.

The identical-agent Kunreuther–Heal interdependent security model ([KH03], §2, pp. 3–8): every agent has direct disaster probability p, loss L, investment cost c, and pairwise contagion probability p * q from each unprotected peer.

Probability ∏_{j ≠ i, s j = false} (1 - r_{j, i}) that no unprotected peer contaminates agent i.

Probability 1 - noContagionProb i s that at least one unprotected peer contaminates i.

Critical protection cost c_i(s_{-i}) = p_i L_i · noContagionProb i s ([HK07b], eq. (3), p. 8; [KH03], c*(n - 1), p. 9): the expected loss reduction that agent i obtains by switching from false to true against opponents' profile s.

The strategic CostGame induced by G: investing pays investCost i plus expected contagion loss loss i * contagionProb i s, whereas not investing incurs expected loss loss i * (directProb i + (1 - directProb i) * contagionProb i s).

Marginal benefit of security investment ([HK07b], eqs. (1)–(3), pp. 7–8): unilaterally switching player i from false to true lowers i's expected cost by criticalCost i s - investCost i.

Pure-Nash characterization of IDS games ([HK07b], Definition 1, p. 8): a profile s is a pure Nash equilibrium of G.toCostGame if and only if investing agents have investCost i ≤ criticalCost i s and non-investing agents have criticalCost i s ≤ investCost i.

Supermodularity, constructive Nash existence, coexistence, and tipping cascades #

theorem Cslib.GameTheory.InterdependentSecuritySpec.noContagionProb_le_one {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) (h0 : ∀ (j i : ι), 0 ≤ G.contagion j i) (h1 : ∀ (j i : ι), G.contagion j i ≤ 1) (i : ι) (s : ι → Bool) :
theorem Cslib.GameTheory.InterdependentSecuritySpec.noContagionProb_mono {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) (h0 : ∀ (j i : ι), 0 ≤ G.contagion j i) (h1 : ∀ (j i : ι), G.contagion j i ≤ 1) (i : ι) :

Strategic complementarity / supermodularity ([HK07b], §3, p. 8): as more peers invest (s ≤ s' pointwise in Bool), the probability of escaping contagion and the critical protection cost criticalCost i s increase monotonically.

theorem Cslib.GameTheory.InterdependentSecuritySpec.criticalCost_mono {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) (hp : ∀ (i : ι), 0 ≤ G.directProb i) (hL : ∀ (i : ι), 0 ≤ G.loss i) (h0 : ∀ (j i : ι), 0 ≤ G.contagion j i) (h1 : ∀ (j i : ι), G.contagion j i ≤ 1) (i : ι) :
noncomputable def Cslib.GameTheory.InterdependentSecuritySpec.bestResponse {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) (s : ι → Bool) :
ι → Bool

Synchronous deterministic best-response map: player i invests iff investCost i ≤ criticalCost i s.

theorem Cslib.GameTheory.InterdependentSecuritySpec.bestResponse_mono {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) (hp : ∀ (i : ι), 0 ≤ G.directProb i) (hL : ∀ (i : ι), 0 ≤ G.loss i) (h0 : ∀ (j i : ι), 0 ≤ G.contagion j i) (h1 : ∀ (j i : ι), G.contagion j i ≤ 1) :
theorem Cslib.GameTheory.InterdependentSecuritySpec.isPureNash_iterate_bestResponse_bot {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) (hp : ∀ (i : ι), 0 ≤ G.directProb i) (hL : ∀ (i : ι), 0 ≤ G.loss i) (h0 : ∀ (j i : ι), 0 ≤ G.contagion j i) (h1 : ∀ (j i : ι), G.contagion j i ≤ 1) :

Heal–Kunreuther Theorem 1, constructive least pure Nash equilibrium ([HK07b], §3, Theorem 1, p. 9): iterating synchronous best response |ι| times from fun _ => false produces a pure Nash equilibrium of G.toCostGame.

theorem Cslib.GameTheory.InterdependentSecuritySpec.exists_isPureNash {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) (hp : ∀ (i : ι), 0 ≤ G.directProb i) (hL : ∀ (i : ι), 0 ≤ G.loss i) (h0 : ∀ (j i : ι), 0 ≤ G.contagion j i) (h1 : ∀ (j i : ι), G.contagion j i ≤ 1) :
∃ (s : ι → Bool), G.toCostGame.IsPureNash s

Heal–Kunreuther Theorem 1, existence ([HK07b], §3, Theorem 1, p. 9): every finite Class 1 interdependent security game has a pure Nash equilibrium.

theorem Cslib.GameTheory.InterdependentSecuritySpec.coexistence_pureNash_iff_and_pareto {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) (hp1 : ∀ (i : ι), G.directProb i ≤ 1) (hL : ∀ (i : ι), 0 ≤ G.loss i) (h0 : ∀ (j i : ι), 0 ≤ G.contagion j i) (h1 : ∀ (j i : ι), G.contagion j i ≤ 1) :
(((G.toCostGame.IsPureNash fun (x : ι) => true) ∧ G.toCostGame.IsPureNash fun (x : ι) => false) ↔ ∀ (i : ι), (G.criticalCost i fun (x : ι) => false) ≤ G.investCost i ∧ G.investCost i ≤ G.directProb i * G.loss i) ∧ ((G.toCostGame.IsPureNash fun (x : ι) => true) → ∀ (i : ι), (G.toCostGame.cost i fun (x : ι) => true) ≤ G.toCostGame.cost i fun (x : ι) => false)

Heal–Kunreuther Theorem 2, coexistence and Pareto dominance ([HK07b], §3, Theorem 2, p. 9, and Appendix, p. 20): both fun _ => true and fun _ => false are pure Nash equilibria if and only if criticalCost i (fun _ => false) ≤ investCost i ≤ directProb i * loss i for all i; whenever fun _ => true is a pure Nash equilibrium, it Pareto-dominates fun _ => false.

A critical coalition ([HK07b], §3.1, Definition 2, p. 9): when every member of M invests (true), investing becomes an immediate best response for every non-member j ∉ M.

noncomputable def Cslib.GameTheory.InterdependentSecuritySpec.cascadeStep {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) (M : Finset ι) (s : ι → Bool) :
ι → Bool

One synchronous wave of a tipping cascade seeded by M ([HK07b], §5.2, pp. 15–16): members of M stay committed to true, while every other agent best-responds.

Coalition M tips the entire population if iterating cascadeStep M from the seed profile fun i => decide (i ∈ M) reaches universal investment fun _ => true within |ι| waves.

theorem Cslib.GameTheory.InterdependentSecuritySpec.cascadeStep_mono {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) (hp : ∀ (i : ι), 0 ≤ G.directProb i) (hL : ∀ (i : ι), 0 ≤ G.loss i) (h0 : ∀ (j i : ι), 0 ≤ G.contagion j i) (h1 : ∀ (j i : ι), G.contagion j i ≤ 1) (M : Finset ι) :
theorem Cslib.GameTheory.InterdependentSecuritySpec.IsCriticalCoalition.tipsAll {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) (hp : ∀ (i : ι), 0 ≤ G.directProb i) (hL : ∀ (i : ι), 0 ≤ G.loss i) (h0 : ∀ (j i : ι), 0 ≤ G.contagion j i) (h1 : ∀ (j i : ι), G.contagion j i ≤ 1) {M : Finset ι} (hM : G.IsCriticalCoalition M) :

Every one-step critical coalition tips the entire population in a cascade.

theorem Cslib.GameTheory.InterdependentSecuritySpec.isPureNash_allTrue_of_tipsAll {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) (hp : ∀ (i : ι), 0 ≤ G.directProb i) (hL : ∀ (i : ι), 0 ≤ G.loss i) (h0 : ∀ (j i : ι), 0 ≤ G.contagion j i) (h1 : ∀ (j i : ι), G.contagion j i ≤ 1) {M : Finset ι} (hTips : G.TipsAll M) (hSeed : ∀ m ∈ M, G.investCost m ≤ G.directProb m * G.loss m) :
G.toCostGame.IsPureNash fun (x : ι) => true

Self-enforcing persistence after tipping: if a coalition M whose own members satisfy investCost m ≤ directProb m * loss m triggers a full cascade (TipsAll M), then fun _ => true is a pure Nash equilibrium of the unmodified game G.toCostGame even after the mandate on M is removed.

theorem Cslib.GameTheory.InterdependentSecuritySpec.isCriticalCoalition_of_higher_contagion {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) {qExt : ι → ℝ} (hp : ∀ (i : ι), 0 < G.directProb i) (hL : ∀ (i : ι), 0 < G.loss i) (hContagion : ∀ (j i : ι), j ≠ i → G.contagion j i = qExt j) (hq1 : ∀ (j : ι), qExt j ≤ 1) {M M' : Finset ι} (hcard : M.card = M'.card) (hDom : ∀ j ∈ M \ M', ∀ k ∈ M' \ M, qExt k ≤ qExt j) (hReluct : ∀ j ∈ M \ M', ∀ k ∈ M' \ M, G.investCost k / (G.directProb k * G.loss k) ≤ G.investCost j / (G.directProb j * G.loss j)) (hCrit : G.IsCriticalCoalition M') :

Heal–Kunreuther Theorem 3, corrected greedy top-k critical coalition theorem ([HK07b], §3.1, Theorem 3, p. 10, and Appendix, p. 20): under agent-uniform contagion rates contagion j i = qExt j (qExt j ≤ 1), if M and M' have equal size M.card = M'.card such that every j ∈ M \ M' generates at least as much contagion as every k ∈ M' \ M (qExt k ≤ qExt j), and higher-contagion agents replaced by M also have at least as high normalized reluctance investCost / (directProb * loss) (c_k / (p_k L_k) ≤ c_j / (p_j L_j) for k ∈ M' \ M, j ∈ M \ M', which holds automatically under identical (p, L, c)), then G.IsCriticalCoalition M' implies G.IsCriticalCoalition M.

Note on [HK07b], Appendix eq. (17), p. 20: the published proof checks only agents i > k outside M ∪ M', overlooking replaced members k ∈ M' \ M whose arbitrary investCost k was bypassed while inside M'. Without the normalized-reluctance alignment on M' \ M vs. M \ M', both 1-step IsCriticalCoalition and multi-step TipsAll can fail on 3- and 4-agent instances even when both (all false) and (all true) are strict pure Nash equilibria (checked in CslibFrontierTests.GameTheory.SecurityEconomics).

Correlated equilibria and Roughgarden (1, μ)-smoothness / Price of Anarchy #

theorem Cslib.GameTheory.InterdependentSecuritySpec.isCorrelatedEquilibrium_publicSignal {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) (hTrue : G.toCostGame.IsPureNash fun (x : ι) => true) (hFalse : G.toCostGame.IsPureNash fun (x : ι) => false) {α : ℝ} (hα0 : 0 ≤ α) (hα1 : α ≤ 1) :
G.toCostGame.IsCorrelatedEquilibrium (Convexity.StdSimplex.duple (fun (x : ι) => true) (fun (x : ι) => false) hα0 ⋯ ⋯)

Public-signal correlated equilibrium in the multi-equilibrium IDS regime (original): whenever both fun _ => true and fun _ => false are pure Nash equilibria, every convex mixture α • δ_{all true} + (1 - α) • δ_{all false} (0 ≤ α ≤ 1) is a correlated equilibrium of G.toCostGame.

theorem Cslib.GameTheory.InterdependentSecuritySpec.contagionProb_le_sum {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) (h0 : ∀ (j i : ι), 0 ≤ G.contagion j i) (h1 : ∀ (j i : ι), G.contagion j i ≤ 1) (i : ι) (s : ι → Bool) :
G.contagionProb i s ≤ ∑ j ∈ Finset.univ.erase i with (!s j) = true, G.contagion j i

Union bound on peer contagion: contagionProb i s is at most the sum of contagion rates from unprotected peers j ≠ i.

theorem Cslib.GameTheory.InterdependentSecuritySpec.isSmooth_toCostGame {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) {μ : ℝ} (hp0 : ∀ (i : ι), 0 ≤ G.directProb i) (hp1 : ∀ (i : ι), G.directProb i ≤ 1) (hL : ∀ (i : ι), 0 ≤ G.loss i) (hc : ∀ (i : ι), 0 ≤ G.investCost i) (h0 : ∀ (j i : ι), 0 ≤ G.contagion j i) (h1 : ∀ (j i : ι), G.contagion j i ≤ 1) (hμ0 : 0 ≤ μ) (hExt : ∀ (j : ι), ∑ i ∈ Finset.univ.erase j, G.contagion j i * G.loss i ≤ μ * (G.directProb j * G.loss j)) :

(1, μ)-smoothness of heterogeneous interdependent security games (original): if the expected contagion damages ∑ i ≠ j, contagion j i * loss i generated by each unprotected agent j are at most μ times j's own expected direct loss directProb j * loss j, then G.toCostGame is (1, μ)-smooth in Roughgarden's framework (CostGame.IsSmooth 1 μ).

theorem Cslib.GameTheory.InterdependentSecuritySpec.expected_socialCost_le_of_isCCE {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : InterdependentSecuritySpec ι) {μ : ℝ} (hp0 : ∀ (i : ι), 0 ≤ G.directProb i) (hp1 : ∀ (i : ι), G.directProb i ≤ 1) (hL : ∀ (i : ι), 0 ≤ G.loss i) (hc : ∀ (i : ι), 0 ≤ G.investCost i) (h0 : ∀ (j i : ι), 0 ≤ G.contagion j i) (h1 : ∀ (j i : ι), G.contagion j i ≤ 1) (hμ0 : 0 ≤ μ) (hμ1 : μ < 1) (hExt : ∀ (j : ι), ∑ i ∈ Finset.univ.erase j, G.contagion j i * G.loss i ≤ μ * (G.directProb j * G.loss j)) {σ : Convexity.StdSimplex ℝ (ι → Bool)} (hσ : G.toCostGame.IsCoarseCorrelatedEquilibrium σ) (s' : ι → Bool) :
(σ.sum fun (s : ι → Bool) (w : ℝ) => w * G.toCostGame.socialCost s) ≤ 1 / (1 - μ) * G.toCostGame.socialCost s'

Robust 1 / (1 - μ) Price of Anarchy for coarse correlated equilibria (original) of interdependent security games: when μ < 1 bounds each agent's outgoing contagion-to-direct-loss ratio, every coarse correlated equilibrium σ has expected social cost at most 1 / (1 - μ) * socialCost s'.

Kunreuther–Heal (2003) identical-agent theorems, mixed vs. correlated gap, and tight PoA #

theorem Cslib.GameTheory.symmetricIDSSpec_noContagionProb {ι : Type u_1} [Fintype ι] [DecidableEq ι] (p q L c : ℝ) (i : ι) (s : ι → Bool) :
(symmetricIDSSpec ι p q L c).noContagionProb i s = (1 - p * q) ^ {j ∈ Finset.univ.erase i | (!s j) = true}.card
theorem Cslib.GameTheory.symmetricIDSSpec_criticalCost_eq_geom_sum {ι : Type u_1} [Fintype ι] [DecidableEq ι] (p q L c : ℝ) (i : ι) (s : ι → Bool) :
(symmetricIDSSpec ι p q L c).criticalCost i s = p * L - p ^ 2 * q * L * ∑ k ∈ Finset.range {j ∈ Finset.univ.erase i | (!s j) = true}.card, (1 - p * q) ^ k ∧ (symmetricIDSSpec ι p q L c).criticalCost i s = p * L * (1 - p * q) ^ {j ∈ Finset.univ.erase i | (!s j) = true}.card

Kunreuther–Heal geometric-sum critical cost identity ([KH03], §2, p. 8 & c*(n - 1), p. 9): with u unprotected peers, p L - p² q L ∑_{k < u} (1 - p q)^k simplifies to p L (1 - p q)^u.

theorem Cslib.GameTheory.symmetricIDSSpec_cost_allFalse_eq_geom_sum (n : ℕ) (p q L c : ℝ) (i : Fin (n + 1)) :
((symmetricIDSSpec (Fin (n + 1)) p q L c).toCostGame.cost i fun (x : Fin (n + 1)) => false) = p * L + p * q * L * (1 - p) * ∑ k ∈ Finset.range n, (1 - p * q) ^ k ∧ ((symmetricIDSSpec (Fin (n + 1)) p q L c).toCostGame.cost i fun (x : Fin (n + 1)) => false) = L * (1 - (1 - p) * (1 - p * q) ^ n)

Kunreuther–Heal unprotected expected-loss formula ([KH03], §2, p. 7): when none of n + 1 identical agents invests, each agent's expected loss is p L + p q L (1 - p) ∑_{k < n} (1 - p q)^k = L (1 - (1 - p)(1 - p q)^n).

theorem Cslib.GameTheory.tendsto_symmetricIDSSpec_cost_allFalse_atTop {p q L c : ℝ} (hp0 : 0 < p) (hp1 : p ≤ 1) (hq0 : 0 < q) (hq1 : q ≤ 1) :
Filter.Tendsto (fun (n : ℕ) => (symmetricIDSSpec (Fin (n + 1)) p q L c).toCostGame.cost 0 fun (x : Fin (n + 1)) => false) Filter.atTop (nhds L)

Kunreuther–Heal Proposition 1 ([KH03], §2, Proposition 1, pp. 7–8): for 0 < p ≤ 1 and 0 < q ≤ 1, as the number of identical agents grows (n → ∞), each agent's expected loss when none invests converges to the certain loss L.

theorem Cslib.GameTheory.eventually_not_dominant_invest_symmetricIDSSpec {p q L c : ℝ} (hc : 0 < c) (hp0 : 0 < p) (hp1 : p ≤ 1) (hq0 : 0 < q) (hq1 : q ≤ 1) (hL : 0 ≤ L) :
∀ᶠ (n : ℕ) in Filter.atTop, ((symmetricIDSSpec (Fin (n + 1)) p q L c).toCostGame.cost 0 fun (x : Fin (n + 1)) => false) < (symmetricIDSSpec (Fin (n + 1)) p q L c).toCostGame.cost 0 (Function.update (fun (x : Fin (n + 1)) => false) 0 true) ∧ (symmetricIDSSpec (Fin (n + 1)) p q L c).toCostGame.IsPureNash fun (x : Fin (n + 1)) => false

Kunreuther–Heal Corollary 1 ([KH03], §2, Corollary 1, p. 8): for any positive security cost c > 0 (0 < p ≤ 1, 0 < q ≤ 1, 0 ≤ L), eventually for all sufficiently large agent populations n + 1, investing against unprotected peers strictly increases an agent's cost (so fun _ => false is a strict pure Nash equilibrium and investing is never a dominant strategy).

theorem Cslib.GameTheory.eq_const_of_isPureNash_symmetricIDSSpec {ι : Type u_1} [Fintype ι] [DecidableEq ι] {p q L c : ℝ} (hc : 0 < c) (hp0 : 0 < p) (hp1 : p ≤ 1) (hq0 : 0 < q) (hq1 : q ≤ 1) (hL : 0 < L) {s : ι → Bool} (hs : (symmetricIDSSpec ι p q L c).toCostGame.IsPureNash s) :
(∀ (i : ι), s i = true) ∨ ∀ (i : ι), s i = false

Symmetry of all pure Nash equilibria in identical-agent IDS games (resolving the n-agent question of [KH03], §2, p. 9): for any c > 0, 0 < p ≤ 1, 0 < q ≤ 1, and 0 < L, every pure Nash equilibrium of (symmetricIDSSpec ι p q L c).toCostGame is constant ((∀ i, s i = true) ∨ (∀ i, s i = false)).

theorem Cslib.GameTheory.isCoarseCorrelatedEquilibrium_symmetricIDSSpec_taxed_unique {ι : Type u_1} [Fintype ι] [DecidableEq ι] {p q L c t : ℝ} (hp0 : 0 ≤ p) (hp1 : p ≤ 1) (hq0 : 0 ≤ q) (hq1 : q ≤ 1) (hL : 0 ≤ L) (ht : c - p * L * (1 - p * q) ^ (Fintype.card ι - 1) < t) {σ : Convexity.StdSimplex ℝ (ι → Bool)} (hσ : (symmetricIDSSpec ι p q L (c - t)).toCostGame.IsCoarseCorrelatedEquilibrium σ) :

Pigouvian non-investment tax uniqueness ([KH03], §3, p. 13): levying a tax t on unprotected agents is strategically equivalent to lowering investment cost from c to c - t (up to an additive constant t), and whenever c - p L (1 - p q)^{|ι|-1} < t, universal investment fun _ => true is the unique coarse correlated equilibrium (and hence unique correlated, mixed Nash, and pure Nash equilibrium).

theorem Cslib.GameTheory.symmetricIDSSpec_isMixedNash_and_correlated_strict_improvement {p q L c : ℝ} (hp : 0 < p) (hq : 0 < q) (hL : 0 < L) (hLow : p * L * (1 - p * q) < c) (hHigh : c < p * L) :
have G := (symmetricIDSSpec (Fin 2) p q L c).toCostGame; have θ := 1 - (p * L - c) / (p ^ 2 * q * L); have mix := fun (x : Fin 2) (b : Bool) => if b = true then θ else 1 - θ; 0 < θ ∧ θ < 1 ∧ G.IsMixedNash mix ∧ (∃ (σ : Convexity.StdSimplex ℝ (Fin 2 → Bool)), G.IsCorrelatedEquilibrium σ ∧ (∀ (i : Fin 2), (σ.sum fun (s : Fin 2 → Bool) (w : ℝ) => w * if s i = true then 1 else 0) = θ) ∧ ∀ (i : Fin 2), (G.expectedCost mix i - σ.sum fun (s : Fin 2 → Bool) (w : ℝ) => w * G.cost i s) = θ * (1 - θ) * p ^ 2 * q * L) ∧ 0 < θ * (1 - θ) * p ^ 2 * q * L

Mixed Nash vs. public-signal correlated equilibrium in 2-agent Kunreuther–Heal IDS (original): in the interior coordination regime p L (1 - p q) < c < p L, let θ = 1 - (p L - c) / (p² q L) ∈ (0, 1).

  1. Independent mixing at rate θ is an exact CostGame.IsMixedNash equilibrium of the 2-agent IDS game with expected cost c + (1 - θ) p q L per player.
  2. Publicly correlating (true, true) with probability θ and (false, false) with probability 1 - θ preserves each player's marginal investment probability θ, forms a CostGame.IsCorrelatedEquilibrium, and strictly reduces each player's expected cost by θ * (1 - θ) * p ^ 2 * q * L > 0.
theorem Cslib.GameTheory.symmetricIDSSpec_poa_eq_inv_one_sub {q L : ℝ} (hq0 : 0 < q) (hq1 : q < 1) (hL : 0 < L) :
have G := symmetricIDSSpec (Fin 2) 1 q L (L * (1 - q)); G.toCostGame.IsSmooth 1 q ∧ (G.toCostGame.IsPureNash fun (x : Fin 2) => false) ∧ (G.toCostGame.IsPureNash fun (x : Fin 2) => true) ∧ (∀ (s : Fin 2 → Bool), (G.toCostGame.socialCost fun (x : Fin 2) => true) ≤ G.toCostGame.socialCost s) ∧ (G.toCostGame.socialCost fun (x : Fin 2) => false) = 1 / (1 - q) * G.toCostGame.socialCost fun (x : Fin 2) => true

Exact tightness of the 1 / (1 - (n - 1) q) smoothness Price-of-Anarchy bound (original): at n = 2, p = 1, 0 < q < 1, 0 < L, and c = L * (1 - q), both (true, true) and (false, false) are pure Nash equilibria, (true, true) is globally socially optimal, and socialCost (false, false) equals 1 / (1 - q) * socialCost (true, true) with exact equality.

theorem Cslib.GameTheory.symmetricIDSSpec_prisonersDilemma_socialCost_le (n : ℕ) {p q L c : ℝ} (hp0 : 0 < p) (hp1 : p ≤ 1) (hq0 : 0 ≤ q) (hq1 : q ≤ 1) (hL : 0 < L) (hPD : p * L < c) (s' : Fin (n + 1) → Bool) :
((symmetricIDSSpec (Fin (n + 1)) p q L c).toCostGame.socialCost fun (x : Fin (n + 1)) => false) ≤ (1 + ↑n * q) * (symmetricIDSSpec (Fin (n + 1)) p q L c).toCostGame.socialCost s'

Pure-Nash Price of Anarchy in the Prisoner's Dilemma IDS regime (original, motivated by the Prisoner's Dilemma regime p * L < c in [KH03], §2, Table 3, p. 9): when p * L < c (with 0 < p ≤ 1, 0 ≤ q ≤ 1, 0 < L), (fun _ => false) is the unique pure Nash equilibrium of the (n + 1)-agent symmetric IDS game and its social cost is at most (1 + n * q) times the social cost of every profile s' (at most (n + 1) times optimal since q ≤ 1).