Local complementation

In graph theory, local complementation (also known as vertex inversion) is an operation on a graph that toggles adjacencies among the neighbours of a chosen vertex, while all other adjacencies remain unchanged. Despite its simple definition, it preserves interesting properties and generates a complex equivalence relation. The operation was introduced by Anton Kotzig and later studied in depth by André Bouchet and Von-Der-Flaass.

Formally, the local complementation of a simple undirected graph at a vertex is an operation that produces a new graph, denoted by . This operation is defined by replacing the subgraph of induced by with its complementary subgraph. In other words, two distinct vertices and are adjacent in the graph when exactly one of the following holds:

  1. vertices and are adjacent in ; or
  2. both vertices and are neighbours of in .

Two graphs are said to be locally equivalent if one can be obtained from the other through a sequence of local complementations. This defines an equivalence relation on graphs, whose equivalence classes are known as local equivalence classes. For example, the star graph and complete graph on vertices are locally equivalent, and they form a local equivalence class. The local equivalence classes on graphs with up to 12 vertices has been computed. The size of a local equivalence class is at most , and this collection of graphs can be enumerated efficiently.