Loops and Polygons on Close-Packed Stackings: What Is Known, What Is Machine-Checked in Lean, and What Is Open
For polygons crossing each bilayer at most twice, every site of every close-packed stacking has the same number of each length; flipping one bilayer changes the count of all polygons by a finite sum counted before the flip; and up to length 17 every site of every stacking has as many polygons of each length as diamond. All proved in Lean 4 with Mathlib. What is known, what is new. Thorpe (1972) showed that closed walks are equally many on periodic polytype structures [5]. Paper #102 proved the Loop Equality for every stacking, periodic or not, and checked it in Lean [1]: every site of every close-packed stacking has the same number of closed non-backtracking loops of each length. Version 6 of #102 added Theorem A, a half-turn surgery across one bilayer, and Corollary A: polygons that cross each bilayer at most twice are equally many in every stacking [1, §5]. New here: complete Lean 4 / Mathlib proofs of Corollary A, for every pair of stackings and for every site against diamond's site, with finiteness and a witness that the counts are not zero; of Theorem B of #102 in counting form, the flip formula, with the facts it rests on (a polygon is one cycle; a polygon is two linkages joined at the cut); and of Theorem 5 (a) of #102: at every site of every stacking the polygons of each length up to 17 are as many as at a site of diamond (#102 states it to 16; length 17 is odd). All are in a Palomar entry checked by three independent kernels. The questions answered: is the count of such polygons through a site the same at every site of every stacking, is the change under one flip a finite sum computed before the flip, and do all polygons up to length 16 agree with diamond's, by proofs a computer can check? Yes, yes and yes (Theorems 8, 9, 13, 14 and 21). The Lean 4 / Mathlib package (Palomar registry format, 28 compared theorems, three-kernel comparator) is at https://github.com/DICTOR-Master/loop-equality-lean, commit 63222b2. Paper #125 of DICTO's series. DICTO: the Loop Equality question (#74), the decision to formalise and to write this paper with all the Lean mathematics, the four kinds of question in Section 8. Formalisation, proofs, verification and drafting with Claude (Anthropic).
Authors
- DICTO (ORCID: https://orcid.org/0009-0001-2620-2036)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-28
- DOI
- https://doi.org/10.5281/zenodo.24628032
- Primary Topic
- Mathematics and Applications
- Type
- preprint