Learning Graph Theory and Spectral Methods with Lean
17 Aug 2026
I’ve been building an educational Lean 4 project that connects graph theory fundamentals with spectral graph methods using Mathlib.
The tutorial starts with SimpleGraph and develops concepts such as adjacency, degree, paths, connectivity, cliques, colorings, homomorphisms, and isomorphisms. It then turns to adjacency and Laplacian matrices, spectral gaps, Rayleigh quotients, and the role of eigenvectors in spectral clustering. The intent is to make the mathematical ideas and their formal representation approachable side by side.
I’d welcome suggestions for the next topic to formalize or explain. Which graph-theoretic result would be especially useful to see worked through in Lean?
comments powered by Disqus