The planar Gates of Hell problem: an optimal-order discrepancy bound for arbitrary probability measures
Version 1 / Nov 30, 2026 / CC BY 4.0
Abstract
We give a recursive construction which, for every doubly stochastic matrix , produces a permutation matrix with prefix-sum error at most . The construction transports a fractional child measure monotonically to the available unit atoms and then rounds cumulative masses in one dimension. The child error remains between zero and the parent error, up to one half. A recursive interval estimate prevents a second logarithmic loss. It follows that every Borel probability measure on the square admits an equal-weight -point approximation with star discrepancy at most , and rectangle discrepancy at most . Approximating points may lie outside the original support. The rounding argument is finite-dimensional and applies to arbitrary real matrix entries. Together with Schmidt's classical planar lower bound for Lebesgue measure, this settles the order-of-magnitude version of the planar Gates of Hell problem. The central existence theorems have also been formalized in Lean 4. The scope of the formalization and the available verification evidence are discussed in the appendix. The Lean source files will be made
publicly available separately.
Provenance statement
Tools used
- OpenAI
- ChatGPT
References
- M. Ullrich, Discrepancy and numerical integration for the worst measure , arXiv:2611.37951v1, 27 November 2026. https://arxiv.org/abs/2611.37951arXiv
- C. Aistleitner, D. Bilyk and A. Nikolov, Tusnády's problem, the transference principle, and non-uniform QMC sampling , Monte Carlo and Quasi-Monte Carlo Methods, Springer Proceedings in Mathematics and Statistics 241 (2018), 169--180. https://arxiv.org/abs/1703.06127link
- D. E. Knuth, Two-way rounding , SIAM Journal on Discrete Mathematics 8 (1995), 281--290. https://arxiv.org/abs/math/9504228link
- B. Maga, On the approximation of permutons , arXiv:2605.02298v1, 4 May 2026. https://arxiv.org/abs/2605.02298arXiv
- C. Aistleitner and J. Dick, Low-discrepancy point sets for non-uniform measures , Acta Arithmetica 163 (2014), 345--369. doi:10.4064/aa163-4-4 (https://doi.org/10.4064/aa163-4-4).DOI
- C. Aistleitner and J. Dick, Functions of bounded variation, signed measures, and a general Koksma--Hlawka inequality , Acta Arithmetica 167 (2015), 143--171. doi:10.4064/aa167-2-4 (https://doi.org/10.4064/aa167-2-4).DOI
- M. Bacharach, Matrix rounding problems , Management Science 12 (1966), 627--744. doi:10.1287/mnsc.12.9.732 (https://doi.org/10.1287/mnsc.12.9.732).DOI
- J. Beck, Balanced two-colorings of finite sets in the cube , in Proceedings of the Oberwolfach Meeting ``Kombinatorik'' (1986), vol. 73 (1989), 13--25.
- L. Brandolini, L. Colzani and G. Travaglini, Discrepancy and approximation of absolutely continuous measures with atomic measures , Journal of Geometric Analysis 35 (2025), Article 97. doi:10.1007/s12220-025-01935-3 (https://doi.org/10.1007/s12220-025-01935-3).DOI
- W. W. L. Chen, On irregularities of distribution and approximate evaluation of certain functions , Quarterly Journal of Mathematics 36 (1985), 173--182.
Show all 20 referencesShow fewer references
- B. Doerr, T. Friedrich, C. Klein and R. Osbild, Rounding of sequences and matrices, with applications , preprint, available at https://citeseerx.ist.psu.edu/document?doi=eb12982d05930077a078053f9f6d1caf0100562c.link
- S. Fairchild, M. Goering and C. Weiß, Families of well approximable measures , Uniform Distribution Theory 16 (2021), 53--70. doi:10.2478/udt-2021-0003 (https://doi.org/10.2478/udt-2021-0003).DOI
- J. H. Halton, On the efficiency of certain quasi-random sequences of points in evaluating multi-dimensional integrals , Numerische Mathematik 2 (1960), 84--90.
- Y. Lei, Tusnády's problem and online two-sample thinning , arXiv:2611.08455, 5 November 2026. https://arxiv.org/abs/2611.08455.arXiv
- A. Nikolov, Tighter bounds for the discrepancy of boxes and polytopes , Mathematika 63 (2017), 1091--1113. doi:10.1112/S0025579317000250 (https://doi.org/10.1112/S0025579317000250).DOI
- L. Rüschendorf, On the distributional transform, Sklar's theorem, and the empirical copula process , Journal of Statistical Planning and Inference 139 (2009), 3921--3927. doi:10.1016/j.jspi.2009.05.030 (https://doi.org/10.1016/j.jspi.2009.05.030).DOI
- W. M. Schmidt, Irregularities of distribution, VII , Acta Arithmetica 21 (1972), 45--50. doi:10.4064/aa-21-1-45-50 (https://doi.org/10.4064/aa-21-1-45-50).DOI
- Z. Wei, Tight bounds for Tusnády's problem in the plane , arXiv:2610.08130, 6 October 2026. https://arxiv.org/abs/2610.08130.arXiv
- C. Weiß, On the discrepancy of low-dimensional probability measures , Theory of Probability and Mathematical Statistics 111 (2024), 199--209. doi:10.1090/tpms/1223 (https://doi.org/10.1090/tpms/1223).DOI
- N. Wengiel, Resolving Tusnády's problem , arXiv:2611.06998, November 2026. https://arxiv.org/abs/2611.06998.arXiv
Version history
- v1 · 14 pagesSubmitted by Balázs MagaInitial depositCurrentNov 30, 2026