Generalization of Penney's game (Penney's paradox)
Statement
The standard Penney's game is played by two players. Player chooses a sequence of bits and (seeing 's selection) chooses a different sequence of bits. A fair coin is flipped repeatedly; whichever player's sequence appears first in the (long) sequence of random coin flips is the winner.
Paradoxically, no matter what sequence chooses, can choose a different sequence that is more likely to appear before 's. For instance, for , if chooses , then should choose . In games, the will appear as the first three coin tosses and will win; in all other games will win because before can appear, 's sequence must appear. If instead chose , then should choose , which is more likely to appear first. Here are some simulations illustrating the effect:
• : B wins
• : B wins
• : B wins
• : B wins
• : B wins
• : A wins
• : B wins
• : B wins
• …
Posed by David G. Stork · game-theory
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-306162.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-306162.lean
import Mathlib /-! # Generalization of Penney's game (Penney's paradox) Source: https://mathoverflow.net/questions/306162 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_306162 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_306162