WorksMathematics
Territorial Conflict as a Cellular Automaton: Frozen Domains and Active Fronts in a Risk-Derived Local Rule
Abstract
We formulate the attack and fortification rules of the game Risk as a synchronous cellular automaton on a graph, with battles resolved by exact dice odds. We prove, and verify in Lean, that for the default exchange ratio the rule has radius 6, or 5 for deterministic battles with a positive attack threshold, both attained; that its deterministic form is irreversible except at the highest attack thresholds without growth and with fortification absent or inactive; that without troop growth it freezes in finite time; and that the dynamics near an interface is locally determined. The coupling of the ownership field to a troop field separates frozen domains from active fronts: with a positive attack threshold, saturated domains cannot be conquered, while interfaces with heterogeneous troops keep fighting. In 14252 runs, with attractors classified operationally in Wolfram's scheme, raising the attack threshold takes the system from dominance by one faction to a frozen fragmented partition. The share of the largest faction drops between the same two threshold values at every size up to L=128, in a step about 0.5 wide under a continuous threshold (L=64-96), whereas the probability of complete consolidation is a size-dependent crossover governed by saturated minority domains. Long-period attractors combine spatially fixed local oscillators; apparent class-IV gliders are artefacts of index-ordered tie-breaking. Straight fronts stayed within two cells of their initial position for up to 500,000 steps, over which they are one-dimensional automata with non-recurrent, incompressible dynamics and positive Lyapunov speeds, constant for L>=48. Compared with mean-field and random-regular-graph controls, the lattice lengthens conflicts about twentyfold and clusters conquest: a cell next to a fresh conquest is about five times as likely as average to be conquered next, against 1.1-1.5 in the controls.
Introduction
Risk models war with territories, an adjacency relation, integer armies, random attrition, reinforcement and redeployment, the ingredients of agent-based models of combat and civil conflict [1, 2]. Since the board is a graph whose nodes carry a finite state updated through their neighbours, the combat and fortification rules of the game can be written as a cellular automaton (CA) on a graph [3].
Mathematical work on Risk has not used this description. It treats a single battle as an absorbing Markov chain [4, 5], which gives exact odds but no spatial information. Lattice and agent-based models of combat [1], state formation [6], spatial competition [7] and insurgency [8] have, to our knowledge, not been applied to a Risk-derived rule, and none places the dynamics of such a rule in one of Wolfram’s classes [9].
A lattice formulation describes what the battle chain cannot: the spatial spread of conquest, the formation and coarsening of fronts, and the structure of attractors. The model studied here, RiskCA, is derived from Risk but is not the game. Every cell follows one fixed heuristic, “attack the weakest hostile neighbour when stronger by ”; a fixed growth rate replaces reinforcement; each cell holds at most units; only the battle kernel is taken from the game unchanged. RiskCA is also far from the elementary and totalistic rules for which Wolfram’s classes were introduced: each cell has states (64 by default) and the rule has radius up to 6 (Lemma 1). We study one family of rules, parametrised by growth and attack margin, and use the classification to describe its dynamics, not to test the scheme or to predict the course of games or conflicts. We ask: (Q1) What formal properties does the rule have?
(Q2) How does the attack margin determine the long-run behaviour, and is the change from dominance to fragmentation a phase transition?
(Q3) Which observed behaviours are long-period or long-transient class-II dynamics, which are sustained irregular dynamics, and which are artefacts of the implementation?
(Q4) How does spatial structure change the dynamics, compared with a mean-field control and a random graph of the same degree?
In brief, the answers are as follows.
(Q1) The rule has radius up to 6, a bound that is attained, its deterministic form is irreversible for the default parameters, and without growth it always freezes; near an interface its dynamics is locally determined (§ 3). All these results are machine-checked in Lean 4 (§ 4).
(Q2) Low leads to dominance by one faction, high to a frozen partition. For , the largest faction’s share drops between and 5, more steeply in larger systems; with a continuous threshold the drop is a step about half a unit of wide at , but whether it is a phase transition cannot be decided with our data (§ 5.5).
(Q3) Resolved runs end on homogeneous or heterogeneous attractors, labelled I and II in the operational sense of § 4.2. The informative findings are about their structure: long cycles combine spatially fixed local oscillators, apparent class-IV structures are tie-breaking artefacts, and sustained irregular dynamics was observed only on stalemated fronts (§ 5.3 and § 5.11).
(Q4) On the lattice, conflicts last about twenty times longer and conquests are more clustered than in either control (§ 5.7).
The main contribution is a mechanism rather than a classification. Several features of RiskCA, such as coarsening and stripe states, are shared with majority-type lattice models; what is specific is the coupling of the ownership field to a troop field, which separates the global attractor dynamics from irregular dynamics localised at interfaces: saturated troops make minority domains unconquerable and freeze fragmented partitions, while heterogeneous troops keep interfaces active where the corresponding Ising stripes are frozen. In our runs irregular dynamics is confined to one-dimensional fronts, and the comparison with a random regular graph points to the geometry of the lattice, rather than the locality of interaction, as what makes conflicts long and conquest clustered.
§ 3 defines RiskCA and answers (Q1). § 5 addresses (Q2)–(Q4) and simulates the 42-territory board. § 6 and § 7 discuss the results and their limitations.
Related work
Complexity classes. Wolfram [3, 9] divided the long-run behaviour of CA into homogeneous states (class I), separated simple or periodic structures (II), aperiodic patterns (III), and interacting localised structures with long transients (IV). Packard and Wolfram [10] extended the classification to two-dimensional rules, mainly two-state totalistic and outer-totalistic rules, and found the same four classes on the whole lattice; Wolfram [11] surveys the classes across many kinds of systems. Class membership is undecidable in general [12], so classifications rest on operational criteria such as Langton’s parameter [13], damage spreading [14, 15], input-entropy variance [16] and compressibility [17]; we use the last three. Invertible CA are reviewed in [18] and the effect of the updating scheme in [19]; on irregular graphs the topology itself changes the patterns a rule can produce [20]. For one-dimensional CA, the speeds at which perturbations spread to the left and right define Lyapunov exponents [21].
Spatial conflict and coarsening. The voter model, introduced as “a model for spatial conflict” [7], has no surface tension: on the two-dimensional torus its consensus time grows as [22] and its interface density decays logarithmically [23]. With surface tension, as in majority-vote models [24] and zero-temperature Ising dynamics, domains coarsen with a characteristic length growing as [25]. On the square lattice, zero-temperature Ising dynamics does not always reach consensus: a finite fraction of runs end in frozen states of straight stripes spanning the system [26]. In spatial games, local imitation of more successful neighbours produces persistent and chaotically fluctuating spatial patterns [27].
RiskCA shares curvature-driven coarsening and stripe states with these models but not the mechanism: domains change through battles decided by integer troop counts, which growth raises, combat depletes and fortification redistributes (§ 6).
Analyses of Risk and models of combat. Tan [4] treated a battle as an absorbing Markov chain, and Osborne [5] corrected the independence assumption for sorted dice. ISAAC and EINSTein [1] analyse emergent behaviour in agent-based combat, Epstein [2] models civil violence, Pratt et al. [8] couple fuzzy cognitive maps to a CA to model insurgency, and GeoSim [6] models state formation through conquest on a grid. To our knowledge, none of these studies the collective dynamics of a Risk-derived rule or places such dynamics in Wolfram’s classes (Table 1).
Table 1: Coverage of related work. ✓: addressed; (✓): partly, e.g. agents moving on a lattice rather than a cellular automaton, or complex dynamics discussed without assigning Wolfram classes; –: not addressed.
| Spatial lattice | Exact battle kernel | Local rule as CA | Wolfram class | Damage / attractors | Board-level statistics | |
| Markov analyses of Risk [4, 5] | – | ✓ | – | – | – | – |
| ISAAC / EINSTein [1] | ✓ | – | (✓) | (✓) | (✓) | – |
| FCM + CA insurgency [8] | ✓ | – | ✓ | – | – | – |
| GeoSim [6] | ✓ | – | (✓) | – | – | – |
| Voter, majority and Ising models [7, 23, 24, 26] | ✓ | – | ✓ | (✓) | ✓ | – |
| Spatial games [27] | ✓ | – | ✓ | (✓) | – | – |
| This paper | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Table 1.
The RiskCA model
The main symbols are listed in Appendix § 9.
Lattice and state
Definition 1 (Graph lattice). A board is a finite simple graph with cells. The neighbourhood of cell is and its degree is .
We use the torus with the von Neumann neighbourhood (), and in § 5.11 also open boundaries and the Moore neighbourhood. The other board is the 42-territory, six-region map of the game (83 edges, degrees 2–6, region bonuses ; Appendix § 13).
Definition 2 (Cell state). The state of cell at time is , where is the owning faction and the number of units stationed there. A configuration is ; the configuration space has elements.
Every cell is always owned and holds at least one unit; the cap keeps the state space finite.
Local update rule
A time step applies , four sub-rules acting simultaneously on all cells (Figure 1). Write for the hostile neighbours of and for its threat. A cell with is interior, otherwise frontier. Ties are broken by a fixed priority , a random permutation of drawn once per run (“quenched”); § 5.3 compares this with index order, . Because is attached to cells, a run with fixed is a CA with quenched spatial disorder in its tie-breaking: the update of a cell depends on the priorities around it, and the rule is not translation invariant. Index order is not translation invariant either; it ranks cells along a fixed direction, which is why it produces translating structures (§ 5.3). Each run draws its own , so results with quenched priorities refer to the ensemble of disordered realisations.
Figure 1. One RiskCA step on a 4 × 5 open patch (two factions, , , deterministic battles), computed with the model code. Bold numbers mark cells changed by each sub-rule. (D) Arrows point from attackers to their targets. (R) Attackers keep one unit; all three attacks succeed. (F) Two interior cells send half their surplus towards the front.
(G) Growth. with integer . On the 42-territory board we instead use Risk-like reinforcement: faction receives units (: cells owned by ; : regions it owns completely; : region bonus), placed at random on its frontier cells (with the cap ). Because depends on , this couples distant cells: the board model is a territorial dynamics with global feedback, not a CA. All formal results below, and all experiments except E7, concern the local rule with growth .
(D) Decision. Each frontier cell selects the weakest hostile neighbour, with ties broken by (pairs are compared lexicographically, here and below),
and wants to attack it iff
The integer attack margin is the only parameter of the heuristic (E17 interpolates between integer values); since , no attacks occur for .
(R) Resolution. Each target accepts, among the cells that want to attack it, the one with the largest committed force (ties by ); the others hold, and a target that nobody wants to attack is not attacked. All accepted battles are resolved simultaneously from the configuration after (D). The attacker keeps one unit (); the defender fights with its strength after commitments, , so a cell whose own attack was accepted defends with one unit. A conquered cell takes the owner that its attacker had at the start of the step, even if the attacker’s own cell is conquered in the same step; for example, if attacks and attacks , both successfully, then passes to ’s original faction and to ’s. Two battle operators are used.
Deterministic (). The attacker wins iff and moves in with units; otherwise the defender keeps . The exchange ratio (1.171764 in the code) is the ratio of expected defender to attacker losses in a 3-against-2 roll (§ 5.1), so replaces the dice by their expected losses. It reproduces the mean exchange of units but not the variance of battle outcomes; how far this matters is tested against the exact dice in § 5.1 and § 6.
Exact dice (). The outcome is drawn from the absorbing distribution of the battle chain [4, 5]; the attacker rolls dice and the defender , dice are sorted and paired, ties go to the defender, and the battle continues until one side is exhausted. is computed by dynamic programming (Algorithm 2).
(F) Fortification. After battle, each interior cell sends units to the friendly neighbour of highest threat, , provided and . Inflows are capped at and the excess (overflow) is lost. Receivers have , so no cell both sends and receives.
Schedules and control. In the synchronous schedule, which defines the CA, all cells apply at once. In the turn schedule, closer to the game, each round has phases in random order, and only the cells of faction act in phase .
In the mean-field control, in (D)–(R) is replaced by cells other than , drawn uniformly with replacement for each cell and redrawn at every step (for , fewer than 3% of cells draw the same partner twice); growth and fortification keep the lattice neighbourhood. This removes spatial correlations in combat but also changes who meets whom: a cell faces the global rather than the local distribution of owners and troops. A second control runs the unchanged rule on a quenched random 4-regular graph, which keeps the degree and the locality of interactions but has no low-dimensional geometry.
Lemma 1 (Radius). Let the radius of the rule be the smallest such that the state of every cell after one step depends only on the states of the cells within graph distance of it. For dice, the step is a function of the configuration and the random numbers; the radius refers to this function with the random numbers held fixed, so a bound holds for every realisation and is attained if it is attained for some realisation. On any board and for any priority : (a) the radius is at most 6; (b) with deterministic battles, and , every accepted attack succeeds and the radius is at most 5; (c) for , when no attack is possible, the radius is at most 3. On open patches of the square lattice the bound 6 is attained with deterministic battles and , and with dice and ; the bound 5 is attained with deterministic battles and .
Proof. (a) A decision in (D) depends on the cell and its neighbours (distance 1). Acceptance at a target depends on the decisions of the neighbours of , hence on states within distance 2 of . The state of a cell after (R) depends on whether its own attack was accepted (distance ), on whether and by whom it was conquered (distance 2), and on the committed forces involved; it therefore depends on states within distance 3. In (F), a sender needs the owners within distance 2 (to compute and the threats of its neighbours) and the troops of its destination; a receiver adds the inflows of its neighbours. The result of (F) at a cell therefore depends on the post-(R) states within distance 3, so has radius at most . (b) An attack on is wanted only if , so , and gives . Whether a target is conquered, and by whom, then depends only on acceptance at that target, hence on states within distance 2 of it. Since owners change only at targets, the post-(R) owner of any cell depends on states within distance 2; in particular, whether an attacker’s own cell is conquered depends on acceptance at that cell and not on whether its own attack elsewhere was accepted. The post-(R) troops of a cell depend in addition on whether its own attack was accepted, hence on states within distance 3. A sender’s choice and transfer then depend on states within distance 4, and a receiver’s inflow on states within distance 5. (c) Without attacks the owners do not change, a sender depends on the owners within distance 2 of itself and on the troops of itself and its destination, and a receiver on its neighbouring senders, hence on states within distance 3. The bound in (a) is independent of , which enters only through tie-breaking. Appendix § 11 gives an explicit pair of configurations attaining 6 with deterministic battles and . Configurations attaining 6 with dice and (for fixed random numbers) and 5 with deterministic battles and were found by local search on a patch; all three are reproduced by unit tests.
A perturbation can spread at most 6 cells per step, and at most 5 with deterministic battles, and .
Formal properties
Proposition 1 (Finite-state determinism). For the synchronous deterministic rule , integer , fixed ), every orbit is eventually periodic: there exist a transient and a period x(\tau + p) = x(\tau)$.
Proof. is a function on the finite set . By the pigeonhole principle, some configuration repeats within steps.
With the dynamics is a Markov chain on , and individual trajectories need not be periodic. Throughout the paper, transients, periods, attractors and Wolfram classes refer only to the deterministic rule. For the dice rule we use only absorbing configurations, in which no attack is possible so that the step is deterministic (for example consolidated or saturated configurations), and observed quantities such as the time to consolidation and the rate of owner changes. Propositions 2 and 4(c) also assume deterministic battles; Propositions 3, 4(a,b), 5 and 6 hold for both operators.
Proposition 2 (Irreversibility). Let the board be connected with , let , and let battles be deterministic. Then is not injective if at least one of the following holds: (i) ; (ii) and ; (iii) , fortification is enabled and the board is not a complete graph; (iv) and . In each case there are configurations without a pre-image (Garden-of-Eden configurations). Without growth, and without fortification or on a complete graph, where (F) is inactive, two cases remain: if , no attack is possible and is the identity, hence injective; if , attacks are possible only from saturated cells against cells with one unit, and injectivity is left open. For , which includes the default, these are the only cases not covered.
Proof. The conditions can hold simultaneously; since (i) covers , we assume in (ii)–(iv). In each case we give two distinct configurations with . (i) Let be homogeneous with , and equal to except at one cell. No cell has a hostile neighbour, so (D), (R) and (F) are inactive, and (G) maps both to . (ii) Take an edge . In , cell is owned by faction with , cell by with , and every other cell by with one unit; equals except . Only can attack, since all other cells hold one unit, and it attacks because . With or against the attacker wins () and keeps unit. Both images are homogeneous with one unit per cell, and (F) is inactive. (iii) Since the board is connected and not complete, it has cells at graph distance 2. Give to faction and all other cells to , so that is interior and has a friendly neighbour adjacent to ; let , which depends only on ownership and has . In set , , in set , , and give every other cell one unit. No battle occurs, since every cell except and holds one unit, is interior and . In (F), only can send; it transfers unit in and none in , so both images have . This case does not involve . (iv) Take an edge , give to faction and every other cell to with one unit. In set , ; in set , , which is possible since . Only can attack: other cells of hold one unit, and . Since , attacks with against in and against in , and wins in both because and . For , and , so the conquering force is in both cases. Both images are owned by throughout, with , and one unit elsewhere, and (F) is inactive. Since a map from a finite set to itself is surjective iff it is injective, has Garden-of-Eden configurations.
Proposition 3 (Troop balance). Let be the troop mass and the number of battles at step . Then
where is the growth actually added (after capping), the units destroyed in combat and the units lost to the cap in fortification. Moreover .
Proof. (G) adds units. (F) conserves units except for the capped excess . For a battle with committed force and defence , the attacker side loses units from its origin and the pair ends with (win) or (loss). Under a win loses units because , and a defeat loses because . Under the same inequalities hold for the survivor counts. A cell whose own attack is accepted and which is attacked in the same step takes part in two battles, but no unit is counted twice: its committed force belongs to the first battle and the single unit it keeps is its defence in the second, so is the sum of the losses of the battles, each at least one. The bounds follow from .
Troop mass is not conserved: growth injects it, and combat and overflow dissipate it.
Proposition 4 (Fixed points and absorbing set). (a) The homogeneous configurations form an absorbing set. For they reach the saturated homogeneous fixed point within steps. (b) Let . Then, for any , every saturated configuration , with any ownership pattern, is a fixed point; there are of them. (c) Let the board be connected, battles deterministic, , and (true for the defaults , ). Then a saturated configuration is a fixed point iff it is homogeneous.
Proof. (a) Without hostile neighbours, (D)–(F) are inactive and (G) raises every cell by until the cap. (b) Saturation makes (G) a no-op. Condition (2) requires , but all differences are zero, and (F) transfers . (c) On a connected board a heterogeneous configuration has at least one frontier cell, and when it is saturated every frontier cell satisfies (2) with . Each selected attack commits against and wins, because , so ownership changes.
If , an attack on a saturated defender that has not committed itself fails, ownership may be unchanged, and whether a heterogeneous saturated configuration is a fixed point depends on whether fortification restores the troops lost in combat; we have not characterised this case, which does not arise for the default parameters.
Proposition 5 (Finite-time freezing without growth). If , every trajectory, with deterministic or dice battles, reaches a fixed point after finitely many steps; the number of steps in which the configuration changes is at most , with .
Proof. With , (G) is inactive. Let and , where is the troop mass on interior cells. Since and , we have . We show that decreases by at least one in every step that changes the configuration. In a step with a battle, Proposition 3 gives , which lowers by at least , more than any increase of . In a step without battles, (R) changes nothing, so ownership and the threats are unchanged and only (F) acts. It moves units from interior cells to frontier cells and never in the opposite direction, because receivers have ; hence does not increase and decreases by the number of units sent, which is at least one if the configuration changes. The number of changing steps is therefore at most . If a step does not change the configuration, that configuration is a fixed point of and the trajectory stays there. □
Without growth every orbit of the deterministic rule ends on a fixed point, homogeneous or not, which is class-I or class-II behaviour in Wolfram’s sense.
The next result concerns the interfaces between factions. Let be the set of frontier cells and the graph distance from to .
Proposition 6 (Locality of interfaces). For either battle operator and any , in one step of the local rule: (a) every cell with changes only through (G); (b) if the adjacency is symmetric, the states after the step of the cells with do not depend on the troops of the cells with : two configurations with the same owners whose troops agree on have images that agree on (given and, for dice, the random numbers).
Proof. Only frontier cells attack or are attacked, so owners change only on , and after (R) a cell can be a frontier cell only if . Senders in (F) are interior cells with a neighbour that is a frontier cell after (R), so they have ; receivers have . Hence a cell with neither attacks, is attacked, sends nor receives, which is (a). For (b), the troops read in (D)–(F) when updating a cell with are those of attackers and targets, which are frontier cells (a hostile neighbour of a frontier cell is itself a frontier cell when adjacency is symmetric), of senders, and of receivers, which are frontier cells after (R) and hence have before it; all have . The remaining inputs are owners, which are the same in both configurations. □
Proposition 6 says that the dynamics near an interface is locally determined, not that the interface stays in place. A one-dimensional CA requires two further conditions, neither of which follows from the rule. Suppose that over a time window the frontier cells of one interface stay within the strip of rows at distance at most from a fixed horizontal line on , and all other frontier cells stay at distance more than 10 from that strip. Then the rows within distance of the line evolve autonomously: each of their cells either changes only by growth (Proposition 6(a)) or lies within distance 2 of the interface, in which case its update depends on owners, which are constant outside the strip, and only on the troops of cells within distance 2 of the interface, which lie in these rows (Proposition 6(b) and Lemma 1). On that window, and only on it, the front is a one-dimensional CA on whose cell is a column segment of height and whose radius is at most 6 columns. Whether the conditions hold is an empirical question; E14 measures .
Hypothesis 1 (Complexity at intermediate attack margins). For , the most complex behaviour (longest transients, intermediate damage spreading, most variable event entropy) occurs at intermediate attack margins, between fast consolidation at and saturation and freezing as . This is an “edge of chaos” hypothesis in the sense of Langton [13]; it is tested in § 5.2.
Experimental design
Defaults are , , , fortification on, synchronous updating, deterministic battles and quenched tie-breaking, with and initially independent and uniform. The experiments are listed in Table 2.
| ID | Purpose | Board, rule | Factors | |
| E1 | Battle kernel and its reduction | – | exact | |
| E2 | Class over | , det. | , , 2 tie-breaks | 16 |
| E3 | Finite-size scaling | , det. | 6 regimes, | 12 |
| E4 | Damage spreading | 7 cases | 16 | |
| E4b | Heterogeneity of damage | , det. | 3 regimes, 2 perturbations | 64 |
| E5 | Lattice vs. mean field | 4 variants, | 16 | |
| E5b | Random 4-regular graph | graph, | det./dice | 16 |
| E6 | Number of factions | , det./dice | 24 | |
| E7 | 42-territory board | board, dice | , 2 schedules | 500 |
| E8 | Sensitivity analysis | , det. | 6 factors | 384 |
| E9 | Open boundaries | , det./dice | 24 | |
| E10 | Moore neighbourhood | , | 12 | |
| E10b | Long E10 runs | , det. | , , | 12 |
| E11 | Stalemated fronts | , | , det./dice | 16 |
| E12 | Front Lyapunov speeds | , , det. | 8–12 | |
| E13 | Transition or crossover | , det. | , | 48 |
| E13b | Extension of E13 | , det. | , | 48 |
| E13c | Censored E13b runs continued | , det. | , | 32 runs |
| E14 | Front geometry and bulk | , , det. | 6 initial conditions | 12 |
| E15 | Fortification fraction | , det. | , , all | 16 |
| E16 | Dice over | , dice | , all | 16 |
| E17 | Continuous attack threshold | , det., random attacks at margin | , | 24 |
| E18 | Interaction of oscillators | , det. | 104 long cycles of E2 | 40 tests |
| E19 | Larger and longer fronts | , , det. | , | 8 |
Table 2. Experiments. : runs per parameter combination; details in § 5.
Measures
For the deterministic rule the transient and period are exact (Proposition 1). We store a 128-bit BLAKE2b digest of each configuration and stop at the first repeat; the probability of a digest collision over the whole study is below . Runs without a repeat within are censored. For cycles with we also record the period of each cell’s own state sequence. The global period is always the least common multiple of these local periods; what distinguishes attractors is whether some cell carries the global period itself. If none does, the long period arises only from combining spatially fixed oscillators with shorter, different periods; if many cells do, the cycle is carried by structures that move across the lattice.
For damage spreading, the owner of one random cell is changed in a copy of the configuration and both copies are evolved, with shared random numbers for stochastic rules [15]. We record the fraction of cells with different owners, , or different state (owner or troops), , and the damage radius. The two differ when a perturbation changes troop counts without changing the territorial outcome. Damage heals or stays confined in classes I and II, spreads linearly through the system in class III, and spreads irregularly in class IV [9, 14].
The compression ratio is the zlib size of the ownership space-time block for , relative to a shuffle of the same symbols [17]. For the event entropy, each cell at each step is assigned one of nine events (idle, grow, attack won or lost, defence held, conquered, fortification sent or received, held back); is the standard deviation over of the Shannon entropy of the event histogram, which, like Wuensche’s input-entropy variance [16], is large when quiescent and active periods alternate. We also record the activity, the fraction of cells that change owner in a step; the interface density , the fraction of edges joining cells of different factions; the consolidation time (until a single owner remains); and the contagion ratio , computed over the first 400 steps, up to the last step with a conquest, with the neighbours of the board (lattice neighbours also for the mean-field control).
Class criteria
Wolfram’s classes describe the space-time behaviour of a rule from typical initial conditions, and they are asymptotic, whereas a simulation observes a finite transient, a finite-time response to perturbations and, if it ends, an attractor. We keep the three apart. Labelling runs by their attractor is an operational choice made for this study: a run labelled I or II has reached a homogeneous or a heterogeneous attractor, which says nothing about its transient and is not a claim about the Wolfram class of the rule as a whole. The transient and the response to perturbations are reported separately for that reason. Because I and II exhaust the possible attractors, the labels alone cannot reveal class-III or class-IV behaviour; that question is addressed by the structure of the attractors (whether a long cycle is carried by moving structures or by fixed local oscillators, § 5.3), by the transients and damage, and by the fronts. Wolfram’s classes were introduced for translation-invariant rules; with quenched priorities each run is a rule with fixed spatial disorder, and the labels describe the ensemble over , not a single rule. The attractor class is assigned only when the deterministic run reaches an attractor within : class I if it has a single owner (by Proposition 4(a), for this attractor is the saturated homogeneous fixed point), class II otherwise, whether a fixed point or a cycle of any period. Cycles with are reported separately as long cycles because they distinguish the two tie-breaking rules (§ 5.3), but they are not a separate class. A censored run is unresolved (U); it may have a long transient, a long period or neither. Unresolved runs are labelled by their finite-time sensitivity, U if the owner damage , averaged over after a perturbation at , is at least 0.4 and U otherwise; the label describes a transient response and makes no claim about class III or IV. The transient length and are reported for all runs. A censored run is called a stalemate if at least two factions survive, more than half of the rows or columns are owned by a single faction, and the mean activity over the last 500 steps exceeds . Each parameter combination takes the majority label of its runs. The thresholds were fixed after a pilot sweep; their effect is tested in § 5.2.
Statistics and reproducibility
Medians and means carry 95% bootstrap intervals [28] and proportions Wilson intervals. Scaling exponents are least-squares fits on log–log data over the individual runs that reach an attractor, with bootstrap intervals; censored runs are reported separately. For comparison we also give the fit to the medians and a maximum-likelihood fit of all runs with a log-normal transient right-censored at (a Tobit model). Groups are compared with Kruskal–Wallis, Mann–Whitney and Fisher tests, paired speeded with the Wilcoxon test, and trends with Spearman’s ; Holm-adjusted -values for all seventeen tests are in Appendix § 15. Global sensitivity uses partial rank correlation coefficients on a Latin hypercube [29].
On the 42-territory board (E7), territories are dealt at random and factions start with the standard 35, 30, 25 or 20 units, one on each of their territories and the rest placed uniformly at random among them. We use , , dice and Risk-like reinforcement. A game ends with total conquest or after 600 rounds; a region is secured when one faction holds it for three consecutive rounds.
The seed of every run is derived from the master seed 20261112 by numpy’s SeedSequence, keyed by a SHA-256 hash of the experiment name and parameters, so any single run can be regenerated. Unit tests check the dice probabilities, the board, Propositions 3–6, Lemma 1 and the cycle detector. In addition, an independent implementation of the rule in Lean 4, with the battle operator as a parameter, machine-checks every formal result of § 3 for every board and state: Lemma 1 with its three witnesses and Propositions 1–6, for deterministic battles and, where the statements include dice, for every realisation of the dice, including the dice operator of the code. Appendix § 12 lists the Lean declarations. Lean also checks the examples of Figure 1 and Appendix § 11, and the single-roll counts, , the battle probabilities and the comparison of with the exact kernel reported in § 5.1. The repository contains the per-run results of every experiment (JSON, 11 MB), from which analyse.py regenerates all tables and figures without rerunning the simulations, and a machine-readable list of experiment configurations. The study runs in about nine hours on four cores with Python 3.13, NumPy 2.5, SciPy 1.18 and Matplotlib 3.11.
Results
Battle kernel (E1)
Enumeration reproduces Osborne’s corrected single-roll probabilities [5]: with three dice against two, the defender loses two units with probability 2890/7776, the attacker two with 2275/7776, and each one with 2611/7776. The expected losses per roll, 0.9209 for the attacker and 1.0791 for the defender, give . The probability that committed units defeat defenders (Figure 2) is 0.417 for (1, 1), 0.506 for (5, 5) and 0.633 for (20, 20), so small equal battles favour the defender and large ones the attacker. predicts the more probable outcome in 97.6% of the grid , with a mean error of 0.81 units in the surviving attackers. All 22 errors lie next to the boundary , at every battle size from (1, 1) to (26, 30); in each of them awards the battle to the attacker although the exact probability of winning is 0.36–0.50. The board simulations use the exact kernel.
Figure 2. Probability that committed units defeat defenders, with the 50% contour (black) and the deterministic boundary (dashed).
Classification over the plane (E2)
Figure 3 shows four typical regimes, Figure 4 the phase diagram from 640 runs (, ), and Table 3 the statistics of each label.
Figure 3. Ownership at selected times (one colour per faction, ) and troops at (last column; light = few units) on . R1 () freezes at once. R2 () coarsens into compact domains with depleted borders; most R2 runs end with one owner, but this one ends in two straight stripes whose fronts are still active after steps (a stalemate, § 5.11). R3 () coarsens into a partition that ends on a saturated fixed point or a cycle (31 and 28 of 60 runs in E3). R4 () keeps a fine mosaic with a few oscillating cells.
| class | |||||
| I | 169 | 275 [254, 303] | 0.000 [0.000, 0.000] | 0.266 [0.263, 0.271] | 0.531 [0.510, 0.541] |
| II | 451 | 134 [123, 148] | 0.030 [0.020, 0.045] | 0.109 [0.101, 0.119] | 0.509 [0.449, 0.539] |
| U | 15 | (all censored) | 0.019 [0.000, 0.087] | 0.254 [0.240, 0.291] | 0.156 [0.096, 0.172] |
| U | 5 | (all censored) | 0.445 [0.416, 0.703] | 0.255 [0.239, 0.324] | 0.167 [0.102, 0.185] |
Table 3. Medians by label (95% bootstrap CI), E2.
Figure 4. Phase diagram on (16 runs per cell). Colour: the quantity named above each panel (damage, and : mean over runs); labels: majority label (§ 4.2).
For every run reaches a multi-owner fixed point within 6–14 steps (median), as Proposition 5 requires. These runs are more than a quarter of the class-II runs, which is why class II has shorter median transients than class I in Table 3 (134 against 275 steps; 180 for class-II runs with ): reaching a single owner requires coarsening until one domain remains, whereas many multi-owner attractors are reached by freezing. For and , 56–100% of runs end with one owner after median transients of 173–558 steps. Consolidation proceeds by domain-wall motion, and the walls appear in the troop field as depleted bands (Figure 3, R2).
The probability of consolidation falls quickly with : for it is 0.75, 0.88, 0.62, 0.19, 0.06 and 0 at and 6. Beyond this point runs freeze into saturated partitions; all 100 multi-owner fixed points with have , as in Proposition 4(b). The median transient peaks near the change (772 steps at , against 330 at and 181 at ), consistent with Hypothesis 1 for transients; the attractors on both sides are nevertheless fixed points. § 5.5 analyses this change at larger sizes.
Of the 451 class-II runs, 111, almost all with , end on long cycles, with periods from 48 to 27 720 (§ 5.3). Only 20 runs (3.1%) remain unresolved after steps, 5 of them U. Eighteen of these have , two or three factions and a low interface density, consistent with a few long domain walls; they are examined in E3 and E11. Owner damage is larger in class-II than in class-I runs (median 0.030 against 0; Mann–Whitney ), whereas compressibility shows no significant correlation with damage (Spearman ) and instead separates active coarsening () from frozen or oscillating mosaics (–). Neither is a reliable class indicator alone [12, 17]. The unresolved runs have the compression ratio of coarsening runs () but the lowest entropy variability (), as expected for a few long domain walls that remain active while the rest of the lattice is quiescent.
The majority labels do not depend on the thresholds (Table 18). Moving the damage threshold between 0.2 and 0.6 relabels at most 4 of the 20 unresolved runs and no parameter cell. Shortening the window to 8000 or 3000 steps leaves 9 or 17 more runs unresolved but changes no majority label; only changes one. The long-cycle count depends on the cut-off (119, 111 and 81 runs for , and ), which is one reason not to treat long cycles as a class.
| variant | runs relabelled | cells with new majority label | unresolved runs |
| default ( threshold 0.4, ) | – | – | 20 |
| threshold 0.2 | 2/640 | 0/40 | 20 |
| threshold 0.3 | 1/640 | 0/40 | 20 |
| threshold 0.5 | 3/640 | 0/40 | 20 |
| threshold 0.6 | 4/640 | 0/40 | 20 |
| 9/640 | 0/40 | 29 | |
| 17/640 | 0/40 | 37 | |
| 53/640 | 1/40 | 73 |
Table 18. Sensitivity of the E2 labels to the thresholds (quenched tie-breaking, 640 runs, 40 parameter cells). variants re-censor runs whose attractor was detected only after the shorter window.
Tie-breaking and long cycles
Repeating E2 with index-ordered tie-breaking, , barely changes the label counts (I/II/U/U: 169/451/5/15 quenched, 172/454/1/13 index), but the long cycles change character. With quenched priorities, the 111 long periods are highly composite (60, 84, 120, …, 27 720) and only 6.3% are multiples of . Local periods were computed for the 104 cycles with : in 94 of them no cell has the global period, the longest local period is in the median a third of the global one, the local periods take typically four distinct values, and a median of 5.6% of cells oscillate. These attractors are combinations of spatially fixed local oscillators with different periods. E18 tests whether the oscillators interact. In each of the 104 cycles, the oscillating cells were grouped into clusters more than 6 cells apart (median 4 per cycle, range 1–8) and into contiguous oscillators (median 9, range 1–22). If the oscillators do not interact, setting each of them to an independent phase of the cycle gives another orbit, so that one step of maps the shifted configuration to the shifted successor; this was checked exactly for 40 random choices of phases per cycle. The clusters passed every trial in all 104 cycles, and the contiguous oscillators in 95. In the other 9 cycles, all with , 1–8 of the 40 trials failed, so some oscillators closer than the radius interact. In 81 of the 95 cycles no oscillator has the global period, which arises only from combining independent oscillators. Passing a sample of trials does not prove independence, but these long cycles are consistent with class II in the sense of separated periodic structures. With index order there are 59 long cycles, 58 of them with periods that are multiples of ; in 56 of the 57 analysed, some cells have the global period, and in the median case the only local periods are 1 and the global period. These are structures translating around the torus. They resemble the localised moving structures of class IV, but since they are absent with quenched priorities, they are produced by the asymmetry of the tie-breaking rule.
Finite-size scaling (E3)
The frozen regime R1 has an almost size-independent transient (median 9–10 steps, [0.05, 0.11]; Table 4, Figure 5). For the coarsening regimes R2, R5 and R3 we report two strata separately. Among runs that reach an attractor, the transient grows as , and (fits to the medians: 2.17, 2.09, 2.01), consistent with the diffusive of curvature-driven domain coarsening [25]. The censored runs form a second stratum: of the 14 in R2 and R5, 8 are stalemated fronts (Section 5.1.1), which need not end at all, and their share grows with (Table 4). A single log-normal model with censoring, which mixes the two strata, gives 2.53 [1.93, 3.13], 1.94 [0.95, 2.93] and 1.93 [1.70, 2.16]; we report it for comparison only, since a competing-risks description (consolidation versus stalemate) would be more appropriate and needs more runs than we have. The run-to-run scatter is large (–0.79 in ), and five sizes with 12 runs each provide a weak consistency check with , not an estimate of an asymptotic exponent. The per-run data are in the repository. In R4 the period rather than the transient grows with size, from at most 720 at to 21 840 at , with ten of 24 runs censored for . This is consistent with the oscillator decomposition, since the least common multiple of small integers grows roughly exponentially with . With index order, R4 transients do not grow () and all 15 long periods are multiples of the respective (208 = 13 · 16, 864 = 27 · 32, 3392 = 53 · 64), confirming the tie-breaking artefact at all sizes.
| regime | (uncensored) | (medians) | (censored ML) | censored runs per | stalemates | ||
| R1 frozen () | 0.08 [0.05, 0.11] | 0.29 | 0.08 | 0.08 [0.05, 0.10] | 0.06 | [0, 0, 0, 0, 0] | 0 |
| R2 coarsening () | 2.03 [1.81, 2.22] | 0.67 | 2.17 | 2.53 [1.93, 3.13] | 1.57 | [0, 1, 2, 1, 3] | 4 |
| R3 partition () | 1.93 [1.70, 2.19] | 0.74 | 2.01 | 1.93 [1.70, 2.16] | 0.57 | [0, 0, 0, 0, 0] | 0 |
| R4 high-threshold () | 0.40 [0.15, 0.64] | 0.19 | 2.61 | n/aᵃ | – | [0, 0, 0, 3, 7] | 0 |
| R5 coarsening () | 2.13 [1.94, 2.33] | 0.79 | 2.09 | 1.94 [0.95, 2.93] | 1.84 | [2, 0, 2, 1, 2] | 4 |
| R4-index () | 0.24 [−0.03, 0.53] | 0.05 | 0.13 | 0.24 [−0.06, 0.53] | 0.51 | [0, 0, 0, 0, 0] | 0 |
Table 4. Finite-size scaling (–, 12 runs per ). Least-squares fit on the runs that reach an attractor (95% bootstrap CI) and its ; fit to the medians (censored runs at ); maximum-likelihood fit with censoring and its residual standard deviation (in ). Stalemates: censored runs with two or more factions, mostly uniform rows or columns, and continuing combat. ᵃIn R4 censoring is caused by long periods, not long transients, so the censored model does not apply, and the fit to the medians (2.61) reflects the growth of periods beyond , not of transients.
Figure 5. Median transient against (95% bootstrap CI), with censored runs counted at . Open circles: sizes with at least one censored run. *For R4 the censoring at is caused by periods longer than , so the rise of this curve reflects period growth, not longer transients.
Dominance–fragmentation crossover (E13–E13c)
To test whether the change found in E2 is a phase transition, the deterministic rule (, ) was run for at to 64, and for also at and 128 (E13b), with 48 runs per point (Table 5, Figure 6).
| scale | |||||||||||
| 16 | 0.97 (0.94) | 0.95 (0.90) | 0.98 (0.67) | 0.97 (0.50) | 0.89 (0.17) | 0.83 (0.00) | 0.74 (0.00) | 0.65 (0.00) | 0.33 (0.00) | 2.66 [2.38, 2.91] | 0.77 [0.65, 0.98] |
| 24 | 0.93 (0.85) | 0.92 (0.79) | 0.96 (0.60) | 0.95 (0.56) | 0.85 (0.04) | 0.64 (0.00) | 0.51 (0.00) | 0.53 (0.00) | 0.30 (0.00) | 2.32 [2.07, 2.59] | 0.89 [0.75, 1.06] |
| 32 | 0.91 (0.79) | 0.93 (0.83) | 0.94 (0.71) | 0.94 (0.33) | 0.91 (0.08) | 0.54 (0.00) | 0.46 (0.00) | 0.43 (0.00) | 0.29 (0.00) | 2.21 [1.94, 2.44] | 0.88 [0.71, 1.06] |
| 48 | 0.89 (0.79) | 0.93 (0.81) | 0.93 (0.48) | 0.90 (0.27) | 0.88 (0.00) | 0.41 (0.00) | 0.38 (0.00) | 0.40 (0.00) | 0.27 (0.00) | 1.81 [1.52, 2.05] | 0.81 [0.66, 0.98] |
| 64 | 0.91 (0.83) | 0.93 (0.85) | 0.87 (0.44) | 0.92 (0.12) | 0.82 (0.00) | 0.37 (0.00) | 0.35 (0.00) | 0.35 (0.00) | 0.27 (0.00) | 1.73 [1.46, 1.98] | 0.66 [0.52, 0.81] |
| 96 | – | – | – | – | 0.87 (0.00) | 0.35 (0.00) | 0.30 (0.00) | – | – | – | – |
| 128 | – | – | – | – | 0.88 (0.00) | 0.31 (0.00) | 0.30 (0.00) | – | – | – | – |
Table 5. E13 and E13b: share of the largest faction and, in brackets, probability of full consolidation (48 runs per entry; –: not run; at , , runs censored at are replaced by their continuation to steps, E13c). and : midpoint and scale of a logistic fit of the consolidation probability, whose 10–90% width is (95% CI).
Figure 6. E13–E13c (censored runs at , continued to steps): probability of full consolidation, share of the largest faction (dotted: ; bars: 95% bootstrap CI) and median transient (censored runs at ) against . Open symbols: points where at least half of the runs are censored; the jump at , is caused by periods longer than , not by long transients, as in R4 of E3.
The probability of full consolidation does not sharpen with size. Its logistic midpoint drifts from [2.38, 2.91] at to 1.73 [1.46, 1.98] at , while the scale of the fit stays nearly constant (), and at no run consolidates for . The reason is the saturation of minority domains: of the 117 runs at with –4 that do not consolidate, 91 end on multi-owner fixed points, in which the largest faction holds a median 99.9% of the cells; all such fixed points observed in E2 are saturated, and a saturated cell cannot be attacked when , since condition (2) would require . Larger lattices contain more minority domains, so the chance that at least one survives grows with even when one faction holds most of the lattice.
The share of the largest faction behaves differently. At it falls from 0.83 [0.80, 0.86] at to 0.37 [0.36, 0.39] at and then levels off (0.35 and 0.31 at and 128, against a floor of ). At , 26 of the 48 runs at (and 6 at ) were still coarsening at , which biases the share downwards (0.77 at ). Continuing these runs to steps (E13c), 23 of the 26 at reach a multi-owner attractor and none consolidates. Over the 45 runs at that reached an attractor the share is 0.90 [0.86, 0.93]; counting the 3 unresolved runs at their state after steps (shares 0.46–0.76), it is 0.88 [0.84, 0.91]. At the corresponding values are 0.92 [0.88, 0.95] over 43 resolved runs and 0.87 [0.81, 0.91] including the 5 unresolved ones (shares 0.36–0.49, consistent with stalemated fronts). Over –128 the share at thus stays at 0.82–0.91 while that at falls towards : the step in the largest faction’s share lies between and 5 at every size and becomes steeper with . The drop in the share between and 5 is 0.06, 0.21, 0.36, 0.47, 0.45, 0.52 and 0.57 for , 24, 32, 48, 64, 96 and 128; it grows quickly up to and slowly afterwards, and with an integer the width of the step cannot be resolved below one unit. The median transient (censored runs at ) grows as – for but only as at .
E17 resolves the step with a continuous threshold. An attack whose margin is exactly is made only with probability , so that the effective threshold interpolates between integers; the rule is then stochastic, and at integer it is the deterministic rule of E13, whose shares it reproduces (at , 0.91 and 0.51 at and 5, against 0.91 and 0.54). Scanning from 3.8 to 5.2 in steps of 0.1, with 24 runs per point and –96 (Table 6, Figure 7), places the drop of the share at –4.77 for –96, with a 10–90% width of 0.46–0.81, below one unit of (for also at the upper end of the 95% CI); for and 24 the drop extends beyond , as in E13. Runs censored at steps (at most 33 of 360 per size) enter with their final share. Between and 96 the midpoint moves by at most 0.1, but the width does not decrease significantly (with , 95% CI of the exponent [−1.25, 0.59]).
In short, the probability of full consolidation is a size-dependent crossover whose midpoint drifts with , governed by the statistics of saturated minority domains, whereas the largest faction’s share drops in a step that sharpens with up to without moving, and that, resolved with a continuous threshold, is 0.5–0.8 wide (10–90%) at for –96. The widths up to do not show the narrowing expected at a phase transition, nor do they exclude it, and we make no claim of a phase transition.
| (95% CI) | 10–90% width (95% CI) | upper plateau | lower plateau | censored | |
| 32 | 4.77 [4.72, 4.97] | 0.81 [0.27, 1.88] | 0.92 | 0.46 | 3/360 |
| 48 | 4.76 [4.71, 4.84] | 0.70 [0.43, 1.33] | 0.88 | 0.34 | 21/360 |
| 64 | 4.77 [4.73, 4.80] | 0.46 [0.31, 0.76] | 0.84 | 0.34 | 24/360 |
| 96 | 4.67 [4.63, 4.70] | 0.57 [0.38, 0.85] | 0.87 | 0.30 | 33/360 |
Table 6. E17: continuous threshold . Logistic fit of the share of the largest faction against (24 runs per point, 95% bootstrap CI); midpoint , 10–90% width of the drop and plateaus. For the drop lies beyond the scanned range.
Figure 7. E17: share of the largest faction (left; dashed: logistic fits; dotted: ) and probability of full consolidation (centre) against the continuous threshold , and 10–90% width of the step against (right, 95% CI).
Damage spreading (E4)
In R1 damage stays within about 5 cells (). With growth it spreads at a roughly constant 0.37–0.54 cells per step, at most 11% of the bound of Lemma 1 (5 cells per step for the deterministic cases, all with , and 6 with dice; Figure 8, Table 7). The owner and full-state distances differ: in the coarsening regimes the perturbation changes the owner of only 5–12% of cells by but the troops of 17–31%, so most of the damage alters force levels without changing the territorial outcome. In R4 owner damage reaches [0.51, 0.65], although the attractor is of class II, i.e. sensitivity to initial conditions is confined to the transient. In the mean-field control the outcome is binary: 14 of 16 pairs end with the same winner, the other two with different winners.
Figure 8. Damage after changing one owner at on (16 pairs; 95% CI on the left). Left: fraction of cells with a different owner, . Centre: fraction with a different owner or troop count, ; the gap to is damage to force levels that has not changed territory. Right: damage radius (not physical for the mean-field control).
| case | front speed (cells/step) | |||
| R1 frozen (g=0,=2) | 0.005 [0.004, 0.007] | 0.005 [0.004, 0.007] | 0.006 [0.004, 0.008] | 0.003 |
| R2 coarsening (g=1,=1) | 0.080 [0.061, 0.096] | 0.121 [0.070, 0.174] | 0.308 [0.230, 0.381] | 0.532 |
| R3 partition (g=2,=4) | 0.074 [0.051, 0.096] | 0.107 [0.071, 0.143] | 0.169 [0.113, 0.224] | 0.417 |
| R4 high-threshold (g=1,=8) | 0.482 [0.397, 0.543] | 0.594 [0.507, 0.648] | 0.616 [0.525, 0.671] | 0.524 |
| R2-dice (g=1,=1) | 0.062 [0.037, 0.086] | 0.054 [0.028, 0.080] | 0.174 [0.102, 0.248] | 0.374 |
| R2-meanfield (g=1,=1) | 0.125 [0.000, 0.312] | 0.125 [0.000, 0.312] | 0.125 [0.000, 0.312] | – |
| R4-index (g=1,=8) | 0.486 [0.392, 0.569] | 0.590 [0.468, 0.678] | 0.591 [0.470, 0.681] | 0.535 |
Table 7. Damage spreading (mean, 95% CI) and initial speed of the damage front, the slope of the mean damage radius over .
The means hide a broad distribution (E4b, Table 19). In R2 and R3, 19–39% of perturbations heal completely, and in R2 the 90th percentile of is 3–4 times the median. In R4 an owner change almost always spreads (), whereas a one-unit change heals in 61% of pairs and otherwise spreads to the same level, so the response is bimodal. The final damage ρ depends little on the troops or the number of hostile neighbours of the perturbed cell ().
| regime | perturbation | : 10%, 50%, 90% | : 50% | healed | max |
| R2 (, ) | owner | 0.000, 0.049, 0.159 | 0.243 | 0.19 | 0.15 |
| R2 (, ) | one unit | 0.000, 0.035, 0.137 | 0.208 | 0.39 | 0.23 |
| R3 (, ) | owner | 0.000, 0.136, 0.201 | 0.215 | 0.20 | 0.34 |
| R3 (, ) | one unit | 0.000, 0.113, 0.160 | 0.172 | 0.25 | 0.29 |
| R4 (, ) | owner | 0.517, 0.648, 0.686 | 0.668 | 0.06 | 0.12 |
| R4 (, ) | one unit | 0.000, 0.000, 0.663 | 0.000 | 0.61 | 0.16 |
Table 19. E4b: distribution of damage at over 64 pairs per row (T64, deterministic). Perturbation: change of owner, or one unit added (removed at the cap). Healed: . Last column: largest absolute Spearman correlation of with the troops or the number of hostile neighbours of the perturbed cell.
Spatial structure versus mean field and random graphs (E5, E5b)
In the mean-field control consolidation takes 24–43 steps and barely depends on size (). On the lattice it scales as (dice) and (deterministic), i.e. as , in agreement with E3 (Table 8, Figure 9). At the lattice conflict lasts more than twenty times longer (934 against 43 steps with dice; at , Mann–Whitney ). Conquests cluster in space: a cell next to a fresh conquest is – times more likely than average to be conquered next, against in the control. The interface density decays approximately as a power law before the last domains vanish. Its exponent depends on the fitting window (0.39–0.74) and is not determined, but the decay is faster than the logarithmic decay of the voter model [23], consistent with curvature-driven coarsening [25].
Figure 9. Left: median time to consolidation against (, , 16 runs per point). Right: interface density on with a reference.
| variant | () | 95% CI | censored | coarsening (range over windows) | contagion () |
| spatial-det | 1.09 | [0.95, 1.22] | 10/64 | 0.67 (0.39–0.74) | 5.22 [4.86, 5.59] |
| spatial-dice | 1.03 | [0.57, 1.44] | 8/64 | 0.67 (0.46–0.72) | 4.92 [4.66, 5.17] |
| meanfield-det | 0.14 | [0.10, 0.19] | 0/64 | – | 1.11 [1.10, 1.13] |
| meanfield-dice | 0.17 | [0.12, 0.22] | 0/64 | – | 1.15 [1.12, 1.17] |
| random 4-regular, det | 0.18 | [0.10, 0.26] | 11/64 | – | 1.50 [1.48, 1.53] |
| random 4-regular, dice | 0.17 | [0.10, 0.23] | 5/64 | – | 1.50 [1.47, 1.53] |
Table 8. Lattice, mean-field control and random 4-regular graph (E5b): scaling of consolidation time with (runs censored at ), interface decay exponent (range over fitting windows), and contagion ratio (; neighbours are lattice neighbours for the mean-field control and graph neighbours for the random graph).
The mean-field control changes two things at once: it removes geometry and it replaces local by global mixing. E5b separates them by running the unchanged local rule on quenched random 4-regular graphs, which have the degree of the lattice and only local interactions but no low-dimensional geometry. Consolidation there is as fast as in the mean-field control (median 25–43 steps for –, [0.10, 0.26] with deterministic battles and 0.17 with dice), and conquests are only weakly clustered (). The slow, spatially correlated conflict on the lattice is a consequence of its geometry rather than of local interaction as such. On the random graph, 16 of 128 runs end as frozen two-faction partitions.
Number of factions (E6)
With and , the median consolidation time with dice (censored runs counted at ) tends to increase with , from 186 steps at to 514 at (Kruskal–Wallis , Spearman Holm ; Figure 10). With deterministic battles the medians differ across (Kruskal–Wallis Holm ) but show no monotone trend (Spearman Holm ), because 7 and 11 of 24 runs at and 3 do not consolidate within . In an independent replicate of this setting with (E9), all 7 unconsolidated runs are stalemates (§ 5.11).
Figure 10. Median time to consolidation against the number of factions (, , , 24 runs per point; censored runs counted at ; 95% bootstrap CI).
The 42-territory board (E7)
E7 runs the rule on the irregular board of the game, with dice and Risk-like reinforcement, as a qualitative check rather than a model of play: all factions follow one fixed heuristic, and the reinforcement makes the board model non-local.
All 5000 games ended in total conquest, with median lengths of 16, 22, 28 and 33 rounds for to 6 (Table 9). Synchronous updating lengthens games, slightly at (mean 24.7 against 23.0 rounds, ) and more for six factions (46.4 against 35.9), without qualitative change [19]. Small regions are held more often: Australia (one entry cell) is held in 66% of rounds and is the first region secured in 43% of games, Asia (five entry cells) in 20% of rounds and almost never first (Figure 11). Across the six regions, the fraction of rounds held decreases with region size (Spearman , Holm ); its correlation with the number of entry cells is not significant after correction (Holm ). With six regions these are descriptive statements. On the board, unlike the torus, the mean-field control lengthens games (median 49 against 22 rounds, ). A likely reason, which we have not tested, is a mismatch specific to the board model: reinforcement is placed on cells that are frontier cells on the board, while in the control attacks are made against random partners, so the reinforced cells are not the ones that fight. On the torus growth is uniform and there is no such mismatch.
| schedule | topology | finished | mean length [95% CI] | median | IQR | |
| turn | 3 | spatial | 500/500 | 17.1 [16.7, 17.6] | 16 | 14–20 |
| turn | 4 | spatial | 500/500 | 23.0 [22.4, 23.7] | 22 | 18–26 |
| turn | 5 | spatial | 500/500 | 29.6 [28.7, 30.5] | 28 | 22–34 |
| turn | 6 | spatial | 500/500 | 35.9 [34.8, 37.2] | 33 | 27–42 |
| sync | 3 | spatial | 500/500 | 17.9 [17.5, 18.4] | 17 | 14–20 |
| sync | 4 | spatial | 500/500 | 24.7 [24.1, 25.4] | 23 | 19–29 |
| sync | 5 | spatial | 500/500 | 33.7 [32.6, 34.8] | 30 | 25–39 |
| sync | 6 | spatial | 500/500 | 46.4 [44.8, 48.2] | 42 | 32–56 |
| sync | 4 | meanfield | 500/500 | 85.4 [82.8, 88.1] | 82 | 65–99 |
| turn | 4 | meanfield | 500/500 | 53.2 [51.2, 55.3] | 49 | 37–64 |
Table 9. Game length in rounds, 500 games per configuration.
Figure 11. Left: distribution of game length (turn schedule; dashed: mean-field control at ). Right: fraction of rounds in which each region is held by one faction, and probability that it is the first region secured (, turn schedule); the number of entry cells is given in brackets.
Sensitivity analysis (E8)
The relative attack margin dominates every output (Figure 12, Table 20): activity (), final interface density (), transient length () and consolidation (). Growth comes second, lengthening transients () and reducing activity (), and more factions increase fragmentation (). Fortification has a marginal effect on consolidation only, and the exchange ratio has none. These conclusions hold within the sampled parameter ranges.
Figure 12. Partial rank correlation coefficients (95% CI) from 384 Latin-hypercube runs on with the deterministic rule. Factor ranges: , , , , , fortification on or off; transients are censored at 6000 steps.
| output | fortify | |||||
| log10 transient | +0.34* | -0.48* | +0.27* | +0.02 | +0.22* | -0.05 |
| consolidated | +0.09* | -0.46* | -0.01 | -0.01 | -0.04 | -0.10* |
| final interface | +0.09 | +0.81* | +0.02 | +0.05 | +0.55* | +0.04 |
| mean activity | -0.41* | -0.87* | +0.23* | +0.03 | +0.35* | -0.02 |
Table 20. PRCC values; *: 95% CI excludes zero.
Robustness and stalemated fronts (E9–E12, E14)
Boundaries (E9). With open boundaries, 26 of 96 runs remain unconsolidated with continuing combat, against 20 of 96 on the torus (Fisher ; Table 10); in 44 of these 46 runs more than half of the rows or columns belong to a single faction, i.e. they are stalemated fronts. Stalemates do not require periodic boundaries. Open boundaries also leave more unconsolidated runs without owner changes (15 against 3) and slow consolidation (median 695 against 399 steps for with deterministic battles).
| boundary | battle | not consolidated | active fronts | frozen | P(active front) [95% CI] | median | |
| periodic | det | 2 | 7/24 | 7 | 0 | 0.29 [0.15, 0.49] | 185 |
| periodic | det | 4 | 5/24 | 3 | 2 | 0.12 [0.04, 0.31] | 399 |
| periodic | dice | 2 | 7/24 | 7 | 0 | 0.29 [0.15, 0.49] | 192 |
| periodic | dice | 4 | 4/24 | 3 | 1 | 0.12 [0.04, 0.31] | 316 |
| open | det | 2 | 10/24 | 6 | 4 | 0.25 [0.12, 0.45] | 451 |
| open | det | 4 | 9/24 | 3 | 6 | 0.12 [0.04, 0.31] | 695 |
| open | dice | 2 | 17/24 | 13 | 4 | 0.54 [0.35, 0.72] | 411 |
| open | dice | 4 | 5/24 | 4 | 1 | 0.17 [0.07, 0.36] | 951 |
Table 10. E9: periodic and open 32 × 32 lattices (, , 24 runs per row). Active fronts: runs not consolidated after steps in which more than of the cells change owner per step over the last 500 steps; frozen: runs not consolidated in which fewer do.
Neighbourhood (E10). With the Moore neighbourhood the majority label agrees with the von Neumann result in 22 of 24 cells (Table 21); the two exceptions, at , consolidate more often with eight neighbours (75% and 92% of runs) and so change from II to I; as on the von Neumann lattice, multi-owner fixed points are saturated. Continuing the 24 runs at , to steps (E10b), 23 reach cycles after transients of up to 22 985 steps. Nine of these transients exceed 8000 steps, so shorter observation windows would have left these runs unresolved.
| 0 | 1 | 2 | 3 | 4 | 6 | 8 | 12 | |
| 0 | II | II | II | II | II | II | II | II |
| 1 | I | I | I | I† | II | II | II | II |
| 2 | I | I | I | I† | II | II | II | II |
Table 21. E10: majority label with the Moore neighbourhood (); †: differs from the von Neumann result.
Fortification fraction (E15). Fortification sends half of the surplus, . Repeating the E2 runs for with the same seeds but sending with or (Table 22) changes the majority label of 2 () and 0 () of the 16 parameter cells; the two changes, at and , lie where the consolidation probability is close to one half. The overall consolidation probability stays at 0.34–0.35, long cycles remain (52–58 runs), and every multi-owner fixed point is saturated for all three fractions. The freezing mechanism does not depend on the fraction.
| fraction | cells with new majority label | P(consolidation) | multi-owner fixed points (saturated) | long cycles | unresolved |
| (E2) | – | 0.35 | 71 (71) | 53 | 12 |
| 2/16 | 0.34 | 82 (82) | 52 | 17 | |
| 0/16 | 0.35 | 60 (60) | 58 | 11 |
Table 22. E15: classification with fortification fraction (, , the eight values of of E2, 16 runs each, same seeds as E2).
Fronts (E11, E12, E14). With , and , 24–38% of random starts end in a stalemate (Table 13), comparable to the probability, about 1/4, with which zero-temperature Ising dynamics on the square lattice freezes into two stripes [26]; unlike those stripes, RiskCA fronts remain active. Stalemates were generated deliberately (16 per setting at , 32, 48 with deterministic battles and at with dice; 8–12 per size at to 96 in E12) and characterised in Tables 13 and 14. None of the 92 deterministic fronts repeated a configuration within steps ( at ). Combat continues on a fraction of cells that falls with in proportion to the fraction on the front, as expected for activity confined to a line. With deterministic battles, 15–30% of cells change owner at least once within steps but only 3–5% end with a different owner (41% and 10% with dice), so the fronts fluctuate without advancing. Their roughness , the standard deviation over columns of the stripe thickness , averaged over 2000 steps, stays below one cell at all sizes (). A one-unit change at a front cell is amplified, i.e. after 3000 steps it affects more than 10% of the front band (the cells within distance 2 of the front), in 56–79% of trials, least often at ; when amplified, the damage saturates at about 42% of the band, independently of and of the battle operator (Figure 13). The edges of the damage region move along the front at cells per step at and 0.26 at –96 (Figure 14), well below the bound of 5 (Lemma 1(b)); the speed rises slightly from to 48 and is constant beyond, as E19 confirms at . Pooled over sizes, the left and right speeds are 0.24 and 0.26 (paired Wilcoxon , Holm , 107 perturbations), so a small asymmetry cannot be excluded. The one-dimensional space-time pattern of the front is incompressible (compression ratio 0.98–0.99). Figure 15 shows one front: each column moves back and forth by about one cell in an irregular spatial pattern, and a single-unit perturbation spreads along the front as a cone.
| battle, | fronts | P(stalemate) | repeated within | front cells | changed owner ( steps) | net change | perturbations amplified |
| det, 24 | 16 | 0.28 [0.19, 0.40] | 0/16 | 18.4% | 30.2% | 5.4% | 0.77 [0.63, 0.87] |
| det, 32 | 16 | 0.33 [0.23, 0.45] | 0/16 | 13.5% | 22.9% | 4.2% | 0.79 [0.66, 0.88] |
| det, 48 | 16 | 0.38 [0.25, 0.52] | 0/16 | 9.1% | 15.2% | 2.8% | 0.56 [0.42, 0.69] |
| dice, 32 | 16 | 0.24 [0.16, 0.34] | n/a | 14.6% | 40.6% | 9.5% | 0.75 [0.61, 0.85] |
Table 13. E11: stalemated fronts (, , ; 16 per row). Columns give the share of scanned runs ending in stalemate, recurrence, the share of cells on the front, the shares of cells that changed owner at least once and net within steps, and the share of single-unit perturbations amplified after 3000 steps (damage above 10% of the front band).
Figure 13. E11: damage in the front band (cells within distance 2 of the front), averaged over steps 2801–3000 after a single-unit perturbation (three per front); dotted line: amplification threshold, 0.1.
Figure 14. E12: speed of the damage edges along the front (left) and front roughness (right) against .
Figure 15. Space-time diagrams of one stalemated front (, , , , deterministic; 200 steps). Left: displacement of one interface in each column, relative to its time mean. Right: columns in which the state differs after a one-unit change of a single front cell at ; the damage region widens at roughly constant speed until it covers the front.
E14 tests whether these properties depend on how the front was formed (Table 11). Prepared straight fronts with random troops, fronts with a step of rows and the stalemates from random starts give the same speed (0.26–0.28 columns per step), roughness (0.90), compression ratio (0.99–1.00) and activity per front cell (0.39–0.40); none recurred within steps. Staircase fronts along the diagonal are also active and non-recurrent, but their damage edges move 0.52 columns per step and their roughness is 1.09, so the speed depends on the orientation of the front relative to the lattice. Straight fronts with uniform troops never fight: a saturated configuration is a fixed point for (Proposition 4(b)), and a configuration with one unit per cell grows uniformly, never meets the attack condition, and reaches that fixed point after steps. Activity requires heterogeneous troops along the front. In every active front, every cell that changed owner within steps lay within 2 cells of the interface at the start of the window (3 for diagonal fronts). For the prepared fronts the two interfaces start rows apart, so they stay more than 10 cells apart, as required; for the three stalemates from random starts the separation was not measured. On these windows the conditions stated after Proposition 6 hold for the prepared straight fronts: each is a one-dimensional CA on whose cell is a column segment about ten cells high, and the measured are finite-window estimates of its left and right Lyapunov exponents in the sense of Shereshevsky [21]; asymptotic exponents would require the reduction to hold indefinitely. For the step and diagonal fronts the same argument applies with the horizontal strip replaced by a band around the interface.
| initial condition | front / cons. / frozen | recurrence | (columns/step) | persistent | roughness | compression | activity per front cell | excursion |
| random | 3 / 8 / 1 | 0/3 | 0.28 [0.24, 0.31] | 0.50 | 0.90 | 0.99–1.00 | 0.40 [0.39, 0.40] | 2 |
| flat-random | 12 / 0 / 0 | 0/12 | 0.26 [0.24, 0.29] | 0.69 | 0.90 | 0.99–1.00 | 0.39 [0.38, 0.40] | 2 |
| flat-full | 0 / 0 / 12 | – | – | – | – | – | – | – |
| flat-one | 0 / 0 / 12 | – | – | – | – | – | – | – |
| step | 12 / 0 / 0 | 0/12 | 0.26 [0.24, 0.28] | 0.69 | 0.90 | 0.99–1.00 | 0.39 [0.39, 0.40] | 2 |
| diagonal | 12 / 0 / 0 | 0/12 | 0.52 [0.50, 0.55] | 0.77 | 1.09 | 0.99–1.00 | 0.38 [0.38, 0.39] | 2–3 |
Table 11. E14: fronts from six initial conditions (, , , , deterministic, 12 runs each). Outcome after steps; recurrence within further steps; : damage-edge speed in columns per step; persistent: share of single-unit perturbations not healed after steps; excursion: largest distance from the interface at the start of a -step window of any cell that changed owner during it.
| fronts | recurrence | (cells/step) | perturbations that died | roughness | compression of | |
| 32 | 12 | 0/12 | 0.23 [0.22, 0.25] | 16/48 | 0.89 [0.89, 0.89] | 0.99 [0.99, 0.99] |
| 48 | 12 | 0/12 | 0.26 [0.24, 0.27] | 18/48 | 0.90 [0.90, 0.90] | 0.99 [0.99, 1.00] |
| 64 | 12 | 0/12 | 0.26 [0.24, 0.27] | 19/48 | 0.91 [0.91, 0.93] | 0.99 [0.99, 0.99] |
| 96 | 8 | 0/8 | 0.26 [0.24, 0.28] | 16/32 | 0.96 [0.92, 0.99] | 0.98 [0.97, 0.99] |
Table 14. E12: fronts at four sizes (deterministic, four single-unit perturbations per front). : mean speed of the damage edges along the front for spreading perturbations; perturbations that died: healed completely within steps; : roughness; last column: compression ratio of the front profile .
E19 extends the prepared straight fronts to larger lattices and longer times: 8 lattices at followed for steps and 8 at for steps, after a transient of (Table 12). All 16 lattices kept both fronts. In every window of steps, every cell that changed owner lay within 2 cells of the front at the start of the long run, the mean position of the fronts moved by less than one row, no configuration repeated, and the activity stayed at 0.39 owner changes per front cell and step. The damage edges moved at 0.26 columns per step at the start and at 0.25–0.29 at the end, at both sizes. Over runs 50 and 20 times longer than the -step window used for the excursion in E14, the fronts remain confined and active, and their speed changes neither with nor with time.
| fronts | steps | excursion (max) | drift (max) | activity per front cell | , start | , end | |
| 64 | 8/8 | 2 | 0.73 | 0.39 [0.39, 0.39] | 0.26 [0.24, 0.28] | 0.29 [0.27, 0.31] | |
| 128 | 8/8 | 2 | 0.34 | 0.39 [0.39, 0.39] | 0.26 [0.24, 0.28] | 0.25 [0.24, 0.27] |
Table 12. E19: prepared straight fronts on larger lattices and over longer times (, , , deterministic, 8 lattices per row). Excursion: largest distance, from the front at the start, of a cell that changed owner in any window of steps; drift: largest change of the mean stripe thickness (rows); : damage-edge speed (columns per step) at the start and the end of the run (95% CI).
Within the observed windows this one-dimensional CA shows, for all initial geometries with heterogeneous troops, the signatures that operational criteria associate with class III [9]: no recurrence, positive Lyapunov speeds that do not change beyond , an incompressible space-time pattern, and damage saturation independent of length. No localised propagating structures were observed. We do not claim that the fronts are of class III: non-recurrence only bounds the period of a finite deterministic system from below, a third to a half of single-unit perturbations heal completely within steps (E12), and we have no argument, such as a
Lyapunov function or a curvature bound, that a front stays in a strip, so the one-dimensional reduction is a finite-window description without a stability guarantee.
Discussion
Mechanisms. Three mechanisms, each tied to a formal result, account for most of the observations. Combat dissipates troops (Proposition 3), which freezes the rule in finite time without growth (Proposition 5). Saturated cells cannot be attacked when (condition (2); Proposition 4(b)), which freezes fragmented partitions and keeps minority domains alive. Activity is confined to the neighbourhood of interfaces (Proposition 6), which makes the fronts the only place where irregular dynamics persists.
Two fields. The central difference between RiskCA and majority-type lattice models is the second component of the state, . In voter, majority-vote and zero-temperature Ising dynamics [7, 24, 26] the state is the ownership field alone, and whether an interface moves depends only on the local configuration of owners. In RiskCA ownership determines the territorial configuration, but the troop field determines whether a frontier is active: an attack requires and . Growth raises the troop field, combat depletes it and fortification moves it towards the front, and several of our results follow from this coupling. Saturation freezes partitions at high and leaves minority domains alive in lattices that one faction otherwise dominates (§ 5.5); conversely, interfaces with heterogeneous troops stay active throughout the observed windows, whereas straight Ising stripes are frozen (E11, E14; about 0.4 owner changes per front cell and step in the prepared fronts of E14), and straight fronts with uniform troops never fight. Perturbations of the troop field alone can spread and change ownership (E4b), and most damage changes troop counts without changing territory (E4). A description in terms of ownership alone, as in the models above, would miss the variable that controls activity.
Classes. Without growth every orbit ends on a fixed point (Proposition 5), which is class-I or class-II behaviour. With growth, runs end on homogeneous attractors at low attack margins and on heterogeneous ones at high margins, saturated fixed points or combinations of fixed local oscillators, after a transient that is sensitive to initial conditions. Since I and II exhaust the attractors by definition, the substantive finding is that long cycles are combinations of fixed local oscillators rather than moving structures (94 of 104 analysed cycles have no cell with the global period), and that oscillators farther apart than the radius showed no interaction in any trial, while contiguous ones interacted in 9 of the 104 cycles (E18), and that structures resembling class IV appear only with index-ordered priorities. This differs from the two-dimensional rules studied by Packard and Wolfram [10], where all four classes occur on the whole lattice: in RiskCA with growth the irregular dynamics we observed is confined to one-dimensional interfaces, because cells far from every interface change only by growth (Proposition 6(a)) and therefore saturate. The labels are insensitive to the thresholds of the classification (Table 18), but they classify attractors reached within ; 3% of runs remain unresolved.
Fronts. The stalemated fronts are the one place where sustained irregular dynamics was observed. Because the dynamics near an interface is locally determined (Proposition 6) and the fronts stayed within two or three cells of their initial position (E14), for up to steps and on lattices up to (E19), each prepared straight front is, over the observed windows, a one-dimensional CA of finite radius with the operational signatures of class III. For the reasons given in § 5.11, this is a finite-window description, not a class-III classification. The fronts are also anisotropic: damage moves twice as fast, in columns per step, along diagonal fronts as along straight ones (0.52 against 0.26), so the front dynamics depends on the orientation of the interface relative to the lattice.
Battle operator. Over the plane, the dice reproduce the regime structure of the deterministic rule (E16, Table 24): consolidation at low , with probabilities differing by at most 0.19 between the operators on the same initial states, and saturated multi-owner partitions for (94–100% of dice runs). The majority outcome, consolidation or a multi-owner state, agrees in all 16 parameter cells, and for both operators it changes between and 3. Table 23 collects the other observables measured with both operators at , . The exact dice and the deterministic reduction give the same scaling of consolidation time, the same contagion and coarsening exponents, and the same frequency of active fronts on the torus. Dice slow the spreading of damage and make fronts more mobile (more owner changes, larger net displacement). The lower stalemate probability with dice (0.24 against 0.33, Fisher ) and the larger number of active fronts on open boundaries (13 against 6 of 24, Fisher ) are not significant at the 5% level. is therefore adequate for the regime structure, which is what the classification uses, but not a substitute for the dice in quantitative statements about damage or fronts, and the comparison says nothing about individual trajectories, which differ between the operators. The damage comparison was made at , only; whether the discrepancy persists at other parameters was not tested.
| Observable | Experiment | ||
| Consolidation time exponent | E5 | 1.09 [0.95, 1.22] | 1.03 [0.57, 1.44] |
| Median consolidation time, | E5 | 767 | 934 |
| Contagion | E5 | 5.2 [4.9, 5.6] | 4.9 [4.7, 5.2] |
| Interface decay exponent (window 20–1000) | E5 | 0.67 | 0.67 |
| Damage-front speed (cells/step) | E4 | 0.53 | 0.37 |
| Owner / full-state damage at | E4 | 0.12 / 0.31 | 0.05 / 0.17 |
| Active fronts, torus (; ) | E9 | 7/24; 3/24 | 7/24; 3/24 |
| Active fronts, open boundaries (; ) | E9 | 6/24; 3/24 | 13/24; 4/24 |
| P(stalemate), , | E11 | 0.33 [0.23, 0.45] | 0.24 [0.16, 0.34] |
| Front cells changing owner / net, steps | E11 | 22.9% / 4.2% | 40.6% / 9.5% |
| Perturbations amplified at fronts | E11 | 0.79 [0.66, 0.88] | 0.75 [0.61, 0.85] |
Table 23. Deterministic () and exact dice () battles on the same observables (, ).
| P(consolidation) det. | P(consolidation) dice | P(active at ) det. | P(active at ) dice | dice: saturated multi-owner | ||
| 1 | 0 | 0.75 | 0.94 | 0.19 | 0.06 | 0.00 |
| 1 | 1 | 0.88 | 0.94 | 0.12 | 0.06 | 0.00 |
| 1 | 2 | 0.62 | 0.75 | 0.19 | 0.12 | 0.12 |
| 1 | 3 | 0.19 | 0.25 | 0.00 | 0.12 | 0.62 |
| 1 | 4 | 0.06 | 0.06 | 0.00 | 0.00 | 0.94 |
| 1 | 6 | 0.00 | 0.00 | 0.00 | 0.00 | 1.00 |
| 1 | 8 | 0.00 | 0.00 | 0.06 | 0.00 | 1.00 |
| 1 | 12 | 0.00 | 0.00 | 0.00 | 0.00 | 1.00 |
| 2 | 0 | 1.00 | 1.00 | 0.00 | 0.00 | 0.00 |
| 2 | 1 | 0.88 | 0.94 | 0.12 | 0.06 | 0.00 |
| 2 | 2 | 0.81 | 0.81 | 0.06 | 0.12 | 0.06 |
| 2 | 3 | 0.44 | 0.38 | 0.00 | 0.00 | 0.62 |
| 2 | 4 | 0.00 | 0.00 | 0.00 | 0.00 | 1.00 |
| 2 | 6 | 0.00 | 0.00 | 0.00 | 0.00 | 1.00 |
| 2 | 8 | 0.00 | 0.00 | 0.00 | 0.00 | 1.00 |
| 2 | 12 | 0.00 | 0.00 | 0.00 | 0.00 | 1.00 |
Table 24. E16: deterministic and dice battles from the same initial states (, 16 runs per row). Active: not consolidated, with owners still changing at (deterministic: no attractor found; dice: more than of cells change owner per step over the last 500 steps). Last column: share of dice runs ending in a saturated multi-owner configuration.
Spatial structure. With identical rules, the time to consolidation grows as – on the lattice but is nearly independent of both in the mean-field control and on random 4-regular graphs with local interactions (E5, E5b), and conquests are clustered on the lattice () but hardly on the random graph (). This points to the low-dimensional geometry of the lattice as the cause, rather than the locality of interaction, with the caveat that the random graph is locally tree-like (§ 7). The coarsening, the transients and the stripe states are shared with majority-type and zero-temperature Ising dynamics [25, 26].
Methodology. Index-ordered tie-breaking produces translating structures that mimic class IV (E2, E3), and a window of 8000 steps would have left long transients unresolved (E10b). Classifications of game-derived CA therefore need a symmetric tie-breaking control and observation windows long enough to exclude long transients.
Hypothesis 1 is supported only in a weak sense: transients are longest at intermediate (E2, E13), but the attractors are fixed points on both sides of the dominance–fragmentation crossover, and sustained irregular dynamics appears only on fronts, not on whole lattices at intermediate . In the sense of Langton [13], in which complex dynamics persists near the boundary between ordered and chaotic regimes, the hypothesis is not supported.
Limitations
Model. RiskCA omits much of the game: cards, discretionary retreat, deliberate reinforcement and strategic play. All cells follow one fixed heuristic, fortification is short-ranged, and the cap has no counterpart in the game. Only the battle kernel is validated exactly; this does not validate the attack, growth and fortification protocol, and the board statistics are compared only with qualitative features of the game, for lack of data on human play. No interpretation of , or the outcomes in terms of real conflicts has been validated: RiskCA is a theoretical study of a local rule, not a predictive model of games or conflicts. Several results, notably coarsening, curvature-driven interface motion and stripe states, are generic to majority-type lattice models rather than specific to Risk.
Classification. Wolfram’s classes are asymptotic and undecidable in general [12], and our criteria are operational. Attractor classes are assigned only to runs that reach an attractor within ; unresolved runs are labelled by finite-time damage, which measures the transient and not the attractor. The thresholds were fixed after a pilot sweep; varying them does not change the majority labels (Table 18), but other indicators could.
Statistics. The scaling exponents rest on five sizes with 12 runs each and a large run-to-run scatter. They are a consistency check with for runs that reach an attractor; the censored runs, many of them stalemates, form a second population that a single censored model describes poorly, and a competing-risks analysis would need more runs. The dominance–fragmentation step is resolved with a continuous threshold only up to , with 24 runs per point and some runs censored, which is not enough to decide whether it becomes a phase transition. The fronts are described over finite windows (at most steps) with 8–16 fronts per setting and lattices of at most , and their confinement is observed, not proved.
Controls. The mean-field control changes both geometry and mixing; the random-regular-graph control separates the two but has its own structure (short cycles are rare, so it is locally tree-like). Robustness was tested for the battle operator, the fortification fraction, tie-breaking, the updating scheme, boundaries and neighbourhood, each separately and mostly at ; the order of the sub-rules and combinations of variations were not tested.
Conclusion
The attack and fortification rules of Risk, formulated as a cellular automaton, define a rule of radius at most 6 (at most 5 for deterministic battles with and ), both bounds being attained, that, for the default parameters, is irreversible in its deterministic form, and that freezes in finite time without growth. With growth, increasing the attack margin moves the system from dominance by one faction to a frozen fragmented partition. The largest faction’s share drops between the same two threshold values at all sizes up to , more steeply in larger systems, while the probability of complete consolidation is a size-dependent crossover driven by saturated minority domains. Compared with a mean-field control or a random regular graph with the same degree, the lattice lengthens conflicts about twentyfold and makes conquests spatially clustered, which points to its low-dimensional geometry. Whole lattices end on homogeneous or saturated attractors or on long cycles that combine spatially fixed local oscillators; with quenched priorities, no moving structures were found. Straight fronts spanning the lattice stayed within two cells of their initial position for up to steps and on lattices up to , and over these windows they are one-dimensional CA with the operational signatures of class III; whether they remain confined indefinitely is open. Structures suggestive of class IV arise only with index-ordered tie-breaking.
Three questions remain open. First, whether the step in the largest faction’s share becomes a discontinuity for : with a continuous threshold it is about half a unit of wide up to , and deciding requires larger systems and more runs. Second, whether the fronts stay confined and active indefinitely, which would need an argument such as a Lyapunov function or a curvature bound, and whether they are more or less irregular with dice, under which they are more mobile (Table 23). Third, how the results change with heterogeneous terrain, strategically chosen attack rules and irregular boards.
Data and code availability. Code, data, the scripts that generate all figures and tables, and the Lean formalisation are available at https://github.com/MaTeArNog/RiskAutomata.
Funding. This research received no external funding.
Declaration of interests. None.
Use of AI tools. Claude (Anthropic) was used to write the code of the experiments and the Lean formalisation, and to assist in drafting and editing the text. The author directed the work, checked the results and takes full responsibility for the content.
| Symbol | Meaning |
| , , | number of cells; side of the square lattice; torus |
| , | number of factions; troop cap per cell |
| , | owner and troops of cell |
| , | growth per step; attack margin |
| effective attack threshold of the stochastic variant E17 | |
| , | deterministic battle operator; exchange ratio (1.1718) |
| battle operator with the exact dice distribution | |
| tie-breaking priority (quenched random, or index order) | |
| , | number of hostile neighbours; distance to the nearest frontier cell |
| , , | transient; period; observation window |
| I, II | attractor with one owner; with several owners |
| , | no attractor within , with spreading or localised owner damage |
| , | fraction of cells with different owner; with different owner or troops |
| , | compression ratio; standard deviation of the event entropy |
| contagion ratio of conquests | |
| , | speed of the damage edges along a front; front roughness |
Table 15. Main symbols and labels.
Notation
CA pseudocode
Algorithm 1 is one synchronous step of RiskCA as implemented in riskca/model.py, and Algorithm 2 computes the battle kernel. All operations act on all cells at once, and arg min and arg max over pairs compare lexicographically.
Algorithm 1 One synchronous RiskCA step x ↦ Φ(x)
Require: owners o ∈ {1..P}^N, troops n ∈ {1..N_max}^N, neighbour table 𝒩, priority π, parameters (g, θ, ρ, N_max)
1: (G) n_i ← min(N_max, n_i + g) for all i ▷ Risk-like reinforcement on the 42-territory board
2: (D) for all i: H_i ← {j ∈ 𝒩(i) : o_j ≠ o_i}
3: if H_i ≠ ∅: t_i ← arg min_{j∈H_i}(n_j, π(j)); w_i ← [n_i ≥ 2 ∧ n_i − n_{t_i} ≥ θ] else w_i ← false
4: (R) for all j with A_j = {i : w_i ∧ t_i = j} ≠ ∅: s(j) ← arg max_{i∈A_j}(n_i − 1, −π(i)) ▷ one attacker per target; no attack if A_j = ∅
5: S ← {s(j)}; for i ∈ S: a_i ← n_i − 1, n_i ← 1 ▷ commit; origin keeps one unit
6: ô ← o ▷ owners at the start of (R)
7: for i ∈ S (in parallel), j = t_i, d = n_j do
8: if deterministic then
9: if ρa_i > d then o_j ← ô_i; n_j ← max(1, a_i − ⌈d/ρ⌉)
10: else n_j ← max(1, d − ⌊ρa_i⌋)
11: end if
12: else draw k ∼ K(a_i, d; ·) (Alg. 2); if attacker survives with r ≥ 1: o_j ← ô_i, n_j ← r else n_j ← defender survivors
13: end if
14: end for
15: (F) recompute H_i and η_i = |H_i| on the new owners
16: for all i with η_i = 0: k ← arg max_{k∈𝒩(i),o_k=o_i}(η_k, −π(k)); m_i ← ⌊(n_i − n_k)/2⌋
17: if η_k > 0 ∧ m_i ≥ 1: n_i ← n_i − m_i; inflow_k += m_i
18: n ← min(N_max, n + inflow) ▷ overflow is lost
19: return (o, n)
Algorithm 2 Exact battle kernel (Tan–Osborne)
for , : enumerate all rolls; sort both sides in decreasing order; compare pairwise (ties to defender); tabulate
,
for , (increasing) do
end for
Code layout. riskca/dice.py (kernel), riskca/boards.py (torus, 42-territory board, mean-field neighbours, random regular graphs), riskca/model.py (rule, schedules, recording), riskca/metrics.py (damage, compression, bootstrap/Wilson CIs), experiments/e1–e16*.py (one script per experiment), experiments/configs.py (machine-readable list of configurations), tests/ (unit tests), experiments/analyse.py (all statistics, tables and figures), experiments/run_all.sh (end-to-end reproduction).
A witness for radius 6
Table 16 gives the configuration on a patch with open boundaries (, , , , deterministic battles, priority equal to the row-major index, so that cell has priority and lower values win ties). The configuration differs from only at , whose owner is changed from to . After one step the two images differ at , at graph distance from . The difference propagates as follows; all quantities are after growth.
| 1 | 2 | 3 | 4 | 5 | |
| 1 | A1 | A1 | A1 | A1 | A1 |
| 2 | A1 | A1 | A1 | A16 | A1 |
| 3 | A1 | A1 | B1 | B1 | A1 |
| 4 | B1 | A1 | A16 | B16 | A1 |
| 5 | A1 | A1 | A4 | A1 | A1 |
| 6 | A1 | B1 | B4 | A16 | B1→A1 |
Table 16. Radius witness: owner and troops of each cell of (rows 1–6 from the top, columns 1–5 from the left). Bold: the perturbed cell ; underlined: the cell at distance 6 whose image changes.
Distance 1. In , cell (, 16 units) attacks its weakest hostile neighbour (2 units). In , is friendly and attacks (, 5 units) instead.
Distance 2. In , the only attack on comes from (, 5 units, ) and is accepted. In , commits , so its attack on is accepted and that of is not.
Distance 3. In both configurations attacks with . In , has committed its own attack and defends with one unit, so it is conquered by . In , it defends with 5 units, and , so it holds.
Distance 4. After (R), cell () has two hostile neighbours, and , in , and one, , in .
Distance 5. Cell , conquered by with 14 units, is interior after (R). Its friendly neighbours of highest threat are alone in (), and and in ( each, since has been conquered by ). In the tie goes to , which has the lower priority value.
Distance 6. Cell sends 6 units to in and to in , so ends with 2 units in and 8 in .
The example is reproduced by a unit test of the model code. Along the six steps, is needed only in step 5, where it breaks the tie. The row-major order used here is the index order that produces artefacts in § 5.3; it is used only to make the example explicit. The bound of Lemma 1 holds for every , and the random search from which this example was reduced (two cases among single-cell perturbations on ) used random quenched priorities, so distance 6 is reached without index order. Other ties in the example also depend on , so the reduced configuration itself is specific to the order given; with and deterministic battles step 3 is impossible, because every accepted attack succeeds (Lemma 1(b)).
Machine-checked results
The Lean 4 formalisation (directory lean/ of the repository) implements the rule independently of the Python code, with the battle operator as a parameter. Table 17 lists the main declarations; each is checked by the Lean kernel without sorry or native_decide. “Every realisation” means every battle outcome function in which a winning attacker keeps between 1 and units and a holding defender between 1 and ; every outcome of the dice, and the dice operator of the code for every and every choice of random numbers, are of this kind (diceReal_ok, diceUN_ok). Agreement with the Python implementation is checked on concrete configurations: the Lean model reproduces the outputs of the code on the example of Figure 1, the three radius witnesses and the 19 dice battles of the dice witness. Boards are finite graphs; Propositions 2 and 4(c) assume connected boards, as stated. The experimental results of § 5 and § 6 are not formalised.
| Result | Lean declaration | Battle operator |
| Lemma 1(a), (c) | lemma1a, lemma1c | every realisation |
| Lemma 1(b) | lemma1b | deterministic |
| Lemma 1, bounds attained | w6_reach, w5_reach, w6d_reach | deterministic; dice |
| Lemma 1, spread per step | light_cone | every realisation |
| Proposition 1 | prop1 | every fixed realisation |
| Proposition 2 | prop2, prop2_garden, prop2_identity, prop2_cases | deterministic |
| Proposition 3 | prop3, prop3_terms | every realisation |
| Proposition 4(a), (b) | prop4a_homogeneous, prop4a_time, prop4b_saturated_fixed, prop4b_count | every realisation |
| Proposition 4(c) | prop4c | deterministic |
| Proposition 5 | prop5 | every sequence of realisations |
| Proposition 6 | prop6a, prop6b | every realisation |
| Figure 1, Appendix C | fig1, w6_story | deterministic |
| Section 5.1: rolls, , kernel, errors | roll_3v2, exchange_ratio, win_probs, rho_errors, rho_survivor_error | dice |
Table 17. Lean declarations for the formal results.
The 42-territory board
The six regions (bonus; territories) are: N. America (5; Alaska, Northwest Territory, Greenland, Alberta, Ontario, Quebec, Western US, Eastern US, Central America); S. America (2; Venezuela, Peru, Brazil, Argentina); Europe (5; Iceland, Scandinavia, Ukraine, Great Britain, Northern Europe, Western Europe, Southern Europe); Africa (3; North Africa, Egypt, East Africa, Congo, South Africa, Madagascar); Asia (7; Ural, Siberia, Yakutsk, Kamchatka, Irkutsk, Mongolia, Japan, Afghanistan, China, Middle East, India, Siam); Australia (2; Indonesia, New Guinea, Western Australia, Eastern Australia). The 83 edges are listed in riskca/boards.py. They include the inter-regional links Alaska–Kamchatka, Greenland–Iceland, Central America–Venezuela, Brazil–North Africa, Western Europe–North Africa, Southern Europe–{North Africa, Egypt, Middle East}, Ukraine–{Ural, Afghanistan, Middle East}, Egypt–Middle East, East Africa–Middle East and Siam–Indonesia. The number of entry cells of a region (cells with at least one neighbour outside it) is 1 (Australia), 2 (S. America), 3 (N. America, Africa), 4 (Europe) and 5 (Asia).
Supplementary tables
Tables 18–24 give the details of the robustness and sensitivity analyses summarised in Sections 5 and 6.
Table 18: Sensitivity of the E2 labels to the thresholds (quenched tie-breaking, 640 runs, 40 parameter cells). variants re-censor runs whose attractor was detected only after the shorter window.
Table 19: E4b: distribution of damage at over 64 pairs per row (T64, deterministic). Perturbation: change of owner, or one unit added (removed at the cap). Healed: . Last column: largest absolute Spearman correlation of with the troops or the number of hostile neighbours of the perturbed cell.
Table 20: PRCC values; *: 95% CI excludes zero.
Hypothesis tests
Table 25 lists the hypothesis tests reported in the paper with raw and Holm-adjusted -values.
| test | Holm-adjusted | |
| E2 Mann–Whitney, , class I vs. II | ||
| E2 Spearman, vs. | 0.35 | 0.79 |
| E5 Mann–Whitney, lattice vs. mean-field (dice, ) | ||
| E6 Kruskal–Wallis, across (det) | 0.0059 | 0.047 |
| E6 Spearman, vs. (det) | 0.053 | 0.29 |
| E6 Kruskal–Wallis, across (dice) | 0.0018 | 0.016 |
| E6 Spearman, vs. (dice) | 0.00063 | 0.0067 |
| E7 Mann–Whitney, sync vs. turn () | 0.00061 | 0.0067 |
| E7 Mann–Whitney, map vs. mean-field (turn, ) | ||
| E7 Kruskal–Wallis, length across (turn) | ||
| E7 Kruskal–Wallis, length across (sync) | ||
| E7 Spearman, holding vs. region size | 0.00031 | 0.0037 |
| E7 Spearman, holding vs. entry cells | 0.015 | 0.1 |
| E9 Fisher, active fronts, periodic vs. open | 0.4 | 0.79 |
| E9 Fisher, active fronts, open, det. vs. dice () | 0.075 | 0.3 |
| E11 Fisher, stalemate, det. vs. dice () | 0.26 | 0.79 |
| E12 Wilcoxon, left vs. right damage-edge speed | 0.048 | 0.29 |
Table 25. Hypothesis tests reported in the paper, with Holm-adjusted -values.
References
- [1]A. Ilachinski, Artificial War: Multiagent-Based Simulation of Combat, World Scientific, 2004. doi:10.1142/5531DOI
- [2]J.M. Epstein, Modeling civil violence: an agent-based computational approach, Proc. Natl. Acad. Sci. USA 99 (Suppl. 3) (2002) 7243–7250. doi:10.1073/pnas.092080199DOI
- [3]S. Wolfram, Statistical mechanics of cellular automata, Rev. Mod. Phys. 55 (1983) 601–644. doi:10.1103/RevModPhys.55.601DOI
- [4]B. Tan, Markov chains and the RISK board game, Math. Mag. 70 (1997) 349–357. doi:10.1080/0025570X.1997.11996573DOI
- [5]J.A. Osborne, Markov chains for the RISK board game revisited, Math. Mag. 76 (2003) 129–135. doi:10.1080/0025570X.2003.11953165DOI
- [6]L.-E. Cederman, Emergent Actors in World Politics: How States and Nations Develop and Dissolve, Princeton University Press, 1997. doi:10.1515/9780691218038DOI
- [7]P. Clifford, A. Sudbury, A model for spatial conflict, Biometrika 60 (1973) 581–588. doi:10.1093/biomet/60.3.581DOI
- [8]S.F. Pratt, P.J. Giabbanelli, P. Jackson, V.K. Mago, Rebel with many causes: a computational model of insurgency, in: Proc. IEEE Int. Conf. Intelligence and Security Informatics (ISI), 2012, pp. 90–95. doi:10.1109/ISI.2012.6284097DOI
- [9]S. Wolfram, University and complexity in cellular automata, Physica D 10 (1984) 1–35. doi:10.1016/0167-2789(84)90245-8DOI
- [10]N.H. Packard, S. Wolfram, Two-dimensional cellular automata, J. Stat. Phys. 38 (1985) 901–946. doi:10.1007/BF01010423DOI
- [11]S. Wolfram, A New Kind of Science, Wolfram Media, 2002. ISBN 1-57955-008-8. https://www.wolframscience.com/nks/
- [12]K. Culik II, S. Yu, Undecidability of CA classification schemes, Complex Systems 2 (1988) 177–190. https://www.complex-systems.com/abstracts/v02_i02_a02/
- [13]C.G. Langton, Computation at the edge of chaos: phase transitions and emergent computation, Physica D 42 (1990) 12–37. doi:10.1016/0167-2789(90)90064-VDOI
- [14]B. Derrida, G. Weisbuch, Evolution of overlaps between configurations in random Boolean networks, J. Phys. (Paris) 47 (1986) 1297–1303. doi:10.1051/jphys:019860047080129700DOI
- [15]P. Grassberger, Damage spreading and critical exponents for “model A” Ising dynamics, Physica A 214 (1995) 547–559. doi:10.1016/0378-4371(94)00285-2DOI
- [16]A. Wuensche, Classifying cellular automata automatically: finding gliders, filtering, and relating space-time patterns, attractor basins, and the Z parameter, Complexity 4(3) (1999) 47–66. doi:10.1002/(SICI)1099-0526(199901/02)4:3<47::AID-CPLX9>3.0.CO;2-Vdoi.org/10.1002/(sici)1099-0526(199901/02)4:3<47::aid-cplx9>3.0.co;2-v
- [17]H. Zenil, Compression-based investigation of the dynamical properties of cellular automata and other systems, Complex Systems 19 (2010) 1–28. doi:10.25088/ComplexSystems.19.1.1DOI
- [18]T. Toffoli, N. Margolus, Invertible cellular automata: a review, Physica D 45 (1990) 229–253. doi:10.1016/0167-2789(90)90185-RDOI
- [19]B. Schönfisch, A. de Roos, Synchronous and asynchronous updating in cellular automata, BioSystems 51 (1999) 123–143. doi:10.1016/S0303-2647(99)00025-8DOI
- [20]C. Marr, M.-T. Hütt, Topology regulates pattern formation capacity of binary cellular automata on graphs, Physica A 354 (2005) 641–662. doi:10.1016/j.physa.2005.02.019DOI
- [21]M.A. Shereshevsky, Lyapunov exponents for one-dimensional cellular automata, J. Nonlinear Sci. 2 (1992) 1–8. doi:10.1007/BF02429850DOI
- [22]J.T. Cox, Coalescing random walks and voter model consensus times on the torus in Z^d, Ann. Probab. 17 (1989) 1333–1366. doi:10.1214/aop/1176991158DOI
- [23]I. Dornic, H. Chaté, J. Chave, H. Hinrichsen, Critical coarsening without surface tension: the universality class of the voter model, Phys. Rev. Lett. 87 (2001) 045701. doi:10.1103/PhysRevLett.87.045701DOI
- [24]M.J. de Oliveira, Isotropic majority-vote model on a square lattice, J. Stat. Phys. 66 (1992) 273–281. doi:10.1007/BF01060069DOI
- [25]A.J. Bray, Theory of phase-ordering kinetics, Adv. Phys. 43 (1994) 357–459. doi:10.1080/00018739400101505DOI
- [26]V. Spirin, P.L. Krapivsky, S. Redner, Fate of zero-temperature Ising ferromagnets, Phys. Rev. E 63 (2001) 036118. doi:10.1103/PhysRevE.63.036118DOI
- [27]M.A. Nowak, R.M. May, Evolutionary games and spatial chaos, Nature 359 (1992) 826–829. doi:10.1038/359826a0DOI
- [28]B. Efron, R.J. Tibshirani, An Introduction to the Bootstrap, Chapman & Hall, 1993. doi:10.1007/978-1-4899-4541-9DOI
- [29]S. Marino, I.B. Hogue, C.J. Ray, D.E. Kirschner, A methodology for performing global uncertainty and sensitivity analysis in systems biology, J. Theor. Biol. 254 (2008) 178–196. doi:10.1016/j.jtbi.2008.04.011DOI














