Resolution of Russo's Open Problem on Odd-n Extremal Heap-Type Permutation Generation
We resolve Section 10, item 2 of Luis M. S. Russo (arXiv:2611.22780v1): for every odd n >= 3, we construct an explicit Heap-type recursive single-swap permutation generator visiting all n! permutations that terminates at the lexicographically maximum odd permutation (the full reversal [n, n-1, ..., 1] when n = 3 (mod 4), and [n, n-1, ..., 3, 1, 2] when n = 1 (mod 4)). We prove that no odd permutation is lexicographically larger, that every Heap-type generator for n >= 3 must end at an odd permutation, and that our explicit three-level construction (cyclic lower levels, zigzag penultimate level, three-phase top level) generates all n! permutations without repetition and terminates at this exact extremum. The entire proof is formally verified in Lean 4 (Mathlib v4.33.1) with zero sorrys and standard axioms only, and passed an independent adversarial audit.
Authors
- Salem Levinstein
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-26
- DOI
- https://doi.org/10.5281/zenodo.24570907
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint