Completing random near-full queens boards at the hitting time

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.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24787791
Primary Topic
Limits and Structures in Graph Theory
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Completing random near-full queens boards at the hitting time

Víctor Blanco Bataller
Zenodo (CERN European Organization for Nuclear Research)
Limits and Structures in Graph Theory
preprint

Completing random near-full queens boards at the hitting time

Víctor Blanco Bataller
preprint en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
Limits and Structures in Graph Theory
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon