Social cost
Lax899194.SocialCost · concepts/Lax899194/SocialCost.lean · lax-899194
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
The social cost of a strategy profile is the sum of all players' individual costs: . Distances are counted over ordered pairs of players. An edge purchased by both endpoints is charged twice.
Concept map
Lean source view on GitHub
| 1 | import Lax899194.PlayerCost |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Social cost |
| 6 | type: definition |
| 7 | --- |
| 8 | The social cost of a strategy profile is the sum of all players' individual |
| 9 | costs: . Distances are counted over ordered pairs of |
| 10 | players. An edge purchased by both endpoints is charged twice. |
| 11 | |
| 12 | # Formalization notes |
| 13 | |
| 14 | Social cost is defined on profiles so that it accounts for who purchases each |
| 15 | edge. The graph alone does not determine the expenditure when both endpoints |
| 16 | purchase an edge. No absence of double purchases is assumed in this definition. |
| 17 | -/ |
| 18 | |
| 19 | namespace Lax899194.SocialCost |
| 20 | |
| 21 | open Lax899194.NetworkCreationGame Lax899194.PlayerCost |
| 22 | open scoped BigOperators NNReal ENNReal |
| 23 | |
| 24 | /-- The sum of all players' individual costs, with distances counted in both directions. -/ |
| 25 | noncomputable def socialCost {n : ℕ} (α : ℝ≥0) (s : Profile n) : ℝ≥0∞ := |
| 26 | ∑ i : Fin n, playerCost α s i |
| 27 | |
| 28 | end Lax899194.SocialCost |
| 29 |
Formalization notes
Social cost is defined on profiles so that it accounts for who purchases each edge. The graph alone does not determine the expenditure when both endpoints purchase an edge. No absence of double purchases is assumed in this definition.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments