Manuscript Offprint
arXiv:2611.03261Exact Agreement Expansion up to the Top via Non-polarity
Abstract
Agreement expansion asks whether local assignments to faces of a poset that usually agree on a sampled common face must agree with a single global function on most faces. Agreement expansion is exact (approximate) if local assignments need to exactly (approximately) agree with the global function. We suggest a new proof technique for agreement expansion that enables agreement expansion in settings which were previously beyond reach, such as: exact agreement expansion for Grassmannian posets (before only simplicial complexes support exact agreement expansion); agreement expansion based on assignments to top faces of the a complex (before agreement expansion is generally proven only for assignments to low dimensional faces); agreement expansion from one-sided spectral expansion (before, two sided spectral assumption was needed in general settings).
Specifically, for down-closed simplicial and Grassmannian complexes, we prove an exact agreement theorem between any two layers assuming one-sided spectral expansion in links of singletons. As an application, we show that full bases of every rank- matroid admit exact agreement with soundness when tested through -element independent sets. We also obtain exact agreement on Grassmannian posets under one-sided spectral expansion, with stronger soundness under a local distance guarantee. Our key proof ideas center around non-polarity of the distributions of local assignments, probed via a random exposure of elements.
1 Introduction
Agreement expansion is a local-to-global property of a family of sets. Given an assignment to each set, an agreement test samples two sets containing a common smaller set and checks that their assignments agree there. The family is an exact agreement expander if a small rejection probability implies that most local assignments are restrictions of one global assignment. In approximate agreement, errors on a small fraction of the elements are also allowed within each local assignment.
Agreement tests first arose in low degree testing [4, 19, 20], and have important applications to PCPs and locally testable codes. Dinur and Steurer [11] established exact agreement in the high-acceptance regime for direct product tests. The connection with high dimensional expansion established by Dinur and Kaufman [10] gave agreement tests on sparse families of sets. Subsequent works have extended the sufficient conditions for agreement testing [7, 14].
In this work we develop a general framework for exact agreement from spectral gaps of random walks on the complex. It applies to several settings, including sparse simplicial and Grassmannian complexes with one-sided spectral expansion. Our framework supports assignments to top dimensional faces of the poset, where previous work generally assumes assignments to faces of lower dimensions. Moreover, we prove stronger bounds for agreement expansion if the assignments come from a small
*Supported by ISF and the Israeli interdisciplinary center for quantum information. †Supported by a Clay Research Fellowship, Sloan Research Fellowship, NSF CAREER award DMS-2543870, and the Bell System Fellowship at the Institute for Advanced Study.
code with large distance. Below we give an overview of our results before going to further formal details in Section 1.1.
Agreement tests and soundness. In the general setup, let be a finite ground set and let be a family of -element subsets, equipped with a distribution . Each has a local assignment , where is a finite alphabet. We consider a downward sampling rule which chooses an -element set . The agreement test samples from this marginal and then two independent parents conditioned on . Define
as the rejection probability of the test. We then let
The soundness constant of the agreement test is the least such that for every ensemble of assignments. Its agreement expansion constant is the inverse of the soundness.
Agreement expansion up to the top. A central question is whether agreement can be tested on the top faces of the poset. Results that require additional layers above the assignment layer do not directly address this question. Exact agreement on top faces is known for two-sided local spectral expanders and for one-sided partite complexes [7]. Kaufman and Mass [14] give a local-to-global theorem under one-sided expansion and an agreement hypothesis on vertex links.
Our result gives agreement expansion up to the top for general one-sided local spectral expanders, without these additional structural assumptions, which permits new applications not covered by earlier works.
Exact agreement from one-sided spectral expansion. For each element , consider the down-up walk on the sets containing : sample from the prescribed distribution conditioned on , and then sample conditional on . Suppose each of these walks has spectral gap at least .
Assume that, for and every top face ,
These assumptions hold for uniform subface sampling in every down-closed simplicial complex, and in every down-closed Grassmannian complex with projective or affine points as coordinates.
Under these assumptions, our main result, Theorem 7, proves
Thus, for down-closed simplicial and Grassmannian complexes in the point models above, spectral gaps of these conditioned walks give exact agreement without requiring any layers above the assignment layer.
Full bases of arbitrary matroids. As an immediate corollary, our main result implies exact agreement expansion for top-dimension faces under one-sided local spectral expansion, via known local-to-global bounds for high order walks [1, 15]. In particular, let bound the second eigenvalue of the non-lazy walk in every link of an -element face in a simplicial complex. If and , for fixed , Corollary 11 gives soundness
for the agreement test between faces of size and . In particular, the soundness is for , and for consecutive layers .
The independence complex of a matroid has one-sided local spectral bounds [3]. Applying the theorem proves exact agreement for the uniform distribution on full bases of every rank- matroid. When tested through induced -element independent sets, the soundness is
This gives soundness when , and when . Earlier results treat truncations of arbitrary matroids and full bases of certain linear matroids [7]. The conclusion here applies to full bases of every matroid.
Exact agreement on Grassmannian posets. Our work also gives exact agreement expansion between any two layers of sparse Grassmannian posets under one-sided spectral expansion. For assignments to -dimensional spaces tested through -dimensional spaces, the soundness is when the required spectral gaps are bounded below, where is the field size. In particular, we obtain exact agreement on two consecutive layers with soundness .
Earlier work of Dikstein and Dinur [7] gives approximate agreement over complete Grassmannians under a local distance guarantee and a separation between the two layers. Exact agreement is also known for assignments from suitable lifted affine-invariant codes [9]. Our theorem gives exact agreement for arbitrary local assignments and applies to sparse families satisfying the spectral assumptions. We further obtain constant soundness for approximate agreement without a local distance guarantee.
Stronger agreement under a local distance guarantee. If we consider posets where the assignments come from local codes whose distinct restrictions have large distance on every tested faces then we get stronger soundness of agreement expansion. Specifically, when we consider assignments to subspaces of the Grassmannian complex that come from a code with a large distance, the soundness of exact agreement can be improved from to . Thus the soundness no longer grows with the separation between the two layers. For the general improved agreement expansion when assignments come from a code see Theorem 18.
Applications to locally testable codes. Our exact agreement theorem is a key ingredient in the companion work of Liu and Pham [16], which constructs locally testable codes from sparse Grassmannian posets. The construction starts with a family of local codes, one on each -dimensional space in the poset. The lifted code consists of global assignments whose restriction to every such space belongs to the corresponding local code. Suppose that each local code is locally testable by sampling an -dimensional subspace. Under the spectral expansion and local-code assumptions of [16], the lifted code is then locally testable by these same local tests. Thus local testability on the -dimensional spaces gives global local testability using only the subspaces in the sparse poset.
Exact agreement is crucial in this argument: it gives a global assignment whose restrictions coincide with the local codewords on most -dimensional spaces, and hence satisfy the corresponding code constraints exactly. This is the consistency step in the companion paper's local-to-global argument. Our theorem applies between any two layers, including consecutive layers, so this step does not require a large separation between and . Moreover, under the local distance guarantee, the agreement soundness is , independently of . Both the freedom to use nearby layers and this quantitative bound are important for passing from the local tests to a test of the lifted code.
The agreement test and its associated walks. Let be a family of -element subsets of a finite set , with distribution , and let be a rule for sampling an -element subset of , where . Let denote the induced distribution on the -element subsets obtained by sampling and then according to . Let denote the conditional distribution of given , so that
The agreement test first samples , then samples independently from , and compares and . Its rejection probability and the distance from a global assignment are as defined above.
Let . We assume that each element of a top face is sampled with the same probability, and that the following variance bound holds: for every of positive mass,
These assumptions hold for uniform subface sampling in every downward-closed simplicial or Grassmannian poset. Indeed, symmetry within gives equal inclusion probabilities for all elements and for distinct elements. Hence, writing ,
For an element , the down-up walk in the link of starts at a top face containing , samples according to conditioned on , and then samples according to . Denote its transition operator by . It is reversible with stationary distribution
Spectral gap. Let be the spectral gap of this random walk, so that for every real-valued function on the top faces containing ,
Let be a common lower bound on over elements of positive marginal mass. In a simplicial complex, this is the down-up walk in the link of , when top faces have elements and tested faces have elements.
We are now ready to state our main result.
Theorem 1 (Main theorem; see Theorem 7). In the setup above, suppose that all the walks have spectral gap at least . Then, for every finite alphabet and every collection of local assignments, the exact agreement test has soundness at most
The theorem applies directly to the top layer. Applying known bounds on the walks in singleton links gives the consequences for one-sided simplicial expanders and full matroid bases discussed above.
In particular, in a one-sided local spectral expander, i.e. a simplicial complex where the second eigenvalues of the non-lazy walks in links of -element faces are bounded by , with and , the agreement test between the and -element faces has soundness
Grassmannian posets. Let be a down-closed family of linear or affine subspaces of a fixed ambient space over , with all maximal spaces of dimension . A distribution on these top spaces induces the lower distributions by choosing a uniform subspace of the desired dimension. We test assignments on the -spaces through -spaces, where . Here are dimensions of the relevant subspaces.
In the affine case, assignments are functions on the points of each affine space. In the linear case, we consider assignments on all vectors, as well as assignments on projective points, which are one-dimensional subspaces. Write
A linear -space has projective points, while an affine -space has points. In either point model, the uniform subspace sample satisfies the variance assumptions of the main theorem.
For assignments on all vectors of a linear space, we fix an ordering of the nonzero vectors on each projective line, and group their labels into one element of . Exact agreement on these coordinates is precisely agreement on all nonzero vectors, and the corresponding walks are the projective-point-conditioned walks. The origin belongs to every tested subspace. We therefore also use the unconditioned down-up walk, which samples and then above without fixing an element. Denote its spectral gap by .
Corollary 2 (Exact agreement on Grassmannians; see Corollary 13). Suppose the walks conditioned on an element have spectral gaps at least . The exact -agreement test has soundness at most , where
For assignments on all vectors of linear spaces, the soundness is at most , with the projective value of , provided .
In particular, when the required spectral gaps are bounded below by positive constants, the soundness is . This gives for consecutive layers and for .
One-sided local spectral expansion provides a sufficient condition for the required spectral gaps in a linear Grassmannian. For each subspace of dimension at most , consider the walk on one-dimensional spaces in the quotient link above , where the edge between distinct has weight proportional to the induced measure of their span . Let bound the second largest eigenvalue of all these walks. Theorem 14, from the companion paper [16], shows that for a sufficiently small absolute constant gives uniformly positive spectral gaps for the down-up walks used here.
We also show that we can obtain substantially better bounds if exact agreement is weakened to approximate agreement.
Corollary 3 (Approximate agreement; see Section 4.4). Suppose the walks conditioned on projective or affine points in Corollary 2 have spectral gaps bounded below by a positive constant. There is a global function such that
whenever
for any fixed . Here denotes the number of elements on which is defined. The implicit constant depends only on and the spectral gap bound.
Assignments from local codes. Suppose each belongs to a local code . The local distance guarantee at rank means that, for every tested face , any two distinct assignments in
differ on at least a fraction of .
Corollary 4 (Improved exact agreement; see Corollary 22). Let be a down-closed linear Grassmannian, with assignments on all vectors and local distance at least on the tested -faces, where . Suppose
For each , assume that the unconditioned down-up walk through -faces and all such walks conditioned on a projective point have spectral gaps at least . Then the exact -agreement test has soundness .
1.2 On our non-polarity based proof technique
Our proof centers around two ideas: non-polarity of the induced distributions on tested faces, and a random exposure argument to detect deviations from the global majority function. At each element, this function takes a most frequent label, with ties broken arbitrarily. Let be the distribution of for a random parent of . Its non-polarity is
where are independent. Thus . We call a distribution polar when most of its mass lies on a single assignment. The proof relates deviations from the global majority function to disagreement between local assignments on their common tested face.
To obtain this relation, we use a random exposure argument. We give each element an independent exponential clock of rate one and add an independent stopping clock of rate . Expose the elements in clock order until the first disagreement with the majority function or the stop. If an assignment has errors, each error is recorded with probability . We construct a vector associated with the assignment using the square roots of these probabilities. Any label different from the chosen majority label has conditional probability at most among the top faces containing the corresponding element. This gives an initial lower bound on variance of the vectors, which the spectral gap turns into disagreement between the vectors above a tested face.
We compare this exposure with one performed inside the tested face, with stopping rate . Two assignments that agree on the tested face give identical local witness distributions, so rejection bounds the disagreement between the local vectors. We then show that the local exposures inside tested faces give a good approximation to the global exposures, thus giving an upper bound on the vectors above tested faces. By choosing the stopping rate appropriately, we then obtain the agreement bound. The full argument is given in Section 3.
Previous methods to derive agreement testing typically use the small rejection probability of the agreement test to define various local global functions that mostly agree with the assignments in their vicinity. Then they use sampling properties to glue the local global functions into a single global function that mostly agree with local all views. Thus, previous methods rely on few disagreements to find a global function that is mostly agreeing with the various local views. To run this approach, one usually needs to require further assumptions (e.g. additional layers above in the complex).
Organization. After introducing some preliminaries in Section 2, we prove the main theorem, giving the soundness of the agreement test under one-sided spectral expansion, in Section 3. In Section 4, we utilize local-to-global results to obtain agreement testing corollaries in local spectral expanders, yielding applications on bases of matroids and Grassmannian posets. Finally, in Section 5, we show a general result yielding improved agreement expansion under local distance guarantee, with application to the Grassmannian setting.
AI Statement. ChatGPT was used for proofreading, minor edits and improvement in exposition.
2 Preliminaries
In this section, we introduce the formal setup and notations for use in the rest of the paper.
Throughout, is a finite ground set and is a finite alphabet. For functions on the same domain, write
We write when . All probabilities and conditional expectations are taken with respect to the measures specified below; faces of zero mass are omitted.
2.1 Agreement and local distance
An assignment instance is a collection , where . The -agreement test samples , then independent parents from conditional on containing , and checks equality on . Its rejection probability is
We omit the subscript when the tested layer is fixed. The sampled face may be a proper subset of .
Definition 5 (Agreement expansion). The exact -agreement test has soundness if every instance admits a global function such that
It has -approximate soundness if every instance admits such that
Both conclusions use the rejection probability of the exact equality test.
Write . The agreement expansion constant is the reciprocal of the best soundness constant. We often use coordinatewise majority as a global assignment: for every , choose a most frequent value of under , breaking ties arbitrarily.
We also allow each to belong to a prescribed family . The restricted-distance promise at rank is that, for every , any two distinct assignments in
have Hamming distance at least . This promise concerns the restrictions from all parents of .
2.2 Layered posets and their walks
For our typical applications, the set corresponds to the top-dimensional faces of a layered poset, which also determines the sampling rule of Section 1.1.
Let be a layered poset of subsets of , ordered by containment, with . Suppose every contains exactly faces of . A distribution on induces the measure
We assume that these measures are coherent: for , sampling a uniform j-face of and then a uniform i-face gives a uniform i-face of . Equivalently,
Down-closed simplicial and Grassmannian complexes have this property.
For a fixed tested layer , the earlier setup is recovered by taking , , , and . The sampled face has distribution , and, for ,
with both kernels zero otherwise. Thus the down-up walk is . At stationarity, conditional on , the two parents are independent samples from , as in the agreement test.
For any two layers , define the up and down operators by
These are the conditional averages associated with the same sampling rule: averages over a parent and over a surface. They are adjoint in the corresponding weighted inner products. The down-up walk on is reversible with stationary measure . Let be its spectral gap. In particular, is the walk above, with spectral gap . The following consequence will be useful for comparing conditional averages at different layers.
Claim 6. For ,
Proof. After subtracting the mean, adjointness gives
The main theorem uses the walks from Section 1.1, obtained by conditioning the downward step on . Starting at , we sample conditional on containing , and then sample from . If the inclusion probability
is independent of the parent containing , then is reversible with stationary measure .
These conditioned walks can be studied in links. For , the link consists of the faces containing , with removed and with the induced conditional measure. In a simplicial complex this reduces ranks by ; in a linear Grassmannian we use the quotient by the subspace , reducing dimensions by . In particular, if is the simplicial link of , then is its down-up walk and has spectral gap .
3 Agreement from polarity
3.1 Exact agreement from regularized polarity
We will now prove the main result of the paper, Theorem 1, restated below in its precise form.
Theorem 7. Let be a family of -element sets with distribution , and let downward kernel sample -element sets . Suppose , let , and define as the kernel which samples conditional on . Assume the following.
- For each and every ,
- For every and , writing and , we have
- For every element of positive marginal mass, the chain on top sets containing that samples downward conditioned on and then samples upward from has spectral gap at least . Its stationary measure is .
For any finite alphabet and local functions , let
where has its induced marginal and are independent samples conditional on .
Then the coordinatewise majority function satisfies
For a distribution on assignments, we define its non-polarity as , the probability that two independent samples differ. We are interested in the non-polarity of the distributions of assignments induced on over , and our main goal is to use non-polarity measure to connect the disagreement probability of local assignments with the majority and the rejection probability of the agreement test. In the proof, we work with a softer weighted version of non-polarity (see (4)), with weights roughly corresponding to the discrepancy of assignments from the global majority. Via spectral expansion, we lower bound by a suitable regularized version of the disagreement probability (between and the majority restricted to ).
Our main motivation for the regularized quantities comes from the following random exposure process. We give each element a rate-one exponential clock and add an independent stopping clock of rate . Expose elements in clock order until the first error (discrepancy from the majority) or the stop. If an assignment has errors, each error is the output with probability , and the exposure finds an error with probability . To connect to the agreement test using the smaller faces , we run the same exposure only on the elements of , with a modified stopping rate. The random exposure on defines a local version of the non-polarity , which we show via the variance bound, to be close to . Furthermore, the local exposure on only depends on the restriction of assignments to , and thus for which agree on , they yield identical first error distribution. This shows an upper bound on in terms of the agreement test, which yields the desired result.
Proof. Choose to maximize , breaking ties arbitrarily. Put
For a > 0, define
Thus is the probability that the stopped exposure finds an error between and . For each and , define for containing
Thus is the square root of the probability that the exposure on outputs the error witness . Since differs from the chosen majority label, . By an application of Cauchy-Schwarz inequality,
Consequently . The spectral gap for the conditioned walks therefore implies
Let
We have . Summing (3) over element-label pairs and using yields
Let , so that . is a random variable that depends on both and that is counting the number of errors in from the assignment on . Run the same exposure on the elements of , with rate-one element clocks and stopping rate . Let be the distribution of the first error witness with , i.e. corresponds to the element with smallest clock time with , with outcome if the stopping clock rings before any error is exposed. For and ,
Define
Observe that whenever . Moreover,
On an accepted pair, , so the local witness distributions and , and hence the associated , are identical. On a rejected pair, we have . Hence
Finally, we connect and . Let . For and ,
Using (1) and , we obtain
Therefore
Conditional independence of on gives
Hence,
by using (6), and (7).
Combining with (5), we obtain
Since a nonzero is at least one, . Then, by choosing ,
Corollary 8 (Deviation on the test face). Under the hypotheses of Theorem 7, we have
Proof. By an application of Jensen's inequality,
Since is an integer, . Substituting and proves the corollary.
3.2 An average Hamming bound
In this section, we give a simple argument to show that for a typical face , is small. We note that for the soundness parameter of the exact agreement test, in contrast to the result in the earlier subsection, this simple argument gives a significantly worse bound (dependent on the size of the top face). We include it as it is useful for approximate agreement results.
Theorem 9. Let the top faces have size and the test faces size . Suppose that for each element x
is positive and independent of the parent containing . Assume that every stationary top-test-top chain conditioned on an element has spectral gap at least , and put . For every finite-alphabet assignment, the coordinatewise majority function satisfies
Consequently,
If for every element, then
Proof. Let be the distribution of a uniform element of the sampled H, and write
Apply the spectral gap assumption, we obtain
Therefore the expected normalized Hamming disagreement satisfies
Since and
the absolute-error estimate follows. A nonzero Hamming distance is at least one, and Markov's inequality at threshold gives the desired conclusions.
4 Applications
4.1 One-sided local spectral expanders
A pure simplicial complex of rank is the downward closure of a family . We equip with a probability distribution and all lower layers with its induced measures. Thus ranks in this paper count vertices. For , let be an upper bound on the second largest eigenvalue of the non-lazy walk on the graph of every -face link.
The within-face sampling assumption of Theorem 7 follows immediately from the hypergeometric variance formula. If , , and is a uniform -subset of , then, with ,
The relation between local spectral expansion and high order walks was developed in [1, 13, 15]. Related local-to-global arguments underlie the theory of spectral independence [2] and its applications to sampling [5, 12]. We use the following local-to-global walk estimate [6, Fact A.8 and Theorem A.9].
Theorem 10 (Local-to-global walk bound). For ,
Corollary 11. Suppose and . Then the exact -agreement test has soundness
Its -approximate soundness is .
Proof. For , for a constant . Hence . The same bounds hold for the products in each singleton link. Applying Theorem 10 in that link gives
When , the conditioned walk is an independent refresh and has spectral gap 1. The exact conclusion now follows from Theorem 7 with . The normalized Hamming estimate in Theorem 9 and Markov's inequality give the approximate conclusion.
In particular, if for a fixed , the exact soundness is for , and for adjacent layers . For Ramanujan complexes with local spectral bound , the same conclusions hold when for a sufficiently large absolute constant [10].
4.2 Full bases of matroids
The independence complex of a matroid has one-sided local spectral bounds [3]. As a consequence of Theorem 7, we obtain the following corollary.
Corollary 12 (Agreement on matroid bases). Let be the uniform distribution on the bases of a rank- matroid, where . For , the exact -agreement test has soundness at most
In particular, its soundness is for , and at most for .
Proof. For every nonloop , the link is the independence complex of the contraction by . Its down-up walk has spectral gap at least [1, 3]. Substituting this bound and in Theorem 7 gives (9).
4.3 Grassmannian posets
We now apply Theorem 7 to Grassmannian posets. Let be a down-closed family of linear or affine subspaces over , with all maximal spaces of dimension . We put a distribution on the -spaces and sample a uniform -space inside each of them, where . The alphabet is arbitrary.
First consider assignments on projective points in the linear case and on affine points in the affine case. Recall that
is the number of projective points in a linear -space. Thus the sizes of the top and tested sets are in the projective case and in the affine case. As verified in Section 1.1, uniform subspace sampling satisfies both sampling assumptions of the main theorem.
Corollary 13 (Exact agreement on Grassmannians). Suppose the down-up walk conditioned on each projective point, or each affine point in the affine case, has spectral gap at least . Then the exact -agreement test has soundness at most
For assignments on all vectors of linear spaces, assume also that the unconditioned down-up walk has spectral gap . The soundness is then at most , with the projective value of .
Proof. The projective and affine conclusions follow directly from Theorem 7. For assignments on all vectors, group the labels on the nonzero vectors of each projective point into one label in . The rejection probability of this grouped test is at most . Applying the projective result gives a global assignment on the nonzero vectors. Choose its value at the origin by majority. If is the distribution of , the Poincaré inequality gives
Adding this probability to the projective bound proves the all-vector conclusion.
For fixed positive spectral gaps, the soundness is . We next obtain the required spectral gaps from one-sided local spectral expansion. For every -dimensional space , consider the graph on one-dimensional spaces in its quotient link, with the edge between distinct weighted proportionally to the induced measure of . Let bound the second largest eigenvalue of all these graphs. We use the following estimate from the companion paper [16].
Theorem 14 (Grassmannian walk bound, [16]). Let be a linear Grassmannian poset and . If , where is a sufficiently small absolute constant, then for ,
Applying this estimate in gives a constant spectral gap for the unconditioned walk. For , applying it in each one-dimensional quotient gives a constant spectral gap for every walk conditioned on a projective point. When , the conditioned walk is an independent refresh and has spectral gap 1. We therefore obtain the following consequences.
Corollary 15. Under the assumptions of Theorem 14, the exact -agreement test has soundness . For even , the exact -agreement test has soundness . These conclusions hold for assignments on projective points or on all vectors.
Proof. Apply Corollary 13 with the constant spectral gaps above.
We also record a simple estimate for restrictions to linear subspaces, used in Section 5.
Lemma 16 (Linear subspace avoidance). Let and . If is a subset of a linear -space with , then a uniform -subspace satisfies
Proof. If , the probability is zero. Otherwise expose a uniform flag . Conditional on , choose a uniform and put . The event requires , which has probability
Iterating proves the claim.
4.4 Approximate agreement
We can obtain substantially better soundness if errors on a small fraction of each top face are allowed. The next corollary gives constant soundness when this fraction is at least the inverse size of a tested face, provided the spectral gaps are bounded below by a positive constant.
Corollary 17. Under the hypotheses of Theorem 7, let g be its majority function. Recall that the top faces have N elements, the tested faces have n elements, and . Put
For every ,
Proof. Fix and write , , and . By the sampling assumptions,
Thus, whenever , Cauchy–Schwarz gives
Averaging over K and applying Corollary 8, we obtain
which proves the result.
For fixed positive spectral gaps, the -approximate soundness is therefore whenever , for any fixed . In particular, it suffices that
for simplicial complexes, for affine Grassmannians, for projective Grassmannians.
For assignments on all vectors of a linear space, apply the corollary to the assignments on projective points constructed in the proof of Corollary 13. Define by the resulting majority labels on the nonzero vectors, and choose arbitrarily. If and , then the number of projective points whose labels disagree is at least
Applying the corollary with tolerance gives
Thus the same threshold , with fixed , gives constant approximate soundness for all-vector assignments. Under the assumptions of Theorem 14, the sufficient tolerances are therefore of order for and for .
5 Agreement under a local distance guarantee
In this section, we prove a general agreement theorem under a local distance guarantee. The main idea is that, under this setup, we can pass from the tested layer to an auxiliary layer on which a nonempty disagreement is easier to detect. For linear Grassmannians, this improves the soundness from to , independently of the separation between the two layers.
Fix the top layer k of the poset. For each rank s < k, define
Equivalently,
For uniform subface sampling in downward-closed posets,
Now fix the tested layer . For , let consist of with the following property: for every and every satisfying ,
Theorem 18. Let with . Suppose that, for each , the local assignments admit a global assignment satisfying
where is the rejection probability of the test. If distinct restrictions of the local assignments to every -face have relative distance at least , then
Proof. Let
Then . If , the definition of gives
Thus any outside have restrictions at distance less than on their common -face. The distance guarantee forces these restrictions to agree. As such,
On the other hand, whenever , a random r-face detects this disagreement with probability at least . Therefore
Combining the two bounds proves the theorem.
The deviation bounds (15) follow from our non-polarity argument. Suppose that, at each , the sampling assumptions of Theorem 7 hold with , and all element-conditioned down-up walks have spectral gap at least . Then , and Corollary 8 gives
Thus Theorem 18 gives an explicit soundness bound in terms of and the two spectral gaps. When the spectral gaps are bounded below by a positive constant, it gives soundness , compared with from applying the deviation bound directly at the tested layer. We may minimize (16) over all auxiliary ranks in satisfying the distance guarantee.
We now apply the theorem to linear Grassmannians. The next two concentration bounds verify the hitting property defining ; we then connect the distance guarantee from the tested layer to the auxiliary layer. In the following lemmas, denotes a linear space of dimension j, and assignments are defined on all its vectors.
Lemma 19. Let , let , and put . Suppose has size at least . Then
In particular, if .
Proof. The intersection has dimension at least . By invariance under linear automorphisms of , a uniform -subspace of this intersection is uniform among the -subspaces of . Avoidance by implies avoidance by that subspace. The flag argument of Lemma 16, applied inside , bounds this probability by .
Lemma 20. Let and , with , and put . Then
In particular, if .
Proof. If , every linear subspace meets . Otherwise, for ,
Covariance terms corresponding to vectors on different projective lines are nonpositive. Each vector has at most q - 2 other vectors on its line, so
Cauchy-Schwarz gives , proving the claim.
Lemma 21. Suppose distinct restrictions of the local assignments to every h-face have relative distance at least . Then their distinct restrictions to every r-face, , have relative distance at least .
Proof. Let be a nonempty disagreement set. If contains a nonzero vector , sample an -subspace containing . At most vectors of lie in span, and each other vector has conditional inclusion probability
Every such restriction differs, so
The case follows directly from the hypothesis. If , unconditioned sampling gives the same bound with additive term .
Corollary 22. Let be a down-closed linear Grassmannian with assignments on all vectors. Suppose distinct restrictions to each tested -face have relative distance at least , where , and
For each , assume that the top--top walk and every such walk conditioned on a projective point have spectral gaps at least . Then the exact test has soundness .
Proof. For each , group the nonzero vectors on each projective line as in Corollary 13. Apply Corollary 8 to these grouped assignments, and choose the value at the origin by majority. The origin estimate in Corollary 13 adds at most . Hence (15) holds with
Set and . The assumed threshold gives , so Lemma 21 gives . It also gives , so Lemma 20 implies . Finally,
Theorem 18 therefore gives
The argument in Lemma 19 also proves the conclusion under the simpler sufficient condition .
References
[1] Vedat Levi Alev and Lap Chi Lau. Improved analysis of higher order random walks and applications. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2020, Chicago, IL, USA, June 22-26, 2020, pages 1198–1211. ACM, 2020.
[2] Nima Anari, Kuikui Liu, and Shayan Oveis Gharan. Spectral independence in high-dimensional expanders and applications to the hardcore model. SIAM Journal on Computing, 53(6):FOCS20-1-FOCS20-37, 2024. doi:10.1137/20M1367696.
[3] Nima Anari, Kuikui Liu, Shayan Oveis Gharan, and Cynthia Vinzant. Log-concave polynomials II: high-dimensional walks and an FPRAS for counting bases of a matroid. In Moses Charikar and Edith Cohen, editors, Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC 2019, Phoenix, AZ, USA, June 23-26, 2019, pages 1–12. ACM, 2019.
[4] Sanjeev Arora and Madhu Sudan. Improved low degree testing and its applications. In Proceedings of the 29th Annual ACM SIGACT Symposium on Theory of Computing, STOC, USA, 1997, pages 485–495. ACM, 1997.
[5] Zongchen Chen, Andreas Galanis, Daniel Štefanković, and Eric Vigoda. Rapid mixing for colorings via spectral independence. In Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1548–1557. SIAM, 2021. doi:10.1137/1.9781611976465.94.
[6] Zongchen Chen, Kuikui Liu, and Eric Vigoda. Optimal mixing of Glauber dynamics: Entropy factorization via high-dimensional expansion. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, pages 1537–1550, 2021. Full version: arXiv:2011.02075.
[7] Yotam Dikstein and Irit Dinur. Agreement testing theorems on layered set systems. In David Zuckerman, editor, 60th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2019, Baltimore, Maryland, USA, November 9-12, 2019, pages 1495–1524. IEEE Computer Society, 2019.
[8] Yotam Dikstein, Siqi Liu, and Avi Wigderson. Sparse abelian high dimensional expanders. In 40th Computational Complexity Conference (CCC 2025), volume 339 of LIPIcs, pages 7:1–7:98. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.CCC.2025.7.
[9] Irit Dinur, Prahladh Harsha, Tali Kaufman, and Noga Ron-Zewi. From local to robust testing via agreement testing. Theory of Computing, 18(12):1–25, 2022.
[10] Irit Dinur and Tali Kaufman. High dimensional expanders imply agreement expanders. In Chris Umans, editor, 58th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2017, Berkeley, CA, USA, October 15-17, 2017, pages 974–985. IEEE Computer Society, 2017.
[11] Irit Dinur and David Steurer. Direct product testing. In 2014 IEEE 29th Conference on Computational Complexity, pages 188–196. IEEE Computer Society, 2014. doi:10.1109/CCC.2014.27.
[12] Weiming Feng, Heng Guo, Yitong Yin, and Chihao Zhang. Rapid mixing from spectral independence beyond the Boolean domain. ACM Transactions on Algorithms, 18(3):28:1–28:32, 2022. doi:10.1145/3531008.
[13] Tali Kaufman and David Mass. High dimensional random walks and colorful expansion. In 8th Innovations in Theoretical Computer Science Conference (ITCS 2017), volume 67 of LIPIcs, pages 4:1–4:27. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.ITCS.2017.4.
[14] Tali Kaufman and David Mass. Local-to-global agreement expansion via the variance method. In Thomas Vidick, editor, 11th Innovations in Theoretical Computer Science Conference, ITCS 2020, January 12-14, 2020, Seattle, Washington, USA, volume 151 of LIPIcs, pages 74:1–74:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2020.
[15] Tali Kaufman and Izhar Oppenheim. High order random walks: Beyond spectral gap. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2018), volume 116 of LIPIcs, pages 47:1–47:17. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2018. doi:10.4230/LIPIcs.APPROX-RANDOM.2018.47.
[16] Siqi Liu and Huy Tuan Pham. Locally testable codes from Grassmann posets. Manuscript, 2026.
[17] Milena Mihail and Umesh Vazirani. On the expansion of 0-1 polytopes. Technical Report TR-3-89, Aiken Laboratory, Harvard University, 1989.
[18] Dana Moshkovitz. Sliding scale conjectures in PCP. SIGACT News, 50(3):25–33, 2019. doi:10.1145/3364626.3364632.
[19] Ran Raz and Shmuel Safra. A sub-constant error-probability low-degree test, and a sub-constant error-probability PCP characterization of NP. In Proceedings of the 29th Annual ACM SIGACT Symposium on Theory of Computing, STOC, NY, USA, 1997, pages 475–484. ACM, 1997.
[20] Ronitt Rubinfeld and Madhu Sudan. Robust characterizations of polynomials with applications to program testing. SIAM J. Comput., 25(2):252–271, 1996.