# Alignment games with two fixed-size choices: the solution for every k

Open problem settled, formally verified in Lean 4. Vamshi Jandhyala.

> A Hider and a Searcher each pick k of n weighted locations, and the Searcher pays the weight of the locations picked by exactly one of them. Gerum and Lidbetter solved k = 1 and left larger k open. Solved for every k: two levels s ≤ t decide everything. Above t both players use level probabilities, between s and t nobody goes, and below s the Searcher always searches. The levels are the saddle point of an explicit convex-concave function.

Canonical: https://vamshij.com/research/alignment-games-k
Code and Lean proofs: https://github.com/jvvk/mathematics/tree/main/alignment-games-k
Paper (PDF): https://github.com/jvvk/mathematics/blob/main/alignment-games-k/paper/alignment.pdf

Locations $1, \dots , n$ carry weights $c_{i} > 0$. A Hider and a Searcher each choose a set of $k$ locations, and the Searcher pays the total weight of the locations in exactly one of the two sets. Gerum and Lidbetter solved this game for $k = 1$ and left $k \ge 2$ open ("we present here a solution only for k = 1, leaving other cases for future work", Section 5.2, also in the journal version).

This note solves it for every $k$. With $x_{i}$ and $y_{i}$ the probabilities that the Searcher and the Hider use location $i$, there are levels $0 \le s \le t$ such that the Hider plays `y_i = 1/2 - s/(2c_i)` and the Searcher `x_i = 1/2 - t/(2c_i)` on the locations heavier than $t$, the Hider also uses ties at $t$, nobody uses the locations strictly between $s$ and $t$, and the Searcher always searches the locations lighter than $s$ (with ties at $s$ taking up the remainder). The value is $\sum c_{i} x_{i} + k t$. Only inclusion probabilities matter, any vector of them summing to $k$ is realisable (pipage rounding), and optimality follows from a complementary-slackness certificate. The levels exist because a convex-concave function $\Psi (t, s)$ has a saddle point (Sion's theorem); its one-sided derivatives are exactly the two level conditions. For `k ≥ n/2` both players take complements. The game is a special case of the catcher-evader games of Li, Conitzer and Korzhyk (IJCAI 2016), whose threshold best responses give the certificate and whose algorithm computes equilibria numerically; the explicit two-level solution and the existence of the levels are new here.

Preprint v1, 29 November 2026, not peer reviewed; open problem solved (the case left open in the source). Zenodo: [doi:10.5281/zenodo.24664837](https://doi.org/10.5281/zenodo.24664837), identical to this folder at the tag `alignment-games-k-v1`.

AI use: the proof was found by Claude (Anthropic), which also wrote the Lean formalisation and `certificate.py`; Codex (OpenAI) searched for prior work, checked the proof independently and wrote `independent_check.py`. The author is responsible for the content.