Rainbow maps and the number of graceful labelings of trees
Shisheng Li
Source abstract
Let be the number of graceful labelings of trees with edges, that is, the number of spanning trees of the complete graph on whose edges have distinct lengths. The answer to exercise 7.2.2.3-106 of The Art of Computer Programming states that, if an empirical observation of Anick is true, then with , and that rigorous proofs are unknown. We prove that for every , with . A rainbow map of order sends each vertex to a vertex so that the lengths are in some order. Acyclic rainbow maps are exactly the graceful labelings, and all rainbow maps are counted by the Whitty numbers (OEIS A134983). We show that by a combinatorial argument: for fixed directions, rainbow maps are rook placements on a Ferrers board; a swap injection shows that a uniformly random rainbow map has cycles on average; and an inequality on the periods of a word shows that the cycles of a rainbow map can be removed by changing edges. We also show that is the total weight of a family of weighted Motzkin paths. This yields exact enumerations, an alternating sum for , and a representation of as a moment of a continuous dual Hahn weight, from which . The main theorem has been formalized in Lean 4; its combinatorial half uses no axioms beyond those of Lean.
Evidence graph
No public relationships recorded yet.
Integrity note: This page is a factual metadata record created by deterministic ingestion. It is not a claim that the work moves a mathematical frontier or has been independently verified.