Search arXiv⌕ Search

arXiv · 2611.17252

Sowing the Seeds of Intractability: Kalah is PSPACE-complete

Abstract

Kalah is a classic two-player game in the mancala family of sowing games. Computers have solved several standard-size starting positions, but the complexity of the game on boards of growing size has remained open. We study the natural generalization in which the number of pits per side is part of the input and an arbitrary position is given, with the stone counts given in unary. We show that deciding whether a designated player can force a win from such a position is PSPACE-complete. The hard positions have Alice to move first and both stores initially empty. The same positions are hard under either common convention for capture opposite an empty pit, and with or without the bonus rule, which gives a player another turn when the last stone is sown into their own store. We introduce Line Kalah as an intermediate problem, a game on a line in which stones that leave the line effectively disappear and Alice must save each of her target pits before Bob captures it, and we reduce quantified Boolean formulas to it. The reduction uses a set of sequential timer piles whose last stones approach a group of targets, forcing Alice to choose between two captures in order to set the truth value of a variable, and a final capture gadget to test a clause chosen by Bob (only one is needed adversarially). Since either player may move any pile at any time, the stages are placed so that premature timer firings protect earlier potential targets. For a true formula, Alice's strategy against arbitrary opposing play either gains enough time to save the remaining targets (after Bob deviates from the intended play) or reaches the final test with a correctly encoded, protected input. Finally, the line positions are embedded in Kalah with both stores empty. A separate Bob pit holds the score adjustment, so the winner takes a strict majority of the stones.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Ethan Dickey, Ethan Mader. 2026-11-12. Sowing the Seeds of Intractability: Kalah is PSPACE-complete. https://searcharxiv.org/abs/2611.17252

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

When Matchgate Base Collapse Fails

Base collapse in holographic algorithms asks whether the number of Boolean variables per edge can be bounded by the domain size alone. Chen (STOC 2016) and Xia (STOC 2016) proved collapse under full-rank and other structural hypotheses. We give a negative answer when several locally rank-deficient signatures share one encoding. For every $k\ge2$, we construct a four-label three-state language of maximum arity $k+2$, with $O(k)$-bit integer entries and minimum width $Θ(2^{k/2}/k)$. The lower bound holds under exact labelled equivalence: competing presentations may change the domain and complex weights but must preserve every instance value on the same labelled planar graph. The lower bound follows from a dimension-counting argument in algebraic geometry: low-width representations force nontrivial polynomial relations among instance values. The matching upper bound uses determinant and Pfaffian interpolation. We also prove a trichotomy of column spaces for three-state presentations whose base has rank three and whose left matrix forms have column spaces spanning the dual domain space. One case has width at most three; each of the other two contains unbounded-width families.

cs.CC↗

Sharp Bounds for Selector Advice and Oblivious Equilibrium Search

Ko's tournament argument recognizes a P-selective language with quadratic advice. We determine the leading coefficient in the selector-query model. On $n$-bit inputs, $n^2/4+O(n)$ ordinary advice bits and $n$ nonadaptive comparisons suffice. Some cuts require $n^2/4-O(n\log n)$ bits even for randomized decoders with adaptive access to individual-degree-two extensions. At degree one the exact fixed advice width is $n+1$. Assuming exponential hardness in $\mathrm E$ against SAT-gate circuits, the quarter bound holds in deterministic polynomial time for every P-selective language. The same fixed point determines the cost of searching for an approximate equilibrium before seeing the payoffs. In an $N$-action symmetric constant-sum game with payoffs in $[0,1]$, let $P$ be the best worst-case probability that one game-independent proposal is an additive $ε$-Nash equilibrium. For each fixed $0<ε<1/2$, \[ -\log_2 P=(1+o(1))\, \frac{(\log_2 N)^2}{4[1-H_2(1/2+ε)]}. \] The algorithm draws uniform actions and proposes their empirical distribution for both players. The lower bound allows arbitrary mixed profiles and $N^{o(1)}$ adaptive payoff inspections before the proposal. For all symmetric two-player games, including general-sum games, the sharp exponent is $(\ln 2/8+o(1))(\log_2 N)^2/ε^2$ when $ε\to0$ and $\log(1/ε)=o(\log N)$. For security strategies in arbitrary zero-sum games the exponent is four times larger, and sampling an optimal strategy attains it. The common mechanism counts successful tuples. A fixed point makes them capture constant sampling probability while controlling a power moment of their distribution.

cs.CC↗

Products of Distinguisher Hulls

The distinguisher hull of two distributions is the convex hull of the pairs of acceptance probabilities of tests in a specified class. We study its behavior under independent products for size-bounded Boolean circuits. We derive a geometric consequence of Dwork and Tankala's supersimulator theorem (FOCS 2026), giving a substantially different proof of approximate product containment for distinguisher hulls. In particular, our construction uses nonadaptive sampling in place of adaptive score corrections.

cs.CC↗