arXiv:2610.28928cs.SCOct 2026

Manuscript Offprint

arXiv:2610.28928

An algorithmic construction of Nullstellensatz certificates for graph automorphism groups

Ivan Drecun

Abstract

Solvers for graph isomorphism and related problems are widely used in both theoretical and applied domains, but their complexity often requires users to trust their correctness without verification. We present a certifying algorithm for computing a generating set of the automorphism group of a given graph, meaning that it produces an independently verifiable certificate that the output list of automorphisms generates the entirety of the automorphism group. The problem of constructing a certificate is reduced to certifying that a system of multivariate polynomial equations is infeasible. An individualization-refinement algorithm produces a derivation within an algebraic proof system, representing a Nullstellensatz certificate of infeasibility. We provide an implementation of both the certifying algorithm and a certificate verifier, and demonstrate their viability on graphs with hundreds of vertices.

Keywords: Graph automorphism; Graph isomorphism; Nullstellensatz certificate; Algebraic proof system; Individualization-refinement; Proof verification

1 Introduction

An isomorphism between two graphs is a bijection between their sets of vertices such that the adjacency relation is preserved. An automorphism is an isomorphism from a graph G to itself, with the set of all automorphisms forming a group under composition, called the automorphism group of G and denoted by Aut(G)\text{Aut}(G). The graph isomorphism problem (GI) is the decision problem of determining whether two given graphs are isomorphic. The graph isomorphism problem has been shown to be polynomial time equivalent to several closely related problems. One such problem is determining a generating set of the graph automorphism group [Mat79]. Many systems for solving GI and related problems have been developed over the years [MP14, JK07, CKSM13, LPFC11] and it may be argued that, from a practical standpoint, these problems have been solved. It might come as a surprise, then, that the theoretical bounds for the complexity of such problems are still not fully understood. While it is clear that GI is in NP (since an isomorphism is a polynomial-size certificate), the relation of GI to either P or NP-complete is not known. The best known upper bound on the computational complexity of GI is quasipolynomial [Bab16]. Furthermore, GI is not known to be in CONP, meaning that there is no known polynomial-size certificate for non-isomorphism of two graphs [Bab18].

A certifying algorithm is an algorithm which, along with its output, produces a certificate of its correctness. The certificate should be easily and independently verifiable. The benefit of certifying algorithms is that trust may be offloaded from the potentially complex algorithm and its implementation to a much simpler certificate verification procedure [MMNS11]. Such algorithms are particularly useful in automated and interactive theorem proving, allowing for complex algorithms to be used as primitives within proof assistants, without requiring the underlying implementation itself to be verified. A practical certifying algorithm for graph isomorphism, and more generally for graph canonical labeling, has been developed in recent years [BDM23]. The produced certificate and its verification procedure are coupled to a specific instance of McKay and Piperno's graph canonical labeling algorithm, and the certificate is represented as a proof within a relatively complex, purpose-built proof system.

In this paper, we present a certifying algorithm for calculating a set of generators of Aut(G)\text{Aut}(G) for some graph GG. Specifically, we deal with the problem of constructing a certificate that a produced set a1,…,ama_1, \ldots, a_m of automorphisms of GG generates the entirety of Aut(G)\text{Aut}(G). The problem is reduced to deciding the infeasibility of a system of multivariate polynomial equations. Namely, the reduction is via the typical identification of the automorphisms with permutation matrices XX satisfying AX=XAAX = XA, where AA is the adjacency matrix of GG [SS83, DHMO10, BG15], with an additional polynomial family for excluding all automorphisms generated by a1,…,ama_1, \ldots, a_m. If such a system is infeasible, then it must be that all automorphisms are generated by a1,…,ama_1, \ldots, a_m. We introduce a simple algebraic proof system for certifying ideal membership whose correctness we prove, and within which we construct a Nullstellensatz certificate of infeasibility [DLMM11]. The construction is guided by an individualization-refinement search procedure similar to the one described by McKay and Piperno. More specifically, we associate a monomial with each node of the search tree (after pruning), with 1 corresponding to its root. We give an explicit bottom-up derivation of those monomials within the proof system. The verification procedure checks that the supplied permutations are indeed automorphisms of the input graph, and that each step of the derivation is a valid application of a rule of the proof system, with the last step producing 1, corresponding to the Nullstellensatz certificate. This requires only simple polynomial operations, i.e. addition, multiplication and substitution. We provide an implementation of the certifying algorithm, as well as the certificate verifier, and report on the results of the experimental evaluation.