Generate all connected non-isomorphic graphs of n vertices modulo local complementation?
Statement
I'd like to generate a list of all simple, connected, undirected graphs of vertices, modulo standard graph isomorphism, and modulo local complementation, which is the following operation: for a graph , mark a vertex , and let be its neighbourhood (such that ). Let be a complete graph on the vertices . Then define , i.e. for any pair of vertices in the neighbourhood of , we negate the existence of an edge.
An example of this operation can be seen in fig. 1 in arXiv:0710.2243.
For edge local complementation, there seems to be a way to enumerate all such graphs efficiently, see the number sequence on https://oeis.org/A156800.
I know of the program geng, which gives me all non-isomorphic graphs of vertices. Currently I use it with Mathematica together with a custom comparator that, given a graph , checks whether it is isomorph to any of all possible local complements of ; unfortunately that is slow due to the extensive use of IsomorphicGraphQ, and because there is a lot of local complements to any given graph.
Does anyone know of a more efficient way of generating said graphs? Maybe …
Posed by J Bausch · graph-theory, enumerative-combinatorics, mathematical-software
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-315917.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-315917.lean
import Mathlib /-! # Generate all connected non-isomorphic graphs of n vertices modulo local complementation? Source: https://mathoverflow.net/questions/315917 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_315917 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_315917