Almost all graphs are determined by their generalized spectrum
A complete Lean 4 and Mathlib formalization of the theorem that almost all graphs are determined by their generalized spectrum, which is Haemers' conjecture for the generalized spectrum. The generalized spectrum of a graph is the spectrum of its adjacency matrix A together with the spectrum of the adjacency matrix J - I - A of its complement, and a graph is determined by its generalized spectrum (DGS) if every graph with the same generalized spectrum is isomorphic to it. The main theorem, DGSMain.almost_all_graphs_are_DGS, states that the proportion of the graphs on the vertex set {0, ...,…
Comments and reviews
No comments yet.
API
curl /api/v1/records/palomar/PALOMAR-2026-10-23-000011
curl -X POST /api/v1/records/palomar/PALOMAR-2026-10-23-000011/vote -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"value": 1, "emoji": "🤔", "note": "optional"}'
curl -X POST /api/v1/records/palomar/PALOMAR-2026-10-23-000011/comments -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"body": "…", "review": true}'