Moore graphs of diameter two: the Hoffman-Singleton theoremResearch Paper
Lean 4 / Mathlib formalization of the Hoffman-Singleton theorem (1960) on Moore graphs of diameter two (HoffmanSingleton.hoffman_singleton), together with the Moore bound (HoffmanSingleton.card_le), exact vertex count (HoffmanSingleton.card_eq), and strongly regular graph characterization (HoffmanSingleton.isSRGWith): if a finite k-regular graph with k >= 2…