English

The space complexity of mirror games

Computational Complexity 2017-10-10 v1 Discrete Mathematics

Abstract

We consider a simple streaming game between two players Alice and Bob, which we call the mirror game. In this game, Alice and Bob take turns saying numbers belonging to the set {1,2,,2N}\{1, 2, \dots,2N\}. A player loses if they repeat a number that has already been said. Bob, who goes second, has a very simple (and memoryless) strategy to avoid losing: whenever Alice says xx, respond with 2N+1x2N+1-x. The question is: does Alice have a similarly simple strategy to win that avoids remembering all the numbers said by Bob? The answer is no. We prove a linear lower bound on the space complexity of any deterministic winning strategy of Alice. Interestingly, this follows as a consequence of the Eventown-Oddtown theorem from extremal combinatorics. We additionally demonstrate a randomized strategy for Alice that wins with high probability that requires only O~(N)\tilde{O}(\sqrt N) space (provided that Alice has access to a random matching on K2NK_{2N}). We also investigate lower bounds for a generalized mirror game where Alice and Bob alternate saying 11 number and bb numbers each turn (respectively). When 1+b1+b is a prime, our linear lower bounds continue to hold, but when 1+b1+b is composite, we show that the existence of a o(N)o(N) space strategy for Bob implies the existence of exponential-sized matching vector families over Z1+bN\mathbb{Z}^N_{1+b}.

Keywords

Cite

@article{arxiv.1710.02898,
  title  = {The space complexity of mirror games},
  author = {Sumegha Garg and Jon Schneider},
  journal= {arXiv preprint arXiv:1710.02898},
  year   = {2017}
}

Comments

13 pages

R2 v1 2026-06-22T22:07:06.149Z