THE GAME CREATION OPERATOR

Similar documents
Circular Nim Games. S. Heubach 1 M. Dufour 2. May 7, 2010 Math Colloquium, Cal Poly San Luis Obispo

Eric Duchêne (Univ. Claude Bernard Lyon 1) Michel Rigo (University of Liège)

arxiv: v1 [cs.dm] 13 Feb 2015

Analyzing ELLIE - the Story of a Combinatorial Game

Tangent: Boromean Rings. The Beer Can Game. Plan. A Take-Away Game. Mathematical Games I. Introduction to Impartial Combinatorial Games

On Variations of Nim and Chomp

Plan. Related courses. A Take-Away Game. Mathematical Games , (21-801) - Mathematical Games Look for it in Spring 11

Graph Nim. PURE Insights. Breeann Flesch Western Oregon University,

Tutorial 1. (ii) There are finite many possible positions. (iii) The players take turns to make moves.

Another Form of Matrix Nim

Obliged Sums of Games

Impartial Games and Recursive Functions

arxiv: v2 [cs.cc] 18 Mar 2013

On Variants of Nim and Chomp

Grade 6 Math Circles Combinatorial Games - Solutions November 3/4, 2015

Sequential games. We may play the dating game as a sequential game. In this case, one player, say Connie, makes a choice before the other.

Some Chip Transfer Games Thomas S. Ferguson University of California, Los Angeles

Subtraction games with expandable subtraction sets

Wythoff s Game. Kimberly Hirschfeld-Cotton Oshkosh, Nebraska

Three Pile Nim with Move Blocking. Arthur Holshouser. Harold Reiter.

SOLITAIRE CLOBBER AS AN OPTIMIZATION PROBLEM ON WORDS

Surreal Numbers and Games. February 2010

STAJSIC, DAVORIN, M.A. Combinatorial Game Theory (2010) Directed by Dr. Clifford Smyth. pp.40

Grade 6 Math Circles Combinatorial Games November 3/4, 2015

Game Theory and Algorithms Lecture 19: Nim & Impartial Combinatorial Games

Grade 7/8 Math Circles Game Theory October 27/28, 2015

EXPLORING TIC-TAC-TOE VARIANTS

ON SPLITTING UP PILES OF STONES

Analysis of Don't Break the Ice

PRIMES STEP Plays Games

Background. Game Theory and Nim. The Game of Nim. Game is Finite 1/27/2011

Peeking at partizan misère quotients

2-PILE NIM WITH A RESTRICTED NUMBER OF MOVE-SIZE IMITATIONS

Contents. MA 327/ECO 327 Introduction to Game Theory Fall 2017 Notes. 1 Wednesday, August Friday, August Monday, August 28 6

Guest Lecture, October

GEOGRAPHY PLAYED ON AN N-CYCLE TIMES A 4-CYCLE

Solutions to Part I of Game Theory

Monotone Sequences & Cauchy Sequences Philippe B. Laval

On Modular Extensions to Nim

CS 491 CAP Intro to Combinatorial Games. Jingbo Shang University of Illinois at Urbana-Champaign Nov 4, 2016

New Toads and Frogs Results

Gale s Vingt-et-en. Ng P.T. 1 and Tay T.S. 2. Department of Mathematics, National University of Singapore 2, Science Drive 2, Singapore (117543)

Impartial Combinatorial Games Berkeley Math Circle Intermediate II Ted Alper Evans Hall, room 740 Sept 1, 2015

Summary Overview of Topics in Econ 30200b: Decision theory: strong and weak domination by randomized strategies, domination theorem, expected utility

Two-Player Tower of Hanoi

Restricted Permutations Related to Fibonacci Numbers and k-generalized Fibonacci Numbers

Section Summary. Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning

18.204: CHIP FIRING GAMES

Definition 1 (Game). For us, a game will be any series of alternating moves between two players where one player must win.

arxiv: v1 [math.co] 3 Jun 2015

Carmen s Core Concepts (Math 135)

Enumeration of Two Particular Sets of Minimal Permutations

Math 152: Applicable Mathematics and Computing

DVA325 Formal Languages, Automata and Models of Computation (FABER)

GAMES AND STRATEGY BEGINNERS 12/03/2017

Jim and Nim. Japheth Wood New York Math Circle. August 6, 2011

An Aperiodic Tiling from a Dynamical System: An Exposition of An Example of Culik and Kari. S. Eigen J. Navarro V. Prasad

Ultimately bipartite subtraction games

Week 1. 1 What Is Combinatorics?

Greedy Flipping of Pancakes and Burnt Pancakes

Math 127: Equivalence Relations

arxiv:cs/ v1 [cs.gt] 12 Mar 2007

37 Game Theory. Bebe b1 b2 b3. a Abe a a A Two-Person Zero-Sum Game

Game 0: One Pile, Last Chip Loses

NIM WITH A MODULAR MULLER TWIST. Hillevi Gavel Department of Mathematics and Physics, Mälardalen University, Västerås, Sweden

Honors Precalculus Chapter 9 Summary Basic Combinatorics

SYMMETRIES OF FIBONACCI POINTS, MOD m

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees.

Dice Games and Stochastic Dynamic Programming

arxiv: v1 [math.gt] 21 Mar 2018

Counting integral solutions

The Game of SET R, and its Mathematics.

Graphs of Tilings. Patrick Callahan, University of California Office of the President, Oakland, CA

RESTRICTED UNIVERSES OF PARTIZAN MISÈRE GAMES

Open Problems at the 2002 Dagstuhl Seminar on Algorithmic Combinatorial Game Theory

Crossing Game Strategies

SOME MORE DECREASE AND CONQUER ALGORITHMS

First Cycle Games. Benjamin Aminof (IST Austria) and Sasha Rubin (TU Wien) Strategic Reasoning /20

Dyck paths, standard Young tableaux, and pattern avoiding permutations

A Combinatorial Game Mathematical Strategy Planning Procedure for a Class of Chess Endgames

Fast Sorting and Pattern-Avoiding Permutations

arxiv: v1 [math.co] 8 Oct 2012


The tenure game. The tenure game. Winning strategies for the tenure game. Winning condition for the tenure game

Fraser Stewart Department of Mathematics and Statistics, Xi An Jiaotong University, Xi An, Shaanxi, China

AI Approaches to Ultimate Tic-Tac-Toe

Numan Sheikh FC College Lahore

Partizan Kayles and Misère Invertibility

Edge-disjoint tree representation of three tree degree sequences

3.5 Marginal Distributions

Combined Games. Block, Alexander Huang, Boao. icamp Summer Research Program University of California, Irvine Irvine, CA

ALGEBRA: Chapter I: QUESTION BANK

NIM Games: Handout 1

A Winning Strategy for the Game of Antonim

Senior Math Circles February 10, 2010 Game Theory II

Checkpoint Questions Due Monday, October 7 at 2:15 PM Remaining Questions Due Friday, October 11 at 2:15 PM

An Optimal Algorithm for a Strategy Game

What is counting? (how many ways of doing things) how many possible ways to choose 4 people from 10?

132-avoiding Two-stack Sortable Permutations, Fibonacci Numbers, and Pell Numbers

Game Theory, Alive. Yuval Peres with contributions by David B. Wilson. September 27, Check for updates at

Transcription:

2/6/17 THE GAME CREATION OPERATOR Joint work with Urban Larsson and Matthieu Dufour Silvia Heubach California State University Los Angeles SoCal-Nevada Fall 2016 Section Meeting October 22, 2016 Much of this work was done during my sabbatical visit to Berkeley in October 2016 1

Outline Basic background on combinatorial games Definition of subtraction games Some examples: Nim, Wythoff History of the game creation operator Our results Future work The Basics! A two-player game is called a combinatorial game if there is no randomness involved and all possible moves are known to each player.! A combinatorial game is called impartial if both players have the same allowed moves! Examples:! Under normal play, the last player to move wins. Under misère play, the last player to move loses. 2

Main Question: Who wins in a combinatorial game from a specific position, assuming both players play optimally? Subtraction Games A subtraction or take-away game is played on one or more stacks of tokens Positions are described as vectors of stack heights The subtraction set M consists of the possible moves in the form of subtraction vectors. A move can be used as long as it does not result in negative stack height(s) Take one token from stack 1 (5, 3, 2, 1) (1, 0, 0, 0) 3

Subtraction Sets Examples: NIM on one stack M = {1, 2, 3, } WYTHOFF is played on two stacks. Can either take one or more tokens from one stack, or the same number from both stacks. M = {(1,0), (2,0),, (0,1), (0,2),, (1,1),(2,2), } Impartial Games Only two possible outcome classes: Losing positions Winning positions Characterization of positions From a losing position, all allowed moves lead to a winning position From a winning position, there is at least one move to a losing position. In misère play, the terminal positions are winning positions 4

Recursive Determination of Outcome Class Game M= {4, 7, 11} We will color winning and losing positions The terminal positions are 0, 1, 2, 3 Pattern that emerges is an alternating sequence of 4 losing positions followed by 11 winning positions (after the terminal positions in the beginning) 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24.. Stack height -Operator Observation: For subtraction games, positions and allowed moves have the same structure! This allows us to iteratively create new games. The -operator is defined as follows: We start with a subtraction game M that is described by the allowed moves. We compute the set of losing positions, L(M) The losing positions of M become the moves for the game M Notation: M 0 = M, M n = (M n-1 ) M is reflexive if M = M 5

How did the -Operator come about? WYTHOFF The losing positions of WYTHOFF (under normal play) are closely related to the golden ratio ϕ = 1+ 5 : 2 We only list positions of the form (x,y), but by symmetry, (y,x) is also a losing position. 6

Visualization of the Losing Positions a n b n 50 0 0 1 2 3 5 40 4 7 6 10 8 13 30 9 15 11 18 12 20 20 14 23 16 26 10 17 28 0 0 10 20 30 40 50 Recursive Creation of the Losing Positions The losing positions can also be created recursively. n 0 1 2 3 4 5 6 7 a n 0 1 3 4 6 8 9 11 a n b n 0 2 5 7 10 13 15 18 b n Let a n = the smallest non-negative integer not yet used and set b n = a n + n. Repeat. By creation, sequences {a n } and {b n } are complementary, in fact, they are homogenous Beatty sequences. 7

Complementary Beatty Sequences From American Mathematical Monthly, 33 (3): 159 Complementary Beatty Sequences & Games Duchêne-Rigo Conjecture: Every complementary pair of homogeneous Beatty sequences forms the set of losing positions for some invariant impartial game. This conjecture was proved by Larsson, Hegarty and Fraenkel using the game creation operator ( -operator) 8

Back to the -Operator Questions for Misère-Play -Operator Question 1: Does the misère-play -operator converge (point-wise)? Question 2: What feature(s) of M determines the limit game for its sequence? Question 3: Limit games are (by definition) reflexive. What is the structure of reflexive games and/or limit games (if they exist)? Question 4: How quickly does convergence occur? 9

Example for One Stack -operator applied five times to initial game M 5 M 4 M 3 M 2 M 1 M 0 M 0 = {4, 7, 11} G 0 = {4, 9} Observations from Example Looks like there is convergence (fixed point) for each of the games Limit games seem to have a periodic structure: blocks of moves alternate with blocks of non-moves M 0 = {4, 7, 11} and G 0 = {4, 9} seem to have the same limit game Question: What do the two sets M 0 and G 0 have in common? Answer: The minimal element, k = 4. 10

Q1: Convergence Result Theorem Starting from any game M on d stacks, the sequence of games created by the misère-play -operator converges to a (reflexive) limit game M. Convergence Result Proof idea: (for d stacks) Positions become fixed either as moves or non-moves from smaller to larger. There are four possibilities: move in M i+1 Non-move in M i+1 move in M i Fixed as a move Erased as move Non-move in M i Introduced as move Fixed as non-move Show that smallest element not yet fixed becomes fixed. 11

Proof by Picture M 0 = {4, 7, 11} x = 5 x = 15 x = 26 x = 38 Proof by Picture Not all positions switch from non-move to move: 12

Q2: Which Feature of M Determines M? Theorem Two games M and G (played on the same number of stacks) have the same limit game if and only if their unique sets of minimal elements (with the usual partial order) are the same. Q3: Characteristic of Reflexive Games The following result is somewhat technical, but it is a general result for games on any number of stacks. It is used to prove specific results for one and two stacks. Theorem The game A on d stacks is reflexive if and only if its set of moves A (as a set) satisfies A + A = A c \ T A where T A is the set of terminal positions of the game A. 13

Structure of Reflexive Games on One Stack Pattern: period 3k-1; starts at k has k moves, followed by 2k-1 non-moves. M k := { i p k + k,, i p k + (2k 1) i = 0,1, }, where p k = 3k-1 Theorem The game M is reflexive iff M = M k for some k > 0. Structure of Limit/Reflexive Games on Two Stacks Classification of games according to minimal moves 1 2 3 Exactly one minimal move a. Not on an axis b. On one of the axes Exactly two minimal moves a. No minimal move on an axis b. Exactly one move is on an axis c. Both moves are on the axes Three or more minimal moves a. No minimal move on an axis b. Exactly one move is on an axis c. Two moves are on the axes 14

Example: Two Minima on Axes Definition of Game M j,k p k (0,k) (j,0) p j 15

Reflexivity of M j,k Theorem [Bloomfield, Dufour, Heubach, Larsson] The game M j,k is reflexive. Corollary The limit game of a set M equals the game M j,k if and only if the set of minimal elements of M is {(j,0),(0,k)}. Q4: How Long until Convergence? We can only answer this question for games on one stack and for specific initial games Theorem For M = {k} with k > 1 it takes exactly 5 iterations for the limit game to appear for the first time. Proof: We explicitly derive the games M 1 through M 5. For games on two stacks we have very varied results from our computer explorations 16

Future Work 1. Investigate the structure of the limit games in the other classes for games on two stacks 2. Computer experiments for three minimal elements have produced L-shaped limit games, limit games with diagonal stripes, and limit games that combine the two features Three+ Minimal Moves None on Axis M = {(2,9), (3,7), (4,4), (5,2), (8,1)} Convergence after 2 steps! 17

Three Minimal Moves Two on Axes M = {(0,5), (1,1), (5,0)} Convergence after 8 steps! Three minimal moves two on axes M = {(0,5), (2,2), (5,0)} Convergence after 7 steps! 18

Three Minimal Moves Two on Axes M = {(0,5), (3,3), (5,0)} Convergence after 7 steps! Three Minimal Moves Two on Axes M = {(0,5), (4,4), (5,0)} Convergence after 6 steps! 19

Future Work 1. Investigate the structure of the limit games in the other classes for games on two stacks 2. We have observed L-shaped limit games, limit games with diagonal stripes, and limit games that combine the two features 3. Number of steps to convergence, or showing that it happens in a finite number of steps for all games or for games of a particular (sub-) class Future Work Conjecture For all subtraction games on two stacks, limit games under the misère *-operator are ultimately periodic along any line of rational slope. 20

References E. Duchêne and M. Rigo. Invariant games, Theoretical Computer Science, 411, pp 3169-3180, 2010. U. Larsson, P. Hegarty, and A. S. Fraenkel. Invariant and dual subtraction games resolving the Duchêne-Rigo conjecture, Theoretical Computer Science, 412, pp 729-735, 2011. U. Larsson. The *-operator and invariant subtraction games. Theoretical Computer Science, 422, pp 52-58, 2012. M. Dufour, S. Heubach, and U. Larsson, A Misère-Play *-Operator, preprint. (arxiv:1608.06996v1) THANK YOU! sheubac@calstatela.edu Slides will eventually be posted on my web site http://web.calstatela.edu/faculty/sheubac 21