A General Upper Bound for the Runtime of a Coevolutionary Algorithm on Impartial Combinatorial Games.
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
A General Upper Bound for the Runtime of a Coevolutionary Algorithm on Impartial Combinatorial Games - PMC Skip to main content An official website of the United States government Here's how you know Here's how you know Search Log in Primary site navigation Search Log in Search PMC Full-Text Archive Search in PMC Journal List User Guide As a library, NLM provides access to scientific literature. Inclusion in an NLM database does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: PMC Disclaimer | PMC Copyright Notice Algorithmica . 2026 Jun 4;88(3):53. doi: 10.1007/s00453-026-01397-1 A General Upper Bound for the Runtime of a Coevolutionary Algorithm on Impartial Combinatorial Games Alistair Benford 1, ✉ , Per Kristian Lehre 2 Author information Article notes Copyright and License information 1 School of Informatics, University of Edinburgh, Edinburgh, UK 2 School of Computer Science, University of Birmingham, Birmingham, UK ✉ Corresponding author. Received 2025 Nov 3; Accepted 2026 May 21; Issue date 2026. © The Author(s) 2026 Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ . PMC Copyright notice PMCID: PMC13236808 PMID: 42254840 Abstract Due to their complex dynamics, combinatorial games are a key test case and application for algorithms that train game playing agents. Among those algorithms that train using self-play are coevolutionary algorithms (CoEAs). However, the successful application of CoEAs for game playing is difficult due to pathological behaviours such as cycling, an issue especially critical for games with intransitive payoff landscapes. Insight into how to design CoEAs to avoid such behaviours can be provided by runtime analysis. In this paper, we push the scope of runtime analysis for CoEAs to combinatorial games, proving a general upper bound for the number of simulated games needed for a simple estimation of distribution algorithm to discover (with high probability) an optimal strategy. This result applies to any impartial combinatorial game, and for many games the implied bound is polynomial or quasipolynomial as a function of the number of game positions. After proving the main result, we provide several applications to simple well-known games: Nim, Chomp, Silver Dollar, and Turning Turtles. As the first runtime analysis for CoEAs on combinatorial games, this result is a critical step towards a comprehensive theoretical framework for coevolution. Keywords: Runtime analysis, Coevolution, Combinatorial games Introduction Many of the most well-known games in the world are combinatorial games. Combinatorial games are typically perfect-information games played by two players without chance moves. The game has a finite number of possible positions, and players alternately take turns moving the game from one position to another, according to a set of rules describing which moves are legal. Combinatorial games are an exceptionally broad class of games, including famous games enjoyed the world over such as Chess or Go. Even those with simple rules can engender deep and complex strategic interactions between players. While this strategic depth is a key part of the appeal for human players, it can also render the task of computing a winning strategy to be extremely difficult. Indeed, games for which this task is known to be EXPTIME-complete (in terms of board size) include Chess [ 1 ], Go (with the ko rule) [ 2 ], and Checkers [ 3 ]. It is also known that determining an optimal strategy for a poset game (a class of combinatorial games which we will encounter in Section 6.4 ) is PSPACE-complete in terms of the size of the underlying poset [ 4 ]. (For further results, see [ 5 ].) While classical methods are impractical for such cases, strong strategies can still be developed by using heuristic approaches, such as neural networks, Monte Carlo tree search, or genetic programming. Indeed, combinatorial games are a long-standing focus in the development of artificial intelligence, from Donald Michie’s seminal use of reinforcement learning on Tic-Tac-Toe [ 6 ], to Deep Blue’s famous matches against then-world Chess champion Garry Kasparov [ 7 ], to the recent groundbreaking results of DeepMind [ 8 ]. Many recent successes in this area train game playing agents using self-play, and among those self-play heuristics are coevolutionary algorithms (CoEAs) [ 9 ]. For a CoEA, self-play is realised through one or more evolving populations of individuals who compete against their contemporaries. In each iteration, the strongest individuals are selected based on their competitive interactions. Through genetic mutation and crossover, these strongest individuals are then used as parents for the individuals in the next iteration. The successful application of CoEAs is deeply challenging, often due to the potential for games with intransitive payoff landscapes to induce cyclic behaviour [ 10 ]. For standard evolutionary algorithms, which apply similar methods to traditional optimisation problems, insight into how to avoid pathological behaviours can be provided by runtime analysis, which exists in great breadth and depth in literature and continues to be actively developed [ 11 ]. However, despite clear demand (see [ 9 ]), runtime analysis that addresses the challenges unique to CoEAs is far more limited. Indeed, while existing coevolutionary runtime analysis concerns a range of algorithms and design features, there are only three problem settings to which it so far applies: Bilinear , a game played on bitstrings whose outcome depends only on the number of 1-bits selected by each player [ 12 – 14 ]; Diagonal , a benchmark problem inspired by binary test-based optimisation [ 15 ]; and a class of symmetric zero-sum games with a payoff landscape that is globally very simple, but possibly locally intransitive [ 16 ]. Accordingly, our core research aim is to push the scope of runtime analysis for CoEAs towards games which feature more complex strategic interaction between players, and more closely reflect real-world games. Motivated by the numerous empirical investigations into the topic (see Section 1.1 ), we focus our analysis on the use of CoEAs for combinatorial games, and in particular impartial combinatorial games. A combinatorial game is said to be impartial if both players share the same set of available moves at each game position [ 17 ]. It is common to also adopt the normal play convention , which assumes that a player loses if they have no legal moves available. For instance, consider S U B T R A C T I O N N I M 7 2 (formally introduced in Section 6.1 ), in which the game positions are { 0 , 1 , 2 , 3 , 4 , 5 , 6 } and a player must subtract either 1 or 2 from the position on their turn. A strategy may be encoded as a string of length 6, with entry i indicating whether a 1 or a 2 is to be subtracted when the game position is i . One way the game may play out is then: Player 1 : 122111 Player 2 : 122122 Turn 1 : P1 subtracts 1. The new position is 5. Turn 2 : P2 subtracts 2. The new position is 3. Turn 3 : P1 subtracts 2. The new position is 1. Turn 4 : P2 subtracts 1. The new position is 0. Turn 5 : P1 has no legal moves. P2 is the winner. (In fact, any strategy of the form 12*12* will always win this game, provided the corresponding player does not move first.) The main result of this paper (Theorem 5.2 and Corollary 5.5 ) is the first runtime analysis for a coevolutionary algorithm on impartial combinatorial games. In broad terms, it says the following. Theorem 1.1 (Corollary 5.5 , informal version) Let A be the coevolutionary algorithm specified in Section 3 , and let G be an impartial combinatorial game with n possible positions. Then, with high probability, A discovers an optimal strategy for G within n O ( s ¯ ) game evaluations, where s ¯ is a precisely defined invariant of the corresponding game graph. We note that the notion of a game graph is defined in Section 2 and the invariant s ¯ is defined in Section 4 . For many games we find s ¯ = O ( 1 ) or s ¯ = O ( log n ) , and so this result implies a range of polynomial and quasipolynomial runtimes. While it appears likely that the upper bound provided is higher than the true runtime for specific games, a major strength is that it is immediately applicable to any impartial combinatorial game. As we also provide an easy method for bounding s ¯ above when its exact value is not obvious (see Proposition 4.4 ), deriving runtimes for well-known games is straightforward. Indeed, after distilling into a more concise form (Corollary 5.5 ), we will see applications to games including Nim, Silver Dollar, Turning Turtles, and Chomp. To understand what is the significance of our result, it is helpful to first clarify what it is not. In no uncertain terms, this paper is not an account of a superior ready-to-use method for efficiently finding optimal strategies for combinatorial games. Strategies will here be encoded by exhaustively listing a preferred action for every possible game position, and thus the methods presented are necessarily at least linear in the number of game states, both in terms of memory and of time. With this naive representation, classical algorithms can already establish optimal strategies in time O ( n ) using Sprague-Grundy theory (see Section 2.1 ), which is best possible. However, many games are parameterised in such a way that the number of possible game positions grows exponentially (accordingly, we emphasise that Theorem 1.1 is not in contradiction with the aforementioned EXPTIME and PSPACE results). While the classical approach breaks down in such cases, a CoEA can still find success by replacing the exhaustive listing of actions with a model that maps features of the game position onto an action. However, even when using the naive representation, our understanding of how to successfully apply CoEAs is very limited. If we wish to consistently apply CoEAs to advanced problems, whether they are rooted in game-playing or not, we must attain a comprehensive understanding of their behaviour in these simpler settings. Indeed, seemingly simple instances still produce payoff landscapes with features that make them difficult to optimise heuristically, such as intransitivity (as an example, in the already-introduced representation for S U B T R A C T I O N N I M 7 2 , 111121 defeats 122112 , which in turn defeats 12122 , which in turn defeats 111121 , regardless of who plays first). Thus, the main contribution of this paper is precisely this: a first step towards a theoretical understanding of CoEAs on combinatorial games. This greatly expands the scope of rigorous runtime analysis available for coevolution (which so far does not apply to any turn-based game, let alone combinatorial ones), and additionally complements the abundance of existing empirical analysis, which we review in Section 1.1 . We emphasise that as this a first step, the analysis in this paper applies to a strategic representation using an exhaustive listing of actions, and this is not realistic for useful applications. Nonetheless, it remains a long term goal to push analysis towards more sophisticated representations, and insights into algorithm design and coevolutionary interactions gained here have utility towards that goal and for understanding coevolution in general. Furthermore, we believe our addition to the range of techniques available in this critical domain will in turn further the development of future runtime analysis of CoEAs. We note here that the CoEA we analyse belongs to a class of evolutionary algorithms called estimation of distribution algorithms (EDAs) [ 18 ], which keep track of probability distributions over search spaces rather than explicit populations. A more comprehensive background on EDAs is given in Section 3 . While there is a range of established analysis for non-coevolutionary EDAs (see [ 19 ]), the only prior analysis of a coevolutionary EDA is due to Benford and Lehre [ 16 ], who established an upper runtime bound on a simple class of symmetric zero-sum games. As the algorithm we analyse is a generalisation of the one appearing in [ 16 ], the proof of our main result adopts a similar high-level approach, which is to construct a function mapping the EDA’s probability distribution onto a single real number measuring progress towards optimality. This type of reduction is typical for analysis of EDAs in general (e.g., [ 20 – 24 ]), and is a feature of the broader family of techniques known as drift analysis [ 25 ]. However, for this approach to be successful, it is necessary to establish the constructed reduction does indeed have bias towards optimality, a fact that can only be derived by analysing how the game’s payoff function influences the progress of the algorithm. As this aspect is highly sensitive to the game being optimised, and this work presents the first analysis of CoEAs on combinatorial games, the proof features relevant to this aspect are novel technical advances (in particular, Lemma 3.2 characterising the distribution of parents selected using tournament selection on impartial combinatorial games, as well as the definition and analysis of the aforementioned parameter s ¯ in Section 4 ). We additionally note that the analysed EDA applies to multi-valued decision variables, rather than simply binary variables (this notion is also covered formally in Section 3 ). While not the main focus of this paper, there is only a small amount of preexisting analysis for EDAs operating over non-binary search domains, despite the clear utility of such algorithms. Our proof includes a detailed treatment of this setting, and may also provide methods useful in future analysis in this area. The preliminary conference version [ 26 ] of this work presented a proof of the main result (Theorem 5.2 ) and applied it to a number of simple well-known combinatorial games (see Section 6 ). Here, we extend that version a number of ways. In Section 7 we consider in detail the strength of the main result, and identify key proof aspects and use cases for which closer analysis can lead to tighter runtime bounds. As part of this, we provide a new result (Lemma 7.1 ) demonstrating improvements of the main result are possible for games with simple optimal strategies. By applying the new result to the game Chomp (introduced in Section 6.4 ), we are able to improve the corresponding runtime bound from one that is quasipolynomial to one that is polynomial (and even to one that is polylogarithmic when choosing algorithmic parameters optimally). In addition, the implicit constant C in the main result (Theorem 5.2 ) is now given explicitly, and the corresponding proof is broken down using a new lemma in order to accommodate the new material. In the remainder of this section, we review existing related work before stating notation. In Section 2 we give a more comprehensive discussion of impartial combinatorial games and review some Sprague-Grundy theory that will be relevant to our proof. In Section 3 we state the algorithm to which our result applies (UMDA), with an emphasis on its extension to multi-valued decision variables. In Section 4 we motivate and define the graph property s ¯ appearing in Theorem 1.1 , before then presenting the main result in Section 5 . Following this, we apply the main result to a menagerie of selected impartial combinatorial games in Section 6 . In Section 7 we identify how the main result can be improved using specialised analysis, and use such analysis to prove a stronger result for the game Chomp. Finally, concluding remarks and discussion of future directions is provided in Section 8 . Related work Empirical analysis of coevolutionary algorithms for game playing. As game playing is a natural application for CoEAs, there have been a large number of empirical investigations into this topic, of which we can only list a fraction here. In one of the seminal and most well-known papers on competitive CoEAs (notable for introducing the ‘competitive fitness sharing’ evaluation method), Rosin and Belew [ 27 ] investigated design features for CoEAs optimising a 4-pile instance of Nim (an example of one of the intransitive combinatorial games analysed in this paper), noting that Nim was a difficult coevolutionary problem despite lending itself to simple crossover-friendly representations. Additionally, Jákowski, Krawiec, and Wieloch [ 28 ] observed in relation to experiments on S U B T R A C T I O N N I M 200 3 that intransitivity presents a strong challenge for CoEAs. CoEAs have also been studied in the context of non-impartial (yet still almost symmetric) combinatorial games. A pioneering work in this category is due to Pollack and Blair [ 29 ], who used a simple hillclimbing CoEA to evolve neural networks that evaluate board positions in Backgammon, a (non-deterministic) combinatorial game. The numerous subsequent studies that use CoEAs to evolve evaluators of board positions have considered combinatorial games including Othello [ 30 – 32 ], Senet [ 33 ], Checkers [ 34 ], Chess [ 35 , 36 ], and Go [ 37 ]. CoEAs have also been used to approach games outside the scope of combinatorial games, including Pong [ 38 ], Bomberman [ 39 ], Poker [ 40 ], and Resistance [ 41 ]. Many competitive real-world interactions can be modelled as games, and CoEAs have been applied to such games arising from cybersecurity and defence [ 42 , 43 ]. For a general survey of coevolution, see [ 44 ]. Runtime analysis of coevolutionary algorithms. Until recently, the only existing coevolutionary runtime analysis result, due to Jansen and Wiegand [ 45 ], applied to a cooperative coevolutionary algorithm, which uses multiple populations to collectively solve traditional optimisation problems. The present work considers competitive coevolutionary algorithms, which apply to game-theoretic scenarios by evolving populations of individuals which are evaluated against contemporary adversaries. The first runtime analysis applicable to competitive coevolution was established by Lehre [ 12 ], who showed that a population-based CoEA which selects using a pairwise dominance relation is able to approximate the Nash equilibrium of instances of a game called B I L I N E A R in expected polynomial time. A key theoretical insight into algorithm design from the same paper was the identification of an error threshold for mutation rate, above which no CoEA can efficiently optimise B I L I N E A R . Further runtime analysis for CoEAs on B I L I N E A R has concerned the roles played by fitness aggregation methods [ 13 ] and archives [ 14 ] in algorithm behaviour. Inspired by promising applications of CoEAs for optimising binary test-based problems, Lin and Lehre [ 15 ] provided runtime analysis establishing the benefit of using a CoEA over a traditional EA for optimising a benchmark problem called D I A G O N A L . In [ 16 ], Benford and Lehre considered the importance of maintaining a diverse set of opponents when coevolving game strategies, showing that any CoEA able to retain only one individual between generations cannot efficiently find optimal strategies on a certain class of symmetric zero-sum games. In the positive direction, it is shown in [ 16 ] that the coevolutionary estimation of distribution algorithm also studied in this paper (see Section 3 ) discovers the optimal strategy of games belonging to the same class in polynomial time. Notation Given a finite set S , a probability distribution over S is a function p : S → [ 0 , 1 ] satisfying ∑ s ∈ S p ( s ) = 1 . We say that an S -valued random variable x is distributed according to p , written x ∼ p , if P ( x = s ) = p ( s ) holds for every s ∈ S . Given also a subset A ⊆ S , we write p ( A ) = ∑ s ∈ A p ( s ) . Given a number γ ∈ [ 0 , 1 ] we use P γ ( S ) to denote the set of probability distributions p over S satisfying p ( s ) ⩾ γ for every s ∈ S , and we also write P ( S ) = P 0 ( S ) . A rooted directed graph is a triple G = ( V , F , v 0 ) , where V is a vertex set, F is a function mapping each vertex onto its out-neighbourhood, and v 0 ∈ V is a distinguished root vertex. Throughout we will assume all directed graphs are acyclic. We write E ( G ) = { ( u , v ) ∈ V 2 : v ∈ F ( u ) } for the set of edges of G and Δ = max v ∈ V | F ( v ) | for the maximum degree of G . A directed path in G is a sequence of vertices u 0 u 1 … u ℓ such that u i ∈ F ( u i - 1 ) for each i ∈ [ ℓ ] . For a path P = u 0 u 1 … u ℓ we have | P | = ℓ + 1 . Note that we may have ℓ = 0 , in which case P consists of a single vertex. If v ∈ V has no out-neighbours, then we say v is a sink . We use Int ( G ) = { v ∈ V : F ( v ) ≠ ∅ } to denote the set of non-sink vertices of G (the interior vertices). A reverse topological ordering for G is an ordering u 1 , … , u n of V such that F ( u i ) ⊆ { u 1 , … , u i - 1 } holds for every i ∈ [ n ] (note that such an ordering always exists as G is assumed to be acyclic). All logarithms are the natural logarithm unless stated otherwise, and given k ∈ N we write log k n = ( log n ) k . Impartial Combinatorial Games Let us briefly review the representation of impartial games via directed graphs and some Sprague-Grundy theory (see, for example, [ 46 , 47 ]). An impartial combinatorial game is a finite acyclic rooted directed graph G = ( V , F , v 0 ) (see Section 1.2 ), where V is a vertex set of size n , and v 0 ∈ V is the initial game position. Players take it in turns to move the current position to one of its out-neighbours. We adopt the convention that if a player is unable to make a move because the current position has no out-neighbours (i.e., it is a sink), then that player loses. This is usually referred to as the normal play convention . We will also always assume that for each v ∈ V , there is a directed path from v 0 to v , so that every game position is reachable. We will encode strategies for impartial combinatorial games as an assignment of each non-sink game position v to an element of F ( v ) (that is, an out-neighbour of v ), with this assignment indicating the preferred move at each game position. Formally, recalling that Int ( G ) denotes the set of v ∈ V with F ( v ) ≠ ∅ , then X G = ∏ v ∈ Int ( G ) F ( v ) will be the set of strategies for G . Note that an element x ∈ X G may be regarded as a mapping Int ( G ) → V , and so we will write x ( v ) for the image of a position v ∈ V under this mapping. This formulation coincides closely with that featured in the aforementioned work of Richie on reinforcement learning for optimal Tic-Tac-Toe play [ 6 ], and has similarities to subsequent ‘move selector’ representations which identify a preferred action based on the current game position using, for example, genetic programming [ 39 ], neural networks [ 37 , 38 ], or a game-specific mapping [ 40 , 41 ]. However, it stands distinct from ‘state evaluator’ representations which play by evaluating board positions, whether by recording evaluations for all possible positions [ 27 , 28 ], genetic programming [ 33 , 36 , 48 ], neural networks [ 29 , 32 , 34 , 35 ], or otherwise. As is typical for the uses of coevolution for gameplaying discussed in Section 1.1 , players receive a payoff depending only on whether the final outcome of the game was win or lose. Accordingly, let f G : X G × X G → { - 1 , 1 } be the payoff function for G , where f G ( x , y ) = 1 indicates that x wins against y and f G ( x , y ) = - 1 indicates that x loses against y (where x makes the first move). Precisely, if we recursively define for v ∈ V , f G v ( x , y ) = - f G x ( v ) ( y , x ) if v ∈ Int ( G ) , - 1 otherwise, then f G ( x , y ) = f G 0 ( x , y ) . It will also be convenient to define for x , y ∈ X G , Path G ( x , y ) = { v 0 , x ( v 0 ) , y ( x ( v 0 ) ) , x ( y ( x ( v 0 ) ) ) , … } . We will always assume that there is some x ∈ X G such that f G ( x , y ) = 1 for every y ∈ X G (i.e., that the first player has a winning strategy for G ). Indeed, if this is not the case, then the second player has a winning strategy, and so we can add a fictitious initial position v ∗ to G with F ( v ∗ ) = { v 0 } to obtain a game equally challenging as G but with a winning strategy for the first player. We thus define the set of optimal strategies for G to be Opt ( G ) = { x ∈ X G : f G ( x , y ) = 1 for every y ∈ X } , and remark that the above assumption implies that Opt ( G ) will always be non-empty. The Sprague-Grundy Function First introduced independently by Sprague [ 49 , 50 ] and Grundy [ 51 ], the Sprague-Grundy function of an impartial combinatorial game is a function mapping game positions onto non-negative integers, which contains information about the game’s strategic landscape and how optimal play is affected when building new games out of smaller ones [ 52 ]. Formally, given G = ( V , F , v 0 ) , the Sprague-Grundy function h : V → N 0 is defined recursively. First, all sink vertices are given the value 0. Then, once all out-neighbours of v have a value assigned, we define h ( v ) = mex { h ( w ) : w ∈ F ( v ) } , where mex S = min ( N 0 \ S ) denotes the smallest non-negative number not in a finite set S (the ‘minimum excluded integer’). We call h ( v ) the Grundy value of the position v . Given v ∈ V , if the current position is v then the player making the next move has a winning strategy if and only if h ( v ) ≠ 0 . Accordingly, if h ( v ) = 0 then the player making the next move will always lose against an opponent who plays optimally. Thus, victory can be assured for the player making the first move by always choosing to move to vertices in h - 1 ( { 0 } ) . Because this happens automatically whenever F ( v ) \ h - 1 ( { 0 } ) = ∅ , an optimal strategy can be guaranteed by learning optimal moves at a set W G (which we refer to as critical positions ) defined in the following way. Definition 2.1 Given an impartial combinatorial game G = ( V , F , v 0 ) , let W G = { v ∈ Int ( G ) : h ( v ) ≠ 0 and F ( v ) \ h - 1 ( { 0 } ) ≠ ∅ } , where h : V → N 0 is the Sprague-Grundy function for G . Because any strategy that makes a correct move at each critical position is automatically an optimal strategy, our proofs will essentially analyse how long it takes for a CoEA to learn the correct move at each v ∈ W G . The following lemma formalises the fact that optimal play is assured by learning correct moves at the critical positions in a more general form that will be useful to quote later. Lemma 2.2 Let h : V → N 0 denote the Sprague-Grundy function of a combinatorial game G . Let u 1 , … , u n be a reverse topological ordering for G . Then the following properties hold for every i ∈ [ n ] . A1 If h ( u i ) ≠ 0 and x ∈ X G satisfies h ( x ( v ) ) = 0 for every v ∈ W G ∩ { u 1 , … , u i } , then f G i ( x , y ) = 1 holds for every y ∈ X G . A2 If h ( u i ) = 0 and y ∈ X G satisfies h ( y ( v ) ) = 0 for every v ∈ W G ∩ { u 1 , … , u i } , then f G i ( x , y ) = - 1 holds for every x ∈ X G . In particular, with our assumption that the first player always has a winning strategy for G , if x ∈ X G satisfies h ( x ( v ) ) = 0 for every v ∈ W G , then x ∈ Opt ( G ) . Proof We prove that the conditions A1 and A2 always hold by induction on i . For the case i = 1 , note that we must have h ( u 1 ) = 0 (as u i ∉ Int ( G ) ) and f G 1 ( x , y ) = - 1 for any x , y ∈ X G . For the inductive stage, there are two cases to consider. First, if h ( u i ) = 0 and y ∈ X G satisfies h ( y ( v ) ) = 0 for every v ∈ W G ∩ { u 1 , … , u i } , then because mex { h ( w ) : w ∈ F ( u i ) } = 0 we must have h ( x ( u i ) ) ≠ 0 for any x ∈ X G , and hence f G i ( x , y ) = - f G x ( u i ) ( y , x ) = A 1 - 1 . On the other hand, if h ( u i ) ≠ 0 and x ∈ X G satisfies h ( x ( v ) ) = 0 for every v ∈ W G ∩ { u 1 , … , u i } , then in fact h ( x ( u i ) ) = 0 (for this holds by default if u i ∉ W G ), and so for any y ∈ X G , f G i ( x , y ) = - f G x ( u i ) ( y , x ) = A 2 1 , as required. □ Note that the final conclusion of Lemma 2.2 is a sufficient condition, but not a necessary condition, as demonstrated by Figure 1 . Fig. 1. Open in a new tab In the combinatorial game illustrated here, Sprague-Grundy values at each game position are shown in red. In this game, W G = { v 0 , b } . However, any strategy x with x ( v 0 ) = d is automatically optimal (the first player wins on their first turn), and so the condition of Lemma 2.2 is not a necessary one Algorithm Rather than storing a population as a set of points in the search space, as is the case for most EAs, an estimation of distribution algorithm (EDA) represents its population as a probability distribution over the search space [ 18 ]. Whereas most algorithms sample candidates for selection from their current population uniformly at random, an EDA instead samples from its probability distribution. After selection has been completed, the selected individuals are then used to update the probability distribution for the next generation. Much of the existing runtime analysis for EDAs (see [ 22 – 24 , 53 , 54 ]) has emphasised the benefit provided by a high level of diversity among generated search points. This is also the case in the recent first runtime analysis of a coevolutionary EDA [ 16 ], wherein the difficulty presented by locally intransitive payoff landscapes could be provably averted by evaluating strategies against a diverse set of opponents. As intransitivity is also apparent in impartial combinatorial games, a coevolutionary EDA is a good candidate for a first runtime analysis on this topic too. While highly sophisticated EDAs may account for correlations between sampled variables, the simplest EDAs operating over bitstrings are univariate , in the sense that they represent a distribution as a simple vector of uncorrelated ‘bit frequencies’ ( p 1 , … , p n ) ∈ [ 0 , 1 ] n . To generate a candidate x ∈ { 0 , 1 } n for selection, each bit x ( i ) is sampled independently according to a Bernoulli ( p i ) random variable. EDAs adopting this regime include cGA [ 55 ] and PBIL [ 56 ]. However, probably the most extensively studied univariate EDA is the Univariate Marginal Distribution Algorithm (UMDA) [ 57 , 58 ]. Given algorithmic parameters μ ⩽ λ , UMDA typically generates λ individuals in this way, retains the μ candidates with highest fitness, and for i ∈ [ n ] defines the next bit frequency p i to be equal to relative frequency of 1-bits among those fittest μ individuals. UMDA captures the defining mechanism of EDAs, yet its simplicity has enabled rigorous proofs of efficient runtime on classical benchmarks including LeadingOnes and OneMax (see, for example, [ 53 ]), making it an important algorithm for foundational analysis. See [ 19 ] for a general survey of theoretical analysis of UMDA and other EDAs. The algorithm we analyse is a coevolutionary variant of UMDA, in which 2 μ individuals are generated and paired off to play against each other, with the μ winners of those games being used to determine the frequencies for the next generation. While UMDA is commonly formulated with respect to bitstrings, our setting relies on a more general search domain. As outlined in Section 2 , for a parent set S , we are considering search domains of the form X = ∏ i ∈ I S i , where I is an indexing set and S i ⊆ S for each i ∈ I . Given a tuple p ∈ ∏ i ∈ I P ( S i ) , let Univ ( X , p ) denote the probability distribution over X such that if x ∼ Univ ( X , p ) then for any y ∈ X , P ( x = y ) = ∏ i ∈ I p ( i ) ( y i ) , so that the distribution of x is that of an independent univariate sampling for each i ∈ I . For notational convenience, given a tuple p ∈ ∏ i ∈ I P ( S i ) we will often write for i ∈ I and s ∈ S , p ( i , s ) = p ( i ) ( s ) if s ∈ S i , 0 otherwise. Our algorithm will represent its current population as an element p ∈ ∏ i ∈ I P ( S i ) , with individuals being generated according to Univ ( X , p ) . In the case where I = [ n ] and S i = { 0 , 1 } for each i ∈ [ n ] , we recover the standard framework for univariate EDAs operating over bitstrings. For these EDAs, the tuple p ∈ ∏ i ∈ [ n ] P ( { 0 , 1 } ) is often represented as a frequency vector ( p ( 1 ) , … , p ( n ) ) ∈ [ 0 , 1 ] n , where p ( i ) is the probability that x ∼ Univ ( { 0 , 1 } n , p ) has a 1-bit in position i . A common feature for EDAs operating over bitstrings is to constrain these frequencies to the interval [ γ , 1 - γ ] for some small γ at the end of each generation. For the general case, where we track a tuple p ∈ ∏ i ∈ I P ( S i ) , we need to constrain each p ( i ) ∈ P ( S i ) to the set P γ ( S i ) . To achieve this, we adopt the following minor variation of the multi-valued EDA framework proposed by Ben Jedidia, Doerr, and Krejca [ 59 ]. Given γ ∈ [ 0 , 1 | S | ) and p ∈ P ( S ) , let β γ + ( p ) = ∑ s ∈ S max { p ( s ) - γ , 0 } , β γ - ( p ) = ∑ s ∈ S max { γ - p ( s ) , 0 } . Let π γ S : P ( S ) → P γ ( S ) then be the function given by π γ S ( p ) ( s ) = γ if p ( s ) ⩽ γ , γ + 1 - β γ - ( p ) β γ + ( p ) ( p ( s ) - γ ) if p ( s ) ⩾ γ . For the case | S | = 2 the definition reduces to π γ S ( p ) ( s ) = min { max { p ( s ) , γ } , 1 - γ } , and so this model fits the usual method for constraining univariate EDAs over bitstrings. Despite some differences in notation, the function π γ S is nearly identical the restriction described in [ 59 ]. In the context of [ 59 , Section 4.2], our only modification is to forego an initial clamping of probabilities to the interval [ γ , 1 - ( | S | - 1 ) γ ] , as the upper border of 1 - ( | S | - 1 ) γ is already implied by the fact that the remaining steps produce an element of P γ ( S ) . Indeed, an actual difference between the two methods only arises for inputs p satisfying max s ∈ S p ( s ) > 1 - ( | S | - 1 ) γ , and even in such cases the difference is not significant. The fact that π γ S always outputs an element of P γ ( S ) is verified by B1 in the following lemma, which also establishes several further properties of π γ which will be useful for our later proofs. Lemma 3.1 Let β γ + , β γ - , and π γ S be as defined in Section 3 . Then, the following properties hold. B1 For any p ∈ P ( S ) , ∑ s ∈ S π γ S ( p ) ( s ) = 1 . B2 If p ( s ) ⩾ γ , then 1 - β γ - ( p ) 1 - γ | S | p ( s ) ⩽ π γ S ( p ) ( s ) ⩽ p ( s ) . B3 For any S i ⊆ S , p ∈ P ( S i ) and s ∈ S , π γ i ( p ) ( s ) ⩽ max { γ , p ( s ) } . B4 For any S i , A ⊆ S and p ∈ P ( S i ) , π γ i ( p ) ( A ) ⩽ p ( A ) + γ | S i | . Proof We first note that the definitions of β γ + and β γ - imply that for any γ ∈ [ 0 , 1 / | S | ) and p ∈ P ( S ) , β γ + ( p ) - β γ - ( p ) = ∑ s ∈ S ( max { p ( s ) - γ , 0 } - max { γ - p ( s ) , 0 } ) = ∑ s ∈ S ( max { p ( s ) - γ , 0 } + min { p ( s ) - γ , 0 } ) = ∑ s ∈ S ( p ( s ) - γ ) = 1 - γ | S | . 1 Because 1 - γ | S | > 0 it immediately follows from ( 1 ) that β γ - ( p ) < β γ + ( p ) . 2 With these observations, we are now ready to prove the desired properties. B1: If p ∈ P ( S ) , then setting S + = { s ∈ S : p ( s ) ⩾ γ } and S - = S \ S + we have ∑ s ∈ S π γ S ( p ) ( s ) = γ | S | + ∑ s ∈ S + 1 - β γ - ( p ) β γ + ( p ) ( p ( s ) - γ ) = γ | S | + β γ + ( p ) - β γ - ( p ) β γ + ( p ) β γ + ( p ) = ( 1 ) 1 . B2: If p ( s ) ⩾ γ , then by setting α = β γ - ( p ) / β γ + ( p ) , 1 - β γ - ( p ) 1 - γ | S | p ( s ) ⩽ ( 1 ) 1 - β γ - ( p ) β γ + ( p ) p ( s ) = ( 1 - α ) p ( s ) ⩽ ( 1 - α ) p ( s ) + α γ = γ + ( 1 - α ) ( p ( s ) - γ ) = π γ S ( p ) ( s ) = γ + 1 - β γ - ( p ) β γ + ( p ) ( p ( s ) - γ ) ⩽ ( 2 ) γ + ( p ( s ) - γ ) = p ( s ) , and so B2 holds. B3: If p ( s ) ⩽ γ then π γ i ( p ) ( s ) ⩽ γ = max { γ , p ( s ) } . On the hand, if p ( s ) ⩾ γ , then B2 implies that π γ i ( p ) ⩽ p ( s ) = max { γ , p ( s ) } . In either case, B3 holds. B4: We can compute π γ i ( p ) ( A ) = π γ i ( p ) ( A ∩ S i ) = ∑ s ∈ A ∩ S i π γ i ( p ) ( s ) ⩽ B 3 ∑ s ∈ A ∩ S i max { γ , p ( s ) } ⩽ ∑ s ∈ A ∩ S i ( p ( s ) + γ ) = p ( A ) + γ | A ∩ S i | ⩽ p ( A ) + γ | S i | , as required. □ A description of the version of UMDA we analyse is now provided by Algorithm 1, which effectively generalises the version appearing in [ 16 ] (which applied only to bitstrings and omitted the step involving π γ i ). Note that due to the use of π γ i in line 20 , we always have p t ∈ ∏ i ∈ I P γ ( S i ) . Algorithm 1. Open in a new tab UMDA with binary tournament selection A key step towards analysing the performance of Algorithm 1 on impartial combinatorial games is understanding the distribution of a selected individual P t + 1 ( j ) . This will be handled by the following lemma. Its conclusion gives an exact expression for how the probability a selected individual would choose to move from u to v compares to the probability a sampled individual would choose to move from u to v (where a selected individual is simply the winner of a game played between two independent sampled individuals). Lemma 3.2 Let G be an impartial combinatorial game, and let p ∈ ∏ v ∈ Int ( G ) P ( F ( v ) ) . Suppose that x , y ∼ Univ ( X G , p ) are independent, and z = x if f G ( x , y ) = 1 , y if f G ( x , y ) = - 1 . Then, for any u ∈ V and v ∈ F ( u ) , P ( z ( u ) = v ) = p ( u , v ) · [ 1 + P ( u ∈ Path G ( x , y ) ) · ( 1 - P ( f G v ( x , y ) = 1 ) - P ( f G u ( x , y ) = 1 ) ) ] . 3 For an intuition behind ( 3 ), the comparative factor has effectively three terms (here interpreted in the context of Algorithm 1): P ( u ∈ Path G ( x , y ) ) , the probability the algorithm encounters position u ; P ( f G u ( x , y ) = 1 ) , the probability that u is observed as a winning position; and 1 - P ( f G v ( x , y ) = 1 ) , the probability that v is observed as a losing position. If it is likely for v to be observed as a losing position, but unlikely for u to be observed as a winning position, then it is beneficial to deliberately move from u to v (placing your opponent in a likely losing position) rather than play out with whatever the current strategy is from u (where you are unlikely to win), thus incurring an increase in the prevalence of z ( u ) = v among selected individuals. On the other hand, if the reverse is true, then it is beneficial to deliberately avoid moving from u to v and instead play out normally, thus incurring a decrease in prevalence of z ( u ) = v . This helps motivate the effect of the term 1 - P ( f G v ( x , y ) = 1 ) - P ( f G u ( x , y ) = 1 ) . The magnitude of this effect scales with the relative frequency with which u is encountered as a game position, which corresponds to P ( u ∈ Path G ( x , y ) ) . Proof of Lemma 3.2 First, we will introduce some notation to assist with this proof. Let us write r = P ( u ∈ Path G ( x , y ) ) , s u = P ( f G u ( x , y ) = 1 ) , and s v = P ( f G v ( x , y ) = 1 ) . Let us also write A = { w ∈ V \ { u } : there is a directed path from w to u } , B = { w ∈ V \ { u } : there is a directed path from u to w } , and note that A , B , and { u } are pairwise disjoint sets. Finally, if we have Path ( x , y ) = v 0 v 1 … v ℓ when regarded as a directed path (where here and throughout we drop the subscript from Path G to simplify notation), then we will define Path 1 ( x , y ) = { v i : i is even } , Path 2 ( x , y ) = { v i : i is odd } . Note that because Path ( x , y ) is the disjoint union of Path 1 ( x , y ) and Path 2 ( x , y ) , we have r = P ( u ∈ Path 1 ( x , y ) ) + P ( u ∈ Path 2 ( x , y ) ) . 4 The event z ( u ) = v can be written as the disjoint union of the following six events. E 1 = u ∉ Path ( x , y ) ∧ f G ( x , y ) = 1 ∧ x ( u ) = v , E 2 = u ∉ Path ( x , y ) ∧ f G ( x , y ) = - 1 ∧ y ( u ) = v , E 3 = u ∈ Path 1 ( x , y ) ∧ x ( u ) = v ∧ f G v ( y , x ) = - 1 , E 4 = u ∈ Path 1 ( x , y ) ∧ f G u ( x , y ) = - 1 ∧ y ( u ) = v , E 5 = u ∈ Path 2 ( x , y ) ∧ y ( u ) = v ∧ f G v ( x , y ) = - 1 , E 6 = u ∈ Path 2 ( x , y ) ∧ f G u ( y , x ) = - 1 ∧ x ( u ) = v . Let us examine the probability of each of these events occurring. For E 1 , the event u ∉ Path ( x , y ) ∧ f G ( x , y ) = 1 can be determined using only ( x ( w ) ) w ≠ u and ( y ( w ) ) w ≠ u , and so is independent of the event x ( u ) = v . Similarly, in E 2 the event u ∉ Path ( x , y ) ∧ f G ( x , y ) = - 1 is independent of the event y ( u ) = v . Therefore, P ( E 1 ) + P ( E 2 ) = P ( u ∉ Path ( x , y ) ∧ f G ( x , y ) = 1 ) · p ( u , v ) + P ( u ∉ Path ( x , y ) ∧ f G ( x , y ) = - 1 ) · p ( u , v ) = P ( u ∉ Path ( x , y ) ) · p ( u , v ) = ( 1 - r ) · p ( u , v ) . 5 For E 3 , the event u ∈ Path 1 ( x , y ) can be determined using only ( x ( w ) ) w ∈ A and ( y ( w ) ) w ∈ A , and the event f G v ( x , y ) = 1 can be determined using only ( x ( w ) ) w ∈ B and ( y ( w ) ) w ∈ B . Therefore, all three component events in E 3 are independent of each other. The same is also true of E 5 . Therefore, noting that P ( f G v ( x , y ) = - 1 ) = P ( f G v ( y , x ) = - 1 ) , we can write P ( E 3 ) + P ( E 5 ) = P ( u ∈ Path 1 ( x , y ) ) · p ( u , v ) · P ( f G v ( y , x ) = - 1 ) + P ( u ∈ Path 2 ( x , y ) ) · p ( u , v ) · P ( f G v ( x , y ) = - 1 ) = ( P ( u ∈ Path 1 ( x , y ) ) + P ( u ∈ Path 2 ( x , y ) ) ) · p ( u , v ) · P ( f G v ( x , y ) = - 1 ) = ( 4 ) r · p ( u , v ) · ( 1 - s v ) . 6 For E 4 , the event u ∈ Path 1 ( x , y ) can be determined using only ( x ( w ) ) w ∈ A and ( y ( w ) ) w ∈ A , and the event f G u ( x , y ) = - 1 can be determined using only ( x ( w ) ) w ∈ { u } ∪ B and ( y ( w ) ) w ∈ B . Therefore, all three component events in E 4 are independent of each other. The same is also true of E 6 . Therefore, noting that P ( f G u ( x , y ) = - 1 ) = P ( f G u ( y , x ) = - 1 ) , we can write P ( E 4 ) + P ( E 6 ) = P ( u ∈ Path 1 ( x , y ) ) · P ( f G u ( x , y ) = - 1 ) · p ( u , v ) + P ( u ∈ Path 1 ( x , y ) ) · P ( f G u ( y , x ) = - 1 ) · p ( u , v ) = ( P ( u ∈ Path 1 ( x , y ) ) + P ( u ∈ Path 2 ( x , y ) ) ) · P ( f G u ( x , y ) = - 1 ) · p ( u , v ) = ( 4 ) r · ( 1 - s u ) · p ( u , v ) . 7 We can now combine these observations to obtain P ( z ( u ) = v ) = ∑ i ∈ [ 6 ] P ( E i ) = ( 5 ) , ( 6 ) , ( 7 ) ( 1 - r ) · p ( u , v ) + r · p ( u , v ) ( 1 - s v ) + r · ( 1 - s u ) p ( u , v ) = p ( u , v ) · [ 1 + r · ( 1 - s v - s u ) ] , as required. □ As an aside, we note here a parallel with evolutionary game theory. Consider the discrete time replicator equation with nonlinear payoff functions (see (2.1) of [ 60 ]; also [ 61 ] for the more standard continuous and linear versions), q i ′ = q i ( 1 + a i - ∑ j q j a j ) , 8 where we interpret q i as the proportion of type i in a population and a i as the fitness of a type i individual. The following proposition demonstrates that by identifying q i and a i appropriately, ( 3 ) can be seen to be of the form provided by ( 8 ). Proposition 3.3 In the setting of Lemma 3.2 , let u ∈ V be fixed and enumerate F ( u ) = { v 1 , … , v k } . Let us identify q i = p ( u , v i ) and a i = P ( u ∈ Path G ( x , y ) ) · ( 1 - P ( f G i ( x , y ) = 1 ) ) . Then ( 3 ) can be rewritten as q i ′ = q i ( 1 + a i - ∑ j ∈ [ k ] q j a j ) . Proof First, note the identity P ( f G u ( x , y ) = 1 ) = ∑ j ∈ [ k ] p ( u , v j ) · P ( f G j ( y , x ) = - 1 ) = ∑ j ∈ [ k ] q j · ( 1 - P ( f G j ( x , y ) = 1 ) ) . 9 Therefore, P ( z ( u ) = v i ) = ( 3 ) p ( u , v i ) · [ 1 + P ( u ∈ Path G ( x , y ) ) · ( 1 - P ( f G i ( x , y ) = 1 ) - P ( f G u ( x , y ) = 1 ) ) ] = q i · [ 1 + a i - P ( u ∈ Path G ( x , y ) ) · P ( f G u ( x , y ) = 1 ) ] = ( 9 ) q i · [ 1 + a i - P ( u ∈ Path G ( x , y ) ) · ∑ j ∈ [ k ] q j · ( 1 - P ( f G j ( x , y ) = 1 ) ) ] = q i ( 1 + a i - ∑ j ∈ [ k ] q j a j ) , as required. □ In this sense, when executing Algorithm 1 on a game G , the evolution of the distribution p ( u , · ) at each vertex u of G stochastically emulates these replicator dynamics. However, a key difference is that in standard evolutionary game theory, each fitness function a i : = a i ( q 1 , … , q k ) typically depends only on the distribution of types in the population; whereas the expression a i = P ( u ∈ Path G ( u , v i ) ) · ( 1 - P ( f G i ( x , y ) = 1 ) ) depends on the distribution of ‘types’ not just at the node u , but also at possibly all other nodes as well, and so the dynamics of each node cannot be considered in isolation. Switchability In Section 1 we noted that our main result implies a probabilistic upper bound of n O ( s ¯ ) on an impartial combinatorial game, where s ¯ is an (often small) invariant of the corresponding game graph. In this section, we define this invariant and prove a key lemma. Rather than defining this property, which we call switchability , for a game as a whole, we will actually define switchability as a property s ( u ) of each vertex u in the game’s vertex set V . Then later we will take s ¯ = max u ∈ V s ( u ) (see Corollary 5.5 ). One way to get a broad overview of switchability is to consider an external actor who spectates a play of the game between two players. As the game is being played, the spectator is allowed to make a limited number of modifications to the players’ moves, with the spectator’s goal being to redirect (or ‘switch’) the game to position u . s ( u ) records how many times the spectator may need to make such a modification in order to accomplish this goal. As an example, consider the game shown in Figure 2 . No matter what initial move is made by Player 1, the spectator can redirect the game to u by modifying Player 2’s subsequent move so that it follows one of the edges in A . As at most one modification is ever needed, we interpret u to have switchability s ( u ) = 1 in this case. Fig. 2. Open in a new tab An example of switchability More precisely, s ( u ) measures the ‘smallest’ possible set of edges A ⊆ E ( G ) such that any pair of strategies x , y ∈ X G satisfying A ⊆ { ( v , x ( v ) ) : v ∈ V } and A ⊆ { ( v , y ( v ) ) : v ∈ V } must also satisfy u ∈ Path G ( x , y ) . The motivation is that if x , y ∼ Univ ( X G , p ) for some p ∈ ∏ v ∈ Int ( G ) P γ ( F ( v ) ) , then u ∈ Path G ( x , y ) is assured by having x and y take appropriate values at the vertices appearing at the tail of some edge in A , which occurs with probability at least γ 2 s ( u ) . This places a lower bound on P ( u ∈ Path G ( x , y ) ) in a way will be useful as we seek to apply Lemma 3.2 later. In the description above, a naive approach would be to take ‘smallest’ to simply mean having fewest edges. However, while this gives a working definition, when then bounding P ( u ∈ Path G ( x , y ) ) below, it is clear that significant improvements can be made in many cases. Consider the example shown in Figure 2 . Our naive approach suggests that if x , y ∼ Univ ( X G , p ) for some p ∈ ∏ v ∈ Int ( G ) P γ ( F ( v ) ) , then P ( u ∈ Path G ( x , y ) ) ⩾ γ 10 . However, it would be better to observe that P ( u ∈ Path G ( x , y ) ) ⩾ γ , as visiting u can be assured a single choice to move to u made by the player who makes the first move after reaching the layer B (in this case, always the player y ). To better capture this notion, we will not take ‘smallest’ to mean fewest edges, but rather smallest depth, defined in the following way (we recall here that all graphs are assumed to be acyclic). Definition 4.1 Given a set of edges A ⊆ E ( G ) , we define the depth of A to be Depth ( A ) = max { | A ∩ E ( P ) | : P is a directed path in G } . With this, the full description of switchability is provided by the following two definitions. Definition 4.2 Given a set A ⊆ E ( G ) , we (inductively) say that a directed path P = v 0 … v ℓ is A-compatible if any of the following conditions hold. C1 P consists of a single vertex (that is, ℓ = 0 ). C2 v 0 … v ℓ - 1 is A -compatible and v ℓ - 1 v ℓ ∈ A . C3 v 0 … v ℓ - 1 is A -compatible and there is no w ∈ V such that v ℓ - 1 w ∈ A . Then, given a vertex v , we say that A is a v-switcher if v is contained in every A -compatible directed path v 0 … v ℓ with v ℓ ∉ Int ( G ) . Definition 4.3 The switchability s ( v ) of a vertex v is the smallest possible depth of a v -switcher. We will also write s ¯ = max v ∈ V s ( v ) . Thus, while the set A shown in Figure 2 has 5 edges, it has Depth ( A ) = 1 , and so in that case we have s ( u ) = 1 . Figure 3 shows two further illustrations of switchability. For certain games, constructing a small v -switcher is quite straightforward (see proof of Proposition 6.1 later); in other cases where determining switchability is not obvious, the following upper bound may be used instead. Fig. 3. Open in a new tab Two illustrations of switchability. In the first, s ( v ) = 1 , and a v -switcher of depth 1 is shown in blue. In the second, s ( v ) = 2 , a v -switcher of depth 2 is shown in blue, and one example of an A -compatible path is shown in red Proposition 4.4 If there is a directed path of length ℓ from v 0 to v , then s ( v ) ⩽ ℓ . Proof If P is a directed path from v 0 to v , then every E ( P )-compatible path v 0 … v ℓ with v ℓ ∉ Int ( G ) includes P as a prefix, and hence also includes v . Thus, E ( P ) is a v -switcher of depth ℓ . □ To complete this section, the required lower bound on P ( u ∈ Path G ( x , y ) ) is provided by the following lemma. Note that as well as improving the naive approach by using Depth ( A ) instead of | A |, we also deduce a result of γ s ( v ) instead of γ 2 s ( v ) by carefully accounting for the fact that at most one player can visit each possible game position (due to the previous assumption that the impartial combinatorial games considered are acyclic). Lemma 4.5 Suppose that p ∈ ∏ v ∈ Int ( G ) P γ ( F ( v ) ) and x , y ∼ Univ ( X G , p ) . Then for every v ∈ V , P ( v ∈ Path G ( x , y ) ) ⩾ γ s ( v ) . Proof The distribution of Path G ( x , y ) is the same as the random set P produced by the following process. Initially, set z 0 = v 0 . For i ⩾ 0 , do the following. If z i ∉ Int ( G ) , then set P = { z 0 , … , z i } . Otherwise if z i ∈ Int ( G ) , sample z i + 1 ∼ p ( z i ) . We will generate an instance of the above process in a very specific way using a collection of independent Unif ( [ 0 , 1 ] ) random variables. First, let A be a v -switcher of depth s ( v ), and let B = { u ∈ V : ( u , w ) ∈ A for some w ∈ F ( u ) } . Next, for each u ∈ V , let ϕ u : [ 0 , 1 ] → F ( u ) be any function satisfying the following properties. D1 If X ∼ Unif ( [ 0 , 1 ] ) , then P ( ϕ u ( X ) = w ) = p ( u , w ) for every u ∈ V . D2 If s ∈ [ 0 , γ ] and u ∈ B , then ( u , ϕ u ( s ) ) ∈ A . Note that this is possible because p ( u , w ) ⩾ γ holds for every u ∈ V and w ∈ F ( u ) . The modified process is then as follows. 0 Let X 1 , … , X n , Y 1 , … , Y n be independent Unif ( [ 0 , 1 ] ) random variables. 1 Initially, set z 0 = v 0 . 2 For i ⩾ 0 , do the following If z i ∉ Int ( G ) , then set Q = { z 0 , … , z i } . If z i ∈ B , then set r i = | { z 0 , … , z i } ∩ B | and z i + 1 = ϕ z i ( X r i ) . If z i ∈ Int ( G ) \ B , then set r i = | { z 0 , … , z i } \ B | and z i + 1 = ϕ z i ( Y r i ) . From D1 it follows that Q has the same distribution as P , and hence also as Path G ( x , y ) . We now claim that v ∈ Q whenever X 1 , … , X s ( v ) ∈ [ 0 , γ ] . The key observation is that under this regime, the first s ( v ) visits that Q makes to B must be followed by an edge in A . Let us label Q = z 0 z 1 … z ℓ . We will show by induction on i that z 0 … z i is A -compatible for every i ∈ [ ℓ ] , noting that the case i = 0 holds because z 0 = v 0 . For the inductive step, if z 0 … z i is A -compatible, then the only way for z 0 … z i + 1 to not be A -compatible is to have z i ∈ B and ( z i , z i + 1 ) ∉ A . But then, because the first s ( v ) visits that Q makes to B are followed by an edge in A , we can infer that z 0 … z i already includes at least s ( v ) edges in A . Letting w ∈ V be such that ( z i , w ) ∈ A , we then have that R : = z 0 … z i w is a directed path with | E ( R ) ∩ A | ⩾ s ( v ) + 1 , a contradiction to the depth of A . So in fact the inductive step holds, and z 0 … z i is A -compatible for every i . In particular, Q is A -compatible, and hence v ∈ Q . Thus, v ∈ Q whenever X 1 , … , X s ( v ) ∈ [ 0 , γ ] , and hence P ( v ∈ Path G ( x , y ) ) = P ( v ∈ Q ) ⩾ P ( X 1 , … , X s ( v ) ⩽ γ ) = γ s ( v ) , as required. □ Main Result In order to state runtime results, we adopt the standard black box convention where runtime is defined as the number of times a function is queried until the algorithm reaches the desired search objective (see [ 62 ]), as follows. Definition 5.1 Suppose that G is an impartial combinatorial game, and that A is an algorithm which makes τ queries of f G during each generation. Then, given a set B ⊆ X G , the runtime of A on f G is defined to be the random variable T A G ( B ) = τ · min { t : P t ∩ B ≠ ∅ } , where P t ⊆ X G is the population of A at the start of generation t . (If the game G is clear from context, we will write T A instead of T A G .) Our main result is now provided by Theorem 5.2 . In simple terms, it states that if Algorithm 1 is executed on an impartial combinatorial game G using a sufficiently large population size μ , then with high probability its runtime is at most O ( μ · r ( G ) ) , where r ( G ) is a formula of the game graph expressed in terms of its number of vertices n , maximum degree Δ , and a summation involving the switchability s ( v ) (Definition 4.3 ) at each critical position v ∈ W G (Definition 2.1 ). Notably, r ( G ) is increasing in each of n , Δ , and s ( v ), a fact that fits natural intuition about features of games that are difficult to optimise: when n is large, there are more game positions to learn; when Δ is large, there are more options to choose from at each game position, and discovering a correct one through chance may be small; when s ( v ) is large the game is less likely to encounter v by chance, even if an optimal move at v is needed for optimal play. We remark that the exact parameter settings for Algorithm 1 appearing in the statement have not been chosen to guarantee an optimal runtime, but rather to make the proof more comprehensible. Additionally, the given value for C has not been precisely optimised and is likely to be far from best possible. Theorem 5.2 Set C = 4000 ( 1 + log 20 log 3 ) . Let G be an n -vertex impartial combinatorial game with maximum degree Δ , and let s ^ = max v ∈ W G s ( v ) . Let K > 0 , and let A be described by Algorithm 1, where γ = 1 / ( 20 Δ n ) and μ ⩾ C ( K + s ^ + 1 ) ( 20 Δ n ) 1 + 2 s ^ log n . 10 Then, P [ T A G ( Opt ( G ) ) ⩾ C μ ∑ v ∈ W G ( 20 Δ n ) s ( v ) log n ] ⩽ n - K . The asymptotic behaviour of the runtime bound may not be immediately obvious from the form stated here. Accordingly, we will shortly provide an easier to digest corollary using the facts s ( v ) ⩽ s ^ ⩽ max v ∈ V s ( v ) and | W G | ⩽ n to remove the role of W G and the corresponding summation. For many games (including the applications considered later), this simplified bound has the same asymptotic behaviour as the one provided by Theorem 5.2 . Nonetheless, as it is possible to construct games for which Theorem 5.2 offers significant improvement of the simplified bound, we opt to retain the more general form above. We will now briefly provide a sketch for the proof of Theorem 5.2 . As characterised by Lemma 2.2 , we know that any strategy x ∈ X G that makes the correct decision at every critical position v ∈ W G is an element of Opt ( G ) (where here, making a correct decision means ensuring x ( v ) has a Sprague-Grundy value of 0). Thus, we consider the sequence p 0 , p 1 , … appearing in Algorithm 1, and estimate the time until the algorithm arrives at some p such that, with high probability, an x ∼ Univ ( X G , p t ) makes the correct decision at every critical position. The progress to arrive at such a p is effectively broken down into | W G | steps: fixing an ordering u 1 , … , u n of V such that F ( u i ) ⊆ { u 1 , … , u i - 1 } for every i ∈ [ n ] (a reverse topological ordering), step k finishes when, with high probability, an x ∼ Univ ( X G , p t ) makes the correct decision at the first k critical positions appearing in the ordering. Bounding the length of time to complete step k is accomplished by combining Lemmas 2.2 , 3.2 , and 4.5 to show that if sampled individuals are usually making the correct decision at the first k critical positions in the ordering, then the algorithm has a bias towards retaining individuals who also make the correct decision at the next critical position in the ordering. Note that this step-by-step process does not appear explicitly in the proof, but is implicit from the definition of a function g ^ measuring progress towards the optimality condition (see ( 16 )). g ^ essentially plays the same role as a so-called drift function [ 25 ] used in prior runtime analysis of this CoEA [ 16 ] and non-coevolutionary EDAs (e.g., [ 20 – 24 ]); however, as the relevant drift towards optimality is only provably present with a population size large enough to ensure positive progress at each step with high probability, we opt to use a simple union bound instead of applying a drift theorem. Before proceeding to the proof of Theorem 5.2 , let us introduce some further notation that will be used in the remainder of this section. Given a set V ′ ⊆ V we will write p t ( u , V ′ ) = ∑ v ∈ V ′ p ( u , v ) . Recalling that Algorithm 1 ensures that p t ∈ ∏ v ∈ Int ( G ) P γ ( F ( v ) ) at every step, we will write Q = ∏ v ∈ Int ( G ) P γ ( F ( v ) ) . Let h : V → N 0 denote the Sprague-Grundy function, and let V 0 = h - 1 ( { 0 } ) and V 1 = V \ V 0 . Rather than prove Theorem 5.2 directly, we will first prove a stepping stone lemma which isolates the main technical argument. Lemma 5.3 is stated with respect to a subset U ⊆ W G of the critical positions of G . The lemma proves that by the τ th generation (where τ is given explicitly in terms of U and γ ), sequence ( p t ) t = 0 ∞ produced by UMDA will reach a region A ⊆ Q , such that individuals x ∼ Univ ( X G , p ) for p ∈ A are likely to play optimally at all critical positions in U . Moreover, the lemma bounds the probability that sequence ( p t ) t = 0 ∞ remains in this region for ℓ subsequent generations, where ℓ can be chosen as desired. Theorem 5.2 will later follow straightforwardly from the case U = W G in Lemma 5.3 , however the added technicality in Lemma 5.3 will later be useful for proving a stronger result for a specific combinatorial game (see Section 7.1 ). Despite this added technicality, the underlying proof of Lemma 5.3 reflects the proof sketch for Theorem 5.2 provided above. Lemma 5.3 Let G be an n -vertex impartial combinatorial game where n ⩾ 3 . Suppose that U ⊆ W G has the property that if v ∈ U and w ∈ W G \ U then there is no directed path from v to w in G . Let us also write A = { p ∈ Q : p ( v , V 1 ) ⩽ 1 10 | U | for all v ∈ U } . 11 Let s ^ = max u ∈ U s ( u ) and Δ ^ = max v ∈ U | F ( u ) | . Let K > 0 be arbitrary and let A be described by Algorithm 1 where 1 20 n 2 ⩽ γ ⩽ 1 20 Δ ^ max { | U | , 3 } , 12 μ ⩾ 160 1 + log 20 log n ( K + 2 s ^ + 4 ) γ - ( 1 + 2 s ^ ) log n . 13 Then for τ = ⌊ 30 ∑ v ∈ U γ - s ( v ) log ( 1 / γ ) ⌋ and any ℓ ⩾ 0 it holds that P ( p τ , p τ + 1 , … , p τ + ℓ ∈ A ) ⩾ 1 - ( 1 + ℓ ) n - K . Proof First note quickly that, using that log ( 20 n 2 ) ⩽ 2 n when n ⩾ 3 , τ ⩽ 12 30 n · 1 20 n 2 - s ^ log ( 20 n 2 ) ⩽ 60 n 2 ( 20 n 2 ) s ^ ⩽ ( 20 n ) 2 s ^ + 2 . 14 By starting with a reverse topological ordering of the set of vertices in V that can be reached via a directed path from some element of U , and then appending a reverse topological ordering of the remaining vertices in V , we can obtain a reverse topological ordering u 1 , … , u n for G which, due to the fact that there is no directed path from any v ∈ U to any w ∈ W G \ U , has the added property that if u i ∈ U then W G ∩ { u 1 , … , u i - 1 } = U ∩ { u 1 , … , u i - 1 } . 15 Let us write A i for the set of p ∈ Q such that p ( u , V 1 ) ⩽ 1 10 | U | for all u ∈ U ∩ { u 1 , … , u i } , and note that A n = A . We will define a map g ^ : Q → R ⩾ 0 that will measure progress towards A n . To do this, first let g : [ γ , 1 - γ ] → R ⩾ 0 be given by g ( y ) = log y 1 - y - log γ 1 - γ , so that g is a monotone increasing function (further simple properties of g that will be useful to quote are provided by Lemma A.3 in Appendix A). Then, given p ∈ Q , let ℓ ( p ) = max { i ∈ [ n ] : p ∈ A i } and define 16 Define also g max = max p ∈ Q g ^ ( p ) . Note that we always have u ℓ ( p ) + 1 ∈ U whenever ℓ ( p ) < n . Note also that p ∈ A if and only if g ^ ( p ) = g max , and also that (using Lemma A.3 ) we can bound g max = ∑ v ∈ U g ( 1 - γ ) · 14 γ s ( v ) + 1 ⩽ F 3 ∑ v ∈ U 29 γ - s ( v ) log ( 1 / γ ) + 1 ⩽ τ . 17 The motivation for the function g ^ : Q → R ⩾ 0 is that the value of g ^ ( p t ) increases as p t moves through Q towards A n . Indeed, the first term of ( 16 ) is a summation depending on ℓ ( p ) only; its role ensures that g ( p ) ⩾ g ( p ′ ) whenever p ∈ A i and p ′ ∉ A i , and hence g ^ increases true to the sequence A 0 ⊇ A 1 ⊇ … ⊇ A n . The second term measures progress within some A i as we move towards A i + 1 (it increases as the value of p t ( u i , V 1 ) decreases toward 1 10 | U | ). Denote X t ( i ) = g ( p t ( u i , V 0 ) ) . We will later show the following two claims, where the second is a direct consequence of the first. Claim 5.4 If p t ∈ A i - 1 and u i ∈ U , then P ( X t + 1 ( i ) ⩽ min { g ( 1 - 1 10 | U | ) , X t ( i ) + γ s ( u i ) / 14 } ) ⩽ ( 20 n ) - K - 2 s ^ - 3 . If the event g ^ ( p t + 1 ) < min { g ^ ( p t ) + 1 , g max } occurs, then either (i) ℓ ( p t + 1 ) < ℓ ( p t ) , or (ii) ℓ ( p t + 1 ) = ℓ ( p t ) < n and g ( p t + 1 ( u ℓ + 1 , V 0 ) ) < g ( p t ( u ℓ + 1 , V 0 ) ) + 14 γ s ( u ℓ + 1 ) , where ℓ : = ℓ ( p t ) = ℓ ( p t + 1 ) . In the case of (i), there must exist some i ∈ [ ℓ ( p ) ] with u i ∈ U such that X t ( i ) ⩾ g ( 1 - 1 10 | U | ) and X t + 1 ( i ) < g ( 1 - 1 10 | U | ) (and also p t ∈ A ℓ ( p ) ⊆ A i - 1 ). In the case of (ii), we have X t + 1 ( ℓ + 1 ) < X t ( ℓ + 1 ) + γ s ( u ℓ + 1 ) / 14 (and also u ℓ + 1 ∈ U and X t ( ℓ + 1 ) < g ( 1 - 1 10 | U | ) ). In either case, the event g ^ ( p t + 1 ) < min { g ^ ( p t ) + 1 , g max } implies that X t + 1 ( i ) ⩽ min { g ( 1 - 1 10 | U | ) , X t ( i ) + γ s ( u i ) / 14 } occurs for some i ∈ [ n ] with p t ∈ A i - 1 and u i ∈ U . Therefore, taking a union bound with Claim 5.4 implies that P ( g ^ ( p t + 1 ) < min { g ^ ( p t ) + 1 , g max } ) ⩽ ( 20 n ) - K - 2 s ^ - 2 . 18 Next, we can bound P ( p τ , p τ + 1 , … , p τ + ℓ ∈ A ) = P ( ∧ t = τ τ + ℓ ( g ^ ( p t ) ⩾ g max ) 19 = 17 P ( ∧ t = τ τ + ℓ ( g ^ ( p t ) ⩾ min { t , g max } ) ) ⩾ P ( ∧ t = 0 τ + ℓ ( g ^ ( p t ) ⩾ min { t , g max } ) ) . 20 However, if the event ∧ t = 0 τ + ℓ ( g ^ ( p t ) ⩾ min { t , g max } ) does not occur, then there must exist some t < τ + ℓ such that g ^ ( p t + 1 ) < min { g ^ ( p t ) + 1 , g max } . Therefore, P ( p τ , p τ + 1 , … , p τ + ℓ ∈ A ) ⩾ ( 20 ) 1 - P ( ∨ t < τ + ℓ ( g ^ ( p t + 1 ) < min { g ^ ( p t ) + 1 , g max } ) ) ⩾ 1 - ∑ t < τ + ℓ P ( g ^ ( p t + 1 ) < min { g ^ ( p t ) + 1 , g max } ) ⩾ ( 18 ) 1 - ( τ + ℓ ) ( 20 n ) - K - 2 s ^ - 2 ⩾ ( 14 ) 1 - ( 1 + ℓ ) n - K , as required. All that remains now is to prove Claim 5.4 . Proof of Claim 5.4 Assume x , y ∼ Univ ( X G , p t ) are independent. To assist with this claim, we will introduce some further notation. Let r = P ( u i ∈ Path G ( x , y ) ) , and note that from Lemma 4.5 we have r ⩾ γ s ( u i ) . 21 Given w ∈ V , let us write N w as a shorthand for the event f G w ( x , y ) = 1 , and note that because x and y are independent and identically distributed, P ( N w ) = P ( f G w ( x , y ) = 1 ) = P ( f G w ( y , x ) = 1 ) . 22 Finally, let us also write F 0 = F ( u i ) ∩ V 0 and F 1 = F ( u i ) ∩ V 1 . Given v ∈ V , we wish to consider P ( z ( u i ) = v ) , where z is the winner of the game G played between x and y (as in Lemma 3.2 ). This will be useful, as the individuals P t + 1 ( 1 ) , … , P t + 1 ( μ ) selected in lines 7 - 14 of Algorithm 1 are independent and with the same distribution as z , and hence for every v ∈ V , μ · q t + 1 ( u i , v ) ∼ Bin ( μ , P ( z ( u i ) = v ) ) . 23 To analyse P ( z ( u i ) = v ) , first note that we have 1 - P ( N u i ) = P ( f G i ( x , y ) = - 1 ) = ∑ w ∈ F ( u i ) p t ( u i , w ) P ( f G w ( y , x ) = 1 ) = ( 22 ) ∑ w ∈ F ( u i ) p t ( u i , w ) P ( N w ) . 24 Therefore, applying Lemma 3.2 with u = u i , P ( z ( u i ) = v ) = ( 3 ) p t ( u i , v ) · [ 1 + r · ( 1 - P ( N v ) - P ( N u i ) ) ] = ( 24 ) p t ( u i , v ) · [ 1 + r · ( - P ( N v ) + ∑ w ∈ F ( u i ) p t ( u i , w ) P ( N w ) ) ] = p t ( u i , v ) · [ 1 + r · ( - P ( N v ) + ∑ w ∈ F 0 p t ( u i , w ) P ( N w ) + ∑ w ∈ F 1 p t ( u i , w ) P ( N w ) ) ] . 25 In particular, we also have P ( z ( u i ) = v ) ⩾ ( 25 ) p ( u i , v ) · [ 1 - r ] . 26 Next, we would like to place some simple bounds on P ( N w ) for w ∈ F 0 ∪ F 1 . If w ∈ { u 1 , … , u i - 1 } satisfies h ( w ) ≠ 0 , then because p t ∈ A i - 1 implies that p t ( v , V 1 ) ⩽ 1 10 | U | for all v ∈ U ∩ { u 1 , … , u i - 1 } , we have P ( N w ) = P ( f G w ( x , y ) = 1 ) ⩾ Lemma 2.2 P ( h ( x ( v ) ) = 0 for all v ∈ W G ∩ { u 1 , … , u i - 1 } ) = 15 P ( h ( x ( v ) ) = 0 for all v ∈ U ∩ { u 1 , … , u i - 1 } ) = ∏ v ∈ U ∩ { u 1 , … , u i - 1 } p t ( v , V 0 ) = ∏ v ∈ U ∩ { u 1 , … , u i - 1 } ( 1 - p t ( v , V 1 ) ) ⩾ ( 1 - 1 10 | U | ) | U | ⩾ 9 10 . On the other hand, if w ∈ { u 1 , … , u i - 1 } satisfies h ( w ) = 0 , then by using the fact that p t ∈ A i - 1 , 1 - P ( N w ) = P ( f G w ( x , y ) = - 1 ) ⩾ Lemma 2.2 P ( h ( y ( v ) ) = 0 for all v ∈ W G ∩ { u 1 , … , u i - 1 } ) ⩾ 9 10 . In summary, we have P ( N w ) ⩽ 1 10 whenever w ∈ F 0 , 27 P ( N w ) ⩾ 9 10 whenever w ∈ F 1 . 28 Later, we will apply Corollary A.2 to establish that certain events occur with very low probability. A straightforward numerical manipulation we will use after each application is that for every v ∈ F ( u i ) , because p t ( u i , v ) ⩾ γ , exp - r 2 μ p t ( u i , v ) / 16 8 ( 1 + r / 4 ) ⩽ ( 21 ) exp - γ 2 s ( u i ) + 1 μ 128 ( 5 / 4 ) ⩽ exp - γ 2 s ^ + 1 μ 160 ⩽ ( 13 ) exp - 1 + log 20 log n ( K + 2 s ^ + 4 ) log n = ( 20 n ) - K - 2 s ^ - 4 . 29 We now complete the proof of the claim by dividing into two cases. Note that the properties E1-E3 and F1-F2 quoted hereafter are from the results of Appendix A. We will also prove the slightly stronger result that P ( X t + 1 ( i ) ⩽ min { g ( 1 - 2 Δ ^ γ ) , X t ( i ) + γ s ( u i ) / 14 } ) ⩽ ( 20 n ) - K - 2 s ^ - 3 , however this implies the desired claim as g ( 1 - 1 10 | U | ) ⩽ g ( 1 - 1 10 max { | U | , 3 } ) ⩽ ( 12 ) g ( 1 - 2 Δ ^ γ ) . Case 1: p t ( u i , F 1 ) ⩽ 1 2 . If v ∈ F 1 , then P ( z ( u i ) = v ) ⩽ ( 29 ) , ( 27 ) , ( 28 ) p t ( u i , v ) · [ 1 + r · ( - 9 10 + 1 10 p t ( u i , F 0 ) + p t ( u i , F 1 ) ) ] ⩽ p t ( u i , v ) · [ 1 - r · ( - 9 10 + 1 10 + 1 2 ) ] ⩽ p t ( u i , v ) · [ 1 - 1 4 r ] . 30 By using ( 23 ) and ( 30 ) to apply E2 with α = r / 4 , it holds for any fixed v ∈ F 1 that P ( q t + 1 ( u i , v ) > ( 1 - r / 8 ) p t ( u i , v ) ) ⩽ exp - r 2 μ p t ( u i , v ) / 16 8 ( 1 + r / 4 ) ⩽ ( 29 ) ( 20 n ) - K - 2 s ^ - 4 . Therefore, by taking a union bound over F 1 , it occurs with probability at least 1 - ( 20 n ) - K - 2 s ^ - 3 that q t + 1 ( u i , v ) ⩽ ( 1 - r / 8 ) p t ( u i , v ) for every v ∈ F 1 , 31 and so we proceed under the assumption that this occurs. Note that this automatically gives us for any v ∈ F 1 that p t + 1 ( u i , v ) = π γ F ( u i ) ( q t + 1 ( u i , · ) ) ( v ) ⩽ B 3 max { γ , q t + 1 ( u i , v ) } ⩽ ( 31 ) max { γ , p t ( u i , v ) } = p t ( u i , v ) . 32 So if p t ( u i , F 1 ) ⩽ 2 Δ ^ γ then p t + 1 ( u i , F 1 ) ⩽ 2 Δ ^ γ and hence X t + 1 ( i ) = g ( p t + 1 ( u i , V 0 ) ) = g ( p t + 1 ( u i , F 0 ) ) = g ( 1 - p t + 1 ( u i , F 1 ) ) ⩾ g ( 1 - 2 Δ ^ γ ) . On the other hand, if p t ( u i , F 1 ) ⩾ 2 Δ ^ γ then there is some v ∈ F 1 such that p t ( u i , v ) ⩾ 1 | F 1 | p t ( u i , F 1 ) ⩾ 1 Δ ^ p t ( u i , F 1 ) ⩾ 2 γ , and hence p t + 1 ( u i , F 1 ) = p t + 1 ( u i , v ) + p t + 1 ( u i , F 1 \ { v } ) ⩽ B 3 max { γ , q t + 1 ( u i , v ) } + p t + 1 ( u i , F 1 \ { v } ) ⩽ ( 31 ) , ( 32 ) max { γ , ( 1 - r / 8 ) p t ( u i , v ) } + p t ( u i , F 1 \ { v } ) = ( 1 - r / 8 ) p t ( u i , v ) + p t ( u i , F 1 \ { v } ) = p t ( u i , F 1 ) - ( r / 8 ) p t ( u i , v ) ⩽ ( 21 ) ( 1 - γ s ( u i ) / 8 ) p t ( u i , F 1 ) . 33 In particular, this would then imply that X t + 1 ( i ) = g ( p t + 1 ( u i , V 0 ) ) = g ( 1 - p t + 1 ( u i , V 1 ) ) ⩾ ( 33 ) g ( 1 - ( 1 - ( γ s ( u i ) / 8 ) ) p t ( u i , V 1 ) ) ⩾ F 2 g ( 1 - p t ( u i , V 1 ) ) + γ s ( u i ) 8 - 1 2 γ s ( u i ) 8 2 ⩾ g ( 1 - p t ( u i , V 1 ) ) + 1 8 - 1 128 γ s ( u i ) ⩾ X t ( i ) + γ s ( u i ) 14 . Combining the cases p t ( u i , F 1 ) ⩽ 2 Δ ^ γ and p t ( u i , F 1 ) ⩾ 2 Δ ^ γ shows that the event X t + 1 ( i ) ⩾ min { g ( 1 - 2 Δ ^ γ ) , X t ( i ) + γ s ( u i ) / 14 } holds with probability at least 1 - ( 20 n ) - K - 2 s ^ - 3 . Case 2: p t ( u i , F 1 ) ⩾ 1 2 . If v ∈ F 0 , then P ( z ( u i ) = v ) ⩾ ( 25 ) , ( 27 ) , ( 28 ) p t ( u i , v ) · [ 1 + r · ( - 1 10 + 9 10 p t ( u i , F 1 ) ) ] ⩾ p t ( u i , v ) · [ 1 + 1 4 r ] . 34 By using ( 23 ) and ( 34 ) to apply E1 with α = r / 4 , it holds for every v ∈ F 0 that P ( q t + 1 ( u i , v ) < ( 1 + r / 8 ) p t ( u i , v ) ) ⩽ exp - r 2 μ p t ( u i , v ) / 16 8 ( 1 + r / 4 ) ⩽ ( 29 ) ( 20 n ) - K - 2 s ^ - 4 . By using ( 23 ) and ( 26 ) to apply E3 with α = r , it holds for every v ∈ F ( u i ) that P ( q t + 1 ( u i , v ) < ( 1 - 2 r ) p t ( u i , v ) ) ⩽ exp - r 2 μ p t ( u i , v ) / 16 8 ( 1 + r / 4 ) ⩽ ( 29 ) ( 20 n ) - K - 2 s ^ - 4 . Therefore, by taking a union bound over F 0 and also F ( u i ) , it occurs with probability at least 1 - ( 20 n ) - K - 2 s ^ - 3 that q t + 1 ( u i , v ) ⩾ ( 1 + r / 8 ) p t ( u i , v ) for every v ∈ F 0 , 35 q t + 1 ( u i , v ) ⩾ ( 1 - 2 r ) p t ( u i , v ) for every v ∈ F ( u i ) , 36 and so we proceed under the assumption that this occurs. Using the fact that Δ ^ γ ⩽ ( 12 ) 1 20 max { | U | , 3 } ⩽ 1 60 , 37 we can now bound β γ - ( q t + 1 ( u i , · ) ) above as β γ - ( q t + 1 ( u i , · ) ) = ∑ v ∈ F ( u i ) max { γ - q t + 1 ( u i , v ) , 0 } ⩽ ( 36 ) ∑ v ∈ F ( u i ) max { γ - ( 1 - 2 r ) γ , 0 } ⩽ ∑ v ∈ F ( u i ) 2 r γ ⩽ 2 Δ ^ r γ ⩽ ( 37 ) r 30 = 2 r 59 · ( 1 - 1 60 ) ⩽ ( 37 ) 2 r 59 · ( 1 - γ Δ ^ ) . 38 Hence, using that q t + 1 ( u i , v ) ⩾ γ for every v ∈ F 0 , p t + 1 ( u i , F 0 ) = π γ F ( u i ) ( q t + 1 ( u i , · ) ) ( F 0 ) ⩾ B 2 1 - β γ - ( q t + 1 ( u i , · ) ) 1 - γ | F ( u i ) | q t + 1 ( u i , F 0 ) ⩾ 1 - β γ - ( q t + 1 ( u i , · ) ) 1 - γ Δ ^ q t + 1 ( u i , F 0 ) ⩾ ( 38 ) , ( 35 ) ( 1 - 2 r / 59 ) ( 1 + r / 8 ) p t ( u i , F 0 ) ⩾ ( 1 + r / 12 ) p t ( u i , F 0 ) ⩾ ( 21 ) ( 1 + γ s ( u i ) / 12 ) p t ( u i , F 0 ) . 39 This would then imply that X t + 1 ( i ) = g ( p t + 1 ( u i , F 0 ) ) ⩾ ( 39 ) g ( ( 1 + γ s ( u i ) / 12 ) p t ( u i , F 0 ) ) ⩾ F 1 g ( p t ( u i , F 0 ) ) + γ s ( u i ) 12 - 1 2 γ s ( u i ) 12 2 ⩾ g ( p t ( u i , F 0 ) ) + 1 12 - 1 288 γ s ( u i ) = X t ( i ) + γ s ( u i ) 14 . Thus, the event X t + 1 ( i ) ⩾ min { g ( 1 - 2 Δ ^ γ ) , X t ( i ) + γ s ( u i ) / 14 } holds with probability at least 1 - ( 20 n ) - K - 2 s ^ - 3 . □ It is now straightforward to deduce our main result from Lemma 5.3 . Proof of Theorem 5.2 Note first that we may assume that n ⩾ 3 , as any impartial combinatorial game G with n < 3 satisfies Opt ( G ) = X G (such games satisfy Δ ⩽ 1 , and so in fact X G = 1 in these cases). Let us write A for the set of p ∈ Q such that p ( v , V 1 ) ⩽ 1 10 | W G | for all v ∈ W G (i.e., as defined in ( 11 ) when U = W G ). If p t ∈ A for some generation t , then we have for every v ∈ W G , q t ( v ) ( V 0 ) ⩾ B 4 π γ F ( v ) ( q t ( v ) ) ( V 0 ) - γ | F ( v ) | = p t ( v , V 0 ) - γ | F ( v ) | ⩾ 1 - 1 10 n - γ Δ > 1 - 1 5 n . 40 Recalling from Lemma 2.2 that if x ∈ X G \ Opt ( G ) then x ( v ) ∈ V 1 for some v ∈ W G , we can deduce further that if p t ∈ A then | { j ∈ [ μ ] : P t ( j ) ∉ Opt ( G ) } | ⩽ ∑ v ∈ W G | { j ∈ [ μ ] : P t ( j ) ( v ) ∈ V 1 } | = ∑ v ∈ W G μ · q t ( v ) ( V 1 ) = ∑ v ∈ W G μ · ( 1 - q t ( v ) ( V 0 ) ) < ( 40 ) | W G | μ 5 n ⩽ μ 5 < μ , and hence P t ∩ Opt ( G ) ≠ ∅ . In particular, if T ∗ = min { t : p t ∈ A } then T A G ( Opt ( G ) ) ⩽ μ · T ∗ . 41 Set γ = 1 20 Δ n so that ( 12 ) holds for U = W G . Let C = 5 · 800 ( 1 + log 20 log 3 ) so that C ( K + s ^ + 1 ) ⩾ 160 1 + log 20 log n ( K + 2 s ^ + 5 ) , 42 τ : = ⌊ 30 ∑ v ∈ W G ( 20 Δ n ) s ( v ) log ( 20 Δ n ) ⌋ < C ∑ v ∈ W G ( 20 Δ n ) s ( v ) log n , 43 holds for all n ⩾ 3 , 1 ⩽ Δ ⩽ n , and s ^ , K > 0 . If μ ⩾ C ( K + s ^ + 1 ) ( 20 Δ n ) 1 + s ^ log n then ( 42 ) implies that ( 13 ) holds in addition to ( 12 ), and so taking U = W G and ℓ = 0 in Lemma 5.3 yields P ( p τ ∈ A ) ⩾ 1 - n - ( K + 1 ) ⩾ 1 - n - K . 44 Therefore, P [ T A G ( Opt ( G ) ) ⩾ C μ ∑ v ∈ W G ( 20 Δ n ) s ( v ) log n ] ⩽ ( 41 ) P [ T ∗ ⩾ C ∑ v ∈ W G ( 20 Δ n ) s ( v ) log n ] ⩽ ( 43 ) P T ∗ > τ ⩽ P ( p τ ∉ A ) ⩽ ( 44 ) n - K , as required. □ For many applications, rather than applying Theorem 5.2 directly it will be convenient to use the following corollary. Corollary 5.5 Set C = 4000 ( 1 + log 20 log 3 ) . Let G be an impartial combinatorial game with maximum degree Δ , and let s ¯ = max v ∈ V s ( v ) . Let K > 0 , and assume A uses parameters γ = 1 / ( 20 Δ n ) and μ = C ( K + s ¯ + 1 ) ( 20 Δ n ) 1 + 2 s ¯ log n . Then, P [ T A G ( Opt ( G ) ) ⩾ C 2 ( K + s ¯ + 1 ) ( 20 Δ n ) 2 + 3 s ¯ log 2 n ] ⩽ n - K . Proof By noting that s ^ = max v ∈ W G s ( v ) ⩽ max v ∈ V s ( v ) = s ¯ , and ∑ v ∈ W G ( 20 Δ n ) s ( v ) ⩽ ∑ v ∈ V ( 20 Δ n ) s ( v ) ⩽ ∑ v ∈ V ( 20 Δ n ) s ¯ = n · ( 20 Δ n ) s ¯ ⩽ ( 20 Δ n ) s ¯ + 1 , this is an immediate consequence of Theorem 5.2 . □ Applications In this section we will apply Theorem 5.2 to obtain several runtimes for Algorithm 1 on a number of well-established combinatorial games. Throughout, we state runtimes in terms of n , the number of possible game positions, and always assume that A is described by Algorithm 1. All described games are played under the normal play convention (that a player unable to move loses), as established in Section 2 . Subtraction Nim Nim is a strategic game in which players take turns removing items from distinct heaps. Variants have been played across cultures since ancient history [ 63 , 64 ], and it was also the game of choice for some of the earliest machines and computers dedicated to game playing [ 65 – 67 ]. Nim is also perhaps the most important impartial combinatorial game from a mathematical perspective, with the Sprague-Grundy theorem establishing that, for a particular formulation of equivalence which characterises strategic continuation, every position in any impartial combinatorial game is equivalent to some position of a one-heap game of Nim [ 68 ]. While the version central to combinatorial game theory typically allows players to remove any positive number of items on their turn, here we consider the well-known one-heap variant in which there is an upper limit on the number of items that can be taken at once (see, for example, [ 52 ]). Given parameters n and k , S U B T R A C T I O N N I M n k begins with an initial heap of ( n - 1 ) items, and on each turn a player may remove between 1 and k items from the heap. The game graph for S U B T R A C T I O N N I M n 2 is shown in Figure 3 , where we identify the size of the heap to be decreasing as we move from left to right. This game constitutes the simplest example of a subtraction game [ 17 ] of also a take-away game [ 69 ], both of which are expansive and well-studied classes of impartial combinatorial games. We have the following polynomial runtime for S U B T R A C T I O N N I M n k . Proposition 6.1 S U B T R A C T I O N N I M n k satisfies s ¯ ⩽ 1 and Δ ⩽ k . Thus, for each K > 0 there exists C ′ > 0 such that if γ and μ are chosen as in Corollary 5.5 , P [ T A ( Opt ( S U B T R A C T I O N N I M n k ) ) ⩾ C ′ ( k n ) 5 log 2 n ] ⩽ n - K . Proof For S U B T R A C T I O N N I M n k we have V = { 0 , 1 , … , n - 1 } , v 0 = n - 1 , and F ( v ) = { v - 1 , … , v - k } ∩ V . Note that V \ Int ( G ) = { 0 } . We need to verify that s ( v ) ⩽ 1 for every v ∈ V . Given v , let A v = { ( v + i , v ) : i ∈ [ k ] } ∩ E ( G ) , so that A v consists of all edges directed towards v (as shown in Figure 3 ). We have Depth ( A v ) = 1 , as any directed path in G can visit v at most once. To see that A v is a v -switcher, suppose that z 0 … z ℓ is an A v -compatible directed path from z 0 = n - 1 to V \ Int ( G ) = { 0 } . Because at most k items are removed on each turn, there is some i such that z i ∈ { v , v + 1 , … , v + ( k - 1 ) } (that is, the game must reach a position where it is possible to move to v within one step using an edge in A v ). But then we either have z i = v or, in order for z 0 … z i + 1 to remain A v -compatible, z i z i + 1 ∈ A v and hence z i + 1 = v . In either case, we deduce that v lies on every A v -compatible directed path from n - 1 to 0. Thus, A v is a v -switcher of depth 1, and hence s ( v ) ⩽ 1 . From this, we have that s ¯ ⩽ 1 . Combined with the observation that Δ ⩽ k , the result then follows from Corollary 5.5 . □ Silver Dollar We consider the variant of Silver Dollar played without the eponymous silver dollar [ 17 , 68 , 70 ]; however, it should be noted that Theorem 5.2 also implies a similar polynomial runtime for the original version of Silver Dollar attributed to de Bruijn (see also [ 68 ]). Given parameters m and k , S I L V E R D O L L A R m k is played using k coins on a horizontal strip of m squares, with the coins initially placed on the rightmost k squares (most descriptions actually have the coins placed on arbitrary starting squares, however this does not significantly affect our analysis). A turn consists of moving one coin leftwards any number of spaces, provided the coin does not go past any other coins. In addition, coins may never occupy the same square. Assuming k is a fixed constant, the number of game positions is n = m k . We have the following polynomial runtime for S I L V E R D O L L A R m k . Proposition 6.2 Let k ∈ N be fixed. S I L V E R D O L L A R m k satisfies s ¯ ⩽ k and Δ ⩽ m = O ( n 1 / k ) . Thus, for each K > 0 there exists C ′ > 0 such that if γ and μ are chosen as in Corollary 5.5 , P [ T A ( Opt ( S I L V E R D O L L A R m k ) ) ⩾ C ′ n 5 + 3 k + ( 2 / k ) log 2 n ] ⩽ n - K . Proof On each turn, for each empty square there is at most one possible move that places a coin onto that square. Therefore, Δ ⩽ m - k ⩽ m = O ( n 1 / k ) . Next, any possible game position can be reached from the starting position in at most k moves (simply move each coin in order from left to right onto the required square). Therefore, using Proposition 4.4 , we have s ¯ ⩽ k . The required result then follows from Corollary 5.5 using these bounds on Δ and s ¯ . □ Turning Turtles Here we consider one instance of a large class of coin turning games [ 17 , 71 ]. Given a parameter m , T U R N I N G T U R T L E S m is played using a row of m coins, initially all showing heads. A turn consists of turning over one coin from heads to tails, and then optionally turning over one more coin anywhere to the left of that one (regardless of whether it is showing heads or tails). Play continues until all coins show tails. Noting that the total number of game positions is n = 2 m , we have the following quasipolynomial runtime for T U R N I N G T U R T L E S m . Proposition 6.3 T U R N I N G T U R T L E S m satisfies s ¯ ⩽ log 2 n and Δ ⩽ ( log 2 n ) 2 . Thus, for each K > 0 there exists c > 0 such that if γ and μ are chosen as in Corollary 5.5 , P [ T A ( Opt ( T U R N I N G T U R T L E S m ) ) ⩾ n c log n ] ⩽ n - K . Proof On each turn, there are at most m possible moves that turn over only one coin and at most m 2 possible moves that turn over two coins. Therefore, Δ ⩽ m + m 2 ⩽ m 2 . Next, any possible game position can be reached from the starting position in at most m moves (simply turn over the required coins from heads to tails one by one). Therefore, using Proposition 4.4 we have s ¯ ⩽ m . Noting that m = log 2 n , and hence C 2 ( K + s ¯ + 1 ) ( 20 Δ n ) 2 + 3 s ¯ log 2 n ⩽ C 2 ( K + log 2 n + 1 ) ( 20 ( log 2 n ) 2 n ) 2 + 3 log 2 n log 2 n ⩽ n c log n , the required result then follows from Corollary 5.5 . □ Chomp Since its introduction by Schuh [ 72 ] and later by Gale [ 73 ], Chomp has inspired a great deal of theoretical and empirical analysis, as well as numerous variants incorporating, for example, graphs and simplicial complexes [ 74 ]. While the optimal strategy is not known in general, a strategy-stealing argument shows that the first player always has a winning strategy for Chomp [ 73 ]. Given parameters k and ℓ , C H O M P k , ℓ is played on an k × ℓ board. A turn consists of removing one square, as well as all squares to the right and above. However, if a player removes the square in the lower-left corner (the ‘poison’ square) they immediately lose. Note that to instantiate this game under our normal play convention, we can make removing the lower-left corner fatal by simply removing the position that has no remaining squares. We can establish the following quasipolynomial runtime for C H O M P k , ℓ . Proposition 6.4 C H O M P k , ℓ satisfies s ¯ ⩽ O ( log 2 n ) and Δ ⩽ n . Thus, for each K > 0 there exists c > 0 such that if γ and μ are chosen as in Corollary 5.5 , P [ T A ( Opt ( C H O M P k , ℓ ) ) ⩾ n c log n ] ⩽ n - K . Proof Without loss of generality assume that k ⩽ ℓ , so that the initial board has at least as many columns as rows. In each possible game position, every row must be at least as long as the row above it. In particular, there is a correspondence between game positions and lattice paths (i.e., paths that only move right and down along the squares’ edges) from the top-left corner to bottom-right corner, with the path marking out the boundary of the remaining squares. Using stars and bars counting (see [ 75 , Theorem 8.5.1] for a full treatment) and removing the position that has no remaining squares, the total number of game positions is n = k + ℓ k - 1 ⩾ 2 k k - 1 = Θ ( 4 k / k ) . Trivially, Δ ⩽ n . Next, any possible game position can be reached from the starting position in at most k moves (simply make the appropriate chomp row by row working from top to bottom). Therefore, using Proposition 4.4 , we have s ¯ ⩽ k . Noting that k ⩽ α log n for some constant α , and hence C 2 ( K + s ¯ + 1 ) ( 20 Δ n ) 2 + 3 s ¯ log 2 n ⩽ C 2 ( K + α log n + 1 ) ( 20 n 2 ) 2 + 3 α log n log 2 n ⩽ n c log n , the required result then follows from Corollary 5.5 . □ Improvements to The General Runtime Bound Theorem 5.2 and Corollary 5.5 provide highly general runtime bounds that are applicable to any combinatorial game. However, in order to accommodate this level of generality, a number of broad assumptions are necessary in the corresponding proofs, resulting in a potential lack of tightness for specific games. In this section we highlight some of the more pessimistic proof steps and consider how each could be addressed, including a demonstration of how a specialised analysis can prove a stronger runtime for Chomp when played on a square board. At a high level, the proof of Theorem 5.2 shows that it is possible to discover optimal play at each critical position of a game in a sequence that is faithful to an arbitrary topological ordering u 1 , … , u n for the game. One critical assumption is that if v is the next critical position to be optimised, or one that has already been learned, then the probability P ( v ∈ Path G ( x , y ) ) that v is encountered in a game played out by sampled individuals x , y is bound below by γ s ( v ) (this bound is established by Lemma 4.5 and subsequently used to deduce ( 21 )). Lemma 3.2 demonstrates that analysis of P ( v ∈ Path G ( x , y ) ) is a major contribution to the eventual runtime, serving a role akin to a dynamic learning rate for the algorithm at position v . A key insight is that encountering a large range of game positions by evaluating diverse sets of opponents is essential to an algorithm’s success. However, with further specification of the game graph, the general bound P ( v ∈ Path G ( x , y ) ) ⩾ γ s ( v ) can be greatly improved through closer analysis of coevolutionary dynamics. For example, if individuals often misplay at a winning position v , opponents should begin to exploit this by steering the game towards v ; the resulting feedback mechanism between P ( v ∈ Path G ( x , y ) ) and p t ( v , · ) can assist more efficient learning. This type of analysis is used in [ 76 ] to establish a runtime of O ( n 2 log 3 n ) on a Nim-like impartial combinatorial game called Reciprocal LeadingOnes, improving the more naive upper bound of O ( n 5 log 2 n ) implied by Theorem 5.2 (in fact, [ 76 ] also provides experimental results for Reciprocal LeadingOnes and other combinatorial games suggesting the true upper bound may be asymptotically even smaller). A potential lack of tightness can also be implied by the assumption in the proof that the order u 1 , … , u n in which game positions are optimised is a reverse topological ordering. While this shows that for any game there always exists at least one ordering of critical positions conducive to sequential learning of optimal play, there is no guarantee that a reverse topological ordering will be the most efficient ordering or the one that arises in practice. While a reverse topological ordering is probably most efficient for certain games (such as Subtraction Nim), in other cases proving stronger runtime bounds should be possible by considering an alternative ordering of vertices. As an example, consider Figure 4 . Any player who choses to move to u from the top row is guaranteed to lose, and so in light of Lemma 3.2 there is always selective pressure towards optimal play at each position v , with the strength of that pressure scaling with P ( v ∈ Path G ( x , y ) ) . However, P ( v ∈ Path G ( x , y ) ) is necessarily greater for vertices towards the left of the top row, and so these positions will be optimised by UMDA first, contrary to the reverse topological ordering which goes from right to left. Even though this game should be straightforward for UMDA to optimise (that is, polynomial in n runtime), the bound arising from Theorem 5.2 is particularly pessimistic due to the existence of vertices (towards the right of the top row) with switchability Θ ( n ) . Fig. 4. Open in a new tab A game that should be easy to optimise, but contains vertices with switchability Θ ( n ) Stronger Runtime Bounds for Games with Simple Optimal Strategies The proof of Theorem 5.2 considers the time until UMDA generates an individual who plays optimally at every critical position of the game, as Lemma 2.2 proves that this is a sufficient condition for membership of Opt ( G ) . However, because Lemma 2.2 is not a necessary condition, there is potential for CoEAs to demonstrate bias towards learning simpler elements of Opt ( G ) without the need to implicitly deduce all zeros of the Sprague-Grundy function. As an example of what such a strategy could be, let us reconsider Chomp (see Section 6.4 ). When played on a square k × k board, there is an optimal strategy for Chomp that can be described by specifying an action at only Θ ( k 2 ) of the Θ ( 4 k / k ) game positions. On the first move, take a ( k - 1 ) × ( k - 1 ) bite from the top-right of the board leaving only a L -shaped board with equal length branches for the opponent. On subsequent moves, your opponent will leave you with an L -shaped board with different length branches, in which case you can remove squares from the longer branch to make them equal again. Eventually, your opponent will be left with only the poison square [ 73 ]. Obtaining a faster runtime by considering the time to discover these simpler strategies can be formalised due to the fact that Lemma 5.3 was stated more generally than just for W G . In the remainder of this section we will carry out this analysis for Chomp when played on a square board. For this we will use the following extension of Lemma 5.3 , which is tailored to games with an optimal strategy similar to that described for k × k Chomp above. Lemma 7.1 Set C = 4000 ( 1 + log 20 log 3 ) . Let G be an n -vertex impartial combinatorial game (where n ⩾ 3 ) with maximum degree Δ . Suppose that v 1 ∈ F ( v 0 ) has Grundy value 0, and let V ′ be the set of vertices that can be reached via a directed path from v 1 . Set s ^ = max v ∈ V ′ s ( v ) , let K > 0 be arbitrary, and let A be described by Algorithm 1 where 1 20 n 2 ⩽ γ ⩽ 1 20 Δ max { | V ′ | , 3 } and μ ⩾ C ( K + s ^ + 1 ) γ - ( 1 + 2 s ^ ) log n . Then for any ℓ ⩾ 1 , P [ T A G ( Opt ( G ) ) ⩾ μ ( ℓ + C ∑ v ∈ W G ∩ V ′ γ - s ( v ) log ( 1 / γ ) ) ] ⩽ ℓ n - K + e - γ ℓ μ / 2 . Proof We first establish the following claim (where we recall that V 0 is the set of vertices of G with Grundy value 0). Claim 7.2 If x ∈ X G satisfies x ( v 0 ) = v 1 and also x ( v ) ∈ V 0 for every v ∈ W G ∩ V ′ , then x ∈ Opt ( G ) Proof of Claim 7.2 Let u 1 , … , u n be a reverse topological ordering for G which has all vertices of V ′ appearing before all vertices of V \ V ′ . Let i ∈ [ n ] be such that v 1 = u i so that V ′ = { u 1 , … , u i } . Let h be the Sprague-Grundy function for G . By the assumption in the claim, we have h ( x ( v ) ) = 0 for every v ∈ W G ∩ { u 1 , … , u i } . Therefore, by swapping the roles of x and y in A2 (Lemma 2.2 ), f G 1 ( y , x ) = - 1 holds for every y ∈ X G . Therefore, for any y ∈ X G we have f G ( x , y ) = f G 0 ( x , y ) = - f G x ( v 0 ) ( y , x ) = - f G 1 ( y , x ) = 1 , and hence x ∈ Opt ( G ) . □ Set U = W G ∩ V ′ and define A = { p ∈ Q : p ( v , V 1 ) ⩽ 1 10 | U | for all v ∈ U } . If p ∈ A and x ∼ Univ ( X G , p ) , then Claim 7.2 implies that P ( x ∈ Opt ( G ) ) ⩾ P ( ∧ v ∈ U ( x ( v ) ∈ V 0 ) ) · P ( x ( v 0 ) = v 1 ) ⩾ ( 1 - 1 10 | U | ) | U | γ ⩾ 9 10 γ . 45 Let τ = ⌊ 30 ∑ v ∈ U γ - s ( v ) log ( 1 / γ ) ⌋ so that Lemma 5.3 yields P ( p τ , p τ + 1 , … , p τ + ℓ - 1 ∈ A ) ⩾ 1 - ℓ n - K . 46 (See proof of Theorem 5.2 for a full treatment.) Let E 1 be the event that x ∉ Opt ( G ) occurs in each of the first μ ℓ times Line 8 of Algorithm 1 is executed with p t ∈ A . We can bound P ( E 1 ) ⩽ ( 45 ) ( 1 - 9 10 γ ) μ ℓ ⩽ ( 1 - 1 2 γ ) μ ℓ ⩽ e - γ ℓ μ / 2 . 47 Let E 2 be the event that there are fewer than ℓ values of t where 0 ⩽ t < τ + ℓ for which p t ∈ A . We can bound P ( E 2 ) ⩽ ( 46 ) ℓ n - K . 48 If T A G ( Opt ( G ) ) ⩾ μ ( ℓ + C ∑ v ∈ W G ∩ V ′ γ - s ( v ) log ( 1 / γ ) ) occurs then at least one of E 1 or E 2 must also occur. Hence, using a union bound, P [ T A ( Opt ( G ) ) ⩾ μ ( ℓ + C ∑ v ∈ W G ∩ V ′ γ - s ( v ) log ( 1 / γ ) ) ] ⩽ P ( E 1 ) + P ( E 2 ) ⩽ ( 47 ) , ( 48 ) ℓ n - K + e - γ ℓ μ / 2 , as required. □ We are now ready to establish a faster runtime for square Chomp, where as in Section 6 we use A to represent Algorithm 1. The result proves two runtime bounds for C H O M P k , k . The first shows that with essentially the same parameter settings for γ and μ as that implied by Theorem 5.2 , the closer analysis here improves the quasipolynomial bound of Proposition 6.4 to a polynomial bound. The second shows that with improved parameter settings for γ and μ , this polynomial bound can be improved further to a logarithmic bound. There is some question about the utility of the second bound when the corresponding parameter settings are determined using a priori knowledge of the optimal strategy for C H O M P k , k (and so obtaining similar parameter settings in general is impractical), however in application practical settings for γ and μ can be sought using parameter tuning [ 77 ], and so the bound is still of interest. While the degrees of the polynomials in both bounds are large, we do not claim them to be close to best possible, and in any case both bounds demonstrate strong asymptotic improvement over Proposition 6.4 is possible. For ease of notation, we prove the tail bounds hold with probability n - 1 , however the same results can be easily proven for any n - K with an appropriate rescaling of population size (as with the results of Section 6 ). Proposition 7.3 There exist constants C ′ , C ′ ′ > 0 such that the following holds. If γ = 1 / ( 20 Δ n ) and μ = 6 C ( 20 Δ n ) 7 log n (where Δ = k 2 - 1 ), P [ T A ( Opt ( C H O M P k , k ) ) ⩾ C ′ n 15 ] ⩽ n - 1 . If instead Algorithm 1 is run using γ = 1 / ( 20 k 4 ) and μ = 6 C ( 20 k 4 ) 7 log n , then in fact, P [ T A ( Opt ( C H O M P k , k ) ) ⩾ C ′ ′ log 44 n ] ⩽ n - 1 . Proof Recall from Section 2.1 that if the current position for a game is v then the player making the next move has a winning strategy if and only if h ( v ) ≠ 0 , where h denotes the Sprague-Grundy function. Therefore, if v 1 ∈ F ( v 0 ) denotes the position for C H O M P k , k that has the top-right ( k - 1 ) × ( k - 1 ) squares removed, then v 1 has Grundy value 0. Let V ′ be the set of vertices that can be reached via a directed path from v 1 and note that | V ′ | ⩽ k 2 = O ( log 2 n ) . Next, if v ∈ V , then v can be reached from v 0 in at most 3 moves (first take the ( k - 1 ) × ( k - 1 ) bite, then take one bite from each of the horizontal and vertical branches of the remaining L -shaped board as necessary). Therefore, using Proposition 4.4 , s ( v ) ⩽ 3 holds for all v ∈ V ′ , and hence max v ∈ V ′ s ( v ) ⩽ 3 . Note that for C H O M P k , k we have Δ = k 2 - 1 = O ( log 2 n ) . Let C = 4000 ( 1 + log 20 log 3 ) as in Lemma 7.1 , and set K = 2 and ℓ = 1 . If γ = 1 / ( 20 Δ n ) and μ = 6 C ( 20 Δ n ) 7 log n = Θ ( n 7 log 15 n ) , then there exists a constant C ′ such that C ′ n 15 ⩾ μ ( 1 + C k 2 ( 20 k 2 n ) 3 log ( 20 k 2 n ) ) ⩾ μ ( ℓ + C ∑ v ∈ W G ∩ V ′ γ - s ( v ) log ( 1 / γ ) ) . Therefore, by Lemma 7.1 we can deduce that P [ T A ( Opt ( C H O M P k , k ) ) ⩾ C ′ n 15 ] ⩽ ℓ n - K + e - γ ℓ μ / 2 ⩽ n - 2 + e - n 6 ⩽ n - 1 . Next, if γ = 1 / ( 20 k 4 ) and μ = 6 C ( 20 k 4 ) 7 log n = Θ ( log 29 n ) , then there exists a constant C ′ ′ such that C ′ ′ log 44 n ⩾ μ ( 1 + C k 2 ( 20 k 4 ) 3 log ( 20 k 4 ) ) ⩾ μ ( ℓ + C ∑ v ∈ W G ∩ V ′ γ - s ( v ) log ( 1 / γ ) ) . Therefore, by Lemma 7.1 we can deduce that P [ T A ( Opt ( C H O M P k , k ) ) ⩾ C ′ ′ log 44 n ] ⩽ n - 2 + e - 2 log n ⩽ n - 1 , as required □ Concluding Remarks and Future work We have proven a general upper bound for the runtime of a coevolutionary instance of UMDA when searching for optimal strategies for combinatorial games. The bound is expressed in terms of switchability, a graph property arising from game play. Because Proposition 4.4 shows that switchability can always be bounded using the diameter of a graph, the upper bound is easily applicable to arbitrary combinatorial games. Using the general bound, we were able to derive polynomial and quasipolynomial runtime bounds for UMDA on several established combinatorial games. We have also considered cases in which the general bound is least likely to offer a tight estimate of runtime, and demonstrated that it is possible to adapt our framework to establish a stronger bounds for specific games. These results constitute the first rigorous analysis of competitive CoEAs on any turn-based game, and are an important step towards a comprehensive theoretical understanding of game playing using evolutionary techniques. However, as the analysed strategic representations do not scale to games with exponentially many positions, current practical implications are limited. Agents that play large combinatorial games (such as Chess or Go) typically rely on sophisticated models (such as neural networks, genetic programs, decision trees, or game-specific models) that map positions onto policies, and an important topic of future work is to consider whether theoretical analysis of CoEAs on large combinatorial games is possible when using simple instances of such models. A related consideration is the role played by search in combinatorial games. Cutting edge game-playing algorithms such as AlphaZero [ 8 ] all rely to some extent on searching possible continuations of the game from a given position when determining a next move, yet such searches play no part in the analysis of this paper. A key open question is whether representations that incorporate search are provably superior to those without when evolved using CoEAs. As well as more realistic representations, future work should also extend analysis towards broader classes of CoEAs, as the current work only applies to UMDA with binary tournament selection. Algorithm 1 is an example of a single population CoEA, however many CoEAs typically evolve two populations, each representing a different player [ 9 ]. Use of a single population CoEA is intuitive for impartial combinatorial games, as the game is essentially symmetric (so what constitutes strong play for one player is also strong for the other). Future work could aim to confirm theoretically whether this intuition is justified, and whether the reverse recommendation should be made if the combinatorial game is not impartial. Determining when to use one population or a two population CoEAs is a critical open question for all applications of CoEAs, and one where theoretical analysis could provide rich insight. Finally, while our results for UMDA contribute to the analysis of EDAs with multi-valued decision variables, future work could also consider the extent to which mutation-based CoEAs can be analysed on combinatorial games. Preliminary Results Here we provide two straightforward results that will be useful to quote throughout the proof of Theorem 5.2 . The first is derived from the Chernoff bounds for binomial random variables given by Theorem A.1 , which is in turn an immediate consequences of [ 78 , Theorem 3.2]. We remark that the conclusions E1-E3 have been optimised for ease of integration with the proofs in this paper, rather than tightness of bound. Theorem A.1 If X ∼ Bin ( m , q ) , then for any t ⩾ 0 it holds that P ( X ⩽ m q - t ) ⩽ exp - t 2 / 2 mq , A1 P ( X ⩾ m q + t ) ⩽ exp - t 2 / 2 m q + t / 3 . A2 Corollary A.2 Suppose q ∈ [ 0 , 1 / 2 ] and X ∼ Bin ( μ , q ) . E1 For any α > 0 and p ∈ [ 0 , 1 / 2 ] satisfying q ⩾ ( 1 + α ) p , P ( X / μ ⩽ ( 1 + α / 2 ) p ) ⩽ exp - α 2 μ p 8 ( 1 + α ) . E2 For any α > 0 and p ∈ [ 0 , 1 / 2 ] satisfying q ⩽ ( 1 - α ) p , P ( X / μ ⩾ ( 1 - α / 2 ) p ) ⩽ exp - α 2 μ p 8 ( 1 + α ) . E3 For any α > 0 and p ∈ [ 0 , 1 / 2 ] satisfying q ⩾ ( 1 - α ) p , P ( X / μ ⩽ ( 1 - 2 α ) p ) ⩽ exp - α 2 μ p / 16 8 ( 1 + α / 4 ) . Proof For E1 , let Y 1 ∼ Bin ( μ , ( 1 + α ) p ) so that X ≽ Y 1 . We then have P ( X / μ ⩽ ( 1 + α / 2 ) p ) = P ( X ⩽ ( 1 + α / 2 ) p μ ) ⩽ P ( Y 1 ⩽ ( 1 + α / 2 ) p μ ) = P ( Y 1 ⩽ ( 1 + α ) p μ - α p μ / 2 ) ⩽ ( A 1 ) exp - α 2 p 2 μ 2 / 8 μ ( 1 + α ) p ⩽ exp - α 2 p μ 8 ( 1 + α ) , as required. For E2 , let Y 2 ∼ Bin ( μ , ( 1 - α ) p ) so that X ≼ Y 2 . We then have P ( X / μ ⩾ ( 1 - α / 2 ) p ) = P ( X ⩾ ( 1 - α / 2 ) p μ ) ⩽ P ( Y 2 ⩾ ( 1 - α / 2 ) p μ ) = P ( Y 1 ⩾ ( 1 - α ) p μ + α p μ / 2 ) ⩽ ( A 2 ) exp - α 2 p 2 μ 2 / 8 μ ( 1 - α ) p + ( α p μ / 6 ) ⩽ exp - α 2 p μ 8 ( 1 + α ) , as required. For E3 , let Y 3 ∼ Bin ( μ , ( 1 - α ) p ) so that X ≽ Y 3 . We then have P ( X / μ ⩽ ( 1 - 2 α ) p ) = P ( X ⩽ ( 1 - 2 α ) p μ ) ⩽ P ( Y 3 ⩽ ( 1 - 2 α ) p μ ) = P ( Y 3 ⩽ ( 1 - α ) p μ - α p μ ) ⩽ ( A 1 ) exp - α 2 p 2 μ 2 / 2 μ ( 1 - α ) p ⩽ exp - α 2 p μ / 16 8 ( 1 + α / 4 ) , as required. □ Lemma A.3 Given γ ∈ [ 0 , 1 2 ) , let g : [ γ , 1 - γ ] → R ⩾ 0 be given by g ( y ) = log y 1 - y - log γ 1 - γ . Then, the following properties hold. F1 If y ∈ [ γ , 1 2 ] and a ∈ [ 0 , 1 ) , then g ( ( 1 + a ) y ) - g ( y ) ⩾ a - 1 2 a 2 . F2 If y ∈ [ 1 2 , 1 - γ ] and a ∈ [ 0 , 1 ) , then g ( 1 - ( 1 - a ) y ) - g ( 1 - y ) ⩾ a - 1 2 a 2 . F3 max y ∈ [ γ , 1 - γ ] g ( y ) ⩽ 2 log ( 1 / γ ) . Proof F1: If y ∈ [ γ , 1 2 ] and a ∈ [ 0 , 1 ) , then g ( ( 1 + a ) y ) - g ( y ) = log ( 1 + a ) y 1 - ( 1 + a ) y - log y 1 - y = log ( 1 + a ) ( 1 - y ) 1 - ( 1 + a ) y = log 1 + a 1 - ( 1 + a ) y ⩾ log ( 1 + a ) ⩾ a - 1 2 a 2 . F2: If y ∈ [ 1 2 , 1 - γ ] and a ∈ [ 0 , 1 ) , then g ( 1 - ( 1 - a ) y ) - g ( 1 - y ) = log 1 - ( 1 - a ) y ( 1 - a ) y - log 1 - y y = log 1 - ( 1 - a ) y ( 1 - a ) ( 1 - y ) = log 1 + a ( 1 - a ) ( 1 - y ) ⩾ log ( 1 + a ) ⩾ a - 1 2 a 2 . F3: Because g is an increasing function, max y ∈ [ γ , 1 - γ ] g ( y ) = g ( 1 - γ ) = log 1 - γ γ - log γ 1 - γ = 2 log 1 - γ γ ⩽ 2 log ( 1 / γ ) , as required. □ Author Contributions Alistair Benford wrote the main manuscript text. The theoretical framework behind the main results was produced by Alistair Benford and Per Kristian Lehre. Both authors reviewed the manuscript. Funding This research was supported by a Turing AI Fellowship (EPSRC grant ref EP/V025562/1). Data Availability No datasets were generated or analysed during the current study. Footnotes Publisher's Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. References 1. Fraenkel, A.S., Lichtenstein, D.: Computing a perfect strategy for n n chess requires time exponential in n. Journal of Combinatorial Theory, Series A 31 (2), 199–214 (1981). 10.1016/0097-3165(81)90016-9 [ Google Scholar ] 2. Robson, J.M.: The complexity of go. In: Proceedings of the IFIP 9th World Computer Congress on Information Processing, pp. 413–417. (1983) 3. Robson, J.M.: N by N checkers is exptime complete. SIAM J. Comput. 13 (2), 252–267 (1984). 10.1137/0213018 [ Google Scholar ] 4. Grier, D.: Deciding the winner of an arbitrary finite poset game is PSPACE-complete. In: Automata, Languages, and Programming, pp. 497–503. (2013) 5. Demaine, E., Hearn, R.: Playing games with algorithms: Algorithmic combinatorial game theory. In: Games of No Chance 3. Mathematical Sciences Research Institute Publications, vol. 56, pp. 3–56. Cambridge University Press, Cambridge (2009) 6. Michie, D.: Experiments on the mechanization of game-learning part I: characterization of the model and its parameters. Comput. J. 6 (3), 232–236 (1963). 10.1093/comjnl/6.3.232 [ Google Scholar ] 7. DeCoste, D.: The significance of Kasparov versus DEEP BLUE and the future of computer chess. ICGA Journal 21 (1), 33–43 (1998) [ Google Scholar ] 8. Silver, D., Hubert, T., Schrittwieser, J., Antonoglou, I., Lai, M., Guez, A., Lanctot, M., Sifre, L., Kumaran, D., Graepel, T., Lillicrap, T., Simonyan, K., Hassabis, D.: A general reinforcement learning algorithm that masters chess, shogi, and go through self-play. Science 362 (6419), 1140–1144 (2018). 10.1126/science.aar6404 [ DOI ] [ PubMed ] [ Google Scholar ] 9. Popovici, E., Bucci, A., Wiegand, R.P., De Jong, E.D.: Coevolutionary Principles, pp. 987–1033. Springer, Berlin, Heidelberg (2012). 10.1007/978-3-540-92910-9_31 10. Ficici, S.G.: Solution concepts in coevolutionary algorithms, Brandeis University (2004). (PhD thesis) 11. Doerr, B., Neumann, F.: A survey on recent progress in the theory of evolutionary algorithms for discrete optimization. ACM Transactions on Evolutionary Learning and Optimization 1 (4) (2021) 10.1145/3472304 12. Lehre, P.K.: Runtime analysis of competitive co-evolutionary algorithms for maximin optimisation of a bilinear function. Algorithmica 86 (7), 2352–2392 (2024). 10.1007/s00453-024-01218-3 [ Google Scholar ] 13. Hevia Fajardo, M.A., Lehre, P.K.: How fitness aggregation methods affect the performance of competitive CoEAs on bilinear problems. In: Proceedings of the Genetic and Evolutionary Computation Conference. GECCO ’23, pp. 1593–1601 (2023). 10.1145/3583131.3590506 14. Hevia Fajardo, M.A., Lehre, P.K., Lin, S.: Runtime analysis of a co-evolutionary algorithm: Overcoming negative drift in maximin-optimisation. In: Proceedings of the 17th Conference on Foundations of Genetic Algorithms. FOGA ’23, pp. 73–83 (2023). 10.1145/3594805.3607132 15. Lin, S., Lehre, P.K.: Overcoming binary adversarial optimisation with competitive coevolution. Parallel Problem Solving from Nature XVIII , (2024) 16. Benford, A., Lehre, P.K.: Runtime analysis of coevolutionary algorithms on a class of symmetric zero-sum games. In: Proceedings of the Genetic and Evolutionary Computation Conference. GECCO ’24, pp. 1542–1550 (2024). 10.1145/3638529.3654216 17. Guy, R.K.: Impartial games. In: Games of No Chance. Mathematical Sciences Research Institute Publications, vol. 29, pp. 61–78. Cambridge University Press, Cambridge (1996). 10.1017/CBO9780511663117.006 18. Pelikan, M., Hauschild, M., Lobo, F.G.: Estimation of distribution algorithms. In: Springer Handbook of Computational Intelligence, pp. 899–928. Springer, Berlin, Heidelberg (2015). 10.1007/978-3-662-43505-2_45 19. Krejca, M.S., Witt, C.: In: Doerr, B., Neumann, F. (eds.) Theory of Estimation-of-Distribution Algorithms, pp. 405–442. Springer, Cham (2020). 10.1007/978-3-030-29414-4_9 20. Adak, S., Witt, C.: Mathematical runtime analysis of a multi-valued estimation of distribution algorithm. Artificial Intelligence 353, 104501 (2026) 10.1016/j.artint.2026.104501 21. Chwiałkowski, M., Doerr, B., Stefan Krejca, M.: Runtime analysis of the compact genetic algorithm on the leadingones benchmark. IEEE Trans. Evol. Comput. 30 (1), 311–320 (2026). 10.1109/TEVC.2025.3549929 22. Droste, S.: A rigorous analysis of the compact genetic algorithm for linear functions. Nat. Comput. 5 , 257–283 (2006). 10.1007/s11047-006-9001-0 23. Witt, C.: Upper bounds on the running time of the univariate marginal distribution algorithm on onemax. Algorithmica 81 , 632–667 (2019). 10.1007/s00453-018-0463-0 24. Witt, C.: How majority-vote crossover and estimation-of-distribution algorithms cope with fitness valleys. Theoretical Computer Science 940, 18–42 (2023) 10.1016/j.tcs.2022.08.014 25. Lengler, J.: Drift analysis. In: Theory of Evolutionary Computation: Recent Developments in Discrete Optimization, pp. 89–131. Springer, Cham (2020). 10.1007/978-3-030-29414-4_2 26. Benford, A., Lehre, P.K.: A general upper bound for the runtime of a coevolutionary algorithm on impartial combinatorial games. In: Proceedings of the Genetic and Evolutionary Computation Conference. GECCO ’25, pp. 1594–1603 (2025). 10.1145/3712256.3726437 27. Rosin, C.D., Belew, R.K.: New methods for competitive coevolution. Evol. Comput. 5 (1), 1–29 (1997) [ DOI ] [ PubMed ] [ Google Scholar ] 28. Jaśkowski, W., Krawiec, K., Wieloch, B.: Fitnessless coevolution. In: Proceedings of the Genetic and Evolutionary Computation Conference. GECCO ’08, pp. 355–362 (2008). 10.1145/1389095.1389161 29. Pollack, J.B., Blair, A.D.: Co-evolution in the successful learning of backgammon strategy. Mach. Learn. 32 (3), 225–240 (1998). 10.1023/A:1007417214905 [ Google Scholar ] 30. Jaśkowski, W., Szubert, M., Liskowski, P.: Multi-criteria comparison of coevolution and temporal difference learning on othello. In: Applications of Evolutionary Computation, pp. 301–312. (2014) 31. Szubert, M., Jaśkowski, W., Liskowski, P., Krawiec, K.: The role of behavioral diversity and difficulty of opponents in coevolving game-playing agents. In: Applications of Evolutionary Computation, pp. 394–405. (2015) 32. Szubert, M., Jaśkowski, W., Krawiec, K.: On scalability, generalization, and hybridization of coevolutionary learning: a case study for othello. IEEE Transactions on Computational Intelligence and AI in Games 5 (3), 214–226 (2013). 10.1109/TCIAIG.2013.2258919 33. Ferrer, G.J., Martin, W.N.: Using genetic programming to evolve board evaluation functions. In: Proceedings of 1995 IEEE International Conference on Evolutionary Computation, vol. 2, pp. 747–752 (1995). 10.1109/ICEC.1995.487479 34. Chellapilla, K., Fogel, D.B.: Evolving neural networks to play checkers without relying on expert knowledge. IEEE Trans. Neural Networks 10 (6), 1382–1391 (1999). 10.1109/72.809083 [ DOI ] [ PubMed ] [ Google Scholar ] 35. Fogel, D.B., Hays, T.J., Hahn, S.L., Quon, J.: A self-learning evolutionary chess program. Proc. IEEE 92 (12), 1947–1954 (2004). 10.1109/JPROC.2004.837633 [ Google Scholar ] 36. Hauptman, A., Sipper, M.: GP-EndChess: using genetic programming to evolve chess endgame players. In: Proceedings of the 8th European Conference on Genetic Programming. EuroGP ’05, pp. 120–131 (2005). 10.1007/978-3-540-31989-4_11 37. Lubberts, A., Miikkulainen, R.: Co-evolving a go-playing neural network. In: Coevolution: Turning Adaptive Algorithms Upon Themselves, (2001) 38. Monroy, G.A., Stanley, K.O., Miikkulainen, R.: Coevolution of neural networks using a layered pareto archive. In: Proceedings of the Genetic and Evolutionary Computation Conference. GECCO ’06, pp. 329–336 (2006). 10.1145/1143997.1144058 39. Gold, R., Branquinho, H., Hemberg, E., O’Reilly, U.-M., García-Sánchez, P.: Genetic programming and coevolution to play the Bomberman™ video game. In: Applications of Evolutionary Computation, pp. 765–779 (2023) 40. Noble, J., Watson, R.A.: Pareto coevolution: using performance against coevolved opponents in a game as dimensions for pareto selection. In: Proceedings of the Genetic and Evolutionary Computation Conference. GECCO ’01, pp. 493–500. (2001) 41. Lange, J., Stanke, M., Ebner, M.: Co-evolution of spies and resistance fighters. In: Applications of Evolutionary Computation, pp. 487–502. (2022) 42. Harris, S.N., Tauritz, D.R.: Competitive coevolution for defense and security: Elo-based similar-strength opponent sampling. In: Proceedings of the Genetic and Evolutionary Computation Conference Companion. GECCO ’21, pp. 1898–1906 (2021). 10.1145/3449726.3463193 43. Lehre, P.K., Hevia Fajardo, M.A., Toutouh, J., Hemberg, E., O’Reilly, U.-M.: Analysis of a pairwise dominance coevolutionary algorithm and DefendIt. In: Proceedings of the Genetic and Evolutionary Computation Conference. GECCO ’23, pp. 1027–1035 (2023). 10.1145/3583131.3590411 44. Krawiec, K., Heywood, M.: Solving complex problems with coevolutionary algorithms. In: Proceedings of the Genetic and Evolutionary Computation Conference. GECCO ’20, pp. 832–858 (2020). 10.1145/3377929.3389874 45. Jansen, T., Wiegand, R.P.: The cooperative coevolutionary (1+1) EA. Evol. Comput. 12 (4), 405–434 (2004). 10.1162/1063656043138905 [ DOI ] [ PubMed ] [ Google Scholar ] 46. Guy, R.K.: What is a game? In: Games of No Chance. Mathematical Sciences Research Institute Publications, vol. 29, pp. 43–60. Cambridge University Press, Cambridge (1996) 47. Nivasch, G.: More on the Sprague-Grundy function for Whythoff’s game. In: Games of No Chance 3. Mathematical Sciences Research Institute Publications, vol. 56, pp. 377–410. Cambridge University Press, Cambridge (2009) 48. Hauptman, A.: Evolving search heuristics for combinatorial games with genetic programming, Ben-Gurian University of the Negev (2009). (PhD thesis) 49. Sprague, R.: Über mathematische kampfspiele. Tohoku Mathematical Journal, First Series 41 , 438–444 (1935) [ Google Scholar ] 50. Sprague, R.: Über zwei abarten von nim. Tohoku Mathematical Journal, First Series 43 , 351–354 (1937) [ Google Scholar ] 51. Grundy, P.M.: Mathematics and games. Eureka 2 , 6–8 (1939) [ Google Scholar ] 52. Fraenkel, A.S.: Scenic trails ascending from sea-level nim to alpine chess and back. In: Games of No Chance. Mathematical Sciences Research Institute Publications, vol. 29, pp. 13–42. Cambridge University Press, Cambridge (1996). 10.1017/CBO9780511663117.004 53. Dang, D.-C., Lehre, P.K.: Simplified runtime analysis of estimation of distribution algorithms. In: Proceedings of the 2015 Annual Conference on Genetic and Evolutionary Computation. GECCO ’15, pp. 513–518 (2015). 10.1145/2739480.2754814 54. Doerr, B.: The runtime of the compact genetic algorithm on jump functions. Algorithmica 83 (10), 3059–3107 (2021). 10.1007/s00453-020-00780-w [ Google Scholar ] 55. Harik, G.R., Lobo, F.G., Goldberg, D.E.: The compact genetic algorithm. Trans. Evol. Comp 3 (4), 287–297 (1999). 10.1109/4235.797971 [ Google Scholar ] 56. Baluja, S.: Population-based incremental learning: A method for integrating genetic search based function optimization and competitive learning, USA (1994). (Technical report) 57. Mühlenbein, H., Paaß, G.: From recombination of genes to the estimation of distributions i. binary parameters. In: Parallel Problem Solving from Nature (PPSN IV), pp. 178–187. Springer, Berlin, Heidelberg (1996). 10.1007/3-540-61723-X_982 58. Mühlenbein, H., Mahnig, T.: In: Kallel, L., Naudts, B., Rogers, A. (eds.) Evolutionary Algorithms: From Recombination to Search Distributions, pp. 135–173. Springer, Berlin, Heidelberg (2001). 10.1007/978-3-662-04448-3_7 59. Ben Jedidia, F., Doerr, B., Krejca, M.S.: Estimation-of-distribution algorithms for multi-valued decision variables. Theoretical Computer Science 1003, 114622 (2024) 10.1016/j.tcs.2024.114622 60. Saburov, M.: On discrete-time replicator equations with nonlinear payoff functions. Dynamic Games and Applications 12 (2), 643–661 (2022). 10.1007/s13235-021-00404-0 [ Google Scholar ] 61. Hofbauer, J., Sigmund, K.: Evolutionary game dynamics. Bull. Am. Math. Soc. 40 (4), 479–519 (2003). 10.1090/S0273-0979-03-00988-1 [ Google Scholar ] 62. Droste, S., Jansen, T., Wegener, I.: Upper and lower bounds for randomized search heuristics in black-box optimization. Theory of Computing Systems 39 (4), 525–544 (2006). 10.1007/s00224-004-1177-z [ Google Scholar ] 63. Rougetet, L.: A prehistory of nim. The College Mathematics Journal 45(5), 358–363 (2014). Accessed 2024-08-13 64. Yaglom, I.M.: Two games with matchsticks. In: Kvant Selecta: Combinatorics, I. Mathematical World, vol. 17, pp. 1–8. American Mathematical Society, Providence, RI (2001) 65. Jorgensen, A.H.: Context and driving forces in the development of the early computer game Nimbi. IEEE Ann. Hist. Comput. 31 (3), 44–53 (2009). 10.1109/MAHC.2009.41 [ Google Scholar ] 66. McCoy, H.K.: The game of nim - the Nimatron. Carnegie Technical, 14 (1951). Accessed 1 August 2018 67. Redheffer, R.: A machine for playing the game nim. The American Mathematical Monthly 55(6), 343–349 (1948). Accessed 2024-08-13 68. Conway, J.H.: On Numbers and Games, 2nd edn. A.K. Peters, Wellesley, MA (2001) [ Google Scholar ] 69. Schwenk, A.J.: Take-away games. Fibonacci Quart. 8 , 225–234 (1970) [ Google Scholar ] 70. Farr, G., Ho, N.B.: The Sprague-Grundy function for some nearly disjunctive sums of nim and silver dollar games. Theoret. Comput. Sci. 732 , 46–59 (2018). 10.1016/j.tcs.2018.04.027 71. Berlekamp, E.R., Conway, J.H., Guy, R.K.: Winning Ways for Your Mathematical Plays, vol. 3. A. K. Peters, Natick, MA (2003) [ Google Scholar ] 72. Schuh, F.: Spel van delers. Nieuw Tijdschrift voor Wiskunde 39 , 299–304 (1952) [ Google Scholar ] 73. Gale, D.: A curious nim-type game. Amer. Math. Monthly 81 , 876–879 (1974) [ Google Scholar ] 74. García-Marco, I., Knauer, K., Montejano, L.P.: Chomp on generalized Kneser graphs and others. Internat. J. Game Theory 50 (3), 603–621 (2021). 10.1007/s00182-019-00697-x [ Google Scholar ] 75. Brualdi, R.A.: Introductory Combinatorics, 5th edn. Pearson, Upper Saddle River, NJ (2009) [ Google Scholar ] 76. Benford, A., Lehre, P.K.: Why playing against diverse and challenging opponents speeds up coevolution: A theoretical analysis on combinatorial games. In: Advances in Neural Information Processing Systems 38. NeurIPS ’25, (2025) 77. Eiben, A.E., Smit, S.K.: Parameter tuning for configuring and analyzing evolutionary algorithms. Swarm Evol. Comput. 1 (1), 19–31 (2011). 10.1016/j.swevo.2011.02.001 [ Google Scholar ] 78. Chung, F., Lu, L.: Concentration inequalities and martingale inequalities: A survey. Internet Mathematics 3 (1), 79–127 (2006) [ Google Scholar ] Associated Data This section collects any data citations, data availability statements, or supplementary materials included in this article. Data Availability Statement No datasets were generated or analysed during the current study. Articles from Algorithmica are provided here courtesy of Springer ACTIONS View on publisher site PDF (745.8 KB) Cite Collections Permalink RESOURCES Similar articles Cited by other articles Links to NCBI Databases Follow NCBI NCBI on X (formerly known as Twitter) NCBI on Facebook NCBI on LinkedIn NCBI on GitHub NCBI RSS feed Connect with NLM NLM on X (formerly known as Twitter) NLM on Facebook NLM on YouTube National Library of Medicine 8600 Rockville Pike Bethesda, MD 20894 Web Policies FOIA HHS Vulnerability Disclosure Help Accessibility Careers NLM NIH HHS USA.gov Back to Top
Related documents
- Core stability recognition for minimum-cost spanning tree games: Parameterized perspective#1034790
- Coalitions in Repeated Games#131167
- Stability of the Strong Domination Number of Graphs#793545
- Stability of the Strong Domination Number of Graphs#789541
- Experimental Data for the Paper "A Comprehensive Study of k-Portfolios of Recent SAT Solvers"#1148259
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive