AFTD Auto-Formalizing Theoretical Domains

tau_program_equilibrium_of_pure_nash

theoremverifiedformalization

Let A, Prog, and Signal be types, run : Prog → Signal → A an execution function, τ₁, τ₂ : Prog → Signal transparency maps, u₁, u₂ : A → A → ℝ payoff functions, and const_prog : A → Prog a constant program map satisfying run (const_prog a) μ = a for all a : A and μ : Signal. If (a₁, a₂) is a pure Nash equilibrium of the base game (∀ x, u₁ x a₂ ≤ u₁ a₁ a₂ and ∀ y, u₂ a₁ y ≤ u₂ a₁ a₂), then the profile of constant programs (const_prog a₁, const_prog a₂) is a pure τ-program equilibrium of the meta-game: for every deviation π₁' : Prog by player 1, u₁ (run π₁' (τ₁ (const_prog a₂))) (run (const_prog a₂) (τ₂ π₁')) ≤ u₁ (run (const_prog a₁) (τ₁ (const_prog a₂))) (run (const_prog a₂) (τ₂ (const_prog a₁))), and for every deviation π₂' : Prog by player 2, u₂ (run (const_prog a₁) (τ₁ π₂')) (run π₂' (τ₂ (const_prog a₁))) ≤ u₂ (run (const_prog a₁) (τ₁ (const_prog a₂))) (run (const_prog a₂) (τ₂ (const_prog a₁))).

Statement

theorem tau_program_equilibrium_of_pure_nash
    {A Prog Signal : Type*}
    (run : Prog → Signal → A) (τ₁ τ₂ : Prog → Signal)
    (u₁ u₂ : A → A → ℝ)
    (const_prog : A → Prog)
    (h_const : ∀ (a : A) (μ : Signal), run (const_prog a) μ = a)
    (a₁ a₂ : A)
    (h_nash₁ : ∀ x : A, u₁ x a₂ ≤ u₁ a₁ a₂)
    (h_nash₂ : ∀ y : A, u₂ a₁ y ≤ u₂ a₁ a₂) :
    (∀ π₁' : Prog, u₁ (run π₁' (τ₁ (const_prog a₂))) (run (const_prog a₂) (τ₂ π₁')) ≤
      u₁ (run (const_prog a₁) (τ₁ (const_prog a₂))) (run (const_prog a₂) (τ₂ (const_prog a₁)))) ∧
    (∀ π₂' : Prog, u₂ (run (const_prog a₁) (τ₁ π₂')) (run π₂' (τ₂ (const_prog a₁))) ≤
      u₂ (run (const_prog a₁) (τ₁ (const_prog a₂))) (run (const_prog a₂) (τ₂ (const_prog a₁))))
Formalizes
arXiv:2611.33193 Theorem 2.9
Verified
27 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

Read back from the Lean

Given types A, Prog, and Signal, functions run : Prog → Signal → A, τ₁, τ₂ : Prog → Signal, payoff functions u₁, u₂ : A → A → ℝ, a function const_prog : A → Prog, and actions a₁, a₂ : A, assume: 1. h_const: for all a : A and μ : Signal, run (const_prog a) μ = a, 2. h_nash₁: for all x : A, u₁ x a₂ ≤ u₁ a₁ a₂, 3. h_nash₂: for all y : A, u₂ a₁ y ≤ u₂ a₁ a₂. Then the following two conditions hold: - For every program π₁' : Prog, u₁ (run π₁' (τ₁ (const_prog a₂))) (run (const_prog a₂) (τ₂ π₁')) ≤ u₁ (run (const_prog a₁) (τ₁ (const_prog a₂))) (run (const_prog a₂) (τ₂ (const_prog a₁))) - For every program π₂' : Prog, u₂ (run (const_prog a₁) (τ₁ π₂')) (run π₂' (τ₂ (const_prog a₁))) ≤ u₂ (run (const_prog a₁) (τ₁ (const_prog a₂))) (run (const_prog a₂) (τ₂ (const_prog a₁)))

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

Any pure Nash equilibrium $(a₁, a₂)$ in the base game lifts to a $\tau$-program equilibrium using constant programs. Because a constant program unconditionally outputs its assigned action regardless of the transparency signal it observes, each player faces an opponent whose move is fixed to their base equilibrium action. Consequently, any program deviation merely selects an alternative base action against the opponent's fixed action, which cannot improve the deviator's payoff by the definition of a Nash equilibrium.

  1. The constant program profile $(const\_prog\ a₁, const\_prog\ a₂)$ is a pure $\tau$-program equilibrium. automation

    By the characteristic property of constant programs (`h_const`), running $const\_prog\ a$ on any signal $\mu$ always produces $a$. Therefore, against player 2's constant program $const\_prog\ a₂$, any deviation $\pi₁'$ by player 1 results in player 2 taking action $a₂$, yielding payoff $u₁(\mathrm{run}\ \pi₁'\ (\tau₁(const\_prog\ a₂)),\ a₂)$ against the equilibrium payoff $u₁(a₁, a₂)$; this inequality holds directly from the base Nash equilibrium hypothesis for player 1 (`h_nash₁`). Symmetrically, against player 1's constant program $const\_prog\ a₁$, player 1 always takes action $a₁$, so any deviation $\pi₂'$ by player 2 yields payoff $u₂(a₁, \mathrm{run}\ \pi₂'\ (\tau₂(const\_prog\ a₁)))$ bounded by $u₂(a₁, a₂)$ via `h_nash₂`. The automated simplifier `simp_all` evaluates these rewrites and dispatches both conjunctions using the hypotheses.

    line 14

          u₂ (run (const_prog a₁) (τ₁ (const_prog a₂))) (run (const_prog a₂) (τ₂ (const_prog a₁)))) := by first | (simp_all; done) | omega | decide | linarith | positivity | (aesop; done)

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- Pure Nash equilibria induce pure tau-program equilibria via constant programs. -/theorem tau_program_equilibrium_of_pure_nash    {A Prog Signal : Type*}    (run : Prog → Signal → A) (τ₁ τ₂ : Prog → Signal)    (u₁ u₂ : A → A → ℝ)    (const_prog : A → Prog)    (h_const : ∀ (a : A) (μ : Signal), run (const_prog a) μ = a)    (a₁ a₂ : A)    (h_nash₁ : ∀ x : A, u₁ x a₂ ≤ u₁ a₁ a₂)    (h_nash₂ : ∀ y : A, u₂ a₁ y ≤ u₂ a₁ a₂) :    (∀ π₁' : Prog, u₁ (run π₁' (τ₁ (const_prog a₂))) (run (const_prog a₂) (τ₂ π₁')) ≤      u₁ (run (const_prog a₁) (τ₁ (const_prog a₂))) (run (const_prog a₂) (τ₂ (const_prog a₁)))) ∧    (∀ π₂' : Prog, u₂ (run (const_prog a₁) (τ₁ π₂')) (run π₂' (τ₂ (const_prog a₁))) ≤      u₂ (run (const_prog a₁) (τ₁ (const_prog a₂))) (run (const_prog a₂) (τ₂ (const_prog a₁)))) := by first | (simp_all; done) | omega | decide | linarith | positivity | (aesop; done)
See it in the graphDiscuss this resultChallenge it