Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 1, p. 64 — a run (s,…,s)(s, \dots, s)(s,…,s) of kkk best replies to the last kkk plays

Proved
YoungConventions.AdaptivePlay.run_of_best_replies

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

adaptive-playmarkov-chainp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let Γ\GammaΓ be a finite game, 1≤k1 \le k1≤k and m≥2k−1m \ge 2k - 1m≥2k−1, let ppp be a best-reply distribution with sample size kkk, and let h∈Hh \in Hh∈H. Let η\etaη be the sample consisting of the last kkk positions of hhh, and let sss be a strategy tuple in which every sis_isi​ is a best reply of player iii to η\etaη. Define h(s)h^{(s)}h(s) as the state obtained from hhh by deleting its kkk oldest plays and appending sss kkk times:

ht(s)={ht+kif t+k<m,sotherwise.h^{(s)}_t = \begin{cases} h_{t+k} & \text{if } t + k < m, \\ s & \text{otherwise.} \end{cases}ht(s)​={ht+k​s​if t+k<m,otherwise.​

Then adaptive play moves from hhh to h(s)h^{(s)}h(s) in kkk steps with positive probability:

((P0)k)h h(s)>0.\big((P^0)^k\big)_{h\, h^{(s)}} > 0 .((P0)k)hh(s)​>0.

This is the first step of the proof of Theorem 1. The memory condition m≥2k−1m \ge 2k - 1m≥2k−1 keeps the original kkk plays of η\etaη in memory throughout the kkk periods, so every player can keep sampling η\etaη.

Formalization Note Position 000 is the oldest play, so the last kkk positions are those ttt with t+k≥mt + k \ge mt+k≥m. The condition m≥2k−1m \ge 2k - 1m≥2k−1 is written 2k≤m+12k \le m + 12k≤m+1.

Preamble
import Mathlib
import Definitions.Def_YoungConventions_AdaptivePlay_IsBestReplyDistribution
import Definitions.Def_YoungConventions_AdaptivePlay_adaptivePlay
Formal statement
namespace YoungConventions.AdaptivePlay

/-- **A run of `k` identical best replies to the last `k` plays** (Young 1993, *The Evolution of
Conventions*, Econometrica 61:57–84, proof of Theorem 1, p. 64, PDF p. 9): "In period `t + 1` there
is a positive probability that each of the `n` agents samples the last `k` plays in `h`, namely,
`(s(t − k + 1), …, s(t)) = η`. […] Thus there is a positive probability of a run `(s, s, …, s)`
from periods `t + 1` to `t + k` inclusive. Note that this argument depends on the agents' memory
being at least `2k − 1`, since otherwise they could not choose the sample `η` in period `t + k`."

Let `1 ≤ k` and `m ≥ 2k − 1`, let `p` be a best-reply distribution, `h` a state, `η` the sample
consisting of the last `k` positions of `h`, and `s` a strategy tuple in which every `sᵢ` is a best
reply of `i` to `η`. Then, after `k` steps of adaptive play from `h`, the state obtained by
deleting the `k` oldest plays of `h` and appending `s` `k` times has positive probability:
$$ (P^0)^k_{h,\,h^{(s)}} > 0,\qquad h^{(s)}_t = \begin{cases} h_{t+k} & t + k < m,\\ s & \text{otherwise.}\end{cases} $$

**Formalization Note.** Position `0` is the oldest play; the last `k` positions are
`{t : m ≤ t + k}`. The hypothesis `m ≥ 2k − 1` is written `2k ≤ m + 1` in `ℕ`. -/
theorem run_of_best_replies {ι : Type*} [Fintype ι] [DecidableEq ι] {S : ι → Type*}
    [∀ i, Fintype (S i)] [∀ i, DecidableEq (S i)] [∀ i, Nonempty (S i)]
    (u : ι → (∀ i, S i) → ℝ) (k m : ℕ) [NeZero m] (hk : 1 ≤ k) (hkm : 2 * k ≤ m + 1)
    (p : ∀ i, History S m → S i → ℝ) (hp : IsBestReplyDistribution u k p)
    (h : History S m) (s : ∀ i, S i)
    (hs : ∀ i, IsSampleBestReply u h (Finset.univ.filter fun t : Fin m => m ≤ t.val + k) i (s i)) :
    0 < (adaptivePlay p ^ k) h
      (fun t => if ht : t.val + k < m then h ⟨t.val + k, ht⟩ else s) := by sorry

end YoungConventions.AdaptivePlay
Source
Young (1993), The Evolution of Conventions, Econometrica 61:57–84, proof of Theorem 1, p. 64 (PDF p. 9)
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me