Manuscript Offprint
arXiv:2611.01399Deterministic Graph Isomorphism Algorithm via Inherited Decompositions
Abstract
We give a deterministic -time algorithm for graph isomorphism. To our knowledge, this is the first proof of such a worst-case bound for general graphs. The algorithm uses the local-certificate and color-refinement steps of Babai's quasipolynomial algorithm, but retains the decomposition of each recursive instance when it solves an auxiliary coloring problem. There are two reasons for retaining this information. First, a local test can make progress without removing many vertices: it can eliminate a layer of permutation symmetry. A logarithmic bound on the total weight of these layers allows tests of constant size. Second, the auxiliary bipartite graphs arising in the symmetry-breaking step can be represented inside the current instance, after retaining a row decomposition when necessary. These recursive calls inherit the progress already made. The analysis gives a recurrence with quadratic logarithmic cost and a fixed power decrease in every fresh recursive call, improving the explicit cubic logarithmic exponent in the analysis of the corrected Luks–Babai algorithm. We present the algorithm through colorings, partitions, and bipartite graphs, and collect the permutation-group ingredients in one appendix. The result extends to string isomorphism and returns one isomorphism and generators for the full automorphism group.
1 Introduction
Graph isomorphism asks whether two graphs differ only in the names of their vertices. Given graphs and on vertices, we seek a bijection such that
The definition is elementary, but the worst-case complexity of finding such a bijection has resisted a general polynomial-time algorithm. The difficulty is not usually a lack of local information. Degree sequences, neighborhood colors, and repeated refinement often identify many vertices. The difficult instances are those in which large sets of vertices remain indistinguishable under the available information.
Luks's algorithm for bounded-degree graphs introduced a way to describe and restrict the remaining vertex permutations without listing them individually [21]. Babai's quasipolynomial algorithm combines this approach with local certificates and a combinatorial analysis of highly symmetric auxiliary structures [2, 4]. Helfgott's detailed exposition of the corrected algorithm gives the explicit bound
*University of Maryland. Email: hajiaghayi@gmail.com.
†University of Maryland. Email: mahdijafariraviz@gmail.com.
See Appendix A of [16] for this explicit estimate. The running-time analysis, including the treatment of auxiliary recursive calls, is part of the difficulty: Babai's correction of Split-or-Johnson was necessary to obtain the quasipolynomial bound [3, 16].
We refine both the recursive reductions and their analysis to obtain the bound
To our knowledge, this is the first proof of an worst-case bound for general graph isomorphism. The improvement comes from changing which auxiliary instances are solved, which decompositions they inherit, and what is charged when a recursive call keeps almost all of the current domain. Du [11] previously stated the same bound; Appendix B explains why that argument does not establish it.
Theorem 1.1 (Graph isomorphism). There is a deterministic algorithm that, given two graphs on vertices, decides whether they are isomorphic in time . If they are isomorphic, it returns one isomorphism and generators for the full automorphism group of the first graph within the same bound.
The proof uses a standard intermediate problem. A coloring is a map , where is a finite set of positions. A generating set specifies a family of allowed permutations of , closed under composition and inversion. Given two colorings , string isomorphism asks for all with . For a graph, the positions are ordered vertex pairs, the colors record adjacency, and the allowed permutations apply the same vertex permutation to both coordinates. The number of positions is at most , so a bound of the form (2) is preserved.
Theorem 1.2 (String isomorphism). String isomorphism on positions can be solved deterministically in time. The algorithm returns either the empty set or one isomorphism and generators for the entire color-preserving subgroup. The running time has an additional polynomial dependence on the explicit input description.
The statement uses the usual generator representation of permutation groups. Canonization is a separate task; Babai obtained a quasipolynomial algorithm for that task as well [5]. The theorem here concerns isomorphism and automorphism generators. The group-theoretic structural input, including the classification-dependent primitive-group results, is stated and used in Appendix A.
1.2 Relation to previous work
Early computational work on graph isomorphism includes Corneil and Gotlieb's heuristic treatment [10]; Read and Corneil's survey [27] describes the development of the problem, its applications, and its unsettled complexity. Algorithms for restricted graph classes supplied several of the first structural methods. In particular, Hopcroft and Wong obtained a linear-time isomorphism test for planar graphs [18]. These algorithms use structural restrictions to control the relabelings that must be considered.
The group-theoretic approach represents families of possible relabelings by generators and restricts those families recursively. Babai gave a randomized polynomial-time test for vertex-colored graphs with bounded color multiplicities, using a chain of permutation groups [1]. Furst, Hopcroft, and Luks established polynomial-time algorithms for basic operations on generator-specified permutation groups [12]. Luks reduced bounded-degree graph isomorphism to color-preserving subgroup problems for groups with restricted composition factors, obtaining a polynomial-time algorithm for every fixed maximum degree [21]. Babai and Luks extended this approach to canonical labeling, including polynomial-time canonization for bounded-degree graphs. Their general canonization algorithm runs in time , using Zemlyachenko's color-valence reduction together with the group-theoretic canonical-labeling machinery [7]. Combining group methods with degree reduction also gave general subexponential algorithms: Babai, Kantor, and Luks obtained the bound [8].
Combinatorial refinement provides another source of structure. The Weisfeiler–Leman method refines colors using incidence information and relates the resulting partitions to graph symmetry [20]. Its limitations are substantial: Cai, Fürer, and Immerman constructed nonisomorphic graphs requiring linear Weisfeiler–Leman dimension to distinguish, even among degree-three colored graphs. Their examples admit linear-time canonical labeling: failure of low-dimensional refinement can coexist with efficient isomorphism testing on the same graph family [9]. Neuen and Schweitzer proved exponential lower bounds for individualization-refinement algorithms whose refinement operators, cell selectors, and node invariants are captured by a fixed dimension of Weisfeiler–Leman refinement [26]. These are lower bounds for the specified methods. They help explain the role of additional permutation-group information in algorithms that combine refinement with algebraic reductions.
Babai combined Luks's string-isomorphism framework with local certificates and combinatorial partitioning to obtain a general quasipolynomial-time algorithm [2, 4]. The corrected algorithm replaces a recursive step in the Split-or-Johnson procedure [3]. Helfgott's exposition of the corrected algorithm gives the explicit running-time estimate in Appendix A [16]; this is the quantitative benchmark used here. The local certificates connect information about small test sets in an auxiliary action to restrictions on the original permutation group. Babai subsequently obtained quasipolynomial-time canonization by modifying the symmetry-breaking construction [5]. Canonization remains a separate output requirement from the isomorphism cosets computed in this paper.
Later work adapted these methods to additional graph structure. Grohe, Neuen, and Schweitzer obtained an isomorphism test for graphs of maximum degree [13], improving the bound of Babai, Kantor, and Luks [8]. Wiebking developed multiple-coset isomorphism to combine graph decompositions with Babai's framework, obtaining an bound, where is the smaller treewidth of the two input graphs [29]. Neuen obtained a algorithm for hypergraph isomorphism under a supplied permutation group whose composition factors embed into the symmetric group on points; here is the number of hyperedges [25]. These bounds exploit the degree, treewidth, or supplied group restriction; they do not give the exponent in (2) for unrestricted graph isomorphism.
The present algorithm builds on the Luks–Babai framework. It uses local certificates and coherent refinement while retaining the decomposition of the current permutation action through auxiliary calls. Two ingredients support this change: a hereditary bound on visible alternating quotients, used to permit constant-size local tests, and realizations of auxiliary bipartite instances inside the current domain. Retained row decompositions supply such realizations when the large action is on single labels. The analysis charges recursive restrictions and auxiliary calls to the same inherited decomposition. Section 2 explains the two reductions and their role in the running-time bound.
Du [11] previously stated an bound for general graph isomorphism. Appendix B gives an infinite family of graph inputs on which an incidence test used by that algorithm fails, and identifies independent gaps in its recursion and assembly of partial answers. That preprint therefore does not establish the stated bound. Our quantitative comparison is with the explicit bound (1) for the corrected Luks–Babai algorithm. The present approach retains permutation actions and complete isomorphism cosets throughout the recursion; it does not use Du's spectral decomposition or exposure argument.
Organization. Section 2 gives an overview of the approach and the running-time argument. Sections 3–5 define the recursive objects and prove the auxiliary graph reductions. Section 6 gives the algorithm and its correctness argument. Section 7 gives the running-time analysis and fixes all numerical parameters. Appendix A contains the structural statements and their detailed permutation-group proofs. Appendix B discusses the major gaps in Du's preprint.
2 Our approach and techniques
Our algorithm builds on the Luks–Babai framework: represent the remaining relabelings by generators, test their compatibility with local information, and use refinement to expose a partition or an auxiliary graph. Two difficulties determine the running time. A local test can eliminate symmetry while keeping almost every position. An auxiliary graph can require substantial recursive work before the original instance can continue. We modify the local-test endpoint and stop the symmetry-breaking procedure at its first bipartite graph. Both changes use a decomposition that remains attached to the instance throughout these operations.
We distinguish the graph's vertices from the positions on which the recursive algorithm stores colors. Initially these positions are the ordered vertex pairs, colored by adjacency. Write for the current number of positions, for the number of auxiliary labels, and for the number of positions at the start of a phase. A phase keeps this starting degree fixed; its calls inherit the decomposition until their domains are small enough to start a new phase. Auxiliary labels may name blocks or coordinates; they need not be graph vertices. In particular, a graph on labels may describe constraints on many more than positions.
Keeping the decomposition and its restrictions. For a transitive active action, the state retains a hierarchy of invariant partitions. Its successive ratios satisfy . Each level also carries a cap : even after further restrictions and quotient actions, its entire action cannot induce all even permutations on more than labels. Initially suffices. A restriction can lower a cap without creating a new partition. This records progress even when the blocks themselves remain unchanged.
When a call selects an orbit, it intersects the old partitions with that orbit and inherits their caps, replacing each cap by its minimum with the new interval ratio. A change from row coordinates to column coordinates splits or reorders old factors and preserves their restrictions. Thus a later auxiliary problem cannot regain an allowance for symmetry that an earlier step has already removed.
On an actual -block quotient of the whole current group with no further invariant partition, the standard primitive-group reduction either enumerates its relabelings or exposes a large alternating action on auxiliary labels. The latter case requires the two reductions below.
Why constant-size tests suffice. A local certificate examines a fixed number of auxiliary labels and asks whether color-preserving relabelings can realize every even permutation of them. We examine all such tests and comparisons between ordered tests in the two inputs; for fixed , there are polynomially many. The test set is small, but answering its question can require exact recursive isomorphism calls throughout the current domain. The procedure grows a window of checked positions, stopping as nonfull if the remaining relabelings no longer realize every even test permutation. Otherwise, if fixing a position prevents some even permutation of the test labels, then fixing all test labels splits that position's orbit into pieces of size at most .
The difficult endpoint occurs when no such position remains; fixing the test labels can then leave an entire orbit intact. First ask whether the current relabelings fixing the unchecked region pointwise still realize all even test permutations. If so, they preserve the checked colors and fix the remaining positions, giving automorphisms of the whole coloring: a full certificate. Otherwise, we find an unchecked orbit on which the test action is visible: the induced relabeling of that orbit determines the permutation of the test labels. Restricting to relabelings that fix every test label removes this symmetry, although the orbit may keep its size.
Assign weight to removing the test action. Theorem A.9 bounds the total weight along every sequence of restrictions and orbit selections by . Its measure never increases under such operations, and the endpoint call lowers it by . Local calls therefore have either or . A bound on each individual symmetry would not give this conclusion; the bound must persist through the entire recursive chain.
The first bipartite graph gives enough progress. Babai's aggregation and refinement steps either yield a useful partition, exploit already certified symmetry, or produce an nontrivial homogeneous coherent configuration—a stable coloring of ordered label pairs—on a subset containing a fixed fraction of the original labels. The value refers to that original label set throughout the reduction. For configurations above the label threshold specified below, we follow Split-or-Johnson only to its first bipartite graph. After fixing one source label and trying its target images, either the resulting color classes are balanced or there is a dominant class and a smaller class . At this first step, both sides are still subsets of the old label set. For a fixed , they satisfy
The bipartite graph is nontrivial and semiregular: degrees are constant on each side. Every class of left vertices with identical neighborhoods has size at most . Once the right side is fixed pointwise, an automorphism can only permute within these classes; the remaining choices act on the smaller right side. Consequently its complete isomorphism answer, projected to and extended across the other labels with the required parity, reduces the parent's selected cap to for a fixed . The extension may admit extra maps. A subsequent check of the original colors removes them while preserving all parent isomorphisms covered by this branch.
Representing the rectangle on existing positions. Fix and put throughout the phase. An auxiliary configuration with can be solved on its ordered pairs, using at most positions. For and sufficiently large , we have , and the action also exceeds the logarithmic threshold of Corollary A.25. Applied to the transitive action on the current positions and its supplied alternating label action, that result identifies the kernel orbits with single labels, ordered pairs, or unordered pairs of distinct labels. Each label or pair represents the same number of positions.
In a pair representation, pull each matrix-entry color back to all positions over that pair. The positions over form an actual subgroup orbit , and
for a fixed ; the factor two is needed for unordered pairs. The inherited call on returns exactly the permitted matrix isomorphisms after projection. Its physical size decreases, and it keeps the old hierarchy, caps, and symmetry measure.
Retaining rows to supply a missing coordinate. For a single-label action, let be its degree and regard its fibers as rows. The row-normal-form theorem chooses a common coordinate system inside the rows, so that every even permutation of the rows is available while leaving the within-row coordinates unchanged. It also specifies the remaining local variation inside a row. If that variation is transitive inside a row, the row terminal reduces to polynomially many exact isomorphism calls on individual rows. Combining their answers must impose one residual action shared by all rows, a sum constraint on their local corrections, and the required parity of the row matching. These conditions are part of the terminal's additional work.
If the local variation is intransitive, its orbits define columns across all rows. We continue on the column action, lifting each restriction to all compatible relabelings of the positions. These full preimages retain the independent row action. A later alternating action of degree on the columns must again have a single-label representation: there are at most columns, too few for a pair representation at this scale. When , couple its even permutations with the same permutations of q selected rows. This supplies a grid of equal cells on which the rectangle can be represented. Its inherited query occupies the fraction
of the current positions. When needed, a second query with permuted target colors handles the other parity class.
If instead , construct new independent rows of degree . There can be only one such enlargement while the row action is retained. The two degrees belong to distinct intervals of the same hierarchy; all other ratios have product at most . The entire remaining action therefore has no alternating section of degree greater than . The coordinate change retains the old caps, so later restrictions cannot produce another larger row requirement.
We process a largest original orbit first, preserving the row action on the only child that can exceed half the parent domain. A child that loses the retained rows already has a domain decrease, a symmetry decrease, or a genuine hierarchy refinement, which pays for their later reconstruction.
Complete answers prevent repeated continuations. Every recursive call returns either the empty set or all compatible relabelings, represented by one isomorphism and generators for the source coloring's stabilizer. This is essential when processing different orbits: each later query must retain every choice consistent with the preceding ones.
Complete output also determines the cost of an auxiliary graph. We finish its recursive solution and assemble its full coset before resuming the parent under the projected answer. The work spent in the auxiliary recursion and the work of the parent continuation add; the auxiliary leaves do not each initiate a new continuation.
The parent resumes under the full preimage of the extended label coset in its original action, saved before the aggregation choices. In particular, choosing the diagonal subgroup to represent a rectangle incurs no enumeration of its index. The rectangle call is paid by its smaller physical domain, and the parent continuation by the smaller cap. Caps learned inside the rectangle call belong to that call; the parent's decrease follows from the rectangle's twin-class argument.
The running-time analysis. The analysis combines domain size, the hereditary measure , the partition hierarchy, and the cap sum
A constant-factor domain decrease pays polynomially many inherited calls. The extra visible-orbit check pays through ; genuine interval refinements consume a separate hierarchy measure. Enumerating the primitive quotient leaves kernel-orbit calls on at most positions, which pays its cost. Reducing a cap from at least to lowers by , which pays the parent continuations. These resources give a total phase cost of times its fresh-call cost.
Choose . Ordinary inherited calls start a fresh phase only at positions or fewer. Small configurations use at most positions, and row calls use at most ; both are below the same threshold. Neither a new auxiliary description nor a change of coordinates by itself restarts the phase. We obtain
Successive quadratic logarithmic costs form a geometric series. Applying the resulting bound to the adjacency positions gives for the original graphs.
3 Colorings, partitions, and allowed relabelings
Unless a base is displayed, logarithms are natural. We distinguish the active domain , on which colors are stored, from an auxiliary label set . Their sizes are and , respectively. An auxiliary label may name a block of positions or a coordinate of a subset representation. It need not be a vertex of the input graph. This distinction matters: a small auxiliary label set can describe a large number of positions.
The allowed relabelings form a group . We use right actions and write for the coloring obtained by relabeling with . A restriction is represented by generators, together with one representative when it is a coset. Basic operations such as finding orbits, fixing specified points, computing an explicitly given image, and lifting image generators take polynomial time. An arbitrary intersection of two permutation groups is not treated as a polynomial-time operation. An overcoset is a coset containing all isomorphisms of the current branch, possibly together with extra relabelings. Those extra relabelings are removed when the original colors are checked.
Every fresh call uses the faithful permutation image on its own active domain, with a polynomial-size strong generating set. Its caller retains the homomorphism used to lift the returned generators and representative; operations in a larger covering action are charged to that caller. Before the call, compress the two input colorings jointly: equal color records receive the same integer name, distinct records receive distinct names, and the common palette has at most entries. Colors are never renamed independently in the two inputs. Reading and comparing the original records contributes the polynomial dependence on the explicit input description in Theorem 1.2. Subsequent calls use the compressed palette, including any shared tags introduced by a construction.
Algorithm 1 gives the entry point for graphs. It records adjacency as colors on ordered vertex pairs and allows only relabelings induced by vertex permutations. Thus the reduction preserves exactly the graph isomorphisms. The larger domain has size , which changes only the constant in a quadratic logarithmic exponent. The recursive routine ISOMORPHISM is specified in Algorithm 4.
Algorithm 1. From graphs to colored positions
Input: Graphs . Output: The complete graph-isomorphism coset, or .
1 procedure GRAPHISO() 2 if then return 3 Identify both vertex sets with and put 4 Let color each pair by its diagonal status and adjacency in 5 Let be the action of all vertex permutations on 6 7 return the vertex permutations induced by the full answer
3.1 Exact answers and the orbit chain rule
Every recursive call returns the complete set of compatible relabelings. This requirement is essential even when the original question asks only for one isomorphism. Suppose has several orbits on . After solving the first orbit, later orbits must be processed under precisely the relabelings compatible with the first answer. Returning only one choice would discard solutions.
If the answer on the first orbit is , absorb into the target coloring and continue under . Repeat for the remaining orbits. This is the orbit chain rule. The recursive domains are disjoint, but their allowed relabelings are processed sequentially. For an exhaustive family of branches, the successful answers can again be represented by one coset: take one successful representative, adjoin the stabilizer generators in each successful answer, and adjoin the ratios of successful representatives. This is valid because the exhaustive union is the full isomorphism coset.
We process a largest orbit of the group at the start of a chain first. This order will preserve a retained row action on the only child that can contain more than half of the current domain. Every later conditional query lies in a different original orbit, and therefore has size at most half of the parent domain.
3.2 The partition hierarchy
A block system is a partition of that every allowed relabeling permutes. In a transitive action all blocks have the same size. We keep a hierarchy of such partitions down to singletons. If its successive ratios are , then
When a recursive call restricts the allowed relabelings and selects one orbit, it intersects the old partitions with that orbit. The old hierarchy is retained; new invariant partitions only refine it.
Each interval of the hierarchy also carries an upper bound on the alternating sections that can occur in that interval. A section means a quotient of a subgroup. The definition is used only for the analysis: it ensures that the bound remains valid after further restrictions and quotient actions. The initial bound is always available. A symmetry-breaking step can reduce even when the partition itself does not change. We will charge the two kinds of progress separately. When an interval of new ratio inherits a bound , we store . Thus every stored bound is at most its current interval ratio, including after an orbit restriction. Formally, the alternating width of a finite group is the largest for which it has a section isomorphic to , or zero if there is no such section. An interval bound is a bound on this quantity for its entire constituent action.
The standard primitive-group reduction either enumerates a group of order on an actual -block quotient, or exposes a large alternating action on an explicit auxiliary label set. Product actions refine the actual hierarchy. Enumeration is performed only on a quotient of the whole current group; a local constituent deeper in a hierarchy is not independently enumerated.
3.3 The three structural interfaces
The main algorithm uses the following facts. Their proofs are in Appendix A.
(i) Inherited symmetry measure. Every transitive active action has a nonnegative measure , nonincreasing under a subgroup restriction and passage to one faithful orbit action. When the induced action has a visible quotient , with a transitive kernel, passage to that kernel reduces by at least (Theorem A.9). The algorithm does not need to compute .
(ii) Large actions have one or two coordinates. If a supplied alternating action on labels is sufficiently large relative to , its kernel orbits are indexed either by one label, by an ordered pair, or by an unordered pair of distinct labels (Corollary A.25). The quotient map and its equal-size fibers are computable.
(iii) Natural rows can be made independent. If the action is on single labels and the kernel is transitive in every row, then above a logarithmic row-size threshold we can choose coordinates so that all even row permutations act without changing the within-row coordinate (Theorem A.17). The full normal form also describes the remaining within-row variation (Theorem A.18).
The first interface explains progress without a large domain decrease. The other two identify auxiliary graph problems that can be solved on a subset of the current domain. These are statements about the actual permutation action, not merely about an abstract group isomorphic to it.
4 Local tests of constant size
Let be an auxiliary label set on which the current action induces all even permutations. Fix a constant and consider every -element test set . A local certificate asks whether the color-preserving relabelings can still realize every even permutation of . It either supplies such relabelings or records an obstruction. The number of test sets and their ordered comparisons is polynomial because is fixed.
The obstacle is that a constant-size test may reveal a large orbit on which no position becomes distinguishable. The ordinary domain-size analysis gives no useful decrease there. Our endpoint procedure explicitly looks for an orbit on which the test action is visible. If it finds one, the recursive call consumes the corresponding symmetry measure. It does not assume that an unaffected region can be ignored.
Lemma 4.1 (Local-test interface). Suppose the physical parent action is transitive, with . For a fixed sufficiently large , all test certificates and ordered comparisons can be computed with polynomial structural work and polynomially many inherited recursive calls of the following two types:
Every comparison returns the complete isomorphism coset. The certificates and the equality classes of ordered comparisons are preserved by all parent isomorphisms.
Proof. Maintain a window of positions whose colors have already been checked. The current allowed relabelings preserve those colors. If their image on is proper, the certificate is nonfull. Otherwise, add the affected positions: those whose point stabilizers do not map onto . The kernel orbits within each affected orbit have size at most a fraction.
If no affected positions remain, test whether the pointwise stabilizer of the remaining region still maps onto . If it does, this gives an actual color-preserving full certificate. If it does not, simplicity guarantees a remaining orbit on which the test quotient is visible. Its kernel is transitive, so the first structural interface decreases by . Add all such orbits, an equivariant choice, and continue.
Each update enlarges the window. There are at most updates, and enumerating the constant-size test quotient costs only a constant factor. Ordered comparisons run the two endpoint procedures in lockstep, under the full ordered-tuple transporter. The prefix-recovery argument in Section A.3 shows that a final marked-window isomorphism preserves every earlier window. Thus discarded comparisons cannot reappear, and the comparison relation is exact. That section gives the full construction and the visibility test.
Algorithm 2 spells out one endpoint procedure. Here consists of the allowed relabelings that preserve and induce an even permutation on it; is this induced action. Relabelings outside remain unrestricted. For a set of positions, denotes the members of fixing every position in . The window records colors already checked. Returning FULL requires actual automorphisms of the entire coloring, whereas NONFULL records that even the current partial automorphisms cannot realize the whole test action.
Algorithm 2. A constant-size local certificate
Input: A transitive inherited state , a coloring , and a test set of size .
Output: A full or nonfull certificate, with its final window and exact endpoint group.
1 procedure LOCALCERTIFICATE() 2 3 loop 4 if then return (NONFULL, ) 5 6 if then 7 else 8 9 if then return (FULL, ) 10 11 12
The operation CHECKNEWWINDOW returns the full subgroup of preserving on . It enumerates the constantly many cosets of in and uses CONTINUE on the kernel orbits in , with the inherited state and the orbit chain rule. Affected orbits give the domain decrease in Lemma 4.1; the orbits selected in the other case give its symmetry-measure decrease. No update is a fresh call on the whole marked coloring.
For ordered comparisons, run two copies in lockstep under the full ordered-tuple transporter, maintaining the complete comparison coset after each new window. Each update uses the same inherited kernel-orbit queries. A mismatch or empty coset ends that comparison. The prefix-recovery argument in the proof above shows that a discarded comparison cannot become feasible later.
4.1 From the tests to an auxiliary graph
Aggregate the full certificates, and use the comparison classes of the nonfull certificates as tuple colors. Babai's Design Lemma and the aggregation procedure then expose either useful symmetry or a nontrivial colored auxiliary graph. Two points require care in using this step with constant-size tests.
First, the full certificates must be actual automorphisms of the entire coloring. This is why the endpoint procedure fixes the unexamined region at full termination. Second, orbital colors cannot be assigned arbitrary names independently in the two instances. We fix a bounded source tuple, branch over its target images and the image of a source orbital, and refine the resulting binary directed graphs. The number of these choices is polynomial in . The detailed argument, including the large-symmetry branch, is in Section A.3.5.
The resulting interface has three outcomes, with an absolute constant :
-
A complete answer reduces to inherited calls on domains of size at most .
-
A colored partition gives a family of permitted relabelings whose alternating-section bound is a fixed fraction of .
-
We obtain a nontrivial homogeneous coherent configuration on , with .
A coherent configuration is an edge coloring of a complete directed graph whose intersection counts depend only on edge colors. It can be obtained by stable pair refinement. Homogeneity means all vertices have the same diagonal color. The algorithm uses the configuration to choose a partition or a bipartite subgraph; the main recursion does not require the reader to manipulate its intersection numbers.
5 Solving the first auxiliary bipartite graph
The usual Split-or-Johnson step continues to analyze the auxiliary configuration. Our recursion stops earlier. It solves the first bipartite graph reached by that procedure, using the old domain whenever the graph has an inherited representation.
5.1 The first rectangle and what its answer gives
Choose an absolute balance parameter . In a homogeneous coherent configuration on , individualize a source vertex and branch over its target image. If every resulting color class has size at most , the coloring already gives a balanced restriction. Otherwise let be the unique larger class. The first step of Split-or-Johnson supplies another class and a nonempty, noncomplete semiregular bipartite graph between and . Both sides are still actual subsets of ; no artificial vertices have been introduced.
Lemma 5.1 (First-rectangle interface). With polynomially many choices, we obtain either a fixed-fraction restriction on the auxiliary action, or a bipartite graph on disjoint satisfying
Every class of left vertices having identical neighborhoods has size at most . The complete isomorphism coset of this bipartite graph under the relabelings induced by the current auxiliary action gives an overcoset containing every parent isomorphism in the current branch, with an alternating-section bound at most on all of , for some fixed .
The intuition behind the last conclusion is direct. An automorphism that fixes the right side can only permute left vertices with the same neighborhood. These twin classes are small. Every other automorphism acts on the smaller right side. Thus large symmetric choices on the left are bounded by either a twin class or the number of right vertices. We may forget the constraints on the complement of after recording this bound, since occupies a fixed fraction of the original label set.
Proof. The construction is the first entrance described in Lemma A.28. For and , the function decreases on the relevant range, giving the displayed product bound. Semiregularity gives the twin bound: complement the bipartite graph if necessary so that every right vertex has degree at most . Each nonempty left twin class is contained in one such neighborhood.
The kernel of the action on permutes only left twin classes; the quotient acts on . Hence the left projection has alternating width at most . Extend its full coset by arbitrary permutations of , and impose the required parity. Its width is at most
Choose larger than this constant and than the constants for the balanced-partition cases. Lifting the overcoset and checking the original colors removes any extra maps admitted by the extension. It preserves every genuine parent isomorphism.
5.2 A rectangle represented by pairs of labels
Suppose the kernel orbits of the current action are indexed by ordered or unordered pairs of distinct labels of . Every pair has the same number of positions above it. The positions above form one orbit of an appropriate subgroup of the allowed relabelings. If this orbit is , then
The factor of two in the second line reflects the unordered-pair domain. This count, rather than the number of newly introduced matrix entries, is what pays for the recursive call.
Pull the color of a matrix entry back to every position above it. An allowed relabeling preserves these pulled-back colors exactly when its action on the rectangle preserves the matrix. A complete answer on therefore projects to the complete permitted matrix answer. The query is an actual subgroup-orbit restriction, so it inherits the hierarchy and the symmetry measure. Equations (3) and the product bound in Lemma 5.1 give for some fixed and sufficiently large .
5.3 A rectangle supplied by retained rows
Now suppose the large action is on single labels. Think of the positions as rows, each with the same set of within-row coordinates. The row-normal-form theorem supplies independent even row permutations. It also describes the remaining local variation on the coordinates inside a row.
If this local variation is transitive, the row subroutine of Theorem A.23 uses polynomially many calls on one row, together with additional work. The terminal must match entire families of row types and their common residual choices; merely sorting the rows would not suffice.

Figure 1: The matrix is solved inside an existing action. The picture is schematic; the exact fiber count is (3). The matrix answer is projected back before the parent continues.
If the local variation is intransitive, its orbits define columns. We keep the row permutations and recurse on the column action. Suppose a later column action has natural blocks and . Couple its even permutations diagonally to the same permutations of selected rows. Above a pair of distinct labels this gives a grid of equal cells. The rectangle uses cells, whereas the current grid contains such cells, up to a common fiber factor. Thus the corresponding query has relative size
Lemma A.30 proves that these are actual subgroup-orbit calls and that their answers project to the full required rectangle coset. A bounded number of parity cases is sufficient.
The diagonal subgroup is used only to solve the matrix. Its index in the parent group is not enumerated: the parent continues under the lifted matrix answer, not under this auxiliary subgroup.
5.4 The auxiliary query and the parent continuation
Algorithm 3 gives the order of these operations. Its input includes a frozen copy of the parent state before the aggregation choices. In particular, and refer to the original label set, even when the coherent configuration uses only . The phase parameters and are defined in Section 6.
The procedure first computes auxiliary answers and extends them to overcosets on all of . It then checks the original colors under their lifts. This order separates two kinds of progress: the auxiliary query uses a smaller inherited domain, and the parent continuation uses a smaller interval bound. Bounds learned inside the auxiliary query are not transferred to the parent.
The small-configuration call uses the action induced by all permutations of on ordered pairs; it has at most positions. Lemma A.12 proves the bound for its extension. For a large configuration, the inherited representation is either the cross-pair orbit or the row-column diagonal orbit described above. If the diagonal action supplies only one parity class of rectangle maps, query both classes by twisting the target matrix, as in Lemma A.30. This uses at most two inherited calls and does not require an odd physical lift. Project the entire returned coset, including its representative and generators, and retain the source-target alignment.
Here LIFTANDCONTINUE() lifts to a coset in the original parent action. It replaces the selected interval bound by the minimum of its old value and , invokes CONTINUE under on , and right-multiplies the returned answer by . Thus it checks the original coloring constraints while retaining the full lifted coset. All other parent bounds remain unchanged. The rectangle subgroup is used only for the query on . The resulting continuation cosets are kept as a list: their union for one aggregation branch need not itself be a coset. Only after all aggregation
Algorithm 3. Solve an auxiliary graph, then resume its parent
Input: The frozen parent , its labels , and corresponding coherent configurations .
Output: A list of exact parent continuation cosets covering this aggregation branch.
1 procedure AUXILIARYREDUCTION() 2 if then return the empty list 3 an empty list of overcosets on 4 if then 5 ISOMORPHISM on the full colored-pair structures 6 Extend using the outer color classes, fixed anchors, and parity 7 Append the resulting nonempty overcoset to 8 else 9 for each source-target choice in the first-rectangle construction do 10 if it gives a balanced partition then 11 Append its full- overcoset to ; continue 12 Align the two rectangles; skip this choice if side sizes differ 13 Represent the rectangle on an actual inherited orbit 14 Pull matrix-entry colors back to in both instances 15 Use CONTINUE to obtain its complete permitted rectangle answer 16 if this answer is empty then continue 17 Project to the left side; extend over and impose parity 18 Append the resulting full- overcoset to 19 an empty list of exact parent answers 20 for each do 21 Append LIFTANDCONTINUE() to 22 return the list
branches have been processed does COMBINEEXACT combine the exhaustive family by the coset rule in Section 3. It returns if every answer is empty.
6 The algorithm
We organize the recursion into phases. A phase starts on positions. Choose fixed constants
An inherited call remains in this phase until its active domain has size at most . Only then may it start a fresh phase. The values of and remain fixed throughout the phase. An auxiliary configuration on labels is an allowed exception: it starts a fresh call on at most positions, already below the same threshold.
6.1 The recursive state
The state contains the active action, the two colorings, the retained partition hierarchy with its interval bounds, and, when present, the independent row action and its invariant column partition. Origin labels on intervals record which old interval is refined by a new one. A counter records the remaining row-construction events before a charged reset. The analysis also follows ; no maximization over subgroup chains is performed by the algorithm.
At a fresh intransitive instance, initialize the hierarchy and interval bounds on each original orbit before imposing any conditional coloring constraints. Process a largest original orbit first.
Every later call inherits the state of the original orbit containing it. Initializing a new hierarchy after each conditional restriction would not justify the running-time bound.
Algorithm 4 distinguishes the initialization of a fresh phase from an inherited call. All state changes in CONTINUE retain the phase size . The only new phases are its threshold call, the small-configuration call in Algorithm 3, and the row calls described below. The faithful-action and joint-palette convention of Section 3 applies at each of these boundaries.
Algorithm 4. The phase recursion
Input: Two colorings and their allowed relabelings; inherited calls also receive the state described above. Output: The complete permitted isomorphism coset.
1 procedure ISOMORPHISM() 2 Use the faithful action and jointly compressed colors on 3 if then return the answer by direct enumeration 4 Set , , and 5 Initialize each original orbit's hierarchy and interval bounds 6 return CONTINUE() for the resulting state
7 procedure CONTINUE() 8 if then return ISOMORPHISM() 9 if is intransitive then return the inherited orbit-chain answer 10 if the active column floor has been entered then 11 Clear the row record and floor mode; set against the incoming descent 12 Expose the next primitive quotient above any retained column partition 13 if enumeration or a product refinement applies then 14 Apply that reduction and solve its children with CONTINUE 15 return their exact combined answer 16 Normalize the single alternating factor, with at most two cosets 17 if the normalized group is intransitive then 18 return the combined inherited orbit-chain answers for these cosets 19 Run GIANTSTEP immediately in each coset, absorbing its representative 20 return the exact combination of these answers
21 procedure GIANTSTEP() 22 Put for the supplied alternating label set 23 if then 24 Recover the one-label or two-label map for the physical kernel orbits 25 if this map is natural and (no rows are retained, or exceeds their degree) 26 then return ROWSTEP() 27 Freeze ; compute local certificates and ordered comparisons 28 an empty list of exact answers 29 for each aggregation branch from these certificates do 30 if it supplies large known symmetry then 31 Append its exact answer from inherited half-domain calls to 32 else if it supplies a balanced full- overcoset then 33 Append LIFTANDCONTINUE() to 34 else 35 Extend by the list AUXILIARYREDUCTION() 36 return COMBINEEXACT()
The orbit-chain operation processes a largest original orbit first and carries its exact answer into the remaining queries. The primitive step always uses an actual quotient of the current action. An enumerative reduction includes the bounded alternating-degree cases; a product reduction refines the stored intervals. At a column floor, the active domain has entered a proper column. The algorithm drops the row record and the fixed-floor dispatcher mode in place, then uses the general dispatcher on the same inherited hierarchy. The old column partition remains a tower level, but no longer acts as a dispatcher floor. Section 7 charges the corresponding domain or hierarchy decrease. These structural steps are the dispatcher operations of Section A.4.
The single-factor normalization has index at most two above the bounded exceptional degrees. Its preimage is normal. If that preimage is intransitive, its equal physical orbits have size at most half the parent domain, and the orbit-chain answers already have a physical charge. Otherwise its immediate GIANTSTEP is part of the same operation: no independent same-domain recursive call is charged for that normalization. A second normalization of the same unchanged constituent is unnecessary, since its entire image is already Alt(Γ). The constant coset factor is bundled with the next charged giant operation or orbit descent in the analysis.
Child states use the following carrier policy. An independent certificate or rectangle child that may lose the carrier clears its row record and floor mode, and sets against its already established physical or symmetry decrease. A genuine hierarchy refinement may likewise fund a reset if it discards the record and floor mode. Entry into one proper retained column clears both and resets in place, against the preceding factor-two descent. The first largest orbit under a full quotient preimage retains both the carrier and ; later conditional queries lie in other original orbits of size at most half the parent domain and may clear and reset there. A cap contraction or a coordinate change alone does not reset . These updates belong to the incoming child operation, before its potential is evaluated.
For the remaining branches, Algorithm 2 and its lockstep comparisons supply the input to aggregation. The large-symmetry branch uses Lemma A.11. For , Corollary A.25 computes the action on the actual kernel orbits and its map from . The row test uses this physical action: a natural constituent somewhere in the hierarchy alone would not suffice. When the physical action is natural and no sufficiently large row action is retained, we put it in row form before aggregation. This changes coordinates on the same state and keeps the current phase.
All matrix or configuration subroutines finish and return their complete cosets before the parent continues. Their internal branching is therefore an additive cost, not an additional multiplier on the later continuation.
6.2 Why the cases cover every large action
For and sufficiently large , we have . Also exceeds the logarithmic transitive-kernel threshold. The support classification therefore gives precisely the one-label and two-label cases. An action with transitive kernel on the whole active domain is excluded at this scale.
In the natural case, the row partition is already an interval of the retained hierarchy. Indeed, a selected Johnson constituent has physical blocks, all fixed by the giant kernel. The support classification gives exactly kernel orbits, so there are exactly physical blocks and . Normalizing the rows does not insert an uncharged new level.
The row size is at most . Since , the row terminal makes only fresh calls below the phase threshold. In an intransitive row variation, the number of columns is also at most . Any later column giant of degree must be natural, since even its unordered-pair action would require columns.
6.3 The row and column step
Algorithm 5 is used when a natural action is too wide for a fresh call on its complete pair structure. The normal form makes even row permutations independent of the within-row coordinate. If the remaining local variation is transitive, the row terminal combines exact answers on individual rows. Otherwise its orbits give a column partition that every allowed relabeling preserves, and the algorithm continues above that partition.
Algorithm 5. Normalize rows and retain columns
Input: An inherited state whose physical kernel orbits have a natural action on labels; no retained rows have degree at least .
Output: The complete isomorphism coset of the same state.
1 procedure ROWSTEP() 2 Set for this initial construction or enlargement 3 Construct the independent-row normal form and its within-row variation 4 if is transitive on a row then 5 Compute all needed row types and local isomorphism cosets using ISOMORPHISM 6 return the full row-terminal answer from these tables and the normal form 7 Let be the within-row orbits of 8 Make column the union of the copies of in all rows 9 Refactor the old hierarchy by splitting and reordering its interval factors 10 Inherit every interval bound, clamped by its new interval ratio 11 Retain the degree- row action and the resulting column partition 12 return CONTINUE() in the same phase
The row-terminal operation in this algorithm is Theorem A.23. Its input tables contain complete local cosets, not only row-type names. The operation imposes one common residual choice across the rows, together with the required parity, and lifts the surviving representative and all stabilizer generators. After the row tables are computed, this takes additional work and makes no further calls on a larger domain. Each row call has size at most , below the fresh-phase threshold. The column refactoring is the explicit operation in Lemma A.14; it preserves the old interval bounds and origin labels.
6.4 Why a row action is enlarged at most once
Suppose the retained row degree is and a later natural column action has degree . The old row factor and the new column factor are distinct actual intervals of the same hierarchy. To see why this persists through inherited calls, write the carrier quotient as . A full restriction above the column floor has quotient . Its first largest orbit contains all rows over a column orbit, and its faithful image has quotient for an appropriate normal , as proved in Section A.8.1. Thus the full row factor survives any sequence of these restrictions.
The retained natural ratio lies below the column floor. The newly selected natural ratio lies above it, because its kernel contains the full column kernel. Their whole constituent actions are and , so their valid clamped caps are exactly and . They cannot be two descriptions of the same interval. All remaining interval ratios have product at most
The whole current action consequently has alternating width at most : the two exposed factors have bounds , and all other factors are smaller than .
After constructing independent rows of degree , every later large quotient in a subgroup or quotient of this action has degree at most . It can therefore be handled by a diagonal rectangle. Refactoring rows and columns splits and reorders existing interval factors; it does not reset their bounds. Lemma A.29 gives the precise inherited-state argument.
There are two occasions on which the row action may be lost. A certificate or rectangle child may restrict to a subgroup that no longer contains it; that child has already paid for a domain decrease or a decrease in . Also, entering one proper column gives a domain decrease of at least a factor of two. At that point we continue directly with the general dispatcher on the inherited state. We do not start a fresh phase merely because the row description has changed.
6.5 Correctness
The following proof separates coverage of isomorphisms from the running-time accounting. Termination and the quantitative bound are established in Section 7.
Lemma 6.1 (Exact recursive output). Assuming exact answers to the recursive calls, every invocation of CONTINUE returns exactly the allowed relabelings taking its first coloring to its second.
Proof. The orbit chain rule intersects the constraints one orbit at a time, always retaining the full feasible coset. Enumerating an actual quotient partitions the allowed relabelings into exhaustive cosets; product refinement only changes the description of the same action.
The local tests are equivariant by Lemma 4.1. Consequently every parent isomorphism is covered by an aggregation branch. The large-symmetry branch returns the full answer using known automorphisms and smaller kernel-orbit calls. A partition, configuration, or rectangle branch returns an overcoset of the parent isomorphisms in that branch. Its lift can contain extra relabelings, but the continuation tests the original colors, so none can survive without being an actual isomorphism.
For each auxiliary call, projection of the full answer is exact. In the pair case this follows from the equal-fiber construction. In the row case it follows from the diagonal rectangle lemma. Parity is included in both the group and the coset representative. The row terminal also returns a full coset; it verifies the common residual choice across all row types.
Changing coordinates or retaining a column partition loses no relabeling. Restrictions above the column partition are lifted by full preimages. Finally, combining an exhaustive family of exact branch answers returns exactly their union, which is the isomorphism coset of the current instance.
An auxiliary subgroup used to realize a rectangle is never substituted for the parent group. Similarly, the original giant-parent action is retained while constructing an aggregation branch. Intermediate anchor choices are branch conditions, and the final overcoset is lifted to the original parent action. This avoids an unjustified general group intersection and is needed for the coverage argument above.
7 Running time
The main issue is a call that keeps almost all current positions. Three types of such calls occur, and they are paid for differently. A local-test call consumes the symmetry measure. A genuine partition refinement consumes hierarchy rank. A restriction from an auxiliary graph consumes the alternating-width bound of an existing interval. We combine these with domain size in one potential that remains attached to the recursive instance.
7.1 The potential
We analyze transitive inherited states and their ordered orbit forests. Expand an intransitive conditional query into its transitive orbit calls, including any further splitting caused by earlier conditional answers. These domains are disjoint subsets of the original query domain. Until that expansion, the original transitive orbit's resources are upper-bound credits; we do not evaluate on an intransitive action. Every eventual child is an actual subgroup-orbit restriction of that original action and inherits its tower.
For a transitive state on s positions, put and retain
Only nontrivial interval ratios occur in the first sum. Splitting a ratio into at least two nontrivial factors decreases . Restricting to an inherited orbit cannot increase it. Splitting or restricting intervals also cannot increase Q, because the logarithms of the interval ratios add and every child inherits its old width bound.
The counter h follows the policy in Section 6. It starts at two, decreases at an initial row construction and its possible single enlargement, and increases by at most two at a charged reset. The one-promotion argument ensures that it never becomes negative. We use
The weighted majorant is
Here are fixed constants chosen in Section 7.5. At a phase root, . The counter pays bounded parity choices in row constructions that have no immediate domain decrease; the polynomial prefactor pays additive work on unbalanced orbit chains.
7.2 Charging the recursive calls
Fix an absolute exponent bounding the polynomial numbers of local and auxiliary calls, the structural work, and the exponents in small-quotient enumeration. Work within a phase may be polynomial in the cover degree N, rather than the active degree s. At every internal node, however,
In contrast, a same-domain configuration or rectangle continuation has at most choices, after increasing this fixed . They come from bounded tuples, anchors, and orbital choices on the labels. Polynomial- construction of certificate tables is additive work; it is not a multiplier on such a continuation. All bounded single-factor normalization indices are included in these multiplicity bounds, or in the constant for a row-construction event.
Take as in Section 7.5, and put . For we have , whence
This pays affected local-test calls, rectangle calls, large-symmetry calls, and entries into proper columns. An extra unaffected local-test call decreases by , giving a decrease at least in , even if its domain is unchanged.
A small primitive quotient of degree is an actual quotient of the whole acting group. Its kernel orbits have size at most , and its index is at most . Uniformly for ,
The first ratio is minimized at , and the second inequality in that chain is the arithmetic-geometric mean inequality.
For a product exponent , the actual coordinate refinement decreases by at least . Its outer index is at most , by [24, Theorem 1.1]. Since ,
This index is paid by . For , the at-most-two normalization cosets are processed with their next giant step or their already smaller normal orbits, as specified in Algorithm 4; no separate potential decrease is asserted for that normalization alone. An ordinary interval refinement with new factors and no product index satisfies the same estimate with that index equal to one.
A configuration or rectangle answer changes the selected interval bound from at least to at most . If that interval has ratio , its contribution to drops by at least
The old cap is at least because the selected alternating section belongs to that whole constituent; the new cap bounds its entire restricted action. We choose the bounded cutoff so that whenever this charge is used. This pays the actual continuation multiplicity. It is not necessary to claim a new block level here: a natural action can restrict to a primitive Johnson action on the same domain, leaving unchanged.
| Recursive operation | Multiplicity bound | Potential decrease |
|---|---|---|
| Affected test or rectangle | ||
| Visible unaffected test | ||
| Product refinement, | ||
| Primitive enumeration | ||
| Auxiliary-graph continuation | ||
| Row initialization or enlargement |
The table allows the worst possible increase from an admissible counter reset, even in rows where no reset is needed. An entry counts branches; within each branch an intransitive restriction is expanded into a disjoint orbit forest. The polynomial factors in the product and enumeration rows are harmless upper bounds. The row-construction constant includes its bundled parity factor, and this event decreases without resetting it.
The rectangle query and the original-domain continuation are separate children. The query is paid by its physical decrease and the continuation by (13). The complete auxiliary coset is assembled before any parent continuation is made. Hence the internal leaves of an auxiliary query do not multiply the number of parent continuations.
7.3 Unequal orbits and changes of coordinates
The largest-orbit-first rule is also needed structurally. Before any coloring constraint is imposed in that chain, the first orbit receives the unmodified row action. Its faithful image retains the row factor, as proved in Section A.8.1. Later conditional queries lie in the other original orbits, each of size at most , and may discard the row action with this already paid decrease.
The orbit chain rule gives an additive sum over disjoint domains. If their sizes are with and , then for an integer ,
For a fixed , convexity maximizes the sum at . Its maximum decreases with , since , proving the first inequality. For the second, use and . Pruned branches only increase this slack.
Each child potential is at most the original orbit's credit. This is immediate for the first largest child; for a later child, (11) also pays any increase of . Consequently (14), multiplied by the parent exponential credit, absorbs additive polynomial work even along successive one-point losses. We take ; then at every internal phase size the displayed slack exceeds .
Row and column refactoring splits and permutes old interval factors. It preserves their origin labels and does not increase , Q, or . Equation (5) permits at most one enlargement while a row action is retained. The bounded counter h is reset only after a charged domain decrease, symmetry decrease, or actual primitive refinement. The slack in that charge pays the constant reset. Entering a column is a change of dispatcher on the inherited state, not an additional same-domain recursive call.
7.4 The phase recurrence
We can now complete the running-time analysis. Every fresh leaf has at most positions. Ordinary inherited calls stop at that threshold. An auxiliary configuration contributes at most positions. A transitive-variation row terminal calls only on rows of size at most . Both exponents are smaller than by (4). The terminal's additional work is .
Let be the monotone worst-case cost for compressed fresh inputs, put , and define
where bounds the row terminal's extra work. After increasing , all structural work and all fresh configuration or row calls at one node have total cost at most . These fresh calls are terminal oracle work for the current phase; their newly initialized potentials are not inherited by this phase. An ordinary threshold leaf has cost at most and keeps its old potential only as credit on its incoming edge.
Lemma 7.1 (Weighted phase induction). With the fixed constants chosen in Section 7.5, a transitive inherited state costs at most , including its fresh oracle calls. The same bound applies to a conditional orbit forest using the original transitive orbit's inherited credit. In particular, a fresh phase costs .
Proof. First assume that fresh calls of degree at most terminate. Every charged transition in the table decreases by a fixed positive amount after the counter updates. A pure orbit transition does not increase and strictly decreases the positive integer domain size. Normalization is bundled with its next giant operation, and coordinate changes or floor-entry changes are performed in place. Thus an infinite inherited path would either have infinitely many uniform positive potential decreases, contradicting , or eventually consist only of strict domain decreases. Each node has finitely many children, so the phase terminates. Induction on the fresh degree, starting at , proves termination of all calls.
We may therefore induct over the finite phase computation. At a threshold leaf, and the claimed bound follows from (15). At a charged node, group the inherited children into at most classes from the table, where is an absolute constant. Within one branch, the prefactors of its disjoint orbit children sum to at most . For a class of multiplicity and minimum potential decrease , its total child weight is consequently at most
The inequalities in Section 7.5 make this at most for every class, including any bundled parity factor. In particular,
The second inequality follows from and the choice of , after enlarging the absolute base size. The induction hypotheses and the additive node toll now give
Here includes the costs of the fresh calls through the factor . The auxiliary children and parent continuations appear in the same sum; their recursive costs are not multiplied.
At a pure orbit node, use the original transitive orbit's resource credit until the conditional action has been expanded into its ordered orbit forest. Every child potential is at most that credit, and (14) supplies
This closes the same induction without demanding a fixed-fraction decrease on its largest child. The polynomial work of expanding the forest is included in ; it has at most s nonempty leaf domains.
At a phase root, , , , and . Thus for a fixed . For a fresh intransitive input, initialize each original orbit before conditional restrictions and sum its root weight. The disjoint-domain prefactors give the same bound, with polynomial initialization work absorbed in . Multiplication by adds to the constant in the quadratic logarithmic exponent and proves the phase estimate.
Consequently,
above an absolute base size. Fix with and enlarge that base size so that whenever the recurrence is used. The logarithmic contributions then sum to at most
The additive constants and polynomial input costs fit within the same bound. Lemma 6.1 then gives Theorem 1.2. Applying the algorithm to the adjacency coloring on ordered vertex pairs gives Theorem 1.1.
7.5 Choice of parameters
We collect the choices here so that numerical cutoffs do not obscure the algorithm. The proof only needs fixed constants satisfying the following conditions.
(i) The test size is above the absolute threshold in the hereditary-budget proof. The bounded ideal cutoff satisfies and exceeds the bounded exceptional degrees and support thresholds. Enlarge it as needed for the coherent-configuration cap bounds and so that .
(ii) The scale exponents satisfy and . These imply and .
(iii) The coherent-domain fraction satisfies , the dominant-class threshold satisfies , and
Choose above and , and enlarge so that for every . Put and .
(iv) Fix large enough for all multiplicities and node tolls specified above, and put . Also require . A primitive quotient has degree , so this makes the enumeration test accept every single alternating factor of degree , whose order is at most . Hence every normalized single factor, and every giant step, has degree . Let be a fixed upper bound on the number of child classes at a node; the six rows of the table and their bundled constant factors permit, for example, . Let bound the parity multiplicity of a row construction, including its possible preceding single-factor normalization. Choose
Then choose one fixed A satisfying
Finally take an integer with .
These inequalities pay the complete sums of child costs. At an internal node , the physical and symmetry rows of the table have logarithmic multiplicity at most , and (18) leaves a margin at least . The cap row has logarithmic multiplicity at most and the same margin by (19). For enumeration use :
Thus (20) gives that margin after subtracting the reset cost 2B. For a product exponent , use
Equation (21) pays this row as well. The last row satisfies . Therefore each class contributes at most of the parent weight. All choices are absolute constants, independent of the number of inherited restrictions.
For example, the following values satisfy the numerical constraints:
Indeed , , , and . Also . Choose an absolute base size large enough that, for every ,
and that the row threshold admits an odd integer with . Also require , , and above the base size. These ensure the lower size assumptions and the second inequality in (16). The orbit slack already exceeds because . These inequalities hold eventually because and a positive power of dominates . Below use direct enumeration.
AI Use Statement. This work resulted from extensive interaction between the authors and OpenAI Astra, with the authors providing suggestions and critically checking Astra's responses through iterative exchanges. OpenAI Astra was also used in writing and revising the manuscript through detailed prompts from the authors, with Gemini Argon assisting in some parts. The authors directed the process and evaluated the proposed ideas and arguments. Lean files formalizing the main theorem are available on GitHub at https://github.com/mahdi-jfri/GraphIsomorphismLog2.
References
[1] László Babai. Monte-Carlo algorithms in graph isomorphism testing. Technical Report DMS 79-10, Université de Montréal, 1979. URL https://people.cs.uchicago.edu/~laci/lasvegas79.pdf.
[2] László Babai. Graph isomorphism in quasipolynomial time. In Proceedings of the forty-eighth annual ACM symposium on Theory of Computing, pages 684–697, 2016.
[3] László Babai. Graph isomorphism: January 9, 2017 update, 2017. URL https://people.cs.uchicago.edu/~laci/update.html. Quasipolynomial claim restored; with January 14 addendum linking the corrected recursive call.
[4] László Babai. Graph isomorphism in quasipolynomial time, 2018. URL https://people.cs.uchicago.edu/~laci/quasi25.pdf. Author manuscript, version 2.5, November 2, 2018.
[5] László Babai. Canonical form for graphs in quasipolynomial time: preliminary report. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, pages 1237–1246, 2019.
[6] László Babai. Asymmetric coloring of locally finite graphs and profinite permutation groups: Tucker's conjecture confirmed. Journal of Algebra, 607:64–106, 2022.
[7] László Babai and Eugene M Luks. Canonical labeling of graphs. In Proceedings of the fifteenth annual ACM symposium on Theory of computing, pages 171–183, 1983.
[8] László Babai, William M Kantor, and Eugene M Luks. Computational complexity and the classification of finite simple groups. In 24th Annual Symposium on Foundations of Computer Science (Sfcs 1983), pages 162–171. IEEE, 1983.
[9] Jin-Yi Cai, Martin Fürer, and Neil Immerman. An optimal lower bound on the number of variables for graph identification. Combinatorica, 12(4):389–410, 1992.
[10] Derek G Corneil and Calvin C Gotlieb. An efficient algorithm for graph isomorphism. Journal of the ACM (JACM), 17(1):51–64, 1970.
[11] Wenxue Du. On graph isomorphism problem. arXiv preprint arXiv:1710.09526, 2017.
[12] Merrick Furst, John Hopcroft, and Eugene Luks. Polynomial-time algorithms for permutation groups. In 21st Annual Symposium on Foundations of Computer Science (SFCS 1980), pages 36–41. IEEE, 1980.
[13] Martin Grohe, Daniel Neuen, and Pascal Schweitzer. A faster isomorphism test for graphs of small degree. SIAM Journal on Computing, 52(6):FOCS18–1, 2020.
[14] Simon Guest, Joy Morris, Cheryl Praeger, and Pablo Spiga. On the maximum orders of elements of finite almost simple groups and primitive permutation groups. Transactions of the American Mathematical Society, 367(11):7665–7694, 2015.
[15] Robert M Guralnick, Attila Maróti, and László Pyber. Normalizers of primitive permutation groups. Advances in Mathematics, 310:1017–1063, 2017.
[16] Harald Andrés Helfgott, Jitendra Bajpai, and Daniele Dona. Graph isomorphisms in quasi-polynomial time. arXiv preprint arXiv:1710.04574, 2017.
[17] Derek Holt. Quotients of permutation groups by nonabelian minimal normal subgroups. arXiv preprint arXiv:2405.19940, 2024.
[18] John E Hopcroft and Jin-Kue Wong. Linear time algorithm for isomorphism of planar graphs (preliminary report). In Proceedings of the sixth annual ACM symposium on Theory of computing, pages 172–184, 1974.
[19] Ravindran Kannan and Achim Bachem. Polynomial algorithms for computing the smith and hermite normal forms of an integer matrix. siam Journal on Computing, 8(4):499–507, 1979.
[20] Andrei Leman and Boris Weisfeiler. A reduction of a graph to a canonical form and an algebra arising during this reduction. Nauchno-Technicheskaya Informatsiya, 2(9):12–16, 1968.
[21] Eugene M Luks. Isomorphism of graphs of bounded valence can be tested in polynomial time. Journal of computer and system sciences, 25(1):42–65, 1982.
[22] Eugene M. Luks. Permutation groups and polynomial-time computation. In Groups and Computation, volume 11 of DIMACS Series in Discrete Mathematics and Theoretical Computer Science, pages 139–175. American Mathematical Society, 1993.
[23] Eugene M Luks and Takunari Miyazaki. Polynomial-time normalizers. Discrete Mathematics & Theoretical Computer Science, 13, 2011.
[24] Attila Maróti. On the orders of primitive groups. Journal of Algebra, 258(2):631–640, 2002.
[25] Daniel Neuen. Hypergraph isomorphism for groups with restricted composition factors. ACM Transactions on Algorithms (TALG), 18(3):1–50, 2022.
[26] Daniel Neuen and Pascal Schweitzer. An exponential lower bound for individualization-refinement algorithms for graph isomorphism. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, pages 138–150, 2018.
[27] Ronald C Read and Derek G Corneil. The graph isomorphism disease. Journal of graph theory, 1(4): 339–363, 1977.
[28] Arne Storjohann and George Labahn. Asymptotically fast computation of hermite normal forms of integer matrices. In Proceedings of the 1996 international symposium on Symbolic and algebraic computation, pages 259–266, 1996.
[29] Daniel Wiebking. Graph Isomorphism in Quasipolynomial Time Parameterized by Treewidth. In Artur Czumaj, Anuj Dawar, and Emanuela Merelli, editors, 47th International Colloquium on Automata, Languages, and Programming (ICALP 2020), volume 168 of Leibniz International Proceedings in Informatics (LIPIcs), pages 103:1–103:16, Dagstuhl, Germany, 2020. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. ISBN 978-3-95977-138-2. doi: 10.4230/LIPIcs.ICALP.2020.103. URL https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ICALP.2020.103.
A Permutation-group ingredients
This appendix contains the group theory used by the algorithm. The main text needs only the interfaces stated there. We include the proofs because the hereditary hypotheses are part of the running-time claim: an abstractly isomorphic action need not carry the same progress measures.
Throughout, groups are given by generators in their displayed permutation actions. Homomorphisms are specified on generators, with polynomial-time lifting in their explicit images. Every isomorphism algorithm returns its full coset. The standard basic operations are those of Furst–Hopcroft–Luks and Schreier–Sims as presented in [12, 16]. Invocations of stronger normalizer or representation algorithms are identified separately. The degree in an appendix statement refers to that statement's displayed permutation action; it is the active-domain size denoted by in the main analysis.
A.1 The local permutation families
A local test permits relabeling outside its test set as well as inside it. The comparison problem must use the full ordered-tuple transporter. The following explicit construction fixes this convention.
Let , , and suppose an explicit surjection is given, with . For , , write
If and , restriction gives a surjection , with kernel , and .
Proposition A.1. Generators for can be obtained in polynomial time in , assuming a polynomial-size generating set and the explicit images of its generators under .
Proof. Compute ker using the simultaneous action on and a pointwise stabilizer. Lift explicit generators of by constructive membership in the image. These lifts together with ker generate . Lifting only the complementary alternating group gives . A paired transposition, one in each part, supplies the other coset for . All these operations are basic Schreier–Sims operations [16, Section 2.1].
A.2 A hereditary budget for visible alternating quotients
This section replaces a certificate-size threshold by an inherited analysis parameter. The parameter is defined using the actual permutation action. Its proof uses the classification of finite simple groups, through the primitive-group structure theorem and the standard order and minimal-degree formulas specified below. The algorithm does not have to compute this parameter.
A.2.1 Definition, visibility, and inheritance
Let , and fix . We allow a finite descending chain
A selected step is marked with weight if
The last condition says that the quotient is visible in the faithful action on the active orbit. Unmarked steps are arbitrary subgroup restrictions.
Definition A.2 (Weighted hereditary budget). Let be the maximum of over these chains and choices of marks. For a transitive action, conjugation shows that this value is independent of ; write .
The maximum is finite, since every marked step is a proper subgroup descent and the weights are bounded by the orders of the relevant quotients. The visibility condition is necessary. For example, on a disjoint union of one regular cyclic orbit and arbitrarily many natural -orbits, one can delete the latter factors without changing the action on the cyclic orbit. Those deletions must not count as progress on that active orbit.
The definition allows the restrictions made by the algorithm. A chain in a child action can be lifted and prefixed by the restriction that created the child; a marked kernel step then gives an actual decrease.
Lemma A.3 (Inheritance and a marked decrease). The budget does not increase under subgroup restriction followed by passage to the faithful image on one orbit of a transitive action. If is transitive on and , , then
More generally, equals the budget of the faithful image of G on .
Proof. For the last assertion, map a chain to its action on . The kernel of this initial action, intersected with any later group, fixes its later active orbit pointwise. At every mark it is therefore killed by the marked quotient. Consequently all marks and their weights survive. In the reverse direction, lift every subgroup in a chain of images to its full preimage; the marked quotients and transitivity are unchanged, and visibility is automatic for the lifted action kernels.
For a subgroup and an -orbit , first conjugate by an element of the transitive group so that contains the chosen base point. Prefix the lifted chain on by the unmarked restriction to . Repeating this argument permits successive orbit choices: conjugation within the current group preserves every earlier containing group as a group. This establishes the stated inheritance for the actual recursive orbit images. Finally, prefix a chain below by the marked step .
For an odd prime , write for its order valuation. For all ,
Indices telescope along the descending chain, so for either we have the useful order bound
It remains valid after any number of subgroup and orbit-image restrictions.
A.2.2 Localization into blocks and Cartesian coordinates
We first record the elementary localization fact used throughout.
A nonabelian simple quotient cannot be simultaneously invisible in every component action. The commutator argument below is the reason that a single component can be charged for each marked step.
Lemma A.4 (Simple-quotient localization). Let have nonabelian simple image, and let satisfy . Then for at least one . In particular, a visible simple quotient of a permutation group factors through one of its orbit actions. If , the map is the restriction of a homomorphism on , and is transitive on a domain with , then for every -orbit .
Proof. Each is either trivial or . If they were all , an iterated commutator of the would lie in their intersection and would still map onto , because is perfect. This is a contradiction. For orbit actions take their pointwise kernels. In the last assertion their intersection is , which is killed by hypothesis, so the first part kills one orbit kernel. The -orbits are conjugate under ; their kernels are conjugate and is invariant under that conjugation. Thus every orbit kernel is killed.
For a partition into blocks, a visible quotient occurs either on the block labels or inside one block. The proof must make this choice along one descending chain, including when later active orbits are proper subsets.
Lemma A.5 (Hereditary block decomposition). Suppose is transitive and preserves a system of blocks of size . Let contain . Then
This inequality accounts for chains whose later active orbits are proper subsets of .
Proof. Consider a marked , with kernel , on . Let be the blocks meeting , and let be the kernel of the -action on . If , the quotient is visible on this active block orbit. Its kernel remains transitive, since is transitive on . Charge this mark to the top action.
Otherwise . Apply Lemma A.4 to the actions of on the nonempty slices . Their kernel intersection is contained in , which is killed. The slices are -conjugate, so the kernel of the -action on is killed. Let be the pointwise kernel of on . Both and are normal in , and
Thus centralizes and is trivial. The quotient is consequently visible on the local action of . Moreover is transitive on : an element of sending one point of this slice to another must stabilize their block. Charge this mark, with its full weight, to that local action.
Along the original chain the top images and the images of the fixed block stabilizers are descending chains. Their active orbits are and , respectively. Every charged step satisfies visibility and transitivity in its indicated chain. Summing the two budgets proves the claim.
Cartesian coordinates introduce an additional coordinate-permutation action. We charge that action separately and then locate every remaining mark in one coordinate; no independence of the active coordinate projections is assumed.
Lemma A.6 (Cartesian decomposition with arbitrary active orbits). Let and let act on in product action. Fix . For each coordinate , let be its setwise stabilizer and let be its component image. Then
No full-product transitivity is assumed at any stage of the chain.
Proof. At a marked step write , with kernel , and . Let be the kernel of on the coordinate positions. Transitivity of gives , hence . Since , its image is trivial or .
If , the quotient is visible in the coordinate permutation images of and . Along the full chain these images form one descending chain in . All marks of this kind have total weight at most
This charge needs no transitivity on the coordinate positions.
Suppose instead that . In particular . The map on kills its pointwise kernel on . By localization and conjugacy of the -orbits, it kills the kernel on the particular orbit . Let be the projection of onto coordinate . The kernel on is the intersection of the kernels on the . Localization therefore supplies a coordinate with
Write for the coordinate stabilizer in , and put , using its component action. We have and . If is the pointwise kernel of this -action on , then
Since , centerlessness gives . Thus the quotient is faithfully visible in this component action. The group fixes and maps onto ; the component point stabilizer therefore maps onto . Equivalently the induced image of is transitive on . Charge the mark to coordinate .
For each fixed coordinate, the coordinate-stabilizer images form a descending chain on , with active orbits containing . All charged steps are admissible marks in that chain. Adding their budgets and the coordinate-position charge proves the inequality.
A.2.3 Johnson actions: anchors and a refinement forest
The remaining conversion concerns one action on subsets. A subgroup may have a correlated orbit of subsets, so transitivity on that orbit does not imply transitivity on the underlying natural set. The following argument keeps the subset's individual points as anchors.
In a subset action, fixing a subset is weaker than fixing its individual points. We use those points as anchors. An entropy estimate bounds the total cost when their natural orbits split along the chain.
Lemma A.7 (Johnson anchor bound with an unchanged leading constant). Let , , and . Put , choose , and set . Suppose
Then
Proof. Fix the base subset , and consider an arbitrary marked , with kernel , on . Since is transitive on , and . Let be the pointwise stabilizer of the natural anchors. Its image is trivial or .
If , the quotient is visible in the natural action of on the fixed set . These images form one descending chain in , so all such marks together have weight at most
Suppose . Let , the union of the natural -orbits meeting . A permutation fixing pointwise fixes every subset in . Visibility therefore gives . Applying Lemma A.4 to the natural orbits in supplies an orbit meeting such that . Choose . Since and , the point stabilizer maps onto . Hence is transitive on , and . This is a visible mark in the natural action on . Charge its weight to that anchored natural orbit.
We bound all charges of the latter kind simultaneously. As the groups in the chain decrease, their natural orbit partitions refine. Track the orbits meeting , starting from the natural set . Assign each tracked orbit of size at least three a path token. A token started on an orbit of size has a fixed allowance and accumulated charge . While it is active on an orbit of the current group , maintain the invariant
The natural-action hypothesis supplies this inequality when a token is started. In particular, the root token has allowance .
At a split, retain the children meeting T whose sizes are at least three, and let a largest retained child continue the old token with its existing charge and allowance. Its actual remaining budget cannot increase, by Lemma A.3; it is not replaced by a fresh upper bound. Start a new token on each other retained child of size w, with allowance . Children of size at most two have zero budget and receive no token. The same rule handles the initial restriction from to the first group of the chain.
If there is no retained child, terminate the old token at its last node of size at least three and retain all its past charges. Terminate any still active tokens when the chain ends. At a charged marked step, the charged orbit does not split, and its actual remaining budget falls by the weight of that mark. Adding that weight to therefore preserves the invariant. All other restrictions preserve it by inheritance. Since remaining budgets are nonnegative, each terminated token has . Consequently the total weight of these charges is at most the sum of the root and fresh-child allowances.
The retained orbits form a rooted refinement tree, with unary nodes allowed. Suppose it has terminal paths. If is the last node of a terminal path, associate to it the nonempty anchor set . Terminal nodes are leaves of the retained refinement tree, so these sets are pairwise disjoint, even when a path terminated because all its children had size at most two. Thus . Each token continues along one path to exactly one terminal node, so there are exactly budget starts: the root and all children which do not continue a largest-child path. Let be the sum of the logarithms of their sizes. The charge is at most . We next prove
More generally, consider any refinement tree with root size , child sizes satisfying , and leaves. Choose a largest child at every split and define as above. For a leaf the claimed bound is equality. Otherwise let child have leaves, put , and let . The exact recurrence is
Write , , , and let be the number of children. For ,
The log-sum inequality gives the last step. Since , , and , this difference is at least . Induction proves (25), including loss of untracked mass and the retained terminal paths just described.
First assume . Combining (24) and (25), the total weight is at most
Let . On , . Our constants satisfy , so the preceding expression is at most
The elementary bound gives the desired conclusion. If there were no charges of the second kind, the bound alone is smaller than . All fresh budgets used above are nonnegative, since .
If , use the inherited order valuation directly:
For , and absorb in . For , no permitted marked quotient can be a section of , by order, and the budget is zero. The right side is positive since .
A.2.4 The primitive cases with a logarithmic order valuation
We state the classification input precisely enough to isolate its role. The O'Nan–Scott description, as used in [14, 16, 17], places a primitive group in the affine, almost-simple, product-action, or nonabelian regular/diagonal cases. A product action has degree , , and is contained in in that action. In the remaining nonabelian regular and diagonal cases, write the full socle as , including both minimal normal groups in the holomorphic cases. Then
This includes simple and compound diagonal type, twisted wreath type, and the types with two regular minimal normal subgroups. Product actions with diagonal components may instead be handled directly by Lemma A.6. The degree relations are also explicit in the O'Nan-Scott argument underlying [17, Lemma 2.5].
The full order of a primitive group is sometimes too large for a logarithmic bound. It is enough to bound the exponent of one fixed odd prime in that order, because each large alternating quotient consumes linearly many copies of that prime.
Lemma A.8 (Primitive valuation cases). There is an absolute constant such that each of the following primitive actions of degree has a prime with : affine actions; almost-simple actions with nonalternating socle; the regular/diagonal actions in (26); and almost-simple actions with alternating socle which are not natural or Johnson subset actions. Bounded exceptional alternating degrees are included in this bound.
Proof. We first give the matrix estimate. If is odd and does not divide , put and . The order formula for and lifting the exponent give
The constants are uniform for . For an affine group of degree , choose . Its translation subgroup has zero -valuation, so the estimate is .
Let be a nonalternating simple group of Lie type, of rank over , . Choose . For classical groups, a central cover embeds in with and . For exceptional types, the rank and a matrix realization dimension are bounded, with bounded field extension degree. Thus
The diagonal, graph, and field outer factors have order at most a constant times , so the same bound holds for . If denotes the minimum degree of a nontrivial permutation representation of , the formulas in [14, Table 4] give
with an absolute , after the finitely many exceptional parameters are absorbed in the constant. These are the only minimal-degree estimates used here. Since an almost-simple primitive action of degree restricts faithfully to , . This proves the bound for such actions. Sporadic socles and the exceptional bounded simple groups are absorbed by an absolute constant.
For (26), the standard bound suffices. For example it follows from the outer-automorphism estimate in [15, Lemma 7.7], applied to the regular representation. Consequently
This uses the valuation of , rather than its full logarithmic order; the latter would introduce an unnecessary term.
It remains to consider an almost-simple component with socle , . Its full group is or . Let be a point stabilizer in a faithful primitive action of degree , so is maximal. If is intransitive on the natural -set, choose an orbit or its complement of size . Maximality gives the full subset stabilizer, and the action is the Johnson action on -subsets. The case is natural. Equal halves do not produce a new primitive exception, since their subset stabilizer is contained in the proper stabilizer of the two complementary halves.
If is imprimitive on the natural set, let , with blocks of size , . Then
uniformly in . Here is an explicit uniform argument. For , the elementary factorial estimates give logarithm at least
For , the number of equal-block partitions is at least , since every -subset occurs as a block. Its logarithm, after the possible factor two, is at least
Enlarging a fixed initial threshold gives the asserted exponential lower bound.
If is primitive on the natural set, it does not contain , since the degree- action is faithful. Maróti's primitive-subgroup estimate [24, Corollary 1.2] gives . Hence . In both non-Johnson cases, uniformly after absorbing bounded parameters. Therefore
The exceptional outer automorphisms at , and all bounded alternating degrees, have bounded group orders and cause no difficulty.
A.2.5 The weighted logarithmic bound
The preceding reductions fit an induction on permutation degree. The shifted logarithmic bound is useful because a block or Cartesian decomposition creates several smaller actions, each contributing its own constant term.
Theorem A.9 (Hereditary visible-quotient budget). There are absolute constants and such that every faithful transitive permutation group , of degree , satisfies
Thus an arbitrary chain of subgroup restrictions and faithful orbit images, with visible transitive normal quotient steps , , has total marked weight . In particular, for any fixed , it has at most such steps.
Proof. Choose sufficiently large that all the bounds from Lemma A.8 are at most for . This is possible because . Fix . We use strong induction on the permutation degree. It is enough to bound in its natural action, since every chain in a subgroup can be prefixed by an unmarked restriction. We also establish the indicated bound for every transitive nongiant group of degree before treating the natural giant at that degree.
If , no permitted quotient is a section of , by order. The budget is zero; for the displayed upper bound is positive. This includes the required degree-one and degree-two convention without any case computation.
For a transitive imprimitive group, take a nontrivial block system with block size and block count . Lemma A.5 and induction bound the budget by the sum of one degree-a budget and one degree-b budget. If , this is
If one degree is two, its budget is zero and the other shifted bound already suffices. If both are two, the assertion is immediate.
For a primitive group covered by Lemma A.8, apply (23) directly. For a primitive product action of degree , , first pass each component action in Lemma A.6 to its faithful image on the orbit of the corresponding coordinate of the base tuple. That orbit has degree , and Lemma A.3 preserves its budget. When , induction bounds this budget by : for use , and for use the zero budget convention and . Thus Lemma A.6 gives
For completeness, if , the component budgets are zero and for and our choice of constants. The actual nonabelian-socle product components have larger degree, so this convention is harmless.
For a single nonnatural Johnson action, with , we have . The smaller natural-degree bounds are available by induction, and Lemma A.7 gives the result with the same . The primitive structure alternatives listed above exhaust all primitive nongiant actions, including the regular and diagonal types.
Finally consider or in its natural action. Neither has a transitive normal subgroup with a nonabelian alternating quotient: the relevant normal subgroups are trivial or contain . Thus no mark occurs while the faithful action on the active orbit remains a natural giant. In a given chain, skip that initial segment. At the first nongiant active action, either its degree is less than n, and strong induction applies, or it is a transitive nongiant group of degree n, already treated by the imprimitive or primitive cases above. If the chain never leaves natural giant actions, it has no marks. This completes the induction; in particular there is no same-degree appeal to the unproved natural giant case.
Remark A.10 (Algorithmic use and boundary). The budget is an analysis-only invariant. A local-certificate query already supplies the quotient map and tests whether its pointwise active-orbit kernel is killed. If that orbit's kernel is transitive, the query consumes the known weight k by Lemma A.3; otherwise the usual affected-orbit degree reduction is available. No maximization over subgroup chains is performed by the algorithm. The theorem preserves the inherited permutation action through subgroup and orbit images; it does not assert invariance under arbitrary faithful re-representations of the same abstract group.
Constants for the hereditary bound. The arithmetic above is satisfied by and . After the primitive valuation constant is fixed, choose large enough that for , and put . Such a choice exists because . The other inequalities used in the anchor and product arguments are , , and ; the displayed choice of satisfies them. Thus the same constants work in every step of the induction.
A.3 Constant-size certificates and exact comparisons
Use the notation of Section A.1, with a transitive physical parent . The dispatcher processes intransitive parents by inherited orbit chains before entering this procedure. Fix , with the constant chosen in Section 7.5. Fix an absolute ideal-degree cutoff sufficiently large relative to , enlarged to include the bounded exceptions in the structural cap lemmas below. In particular, require . For , each test has at least two complementary ideal labels, and every ideal set of size greater than has more than labels. These inequalities supply the ordered-transporter parity convention and the Design Lemma's range. When , all local tests have this constant size. When , enumerate the alternating quotient at its actual Cameron block level and recurse on its kernel orbits. This is the ordinary dispatcher reduction on a nontrivial inherited block level; its absolute constant enumeration factor, however large, is charged to the resulting physical-domain or inherited-tower descent. We do not charge an arbitrary small-degree epimorphism with a transitive kernel to the budget defined below. No unaffected-stabilizer threshold depending on is assumed. The extra orbit rule below is precisely what replaces such a threshold.
A.3.1 Endpoint construction
For a string and a test set , maintain a window and its partial automorphism group
Initially , . The invariant includes that is -invariant. At every stage use the following rules.
-
If , stop with a nonfull certificate.
-
Let be the points outside affected by : their stabilizers have proper images in . If , put .
-
Otherwise put . If , return the full certificate .
-
In the remaining case, put
- Set and compute .
The extra union in step 4 is the modification. It is nonempty. Indeed, the image of , being normal in , is trivial in that case. Thus factors through the action on , and a nonabelian simple quotient of a subdirect product factors through at least one orbit action. Equivalently, at least one satisfies the stated test. The union of all such orbits is equivariant and involves no choice.
For clarity, the groups are first defined by the displayed chain-rule updates. For every finite prefix , they satisfy the exact identity
where the complement receives a fresh marker. To prove the nontrivial inclusion, let preserve that marked string. Initially it normalizes . Inductively, membership in makes it preserve the next equivariantly defined window increment . Since , agreement with the marked string is agreement with there; hence . This induction recovers every earlier window. The reverse inclusion follows from the construction and invariance of . Thus enlargement of a window does not silently allow mixing of earlier pieces. The same prefix-recovery argument is used below for transporters between two endpoints.
Every update adds a nonempty -invariant set, so there are at most updates. The prefix-recovery argument proves the stated invariant for . At full termination, preserves on and fixes its complement, so and its image contains the required alternating group. At nonfull termination, has proper image. The full setwise group therefore cannot contain in its induced action either.
A.3.2 The two recursive call types
At an update let . Enumerate its cosets in , and apply the usual orbit chain rule only on the newly added window . The old window has already been processed.
For an affected -orbit , the minimum-index property of gives
Thus these recursive domains have length at most , exactly as in Helfgott's exposition [16].
For an extra orbit added in step 4, every point is unaffected, so is transitive on . The test implies
This is a visible marked step in the hereditary budget of Section A.2. In particular,
The second inequality uses the transitivity of the physical parent and inherited passage to the -orbit . Every recursive call obtained by subsequent subgroup and orbit restrictions inherits this decrease. The parent need not discover a new block system, and the orbit may have as many as points. The pointwise-kernel test in step 4 is essential: an abstract alternating quotient acting only outside would not justify the decrease.
Consequently the conservative recurrence contribution from all certificates and their comparisons has the form
where the hidden polynomial exponent may depend on the fixed constant , and terms with impossible parameters are absent. The multiplicity absorbs the at most updates, orbit calls, cosets, and all test tuples and pairwise comparisons.
A.3.3 Ordered comparisons and equivariance
For an endpoint , let be its final window, which depends on the underlying set , not its ordering. If maps to , compare the endpoints using
where a new alphabet symbol marks the complement of each window. The coset is the full ordered-tuple transporter in . No support restriction on is imposed.
Run the endpoint procedures in lockstep, keeping the marked-window comparison coset : its elements send to and agree with the two strings on those windows. If nonempty, it is a coset of
Every representative conjugates to the other endpoint group: the even set-stabilizer is conjugacy-equivariant, including for odd bijections between the ordered test sets. Therefore it maps affected sets, the extra orbit union, and stopping tests to the corresponding objects at the other endpoint. The next comparison is string isomorphism on the new window under , with the same two progress guarantees as above.
An empty partial comparison cannot revive at the final windows. Any map satisfying (28) maps the initial empty windows to one another. Inductively it conjugates the endpoint groups, hence maps the next window; its agreement on the final marked strings restricts to agreement there. It must belong to every earlier comparison coset. This also proves that incompatible stopping stages give an empty comparison.
The same induction, with the two endpoints equal, proves the endpoint identity
Indeed, an automorphism of the final marked string recovers every earlier window by the equivariant update rule, and consequently belongs to every earlier partial automorphism group. The reverse inclusion follows from invariance of the final window. Thus the masked-window interpretation used in the color comparison is an equality, rather than an additional assumption.
Full transporter composition and inversion make nonemptiness in (28) a genuine equivalence relation. Its classes provide the tuple colors needed for the Design Lemma. Extend this coloring from injective tuples to all of by giving each noninjective tuple its equality-pattern color, in a palette disjoint from the injective colors. Use the same palette for both inputs. This extension is equivariant, preserves the no-large-twin argument on injective tuples, and has polynomial cost for fixed . Canonical coherent refinement may then be applied to the resulting full tuple structure. If all orderings of a nonfull had the same color, their transporters would realize all of on the final marked window. Its even part would force , a contradiction. Thus the no-large-twin argument in Section 6.2 of Helfgott's exposition [16] survives.
If the exact subgroup output used there is desired, perform the ordered self-comparisons and collect their feasible permutation images. They form the image of the masked-window automorphism group; its even part is proper. This extra factor is already allowed in (27).
A.3.4 Aggregation and orbital colors
The aggregation in [16, Section 6.2] is used with one explicit color convention. The certificate-generated subgroup is canonical as an abstract subgroup, but an arbitrary numbering of its orbitals need not be preserved by a parent isomorphism. Such a numbering is therefore not used as a fixed color alphabet.
In Case 2b of that aggregation, let be the dominant orbit of the ideal image of , and let be its maximal degree of transitivity, using the CFSG bound stated there. Fix an ordered source tuple of distinct points and branch over its at most possible target images. On , the resulting subgroup is transitive but not two-transitive. Choose one proper non-diagonal source orbital . Branch over its at most possible target orbitals. For each branch, color the directed graph by membership in , and apply the canonical coherent refinement from Helfgott's exposition [16] to this binary coloring.
The resulting coherent configuration is homogeneous: preserves the binary graph and is transitive, and refinement preserves all these automorphisms. It is nontrivial because both and its off-diagonal complement are nonempty, and refinement never merges their colors. Every genuine parent isomorphism conjugates the two anchored subgroups and carries the chosen source orbital to one of the enumerated target orbitals. Consequently the branches cover every parent isomorphism, while their further colors are canonically defined from the binary graph. The additional continuation factor is only , included in the Design factor or the truncated Split-or-Johnson index. No arbitrary permutation of orbital color names is assumed to be known.
Balance parameters. Keep individualized labels as singleton colors. In Case 3, the discarded support has size below , and the Design Lemma's dominant class contains more than half the remaining labels. For this we apply the Design Lemma [16, Proposition 5.1] with , not with as in [16, Section 5.1]. At the stated lemma fails. Take four points, tuples of length two, and the coloring of pairs by the orbitals of . No twin class has more than two points, and yet neither conclusion holds. For the proof in [16] is correct under the hypothesis that every twin class has fewer than times as many points as the ground set. That hypothesis holds here. By the no-large-twin argument, every twin class among the remaining labels has fewer than points. The remaining labels number more than , and because . An -dominant class then has at least of the remaining labels, which is more than half of them. In Case 2b, the dominant orbit has size greater than and only a bounded number of labels are anchored. Thus for , above a fixed absolute base degree. Use the dominant-class threshold in the first Split-or-Johnson step. Unless a balanced coloring has already been found, . The rectangle lemma below bounds the left twin classes by . Extending the left answer over the omitted labels therefore gives width at most . Balanced colored partitions give width at most . The choice of in Section 7.5 dominates all these bounds.
A.3.5 The remaining aggregation branches at constant certificate size
The aggregation in [16, Section 6.2] uses two properties of the full certificates: the generated subgroup lies in , and the assignment is equivariant under the parent isomorphisms. The modified endpoints proved above retain both properties. The following verification shows explicitly that the large-symmetry branch does not need the former certificate threshold .
When the certificates already provide a large alternating family of actual automorphisms, those automorphisms can remove the corresponding search. The physical shrinkage comes from the supplied Johnson block map, not from the existence of an arbitrary alternating quotient.
Lemma A.11 (Large symmetry at an actual Johnson constituent). Let be transitive, , and let , , be the supplied map of a selected Cameron constituent. Assume its actual equivariant block map is
Suppose the equivariantly assigned subgroup has a dominant ideal orbit , , and . Then the corresponding aggregation branch of exact string isomorphism reduces to a constant number of ordinary orbit-chain computations under subgroups whose physical orbits have size at most , together with polynomial structural work. All recursive calls are inherited subgroup-orbit calls, and the complete output coset is recovered.
Proof. The dominant orbit and the property in the hypothesis are equivariant. For two strings, differing cases or dominant-orbit sizes certify nonisomorphism. Otherwise choose an even ideal permutation aligning their dominant orbits, lift it through , and absorb it into the target string. We may therefore assume that both dominant orbits are the same set . Every remaining parent isomorphism lies in
Put
Here and . The index is at most two. When a second coset exists, an even paired transposition, one transposition in each of and , supplies its representative. Thus the parity issue requires at most two target twists, exactly as in [16, Section 4.2].
We first obtain actual automorphisms lifting the large alternating factor. Let , and let be the inverse image of under restriction to . This restriction maps onto . Its subgroup is normal in , so its image on is either trivial or all of . The first possibility would make a quotient of a subgroup of . This is impossible, since and above the fixed base degree. Consequently contains the pure supported .
Choose two standard generators of that pure alternating group. Constructive membership in lifts them to , so both lifts preserve . They map onto generators of . Hence
and, for any target string ,
Indeed, any -transporter can be multiplied on the source side by an automorphism with the same image in , leaving a -transporter. If is found, the full answer is .
It remains to justify the physical degree decrease. Transitivity of makes the fibers of equal, of size . Fix and write . If contains , every block in the -orbit of contains this fixed point . The fraction of all Johnson blocks containing is
If , the orbit stays among the -subsets of , whose fraction is at most
Thus every physical -orbit has size at most . The kernel need not be transitive in the fibers for this upper bound. Subsequent conditional subgroups have orbits contained in the same -orbits, so the ordinary full-coset chain rule uses only inherited domains of size at most , with total domain size at most per chain.
Compute and the -transporters for the at-most-two parity twists by these orbit chains. Combine the successful full cosets and undo the initial alignment. The quotient lifts , the complete -stabilizer, and the successful representatives recover the entire answer; no giant quotient is enumerated. The number of orbit-chain families is an absolute constant.
The actual Johnson block map in this lemma is essential. An arbitrary small alternating epimorphism with a transitive physical kernel would not imply the half-degree bound. The local maps on the fixed test sets are not substituted for the Cameron map in this argument.
Case 1 and balanced colored partitions. In aggregation Case 1, let be the support of . Then and every orbit has size at most . Color ideal points by their orbit lengths and, for a length , partition its color class into the actual -orbits. The fixed-point class has size . Every other class is a union of blocks of size , with both and . Its full allowed group is a subgroup of . Therefore the full colored-partition group has hereditary alternating-section width at most , by the extension and subgroup properties of that width. The structure is equivariant, so aligning the two colored partitions and lifting their full allowed coset loses no parent isomorphism. Impose alternating parity by the sign homomorphism, rejecting an empty parity coset. Its preimage is taken inside the actual current parent group.
More generally, an admissible colored partition on , , with block sizes at most , has block counts at most : admissibility means that all partition blocks have size at least two, apart from individualized singleton color classes. Those singleton colors are fixed and contribute no symmetry. Products of the corresponding wreath groups have width at most . Extending over the omitted points adds width at most . Thus this branch has full ideal cap at most , and in particular at most the uniform with as in Section 7.5. The analogous balanced-coloring outcome of Design has all its color classes bounded by a fixed fraction of , and has the same cap conclusion. No index of a colored-partition stabilizer is enumerated: its full overcoset is lifted and the original string constraints are then imposed there. Earlier inherited restrictions are retained in that parent preimage.
These branches therefore have exactly the charges used below: Case 2a gives inherited physical halving, while Case 1 and balanced partition outcomes give a fixed-fraction ideal-cap contraction. Together with the previously verified Case 2b orbital construction and Case 3 ordered-tuple colors, this accounts for the entire source aggregation with the fixed certificate size.
A.4 Inherited towers, caps, and exact quotient interfaces
This section uses full isomorphism cosets at every interface. An auxiliary algorithm may perform a large internal search, but after its exact coset has been assembled, the parent continues under one coset. In particular, its internal branching factor is an additive preprocessing cost; it is not multiplied into an unrelated parent continuation.
A.4.1 Inherited towers and the certificate budget
Fix the absolute certificate size from Section 7.5. The algorithm uses the endpoint and ordered-comparison procedures of Section A.3, with their full-coset output. Theorem A.9 supplies the analysis invariant : the maximum total alternating degree in a hereditary chain of visible normal quotients with transitive kernels, where every marked quotient is with . It satisfies , is nonincreasing under subgroup restrictions and faithful images of their inherited orbit actions, and drops by at least in each extra-unaffected-orbit certificate call. The algorithm does not need to evaluate this invariant.
For a transitive action retain a complete inherited block tower down to singletons. If its consecutive nontrivial ratios are , then . Write
Splitting one ratio into nontrivial factors decreases by at least ; restriction of the tower to a subgroup orbit cannot increase it. A local-certificate hidden quotient is charged to , without requiring a new block level. The tower is retained for ordinary primitive reductions, fixed floors, and the normal-column transpose below.
Constructive recognition. Every selected Cameron constituent is accompanied by an explicit natural or Johnson realization and a supplied quotient homomorphism. The normal subgroup and product coordinates are obtained by the constructive reduction stated in [16, Theorem 3.1 and
Section 2.8]. The index bounds used below come from Maróti's form of Cameron's theorem [24, Theorem 1.1], since [16, Theorem 3.1] states only that the index of the normal subgroup is at most the degree. For degree greater than 24, Maróti's theorem gives, in the large case, a group that lies in , acting in the product action on -tuples of -subsets of , and that contains . So its index over is at most . For the Johnson recognition procedure in that source, the range not covered by its simple polynomial construction has entire constituent order , where is the physical interval degree. Enumerate that constituent and descend to its kernel orbits of size at most . The same charge used for Cameron-small groups pays this exceptional recognition range. Thus no unimplemented abstract identification oracle is assumed.
A.4.2 Exact coherent-configuration replacement
For a finite group , let be the largest for which a subgroup of has a quotient isomorphic to , with value zero if there is none. This quantity is nonincreasing under subgroups and quotients. If , then
Indeed, intersect an alternating section with ; simplicity forces its alternating quotient to occur either in that intersection or in its image in .
A complete configuration isomorphism answer is itself useful even if no Johnson structure is extracted. Its automorphism group has no large natural alternating action on a dominant orbit, and this yields the hereditary width decrease needed by the parent.
Lemma A.12 (Exact-configuration oracle replacement). Suppose the short-certificate aggregation and Design step produces a nontrivial homogeneous coherent configuration on a set , where and . One exact string-isomorphism oracle call on at most positions returns an explicit overcoset of all parent isomorphisms whose group, on the complete ideal set , has hereditary alternating-section width at most , for an absolute and all sufficiently large . The parent then continues directly under its lifted restriction on the same original domain. No Split-or-Johnson index or enumeration of the returned ideal group is required. Bounded is handled by enumerating the original alternating quotient and descending to its kernel orbits.
Proof. Encode the configuration as its color string on , with the diagonal action of . The oracle returns its entire isomorphism coset and the full group . Combine it with the Young groups on the outer color classes, align those classes, fix all previously individualized ideal points, and impose alternating parity by the sign homomorphism. Denote the resulting group on by . These operations need only point stabilizers, direct products, and the kernel of a sign map. They do not ask for arbitrary group intersection. The corresponding preimage under the supplied giant epimorphism is explicitly generated by its kernel and lifts of generators.
We prove the cap bound, using a fixed , enlarged towards one if needed. The outer color classes together have size at most . If every -orbit has size at most , then embeds in a product of symmetric groups of those degrees, and the assertion follows. Otherwise its unique dominant orbit lies in , and . Let . The kernel of this induced action has width at most .
If is imprimitive, it embeds in , where and . Hence its width is at most . If is primitive, it cannot contain : its two-transitivity would make the configuration on a clique, contrary to [16, Exercise 2.15]. Apply Cameron-Maroti only as a structural bound. In the small case, , so the factorial order of an alternating section gives
for large . In the large case the normal product Johnson subgroup is nonnatural; its alternating factors have degree . Its quotient embeds in the outer wreath group , up to bounded exceptional factors, where is the number of product coordinates. Extension closure gives this quotient alternating-section width at most . This argument does not assert that the order is bounded by . Extension closure bounds the width of , and then of , by .
All parent isomorphisms lie in the returned overcoset. Lift this one coset and solve the original string constraints there. The current alternating interval receives cap ; its descendants inherit that cap, while other intervals keep theirs. The cap potential below pays the ensuing same-domain continuation directly. There is no need to enumerate , to decompose original Johnson strata, or to infer an actual block-tower decrease from this restriction. The next ordinary dispatcher applies Cameron to the actual physical permutation action and pays its usual degree or product-tower cost.
Selection of the quotient and its cap. Ordinary Cameron dispatch uses the coarsest available primitive quotient of the whole current group, compatible with the inherited tower and above any retained floor. Its degree- constituent is therefore an actual quotient of the acting group: enumerating it has its stated quotient index and leaves kernel orbits of size at most . No small-index assertion is transferred from an arbitrary deeper local action to the entire group.
After the constructive Cameron normalization, the entire selected constituent is a product of alternating -actions in explicit Johnson representations. Refining its product coordinates gives each resulting interval cap , clamped by any already smaller valid cap. This is a cap on the whole interval action, not an inference from the existence of one alternating quotient. A later configuration or rectangle reduction contracts only its selected interval and its descendants. Other origin-labeled intervals retain their bounds.
During aggregation, keep the original ideal set and its supplied epimorphism. A working coherent set or a discarded support does not become a fresh ideal degree for the support threshold or for the cap accounting. The returned overcoset is extended to the original before lifting. Only a subsequent actual Cameron dispatch can select a new ideal action.
More precisely, freeze the giant-parent group and the onto map throughout one aggregation. Compute the endpoint tables and certificate-generated groups relative to . Support alignments, dominant-orbit alignments, anchor choices, and orbital choices define branches and their ideal structures; they do not replace the stored recursive state or earn an intermediate budget decrease. Lift each final full- ideal overcoset into . This may admit permutations violating a branch's intermediate choices, but imposing the original strings removes them, while the proved cap on that full ideal overcoset remains valid. An auxiliary rectangle may likewise use an inherited orbit of to cover its entire requested ideal transporter. There is no arbitrary intersection with a separately restricted branch image. All restrictions inherited before this aggregation remain built into . The large-symmetry Case 2a is different: it returns the exact answer directly through its aligned Young subgroup and half-degree children, so no such widening follows.
An invariant partition can be retained while the algorithm works only on the action above it. The bound below stops at a block of that partition or at a small auxiliary configuration, without restarting the hierarchy at each restriction.
Corollary A.13 (Fixed-floor reduction). Suppose a given invariant partition has blocks of size at most and its induced block group has . Short-certificate string isomorphism above this fixed floor reduces to
ordinary exact string-isomorphism calls of degree at most , and the same amount of non-oracle work.
Proof. Retain the floor under every subgroup restriction and intersect it with active orbits. Stop inside one floor block. Every primitive quotient selected above it is a section of the original block group, so its giant degree is at most . Apply Lemma A.12 at each Design outcome. Keep the complete inherited tower down to singletons, including any levels already present below the floor; retain all subsequent ordinary refinements. For each inherited interval retain its ratio and a hereditary cap , initialized by . Put
A refinement splits a ratio into factors with inherited caps, so the additivity of makes nonincreasing. Orbit restrictions also do not increase it. A selected alternating-interval cap decrease reduces by ; a Johnson cap decrease is stronger. This pays the actual same-size Design continuation index . Polynomial- group computations and certificate construction are additive work, not multipliers on that continuation.
With , the oracle-leaf count is bounded by
Here is one sufficiently large absolute constant, which may absorb the fixed value . A unit actual tower decrease pays , a local call decreases by , and a balanced descent has the same effect. The extra-unaffected-orbit call in (27) decreases by at least , even if its orbit has size , so the term pays its polynomial local multiplicity. The term pays cap contractions even when the literal block tower does not change. This distinction is needed: a natural Alt action can restrict to a primitive Johnson Alt action on the same points, leaving unchanged. Cameron-small enumeration on blocks costs and is paid by a decrease . For a large primitive Cameron reduction with product exponent , the outer index is at most , by [24, Theorem 1.1]. If , splitting the old ratio into its coordinate intervals decreases the literal by at least , paying the stated polynomial-degree index. If and , the index is at most two: the nonregular primitive socle is Alt, its centralizer is trivial, and Out(Alt. This constant is bundled with the ensuing giant operation. Bounded exceptions are enumerated. This argument does not require the stored cap to equal the interval degree before the Cameron step. Intransitive recursion is a sum over disjoint orbits, rather than a polynomial multiplier on a largest child. Formally one may multiply the displayed majorant by , for one fixed sufficiently large . Child progress potentials do not increase, and their domain sizes sum to at most ; this weighted bound absorbs polynomial work even along successive one-point losses, as in [16, Appendix A]. The prefactor changes the initial logarithmic majorant by only . Finally . Each leaf is either inside a floor block or is a configuration oracle on at most positions.
A.4.3 Normalization of wide natural giants
The normal form permits rows and columns to exchange roles. For the running-time proof, it is not enough that the new description is correct: the old interval factors must only split and move, so that their old bounds remain valid.
Lemma A.14 (Retained normal-column transpose). Suppose is transitive on and its top action is on blocks of size , with a supplied clean row normal form as in Theorem A.18. In that form, if the local variation group is intransitive with orbits of size , one can replace the top row quotient of degree by a column quotient of degree . The old action remains inside normal columns of degree . This is a polynomial operation, preserves all inherited interval factors through splitting and permutation, and does not increase .
Proof. Use the notation of Theorem A.23. The -orbits are , where ranges over the -orbits. The normal subgroup has orbits . The diagonal quotient ensures that the local actions on the different rows induce the same permutation of the , so these are invariant columns.
For compatibility, write a local block tower as a point-stabilizer chain , and let . Insert the chain through by lower intersections and upper products. Each old adjacent index splits as
For clarity, let . Then , so the action on the right cosets is exactly the orbit of the base coset under in the old action on . Its faithful image is therefore a quotient of a subgroup of the old constituent. The upper action on is equivalent to the action of on the cosets of , with the same image. Indeed, acts trivially on these cosets. For all and we have , because is normal in . Every element of is a product with and , so it permutes these cosets as does. Hence is transitive on them, the stabilizer of the base coset in is , and and induce the same permutation group. Since
it is a block quotient of the old constituent. This identifies both new actions, not only their numerical indices; no normality of in is needed. Both pieces inherit every hereditary alternating-section bound on the old action. Keep their origin labels. The inequality , for and , shows that does not increase.
The currently acted natural row-block level is included in the inherited tower before this refactoring. Since fixes every row, that level survives the lower/upper construction. Thus all intervening cell-to-row factors are pure actions on the local orbit labels; none mixes the row factor with a local factor. Explicitly, modulo , write the clean product as . The cell and row stabilizers are and , respectively. Each intermediate subgroup contains and is therefore exactly for some . Replace these groups by , after the initial step of index . This preserves all local indices. Thus the clean product interchanges the ratio sequence with , without changing any factor. The inherited coarse column partition is retained thereafter. While the column floor is retained, dispatch above it uses its quotient action. The transition that first enters one column from an active union of at least two columns decreases the physical degree by a factor of at least two. At entry, switch in place to the general inherited dispatcher. Do not count a further same-domain recursive call or reinitialize the inherited tower, its caps, or the symmetry budget. The bounded row-event counter may reset against that already paid physical decrease, as specified in Section 6. Conditional string constraints may destroy the carrier in later columns; those queries remain inside the same proper floor domains and inherit their actual subgroup-orbit actions and budgets.
A.5 Clean giant complements above a logarithmic fiber threshold
A large alternating quotient cannot be hidden above a transitive kernel on a much smaller set. This standard threshold is used to localize permutations to selected rows.
Lemma A.15 (No large giant above a transitive kernel). Suppose is transitive, , and . Then
Proof. For every , transitivity gives , so maps onto the whole alternating quotient. Thus every point is unaffected. If exceeded the displayed threshold, the unaffected-stabilizer theorem would make the pointwise stabilizer of all of surject onto that quotient, although it is trivial. Equivalently, this is the immediate contrapositive of [16, Lemma 4.3(a)].
If two permutations meet in exactly one row, their commutator cancels outside three rows. It also cancels the internal return maps, which is what makes the resulting row cycle independent of within-row coordinates.
Lemma A.16 (Commutator of two block-local lifts). Suppose permutations have supports with , and . Then, with right point actions and ,
The displayed cycles are disjoint. In particular, if A is one block and the three displayed sets are three distinct blocks, the commutator is a clean block 3-cycle, regardless of the internal monodromy of g and h.
Proof. The sets are disjoint: the latter two lie in and , respectively. For , following the four factors of sends to , sends to , and sends to . Every other point lies either outside both supports or in only one support with its intermediate inverse image outside ; the two factors of the other permutation then fix it and the remaining factors cancel. This proves the formula.
One clean row cycle is not enough: arbitrary overlapping lifts need not satisfy the relations of an alternating group. We choose cycles with one common row and otherwise disjoint supports, so their coordinate identifications are compatible.
Theorem A.17 (Logarithmic-threshold clean complement). Let have a supplied block system of blocks, each of size . Suppose the block action is and its kernel is transitive on each block. Choose an odd integer with
(LG1)
Then a clean complement to can be constructed in polynomial time. More precisely, one can compute an identification , under which acts only on and , . Thus a threshold suffices under the transitive-block-kernel hypothesis; no assumption is used.
Proof. Write for the blocks and for the supplied action. We first prove a localization statement. For a -set , put . Here the ideal group fixes the complement of pointwise. For any , the induced group has transitive normal subgroup . Its quotient is a homomorphic image of . By simplicity, this quotient is trivial or isomorphic to . The latter is excluded by Lemma A.15 and (LG1). Consequently .
It follows that the pointwise block stabilizer surjects onto : match the action of any element of on by an element of and cancel it. Each is normal in , since is -invariant. The intersection of finitely many normal subgroups surjecting onto a perfect quotient still surjects onto that quotient: for two such subgroups their commutator is contained in the intersection and has full image, and induction handles the rest. Hence
(LG2)
All groups in (LG2), and lifts of prescribed top permutations, are computable by pointwise stabilizers and constructive membership.
Choose -sets meeting in exactly one block index; (LG1) ensures their existence. Use (LG2) to lift a -cycle on to and a -cycle on to , fixing the complement pointwise. The cycles are even because is odd. Each lift moves every point of its supported blocks, so their supports meet in exactly one whole block . Lemma A.16 produces a clean block 3-cycle .
We now give a compatible completion; arbitrary overlapping conjugates are not assumed to satisfy alternating-group relations. First suppose is odd. Choose a central block and partition the other blocks into pairs . Conjugate by suitable lifted top permutations to obtain clean cycles with top . These supports share only . Choose coordinates on , and transport them around each clean cycle to its two private blocks. In this one coordinate system every chosen cycle is a pure block permutation. The cycles generate : adjoining one such cycle to the alternating group on the previously reached blocks enlarges that alternating group by its two new points, as is verified by conjugating the central point and multiplying the resulting 3-cycles. Therefore their lifts generate a clean .
If is even, first perform the odd construction on blocks, leaving one block out. This gives a clean in fixed coordinates on those blocks. Choose a pure with top . Choose a -set containing and avoiding ; it exists by (LG1). Using (LG2), choose with a -cycle top on sending to . The supports of and meet in precisely . Their commutator is the clean cycle on described in Lemma A.16. Its correspondence from back to is exactly the inverse of the already pure map . Define coordinates on the new block by . The commutator is then pure in the extended coordinates. Together with it generates a clean .
Every operation used above is polynomial in . A pure top group has trivial intersection with the block kernel, and it maps onto the full top group. Thus it is the claimed complement. □
Once row permutations are independent, symmetry forces most within-row variation to occur independently in the rows. The remaining coupling is an abelian zero-sum constraint and a common quotient action. This is the precise information used by the row terminal.
Theorem A.18 (Full normal form under the logarithmic threshold). Under Theorem A.17, the entire row normal form follows constructively. In its clean coordinates, let . There exist and , with , such that
where is abelian, and is the diagonal . Moreover and . The groups, quotient maps, and lifts are polynomial-time computable.
Proof. In the clean coordinates is subdirect and is normalized by pure . Define as the projection to one coordinate of the kernel fixing another coordinate, and as the projection of the subgroup supported on one coordinate. Alternating coordinate permutations make these definitions independent of the chosen coordinates. Both are normal in .
For , choose . For the pure cycle , direct multiplication gives . Conjugate this element by the even permutation to obtain with first three coordinates . Then , so
(LG3)
The argument uses , which is assured by (LG1). Conjugating (LG3) gives such transfers between any two coordinates. Commuting transfers supported on and shows . Thus is abelian, and by the definition of and conjugation.
For , compare with a pure 3-cycle conjugate. Their quotient has at least one identity coordinate, so every coordinate of that quotient lies in by the definition of and coordinate symmetry. It follows that all coordinates of agree modulo . Therefore , given by one coordinate, is onto with kernel .
Modulo , the transfers (LG3) generate the full zero-sum subgroup of . Conversely, if an element of had nonzero total, multiplying by transfers would concentrate that total in one coordinate. Its lift would give a single-coordinate element of K with nontrivial image in , contradicting the definition of . Hence is exactly the zero-sum subgroup.
All these groups are normal as asserted: are normal in , coordinate permutations preserve their powers, and is normal in . The action of on the diagonal quotient is trivial, so and .
Computationally, are projections of pointwise block stabilizers in . The group is the preimage of under the onto first-coordinate map , so generators follow by lifting generators of and adjoining that map's kernel. The direct-product group is explicit. Standard constructive quotient operations then give all displayed maps and lifts. No enumeration of an alternating quotient or a general coset-intersection oracle is used.
A.6 Exact quotient algorithms and a transitive-kernel terminal
This section gives the exact quotient subroutine used by the natural-giant case of the final recursion. Its input retains explicit subgroup cosets, and every output is a full transporter coset.
A.6.1 The implicit object model
Let , , and let . An orbit color specifies a subgroup containing . The objects of this color are right cosets , with the right -action. Different orbit colors remain distinct, even if their subgroups happen to agree. The input consists of two colored multisets , each with at most explicitly listed objects. Subgroups and cosets are represented by generators and one representative. We seek
Since fixes every object, this action factors through . Point stabilizers and point transporters are ordinary degree- subgroup and coset intersections. A general polynomial-time intersection algorithm is not assumed.
A solvable quotient does not make its given permutation cover solvable. Before applying the solvable-group representation algorithms, we construct a solvable subgroup that induces the same quotient action.
Lemma A.19 (Constructive solvable supplement). If is solvable, a solvable subgroup satisfying can be found deterministically in polynomial time in .
Proof. This is the Frattini reduction in the proof of [23, Theorem 1.3]. Start with and . If is not nilpotent, choose a nonnormal Sylow subgroup of . A normal closure tests whether is normal in [22, item (3.11), p. 145]. For each generator of , Sylow conjugacy in supplies with . Then normalizes and maps to in . Let be generated by these corrected elements. Thus
Replace by . The invariants and persist. Sylow construction and conjugacy, and intersection with a normalized subgroup, are polynomial-time operations [23, Theorem 3.1(viii),(xi)]. There are at most proper descents. At termination is nilpotent and is solvable; hence is solvable.
Restriction to loses no object permutation, and its exact coset input can be constructed without a general intersection. Since , normalized-product factorization [23, Theorem 3.1(viii)(c)] writes each generator of an object stabilizer as , with , . Then
Indeed these generators contain the entire kernel and map onto . Factoring an object representative replaces by the exact -object , retaining its orbit color. This is a bijection of the corresponding coset spaces and respects the -action. At the end, adjoining recovers the full transporter in .
When the algorithm below first restricts to a normal radical preimage , it rebases the occurring objects into their -orbits before applying the same construction. The orbit tests use the normalized product : two objects of the same original color lie in one -orbit exactly when . Product factorization supplies a relative -transporter, and the stabilizer of is , a normalized-subgroup intersection. It still contains . Thus this rebasing is also polynomial. After restriction to the solvable supplement, all later point-stabilizer and point-transporter tests involve two solvable permutation groups and are polynomial by [23, Proposition 3.9].
A.6.2 Solvable quotients: recursive profiles and affine gluing
The coset spaces may be enormous, but only the explicitly listed objects must be matched. The recursion first matches profiles modulo the last abelian derived subgroup. An affine compatibility condition then forces the separately chosen translations to come from one common group element.
Theorem A.20 (Solvable implicit multicoset transport). In the preceding model, if is solvable, the full transporter is computable deterministically in
time. The implied constant is absolute. No string-isomorphism oracle occurs in this bound.
Proof. Apply Lemma A.19, replace by , and remember the old kernel for the final lift. Henceforth all covering groups are solvable subgroups of . Retaining an explicit normal kernel is convenient. Induct on the derived length of the acting quotient. If , the action is trivial and equality of the two multisets decides the problem. Otherwise let be its last nontrivial derived subgroup, found from the derived series [22, item (3.12), p. 145]. It is abelian and normal, and has derived length at most .
First partition into its nonempty intersections with -orbits, and likewise partition . Point transporter tests under compute these partitions. For an abelian action on one orbit, the stabilizer of one point fixes that entire orbit. Consequently, transport of two submultisets inside one -orbit is polynomial: fix one source point, try its at most target images, and test one representative for each image. This also computes .
Next compute all pairwise subconfiguration transporters . Fix , try every , and choose a point transporter with whenever one exists. Align the target first: the recursive problem is , and its answer is multiplied by on the right. Since is normal, both aligned subconfigurations lie in the -orbit of . The normal kernel of this call is . This kernel fixes the whole orbit and
Thus every such call has quotient derived length at most , the same cover degree, and at most objects. To construct its input, rebase the explicitly occurring objects into their -orbits using pairwise point-transporter tests. The stabilizer of an object becomes ; it contains , because fixes the entire -orbit of . All groups involved are subgroups of the same solvable degree- cover, so these tests and intersections are polynomial-time. No orbit is expanded, and rebasing does not increase the number of listed occurrences. Combining the recursive nonempty cosets over the possible images of gives the entire pairwise transporter. Polynomially many recursive calls suffice.
Replace by the profile , its orbit as a multiset under . Normality of gives
with a consistent choice of multiplication side. The pairwise results therefore give explicit coset representations of all profiles. Recursively transport the multiset of profiles under . This returns a coset , with . At this point different -translations may align the different subconfigurations. They must be replaced by one common translation.
For automorphisms, put
These are finite abelian groups, with factored out implicitly. An element permutes the profiles by a permutation . The profiles are distinct because their subconfigurations lie in distinct -orbits. There is a unique offset , computed by abelian orbit transport, such that
Also , so conjugation and coordinate permutation give a linear automorphism of . On the independent translations of the , the action is exactly
This is an affine group action; in particular its offsets satisfy the cocycle identity. Moreover , so is invariant. For , and . The affine action on therefore factors through .
A coset contains an automorphism of precisely when . Compute the stabilizer of zero in . For each generator of its full preimage, solve . Then is an actual automorphism. These corrected generators, together with , generate all of : they map onto the exact liftable subgroup and contain its kernel. In particular, individually unliftable quotient generators are not simply discarded.
For transport from to , first use the profile transporter . Write for the source profile stabilizer and use the target stabilizer . Form from the target subconfigurations. In these coordinates has an explicitly computed offset . Find transporting to zero under the target affine action, and choose to cancel the remaining common translation. Then transports to . Together with the source automorphism group already constructed, it gives the full transporter coset.
Constructing the abelian coordinates. The preceding operations use explicit presentations, not an oracle for an abelian group of potentially exponential order. Choose compressed generators of modulo , and put
Since is abelian, each successive quotient is cyclic. Constructive permutation-group membership expresses by a straight-line program in generators of [23, Theorem 3.1(v) and Section 2.3]. Evaluate that program as an integer exponent vector, assigning zero to generators of . This gives the relations
They are a complete presentation: the presented abelian group maps onto and has order . The orders and the coefficients have polynomial bit length. For the coefficients, each multiplication in a polynomial-length straight-line program adds exponent vectors, and inversion negates them.
Integer Hermite and Smith normal forms, including their transformation matrices, have polynomial bit complexity [19]. Storjohann and Labahn [28, Theorem 12] give the row Hermite form of a matrix of full column rank with its unimodular transformation matrix. These forms provide coordinates, relation tests, solutions to homomorphism equations, and lifts. Append the coordinates of generators of to obtain ; use block-diagonal relations for , and append to obtain . A compressed permutation generating set has at most members, so these matrices have dimension and polynomial-bit entries. The invariant factors of the represented finite abelian groups have no prime divisors above . Trial division by primes at most therefore suffices to obtain their primary decompositions; no unrestricted integer-factorization algorithm is assumed. The integer relation coefficients themselves need not have this restriction on their prime divisors.
Solving the affine compatibility condition. Set , and split it into its characteristic primary components . Use the filtrations
After transport modulo one level, choose and apply one representative of the resulting transporter coset. Work next with the target stabilizer, conjugating the source stabilizer when necessary. This subgroup preserves the target fiber. If is its chosen origin, the next action is
The offset obeys the cocycle identity. Homogenization by one coordinate therefore gives an explicit linear representation over . Luks-Miyazaki's vector-stabilizer algorithm applies to representations of the explicit solvable permutation cover [23, Theorem 1.4 and Section 5.2]. For a vector transporter, use the solvable two-copy wreath extension on the direct sum of two copies of the vector space. Its stabilizer of contains a copy-swapping element exactly when are in one orbit. The cover degree increases to only for this nonrecursive vector calculation.
The bit bounds are uniform throughout:
Every characteristic satisfies , and all fields have extension degree one. This matters because the vector algorithm is polynomial in , rather than only in . Retain the full affine transformations on in the finite-abelian coordinates, not only their reductions on the current vector-space layer. Generators of each restricted subgroup are expressed by straight-line programs in the preceding generators [23, Theorem 3.1(v)]. Evaluate these programs in the full affine action, then recenter at the next fiber and reduce to obtain its matrices. Thus the entire affine calculation is polynomial in , including lifting. No faithful degree- representation of the quotient itself is required.
The recursion bound. Compute the pairwise comparisons among subconfigurations in both inputs. There are at most ordered pairs, each with at most candidate images of its chosen point, followed by one profile call. All these calls retain the same cover degree, at most listed objects, and quotient derived length at most . Consequently, for absolute and a fixed polynomial ,
The polynomial is independent of ; generating sets and coset descriptions are compressed after every operation. Finally, the constructed solvable supplement has derived length , by Dixon's bound ; see [6, Section 12]. The acting quotient has no larger derived length. This proves the stated bound.
A.6.3 A radical-free order bound and its constructive use
For a finite group , write and for the products of the orders of its abelian and nonabelian composition factors. These symbols are distinct from the cover degree .
For a quotient above a transitive kernel, the product of its nonabelian composition-factor orders is controlled. Removing the solvable radical turns that product bound into an enumeration bound for the remaining quotient.
Lemma A.21 (Radical-free order). For every finite group Q,
Proof. Set . If it is nontrivial, its socle is , with nonabelian simple . The normal subgroup is trivial: a nontrivial normal centralizer would contain a minimal normal subgroup lying in both and its center. Hence . The action on the simple factors has image , and the kernel of the induced map from lies in .
By [15, Proposition 6.1], . By [15, Lemma 7.7], applied to the regular representation of , . Since every and ,
The radical is solvable, so ; also . Multiplying proves the result.
The full preimage of can be computed polynomially in the cover degree, without constructing a faithful permutation representation of . Compute a chief series of and multiply each term by . After repetitions are removed, its image is a chief series of : each original chief factor maps injectively or trivially. For each nonabelian image factor , compute the preimage of
Quotient centralizers are polynomial-time by [23, Lemma 3.2]; all these preimages are normal, so their intersection is a normalized-subgroup intersection.
Their intersection is precisely the radical preimage. Every solvable normal subgroup centralizes a nonabelian chief factor, since its normal intersection with that factor must be trivial. Conversely a normal subgroup centralizing every such factor cannot cover one of them: that would make a nonabelian centerless factor centralize itself. Its restricted chief series therefore has only abelian factors, and it is solvable. This proves both the characterization and the claimed algorithm.
We can now enumerate the nonsolvable part and solve the remaining implicit action by the preceding profile algorithm. The enumeration bound is in the degree of the given cover, not in the potentially huge coset spaces.
Corollary A.22 (Transitive-kernel multicoset transport). Suppose is transitive on . In the explicit coset-object model, full multiset transport has deterministic running time
Proof. Put and let be the radical preimage. Theorem 1.4 of [15] and Lemma A.21 give
Enumerate these cosets with overhead polynomial in their number and the cover degree, and apply Theorem A.20 in each. Rebase the occurring objects under the corresponding solvable supplement as described above. The union of valid results is the actual transporter and is compressed to one coset using generators of the component stabilizer and ratios of representatives.
A.6.4 An exact terminal supplied by the row normal form
Let preserve blocks of size , with alternating action on those blocks. Assume a clean normal form as in Theorem A.18 is supplied; write . In its identification , write the clean complement as , the block kernel as , and its normal data as
Here is abelian, is diagonal, and , with . All maps and lifts are supplied by that theorem. The following proof uses these structural identities, without an inequality between and . A symmetric top action is handled by its two alternating cosets.
Matching row types leaves a global consistency condition. The independent row corrections must have total zero in the abelian quotient, and the common residual action must preserve the entire multiset of types. Both conditions are imposed before a full answer is returned.
Theorem A.23 (Transitive-N Giant Action terminal). In this situation, assume additionally that is transitive on . Exact string isomorphism under , including the complete output coset, reduces to polynomially many ordinary string-isomorphism calls on points and
additional time. Thus, if bounds those calls, the total is at most .
Proof. Write a string as , with each a string on . Using polynomially many degree- calls, classify the local strings into -orbits. For each occurring type , choose a representative , and find with . Define
The total is well defined.
Two strings are -isomorphic exactly when their type multisets agree, their total labels agree, and a matching of their fiber types can be chosen even. Indeed, for a prescribed type matching , the possible local transporter images in are the cosets
Their sum can be zero exactly when the totals agree. A zero-sum tuple lifts to , since the independent groups remain available. If any type repeats, exchanging two equal-type matches reverses parity without changing the possible sum. If all types are distinct, the matching is unique and its sign must be retained.
Solving these finite abelian equations constructs a transporter. It also constructs : use the local -stabilizers, the kernel of the sum map on the product of local stabilizer images, and lifted generators of the even Young group on equal-type fibers. The same sum equations correct the latter lifts.
The residual action is . An -type has -stabilizer ; its transporter to is . Hence degree- string calls construct the explicit coset-object representation required above. These tables are computed once; their construction is not hidden inside the additional-time bound. In particular, store every needed coset . For a later carrying type to type , the known membership in , together with constructive factorization in the normalized product , supplies the required local -transporter in polynomial time [23, Theorem 3.1(viii)(c)]. The subgroups and are likewise normalized-subgroup intersections of the stored stabilizers. Thus computing offsets in different radical cosets makes no new string-isomorphism calls.
Enumerate the radical cosets of . In each coset, solve the undecorated type-multiset problem by the solvable algorithm. Its nonempty output is a coset , with solvable. It remains to impose the total label and the possible parity label. These do not require a return to a larger string domain.
Choose a blockwise lift of , and put . Let be the full preimage of under . The physical candidates in this radical coset are , and
The strings have the same type multiset, so their label torsors use the common group , with the same orientation convention. We solve this aligned problem under , whose residual group is . Each final transporter representative is multiplied by on the right; its source stabilizer is unchanged.
The alignment itself uses the stored tables. Write , where . For a target row , they give
Here carries each occurring target type to an occurring source type, so the required comes from the previously stored pairwise transporters. Thus alignment makes no additional string-isomorphism calls.
On the fixed type multiset, the possible -orbits form a torsor for , with an additional orientation coordinate exactly when every type is distinct. An element , the subgroup preserving this type multiset, is lifted through to a blockwise permutation . Its coordinate actions differ from the common by elements of ; their images in give a computable affine offset. Conjugation by permutes the groups , so it induces the linear part on . Different lifts differ by and have the same action on this torsor. Likewise acts trivially: its lift lies in . Thus the affine action factors through .
Explicitly, for , write , let be the multiplicity of type , and choose with , and write the coordinate lifts as , where . On the fixed type multiset the affine action is
All local cosets here are first mapped to the common quotient . If , take ; the displayed offset is then , by the defining augmentation condition for . This also checks the trivial kernel action without assuming that the diagonal tuple itself belongs to .
When the orientation coordinate occurs, its translation is the sign of the induced permutation of the distinct types. It is a homomorphism to , independent of the total-sum constraint. Here is solvable, but itself need not be solvable. Apply Lemma A.19 to obtain a solvable with . The affine label action kills , so restricting it to the explicit solvable permutation cover loses no orbit. The finite abelian affine transporter procedure in the proof of Theorem A.20 now imposes both labels in polynomial time within this radical coset. With the possible orientation factor included, the characteristic bound is . Adjoining lifts the resulting label stabilizer and transporter back to .
Finally lift the surviving quotient representative and correct it by the constructed -transporter. These corrections need no new string-isomorphism calls. Indeed, for an original row and a coordinate lift , the stored local transporters give
Every factor in the exponent lies in . Hence the type, local transporter, and abelian label of the transformed row are obtained from the existing tables, and the same sum equations construct its -correction. For automorphism generators, lift each generator of the surviving quotient stabilizer and make the same correction; adjoin . These generators map onto the exact quotient stabilizer and contain its full kernel, so the output is the complete isomorphism coset. Combining the radical cosets gives the asserted complexity.
The transitivity assumption on is a substantive boundary. For intransitive , its normalizer quotient can contain independent large factors on many -orbits. Neither the bound on the radical-free quotient nor the terminal above applies with the same exponent by merely replacing with its separate projections. The next section treats that case by retaining the normal-orbit column partition and transposing the large natural action inside its columns. It does not apply the transitive-kernel bound to an intransitive kernel.
A.7 Rectangles realized inside inherited permutation actions
The following reductions distinguish a new action on ordered pairs from an ordered-pair action that is already a quotient of an inherited orbit. Only the latter automatically inherits the marked-chain budget. All permutation actions in this section use right point actions.
A.7.1 The only alternating actions below the triple-subset degree
At large auxiliary degree, the active domain is too small to support three independent label coordinates. The following elementary index argument leaves only single labels and pairs of labels; the constructive part recovers those coordinates.
Lemma A.24 (Alternating subgroups of index below ). There is an absolute such that the following holds for . If , , and
then is one of the following groups:
-
;
-
for one point ;
-
for two distinct points;
-
the setwise stabilizer of in .
Their coset actions are respectively the trivial, natural, ordered-pair, and unordered-pair actions. Given generators of in its natural -point action, the case and its one- or two-point support are computable in polynomial time. No general small-index subgroup classification is needed.
Proof. We first record a transitive-index gap. For all sufficiently large , every proper transitive subgroup has index greater than . If is primitive, Maróti's bound gives
If is imprimitive, write for a preserved system of blocks of size , where . Then
The exponential lower bound is uniform in : for , its logarithm is at least ; for , counting equal-block partitions by one of their blocks gives a lower bound , whose logarithm is at least . These are the same factorial estimates used in Lemma A.8. The displayed exponential lower bounds exceed for all sufficiently large . Choose so that the gap holds at both and whenever .
We also use the elementary minimum-index fact
Indeed, the coset action is faithful by simplicity, and a faithful action of degree below would imply , which is false.
Put . If , there is nothing to prove. Otherwise the transitive-index gap, together with , shows that is intransitive on . Choose a smallest natural orbit , of size . Its setwise stabilizer gives . Therefore .
Suppose first that . Let be the two-set stabilizer of , and put . The quotient has order two, and
Since , the minimum-index fact forces . Hence or , giving the third or fourth case.
Suppose next that , with . Regard , where . Its index there is
If , we obtain the second case. Otherwise the transitive-index gap forces to be intransitive on these points. A smallest orbit has size . If , then , a contradiction. Thus fixes a second point , and
The minimum-index fact forces equality with . This is the third case and completes the classification.
For the constructive assertion, compute the natural orbits of and its order. In the nontrivial proper cases its support is either its unique fixed point, its two fixed points, or its unique orbit of size two; the other orbit has size or . These data identify the case in polynomial time. The support is intrinsic to ; only an ordering of the two fixed points, when needed, is arbitrary.
The point-stabilizer image identifies the kernel-orbit action. Its index is at most the number of active positions, so the preceding classification becomes a statement about the actual physical representation.
Corollary A.25 (Constructive physical support thresholds). Let be faithful and transitive, , and let be supplied, with and . Suppose
Then the action of on its -orbits is naturally isomorphic to the natural, ordered-pair, or unordered-pair action on . The equivariant quotient map from is polynomial-time computable, and its fibers are exactly the equal-size -orbits. If in addition , only the natural action is possible; in particular is transitive inside each of its natural blocks.
Proof. Fix and compute . The stabilizer of the orbit in is , so
Lemma A.24 applies. Its trivial-action case would say that is transitive on . Every point would then be unaffected, contradicting the unaffected-stabilizer theorem at the stated threshold (equivalently, Lemma A.15). Thus only the three proper cases remain.
Compute the intrinsic support at by the preceding lemma and transport it along a Schreier traversal of the -orbit , using the supplied images under . In the ordered-pair case choose either ordering at and transport that ordering. The map is well defined because is exactly the corresponding natural, ordered-pair, or unordered-pair stabilizer. The preceding stabilizer identity shows that its fibers are precisely the -orbits. Normality of and transitivity of give their equal sizes. All point stabilizers, orbit computations, image evaluations, and kernel computations take polynomial time in the stated permutation representation.
The ordered and unordered pair actions have degrees and , respectively. The extra inequality excludes both, leaving the natural action and its transitive fibers.
In particular, for a faithful column action of degree , a giant of degree above the unaffected-stabilizer threshold and with has the natural kernel-orbit quotient. This is the precise column-kernel transitivity needed by the diagonal-carrier rectangle construction.
For the pair case, the point-stabilizer image determines whether the pair is ordered. Recovering the map explicitly is necessary: the later matrix query must be pulled back through the actual orbit fibers.
Lemma A.26 (The support-two orbit quotient). Let be faithful and transitive, let , and put , , and . Suppose and, for some , there is a two-element set such that
(IR1)
Then the action of on its -orbits is equivariantly isomorphic to either the action on unordered pairs of distinct elements of or the action on ordered pairs of distinct elements of . The quotient map can be constructed in polynomial time from the supplied giant map and . Its fibers are precisely the -orbits and all have equal size.
Proof. The stabilizer in of is . The quotient of the upper group in (IR1) by the lower group has order two. Thus is either the full two-set stabilizer, giving the unordered-pair action, or the pointwise two-point stabilizer , giving the ordered-pair action.
For the ordered action, choose one ordering of at the base point and transport it using . This is well defined because the base stabilizer fixes both entries. The other initial ordering merely interchanges the two coordinate names. For the unordered action, transport itself. Orbit computation and constructive membership compute these maps and lift permutations throughout. Normality of and transitivity of give equal fiber sizes.
When the hypothesis occurs. Corollary A.25 gives exactly the support-one and support-two alternatives whenever the physical degree is below and the giant exceeds the unaffected-stabilizer threshold. In the support-two alternative its point-stabilizer image satisfies (IR1), with the ordered and unordered cases distinguished by their natural stabilizers. This is the only support classification needed in the main algorithm.
A rectangle in the pair coordinates is already represented by one orbit of a subgroup of the current group. Pulling back its colors therefore preserves the hereditary analysis parameters.
Lemma A.27 (An exact inherited rectangle query). Assume Lemma A.26. Let be disjoint nonempty subsets of , with and . Let and
Let consist of the pairs with one entry in and one in , using the orientation in the ordered-pair case, and put . Then is one -orbit and
(IR2)
Given two explicitly colored matrices on , their complete transporter under the image of in is computable by one exact string-isomorphism call on . The input strings are constant on the fibers of . The call inherits all budgets and caps valid for subgroup-orbit restrictions of the original action. The output includes all group generators and a representative, or certifies emptiness.
Proof. The group is transitive on . Indeed, any prescribed images of one point in each factor can be achieved by permutations of the factors; their combined sign can be corrected in the stabilizer of the chosen point of , since . The kernel is transitive on each fiber of , proving transitivity on . Equal fiber sizes give (IR2).
Pull the matrix color of back to every point of , with the evident interpretation for unordered pairs. An element of preserves or transports these pulled-back strings exactly when its induced pair permutation preserves or transports the matrices. Every permitted pair permutation has a lift in , so neither direction loses solutions.
The pair action factors through the faithful image : an element fixing pointwise fixes every pair in , hence fixes and pointwise. Therefore projecting the complete string transporter gives exactly the complete permitted matrix transporter. To compute this projection, lift its generators to and apply followed by restriction to the two sides; the result is independent of the chosen lifts. All these maps are supplied permutation homomorphisms with polynomial-time membership and lifting operations.
The queried action is literally the action of a subgroup of on one of its orbits. In particular it is not an arbitrary faithful re-representation of or of one of its quotients. The visibility and inherited-state conditions of the marked-chain budget apply.
Parity and source-target alignment. If source and target rectangles have sides and of equal sizes, choose an even bijection of taking the three source parts to the three target parts, and lift it through . Such a bijection exists since : the sign of any alignment can be corrected inside its part. This fixes one alignment coset; the subgroup in Lemma A.27 then supplies all remaining possibilities. There is no enumeration of the index of that set stabilizer. If corresponding sizes differ, that branch is empty.
When , the permitted group on is the full : a sign can be corrected on . When , it is the index-two subgroup with even product sign. The latter is sufficient because it is exactly the restriction of the supplied alternating ideal action. No unliftable odd matrix automorphism is required. The full ideal transporter, if desired, is obtained from the projected lifts by adjoining the pointwise -stabilizer in the alternating group. Parity is imposed on both the resulting group and its coset representative.
We need only the first bipartite graph of Split-or-Johnson. At that point both sides are still subsets of the old label set, which permits an inherited representation of the rectangle.
Lemma A.28 (The first certified Split-or-Johnson entrance). Suppose the constant-certificate aggregation and Design step has produced a nontrivial homogeneous coherent configuration on , with . Using only polynomially many branches and polynomial structural work, one can either obtain the usual fixed-fraction ideal-cap reduction, or obtain disjoint actual subsets and a nontrivial semiregular binary matrix on such that
(IR3)
and every left twin class has size at most . These are the sides at the first entrance to [16, Proposition 5.7], before any right-side contraction or replacement by artificial block vertices.
Proof. An imprimitive coherent configuration gives the canonical equal-block partition from the first paragraph of [16, Section 5.2]. Otherwise choose a source vertex and branch over its target image. The colors are canonical after this choice. If none of their classes exceeds , they give the required colored partition.
In the remaining case, let be the unique dominant class. The proof of [16, Theorem 5.3] selects a different nonempty color class and an edge color such that the induced graph on is nonempty, noncomplete, and semiregular. These are still subsets of the original , and belongs to neither side. The color choice may be made from the canonical coherent palette; alternatively all the finitely many vertex/color choices can be branched over at polynomial cost. They cover every parent isomorphism.
Since and , with , the decreasing quadratic on gives . Finally, the semiregular twin argument of [16, Exercise 5.4] bounds every left twin class by : after complementing if necessary the common right degree is at most , and it is at least the size of any left twin class.
The returned parent cap. Apply Lemma A.27 at the first entrance in Lemma A.28. For sufficiently large absolute , give ; the unordered case is the larger one, with ratio at most .
Let be the left projection of the exact permitted matrix automorphism group. The kernel of the right action of the full matrix automorphism group is the product of the symmetric groups on left twin classes; imposing alternating parity only restricts this kernel to a subgroup. The quotient is a subgroup of , so every nonabelian simple section of comes from a left twin group or a subgroup of . Consequently
Extend the left transporter by the full symmetric group on and impose the alternating sign condition. Its group has alternating width at most
(IR4)
This extension is an overcoset of the ideal images of the parent isomorphisms in the current branch. Pull it back through the supplied full giant map and solve the original strings inside that preimage. Thus extra permutations admitted by forgetting the right side or earlier branch choices are filtered exactly, while every genuine parent isomorphism remains covered. No arbitrary group intersection is used. Emptiness and full transporter output are preserved throughout.
Cost at support-two nodes. The auxiliary query is a genuine subgroup-orbit restriction of degree at most . Its inherited , , and cap moment do not increase. The source/target branch choices have total size because the certificate size is fixed. The later same-domain continuation has the cap contraction (IR4) at the selected giant interval. Thus the auxiliary query is paid by the decrease of , and the continuation by the corresponding decrease of the cap moment. These are separate recursive children; no cap learned in the auxiliary call is transferred to its parent or to a sibling. Structural polynomial work remains additive, as in the ordinary string chain rule.
A.7.2 Promotion without a budget reset
After two distinct large natural factors have appeared in the same hierarchy, their product leaves too little degree for a third larger factor. This gives a bound on the entire current group and prevents repeated enlargements of the retained row action.
Lemma A.29 (A single larger-carrier promotion). Fix a phase bound and , with . Suppose the row carrier has degree , and a later support-one natural column giant has degree . Suppose all current physical points lie in the product grid described in Lemma A.30, with total degree . Assume also that the fixed-floor dispatcher has exposed the old row ratio and the new natural column ratio as distinct intervals of the retained tower, with their valid caps and . Then .
After constructing a clean row carrier of degree , no further carrier promotion is needed in any subsequent inherited subgroup, orbit, or quotient action that retains this carrier. The normal transpose retains the inherited tower labels and does not increase or the cap moment; no budget reset is needed.
Proof. The old row partition and the natural column partition are both -invariant. Their intersections have the uniform size . The tower formed first by the column blocks, then by their row intersections, and then by a complete local tower has top image , middle image , and all remaining constituent degrees at most . The middle image is full because the old clean row carrier lies in the kernel of the column action. Since
the iterated wreath-product bound for alternating-section width gives .
Hereditary alternating-section width cannot increase in subgroups, quotients, or their permutation images. Consequently no subsequent giant representation can have degree greater than . In particular, once the clean carrier has degree , every further large column giant has degree at most the carrier and is handled by Lemma A.30.
For the stronger inherited-state assertion, use the normal transpose, whose factorization proof does not require a numerical inequality between the row and fiber sizes. If is an old local stabilizer chain and is the new variation, each adjacent factor splits exactly as
The lower factor is a subgroup orbit of the old constituent, and the upper factor is a block quotient of that constituent. Both therefore retain its cap label. Modulo the variation group, the cell-to-row stabilizers have the form . Replacing these by moves the unchanged natural row ratio below the upper local factors. All ratios are only split or permuted. Hence cannot increase, and the cap moment cannot increase because splitting with cap replaces by at most .
The actual natural intervals and were already exposed before this refactoring; all other ratios have product at most , and their effective caps are no larger than their ratios. This also proves the global width bound directly from the retained tower. A reset of the tower budgets is deliberately unnecessary: a certificate child can lose the carrier, and paying a fresh quadratic reset on every such child would not be justified.
A.8 Retaining a natural giant as an auxiliary carrier
The action used by an auxiliary oracle need not be the full current parent group. It must realize the entire requested ideal action, and its output must be induced back to that ideal action. A subgroup chosen only for this purpose does not impose its index on the original-domain continuation. This distinction permits the following construction.
A retained row action supplies the missing first coordinate of a column rectangle. The diagonal subgroup is an auxiliary representation only; its index is never charged to, or imposed on, the original-domain continuation.
Lemma A.30 (Diagonal carrier for a rectangle oracle). Suppose a transitive permutation group on has an explicit normal subgroup and an explicit quotient
Assume the -orbits are naturally indexed by , with the displayed product action, and that all -orbits have size . Let be transitive on , and let have a kernel whose orbits on are exactly equal parts of size , with natural quotient action. Suppose .
For disjoint nonempty with , the full permutation isomorphism coset of an explicitly colored rectangle under can be computed by at most two string-isomorphism calls in an inherited subgroup-orbit action of , each on
physical points. All auxiliary output generators and representatives induce back to the ideal rectangle. If the current physical orbit is with its -fibers, this number is at most
More generally, if , , and , the sharper factor is .
Proof. Choose row labels and identify them with . In the first factor restrict to the alternating subgroup supported on these labels. In the second factor restrict to . Inside take the subgroup
Take its full preimage in . This is constructive without an arbitrary subgroup-intersection oracle: generate the common kernel, lift generators of ker in the second factor, and lift the paired generators of the displayed subgroup. The quotient maps and constructive membership give each lift.
On the chosen rows and the column parts, this group has the diagonal natural alternating action. Its kernel contains and the preimage of . That kernel is transitive on every row-column-part fiber of size : the latter subgroup is transitive on its column labels, and is transitive on the points of each cell. Restrict further to the inverse image of the setwise stabilizer of and in , then select the physical orbit above . Its ideal image is the even-total-parity subgroup of , or the full product if the omitted ideal labels can absorb parity. This image is transitive on : after prescribing the images of one left and one right point, an odd transposition of two remaining left points corrects parity whenever needed, since . The preimage has exactly points and is a genuine subgroup orbit of the original physical permutation representation.
Pull the rectangle color string back constantly on the known fibers. String isomorphisms in this physical action induce precisely the rectangle isomorphisms in its ideal image. The kernel fixing the ideal rectangle fixes the pulled-back string, so inducing the full returned coset gives the entire ideal coset, not a proper subgroup of it. If the ideal image has index two, solve its second coset by precomposing the target rectangle colors with a fixed odd-total-parity rectangle permutation. This color substitution requires no lift of that odd permutation to and does not change the acting physical group. Translate the induced ideal output back and combine the two cosets.
There are cells in the current physical orbit. Since , the asserted size ratio follows. When the left set occupies at least an fraction of an active ideal subset , the maximum product is .
The first certified rectangle and its cap. Lemma A.28 reaches a certified rectangle after only choices and either returns a balanced partition already or supplies disjoint ideal sides . The rectangle's exact full coset imposes the constant-factor hereditary cap on the parent ideal interval proved in that lemma. In the support-two case, Lemma A.27 realizes this oracle on at most inherited physical points. In the carrier case Lemma A.30 does the same on at most points. No later Split-or-Johnson contraction phase is needed. The parent continuation uses the returned ideal overcoset and then checks its original string constraints exactly.
A.8.1 Inheritance of the retained row action
In a clean row normal form, put . Then , and the -orbits are the columns , where ranges over the local variation orbits. While processing the quotient , use full preimages of all quotient restrictions. This keeps the entire kernel , hence keeps the natural row carrier. Cameron restrictions and Design cap restrictions have exactly this form. Local-certificate endpoint groups are independent recursive calls; they may lose the carrier, but inherit the original physical action and its certificate progress. They are not enlarged back to the group of the parent.
The fixed J-floor is created only when there are at least two columns. Entry into one column occurs by a block or orbit descent from a union of at least two equal columns, so that entry loses at least half of the preceding physical domain. At entry switch to the general inherited dispatcher in place; do not introduce another same-domain recursive call or a fresh budget. After one column has been solved, the conditional subgroup used for the next column may have lost the carrier. No retention assertion is needed: each such query is an inherited subgroup-orbit call on a proper smaller domain.
More generally, an intransitive quotient restriction may have unequal orbits, each a union of columns. Always process a largest current orbit first. This first child receives the unchanged group restricted to that orbit, so it retains the carrier. Every later conditional query lies in a different original orbit, of size at most half the parent degree; it may discard the carrier with that physical charge. This ordering prevents a small first orbit from destroying the carrier before a nearly full-size later query.
For the faithful-image assertion, write the covering group of the largest first orbit as and let . be the kernel of its physical action. Every pointwise-fixing element fixes every row label, since the orbit contains all rows above its column orbit. Consequently for a normal subgroup , and
The images of the -orbits are still transitive cells and the row complement remains faithful. Each retained column contains all row cells. Its stabilizer acts on them inside the old , and the clean carrier supplies every element of . Consequently the whole inherited constituent on those cells is still the natural degree- action, with cap below the floor. An element fixing the physical orbit pointwise also fixes every column label that occurs there. Thus lies in the pointwise kernel of the restricted column action, and all subsequent column-action maps kill . The same covering maps can therefore be retained. This proves the structural assertion used by the largest-orbit-first rule.
B Major gaps in Du's algorithm
Du [11] states an algorithm for general graph isomorphism. This appendix explains why the argument in that preprint does not establish the stated result. All page numbers refer to arXiv:1710.09526v1, dated October 26, 2017. We give an exact counterexample to a lemma used by the algorithm and identify two independent missing algorithmic arguments.
B.1 The incidence routine fails on an infinite graph family
The algorithm partitions a graph eigenspace using the hyperplanes orthogonal to , where is orthogonal projection onto . For a chamber containing , Lemma 6 of [11], p. 10, tests whether the th hyperplane is incident to that chamber by checking
The sign function is applied coordinatewise, with . The following counterexample uses the eigenspace and seed explicitly required by the algorithm, rather than an arbitrary subspace.
Proposition B.1. For every , the incidence test (31) returns the empty set on the prescribed seed in the zero eigenspace of the star , although the chamber has incident hyperplanes.
Proof. Number the center 0 and the leaves . The zero eigenspace is
Projection sets the center coordinate to zero and subtracts the mean of the leaf coordinates. The algorithm's seed has leaf coordinates . For every nonzero , , as required by Lemma 6. Its chamber is and for , within .
Each hyperplane with is a facet: a relative interior point has , , and all other leaf coordinates . A small displacement along enters the chamber and projects orthogonally back to that point. The same holds on a relatively open set of boundary points, which spans the hyperplane. Thus the example also satisfies Du's definition of incidence by straightforward projections. The hyperplane meets the chamber's closure only at zero. The correct incidence set is therefore .
For , the leaf coordinates of consist of one , one zero, and copies of . Their sum is , so
The test rejects every actual facet. It also rejects , since .
This failure affects the algorithm, not only the statement of a lemma. The loop on p. 17 of [11] removes the computed incidence set and repeats on the remaining indices. Here it removes nothing. The center has zero projection and is already excluded; the remaining leaf projections still span . The same state and seed recur, so the specified loop makes no progress. Replacing this incidence routine would require a different argument and would not resolve the independent running-time gap below.
B.2 The logarithmic exposure bound is not proved
In Case 2.2B, p. 31 of [11], a cell is divided into fibers of size . The argument exposes their associated subspaces one at a time. From pairwise nonorthogonality it concludes that at most exposures make the projection partition discrete. This is the progress assertion used to bound the branching by on p. 35. No decrease by a fixed factor, rank bound, or other charging argument is given.
Pairwise nonorthogonality alone cannot supply such a bound. The following projection model shows the missing implication explicitly. Take disjoint fibers , each split into two halves of size , so . Put , , , and . Let consist of the vectors supported on with sum zero separately on its two halves, and set
The -projection fibers are exactly the . Their residual spans equal , so every pair is nonorthogonal. After exposing a nonempty set of fibers, the exposed space is . For an unexposed and , ,
Thus projection equality leaves every unexposed half unresolved, and all exposures are needed in this model; can exceed arbitrarily. This refutes only the stated inference from pairwise nonorthogonality. It is not a simple-graph instance satisfying every earlier splitting step or the equitable refinement invoked on p. 31. Those additional conditions would need to enter a quantitative progress proof; the preprint supplies no such proof for the logarithmic bound used in its final recurrence.
Compatibility of the recursive answers. The assembly steps on pp. 23, 30, and 32 also require a bounded-time computation of compatible actions of recursively obtained groups. Orbit partitions, even together with all point-stabilizer orbit partitions, do not determine their intersection. For example, on with prime , the regular translation group and , , have identical such partitions, whereas and . Both groups have prime order, and they are distinct because is not affine and does not normalize . Du also promises correspondences between cells of stabilizer partitions; genuine transporter maps would distinguish the groups in this example. The missing step is a specified algorithm that retains those maps and computes globally compatible lifts, with its cost charged to the recurrence. Together with the false incidence test and the missing exposure bound, this prevents the preprint from establishing its claimed algorithm and running time.