Spanning Trees per Edge: A Sharp Bound and a Question of Kenyon, with a Lean 4 Formalisation of the Bound and of Its Sharpness
Spanning Trees per Edge: A Sharp Bound and a Question of Kenyon (paper, verification scripts and Lean 4 packages; version 2.0.0). For every finite multigraph G with m ≥ 1 edges, the number τ(G) of spanning trees satisfies τ(G) < (27/8)m/2 = 1.8371…m, and the base √(27/8) cannot be lowered. In 1996 R. Kenyon asked for the supremum of τ(G)1/m over all graphs and over planar graphs; the first supremum is therefore √(27/8). The planar question (conjectured value 1.7916) remains open; for planar graphs and for determinants of link diagrams the bound improves the constant 1.8393 of Stoimenow slightly, to 1.8371. New in version 2.0.0: both the universal bound and the sharpness of the constant are fully formalised in Lean 4 with Mathlib. Lean checks that every finite multigraph with m ≥ 1 edges satisfies τ2·8m < 27m, with no hypothesis on the multigraph, and that for every real 0 < c < 27/8 there is a finite multigraph with cm < τ2 (Theorem 1 and Corollary 3 of the paper; no sorry, standard axioms only, every module replayed by the kernel checker, recorded clean-room run with negative controls). The formal proof follows a second route, described in the new Section 10 of the paper: it keeps the edge inequality and replaces the universal cover by a comparison of Green functions and a tangent inequality for log det; the lower bound for the supremum is proved on an explicit family of 4-regular graphs. What is not formalised. Proposition 2 of the paper in its generality (every sequence of connected 4-regular graphs of growing girth, quoted from McKay and Lyons), Corollaries 4 and 5, the equality statement, and the lemmas of Sections 3 to 5 as stated there; the formal proof does not use them. That the formal definition of τ is the number of spanning trees is a matter of reading four short definitions. The numerical inequalities of the first proof are also certified by interval arithmetic, and the theorem was confirmed in exact integer arithmetic for all 8,350,006 connected loopless multigraphs with at most 14 edges that are not trees. Limits. The work was produced with substantial AI assistance under the author's direction and has not yet been reviewed by an external expert; this includes the formalisation and the second proof. The literature search was limited to open sources and was not repeated for the second proof; no priority claim is made beyond what the paper states. Corrections are welcome. Files: the paper (PDF) and an archive with the LaTeX source, the paper of version 1.0.0, the verification scripts with their recorded outputs and the two Lean packages (version 1: the key inequality, unchanged; version 2: the complete formalisation, with its verification record, logs and a description of the proof route). Version 1.0.0 remains available: doi:10.5281/zenodo.24504455. Source repository: https://github.com/kosza123/flow-certificate-thresholds (directory spanning-trees-per-edge).
Authors
- Filip Majchrzak (ORCID: https://orcid.org/0009-0007-3475-8900)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-24
- DOI
- https://doi.org/10.5281/zenodo.24504454
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint