On Cayley representations of finite graphs over abelian p-groups
Grigory Ryabov
Novosibirsk State University, Novosibirsk, Russia
Sobolev Institute of Mathematics, Novosibirsk, Russia
[email protected]
Abstract.
We construct a polynomial-time algorithm which given a graph Γ finds the full set of non-equivalent Cayley representations of Γ over the group D≅Cp×Cpk, where p∈{2,3} and k≥1. This result implies that the recognition and the isomorphism problems for Cayley graphs over D can be solved in polynomial time.
Keywords: Coherent configurations, Cayley graphs, Cayley graph isomorphism problem.
MSC:05E30, 05C60, 20B35.
The work is supported by the Russian Foundation for Basic Research (project 18-31-00051)
1. Introduction
A Cayley representation of a graph Γ over a group G is defined to be an isomorphism from Γ to a Cayley graph over G (here and further throughout the paper all the graphs and groups are assumed to be finite). Two Cayley representations of Γ are called equivalent if the images of Γ under these representations are Cayley isomorphic, i.e., there exists a group automorphism of G which is at the same time an isomorphism between the images. In the present paper we are interested in the following computational problem.
Problem CRG**.**
Given a group G and a graph Γ find a full set of non-equivalent Cayley representations of Γ over G.
Here we assume that the group G is given explicitly, i.e., by its multiplication table, and the graph Γ is given by a binary relation. In the above form the Problem CRG was formulated in [12].
In general the Problem CRG seems to be very hard. Even the question whether a given graph has at least one Cayley representation over a given group leads to the recognition problem for Cayley graphs that can be formulated as follows.
Problem CGREC**.**
Given a group G and a graph Γ test whether Γ is isomorphic to a Cayley graph over G.
Another related problem is the isomorphism problem for Cayley graphs. In the following form this problem was formulated in [12].
Problem CGI**.**
Given a group G, a Cayley graph over G, and an arbitrary graph test whether these two graphs are isomorphic.
For more information on the Problems CRG, CGREC, and CGI we refer the reader to [12].
One can check that the Problem CGI is reducible to the Problem CRG in polynomial time in the order of the group Aut(G). So if the group G is generated by a set of at most constant size then the Problem CGI is polynomial-time reducible to the Problem CRG.
Denote the cyclic group of order n by Cn. The Problem CRG was solved efficiently for cyclic groups in [3] and for C2×C2×Cp, where p is a prime, in [12]. Up to now these results are the only published results concerned with solving the Problem CRG for infinite class of graphs. In the present paper we solve the Problem CRG for Cayley graphs over the group D≅Cp×Cpk, where p∈{2,3} and k≥1, in polynomial time. The above discussion implies that if the Problem CRG for D can be solved in polynomial time then the Problems CGREC and CGI for D also can be solved in polynomial time. The main result of the paper is given in the theorem below.
Theorem 1.1**.**
For an explicitly given group D≅Cp×Cpk of order n, where p∈{2,3} and k≥1, the Problems CRG, CGREC, and CGI can be solved in time poly(n).
It should be mentioned that the Problem CGI in case when both graphs are Cayley graphs over a cyclic group was solved independently in [10]. The Problem CGI in case when both graphs are Cayley graphs over D was solved in [14].
Let G be a finite group. The key notion used in the proof of Theorem 1.1 is a G-base of a permutation group; by definition, this is a maximal set of pairwise non-conjugated regular subgroups isomorphic to G of a permutation group. The notion of a G-base was suggested in [6] as a generalization of the notion of a cycle base (see [3, 9]) which is, in fact, a G-base for a cyclic group G. One can check that all G-bases of a permutation group K have the same size. Denote this size by bG(K).
Note that a graph Γ is isomorphic to a Cayley graph over a group G if and only if the group Aut(Γ) contains a regular subgroup isomorphic to G. In other words, Γ is isomorphic to a Cayley graph over G if and only if bG(Aut(Γ))=0. The Babai argument ([1]) implies that there is a one-to-one correspondence between regular subgroups of Aut(Γ) isomorphic to G and Cayley representations of Γ over G. In addition, two Cayley representations are equivalent if and only if the corresponding subgroups are conjugate in Aut(Γ). Therefore for solving the Problem CRG it is sufficient to find a G-base of Aut(Γ). Thus, Theorem 1.1 is an immediate consequence of the following theorem.
Theorem 1.2**.**
Suppose that a group D≅Cp×Cpk of order n, where p∈{2,3} and k≥1, is given explicitly. Then a D-base of the automorphism group of a graph on n vertices can be found in time poly(n).
Let us outline the proof of Theorem 1.2. Suppose that Γ is a graph on n vertices. Firstly we use the polynomial-time Weisfeiler-Leman algorithm [17] to find the coherent configuration X (see Section 2 for exact definitions) corresponding to Γ such that Aut(X)=Aut(Γ). Put K=Aut(X). A D-base of K is not empty if and only if X is isomorphic to a Cayley scheme over D. Further we use the classification of Cayley schemes over D obtained in [11] for p=2 and in [13] for p=3 to construct efficiently a coherent configuration X′ such that (1) K′=Aut(X′) is solvable; (2) K′≤K and every D-base of K′ contains a D-base of K (Sections 3-5). The group K′ is solvable and can be constructed efficiently. A D-base of K′ is contained in a D-base of its Sylow p-subgroup P and P can be found by the polynomial-time Kantor’s algorithm. In Section 6 we construct a polynomial-time algorithm for finding a D-base of a p-group. Applying this algorithm to P, we obtain a D-base BD of P containing a D-base of K′ and hence a D-base of K. In Section 7 we summarize all above steps and show how to exclude from BD in polynomial time subgroups which are K-conjugate to other subgroup from BD.
The author would like to thank prof. I Ponomarenko and prof. A. Vasil’ev for their valuable comments which allow to improve the text significantly.
Notation.
Given a finite set Ω the diagonal of Ω×Ω is denoted by 1Ω.
For a set T⊆2Ω the set of all unions of the elements of T is denoted by T∪.
If s⊆Ω×Ω and S⊆2Ω×Ω then set s∗={(β,α):(α,β)∈s} and S∗={t∗:t∈S}.
Given α∈Ω set αs={β∈Ω:(α,β)∈s}.
Given r,s⊆Ω×Ω set rs={(α,γ):(α,β)∈r, (β,γ)∈s for some β∈Ω}.
Given s⊆Ω×Ω denote by ⟨s⟩ the equivalence closure of s, i.e. the smallest equivalence relation on Ω containing s.
If E is an equivalence relation on Ω then the set of all classes of E is denoted by Ω/E.
Given s⊆Ω×Ω set sΩ/E={(Λ,Δ)∈Ω/E×Ω/E:sΛ,Δ=∅}, where sΔ,Λ=s∩Δ×Λ. Also set sΔ=sΔ,Δ.
If S⊆2Ω×Ω and Δ∈ΩE then denote the sets {sΩ/E:s∈S,sΩ/E=∅} and {sΔ:s∈S,sΔ=∅} by SΩ/E and SΔ respectively.
The group of all permutations of a set Ω is denoted by Sym(Ω).
If K≤Sym(Ω), α∈Ω, and Δ⊆Ω then the one-point stabilizer of α and the setwise stabilizer of Δ in K are denoted by Kα and KΔ respectively.
The set of all orbits of K≤Sym(Ω) is denoted by Orb(K,Ω).
If K≤Sym(Ω) and H is a group then the set of all regular subgroups of K isomorphic to H is denoted by Reg(K,H).
The set of non-identity elements of a group G is denoted by G#.
If g∈G then the centralizer of g in G is denoted by CG(g).
If H≤G then the centralizer and the normalizer of H in G are denoted by CG(H) and NG(H) respectively.
The group {x↦xg, x∈G:g∈G} of right translations of G is denoted by Gright.
Given X⊆G denote by s(X) the set {(g,xg):g∈G,x∈X}⊆G×G of edges of the Cayley graph Cay(G,X).
For a set Δ⊆Sym(G) and a section S=U/L of G set ΔS={fS: f∈Δ, Sf=S}, where Sf=S means that f permutes the L-cosets in U and fS denotes the bijection of S induced by f.
The cyclic group of order n is denoted by Cn.
2. Coherent configurations
In this section we give a background on coherent configurations. We use the notation and terminology from [2], where the most part of the material is contained. More information on coherent configurations can be found also in [4, 12].
2.1. Definitions
Let Ω be a finite set of cardinality n≥1 and S a partition of Ω×Ω. A pair X=(Ω,S) is called a coherent configuration on Ω if 1Ω∈S∪, S∗=S, and given r,s,t∈S the number
[TABLE]
does not depend on the choice of (α,β)∈t. The elements of Ω, elements of S, and numbers crst are called the points, basis relations, and intersection numbers of X respectively. The numbers ∣Ω∣ and ∣S∣ are called the degree and rank of X respectively. Denote the rank of X by rk(X).
The coherent configuration X=(Ω,S) is said to be trivial if n=1 or rk(X)=2. We say that X is discrete if rk(X)=n2, i.e. every element of S is singleton. Denote the trivial and discrete coherent configurations on Ω by TΩ and DΩ respectively.
A set Δ⊆Ω is called a fiber of X if 1Δ∈S. The set of all fibers of X is denoted by F(X). Note that Ω is a disjoint union of all elements of F(X). For every r∈S there exist uniquely determined fibers Δ and Λ such that r⊆Δ×Λ. This implies that S is a disjoint union of the sets
[TABLE]
The number crr∗1Ω is called the valency of r and denoted by nr. It is easy to see that nr=∣αr∣ for every α∈Δ. Given T∈S∪ the sum of all valences nt, where t runs over all basis relations inside T, is denoted by nT.
We say that X is homogeneous or X is a scheme if 1Ω∈S. If X is a scheme then nr=nr∗ for every r∈S. We say that X is commutative if crst=csrt for all r,s,t∈S. One can check that every commutative coherent configuration is a scheme.
The set of all equivalence relations E∈S∪ is denoted by E(X). The coherent configuration X is said to be primitive if E(X)={1Ω,Ω×Ω}. It is easy to see that every primitive coherent configuration is a scheme. A scheme which is not primitive is said to be imprimitive. One can verify that ⟨s⟩∈E(X) for every s∈S∪.
Let s⊆Ω2. The largest relation r⊆Ω2 such that sr=sr=s is called the radical of s and denoted by rad(s). Clearly, 1Ω⊆rad(s) for every s⊆Ω2. One can check that if s∈S∪ then rad(s)∈E(X).
2.2. Isomorphisms
Let X=(Ω,S) and X′=(Ω′,S′) be coherent configurations. An algebraic isomorphism from X to X′ is defined to be a bijection φ:S→S′ such that
[TABLE]
for every r,s,t∈S. In this case rk(X)=rk(X′), ∣Ω∣=∣Ω′∣, and X and X′ are homogeneous or not simultaneously. Every algebraic isomorphism is extended to a bijection from E(X) to E(X′). This implies that X and X′ are primitive or not simultaneously.
An isomorphism from X to X′ is defined to be a bijection f:Ω→Ω′ such that S′=Sf, where Sf={sf: s∈S} and sf={(αf, βf): (α, β)∈s}. In this case we say that X and X′ are isomorphic and write X≅X′. The group Iso(X) of all isomorphisms from X onto itself has a normal subgroup
[TABLE]
This subgroup is called the automorphism group of X and denoted by Aut(X); the elements of Aut(X) are called automorphisms of X. It is easy to see that if rk(X)=2 then Aut(X)=Sym(Ω). If Aut(X) is transitive and E∈E(X) then the classes of E are blocks of Aut(X). Given f∈Sym(Ω) one can test whether f∈Aut(X) in time poly(n) by testing for every s∈S whether sf=s.
Every isomorphism of coherent configurations induces in a natural way the algebraic isomorphism of them. However, not every algebraic isomorphism is induced by a combinatorial one (see [4, Section 4.2]). A coherent configuration is called separable if every algebraic isomorphism from it to another coherent configuration is induced by an isomorphism. Observe that TΩ and DΩ are separable.
2.3. Restrictions and quotients
Let E∈E(X) and Δ∈Ω/E. Then the pair
[TABLE]
is a coherent configuration called the restriction of X on Δ. If E is the union of Λ×Λ, where Λ∈F(X), and Δ∈F(X) then XΔ is called the homogeneous component of X.
If k∈Aut(X)Δ and K≤Aut(X) then denote by kΔ and KΔ the permutation induced by the action of k on Δ and the permutation group induced by the action of KΔ on Δ respectively. It is easy to see that
[TABLE]
Let X be a scheme. Then the pair
[TABLE]
is a coherent configuration called the quotient of X modulo E. If k∈Aut(X) and K≤Aut(X) then denote by kΩ/E and KΩ/E the permutation induced by the action of k on Ω/E and the permutation group induced by the action of K on Ω/E respectively. Clearly,
[TABLE]
Let F∈E(X) and F⊆E. Obviously, EΩ/F∈E(XΩ/F). It can be checked in a straightforward way that
[TABLE]
The relation FΔ belongs to E(XΔ). The set Δ/FΔ is a class of the equivalence relation EΩ/F which belongs to E(XΩ/F). One can check that (XΔ)Δ/FΔ=(XΩ/F)Δ/FΔ. The coherent configuration defined in this equality is denoted by XΔ/F and called a section of X. The sets of all sections of X and all primitive sections of X are denoted by Q(X) and Q(X)prim respectively.
If k∈Aut(X)Δ and K≤Aut(X) then denote by kΔ/F and KΔ/F the permutation induced by the action of k on Δ/FΔ and the permutation group induced by the action of KΔ on Δ/FΔ respectively. If XΔ/F is a section of X then
[TABLE]
One can check that for every Δ′∈Ω/E the bijection
[TABLE]
from SΔ to SΔ′ is an algebraic isomorphism from XΔ to XΔ′. So XΔ′/F is algebraically isomorphic to XΔ/F for every Δ′∈Ω/E. In particular, ∣Δ′/FΔ′∣=∣Δ/FΔ∣ and XΔ′/F is primitive (of rank 2) if and only if XΔ/F is primitive (of rank 2). This implies the following statement.
Lemma 2.1**.**
Let X be a scheme and E,F∈E(X) such that F⊂E. Then there exists R∈E(X) with F⊊R⊊E if and only if there exists Δ∈Ω/E such that XΔ/F is imprimitive.
Given a coherent configuration X on Ω denote by F(X) the set of all pairs (F,E)∈E(X)2 such that F⊆E and for every Δ∈Ω/E the section XΔ/F has a composite degree and rank 2. Put
[TABLE]
Observe that (F,E)∈F(X) if and only if F⊆E and for some Δ∈Ω/E the section XΔ/F has a composite degree and rank 2 because for every Δ′∈Ω/E the section XΔ′/F is algebraically isomorphic to XΔ/F and hence XΔ′/F also has a composite degree and rank 2.
2.4. Wreath and tensor products
Let X1=(Ω1,S1) and X2=(Ω2,S2) be coherent configurations. Put S1⊗S2={s1⊗s2:s1∈S1,s2∈S2}, where s1⊗s2={((α1,α2),(β1,β2)):(α1,β1)∈s1,(α2,β2)∈s2}. Then the pair
[TABLE]
is a coherent configuration called the tensor product of X1 and X2. It can be verified that
[TABLE]
Let X=(Ω,S) be a scheme and E,F∈E(X) with F⊆E. The scheme X is defined to be the E/F-wreath product if s∩E=∅ implies that
[TABLE]
for every s∈S. Note that F⊆rad(s) for every s∈S outside E. When the explicit indication of the equivalence relations E and F are not important we use the term generalized wreath product. The E/F-wreath product is said to be trivial if F=1Ω or E=Ω×Ω and nontrivial otherwise. Clearly, the nontrivial generalized wreath product is imprimitive.
Let Δ∈Ω/E. If E=F and XΔ≅XΔ′ for every Δ′∈Ω/E then the generalized wreath product coincides with the standard wreath product of XΔ and XΩ/E (see [16, p.45]). In this case we write X=XΔ≀XΩ/E. One can check that if X=XΔ≀XΩ/E then
[TABLE]
where the wreath product of two permutation groups in the right-hand side acts imprimitively.
2.5. Algorithms
A coherent configuration X=(Ω,S) on n points will always be given by the list of its basis relations. In this representation one can test in time poly(n) whether X is commutative, homogeneous, etc. Also in the same time one can list all elements of F(X) and construct the restriction XΔ for every Δ∈F(X)∪.
Let s⊂Ω×Ω. The classes of ⟨s⟩ coincide with the connected components of the graph on Ω with the edge set s∪s∗. So ⟨s⟩ can be constructed efficiently. Note that X is primitive if and only if ⟨s⟩=Ω×Ω for every nontrivial s∈S. Since ∣S∣≤n2, one can test whether X is primitive in time poly(n).
If E1 and E2 are equivalences on Ω then ⟨E1∪E2⟩ is the smallest equivalence on Ω whose classes are unions of classes of E1 and E2. Since ⟨s⟩∈E(X) for every s∈S∪, every E∈E(X)∖{1Ω} is of the form E=⟨E1∪s⟩, where E1 is a maximal element of the set {E′∈E(X):E′⊂E,E′=E} and s∈S. Thus, all elements of E(X) can be listed in polynomial time in n and ∣E(X)∣.
Clearly, given E∈E(X) one can list all classes of E and construct the quotient XΩ/E in time poly(n). Given E,F∈E(X) with F⊆E and Δ∈Ω/E the section XΔ/F also can be constructed in time poly(n).
We say that X is feasible if X is commutative and
[TABLE]
Every feasible coherent configuration is a scheme because it is commutative. Observe that a commutative scheme X is feasible if and only if {⟨r∪s⟩:r,s∈S}={⟨r∪s∪t⟩:r,s,t∈S}. The last condition can be verified in time poly(n) because ∣S∣≤n2. If X is feasible then the sets E(X), Q(X), and Q(X)prim have the sizes polynomial in n. So the above discussion implies the following lemma.
Lemma 2.2**.**
Given a coherent configuration X on n points one can test in time poly(n) whether X is feasible and if so list all elements of E(X), Q(X), and Q(X)prim within the same time.
We finish this subsection with the lemma concerned with feasible schemes.
Lemma 2.3**.**
Let X be a feasible scheme on n points. Then one can find a maximal path 1Ω=E0⊆…⊆Es=Ω2 in E(X) in time poly(n).
Proof.
Let Γ be a directed graph with the vertex set E(X) and the edge set {(E0,E1)∈E(X)2:E0⊊E1}. Then Γ is a directed acyclic graph. So one can find a maximal path in Γ in polynomial time in ∣E(X)∣. Since X is feasible, we have ∣E(X)∣≤n2. Therefore a maximal path in Γ can be found in time poly(n) and the lemma is proved.
∎
2.6. Extensions
The set of all coherent configurations on Ω is partially ordered. Namely given coherent configurations X and X′ on Ω we set X≤X′ if and only if every basis relation of X is a union of some basis relations of X′. Clearly, the trivial and discrete coherent configurations are the minimal and maximal elements respectively. If X≤X′ then Aut(X)≥Aut(X′). If E∈E(X) and all XΔ, Δ∈Ω/E, are pairwise isomorphic then the definition of the wreath product of coherent configurations yields that
[TABLE]
Given a coherent configuration X=(Ω,S) and a set T⊆2Ω×Ω there exists the unique coherent configuration Y such that Y≥X and every element of T is a union of some basis relations of Y. Moreover, Y can be constructed by the well-known Weisfeiler-Leman algorithm (see [16, 17]) in time polynomial in sizes of T and Ω. The coherent configuration Y is called the extension of X with respect to T and denoted by WL(X,T).
Lemma 2.4**.**
[12, Theorem 5.1]**
Let X=(Ω,S) be a coherent configuration, T⊆2Ω×Ω, and Y=WL(X,T). Then Aut(Y)={f∈Aut(X):tf=t for every t∈T}.
3. Cayley schemes
3.1. Definitions
In this subsection we follow [12, Section 4.1] and [2, Section 2.4]. Let G be a finite group and e the identity of G. A coherent configuration X on the set G is called a Cayley scheme over G if Aut(X)≥Gright. In this case X is homogeneous because Gright acts transitively on G. Clearly, if G is abelian then X is commutative. If G is cyclic then X is said to be circulant. Every basis relation of X is an arc set of a Cayley graph over G. A coherent configuration is isomorphic to a Cayley scheme over G if and only if its automorphism group contains a regular subgroup isomorphic to G.
One can check that s(X) is an equivalence on G if and only if X is a subgroup of G. If E∈E(X) then the class of E containing e is denoted by HE. It is easy to see that HE is a subgroup of G and the classes of E are the right HE-cosets. Clearly,
∣Ω/E∣=∣G/HE∣ and nE=∣HE∣. Suppose that F∈E(X) and F⊆E. One can check that
[TABLE]
for every Δ1,Δ2∈Ω/E=G/HE. If U=HE and L=HF then put
[TABLE]
Observe that if L is normal in U then XU/L is a Cayley scheme over U/L because Aut(XU/L)≥Aut(X)U/L≥(Gright)U/L=(U/L)right. If X is the E/F-wreath product and L is normal in G then we say that X is also the U/L-wreath product. Put
[TABLE]
A Cayley scheme X=(G,S) is said to be cyclotomic if S=Orb(KGright,G2) for some K≤Aut(G). In this case we write X=Cyc(K,G). If X is cyclotomic then H(X) contains all characteristic subgroups of G. One can check that a section of a cyclotomic Cayley scheme is also cyclotomic. We say that a Cayley scheme X is normal if Gright⊴Aut(X).
3.2. Cayley schemes over Cpk and Cp×Cpk
Let p be a prime and k≥1. Put D=C×B, where C=⟨c⟩, ∣c∣=pk, B=⟨b⟩, ∣b∣=p. If l≤k then put Cl={g∈C:∣g∣≤pl} and Dl={g∈D:∣g∣≤pl}. Throughout the paper KC and KD denote the classes of schemes isomorphic to Cayley schemes over C and D respectively.
Let X be a Cayley scheme over C. Then X is feasible because every subgroup of C is generated by one element. We say that a basis relation s∈S is highest if ⟨s⟩=C2. It can be verified that all highest basic relations of X have the same radical (see [5]). The radical rad(X) of X is defined to be the radical of a highest basis relation of X.
Now let X be a Cayley scheme over D. In this case X is feasible because every subgroup of D is generated by at most two elements. A basis relation s∈S is said to be highest if ⟨s⟩=D2 or ∣D/⟨s⟩∣=p and XH⟨s⟩ is circulant. All highest basic relations of X have the same radical (see [13]). The radical rad(X) of X in this case also is defined to be the radical of a highest basis relation of X.
Further we give a description of Cayley schemes over C and D in case when p∈{2,3}. If X is a scheme of degree p, where p∈{2,3}, then rk(X)=2 or X≅Cyc(M,Cp), where M is trivial (see [8]). In both cases X∈KC.
Lemma 3.1**.**
Let p∈{2,3} and X a Cayley scheme over C. Then one of the following statements holds:
(1)* rk(X)=2;*
(2)* rad(X)=1C and X is cyclotomic;*
(3)* rad(X)>1C and X is the nontrivial U/L-wreath product for some U,L∈H(X) such that L≤U and rad(XU)=1U.*
Proof.
Follows from [5, Theorem 4.1, Theorem 4.2] and [14, Lemma 5.2].
∎
The description of all Cayley schemes over D was obtained, in fact, in [11] for p=2 and in [13] for p=3. The following lemma is taken from [14], where it was formulated in the language of S-rings.
Lemma 3.2**.**
[14, Lemma 6.2]**
Let p∈{2,3}, k=1, and X a Cayley scheme over D. Then one of the following statements holds:
(1)* rk(X)=2;*
(2)* X is the tensor product of two Cayley schemes over cyclic groups of order p;*
(3)* X is the wreath product of two Cayley schemes over cyclic groups of order p;*
(4)* p=3 and X≅Cyc(M,D), where M=⟨σ⟩ and σ:(c,b)→(c−1,b−1);*
(5)* p=3 and X≅Cyc(M,D), where M=⟨σ⟩ and σ:(c,b)→(b,c−1).*
If Statement 5 of Lemma 3.2 holds for a Cayley scheme X over C3×C3 then X is called the Paley scheme.
Lemma 3.3**.**
Suppose that X is a scheme of degree p, where p∈{2,3}, or X is the Paley scheme. Then the following hold:
(1)* X is primitive, normal and separable;*
(2)* Aut(X) is solvable.*
Proof.
Let X be a scheme of degree p, where p∈{2,3}. Then rk(X)=2 or X≅Cyc(M,Cp), where M is trivial. In both cases X is primitive. Also in both cases (Cp)right has index at most 2 in Aut(X) and hence X is normal. In the former case X is obviously separable. In the latter case every basis relation of X has valency 1 and X is separable by [4, Theorem 3.3]. Statement 2 of the lemma holds for X of degree p because Aut(X)≤Sym(p) and Sym(p) is solvable for p∈{2,3}.
Suppose that X is the Paley scheme. Then X has degree 9 and rank 3. The straightforward check shows that X is primitive. Computer calculations made by using the GAP package COCO2P [7] show that: (a) X is the unique up to an isomorphism primitive scheme of degree 9 and rank 3; (b) Aut(X)=Dright⋊M′, where D≅C3×C3 and M′≅C4⋊C2. Due to (a) and [14, Theorem 1], X is separable; due to (b), X is normal and Aut(X) is solvable. Thus, the lemma is proved.
∎
Lemma 3.4**.**
Let p∈{2,3}, k≥2, and X a Cayley scheme over D. Then one of the following statements holds:
(1)* rk(X)=2;*
(2)* rad(X)=1D and X=XV⊗XS for some V,S∈H(X) such that V≅Cpk, S≅Cp, D=V×S, and rk(XV)=2;*
(3)* rad(X)=1D and X is cyclotomic;*
(4)* rad(X)>1D and X is the nontrivial U/L-wreath product for some U,L∈H(X) such that L≤U and rad(XU)=1U.*
Proof.
Follows from [14, Lemma 6.3]. See also [11, 13].
∎
Lemma 3.5**.**
Let p∈{2,3}, X a Cayley scheme over D, and X′∈Q(X)prim. Then one of the following statements holds:
(1)* rk(X′)=2;*
(2)* X′ has degree p;*
(3)* X′ is the Paley scheme.*
Proof.
In view of (3), we may assume that X′ is a Cayley scheme over some section U/L of D. If ∣U/L∣=p then Statement 2 of the lemma holds. Let ∣U/L∣≥p2. Suppose that U/L≅Cpl for some l. Then Lemma 3.1 holds for X′. If X′ is cyclotomic then H(X′) contains all characteristic subgroups of U/L, i.e. all subgroups of U/L, and hence X′ is imprimitive. If X′ is the generalized wreath product of two Cayley schemes then obviously X′ is imprimitive. Therefore rk(X′)=2 and Statement 1 of the lemma holds.
Now suppose that U/L≅Cp×Cpl for some l≥1. If ∣U/L∣=p2 then Lemma 3.2 holds for X′. If one of the Statements 2-4 holds for X′ then obviously X′ is imprimitive. Therefore rk(X′)=2 or X′ is the Paley scheme. So Statement 1 or Statement 3 of the lemma holds.
If ∣U/L∣≥p3 then Lemma 3.4 holds for X′. If X′ is the tensor product or the generalized wreath product of two Cayley schemes then obviously X′ is imprimitive. If X′ is cyclotomic then H(X′) contains all characteristic subgroups of U/L, for example the proper subgroup of U/L isomorphic to Cp×Cp, and hence X′ is imprimitive. Therefore rk(X′)=2 and Statement 1 of the lemma holds. The lemma is proved.
∎
We finish this section with the following lemma which provides a special property of the automorphism group of a Cayley scheme over D having a primitive section of rank 2 and degree at least p2.
Lemma 3.6**.**
Let p∈{2,3}, X a Cayley scheme over D, Fmin(X)=∅, (F,E)∈Fmin(X), U=HE, and L=HF. Then Aut(X)D/L≥Δ∈D/U∏Sym(Δ/L).
Before we prove Lemma 3.6, we formulate and prove an auxiliary lemma.
Lemma 3.7**.**
In the conditions of Lemma 3.6, one of the following statements holds:
(1) rk(XU)=2;
(2) XU=XL≀XU/L.
Proof.
If ∣U∣=p2 then ∣L∣=1 because (F,E)∈Fmin(X). In this case Statement 1 of the lemma holds. Further we assume that ∣U∣≥p3. The group U is isomorphic to Cpl or Cp×Cpl for some l≤k. Firstly suppose that rad(XU)=1U. Then from Lemma 3.1 if U≅Cpl and from Lemma 3.4 if U≅Cp×Cpl it follows that
[TABLE]
where V<U, ∣V∣≥p2, and rk(XV)=2. In the first case Statement 1 of the lemma holds. In the second case H(XU/L) contains a nontrivial proper characteristic subgroup of U/L because ∣U/L∣≥p2. We obtain a contradiction because rk(XU/L)=2 and H(XU/L)={{L},U/L}. In the third case ∣E1∣<∣E∣, where V=HE1, rk(XV)=2, and ∣V∣≥p2. So (F,E)∈/Fmin(X), a contradiction.
Now suppose that rad(XU)>1U. Then XU is the nontrivial generalized wreath product of two Cayley schemes by Lemma 3.1 if U≅Cpl and by Lemma 3.4 if U≅Cp×Cpl. Let L1=HF1, where F1=rad(XU). If L1≰L then (F1)U/F⊆rad(XU/L) and (F1)U/F is nontrivial, a contradiction with rk(XU/L)=2. So L1≤L. The scheme XU/L1 has the trivial radical because otherwise rad(XU) is greater than F1. Clearly, rk(X(U/L1)/(L/L1))=2 and ∣(U/L1)/(L/L1)∣=∣U/L∣≥p2. Lemma 3.1 in case U/L1≅Cpm and Lemma 3.4 in case U/L1≅Cp×Cpm implies that
[TABLE]
where V/L1<U/L1 and rk(XV/L1)=2. Suppose that rk(XU/L1)=2. Since F1 is the radical of a highest basis relation of XU, there is exactly one basis relation of XU outside F1. So L1=L and Statement 2 of the lemma holds. If XU/L1 is cyclotomic then X(U/L1)/(L/L1) is also cyclotomic, a contradiction with rk(XU/L1)=2. If XU/L1=XV/L1⊗XS/L1 then (F1,E1)∈F(X) and ∣E1∣<∣E∣ for E1=HV. This means that (F,E)∈/Fmin(X), a contradiction. The lemma is proved.
∎
Proof of the Lemma 3.6.
If ∣D∣=p2 then U=D, L=e, and rk(X)=2. In this case Aut(X)=Sym(D) and the lemma holds. Further we assume that ∣D∣≥p3. Suppose that rad(X)=1D. Then one of the Statements 1-3 of Lemma 3.4 holds for X. If Statement 1 of Lemma 3.4 holds for X then rk(X)=2. So L=e, Aut(X)=Sym(D), and hence the lemma holds. If Statement 2 of Lemma 3.4 holds for X then X=XV⊗XS for some V,S∈H(X) with V≅Cpk, S≅Cp, D=V×S, and rk(XV)=2. Without loss of generality we may assume that V=C and S=B. In this case U=C and L=e or U=D and L=B. In the former case we obtain that
[TABLE]
and the lemma holds. In the latter case (F,E)∈/Fmin(X) because ∣U∣<∣D∣, ∣U∣≥p2, and rk(XU)=2. We obtain a contradiction with the assumption of the lemma.
If Statement 3 of Lemma 3.4 holds for X then X is cyclotomic and hence XU/L is also cyclotomic, a contradiction with rk(XU/L)=2 and ∣U/L∣≥p2.
Now let rad(X)>1D. Then Lemma 3.4 yields that X is the generalized wreath product of two Cayley schemes. Let pt=g∈Umax∣g∣ and Dt={g∈D:∣g∣≤pt}≅Cp×Cpt. Clearly, Dt=U or U≅Cpt and ∣Dt:U∣=p. Note that Dt∈H(X). Indeed, this is obvious if U=Dt and follows from the description of Cayley schemes over D given in Lemma 3.4 otherwise. Let E1∈E(X) such that Dt=HE1.
Let us prove that
[TABLE]
for every basis relation s of X outside E1. Assume that there exists a basis relation s outside E1 with E⊈rad(s). From Lemma 3.7 it follows that there exists a basis relation r of X such that E=F∪r. Since Dt≥U and s lies outside E1, we conclude that ⟨s⟩∩r=∅. This yields that r⊆⟨s⟩. Observe that ⟨r⟩=E. So E⊆⟨s⟩. If rad(s)∩r=∅ then r⊆rad(s) and hence E=⟨r⟩⊆rad(s) which contradicts to our assumption. Therefore rad(s)∩r=∅ and we have
rad(s)∩E=rad(s)∩F.
Let U1=H⟨s⟩ and L1=Hrad(s). The scheme XU1/L1 has the trivial radical. Since rad(s)∩E=rad(s)∩F, we obtain that U∩L1=L∩L1. This implies that π(U)/π(L)≅U/L, where π:D→D/L1 is the canonical epimorphism. In particular, ∣π(U)/π(L)∣≥p2. Also we have rk(Xπ(U)/π(L))=2. Therefore XU1/L1 is a scheme with the trivial radical that has a section Xπ(U)/π(L) of rank 2 and degree at least p2. Again, XU1/L1 can not be cyclotomic and hence rk(XU1/L1)=2 or XU1/L1 is the tensor product of a scheme of rank 2 and a scheme of degree p. In both cases we have g∈π(U)max∣g∣=g∈π(U1)max∣g∣. So g∈Umax∣g∣=g∈ U1max∣g∣. This implies that U1≤Dt and hence s⊆E1. We obtain a contradiction with s⊈E1. Thus, (4) is proved.
Due to (4) we conclude that X is the Dt/U-wreath product. If Dt=U then X=XU≀XD/U. If Statement 1 of Lemma 3.7 holds for XU then rk(XU)=2 and L=e. So
[TABLE]
and the lemma holds. If Statement 2 of Lemma 3.7 holds for XU then XU=XL≀XU/L. In this case we have
[TABLE]
and the lemma also holds.
Consider the remaining case ∣Dt:U∣=p. Put K0=Aut(XD/U), K1=Aut(XDt), and for each Λ,Λ′∈D/Dt put KΛ,Λ′=(Dtg−1)rightK1(Dtg′)right, where g,g′∈D such that Dtg=Λ and Dtg′=Λ′. Since ∣Dt:U∣=p≤3, we have K0Dt/U=K1Dt/U. So K0, K1, and KΛ,Λ′ satisfy (11) and (12) from [5, Section 5.2]. Therefore Aut(X)=K1≀Dt/UK0 (see [5, Definition 5.3, Theorem 5.4]).
Lemma 3.4 and Lemma 3.7 imply that XDt=XU⊗XS for some S∈H(X) with ∣S∣=p whenever L=e and XDt=XL≀(XU/L⊗XS/L) for some S∈H(X) with ∣S/L∣=p whenever L>e. This implies that K1=Sym(U)×Aut(XS) or K1=Aut(XL)≀(Sym(U/L)×Aut(XS/L)). In both cases
[TABLE]
Since Aut(X)=K1≀Dt/UK0, applying (5) and [5, (7)] to Aut(X), we obtain that
[TABLE]
Thus, the lemma is proved.
∎
4. Quasinormal schemes
From now on until the end of the paper Ω is a set of size n=pk+1, where p is a prime and k≥1. Let p∈{2,3}. In view of Statement 1 of Lemma 3.3, each scheme of degree p and the Paley scheme are normal and primitive. A feasible scheme X on the set Ω of size pk+1, where p∈{2,3} and k≥1, is said to be quasinormal if for every X′∈Q(X)prim one of the following statements holds:
(1) X′ has degree p;
(2) X′ is isomorphic to the Paley scheme.
Lemma 4.1**.**
Given a coherent configuration X on n=pk+1 points, where p∈{2,3} and k≥1, one can test in time poly(n) whether X is a quasinormal scheme.
Proof.
From Lemma 2.2 it follows that one can test whether X is feasible in time poly(n). If X is not feasible then it is not a quasinormal scheme. If X is feasible then the set Q(X)prim of all primitive sections of X has the size polynomial in n. Lemma 2.2 implies that one can list in time poly(n) all elements of Q(X)prim. For every section from Q(X)prim one can test in the constant time whether it has degree p or it is isomorphic to the Paley scheme. Thus, one can test whether X is a quasinormal scheme in time poly(n) and the lemma is proved.
∎
The main goal of this section is to show that for every feasible quasinormal scheme X of degree n the group Aut(X) can be constructed in time poly(n). Firstly we show that there exists a solvable group K containing Aut(X) and K can be constructed efficiently. Here and further throughout the paper a permutation group on n points is always determined by a strong generating set containing at most n2 generators (see [15]).
Algorithm QNRMAUT
Input: A quasinormal scheme X=(Ω,S) of degree n=pk+1, where p∈{2,3} and k≥1.
Output: A solvable group K such that K≥Aut(X).
Step 1. Find a maximal path 1Ω=E0⊆…⊆Em=Ω2 in E(X) and for each i∈{0,…,m} choose Δi∈Ω/Ei such that Δ0⊆…⊆Δm=Ω.
Step 2. For each i∈{1,…,m} find the group Hi=Aut(XΔi/Ei−1).
Step 3. Set Km=Hm. For each i=m−1,…,1 successively set Ki=Hi≀Ki+1.
Step 4. Output K=K1.
Proposition 4.2**.**
Algorithm QNRMAUT correctly constructs the group K in time poly(n).
Proof.
The scheme XΔ/Ei−1 is primitive for every i∈{1,…,m} and every Δ∈Ω/Ei. Indeed, if XΔ/Ei−1 is not primitive for some i and Δ∈Ω/Ei then due to Lemma 2.1 there exists E′∈E(X) such that Ei−1⊊E′⊊Ei. So E0⊆…⊆Em is not a maximal path, a contradiction.
Since X is quasinormal, XΔ/Ei−1 has degree p or XΔ/Ei−1 is isomorphic to the Paley scheme for every i∈{1,…,m} and every Δ∈Ω/Ei. For every i∈{1,…,m} and every Δ∈Ω/Ei the coherent configuration XΔ/Ei−1 is algebraically isomorphic to XΔi/Ei−1. So XΔ/Ei−1≅XΔi/Ei−1 for every i∈{1,…,m} and every Δ∈Ω/Ei because each scheme of degree p and the Paley scheme are separable by Statement 1 of Lemma 3.3. This yields that on Step 3 each wreath product of permutation groups acting imprimitively is well-defined. Now applying (1) and (2) m times we obtain that
[TABLE]
Clearly, Aut(X)≤Aut(Y). The definition of K implies that K=Aut(Y). So K≥Aut(X). The group Hi is solvable for every i∈{1,…,m} by Statement 2 of Lemma 3.3. Therefore each Ki is also solvable. In particular, K=K1 is solvable.
From Lemma 2.3 it follows that Step 1 requires time poly(n). For each i∈{1,…,m−1} the section XΔi/Ei−1 can be constructed in polynomial time (see Subsection 2.5). Since m≤n2 and for each i∈{1,…,m−1} the section XΔi/Ei−1 has degree at most 9, Step 2 can be done in time poly(n). Each Ki is solvable and hence it can be constructed efficiently on Step 3. The proposition is proved.
∎
Lemma 4.3**.**
Let X be a quasinormal scheme of degree n=pk+1, where p∈{2,3} and k≥1. Then the group Aut(X) can be found in time poly(n).
Proof.
Let K=QNRMAUT(X). Then K≥Aut(X), K is solvable, and K can be found in time poly(n) by Proposition 4.2. Now [3, Theorem 8.4] implies that the group Aut(X)∩K=Aut(X) also can be found in time poly(n).
∎
5. Singular schemes
A feasible scheme X on the set Ω of size pk+1, where p∈{2,3} and k≥1, is said to be singular if F(X)=∅. Clearly, X is singular if and only if Fmin(X)=∅.
Lemma 5.1**.**
Given a coherent configuration X on n=pk+1 points, where p∈{2,3} and k≥1, one can test in time poly(n) whether X is a singular scheme and if so find within the same time the sets F(X) and Fmin(X).
Proof.
Lemma 2.2 yields that one can check whether X is feasible in time poly(n). If X is not feasible then it is not a singular scheme. If X is feasible then due to Lemma 2.2 one can find the set E(X) in time poly(n) and this set has the size polynomial in n. So one can test whether F(X)=∅ and if so find the sets F(X) and Fmin(X) also in time poly(n). The lemma is proved.
∎
Further we will show that for every singular scheme X one can construct in polynomial time a coherent configuration Y possessing the following properties: (1) Y>X; (2) the group Aut(Y) controls regular subgroups from Reg(Aut(X),D), i.e. for every G∈Reg(Aut(X),D) there exists h∈Aut(X) such that h−1Gh≤Aut(Y). Clearly, every D-base of Aut(Y) contains a D-base of Aut(X).
Algorithm RESOLVE
Input: A singular scheme X=(Ω,S) of degree n=pk+1, where p∈{2,3} and k≥1, and (F,E)∈Fmin(X).
Output: A coherent configuration Y possessing properties (1)-(2).
Step 1. For every Δ∈Ω/E choose a fixed-point-free permutation cΔ∈Sym(Δ/FΔ) of order p.
Step 2. Put R=Δ∈Ω/E⋃Λ∈Δ/FΔ⋃Λ×ΛcΔ.
Step 3. Output Y=WL(X,{R}).
Proposition 5.2**.**
Algorithm RESOLVE correctly constructs the coherent configuration Y in time poly(n).
Proof.
The definition of the extension implies that Y≥X. Note that for every Δ∈Ω/E the relation {(Λ,ΛcΔ/F):Λ∈Δ/FΔ}⊆(Δ/FΔ)2 has valency 1 and it is a union of some basic relations of YΔ/F. So rk(YΔ/F)>2 and hence YΔ/F>XΔ/F for every Δ∈Ω/E. Therefore Y=X and we conclude that Y>X.
If Reg(Aut(X),D)=∅ then Reg(Aut(Y),D)=∅ because Aut(X)≥Aut(Y). Now suppose that Reg(Aut(X),D)=∅. This means that X∈KD. Let G∈Reg(Aut(X),D). To prove the correctness of the algorithm it is sufficient to prove that h−1Gh≤Aut(Y) for some h∈Aut(X). Since G is transitive and abelian, for every Δ∈Ω/E the groups GΔ/F and GΩ/E are also transitive and abelian and hence they are regular. Denote by G0 the kernel of the natural epimorphism from G to GΩ/E. Observe that G0=GΔ for every Δ∈Ω/E because GΩ/E is regular.
Let Δ0∈Ω/E. Choose xΔ0∈GΔ0/F with ∣xΔ0∣=p. Let x∈G0=GΔ0 such that xΔ0/F=xΔ0. Since G acts regularly on Ω/F, we conclude that xΩ/F is a product of disjoint cycles of the same length. This implies that xΩ/F is a product of cycles of length p because ∣xΔ0/F∣=∣xΔ0∣=p. Therefore for every Δ∈Ω/E the element xΔ/F is a fixed-point-free permutation of order p. So for every Δ∈Ω/E there exists hΔ∈Sym(Δ/FΔ) such that
[TABLE]
Let g∈G. Then g−1xg=x because G is abelian. So gΩ/F permutes xΔ, Δ∈Ω/E, and
[TABLE]
for every Δ∈Ω/E.
Due to Lemma 3.6, there exists h∈Aut(X) such that hΔ/F=hΔ. Put G′=h−1Gh. Let us prove that G′≤Aut(Y). For every Δ∈Ω/E, every Λ∈Ω/F with Λ⊆Δ, and every g′=h−1gh∈G′ we have
[TABLE]
Indeed,
[TABLE]
In the above computation the third and the sixth equalities hold in view of (6) and the fifth equality holds in view of (7). Now using (8), we obtain that
[TABLE]
for every g′∈G′. Therefore G′≤Aut(Y) by Lemma 2.4.
The Weisfeiler-Leman algorithm used on Step 3 requires time polynomial in n (see Subsection 2.6). So Algorithm RESOLVE requires time poly(n) and the proposition is proved.
∎
6. Finding a D-base of a permutation group
The main goal of this section is to show that a D-base of a permutation p-group can be found in polynomial time in the degree of this group. In this section p is an arbitrary prime. Firstly we prove that a D-base of a permutation group of degree n has the size polynomial in n.
Lemma 6.1**.**
Let K≤Sym(Ω). Then bD(K)≤pp(p−1)2p!np+2.
Proof.
Consider the action of K by conjugation on the set W=Reg(K,D). Let W1,…,Wl be the orbits of this action and Di∈Wi. Then l=bD(K). The stabilizer KDi coincides with the normalizer NK(Di). So ∣Wi∣=∣K∣/∣NK(Di)∣. Since NK(Di)/CK(Di)≤Aut(Di) and Di is generated by two elements of orders p and n/p, we obtain that ∣NK(Di)∣/∣CK(Di)∣≤∣Aut(Di)∣≤(p−1)2n. The centralizer of a regular group is regular. So ∣CK(Di)∣=n and ∣NK(Di)∣≤(p−1)2n2. This implies that ∣Wi∣≥∣K∣/((p−1)2n2) and hence
[TABLE]
Now estimate the size of W. Every group D′ from W is generated by two elements c′ and b′ of degree n such that ∣c′∣=n/p, ∣b′∣=p, and b′∈CK(c′). The group CSym(Ω)(c′) is isomorphic to Cn/p≀Sym(p). This yields that ∣CK(c′)∣≤∣Cn/p≀Sym(p)∣=(n/p)p(p!). So for a fixed generator c′ a generator b′ can be chosen by at most (n/p)p(p!) ways. A generator c′ can be chosen by at most ∣K∣ ways. Therefore ∣W∣≤∣K∣(n/p)p(p!). Thus from (9) it follows that l(p−1)2n2∣K∣≤∣K∣(n/p)p(p!) and hence l≤pp(p−1)2p!np+2. The lemma is proved.
∎
It should be mentioned that a cycle base of a permutation group of degree n has size at most φ(n), where φ is the Euler function ([9]).
The following can be found in [15]. Let K≤Sym(Ω). Then one can check whether K is transitive, primitive, regular in time poly(n). If K is imprimitive then one can find the maximal and the minimal block systems for K within the same time. Given a homomorphism ψ:K→Sym(Ω′) and a set M⊆Kψ one can construct the groups ker(ψ), Kψ, and the set Mψ−1 also in polynomial time. If K is solvable and K1,K2≤K then one can find CK(K1) and test whether K1 and K2 are K-conjugate in time poly(n).
In [3] it was proved that a cycle base of a solvable permutation group of degree n can be found in time poly(n). The next lemma directly follows from [3, Theorem 6.1].
Lemma 6.2**.**
Let K≤Sym(Ω), c∈Sym(Ω), and c−1Kc=K. Suppose that Ω=Δ0∪…∪Δm−1 is a partition of Ω, (Δi)K=Δi, and (Δi)c=Δi+1 for all i modulo m. Then the set X⊆Kc such that Kc=⋃g∈KXg and ∣X∣≤∣KΔ0∣ can be found (as the list of elements) in time poly(nr), where r=∣KΔ0∣.
Lemma 6.3**.**
Let K≤Sym(Ω) and P a Sylow p-subgroup of K. The every D-base of P contains a D-base of K.
Proof.
If G∈Reg(K,D) then the Sylow theorem implies that h−1Gh≤P for some h∈K. So bD(P)=0 if and only if bD(K)=0. If bD(K)=0 then every G∈Reg(K,D) is K-conjugate to some group from a D-base of P and we are done.
∎
A Sylow p-subgroup of a permutation group of degree n can be found in time poly(n) by the Kantor algorithm (see [15]). The algorithm below constructs a D-base of a permutation p-group of degree n in time poly(n). In this algorithm we assume that p is a constant.
Algorithm PDBASE
Input: A permutation p-group P≤Sym(Ω) of degree n=pk+1, where p is a prime and k≥1.
Output: A D-base BD of P, where ∣D∣=n.
Step 1. If P is not transitive then output BD=∅.
Step 2. If k=1 then find BD by brute force and output BD. If k>1 then find an imprimitivity system {Δ1,…,Δn/p} of P such that ∣Δi∣=p for every i∈{1,…,n/p}. Construct the groups Pψ and ker(ψ), where ψ is the natural epimorphism from P to P acting on {Δ1,…,Δn/p}.
Step 3. Recursively find a Dk−1-base BDk−1(Pψ) of Pψ. Find a C-base BC(Pψ) of Pψ and the set S={h∈BDk−1(Pψ):∣h∣=n/p2}∪{h∈BC(Pψ):∣h∣=n/p}.
Step 4. For every h∈S find h∈P with hψ=h and then construct the set Xh such that ∣Xh∣≤p and ker(ψ)h=g∈ker(ψ)⋃Xhg. Put X=h∈S⋃Xh. Find the set T={x∈X:x is of degree n and ∣x∣=n/p}.
Step 5. For every x∈T construct the set Yx={y∈CP(x):∣y∣=p,y∈/⟨x⟩}. Find the set F={⟨x⟩×⟨y⟩:x∈T,y∈Yx}.
Step 6. For every G∈F test whether G is regular; if no then put F=F∖{G}. For every G1,G2∈F test whether G1 and G2 are P-conjugate; if so put F=F∖{G2}.
Step 7. Output BD=F.
Proposition 6.4**.**
Algorithm PDBASE correctly finds a D-base BD of P in time poly(n).
Proof.
If P is not transitive then Reg(P,D)=∅ and the algorithm terminates on Step 1. Suppose that P is transitive. The imprimitivity system {Δ1,…,Δn/p} on Step 2 exists because a p-group is primitive if and only if it is of order and degree p. By the definition of F, after Step 6 we have F⊆Reg(P,D) and all groups from F are pairwise nonconjugate in P. If Reg(P,D)=∅ then F=∅. Now let Reg(P,D)=∅ and G∈Reg(P,D). To prove the correctness of the algorithm it is sufficient to prove that G is P-conjugate to some group from F. Let g1 and g2 be generators of G of orders n/p and p respectively. The group Gψ is transitive and abelian and hence it is regular. Clearly, Gψ≅Dk−1 or Gψ≅C. So Gψ is Pψ-conjugate to some group from BDk−1(Pψ)∪BC(Pψ). This implies that g1ψ is Pψ-conjugate to some element from S. Therefore g1 is P-conjugate to some element x∈T. Let h∈P such that h−1g1h=x. Since g2∈CP(g1), we obtain that y=h−1g2h∈CP(x) and hence y∈Yx. Thus, h−1Gh∈F.
Denote the running time of the algorithm applied to a group of degree n by t(n). Let us prove that t(n) is polynomial in n. The discussion before Lemma 6.2 yields that Steps 1-2 can be done in time poly(n). One can construct the set BDk−1(Pψ) in time t(n/p). From Lemma 6.1 it follows that ∣BDk−1(Pψ)∣≤cnp+2 for c=pp(p−1)2p!. The set BC(Pψ) can be constructed in polynomial time by using Algorithm A3 from [3] and ∣BC(Pψ)∣≤φ(n) by [9, Theorem 1.5]. Therefore Step 3 requires time t(n/p)+poly(n) and the set S has the size polynomial in n.
Due to the discussion before Lemma 6.2 for every h∈S the element h∈P with hψ=h can be found in time poly(n). By the definition of ψ, we have (Δi)ker(ψ)=Δi for every i∈{1,…,n/p}. Let h∈S and h∈P such that hψ=h. Since ker(ψ) is normal in P, we conclude that h−1ker(ψ)h=ker(ψ). If ∣h∣=n/p then without loss of generality we may assume that
[TABLE]
So (Δi)h=Δi+1 for every i∈{1,…,n/p−1} and (Δn/p)h=Δ1. Therefore ker(ψ), h, and Δ1,…,Δn/p satisfy the conditions of Lemma 6.2.
If ∣h∣=n/p2 then without loss of generality we may assume that
[TABLE]
For every i∈{1,…,n/p2} put
[TABLE]
Then Λih=Λi+1 for every i∈{1,…,n/p2−1} and Λn/p2h=Λ1. Therefore in this case ker(ψ), h, and Λ1,…,Λn/p satisfy the conditions of Lemma 6.2. Now due to Lemma 6.2 for every h∈S the set Xh can be constructed in time poly(n) and ∣Xh∣≤∣ker(ψ)Δ1∣≤p. Since S has the polynomial size, the sets X and T have the polynomial sizes. Thus, Step 4 requires time poly(n).
The group P is solvable. So in view of the discussion before Lemma 6.2, Steps 5-6 require time poly(n). Thus, t(n)≤t(n/p)+poly(n) and we are done by induction. The proposition is proved.
∎
7. Main algorithm
In this section we construct a polynomial-time algorithm for finding a D-base of the automorphism group of an arbitrary coherent configuration in case when ∣D∣=n=pk+1, where p∈{2,3} and k≥1.
Lemma 7.1**.**
Let p∈{2,3}. Then every scheme from KD is quasinormal or singular.
Proof.
Follows from Lemma 3.5.
∎
Main algorithm
Input: A coherent configuration X=(Ω,S) of degree n=pk+1, where p∈{2,3}, and k≥1.
Output: A D-base BD of Aut(X), where ∣D∣=n.
Step 1. Put X0=X.
Step 2. If X is not feasible then output BD=∅.
Step 3. While X is singular do:
Step 3.1. Find a pair (F,E)∈Fmin(X);
Step 3.2. Put X=RESOLVE(X,(F,E));
Step 3.3. If X is not feasible then output BD=∅.
Step 4. If X is not quasinormal then output BD=∅.
Step 5. Find K=Aut(X).
Step 6. If p divides ∣K∣ then find a Sylow p-subgroup P of K; otherwise output BD=∅.
Step 7. Put B=PDBASE(P).
Step 8. Output as BD a maximal subset of B the elements of which are pairwise nonconjugate in K0=Aut(X0).
Proposition 7.2**.**
The main algorithm correctly finds a D-base BD of Aut(X) in time poly(n).
Proof.
Firstly suppose that X∈/KD. Then Reg(Aut(X),D)=∅. We may assume that the algorithm terminates on Step 8. The coherent configuration on Step 3 is greater than the input coherent configuration and hence Reg(K,D)=Reg(P,D)=∅. Therefore the correctness of the algorithm follows from Proposition 6.4.
Now let X∈KD. Then Reg(Aut(X),D)=∅. So the algorithm does not terminate on Step 1. Since X∈KD, the scheme X is feasible and hence the algorithm does not terminate on Step 2. Due to Proposition 5.2, after each iteration on Step 3 we have
[TABLE]
and every D-base of Aut(X) contains a D-base of K0. This implies that X∈KD and hence X is feasible after each iteration on Step 3. So the algorithm does not terminate on Step 3. Clearly, X is not singular after Step 3. Therefore X is quasinormal on Step 4 by Lemma 7.1. This yields that the algorithm does not terminate on Step 4. Since X∈KD on Step 6, ∣K∣ is divisible by p and the algorithm does not terminate on Step 6. The set B constructed on Step 7 is a D-base of P by Proposition 6.4. In view of Lemma 6.3 the set B contains a D-base of K=Aut(X). Every D-base of K contains a D-base of K0 (see Algorithm RESOLVE). Therefore B contains a D-base of K0. Thus, the set BD found on Step 8 is a D-base of K0.
Now estimate the running time of the algorithm. Step 2 can be done in time poly(n) by Lemma 2.2. Due to Lemma 5.1, Step 3.1 requires polynomial time. Step 3.2 terminates in time poly(n) by Proposition 5.2. Step 3.3 runs in polynomial time by Lemma 2.2. Therefore each iteration on Step 3 requires polynomial time in n. Since X is feasible on Step 3, we conclude that the set of all sections of X of rank 2 and degree at least p2 has the size polynomial in n. After each iteration on Step 3 the number of such sections becomes strictly less (Algorithm RESOLVE). So the number of iterations on Step 3 is polynomial in n and hence Step 3 terminates in time poly(n). From Lemma 4.1 it follows that Step 4 can be done in time poly(n). Lemma 4.3 implies that Step 5 requires polynomial time. A Sylow p-subgroup P of K on Step 6 can be found by the polynomial-time Kantor algorithm (see [15]). In view of Proposition 6.4, Step 7 can be done in time poly(n).
Now let us prove that the set BD on Step 8 can be found in time poly(n). The set B has the size polynomial in n by Lemma 6.1. So to prove the required time bound for Step 8 it is sufficient to prove that given G,G′∈B one can check whether G and G′ are K0-conjugate in time poly(n). Let g=(α1…αn/p)…(α(p−1)n/p…αn)∈G and g′=(β1…βn/p)…(β(p−1)n/p…βn)∈G′ be elements of order n/p and degree n. Let h0 be a permutation taking αi to βi for each i∈{1,…,n/p}. Then h0−1gh0=g′ and
[TABLE]
Note that CSym(Ω)(g) is permutationally isomorphic to the group Cn/p≀Sym(p) which is solvable. This yields that CSym(Ω)(g) can be constructed efficiently. So the set CSym(Ω)(g)h0 has the size polynomial in n and it can be constructed in time poly(n). Therefore the set
[TABLE]
has the size polynomial in n and it can be constructed in time poly(n) by testing every permutation of CSym(Ω)(g)h0 for membership to the group K0.
Let g1 and g2 be generators of G of orders n/p and p respectively. Then the above discussion implies that one can construct the set
[TABLE]
in time poly(n). If V=∅ then G and G′ are not K0-conjugate. If V=∅ then for every h∈V one can check whether h−1g2h∈G′. Since V has the polynomial size, this can be done in polynomial time. If h−1g2h∈G′ for some h∈V then h−1Gh=G′ and hence G and G′ are K0-conjugate; otherwise G and G′ are not K0-conjugate.
∎
8. Proof Of Theorem 1.2
Proof of the Theorem 1.2.
Given a graph Γ on n vertices one can construct by using the Weisfeiler-Leman algorithm (see [16, 17]) in time poly(n) the coherent configuration X=X(Γ) on n points such that Aut(Γ)=Aut(X). From Proposition 7.2 it follows that a D-base of Aut(X) can be constructed in time poly(n). Therefore a D-base of Aut(Γ) can be constructed in time poly(n) and the theorem is proved.
∎