Full text
Identical to the file godsil-gutman-lean.pdf of the Zenodo record (same MD5 checksum).
Mathematics
Version 3DOI 10.5281/zenodo.20600948Apache 2.0
A machine-checked formalization, in Lean 4 / Mathlib, of the Godsil–Gutman identity: the average characteristic polynomial of a uniformly random ±1 signing of a graph is its matching polynomial. The development also contributes the matching polynomial and its deletion recurrence, the ℤ/2 sign-averaging engine, and the Bilu–Linial 2-lift spectral decomposition. The headline theorems are sorry-free (axioms: propext, Classical.choice, Quot.sound). Heilmann–Lieb real-rootedness and interlacing families are mapped, not formalized — a path-tree route is proposed. The paper is included in English and Spanish editions, with figures and exact numerical cross-checks. Lean sources: github.com/karlesmarin/godsil-gutman-lean.
Identical to the file godsil-gutman-lean.pdf of the Zenodo record (same MD5 checksum).
Carles Marín Muñoz, Random Signs into Matchings: A Godsil-Gutman Identity, Formalized in Lean 4 (Part I). Zenodo, 2026. doi:10.5281/zenodo.20600948
@misc{Carles2026random,
author = {Carles Marín Muñoz},
title = {Random Signs into Matchings: A Godsil-Gutman Identity, Formalized in Lean 4 (Part I)},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.20600948},
url = {https://doi.org/10.5281/zenodo.20600948}
}