# Graph automorphism

In the mathematical field of graph theory, an **automorphism** of a graph is a form of symmetry in which the graph is mapped onto itself while preserving the edge–vertex connectivity.

Formally, an automorphism of a graph *G* = (*V*,*E*) is a permutation σ of the vertex set *V*, such that the pair of vertices (*u*,*v*) form an edge if and only if the pair (σ(*u*),σ(*v*)) also form an edge. That is, it is a graph isomorphism from *G* to itself. Automorphisms may be defined in this way both for directed graphs and for undirected graphs.
The composition of two automorphisms is another automorphism, and the set of automorphisms of a given graph, under the composition operation, forms a group, the automorphism group of the graph. In the opposite direction, by Frucht's theorem, all groups can be represented as the automorphism group of a connected graph – indeed, of a cubic graph.^{[1]}^{[2]}

## Computational complexity

Constructing the automorphism group is at least as difficult (in terms of its computational complexity) as solving the graph isomorphism problem, determining whether two given graphs correspond vertex-for-vertex and edge-for-edge. For, *G* and *H* are isomorphic if and only if the disconnected graph formed by the disjoint union of graphs *G* and *H* has an automorphism that swaps the two components.^{[3]} In fact, just counting the automorphisms is polynomial-time equivalent to graph isomorphism^{[4]}

The **graph automorphism problem** is the problem of testing whether a graph has a nontrivial automorphism. It belongs to the class NP of computational complexity. Similar to the graph isomorphism problem, it is unknown whether it has a polynomial time algorithm or it is NP-complete.^{[5]}
There is a polynomial time algorithm for solving the graph automorphism problem for graphs where vertex degrees are bounded by a constant.^{[3]}
The graph automorphism problem is polynomial-time many-one reducible to the graph isomorphism problem, but the converse reduction is unknown.^{[6]}^{[7]}^{[8]} By contrast, hardness is known when the automorphisms are constrained in a certain fashion; for instance, determining the existence of a fixed-point-free automorphism (an automorphism that fixes no vertex) is NP-complete, and the problem of counting such automorphisms is #P-complete.^{[5]}^{[8]}

## Algorithms, software and applications

While no *worst-case* polynomial-time algorithms are known for the general Graph Automorphism problem, finding the automorphism group (and printing out an irredundant set of generators) for many large graphs arising in applications is rather easy. Several open-source software tools are available for this task, including NAUTY,^{[9]} BLISS^{[10]} and SAUCY.^{[11]}^{[12]} SAUCY and BLISS are particularly efficient for sparse graphs, e.g., SAUCY processes some graphs with millions of vertices in mere seconds. However, BLISS and NAUTY can also produce Canonical Labeling, whereas SAUCY is currently optimized for solving Graph Automorphism. An important observation is that for a graph on *n* vertices, the automorphism group can be specified by no more than *n-1* generators, and the above software packages are guaranteed to satisfy this bound as a side-effect of their algorithms (minimal sets of generators are harder to find and are not particularly useful in practice). It also appears that the total support (i.e., the number of vertices moved) of all generators is limited by a linear function of *n*, which is important in runtime analysis of these algorithms. However, this has not been established for a fact, as of March 2012.

Practical applications of Graph Automorphism include graph drawing and other visualization tasks, solving structured instances of Boolean Satisfiability arising in the context of Formal verification and Logistics. Molecular symmetry can predict or explain chemical properties.

## Symmetry display

Several graph drawing researchers have investigated algorithms for drawing graphs in such a way that the automorphisms of the graph become visible as symmetries of the drawing. This may be done either by using a method that is not designed around symmetries, but that automatically generates symmetric drawings when possible,^{[13]} or by explicitly identifying symmetries and using them to guide vertex placement in the drawing.^{[14]} It is not always possible to display all symmetries of the graph simultaneously, so it may be necessary to choose which symmetries to display and which to leave unvisualized.

## Graph families defined by their automorphisms

Several families of graphs are defined by having certain types of automorphisms:

- An asymmetric graph is an undirected graph without any nontrivial automorphisms.
- A vertex-transitive graph is an undirected graph in which every vertex may be mapped by an automorphism into any other vertex.
- An edge-transitive graph is an undirected graph in which every edge may be mapped by an automorphism into any other edge.
- A symmetric graph is a graph such that every pair of adjacent vertices may be mapped by an automorphism into any other pair of adjacent vertices.
- A distance-transitive graph is a graph such that every pair of vertices may be mapped by an automorphism into any other pair of vertices that are the same distance apart.
- A semi-symmetric graph is a graph that is edge-transitive but not vertex-transitive.
- A half-transitive graph is a graph that is vertex-transitive and edge-transitive but not symmetric.
- A skew-symmetric graph is a directed graph together with a permutation σ on the vertices that maps edges to edges but reverses the direction of each edge. Additionally, σ is required to be an involution.

Inclusion relationships between these families are indicated by the following table:

## See also

## References

- ↑ Frucht, R. (1938), "Herstellung von Graphen mit vorgegebener abstrakter Gruppe",
*Compositio Mathematica*(in German),**6**: 239–250, ISSN 0010-437X, Zbl 0020.07804. - ↑ Frucht, R. (1949), "Graphs of degree three with a given abstract group",
*Canadian Journal of Mathematics*,**1**(4): 365–378, doi:10.4153/CJM-1949-033-6, ISSN 0008-414X, MR 0032987. - 1 2 Luks, Eugene M. (1982), "Isomorphism of graphs of bounded valence can be tested in polynomial time",
*Journal of Computer and System Sciences*,**25**(1): 42–65, doi:10.1016/0022-0000(82)90009-5. - ↑ R. Mathon, "A note on the graph isomorphism counting problem".
- 1 2 Lubiw, Anna (1981), "Some NP-complete problems similar to graph isomorphism",
*SIAM Journal on Computing*,**10**(1): 11–21, doi:10.1137/0210002, MR 605600. - ↑ R. Mathon, "A note on the graph isomorphism counting problem",
*Information Processing Letters,*8 (1979), pp. 131-132 - ↑ Köbler, Johannes; Schöning, Uwe; Torán, Jacobo (1993),
*Graph Isomorphism Problem: The Structural Complexity*, Birkhäuser Verlag, ISBN 0-8176-3680-3, OCLC 246882287 - 1 2 Jacobo Torán, "On the hardness of graph isomorphism",
*SIAM Journal on Computing,*vol. 33 (2004), no. 5, pp. 1093-1108, doi:10.1137/S009753970241096X - ↑ McKay, Brendan (1981), "Practical Graph Isomorphism" (PDF),
*Congressus Numerantium*,**30**: 45–87, retrieved 14 April 2011. - ↑ Junttila, Tommi; Kaski, Petteri (2007), "Engineering an efficient canonical labeling tool for large and sparse graphs" (PDF),
*Proceedings of the Ninth Workshop on Algorithm Engineering and Experiments (ALENEX07)*. - ↑ Darga, Paul; Sakallah, Karem; Markov, Igor L. (June 2008), "Faster Symmetry Discovery using Sparsity of Symmetries" (PDF),
*Proceedings of the 45th Design Automation Conference*: 149–154, doi:10.1145/1391469.1391509, ISBN 978-1-60558-115-6. - ↑ Katebi, Hadi; Sakallah, Karem; Markov, Igor L. (July 2010), "Symmetry and Satisfiability: An Update" (PDF),
*Proc. Satisfiability Symposium (SAT)*. - ↑ Di Battista, Giuseppe; Tamassia, Roberto; Tollis, Ioannis G. (1992), "Area requirement and symmetry display of planar upward drawings",
*Discrete and Computational Geometry*,**7**(1): 381–401, doi:10.1007/BF02187850; Eades, Peter; Lin, Xuemin (2000), "Spring algorithms and symmetry",*Theoretical Computer Science*,**240**(2): 379–405, doi:10.1016/S0304-3975(99)00239-X. - ↑ Hong, Seok-Hee (2002), "Drawing graphs symmetrically in three dimensions",
*Proc. 9th Int. Symp. Graph Drawing (GD 2001)*, Lecture Notes in Computer Science,**2265**, Springer-Verlag, pp. 106–108, doi:10.1007/3-540-45848-4_16, ISBN 978-3-540-43309-5.