Unimodality of parking functions counted by maximum displacement

Primarily AI-generated textHuman understanding: some partsmath.CO — Combinatoricsmath.PR — Probability

Contributed by Jaehyoung Kim ↗

Version 1 / Nov 29, 2026 / CC BY 4.0

Abstract

We establish unimodality, for every n ≥ 1, of the counts of parking functions of length n grouped by maximum displacement. This proves Conjecture 6.5 of Celano, Elder, Hadaway, Harris, Martin, Priestley and Udell. We prove a stronger staircase theorem: for n ≥ 2, each row increases strictly to its first maximum and decreases strictly after a possible tie between two adjacent maximal terms. From length n to n+1, the first maximum remains in the same position or moves one position to the right; in the latter case, the next row has a strict peak. The proof follows the signs of adjacent differences along columns and diagonals, starting from the recurrence for bounded maximum displacement and combining analytic estimates with exact integer computations for n ≤ 300.

Author comments: This paper presents the staircase proof already included as a companion Lean package in Zenodo record 24505667. It develops that proof in a standalone mathematical exposition and formalization package. The earlier Hexagon paper, hexagon:2611.01035v1, presents the other proof of unimodality from the same research. The present paper derives unimodality from a stronger staircase theorem describing the shape of each row and the movement of its peak between consecutive lengths.

Provenance statement

Jaehyoung Kim developed do-math, selected the conjecture, set the research goals and acceptance standards, and decided what to publish. AI sessions produced the mathematical arguments, Lean proofs, explanatory records and paper. The research involved two do-math runs, on 5–13 and 19–23 November 2026, and sessions between and after them. The first run used OpenAI GPT-6.1 Sol through Codex CLI and Anthropic Claude Fable 5.1 and Opus 5.5 through Claude Code. The formal staircase argument was obtained in the second run, using Claude Fable and Claude Opus; their versions are not recorded in that run’s history. Further AI sessions rebuilt the proof on the shared Parking library and prepared the exposition and formalization package. The staircase proof was already included as a companion Lean package in Zenodo record 24505667. This paper presents that proof in a standalone mathematical exposition, accompanied by a standalone formalization package. The earlier Hexagon paper, hexagon:2611.01035v1, presents the other proof of unimodality from the same research. The main formal development uses Lean 4.36.0 with Mathlib and proves Parking.staircase and Parking.unimodal_via_staircase. The Palomar port uses Lean and Mathlib 4.36.0-rc2. The recorded checks give only the axioms propext, Classical.choice and Quot.sound; the finite integer computations used by the formal proof are evaluated by Lean’s kernel. AI sessions compared the paper’s 161 numbered statements with corresponding Lean declarations. The manuscript itself was not mechanically verified: its proof steps were not individually compared with Lean, and the final corrections to its running text were not compared again. Jaehyoung Kim read the two Lean theorem statements and their definitions against the statements in ordinary mathematical language. No person has reviewed the mathematical proofs or refereed the paper. The research package and detailed accounts of the checks are available at [https://zenodo.org/records/24534965](https://zenodo.org/records/24534965), with the earlier material at [https://zenodo.org/records/24505667](https://zenodo.org/records/24505667).

Formalizations

Tools used

do-math
do-math

References

  1. Abel, N. H. Beweis eines Ausdruckes, von welchem die Binomial-Formel ein einzelner Fall ist. Journal für die reine und angewandte Mathematik, vol. 1, pp. 159–160. 1826DOI
  2. Ager-Hart, Bjorn Andreas; Beerbower, Melissa; Harris, Pamela E.; Jakovleski, Joakim; McClinton, Matt. Counting ℓ\ell-interval Fubini rankings through their parking outcome. 2026. Preprint, arXiv:2603.00693arXiv
  3. Aguilar-Fraga, Tomás; Elder, Jennifer; Garcia, Rebecca E.; Hadaway, Kimberly P.; Harris, Pamela E.; Harry, Kimberly J.; Hogan, Imhotep B.; Johnson, Jakeyl; Kretschmann, Jan; Lawson-Chavanu, Kobe; Martínez Mori, J. Carlos; Monroe, Casandra D.; Quiñonez, Daniel; Tolson, Dirk; Williams, Dwight Anderson. Interval and ℓ\ell-interval rational parking functions. Discrete Mathematics & Theoretical Computer Science, vol. 26, no. 1. 2024. Paper No. 10, 29 pp.arXivDOI
  4. Aldous, David; Pitman, Jim. Tree-valued Markov chains derived from Galton-Watson processes. Annales de l'Institut Henri Poincaré (B) Probability and Statistics, vol. 34, no. 5, pp. 637–686. 1998DOI
  5. Celano, Kyle; Elder, Jennifer; Hadaway, Kimberly P.; Harris, Pamela E.; Martin, Jeremy L.; Priestley, Amanda; Udell, Gabe. ℓ\ell-Interval parking functions: Foata invariance, statistic generating functions, and ciphers. 2026. Preprint, arXiv:2507.07243v2; listed on arXiv under the title of its first version, ``Statistics on ℓ\ell-interval parking functions''arXiv
  6. de Bruijn, N. G.; Erdős, P. On a recursion formula and on some Tauberian theorems. Journal of Research of the National Bureau of Standards, vol. 50, no. 3, pp. 161–164. 1953. Research Paper 2404DOI
  7. Flajolet, Philippe; Grabner, Peter J.; Kirschenhofer, Peter; Prodinger, Helmut. On Ramanujan's QQ-function. Journal of Computational and Applied Mathematics, vol. 58, no. 1, pp. 103–116. 1995DOI
  8. Flajolet, Philippe; Sedgewick, Robert. Analytic combinatorics. Cambridge University Press. 2009DOI
  9. Foata, Dominique; Riordan, John. Mappings of acyclic and parking functions. Aequationes Mathematicae, vol. 10, no. 1, pp. 10–22. 1974DOI
  10. Fortuin, C. M.; Kasteleyn, P. W.; Ginibre, J. Correlation inequalities on some partially ordered sets. Communications in Mathematical Physics, vol. 22, no. 2, pp. 89–103. 1971DOI
Show all 17 referencesShow fewer references
  1. Janson, Svante; Petersson, Niclas. The integral of the supremum process of Brownian motion. Journal of Applied Probability, vol. 46, no. 2, pp. 593–600. 2009arXivDOI
  2. Konheim, Alan G.; Weiss, Benjamin. An occupancy discipline and applications. SIAM Journal on Applied Mathematics, vol. 14, no. 6, pp. 1266–1274. 1966DOI
  3. Pappe, Joseph. A note on the log-concavity of parking functions. 2024. Preprint, arXiv:2412.19783arXiv
  4. Petersson, Niclas. The maximum displacement for linear probing hashing. 2009. Uppsala Dissertations in Mathematics 63
  5. Robbins, Herbert. A remark on Stirling's formula. The American Mathematical Monthly, vol. 62, no. 1, pp. 26–29. 1955DOI
  6. Selig, Thomas; Zhu, Haoyue. Parking functions and Łukasiewicz paths. Discrete Mathematics Letters, vol. 14, pp. 77–84. 2024arXivDOI
  7. Yan, Catherine H. Parking functions. Handbook of Enumerative Combinatorics, pp. 835–893. 2015

Version history

  1. v1 · 184 pagesSubmitted by Jaehyoung KimThis paper presents the staircase proof already included as a companion Lean package in Zenodo record 24505667. It develops that proof in a standalone mathematical exposition and formalization package. The earlier Hexagon paper, hexagon:2611.01035v1, presents the other proof of unimodality from the same research. The present paper derives unimodality from a stronger staircase theorem describing the shape of each row and the movement of its peak between consecutive lengths.CurrentNov 28, 2026