← All papers
First page of The planar Gates of Hell problem via recursive matrix sparsification

The planar Gates of Hell problem via recursive matrix sparsification

Balázs Maga

math.CO Dec 1, 2026 · v1
The AI disclosure states the original proof was formalized in Lean 4 with ChatGPT's assistance.
We prove that every Borel probability measure on the unit square admits an equal-weight $n$-point approximation with star discrepancy at most $(\frac12\lceil\log_2 n\rceil+1)/n$. Together with Schmidt's classical planar lower bound for Lebesgue measure, this answers the planar Gates of Hell problem positively. Our proof relies on a recursive sparsification algorithm which, for every doubly stochastic $n\times n$ matrix $A$, produces a permutation matrix $P$ with prefix-sum error at most $\frac12\lceil\log_2 n\rceil$, using $O(n^2)$ arithmetic operations and comparisons.

The planar Gates of Hell problem asks whether every Borel probability measure on the unit square admits an equal-weight n-point approximation with star discrepancy O(log n / n), matching the rate known for Lebesgue measure.

Quantile transport reduces the problem to measures with uniform marginals (permutons). Discretizing a permuton gives a doubly stochastic matrix. A recursive sparsification algorithm then splits rows into intervals, assigns disjoint column sets, and moves mass by monotone transport, producing a permutation matrix with bounded prefix-sum error. The original proof was also formalized in Lean 4 using ChatGPT.

Every planar Borel probability measure has D_n(μ) ≤ (½⌈log₂ n⌉+1)/n. Combined with Schmidt's lower bound, this gives sup_μ D_n(μ) = Θ(log n / n), answering the problem positively. The rounding algorithm uses O(n²) arithmetic operations and comparisons.