Generating key points…
Answers are grounded in this paper and cite their sources.
We study n-queens completion on random near-full boards: m rows and m columns are free, and each diagonal is independently open or closed. A free row or column with no available square, an empty line, rules out a completion. We prove that under explicit regularity conditions, including the homogeneous model in which all diagonals are open with the same probability, it is with high probability the only obstruction: a board with no empty line has a completion, and a randomized polynomial-time algorithm finds one. This is the queens analogue of the Erdős–Rényi hitting-time theorem for perfect matchings. A completion is a perfect matching that is rainbow for two geometric colourings at once. The proof combines random pools of diagonals, Kahn's matching theorem, a rainbow expanding core built with the Lovász Local Lemma (Moser–Tardos), and a static booster lemma for augmenting paths. The deterministic and algebraic steps are machine-checked in Lean 4 with Mathlib. As a consequence for cryptography, we show that random boards with a planted solution make poor one-way functions: once the number of options per line grows, the planted secret is information-theoretically hidden, but only because the board has many completions, and in experiments on 3,060 planted boards the algorithm, together with a short exact search, always found one. The supplement contains the LaTeX source, the figures, the Lean files with verification instructions, the code for the experiments, an explainer for non-specialists, and SHA-256 fingerprints of every file.
No takes yet. Share an insight, caveat, or question.
Víctor Blanco Bataller (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: