Abstract 1 Introduction 2 A General Test 3 Cyclic Groups 4 Vector space over finite fields 5 Automorphism testing for Non-Abelian groups 6 Lifting Homomorphism Tests References

A General Framework for Low Soundness Homomorphism Testing

Tushant Mittal ORCID Stanford University, CA, USA Sourya Roy ORCID University of Iowa, Iowa City, IA, USA
Abstract

We introduce a general framework to design and analyze algorithms for the problem of testing homomorphisms between finite groups in the low-soundness regime.

In this regime, we give the first constant-query tests for various families of groups. These include tests for: (i) homomorphisms between arbitrary cyclic groups, (ii) homomorphisms between any finite group and p, (iii) automorphisms of dihedral and symmetric groups, (iv) inner automorphisms of non-abelian finite simple groups and extraspecial groups, and (v) testing linear characters of GLn(𝔽q), and finite-dimensional Lie algebras over 𝔽q. We also recover the result of Kiwi [TCS’03] for testing homomorphisms between 𝔽qn and 𝔽q.

Prior to this work, such tests were only known for abelian groups with a constant maximal order (such as 𝔽qn). No tests were known for non-abelian groups.

As an additional corollary, our framework gives combinatorial list decoding bounds for cyclic groups with list size dependence of O(ε2) (for agreement parameter ε). This improves upon the currently best-known bound of O(ε105) due to Dinur, Grigorescu, Kopparty, and Sudan [STOC’08], and Guo and Sudan [RANDOM’14].

Keywords and phrases:
Property Testing, Coding Theory
Funding:
Tushant Mittal: T.M. is a postdoctoral fellow supported by the NSF grants CCF-2143246 and CCF-2133154.
Sourya Roy: S.R. was partially supported by the Old Gold Summer Fellowship from The University of Iowa.
Copyright and License:
[Uncaptioned image] © Tushant Mittal and Sourya Roy; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Error-correcting codes
Related Version:
Full Version: https://arxiv.org/abs/2509.05871
Acknowledgements:
We sincerely thank the reviewer for their helpful comments and careful reading of our manuscript.
Editor:
Shubhangi Saraf

1 Introduction

The problem of homomorphism testing has been extensively studied in the theoretical computer science literature [2, 6, 17, 23, 15]. A primary motivation for studying this question is its relevance to the theory of probabilistically checkable proofs [4, 5] and locally testable codes. Additionally, there has been an interest in studying such tests in quantum complexity, for example, entanglement testing [20] involves homomorphism testing which played an important role in the proof of MIP=RE [16].

In this work, we study this homomorphism testing problem in the context of general finite groups. To make the discussion precise, we begin by formally describing the setup. Let G and H be two finite groups. Denote by Hom(G,H), the set of all homomorphisms from G to H, i.e., a function such that, f(xy)=f(x)f(y) for each x,yG.

Definition 1.

Hom(G,H) is (k,δ,ε)-testable if there exists an algorithm (test) that, given oracle access to a function f:GH, makes k queries to it, and satisfies the following:

  • (Completeness) If f is a homomorphism, the test passes with probability 1.

  • (Soundness) If test passes with probability δ (over the choice of queries), then there exists a homomorphism φ such that agr(f,φ):=PrxG[f(x)=φ(x)]ε(δ).

As an example, the famous Blum–Luby–Rubinfield [6] (BLR) test samples a random pair x,yG and checks if f(x)f(y)=f(xy). This test shows that Hom(𝔽2n,𝔽2), also known as the Hadamard code, is (3,δ,δ)-testable. We are interested in identifying finite groups, (G,H), for which the set Hom(G,H) is testable and designing such tests.

High Soundness Regime

It is much easier to construct a test that only guarantees soundness when a function passes the test with a probability much larger than the test passing probability of a random function. This regime is known as the high soundness or the unique decoding regime, as there is often a unique homomorphism that agrees with the input function. There are many results in this regime and in particular, Ben Or-Coppersmith-Luby-Rubinfeld [3], showed that Hom(G,H) is (3,δ,1δ2)-testable for δ>79 for any finite groups G,H. Moreover, the test is the same as the BLR test.

Low Soundness Regime

It is significantly more difficult to design and analyze tests in the low soundness (list decoding) setting when the test passing probability can be arbitrarily small, and the function has a tiny agreement with many homomorphisms. As a sharp contrast to the result of [3], the only known cases for which the BLR test has been analyzed in this low soundness setting are: (i) (𝔽pn,𝔽p) for some prime p, by Håstad and Wigderson [15], and (ii) (𝔽pn,𝔽pm) by Samrodnitsky111For p=2, this setting is equivalent to the Freiman-Rusza conjecture for which improved bounds were proven in the breakthrough works of [24, 11]. [23] which can be generalized to the setting of G=pn1prnr, where r=O(1).

Issues with BLR

The high-soundness result of [3] cannot be hoped to generalized to the low soundness setting, as they also give the following counterexample: for any r3, there exists a function f:3r3r1 that passes the BLR test with probability 79 but agrees with any homomorphism at most 3(r1)-fraction of points. This demonstrates that BLR fails catastrophically, even for cyclic groups, in the low-soundness regime.

Moreover, even in cases for which BLR works, it is not always known to yield the best agreement guarantee. For instance, [15] showed that the BLR test for (𝔽pn,𝔽p) achieves an agreement guarantee of ε(δ)=1+δp. Hence, even when the function passes with probability 1, the guarantee is small for large p. This was remedied by Kiwi [17] by giving a different test222Grigorescu, Kopparty and Sudan [13], and Gopalan [10] gave an alternate Fourier analytic proof of Kiwi’s result. which showed that Hom(𝔽qn,𝔽q) is (3,δ,δ)-testable.

The above discussion shows that new tests and techniques must be devised to handle new families of groups and/or obtain optimal parameters. Additionally, it is desirable to have tests that can provide an improved soundness guarantee by using more queries.

1.1 Our Contribution

We take a first step towards this by defining a general testing framework and using it to get testability results for a variety of groups. In particular, we give the first tests for classes of non-abelian groups in the low-soundness setting. Our meta-test is the following. Let G,H be finite groups, k be an integer, and let 𝒟k be a distribution on Gk.

𝖳𝖾𝗌𝗍k(G,H,𝒟k)  

  • Sample (x1,,xk)𝒟kGk.

  • Return 1 if and only if there exists333For almost all the groups we study, there is a simple and efficient way to check this. a homomorphism (or automorphism) φ such that f(xi)=φ(xi) for i[k].

We explain the framework in Section 1.2, but briefly summarize its salient features:

  • Defining the Distribution 𝒟k – A key feature of the framework is that this distribution naturally emerges from an (approximating) expression for the soundness, i.e., maxφHom(G,H)agr(f,φ). The BLR test uses the uniform distribution over {(x1,x2,x3)x1x2x3=1} as 𝒟k, regardless of the groups G,H. In contrast, our distribution takes into account the group-theoretic data. In the special case of (𝔽2n,𝔽2), our distribution coincides with the one in BLR, but for other groups, they are quite different. For example, in the case of cyclic groups, our distribution (roughly) weighs elements based on their order and is not uniform. This difference intuitively explains why BLR fails for cyclic groups, but our test works.

  • Distance Approximation and List Decoding – Our analysis works by giving an exact expression for the kth-moment, φagr(f,φ)k. This can be seen as a “degree-k variant” of the general Johnson bound (which is for k=2). Such an expression not only yields a soundness guarantee but also implies a bound on (i) the number of “large-agreement homomorphisms”, i.e., combinatorial list size bounds for homomorphism codes, and (ii) the largest possible agreement that gives a tight control on the distance of the input function f to the property of being a homomorphism. This task of distance approximation was introduced in [22], where they show that approximating distance implies tolerant tests.

  • Avoiding Fourier Analysis – Our technique works entirely in the “physical space” by reducing the soundness analysis to the computation of certain group-theoretic constants. For some classes of groups (such as finite simple groups), these constants have been studied in the literature. This is helpful when the target group H does not embed easily into , and one cannot directly rely on Fourier analysis.

  • Query vs Soundness Tradeoff – The above test works for any (large enough) number of queries k, and the analysis shows that the test guarantee improves exponentially with the number of queries, ε(δ)δ1k, giving us a smooth tradeoff between query complexity and the soundness guarantee.

1.1.1 Homomorphism Testing

We now summarize our results for homomorphism testing over various classes of finite abelian groups. To the best of our knowledge, all the tests here are novel except for the 3-query test for Hom(𝔽qn,𝔽q) due to [17].

Theorem 2 (Summary of Homomorphism Testing).

For each pair of groups G,H as listed in Table 1, and correspondingly allowed integers k, Hom(G,H) is (k,δ,ε(δ))-testable. The test is 𝖳𝖾𝗌𝗍k(G,H,𝒟k), for an explicitly defined distribution 𝒟k on Gk. Additionally, we also get an upper bound of maxφagr(f,φ)O(δ1k), for any appropriate k as in the table.

Table 1: A summary of our results on homomorphism testing.
Result G H Query Soundness [ε(δ)]
Theorem 27 𝔽qn 𝔽q Odd k3 1qO(1qn)+(q1q)(qδ1q1)1k2
[17] 𝔽qn 𝔽q k=3
Theorem 20 n m Any k4 (ζ(2)2δ)1k3
Theorem 30 𝔽q 𝔽qn Any k2 q1qδ1k1
Theorem 15 pr Abelian group of p-rank t Any kt+2 ((p1)2p2δ)1kt1

Note: The p-rank of an Abelian group is the number of cyclic groups of order a power of p in its decomposition, see Fact 7.

Combinatorial List Decoding

While the focus of our work is not list decoding, our technique yields stronger bounds than currently known for some groups. This is because our analysis gives bounds on φagr(f,φ)k, and the list size then immediately follows.

The work of Dinur, Grigorescu, Kopparty, and Sudan [8], and later Guo and Sudan [14] gave a list size bound of O(ε105) that works for every pair of abelian groups (and in fact “supersolvable” groups). However, their bound does not improve even when H is cyclic. We prove a much better bound of ε2 for cyclic groups of prime power and ε3 for general cyclic groups.

Theorem 3 (List Decoding for Cyclic groups).

Let G=pr and H=ps be cyclic groups. Let f:GH be any function. Then the following holds:

|{φHom(G,H):agr(f,φ)ε}|(pp1)1ε2.

In general, we get a list size bound of 2ε(t+1) when H is an abelian group of p-rank t1. Additionally, for any integers n,m1, we get the following list size bound:

|{φHom(n,m):agr(f,φ)ε}|ζ(2)2ε3,

where ζ(2)=π26, is the Riemmann-Zeta function.

1.1.2 Automorphism Testing over Non-Abelian Groups

A very important class of homomorphisms arises from automorphisms of groups. Our next set of results concern testing automorphisms and inner automorphisms over various families for finite non-abelian groups. We quickly recall the relevant definitions,

Aut(G) ={φHom(G,G)φis bijective},
Inn(G) ={φg,gGφg(x)=gxg1}Aut(G).

The set of inner automorphisms is easier to work with as the maps are very explicit. Moreover, for many groups, the inner automorphisms capture most of the automorphisms. For example, for the symmetric group Symn, all the automorphisms are inner ([25]) (for n6). The following theorem consolidates all our automorphism testing results.

Theorem 4 (Automorphism Testing (Summary of Theorems 31 and 32)).

The following results hold by using 𝖳𝖾𝗌𝗍k(G,G,𝒟k) for an explicitly defined distribution 𝒟k on Gk :

  • For the family of dihedral groups, D2p (p prime), Aut(D2p) is (k,δ,12δ1k2)-testable for every k3.

  • For the family of symmetric groups, Aut(Symn)=Inn(Symn) is (k,δ,δ1k2on(1))-testable for every k3, and n6.

  • For every non-abelian finite simple group G, Inn(G) is (k,δ,δ1k2o|G|(1))-testable for every k4.

  • For any extraspecial group G of order pr, Inn(G) is (k,δ,δ1krop(1))-testable for every kr+1. In particular, for the family of Heisenberg groups (Hp) (the group of 3×3 unitrianguar matrices over 𝔽p), Inn(Hp) is (k,δ,δ1k3op(1))-testable for any k4.

Additionally, we also get an upper bound of maxφagr(f,φ)O(δ1k), for any group G and k as above, except the dihedral group.

1.1.3 Lifting Homomorphism Tests

We give a general method to extend results for testability of known Hom(G,H) to those of Hom(G~,H) in cases when Hom(G~,H) factors through Hom(G,H).

For instance, when H is abelian, every homomorphism from G to H factors through an “abelianization” of G, which is defined as G/[G,G] where [G,G] is the subgroup generated by xyx1y1x,yG. This also works when we have a more general structure like a Lie algebra. We quickly define the notion of a character over a Lie algebra.

Lie algebra characters

A finite-dimensional Lie algebra, 𝔤, is a finite-dimensional vector space over a field 𝔽 with a Lie bracket [,]:𝔤×𝔤𝔤 which is a bilinear map such that

[x,x]=0and[x,[y,z]]+[y,[z,x]]+[z,[x,y]]=0,x,y,z𝔤.

A linear character of a Lie algebra is a linear map φ:𝔤𝔽 such that f([x,y])=0 for every x,y𝔤. Therefore, it is a linear map between vector spaces subject to an additional constraint. For example, let 𝔤𝔩n(q)=𝔽qn×n, the vector space of n×n-matrices. The bracket is defined as [x,y]:=xyyx, where the multiplication is matrix multiplication. A character of 𝔤𝔩n is a linear map with the property that f(xy)=f(yx) for every pair of matrices x,y.

Character testing has also been studied in the literature [1, 19, 21, 12, 18] for general groups (and more general representations). However, to the best of our knowledge, all known results work in the L2-metric, i.e., the soundness guarantee is in terms of f(x)φ22. Our result gives the first character testing results for non-abelian groups in the Hamming metric.

Theorem 5 (Lifting results).

For the groups/Lie algebras mentioned in Table 2, one can obtain testing results by lifting from their base code. Moreover, the queries and soundness guarantees are identical to those of the base code.

Table 2: A summary of our lifting results.
Result G H Base Code
Theorem 34 Any finite group 𝔽p Hom(𝔽pn,𝔽p)
Any Lie Algebra over 𝔽p
Theorem 33 GLn(q),q2 𝔽q Hom(q1,q1)
Theorem 35 𝔤𝔩n(q) 𝔽q Hom(q,q)

Note: For the first result, n is the p-rank of G, i.e., the p-rank of its abelianization, or the rank of the Lie algebra.

 Remark 6.

In coding theory terms, the lifted homomorphism code (up to permutation) is the base code tensored with the repetition code of length m=(|ker(π)|). Thus, one could alternatively design a test from this perspective, or appeal to results on local testability of tensor codes such as [9]. However, our approach yields the result easily by allowing us to mechanically reuse the analysis of the base code.

1.2 Technical Overview

For a function f and a homomorphism φ, let agr(f,φ) be the agreement between these functions, i.e., the fraction of inputs on which they agree. We wish to estimate maxφagr(f,φ). To do this, we will define a distribution on Hom(G,H). Clearly,

maxφHom(G,H)agr(f,φ)𝔼φ[agr(f,φ)]. (1)

For this approximation to be useful, the distribution must have a large mass on homomorphisms that agree significantly with f. A natural choice for such a distribution is Pr[φ]agr(f,φ)k for some positive integer k. Note that this is general and agnostic to the choice of groups (or even the fact that the code is a homomorphism code).

This expectation then becomes:

𝔼φ[agr(f,φ)]=φagr(f,φ)k+1φagr(f,φ)k.

The next step is to estimate this expectation via a test that queries f at only a few points. We do this by reinterpreting the expression for the kth powers algebraically, using the knowledge that the code is a homomorphism code. The key point of the framework is that after this reinterpretation, the definition of a test pops quite intuitively, such that

φHom(G,H)agr(f,φ)kPr[f passes 𝖳𝖾𝗌𝗍k]. (2)

Once we have this, the main testing result is a simple calculation. We now explain our algebraic reinterpretation of this expression and the test that emerges from it. The key to our method is the following evaluation map444We thank MO user t3suji whose comment on [7] was the inspiration for us to study this map. .

The evaluation map

One important way in which this framework utilizes the structure of Hom(G,H), is that for any fixed tuple x=(x1,,xk)Gk, there is a naturally associated evaluation map,

Γx:Hom(G,H)Hk,Γx(φ)=(φ(x1),,φ(xk)).

While this map could be defined for any subset of functions (and not necessarily homomorphisms), for the set of homomorphisms, the map is N-to-one on its image, where N=|ker(Γx)|. This crucial property immediately implies that,

φagr(f,φ)k=𝔼xGk[𝟙f(x)Im(Γx)|ker(Γx)|].

The right-hand side can now be interpreted as a test wherein a tuple is sampled with a weight |kerΓx|, and the indicator 𝟙f(x)Im(Γx) tests if there exists a homomorphism φ with which f agrees on the entire tuple x. This test trivially passes if Im(Γx)=Hk and thus we exclude such tuples. The final test is then,

𝖳𝖾𝗌𝗍k(G,H)  

  • Sample (x1,,xk)|kerΓx| subject to Im(Γx)Hk.

  • If (f(x1),,f(xk))Im(Γx): return 1; otherwise: return 0.

Analyzing and adjusting the test

The above recipe works as it is for a given pair of groups if the following hold:

  1. 1.

    Our approximation, i.e., Equation 1, is not too weak, and

  2. 2.

    The test we have defined indeed approximates φagr(f,φ)k well.

Among the cases we analyze, this happens for cyclic (and cyclic-like) groups, and our results in Section 3 directly use this test. However, for Hom(𝔽qn,𝔽q), the first condition does not hold. This is remedied by using a shifted variant of agr(f,φ). Moreover, verifying the second point, i.e., checking if Equation 2 holds can be difficult in general, and another trick we employ is to define the test on a subset of all k-tuples that makes the analysis more manageable. We wish to emphasize that 𝖳𝖾𝗌𝗍k(G,H) gives a starting point from which to derive a test for a general pair of groups.

1.3 Outline

We start in Section 1.4 by summarizing basic definitions and some of the notation used throughout the paper. The general testing framework developed in Section 2 captures the core methodology that is used throughout the paper to prove our main results.

As our first application, we use the proposed framework in Section 3 to establish the testing and list decoding results for cyclic groups. In particular, in Section 3.1, we prove the testing result, Theorem 15, for G=pr and H=abelian group of bounded p-rank; here, we also prove the list decoding theorem, Theorem 16. In Section 3.2, we generalize to the case when G and H are arbitrary cyclic groups.

We focus on vector spaces in Section 4. The main result of this section is Theorem 27 that allows us to test functions from 𝔽qn𝔽q. In the same section, we also derive a testing result (Theorem 30) for Hom(𝔽q,𝔽qn).

In Section 5 and Section 6, we consider the non-abelian setting. Section 5 focuses on testing for closeness to an automorphism or an inner automorphism. We look at dihedral groups (Theorem 31), symmetric group, quasirandom groups, and more generally, finite simple groups (Theorem 32). Finally, in Section 6, we prove a general lifting theorem. This allows us to prove our character testing results (Theorems 33 and 35), and other lifted results Theorem 34.

1.4 Prelims

Fact 7 (p-components of Abelian groups).

Every finite abelian group decomposes into G=pGp where Gp=ipbi is the p-component of G. The p-rank of G is the number of summands in Gp. Moreover, Hom(G,H)pHom(Gp,Hp).

Fact 8 (Cyclic Homomorphisms).

Let G=pr and H be any abelian group with a p-component ipbi. Then, Hom(G,H)=ipmin(r,bi), and thus, |Hom(G,H)||H|.

Proof.

Any homomorphism φ:prpb, is determined by φ(1) which must have order paφpmin(r,b). For a given order pj, the number of elements with order at most j is pj and thus Hom(G,H)=pmin(r,b).

Notation.

Let f:GH be a function. For any x=(x1,,xk)Gk, we use the shorthand: f(x):=(f(x1),,f(xk)).

2 A General Test

For any, xGk, we define the following evaluation map:

Γx:Hom(G,H)Hk:Γx(φ)=(φ(x1),,φ(xk)).

Because H is an abelian group, the set Hom(G,H) is an abelian group under pointwise multiplication. Moreover, the maps {Γx}x are homomorphisms. We make the following important definitions that we will use throughout:

𝖧x:=Im(Γx)Hk,𝒢k:={xGk𝖧xHk},ηk=|𝒢k||Gk|.
Lemma 9 (Rewriting the agreement).

Let G,H be finite abelian groups, and let f:GH be any function.

φHom(G,H)agr(f,φ)k=ηk𝔼x𝒢k[𝟙f(x)𝖧x|ker(Γx)|]+(1ηk)|Hom(G,H)||Hk|.
Proof.

See the full version for the proof.

General Test

Motivated by the non-constant term in the expression, we define the distribution on 𝒢k which samples x|ker(Γx)|, i.e.,

𝒟ker(x):=|ker(Γx)|x𝒢k|ker(Γx)|.

𝖳𝖾𝗌𝗍_kerk(G,H)  

  • Sample x𝒟ker, i.e., x𝒢k|ker(Γx)|.

  • If f(x)𝖧x: return 1; otherwise: return 0.

Corollary 10 (Test passing Probability).

Let f:GH and δk be the probability that f passes the 𝖳𝖾𝗌𝗍_kerk(G,H). Then,

δk=𝔼x𝒢k[𝟙f(x)Hx|ker(Γx)|]𝔼x𝒢k[|ker(Γx)|].

And therefore,

φagr(f,φ)k=δkηk𝔼x𝒢k[|ker(Γx)|]+(1ηk)Hom(G,H)|H|k.

The following claim merely gives an alternate way to compute the term on the RHS of the above equation, i.e., the expected kernel size.

Claim 11.

For any finite groups G,H, and k1, we have

γk:=xGk|ker(Γx)|=φHom(G,H)|ker(φ)|k.
Proof.

See the full version for the proof.

Summarizing the expressions

We now summarize the expressions we need for ready reference in our proofs.

maxφagr(f,φ) φagr(f,φ)k+1φagr(f,φ)k (3)
φagr(f,φ)k =𝔼xGk[𝟙f(x)𝖧x|ker(Γx)|] (4)
=ηk𝔼x𝒢k[𝟙f(x)𝖧x|ker(Γx)|]+(1ηk)|Hom(G,H)||Hk| (5)
=δkγk|G|k+(1ηk)|Hom(G,H)||Hk|. (6)

3 Cyclic Groups

3.1 Cyclic groups of prime power order to abelian groups of small rank

We will first start with both the domain being a cyclic group of prime power order. For such groups, the expression from Corollary 10 can be further simplified, as ηk=1.

Observation 12.

Let G=pr and H be any abelian group. Then, for any k2, ηk(G,H)=1 and thus, for any f:GH,

φHom(G,H)agr(f,φ)k=δk(f)γk|G|k.
Proof.

See the full version for the proof.

Bounding 𝜸𝒌

From the expression it is clear that the only quantity we need to analyze is γk which we will do via Claim 11.

Lemma 13 (Cyclic to Abelian).

Let G=pr and H any abelian group. Then,

γk(G,H)=|Hom(pr,H)|+(1pk)a=1rpak|Hom(pra,H)|.
Proof.

See the full version for the proof.

Note that due to Fact 7, any homomorphism maps pr only to a p-group. Since, γk only concerns homomorphisms, it is only dependent on the p-component Hp:=i=1tpbi. Here, t is the p-rank of H. We now explicitly bound γk for k larger that the p-rank of H.

Corollary 14.

Let G=pr, and let H be an abelian group of p-rank t, and let k>t. Then,

(1pk)pkrγk(G,H)(pktpkt1)pkr.
Proof.

See the full version for the proof.

We can now use the above calculation for γk to deduce a testing result, and a (combinatorial) list decoding bound.

Theorem 15 (Testing prime power cyclic groups to Abelian groups of bounded rank).

Let G=pr be a cyclic group and H be an abelian group of p-rank t1. Let kt+2 be an integer, and let f:GH be any function. Then if f passes 𝖳𝖾𝗌𝗍_kerk(G,H) with probability δk, then,

((p1)2p2δk)1kt1agr(f,φ)(p2p21δk)1k.
Proof.

The upper bound directly follows from Observation 12 and Corollary 14. For the lower bound we use Equation 3 and Observation 12 to get,

maxφagr(f,φ) φagr(f,φ)iφagr(f,φ)i1δiγi|G|δi1γi1.

Multiplying this for i[t+2,k], we get

(maxφagr(f,φ))kt1 (1|G|)ktδkγkδt+1γt+1
(1|G|)kt1δkγkγt+1 [δt+11]
δk(1pk)(p1)p [Using Corollary 14]
δk(p1)2p2

Using the above bound we also immediately get a list decoding bound.

Theorem 16 (List Size Bound).

Let G=pr be a cyclic group and H be an abelian group of p-rank t1. Let f:GH be any function. Then the following holds:

|{φHom(G,H):agr(f,φ)ε}|(pp1)1εt+1.

In particular, we get a list size bound of 2ε2 for homomorphisms between cyclic groups.

Proof.

Let N=|{φhom(G,H):agr(f,φ)ε}|. Then,

Nεt+1φαφt+1 =δt+1γt+1|G|t+1
pp1 [Using Corollary 14].

3.2 Arbitrary Cyclic groups

To handle general cyclic groups, we will use the decomposition of abelian groups into their p-components.

Lemma 17 (Reduction to p-groups).

Let φ:GH, and let X=pXp for X{G,H} be the decomposition of the groups into their p-components. Then, φ=φp where φp:GpHp. Therefore,

γk(G,H) =pγk(Gp,Hp),
1ηk(G,H) =p(1ηk(Gp,Hp)).
Proof.

See the full version for the proof.

Definition 18 (Riemann Zeta Function).

Define the Riemann zeta function using Euler’s product formula as ζ(s)=p(11ps)1 where the product runs over all primes.

Proposition 19.

Let G,H be any cyclic groups and let k3. Denote by ζ(), the Riemann zeta function. Then,

|G|kγk(G,H)|G|kζ(k1)2.
Proof.

See the full version for the proof.

Theorem 20 (Testing Hom(n,m)).

Let G,H be any cyclic groups and f:GH be any function. Let k4 be any integer. Then if f passes 𝖳𝖾𝗌𝗍_kerk(G,H) with probability δk, then there exists a homomorphism φHom(G,H) such that agr(f,φ)(ζ(2)2δk)1k3.

Proof.

By Lemma 17, η(G,H)=1 for any pair of cyclic groups, and thus, the expression from Observation 12 holds. Using it,

maxφagr(f,φ) φagr(f,φ)iφagr(f,φ)i1δiγi|G|δi1γi1.

Multiplying this for i[4,k], we get

(maxφagr(f,φ))kt1 (1|G|)ktδkγkδt+1γt+1
(1|G|)kt1δkγkγt+1 [δt+11]
δk(1pk)(p1)p [Using Corollary 14]
δk(p1)2p2.

4 Vector space over finite fields

Let, 𝔽q be a finite field of order q. In this section, we will focus on functions between a 𝔽q-vector space and the finite field, 𝔽q.

4.1 Vector space to Finite Field

Let, G=𝔽qn and H=𝔽q. Let f:GH be an arbitrary function.

A shifted variant of agreement

We first recall the expression for φagr(f,φ)k from Section 2.

φHom(G,H)agr(f,φ)k=δkηk𝔼x𝒢k[|ker(Γx)|]+(1ηk)Hom(G,H)|H|k,

where δk is the test passing probability of the general test (that samples x|kerΓx| and checks 𝟙f(x)𝖧x) given in Section 2. A key difference in the vector space case compared to the cyclic case is that ηk0. Therefore most of the contribution in φHom(G,H)agr(f,φ)k comes from the non-test part: Hom(G,H)Hk. This happens because any function has roughly 1q-agreement with many homomorphisms (at least 12q-fraction of all homomorphisms). In particular, it is easy to see that if f is a random function then it has 1q-agreement with almost all the homomorphisms. This suggests adjusting the definition of agreement, agr(f,φ), so that it measures the non-trivial advantage over the trivial agreement of 1q. To achieve this we define the following shifted variant of agr(f,φ).

Shifted agreement: agr~(f,φ)=qagr(f,φ)1q1

Accordingly, we will use the expression φagr~(f,φ)k instead of φagr(f,φ)k so that distribution concentrates on homomorphisms with non-trivial agreements. Fortunately, the former expression can be directly computed from the latter via binomial expansion.

Refining the test

We need to address one more issue in this vector space setting. We cannot directly use the original generalized test that - samples x with probability |kerΓx| and checks f(x)𝖧x. This is because even though this test uses length k-tuple, it can happen that sampled the tuple satisfy only linear relation involving j (for some j<k) co-ordinates of the input and all the rest of the co-ordinates are independent. If this happens, then the test essentially collapses to a j-th level test involving j-length tuple - as it essentially checks if f satisfy that linear relation or not. In other words, the generalized test is a linear combination of such different tests associated with different levels. For a precise analysis, it is crucial to refine the initial test definition and isolate these different tests. To do this, we need to formalize this notion of tuples satisfiying a linear relation involving j-coordinates.

Definition 21 (A level-j distribution).

We define j to be the set of tuples xGk such that (1) there exist S[k] with |S|=j such that Sax=0 for non-zero coefficients {a}S and (2) vectors in x do not satisfy any other linear relation.

Observe that the sets j for distinct j are disjoint. Now we collect all the claims involving j and linear independence of tuples, that will be needed for our analysis. For any two quantities, 𝗍1 and 𝗍2 : we write 𝗍1ε𝗍2 if |𝗍1𝗍2|=O(ε). Our first claim is the following:

Claim 22.

Let, k1 be any integer such that k=On(1). Then it holds that,

  1. 1.

    PrxGk[rank(x)=k]q2n(1qk1qn(q1)).

  2. 2.

    PrxGk[xj]q2n(kj)(q1)j1qn.

Proof.

See the full version for the proof.

Claim 23.

Let, 1jk be two integers. Then,

𝔼xGk[𝟙f(x)𝖧x|xj]=𝔼xGj[𝟙f(x)𝖧x|xj].
Proof.

See the full version for the proof.

Analyzing the key expression

Let us now examine the expression for φagr(f,φ)k, from which the appropriate definition of the test becomes apparent.

Claim 24.

Let, k1 be any integer, and f:𝔽qn𝔽q be any function. Then,

φagr(f,φ)kqnPrxGk[rank(x)=k]qnk+q(k1)j=1k(kj)(q1)j1δj(f),

where δj(f):=𝔼xGj[𝟙f(x)𝖧x|xj].

Proof.

See the full version for the proof.

Defining the refined test

Inspired from Claim 24 we define a kth test such that the test passing probability of a function f is δk(f) as above, i.e.,

δk(f):=𝔼xGk[𝟙f(x)𝖧x|xk].

𝖳𝖾𝗌𝗍_𝖵𝖲𝗉𝖺𝖼𝖾k(f)  

  • Sample (x1,,xk)k.

  • If (f(x1),,f(xk))𝖧x: return 1; otherwise: return 0

Or equivalently,

  • Sample k1 independent vectors: x1,,xk1.

  • Sample a1,,ak1𝔽q{0} and set xk=ik1aixi

  • If f(xk)=a1f(x1)+a2f(x2)++ak1f(xk1) : return 1; otherwise: return 0

Analysis of the Test

We state a simple combinatorial fact that we will need.

Fact 25 (Binomial Identity).

Let 0j<k be any integers. Then,

i=jk(1)ki(ki)(ij)= 0.
Proof.

A direct corollary of the fact that (ki)(ij)=(kj)(kjij).

Corollary 26.

Let k1 be any integer.

φagr~(f,φ)kqn1q1(qδk1).
Proof.

See the full version for the proof.

Theorem 27.

Let G=𝔽qn be a vector space and H=𝔽q for some finite field of order q. Let k3 be any odd integer. Then if f passes 𝖳𝖾𝗌𝗍_𝖵𝖲𝗉𝖺𝖼𝖾k(f) with probability δk>1q, then,

1q+(q1q)(qδk1q1)1k2maxφagr(f,φ)±O(qn)1q+(q1q)(qδk1q1)1k.
Proof.

The upper bound is a direct consequence of Corollary 26. For the lower bound, let k3 be an odd integer,

maxφagr~(f,α)k2φagr~(f,φ)2φagr~(f,α)k1q1(qδk1).

Here, the second inequality follows from Corollary 26 and the test passing assumption. Thus, there exists a homomorphism φ such that

(qagr(f,φ)1q1)k21q1(qδk1).

Since k2 is odd, this implies that we can take the positive (k2)th-root on either side of the inequality and obtain our result.

4.2 Finite Field to Vector Space

Let, 𝔽q be a finite field of order q. Let, G=𝔽q and H=𝔽qn. Let f:GH be an arbitrary function. The set of homomorphisms, Hom(G,H), have the property that for every non-trivial homomorphism φ, ker(φ)={0}. This property implies that no two homomorphisms agree on any non-zero input x. We note a simple consequence of this below.

Observation 28.

Let k1 and x𝔽qk{0} be a non-zero vector. Then, ker(Γx)={triv}.

Proof.

Let xi0 be any non-zero element in the tuple, x. Then, for any non-trivial homomorphism φHom(𝔽q,𝔽qn), φ(xi)0 and thus φker(Γx).

Recall the general version of the test which samples xGk|kerΓx|. This is problematic in our case as for x=0, we have |kerΓ0|=qn, but ker(Γx)=1 for every other vector x. We circumvent this issue by simply ignoring the 0 element in G and working over G~=𝔽q, the set of non-zero elements of 𝔽q. Accordingly, we will work with the fractional agreement of f over G~,

agr~(f,φ):=𝔼xG~[𝟙f(x)=φ(x)].

Using this modified agreement, agr~(f,φ), we have the following claim.

Lemma 29 (A variant of Lemma 9).

Let f:GH to be any function. Then, for any k1,

φHom(𝔽q,𝔽qn)agr~(f,φ)k=𝔼xG~k[𝟙f(x)𝖧x].
Proof.

Identical to the proof of Lemma 9, after using Observation 28. The expression in Lemma 29 suggests the following simple test.

𝖳𝖾𝗌𝗍_𝖭𝗈𝗇𝖹𝖾𝗋𝗈k(f)  

  • Sample xG~k uniformly.

  • If f(x)𝖧x: return 1; otherwise: return 0.

  • Equivalently, the test passes only if xi1f(xi)=xj1f(xj) for every xi,xj in the sampled tuple x.

Theorem 30.

Let G=𝔽q some finite field of order q and H=𝔽qn be a vector space. Let, k2 be any integer. Then if f:GH passes 𝖳𝖾𝗌𝗍_𝖭𝗈𝗇𝖹𝖾𝗋𝗈k(f) with probability δk, then,

(11q)δk1k1maxφagr(f,φ)1q+(q1q)δk1k.
Proof.

From the definition of the shifted agreement, we have, for any φ

agr(f,φ)1q+q1qagr~(f,φ).

Since, maxφagr~(f,φ)kφagr~(f,φ)k=δk, we get the upper bound. We have,

maxφ{agr~(f,φ)k1}φagr~(f,φ)φagr~k(f,φ)=δk.

From Lemma 29 for k=1, we get φagr~φ1. Clearly, this quantity is greater than 0, as otherwise the above inequality forces δk=0 for which the theorem trivially holds. Thus, we have the inequality,

agr~(f,φ)δk1k1.

Finally, by rescaling we get or result:

agr(f,φ)|G~||G|agr~(f,φ)=(11q)δk1k1.

5 Automorphism testing for Non-Abelian groups

We mention the main results of this section below. Please see the full version for the remainder of the section.

Theorem 31 (Testing Aut(D2p) ).

Let G=D2p be the dihedral group of order 2p for some prime p>3. Let k3 be an integer, and f:GG be any function. Then if f passes 𝖳𝖾𝗌𝗍_𝖣𝗂𝗁𝖾𝖽𝗋𝖺𝗅k with probability δk(f), then there exists a automorphism φAut(G) such that agr(f,φ)12δk(f)1k2 .

Theorem 32 (Restatement of Theorem 1.4).

The following results hold using 𝖳𝖾𝗌𝗍_𝖨𝗇𝗇𝖾𝗋k :

  • For any n6, Aut(Symn) is (k,δ,δ1k2on(1))-testable for every k3.

  • For every non-abelian finite simple group G, Inn(G) is (k,δ,δ1k5o|G|(1))-testable for every k6.

  • For any exstraspecial group G of order pr, Inn(G) is (k,δ,δ1krop(1))-testable for every kr+1. In particular, for the family of Heisenberg groups over 𝔽p, Hp, Inn(Hp) is (k,δ,δ1k3op(1))-testable for any k4.

  • Alternatively, if p=O(1) is fixed and r, then we have that Inn(G) is (k,δ,1pδ1k1)-testable for every k2, and r3.

Additionally, we get an upper bound of maxφagr(f,φ)2δ1k, for any group G and k as above.

6 Lifting Homomorphism Tests

We mention the main results of this section below. Please see the full version for the remainder of the section.

Theorem 33 (Character Testing for GLn(q)).

Let G=GLn(q) be the group of inverible n×n matrices over 𝔽q for q>2,n2. Let f:G𝔽q be any function and fix an integer k4. Then if f passes 𝖳𝖾𝗌𝗍k with probability δk, there exists a character φHom(GLn(q),𝔽q) such that agr(f,φ)(ζ(2)2δk)1k3.

Theorem 34.

For any k3, 𝖳𝖾𝗌𝗍_𝖫𝗂𝖿𝗍𝖾𝖽𝖵𝖲𝗉𝖺𝖼𝖾k is a (k,δ,ε(δ)) sound test for Hom(G,𝔽p) for any finite group G and prime p, and for LieHom(𝔤,𝔽q) for any finite-dimensional Lie algebra, 𝔤, and prime power q.

Theorem 35 (Character Testing for 𝔤𝔩n(q)).

Let q be a power of a prime p, and let 𝔤=𝔤𝔩n(q)=𝔽qn×n, be the space of n×n-matrices. Let k3 be an integer. Let f:𝔤𝔽q be any function. If f passes 𝖳𝖾𝗌𝗍k(G,H,𝒟k) with probability δk, then,

maxφHom(𝔤,𝔽q)agr(f,φ)((p1)2p2δk)1k1.

References

  • [1] László Babai, Katalin Friedl, and András Lukács. Near representations of finite groups, 2003. Manuscript.
  • [2] M. Bellare, D. Coppersmith, J. Håstad, M. Kiwi, and M. Sudan. Linearity testing in characteristic two. In Proceedings of the 36th IEEE Symposium on Foundations of Computer Science, pages 432–441, 1995.
  • [3] Michael Ben-Or, Don Coppersmith, Mike Luby, and Ronitt Rubinfeld. Non-Abelian homomorphism testing, and distributions close to their self-convolutions. Random Structures & Algorithms, 32(1):49–70, August 2007. doi:10.1002/rsa.20182.
  • [4] Eli Ben-Sasson, Madhu Sudan, Salil P. Vadhan, and Avi Wigderson. Randomness-efficient low degree tests and short PCPs via ε-biased sets. In Proceedings of the 35th ACM Symposium on Theory of Computing, pages 612–621, 2003. doi:10.1145/780542.780631.
  • [5] Amey Bhangale and Subhash Khot. Optimal inapproximability of satisfiable k-LIN over non-abelian groups. In Proceedings of the 53rd ACM Symposium on Theory of Computing, 2021. doi:10.1145/3406325.3451003.
  • [6] M. Blum, M. Luby, and R. Rubinfeld. Self-testing/correcting with applications to numerical problems. In Proceedings of the 22nd ACM Symposium on Theory of Computing, pages 73–83, 1990. doi:10.1145/100216.100225.
  • [7] Robin Chapman. Image of a fixed element under a random endomorphism in an abelian group. MathOverflow, 2010. URL:https://mathoverflow.net/q/30378 (version: 2010-07-04).
  • [8] Irit Dinur, Elena Grigorescu, Swastik Kopparty, and Madhu Sudan. Decodability of group homomorphisms beyond the Johnson bound. In Proceedings of the 40th ACM Symposium on Theory of Computing, pages 275–284, 2008. doi:10.1145/1374376.1374418.
  • [9] Irit Dinur, Madhu Sudan, and Avi Wigderson. Robust local testability of tensor products of LDPC codes. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, pages 304–315. Springer Berlin Heidelberg, 2006. doi:10.1007/11830924_29.
  • [10] Parikshit Gopalan. A Fourier-Analytic Approach to Reed-Muller Decoding. IEEE Trans. Inf. Theory, 59(11):7747–7760, 2013. doi:10.1109/TIT.2013.2274007.
  • [11] W. T. Gowers, Ben Green, Freddie Manners, and Terence Tao. On a conjecture of marton, 2023. arXiv:2311.05762.
  • [12] William Timothy Gowers and Omid Hatami. Inverse and stability theorems for approximate representations of finite groups. Sbornik: Mathematics, 208(12):1784, 2017. doi:10.1070/SM8872.
  • [13] Elena Grigorescu, Swastik Kopparty, and Madhu Sudan. Local decoding and testing for homomorphisms. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, pages 375–385. Springer, 2006. doi:10.1007/11830924_35.
  • [14] Alan Guo and Madhu Sudan. List Decoding Group Homomorphisms Between Supersolvable Groups. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM), 2014. doi:10.4230/LIPIcs.APPROX-RANDOM.2014.737.
  • [15] Johan Håstad and Avi Wigderson. Simple analysis of graph tests for linearity and PCP. Random Structures & Algorithms, 22(2):139–160, 2003. doi:10.1002/rsa.10068.
  • [16] Zhengfeng Ji, Anand Natarajan, Thomas Vidick, John Wright, and Henry Yuen. MIP* = RE. Commun. ACM, 64(11):131–138, 2021. doi:10.1145/3485628.
  • [17] M. Kiwi. Algebraic testing and weight distributions of codes. Theoretical Computer Science, 299(1):81–106, 2003. doi:10.1016/S0304-3975(02)00816-2.
  • [18] Tushant Mittal and Sourya Roy. Derandomized Non-Abelian Homomorphism Testing in Low Soundness Regime, 2024. doi:10.48550/arXiv.2405.18998.
  • [19] Cristopher Moore and Alexander Russell. Approximate representations, approximate homomorphisms, and low-dimensional embeddings of groups. SIAM Journal on Discrete Mathematics, 29(1):182–197, 2015. doi:10.1137/140958578.
  • [20] Anand Natarajan and Thomas Vidick. A quantum linearity test for robustly verifying entanglement. In Proceedings of the 49th ACM Symposium on Theory of Computing, 2017. doi:10.1145/3055399.3055468.
  • [21] Kenta Oono and Yuichi Yoshida. Testing properties of functions on finite groups. Random Structures & Algorithms, 49(3):579–598, February 2016. doi:10.1002/rsa.20639.
  • [22] Michal Parnas, Dana Ron, and Ronitt Rubinfeld. Tolerant property testing and distance approximation. Journal of Computer and System Sciences, 72(6):1012–1042, 2006. doi:10.1016/J.JCSS.2006.03.002.
  • [23] A. Samorodnitsky. Low-degree tests at large distances. In Proceedings of the 39th ACM Symposium on Theory of Computing, 2007.
  • [24] Tom Sanders. On the Bogolyubov-Ruzsa lemma. Analysis & PDE, 5(3), 2012. doi:10.2140/apde.2012.5.627.
  • [25] Irving E. Segal. The automorphisms of the symmetric group. Bull. Am. Math. Soc., 46:565, 1940. doi:10.1090/S0002-9904-1940-07261-1.