pith. machine review for the scientific record. sign in
inductive

Choice

definition
show as:
view math explainer →
module
IndisputableMonolith.GameTheory.CooperationFromSigma
domain
GameTheory
line
61 · github
papers citing
none yet

open explainer

Read the cached plain-language explainer.

open lean source

IndisputableMonolith.GameTheory.CooperationFromSigma on GitHub at line 61.

browse module

All declarations in this module, on Recognition.

explainer page

A cached Ask Recognition explainer exists for this declaration.

open explainer

depends on

used by

formal source

  58-/
  59
  60/-- Player choice: cooperate or defect. -/
  61inductive Choice where
  62  | cooperate
  63  | defect
  64  deriving DecidableEq, Inhabited
  65
  66/-- A 2-player joint outcome. -/
  67structure JointOutcome where
  68  p1 : Choice
  69  p2 : Choice
  70  deriving DecidableEq
  71
  72/-- The σ-charge of a joint outcome: `+1` for mutual cooperation
  73    (creating coordinated value), `0` for mixed, `-1` for mutual
  74    defection (destroying coordinated value).  This is the σ-Noether
  75    charge of the multi-agent move. -/
  76def jointSigma (o : JointOutcome) : ℝ :=
  77  match o.p1, o.p2 with
  78  | .cooperate, .cooperate => 1
  79  | .cooperate, .defect => 0
  80  | .defect, .cooperate => 0
  81  | .defect, .defect => -1
  82
  83/-- The mutual-cooperation outcome has positive σ. -/
  84theorem CC_sigma_pos :
  85    jointSigma ⟨.cooperate, .cooperate⟩ = 1 := rfl
  86
  87/-- The mutual-defection outcome has negative σ. -/
  88theorem DD_sigma_neg :
  89    jointSigma ⟨.defect, .defect⟩ = -1 := rfl
  90
  91/-- Mixed outcomes have σ = 0. -/