Documentation

CslibFrontier.GameTheory.Security.ProtocolAdoption

Network effects and security protocol adoption games #

Following Katz and Shapiro [KS85] and Ozment and Schechter [OS06] (surveyed in [AMNO07], §25.2.2, p. 636), many security protocols (such as DNSSEC or secure routing) exhibit positive network externalities: each agent i : ι decides whether to adopt (true) at upfront cost adoptCost i, earning standalone / intraorganizational benefit intrinsic i plus network benefit netBenefit i k depending on the total number k of adopters (and payoff 0 when not adopting).

When standalone plus single-adopter network benefits fall below cost (intrinsic i + netBenefit i 1 < adoptCost i), zero adoption is a strict pure Nash equilibrium (bootstrapping trap) even when universal adoption is Pareto-superior and a Strong Nash equilibrium. Conversely, a single club or organization controlling a critical-mass coalition C can profitably adopt jointly and immediately tip the rest of the network to universal adoption; likewise, sufficient intraorganizational benefits (as in SSH, IPsec, or early fax deployment, [AMNO07], p. 636) eliminate the zero-adoption trap and make universal adoption the unique pure Nash equilibrium via a two-wave cascade.

Main definitions #

Main results #

References #

Parameters of a finite-player security protocol adoption game with network externalities (formalizing the coordination and bootstrapping model of [AMNO07], §25.2.2, p. 636; [KS85]; [OS06]). Each agent i : ι chooses Bool (true = adopt, false = do not adopt).

  • adoptCost : ι → ℝ

    Upfront deployment cost c_i paid by agent i upon adopting.

  • intrinsic : ι → ℝ

    Standalone / intraorganizational benefit r_i gained by i upon adopting regardless of external network size.

  • netBenefit : ι → ℕ → ℝ

    Network-externality benefit v_i(k) enjoyed by adopting agent i when k total agents adopt.

Symmetric protocol adoption game where all agents share standalone benefit r, deployment cost c, and network externality curve v : ℕ → ℝ.

Total number of adopting agents under profile s.

Number of adopting agents other than i under profile s.

@[simp]

Strategic payoff game induced by G: adopting agent i obtains net payoff intrinsic i + netBenefit i (adopterCount s) - adoptCost i, while non-adopters receive 0.

@[reducible, inline]

Cost-minimization view G.toPayoffGame.toCostGame enabling reuse of CostGame.IsStrongNash and CostGame.IsStrongEquilibrium.

Pure Nash characterization of a protocol adoption game: adopters cover their cost at adopterCount s, and non-adopters cannot profitably join at adopterCount s + 1.

Strict pure Nash characterization of a protocol adoption game.

Supermodularity and Tarski least/greatest pure Nash equilibria #

noncomputable def Cslib.GameTheory.ProtocolAdoptionSpec.bestResponseLow {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : ProtocolAdoptionSpec ι) (hMono : ∀ (i : ι), Monotone (G.netBenefit i)) :
(ι → Bool) →o ι → Bool

Monotone best-response map breaking ties toward non-adoption (false): agent i adopts iff adoption is strictly profitable against otherAdopters i s.

noncomputable def Cslib.GameTheory.ProtocolAdoptionSpec.bestResponseHigh {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : ProtocolAdoptionSpec ι) (hMono : ∀ (i : ι), Monotone (G.netBenefit i)) :
(ι → Bool) →o ι → Bool

Monotone best-response map breaking ties toward adoption (true): agent i adopts iff adoption is weakly profitable against otherAdopters i s.

@[simp]
theorem Cslib.GameTheory.ProtocolAdoptionSpec.bestResponseLow_apply {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : ProtocolAdoptionSpec ι) (hMono : ∀ (i : ι), Monotone (G.netBenefit i)) (s : ι → Bool) (i : ι) :
(G.bestResponseLow hMono) s i = decide (G.adoptCost i < G.intrinsic i + G.netBenefit i (otherAdopters i s + 1))
@[simp]
theorem Cslib.GameTheory.ProtocolAdoptionSpec.bestResponseHigh_apply {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : ProtocolAdoptionSpec ι) (hMono : ∀ (i : ι), Monotone (G.netBenefit i)) (s : ι → Bool) (i : ι) :

Tarski least pure Nash equilibrium: under positive network externalities, OrderHom.lfp (G.bestResponseLow hMono) is a pure Nash equilibrium of G.toPayoffGame.

Tarski greatest pure Nash equilibrium: under positive network externalities, OrderHom.gfp (G.bestResponseHigh hMono) is a pure Nash equilibrium of G.toPayoffGame.

theorem Cslib.GameTheory.ProtocolAdoptionSpec.lfp_le_of_isPureNash {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : ProtocolAdoptionSpec ι) (hMono : ∀ (i : ι), Monotone (G.netBenefit i)) {s : ι → Bool} (hs : G.toPayoffGame.IsPureNash s) :

Every pure Nash equilibrium lies pointwise above OrderHom.lfp (G.bestResponseLow hMono).

theorem Cslib.GameTheory.ProtocolAdoptionSpec.le_gfp_of_isPureNash {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : ProtocolAdoptionSpec ι) (hMono : ∀ (i : ι), Monotone (G.netBenefit i)) {s : ι → Bool} (hs : G.toPayoffGame.IsPureNash s) :

Every pure Nash equilibrium lies pointwise below OrderHom.gfp (G.bestResponseHigh hMono).

Bootstrapping trap, Strong Nash optimality, and club/organizational cascades #

theorem Cslib.GameTheory.ProtocolAdoptionSpec.bootstrappingTrap_and_strongNash {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : ProtocolAdoptionSpec ι) [Nonempty ι] (hMono : ∀ (i : ι), Monotone (G.netBenefit i)) (hTrap : ∀ (i : ι), G.intrinsic i + G.netBenefit i 1 < G.adoptCost i) (hFull : ∀ (i : ι), G.adoptCost i < G.intrinsic i + G.netBenefit i (Fintype.card ι)) :
(G.toPayoffGame.IsStrictPureNash fun (x : ι) => false) ∧ (G.toPayoffGame.IsStrictPureNash fun (x : ι) => true) ∧ (∀ (i : ι), (G.toPayoffGame.payoff i fun (x : ι) => false) < G.toPayoffGame.payoff i fun (x : ι) => true) ∧ (G.toCostGame.IsStrongNash fun (x : ι) => true) ∧ ¬G.toCostGame.IsStrongEquilibrium fun (x : ι) => false

Bootstrapping trap vs. Pareto-dominant Strong Nash equilibrium ([AMNO07], §25.2.2, p. 636; [KS85]): when network externalities are nondecreasing, no single agent wants to move first (intrinsic i + netBenefit i 1 < adoptCost i), and universal adoption is strictly profitable for every agent (adoptCost i < intrinsic i + netBenefit i |ι|):

  1. Zero adoption is a strict pure Nash equilibrium (the bootstrapping trap).
  2. Universal adoption is a strict pure Nash equilibrium.
  3. Universal adoption strictly Pareto-dominates zero adoption.
  4. Universal adoption is a Strong Nash equilibrium (G.toCostGame.IsStrongNash), whereas
  5. Zero adoption fails even IsStrongEquilibrium (the grand coalition strictly gains by adopting together).
theorem Cslib.GameTheory.ProtocolAdoptionSpec.club_bootstrapping_and_tipping {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : ProtocolAdoptionSpec ι) (hMono : ∀ (i : ι), Monotone (G.netBenefit i)) {C : Finset ι} (hC_ne : C.Nonempty) (hClub : ∀ i ∈ C, G.adoptCost i < G.intrinsic i + G.netBenefit i C.card) (hOut : ∀ j ∉ C, G.adoptCost j < G.intrinsic j + G.netBenefit j (C.card + 1)) :
(G.toCostGame.IsStrictlyBeneficialDeviation (fun (x : ι) => false) C fun (x : ι) => true) ∧ (((G.bestResponseLow hMono) fun (i : ι) => decide (i ∈ C)) = fun (x : ι) => true) ∧ G.toPayoffGame.IsStrictPureNash fun (x : ι) => true

Club / organizational critical-mass bootstrapping ([AMNO07], §25.2.2, p. 636; [OS06]): if a nonempty coalition (organization/club) C reaches critical mass (adoptCost i < intrinsic i + netBenefit i C.card for i ∈ C) and exceeds the adoption threshold for outsiders (adoptCost j < intrinsic j + netBenefit j (C.card + 1) for j ∉ C), then:

  1. Joint adoption by C from zero adoption is a strictly beneficial coalitional deviation.
  2. One synchronous best-response wave from C reaches universal adoption fun _ => true.
  3. Universal adoption is a self-enforcing strict pure Nash equilibrium.
theorem Cslib.GameTheory.ProtocolAdoptionSpec.intraorg_bootstrapping_unique_equilibrium {ι : Type u_1} [Fintype ι] [DecidableEq ι] (G : ProtocolAdoptionSpec ι) (hMono : ∀ (i : ι), Monotone (G.netBenefit i)) {C : Finset ι} (hIntra : ∀ i ∈ C, G.adoptCost i < G.intrinsic i + G.netBenefit i 1) (hOut : ∀ j ∉ C, G.adoptCost j < G.intrinsic j + G.netBenefit j (C.card + 1)) :
(((⇑(G.bestResponseLow hMono))^[2] fun (x : ι) => false) = fun (x : ι) => true) ∧ (G.toPayoffGame.IsStrictPureNash fun (x : ι) => true) ∧ ∀ (s : ι → Bool), G.toPayoffGame.IsPureNash s → s = fun (x : ι) => true

Intraorganizational-benefit bootstrapping (SSH, IPsec, fax machines) ([AMNO07], §25.2.2, p. 636): if an initial set of adopters C has sufficient intraorganizational benefit to adopt even unilaterally (adoptCost i < intrinsic i + netBenefit i 1 for i ∈ C), and C exceeds the global critical mass for outsiders (adoptCost j < intrinsic j + netBenefit j (C.card + 1) for j ∉ C), then:

  1. Two synchronous best-response waves from fun _ => false reach universal adoption fun _ => true.
  2. fun _ => true is the unique pure Nash equilibrium of G.toPayoffGame.
theorem Cslib.GameTheory.eq_const_of_isPureNash_symmetricAdoptionSpec {ι : Type u_1} [Fintype ι] [DecidableEq ι] {r c : ℝ} {v : ℕ → ℝ} (hv : StrictMono v) {s : ι → Bool} (hs : (symmetricAdoptionSpec ι r c v).toPayoffGame.IsPureNash s) :
(∀ (i : ι), s i = true) ∨ ∀ (i : ι), s i = false

Extreme-only pure Nash classification for symmetric protocol adoption games ([AMNO07], §25.2.2, p. 636; [KS85]): when all agents share (r, c, v) and the network externality v is strictly increasing, no partial-adoption profile is a pure Nash equilibrium — every pure Nash equilibrium is either universal adoption or zero adoption.