betaFeedback

WorksComputer Science

Merkle Trees Minimize Verifier Complexity in the ROM

Abstract

Nearly five decades after their introduction, Merkle trees remain the most efficient hash-based vector commitments. They compress a vector x∈{0,1}nx \in \{0,1\}^n into a commitment whose size is independent of nn, such that a verifier can open any bit xix_i using log⁡n\log n hash evaluations. The security of the scheme (intractability of finding two distinct openings for a given bit using the same commitment) follows from the collision resistance of the hash function. The verifier's runtime complexity is a bottleneck in many key applications of vector commitments, including SNARKs, credentials, and authenticated dictionaries. As such, a longstanding open question has been whether it is possible to construct hash-based vector commitments where the verifier makes a sublogarithmic number of hash evaluations. We prove that sublogarithmic verifier complexity is impossible to achieve through black-box use of a hash function; we not only rule out constructions from collision resistant hash functions, but in fact show that commitment schemes with sublogarithmic verifier complexity are unachievable in the random oracle model. In particular, any vector commitment with deterministic verifiers has verifier query complexity Ωθ(log⁡n)Ω_θ(\log n), where θθ is the input length of the random oracle. This bound is matched up to constant factors by high-arity Merkle trees. The key technical lemma in our proof is a disjoint product lemma, which can be viewed as a computational analog of the van den Berg-Kesten-Reimer (BKR) inequality. We believe this lemma is of independent interest, and in particular may be useful for showing other lower bounds and separations in the random oracle model.

Introduction

The Merkle tree [36] is arguably the most ubiquitous cryptographic data structure. Merkle trees are widely used in practice, in Git,1 Google wallet,2 Bitcoin,3 and internet browsers for certificate transparency.4 They are also a fundamental building block used in a variety of cryptographic protocols, including succinct non-interactive arguments (SNARKs), memory checkers, anonymous credentials, and registration-based encryption. In these applications, Merkle trees provide the functionality of a vector commitment (VC) or a cryptographic accumulator.5

A vector commitment produces a commitment cc to a given vector x∈{0,1}nx \in\{0,1\}^{n} and nn witnesses certifying xix_i for each component i∈[n]i \in[n]. A verifier, given a witness, can check whether a claimed index ii and value xix_i are consistent with the commitment. Position binding ensures that forging a witness for the wrong entry xi′≠xix'_i \ne x_i with respect to cc is computationally infeasible.

A Merkle tree uses a hash function R:{0,1}θ→{0,1}λ\mathcal{R} : \{0,1\}^{\theta} \to\{0,1\}^{\lambda}, often modeled as a random oracle or truly random function. The Merkle tree places the nn components at leaves, and each internal layer is formed by concatenating pairs in the previous layer and hashing them. The eventual root of the tree is the commitment, and the witness of xix_i consists of the sibling nodes along its path to the root (shown in Figure 1). The verifier checks this witness by recomputing these hashes and checking that each matches its parent; breaking position binding requires finding a collision. In particular, any attacker making a polynomial number of queries has negligible probability of violating position binding, even if it uses unbounded computation alongside these queries.6

Figure 1. A binary Merkle tree over x∈{0,1}nx \in\{0,1\}^n. Each internal node applies R\mathcal{R} to the concatenation of its two children. Highlighted in orange is the witness of x1x_1, consisting of the siblings along its path to the root.

In applications, nn is typically quite large: the vector is, for example, a PCP or the set of all internet certificates. As the verifier is often a weak client, the commitment size and the verifier runtime should be far smaller than O(n)O(n). In the random oracle model, this runtime is measured in the number of oracle queries the verifier makes. For Merkle trees, the commitment size is O(λ)O(\lambda), and the verifier makes log⁡n\log n queries (the length of the leaf-to-root path). Improving this verifier complexity to be sublogarithmic is a longstanding open question.

Interestingly, verifier complexity independent of nn is possible if one is willing to use algebraically structured assumptions. In particular, O(λ)O(\lambda)-size commitments with O(λ)O(\lambda)-time verifiers7 are enabled by RSA-based and pairing-based constructions [7, 38]. Nonetheless, hash-based constructions are favored in practice as they offer plausible post-quantum security, avoid trusted setup (e.g., sampling an RSA modulus), and can in fact be faster: benchmarks [31] show that Merkle verification is 400×\times faster than Libert-Yung’s [LY10] O(1)O(1)-time verification for 1,024-entry vectors. Despite what the asymptotics suggest, log⁡(n)\log(n) hash evaluations are often cheaper in practice than a constant number of exponentiations and pairings.

Motivated by these practical advantages, a longstanding open question has been constructing more verifier-efficient vector commitments using only hash functions. However, better schemes have remained elusive even in the random oracle model, where the hash is modeled as a random function R:{0,1}θ→{0,1}λ\mathcal{R} : \{0,1\}^{\theta} \to\{0,1\}^{\lambda} that serves as a perfect hash function (and in particular is easily shown to be collision resistant). We show that this efficiency barrier is fundamental:

Merkle trees minimize verifier complexity in the random oracle model.

That is, we show a lower bound on the number of verifier queries for any vector commitment or accumulator with a deterministic verifier in the random oracle model. This serves as a lower bound on constructions based on collision-resistant hash functions as well. Specifically, we show:

Let θ\theta be the random oracle input length. For any commitment size ∣c∣=O(nε)|c| = O(n^{\varepsilon}) for some constant ε<1\varepsilon< 1, for sufficiently large nn relative to λ\lambda, the number of verifier queries per witness must satisfy

k=Ω(log⁡θn).k = \Omega(\log_{\theta} n).

This bound is matched up to constant factors by a high-arity Merkle tree. One can replace the binary tree with a tree of arity θ/log⁡2θ\theta/\log^{2}\theta by truncating the random oracle outputs to log⁡2θ\log^{2}\theta bits, allowing us to pack θ/log⁡2θ\theta/\log^{2}\theta concatenated children into each query (see Figure 2). Therefore, such high-arity trees achieve verifier query complexity Θ(log⁡θn)\Theta(\log_{\theta} n).

Figure 2. A Merkle tree of arity d=θ/log⁡2θd=\theta/\log^2\theta. Oracle outputs are truncated to log⁡2θ\log^2\theta bits, so dd children fill one θ\theta-bit query. Highlighted in orange is the witness of x1x_1, consisting of the siblings along its path to the root.

Note that although Ω(log⁡θn)\Omega(\log_{\theta} n) is constant if nn is upper bounded by a fixed polynomial, the constant depends on the degree of that polynomial. Therefore, there is no constant kk that uniformly bounds the verifier complexity for all vector lengths. For example, for θ=2λ\theta= 2\lambda, n=λdn = \lambda^{d}, and commitment size O(λ)O(\lambda), the verifier must make d−1d - 1 queries.

Our techniques

Our proof is surprisingly simple, combining two ingredients: a compression argument and a new technical disjoint product lemma. We give a brief overview here and explain further in the technical overview (§ 3).

Compression arguments are ubiquitous throughout combinatorics and TCS; they are used to give simplified “operational” descriptions of otherwise complicated probabilistic arguments. In the context of black-box separations in cryptography, they were first used in influential work of Gennaro and Trevisan [24]. The idea is to use the object whose complexity we wish to lower bound to construct a communication protocol between Alice and Bob. If this object is too efficient, the protocol allows Alice to send fewer bits than is information theoretically possible.

In our case, Alice wishes to communicate a uniformly random vector x∈{0,1}nx \in\{0,1\}^{n} to Bob, using a vector commitment whose verifier makes kk random oracle queries per witness. Alice sends Bob a commitment to xx along with a small set of queries from which Bob can derive all of the verifier’s queries. Bob tests the verifier on each possible (i,b)∈[n]×{0,1}(i,b) \in[n] \times\{0,1\} using the queries he derives. Position binding ensures that he recovers xx based on the tuples the verifier accepts. If Alice sends fewer than nn bits in total, we arrive at our information theoretic contradiction.

However, a priori, there is no reason why we should expect that a small set of queries allows Bob to derive all verifier queries—there are up to knkn total queries across the nn indices, far greater than n/(θ⋅query length)n/(\theta\cdot\text{query length}). The bad case for our communication protocol is where the witnesses’ sets of queries have low overlap and it is difficult for Bob to guess these query sets himself.

This is where our second ingredient, the disjoint product lemma, enters. In the most extreme bad case, the queries needed to “open” all the bits xix_i successfully are pairwise disjoint, and hence sending them all would cost knθkn^\theta bits. However, recall that Alice needs to somehow construct a commitment which would allow Bob to open any individual bit successfully; in order to do this, she must essentially find these nn disjoint witnesses at the start. We will argue, using our disjoint product lemma, that if it is difficult for Bob to find these disjoint witnesses individually himself, then it must be extremely difficult for Alice to find all of these disjoint witnesses simultaneously in the first place. Crucially, the hardness obtained from our lemma (where “hardness” is quantified by the probability that a bounded query procedure finds many disjoint witnesses) will be exponential in the number of disjoint witnesses found, which will allow us to union bound over Alice’s effective advice. We hence conclude that this bad case occurs with negligible probability. Of course, this extreme case does not exhaust all possible situations in which the total number of oracle queries needed to open all bits exceeds nn; our final argument will involve a more extensive case analysis, but this extreme case captures much of the difficulty of the problem.

We give a more detailed explanation of the lemma’s application in § 3 but state the lemma below:

Lemma 1.1 (Disjoint Product Lemma). Let X\mathcal{X} be a set, R:X→{0,1}λR:\mathcal{X}\to\{0,1\}^{\lambda} be a random oracle, and VRV^{R} be a deterministic verifier, which takes as input at most kk points q1,…,qk′∈Xq_1,\ldots,q_{k'}\in\mathcal{X}, queries R(q1),…,R(qk′)R(q_1),\ldots,R(q_{k'}) and then accepts or rejects. Let tt be an integer and suppose that any (Q+tk)(Q+tk)-query algorithm finds a verifying set to the verifier with probability at most η\eta. Then any QQ-query algorithm computes tt disjoint sets W1,…,WtW_1,\ldots,W_t, which are all accepted by the verifier, with probability at most etk⋅ηte^{tk}\cdot\eta^t.

The reader should interpret this as follows. Some algorithm seeks to identify portions of the oracle causing the verifier to accept (which we’ll call “solutions”) by making queries to the oracle. Lemma 1.1 says that if it is hard for query efficient algorithms to find one solution, then it is significantly harder for query efficient algorithms to find many solutions involving pairwise disjoint portions of the oracle; in particular the probability of finding tt disjoint solutions will decay exponentially in tt.

A highly related result is the van den Berg-Kesten-Reimer (BKR) inequality [51, 43], which is concerned instead with the existence of many disjoint solutions. In our terminology, the BKR inequality states that if a solution causing the verifier accept exists with probability η\eta (over the random choice of oracle), then tt disjoint solutions exist with probability at most ηt\eta^t. Although originally studied due to its applications to percolation theory, the BKR inequality and its variants have since been applied to several problems in theoretical computer science, including oracle separations in cryptography and relations between complexity measures of Boolean functions [30, 45]. In contrast to our lemma, the BKR inequality says nothing about solutions that exist but are computationally hard to find (recall that throughout this discussion, computation cost is measured by query complexity). Our result can be thought of as a kind of “computational analog” of the BKR inequality, which the authors believe is of independent interest. For our application of this lemma to vector commitments this algorithmic aspect is crucial; we are interested in events whose probability may be large (or even 1), but with the property that query-efficient algorithms are very unlikely to find a witness that the event holds. This situation is ubiquitous in the study of the random oracle model (and query complexity more generally), and hence we are optimistic that it may prove a useful tool for future random oracle algorithms and separations.

Lemma 1.1 also bears a strong resemblance to classical direct product theorems, which state that if no QQ-query algorithm can find a solution to VRV^{R} with probability more than pp, then for independent random oracles R1,…,RtR_1,\ldots,R_t, no QQ-query algorithm can find solutions to VR1,…,VRtV^{R_1},\ldots,V^{R_t} simultaneously with probability greater than ηt\eta^t [44, 21]. To compare this to our setting, we can imagine the tt separate oracles R1,…,RtR_1,\ldots,R_t as a single random oracle partitioned into tt parts; in the direct product theorem we want to bound the probability of finding a complete solution within each part. In Lemma 1.1 we have a more difficult task: we need to bound the probability of finding tt disjoint solutions, where the partition of the oracle into the tt parts containing each solution is not fixed in advance, but rather depends on the oracle and the query algorithm.

Unlike the BKR inequality and direct product theorems, which have no dependence on the number of queries made by the verifier, our bound in the disjoint product lemma pays a cost exponential in tktk. We show that without additional assumptions on the verifier or the parameter regime, this additional cost is necessary:

Lemma 1.2. For any α∈(0,1]\alpha\in(0,1] and tt sufficiently large, there exist a set X\mathcal{X} and a verifier VV that queries a random oracle R:X→{0,1}\mathcal{R}:\mathcal{X}\to\{0,1\} in at most k=log⁡O(1/α)(∣X∣)k=\log^{O(1/\alpha)}(|\mathcal{X}|) positions such that

ηt≥η1t⋅etk1−O(α)\eta_t \ge\eta_1^t \cdot e^{tk^{1-O(\alpha)}}

where ηt\eta_t denotes the maximum probability a poly⁡(k)\operatorname{poly}(k)-query algorithm succeeds at finding tt disjoint solutions and η1\eta_1 is the maximum probability that a 2kO(α)2^{k^{O(\alpha)}}-query algorithm succeeds at outputting a single solution.

Related work

Merkle trees were introduced by Ralph Merkle in his 1979 thesis [35 Chapter V.4: Tree Authentication], as a tool for constructing hash-based digital signatures. Specifically, Merkle describes his tree authentication protocol as solving the problem of committing to a long vector while providing quick authentication of each component. This is exactly the functionality of a vector commitment, though the primitive was formally defined decades later [13]. A Merkle tree also predates and provides the weaker functionality of an accumulator, also formally defined later [7].

Accumulators and vector commitments. Accumulators compute a short (typically, O(λ)O(\lambda) bits) digest of a large set and provide membership witnesses for each element. A verifier can check these witnesses in time sublinear in the set size. Accumulators were introduced by Benaloh and de Mare [7], who also gave the first algebraic construction, which is RSA-based. Later constructions offer improved functionality such as non-membership witnesses [16, 32, 38].

Vector commitments [13] extend the functionality of an accumulator to vectors. A witness certifies that a vector’s ithi^{\mathrm{th}} component is xix_i, and it is infeasible for an attacker to produce witnesses for two different symbols at the same index. A long line of work builds vector commitments from a variety of assumptions, seeking to minimize digest size, witness length, and verifier complexity, in addition to improved functionalities such as aggregation of witnesses for multiple indices [33 TAB⁺20, 23, 39].

A further extension of vector commitments that Merkle trees can be adapted to instantiate is the authenticated dictionary primitive [40 TBP⁺19, 50, 2 TFZ⁺22, 22]. This data structure commits to a key-value store, and each witness certifies the value for a key. Security requires that each key has at most one value.

Applications to SNARGs. Merkle trees are a crucial building block of succinct non-interactive arguments (SNARGs) in the random oracle model [6 AHIV17, 3 BCR⁺19]. Such objects allow a prover to convince a verifier that an instance belongs to a language. In one popular construction framework, the prover commits to a PCP proof of the statement using a vector commitment, typically a Merkle tree. The verifier then queries a subset of positions, and the prover returns these PCP symbols along with their witnesses. An application of Fiat-Shamir makes this non-interactive.

This framework is also applied to interactive oracle proofs (IOPs) rather than PCPs, where similarly the prover commits to oracles using a VC, and the verifier receives VC witnesses for its queries. Such hash-based SNARGs are among the most practically efficient and are used by Google for privacy-preserving age verification8 and by the cryptocurrency Starknet for proving transaction validity.9

Minimizing the verifier complexity is a primary goal of SNARGs. For constructions in this framework, a rough heuristic for the verifier complexity is

(complexity of VC verification)⋅(number of PCP or IOP queries)(\text{complexity of VC verification}) \cdot(\text{number of PCP or IOP queries})

Thus, vector commitments with improved verifier complexity are a natural direction toward constructing more efficient SNARGs. Indeed, Fenzi’s talk “SNARKs in practice” explicitly poses the open question:10

Are Merkle trees optimal as VCs in the ROM?

There, Fenzi also notes that hash-based SNARKs currently secure billions of dollars in blockchains. Our lower bound says that, within this framework, asymptotically better vector commitments cannot help: Merkle trees are already optimal. However, our bound does not rule out cleverer combinations of vector commitments and IOPs, or different construction paradigms altogether. Our overall understanding of the verifier complexity of SNARGs in the ROM is fairly limited. The strongest existing lower bound [26] exhibits a large gap with constructions and further assumes rETH and a nonstandard security notion called salted soundness. Proving stronger ROM-SNARG lower bounds under standard soundness is an interesting open question.

Lower bounds for authenticated data structures. There are many lower bounds in the literature, which differ from ours in terms of the data structure (e.g., accumulator), the model (e.g., the random oracle model), or the quantity lower bounded. The most closely related bound to ours is by Tamassia and Triandopolous [TT05], who show that a restricted class of “DAG hash-based” authenticated data structures require verifier complexity Ω(log⁡n)\Omega(\log n). This class contains Merkle trees but is fairly narrow, consisting of constructions whose oracle usage forms a DAG; verifier complexity is measured as a function of the number of queries and their in-degree.11

Others bound the number of times witnesses must change as elements are added to or deleted from an accumulator [37 CB23, 4, 41] but say nothing about the complexity of verifying these witnesses. There are similar lower bounds on the complexity of maintaining memory checkers as the memory changes [20, 8, 52]. Like our result, many of these lower bounds are shown using compression arguments, though they bound quantities orthogonal to verifier complexity.

Lower bounds in the random oracle model. Lower bounds in the random oracle model have been studied for several cryptographic primitives. Impagliazzo and Rudich [29] and Barak and Mahmoody [10] established a limitations on key agreement from random oracles. Barak and Mahmoody [9] proved a query-complexity lower bounds for one-time signatures. More recently, [14] improved the lower bound for signatures schemes with non-adaptive verifier, assuming a stronger security notion called salted soundness. This property was introduced for the sake of these lower bounds and, roughly speaking, requires security even against attackers who can resample the random oracle. Chiesa and Yogev [18] proved barriers to succinct arguments with low verifier query complexity, and Haitner, Nukrai, and Yogev [26] proved lower bounds on the proof length of SNARGs and subvector commitments under rETH.

Subvector commitments appear to be far stronger objects than vector commitments, enabling efficient proofs of any subset of indices. In contrast, our work establishes an unconditional lower bound on the verifier query complexity of vector commitments. Roughly translating their result to vector commitments, they show that each witness must be at least λ/log⁡n\lambda/ \log n bits long, assuming exponential-query security, salted soundness, and rETH. This bound is smaller than the length of a single random oracle input in our setting.

Amplification theorems. Hardness amplification via direct-product theorems has been extensively studied in theoretical computer science [42, 27, 28, 44, 21, 11] and cryptography [15, 19, 25, 17]. In particular, Canetti, Halevi and Steiner [15] established hardness amplification for weakly verifiable puzzles through independent parallel repetitions. Note that in our disjoint-product lemma the instances are not independent.

Technical Overview

The heart of the proof is a compression argument [24]. This argument involves two parties: Alice, who wishes to transmit a bit-vector to Bob using as few bits as possible. To obtain our lower bound, we will present a communication scheme where Alice uses a vector commitment to succinctly encode her vector. We will show that if this vector commitment’s opening proofs involve too few queries, Alice can transmit her vector in fewer bits than should be information theoretically possible.

Towards our communication scheme, let us start by examining how a vector commitment (VC) could be useful. Suppose we have a VC with λ\lambda-bit commitments12 to nn-bit vectors, for nn much bigger than λ\lambda. This gives Alice a way to compress vectors into shorter messages: for a vector x∈{0,1}nx \in\{0,1\}^{n}, its commitment c←Commit⁡(x)c \leftarrow\operatorname{Commit}(x) is only λ\lambda bits long. So let Alice begin by sending cc to Bob.

Now, Bob must somehow interpret this commitment cc. The VC naturally suggests a way to “decode” a commitment, using the verifier. In particular, for each position i∈[n]i \in[n]:

  • Completeness ensures that using xx, one can generate a witness πi\pi_i that causes the verifier to accept the correct bit: Verify⁡(c,i,xi,πi)=1\operatorname{Verify}(c,i,x_i,\pi_i)=1. We assume (without loss of generality for deterministic verifiers)13 that the witness consists of at most kk strings (q1,a1),…,(qk,ak)∈{0,1}θ+λ(q_1,a_1),\ldots,(q_k,a_k) \in\{0,1\}^{\theta+\lambda}, which are alleged random oracle input-output pairs.

  • Position binding requires that it is infeasible for any polynomial-time algorithm to find πi′\pi'_i causing the verifier to accept the wrong bit: for all probabilistic polynomial query A\mathcal{A}, generating πi′\pi'_i, Verify⁡(c,xi‾,πi′)≠1\operatorname{Verify}(c,\overline{x_i},\pi'_i)\ne1 with overwhelming probability.

Therefore, to decode, Bob just needs to find an accepting witness πi\pi_i for every index i∈[n]i \in[n]. As long as Bob makes a polynomial number of queries, position binding ensures that he will never stumble across an incorrect witness, and the bits accepted by the verifier are exactly those Alice chose.

The crux of the scheme is how Bob actually obtains these witnesses. It is not clear how he can find a witness knowing the commitment alone; in fact, for a standard Merkle tree, doing so requires exponentially many queries to the random oracle. Of course, our communication scheme assumes a VC with shorter witnesses than Merkle trees, but it is not obvious how this shortness helps Bob. Alice therefore must help Bob by sending some additional information, but she cannot afford to send all nn of these (kθ)(k\theta)-bit witnesses.

Alice’s task is much easier if the nn witnesses share many queries. This is true for standard Merkle trees: just the 2n2n queries in the tree comprise all nn of the (log⁡n)(\log n)-query witnesses. But Alice is given an *arbitrary VC, and its witnesses must have even higher overlap than Merkle trees: Alice can send Bob only O(n/θ)O(n/\theta) queries in fewer than nn bits.

Unfortunately, it is easy to come up with a contrived VC whose witnesses have many disjoint queries. Just append to each witness several randomly chosen dummy queries that the verifier ignores. But perhaps this seems like a silly counterexample, as Bob can fill in these queries on his own (with any value, since they are ignored), without Alice needing to send anything. Therefore, we can still hope that, setting aside such trivial queries that Bob can find on his own, there are at most O(n/θ)O(n/\theta) nontrivial queries among the nn witnesses.

Amazingly, this hope is true for all VCs where the verifier makes o(log⁡θn)o(\log_\theta n) queries to the random oracle. Specifically, suppose Bob maintains a table of queries he has made and their corresponding answers. Let pp be some hardness parameter that is polynomially bounded in nn, and say at some point during the protocol that the table is pp-hard if Bob’s best pp-query algorithm has at most 1/p1/p probability of finding a verifying witness for any component he does not yet know and pp-easy otherwise. Here, we fix the commitment and Bob’s current oracle table, and sample the remaining oracle answers uniformly at random.

Note that whenever Bob’s table is pp-easy, there exists a set of pp queries to the oracle that he can make to reveal a new bit xix_i with probability at least 1/p1/p, allowing him to make progress by himself. As such, the case we are worried about is where, after Alice has sent Bob some queries, the table is pp-hard and many honest witnesses have disjoint subsets of queries missing from the table. We call each uncertified index’s missing honest queries a residual set. Then we are stuck: Bob cannot fill in the witnesses himself, and disjointness means that sending all of these residual sets would cost Alice too many bits.

Fortunately, we show that there are few disjoint residual query sets as a function of the number of bits Alice has sent thus far. Specifically, the probability that Alice’s ℓ\ell-bit message leaves Bob with a pp-hard table and ℓ+t\ell+t disjoint residual sets to fill in is at most 2−t2^{-t}. Intuitively, if many disjoint sets are individually hard for Bob to find, finding them together is too hard even for the honest committer.

At first glance, it is difficult to relate Bob’s hardness in finding the witnesses to Alice’s. Considering Merkle trees again, there, Bob must solve a hard hash-preimage problem to find a witness given a commitment. For Alice, finding witnesses is easy, as she constructs the Merkle tree herself. The asymmetry is exactly that Alice chooses the commitment and her message as a function of the random oracle responses she receives; in contrast, Bob is given a commitment and then must find the witnesses.

That said, we are able to prove this by giving a hardness amplification lemma for finding disjoint solutions to a random oracle problem. Akin to classical direct product theorems, which related solving a problem over one oracle to solving it simultaneously over many independent oracles, we prove that it is exponentially harder to find tt disjoint solutions than a single solution. Intuitively, this should be expected as disjoint solutions ought to be independent of one another.

With this lemma in hand, given an ℓ\ell-bit message α\alpha consisting of a commitment and queries fixed independently of the random oracle, the best O(p)O(p)-query strategy finds tt pp-hard disjoint witnesses with probability at most 2Ω(−t)2^{\Omega(-t)}. We then relate this to the honest committer’s execution using a union bound. That is, for an advice string α\alpha let Bad⁡(α)\operatorname{Bad}(\alpha) denote the event that Bob’s table TT is pp-hard and the honest execution produces witnesses with disjoint residual sets under TT in O(p)O(p) queries. Our disjoint product lemma says exactly that Pr⁡[Bad⁡(α)]≤2−t\Pr[\operatorname{Bad}(\alpha)] \le2^{-t}. Now, the probability that the honest committer’s execution produces these disjoint witnesses is

∑α∈{0,1}ℓPr⁡[Alice’s message is α∧Bad⁡(α)]≤2ℓ⋅Pr⁡[Bad⁡(α)]≤2ℓ−t.\sum_{\alpha\in\{0,1\}^{\ell}} \Pr[\text{Alice’s message is } \alpha\land\operatorname{Bad}(\alpha)] \le2^\ell\cdot\Pr[\operatorname{Bad}(\alpha)] \le2^{\ell-t}.

We believe this disjoint product lemma (Lemma 6.1) is of independent interest, and we give a technical overview of it and its proof in § 3.2.

We now present the communication protocol in greater detail. Although Alice is the only party sending messages, and therefore she could send her message all at once, it will be helpful to view the protocol as occurring in rounds. Places where Alice sends messages are indicated in bold.

Setup phase. Alice and Bob agree on a hardness parameter pp that is slightly more than the number of queries made by the honest committer.

Vector sampling. Alice samples her vector, a uniformly random vector x∈{0,1}nx \in\{0,1\}^{n}, whose length nn is a large polynomial in the security parameter λ\lambda. Her goal is to transmit xx to Bob, by sending fewer than nn bits from this point on.

Sender round 0. Alice generates her commitment and witnesses: c,π1,…,πn←Commit⁡(x)c, \pi_1, \ldots, \pi_n \leftarrow\operatorname{Commit}(x). Each witness πi\pi_i consists of kk queries q1,…,qk∈{0,1}θq_1, \ldots, q_k \in\{0,1\}^{\theta}. Alice sends cc to Bob.

Receiver round 0. Bob initializes an empty table TT, where he will record the queries and responses he receives from the random oracle.

Bob then checks if TT is pp-easy given all information he has seen thus far: there is a pp-query strategy that succeeds in finding a witness for some uncertified index with probability at least 1/p1/p.14 If so, Bob runs this good strategy and records all queries’ input-output pairs in his table. If any such queries comprise a verifying witness, i.e.,

Verify⁡R(c,i,b,(qj1,…,qjk))=1\operatorname{Verify}^{R}(c,i,b,(q_{j_1},\ldots,q_{j_k}))=1

for some inputs (qj1,…,qjk)(q_{j_1},\ldots,q_{j_k}) in Bob’s table, we say ii is certified. He then checks whether this updated table is pp-easy given the additional queries he has made and repeats.

A simple bound ensures that with all but negligible probability, in Θ(p2⋅n2)\Theta(p^2 \cdot n^2) queries Bob either reconstructs the entire vector or arrives at a pp-hard table. We call this procedure “hardening Bob’s table.”

Sender round 1. Alice has been following along, making the same oracle queries as Bob, who is deterministic from her perspective. Therefore, she knows TT and which indices Bob has certified.

Alice now examines the uncertified indices S⊆[n]S \subseteq[n] and greedily selects a maximal set of honest witnesses whose remaining oracle queries are pairwise disjoint; call their indices S∗⊆SS^* \subseteq S. Maximality ensures that every other uncertified honest witness shares at least one query with this maximal set. Therefore, by sending all remaining queries of the honest witnesses of S∗S^*, Alice certifies S∗S^* and ensures that all uncertified indices have at least one query from their honest witness in TT. In general, we will preserve this invariant: after round ii, every index will either be certified or have at least ii queries from its honest witness in TT.

Sending these queries costs Alice up to k⋅∣S∗∣⋅θk \cdot|S^*| \cdot\theta bits. Therefore, Alice aborts if the number of indices whose sets of remaining queries are pairwise disjoint is too large: ∣S∗∣≥ℓ+λ|S^*| \ge\ell+\lambda, where ℓ\ell is the number of bits Alice has sent before the current round. Our disjoint product lemma ensures that Alice aborts with probability at most 2−λ2^{-\lambda}.

Receiver round i∈[k]i \in[k]. Bob receives some number of inputs in {0,1}θ\{0,1\}^{\theta} from Alice, queries them to the random oracle, and adds them and their outputs to his table. He notes which indices they certify; if Bob certifies the entire vector he outputs the bits the verifier accepts. Otherwise, Bob hardens his table. Sender round i+1i + 1. Alice examines the uncertified indices S⊆[n]S \subseteq[n] and greedily selects a maximal set of honest witnesses whose remaining oracle queries are pairwise disjoint; call their indices S∗⊆SS^* \subseteq S. Alice aborts if ∣S∗∣≥ℓ+λ|S^*| \ge\ell+ \lambda, where ℓ\ell is the number of bits Alice has sent before the current round.

Otherwise, Alice sends all remaining queries of the honest witnesses of S∗S^*, Alice certifies S∗S^* and ensures that all uncertified indices have at least one query from their honest witness in TT.

Bob succeeds in reconstruction. Recall our invariant: after round ii, every index is either certified or has at least ii queries from its honest witness in TT. Therefore, after kk rounds, all indices will be certified (unless its honest witness does not verify, which constitutes a completeness violation). Except with this negligible probability of completeness error, the only way Bob can fail is if he outputs the incorrect bit at some position. Since Bob only outputs certified bits, this would exactly mean he has found a verifying witness for an incorrect bit. Since Alice knows the honest witnesses, Alice and Bob together produce witnesses for xi=0x_i = 0 and xi=1x_i = 1.

The last thing we must check before invoking binding is that Alice and Bob together make polynomially many queries. Alice only runs the honest commitment algorithm, then makes the same queries as Bob. In each of kk rounds, Bob makes O(p2⋅n2)O(p^2 \cdot n^2) queries to harden his table, plus ∣S∗∣≤n+λ|S^*| \le n + \lambda queries from Alice’s set. This is overall polynomial, and position binding holds.

Counting the number of bits Alice sends. By the invariant, the protocol terminates at the end of round kk. In each round i=0,…,ki = 0, \ldots, k, let ℓi\ell_i denote the number of bits Alice sends in that round. Since Alice only sends the commitment in round 0, ℓ0=λ\ell_0 = \lambda. Assuming Alice does not abort, for subsequent rounds i≥1i \ge1 we have the following relation:

ℓi≤k⋅θ⋅(λ+∑j=0iℓj).\ell_i \le k \cdot\theta\cdot\left(\lambda+ \sum_{j=0}^{i} \ell_j\right).

Writing Li=λ+∑j=0iℓjL_i = \lambda+ \sum_{j=0}^{i} \ell_j, we have L0=2λL_0 = 2\lambda and Li≤(1+kθ)Li−1L_i \le(1+k\theta)L_{i-1}. Therefore, Alice’s total communication is at most

2λ(1+kθ)k≤2eλ(kθ)k.2\lambda(1+k\theta)^k \le2e\lambda(k\theta)^k.

Arriving at a contradiction. Since Bob successfully decodes Alice’s random nn-bit vector, Alice must have sent at least n−1n - 1 bits.15 Therefore, we obtain the bound:

2eλ(kθ)k≥n−1,2e\lambda(k\theta)^k \ge n - 1,

simplifying to k=Ω(log⁡θn)k = \Omega(\log_{\theta} n).

A Tight Upper Bound

We remark that our lower bound is matched by high-arity Merkle trees (shown in Figure 2) in the natural regime, where θ≥λ\theta\ge\lambda (i.e., the hash function is compressing). Truncate all random oracle outputs to ℓ=log⁡2θ\ell= \log^2 \theta bits, and let the arity be t=θ/ℓt = \theta/\ell. Because of our output truncation, we can pack tt siblings’ outputs into a single θ\theta-bit query to the random oracle.

For a vector of length nn, the depth of this tree is

log⁡tn=log⁡nlog⁡θ−2log⁡log⁡θ=Θ(log⁡nlog⁡θ).\log_t n = \frac{\log n}{\log\theta- 2\log\log\theta} = \Theta\left(\frac{\log n}{\log\theta}\right).

Therefore, each opening requires Θ(log⁡θn)\Theta(\log_{\theta} n) verifier queries, matching our lower bound.

The Disjoint Product Lemma

It now remains to discuss the proof of the disjoint product lemma, which recall roughly seeks to argue that if no QQ-query algorithm can find a verifying set with probability more than η\eta, then any QQ-query algorithm finds tt disjoint verifying sets with probability at most etkηte^{t k}\eta^t.

Before discussing the proof, we first discuss why one might suspect such a statement to be true. Roughly, this comes from the fact that under a product distribution, we expect the disjoint solutions to essentially behave as though they come from independent oracles. In such a direct product setting, knowing a solution to one of the oracles should not help find solutions to another oracle. It turns out that, while it yields worse bounds, we can in fact formally reduce from the disjoint product lemma to direct product results as we’ll see in the upcoming discussion.

Further intuition comes from the van den Berg-Kesten-Reimer (BKR) inequality [51, 43], which roughly states that for a product distribution over {0,1}n\{0,1\}^n and DNFs ff and gg, the probability that a point xx drawn from the distribution satisfies a term in ff and a term in gg that are disjoint is at most the product of the probability that ff is satisfied by xx and the probability gg is satisfied by xx. Intuitively, ff and gg are not any more likely to be satisfied for disjoint reasons than what independence would suggest. We can then think of our result as an algorithmic cousin of this inequality, relating the probability of finding disjoint witnesses rather than the probability that they exist.

A direct product lemma. As a starting point, we begin by describing how to prove a simpler direct product lemma. In this setting, we wish to show that if no QQ-query algorithm can find a verifying set under VRV^R with probability more than η\eta, then any QQ-query algorithm with access to independent random oracles R1,R2,…,RtR_1,R_2,\ldots,R_t can compute verifying sets for all of VR1,…,VRtV^{R_1},\ldots,V^{R_t} with probability at most ηt\eta^t. To do this, we show how to take an algorithm ALG that outputs solutions to VR1,…,VRtV^{R_1},\ldots,V^{R_t} with probability δ\delta and compile it into an algorithm that outputs a single verifying set for VRV^R with probability at least δ1/t\delta^{1/t}.

Indeed, we can naturally get such an algorithm by taking the true random oracle R\mathcal{R}, choosing a random r∈[t]r \in[t], and setting Rr=R\mathcal{R}_r = \mathcal{R}. The naive argument would then be to simulate ALG by flipping our own independent coins to generate values from the remaining oracles Ri\mathcal{R}_i for i∈[t]∖{r}i \in[t] \setminus\{r\}. That said, such an approach may not work as ALG’s success on Rr\mathcal{R}_r may occur if and only if it finds a verifying set for the remaining oracles Ri\mathcal{R}_i. For instance, ALG could choose to output nonsense when it sees it won’t succeed on all the oracles, even if it found solutions to some of the oracles. To circumvent this issue, we use the fact that we can choose the values of the oracles Ri\mathcal{R}_i for i≠ri \ne r and do not need to set them randomly. Indeed, we should always answer our queries with respect to Ri\mathcal{R}_i for i≠ri \ne r in such a way as to direct ourselves towards outcomes where we output tt solutions. In particular, we can choose the random oracle values of Ri\mathcal{R}_i for i≠ri \ne r to be uniform conditioned on the event that we output a solution to all tt oracles.16 Implementing such a procedure, we can then prove that this scheme outputs a verifying set to VRV^{\mathcal{R}} with probability at least δ1/t\delta^{1/t}.

Reducing from disjoint products to direct products. We now turn to understanding how to handle the disjoint product lemma, wherein there is only a single oracle. Our approach will again be to take an algorithm ALG that outputs tt disjoint verifying sets, W1,W2,…,WtW_1, W_2, \ldots, W_t, with probability δ\delta and show how to compile this into a new algorithm that outputs a single verifying set with probability at least e−kδ1/te^{-k}\delta^{1/t}.

Notably, at some quantitative loss, we can in fact reduce from the previous direct product setting. In particular, let R1,…,Rt\mathcal{R}_1, \ldots, \mathcal{R}_t denote tt random oracles. Randomly color each element in X\mathcal{X} with a color from [t][t] and create an oracle R\mathcal{R} by setting R(q)=Rc(q)(q)\mathcal{R}(q) = \mathcal{R}_{c(q)}(q) where c(q)c(q) is the random color of qq. We can then run ALG on R\mathcal{R}. Since R\mathcal{R} is distributed according to a standard random oracle, we output tt disjoint verifying sets W1,…,WtW_1, \ldots, W_t with probability δ\delta. Moreover, since the coloring was random and independent of R1,…,Rt\mathcal{R}_1, \ldots, \mathcal{R}_t, we have that the probability that for all i∈[t]i \in[t] all the elements in WiW_i are labeled with ii is at least t−tkt^{-tk}. Thus, we solve the direct product problem with probability at least t−tkδt^{-tk}\delta. We can then use our previous scheme to output a solution with probability at least t−kδ1/tt^{-k}\delta^{1/t}, which falls slightly short of our desired target success probability.

Improving the simulation. We now turn to describe how to get the final disjoint product lemma. It’s not hard to see that the above argument is lossy because of the coloring argument, as when t≫kt \gg k we don’t expect any of the sets W1,…,WtW_1, \ldots, W_t to be monochromatic. Thus to get the sharper simulation bound, we need to remove the coloring scheme from the above compiled algorithm.

Roughly, the current simulation samples a value r∼[t]r \sim[t] and sets Rr=R\mathcal{R}_r = \mathcal{R} and then tries to maximize the probability that we find a solution in every one of the color classes. Given that the colors are not inherent to the problem and are causing a quantitative loss, it’s natural to remove them and simply answer all our fictitious oracle queries in such a way as to end at a uniformly random outcome with tt disjoint solutions W1,…,WtW_1, \ldots, W_t. Since all the oracles i≠ri \ne r may as well answer queries in the same way, we’ll simply assume there is only one fictitious oracle, which we call RIDEAL\mathcal{R}_{\mathrm{IDEAL}}.

With this modification, our compiler now simulates ALG and at each step samples a random variable i∼[t]i \sim[t], which corresponds to the color of each input point. If it is equal to rr, then we answer the query with the true random oracle. Otherwise, we answer with RIDEAL\mathcal{R}_{\mathrm{IDEAL}}. From this perspective the loss in the previous bound can be viewed as coming from R\mathcal{R} and RIDEAL\mathcal{R}_{\mathrm{IDEAL}} being completely unrelated. To fix this, we sample RIDEAL\mathcal{R}_{\mathrm{IDEAL}} conditioned on R\mathcal{R}, using a coupling that preserves the marginal distributions of both oracles while maximizing their probability of agreement on each query.

This then leads us to our final simulation: We answer all of our queries according to RIDEAL\mathcal{R}_{\mathrm{IDEAL}}, which will agree non-trivially with R\mathcal{R} by the coupling. By design, we end with tt disjoint sets W1,…,WtW_1, \ldots, W_t that are accepted by the verifier under RIdeal\mathcal{R}_{\mathrm{Ideal}}. While it takes some work to compute, we can then show that a uniformly random set WiW_i satisfies the verifier VRV^{\mathcal{R}}, by virtue of R\mathcal{R} and RIdeal\mathcal{R}_{\mathrm{Ideal}} agreeing on the queries in WiW_i, with probability at least e−kδ1/te^{-k\delta^{1/t}}. If we assume that no QQ-query algorithm could output a solution to the verifier with probability better than η\eta, it then follows that the probability of outputting tt disjoint solutions satisfies δ≤etkηt\delta\le e^{tk}\eta^t, as desired.

Lower bounds. For the lower bound, our key construction, due to ChatGPT Astra, will be parameterized by tt. It shows that there is a verifier such that we can find tt disjoint solutions with probability at least 1/21/2 using poly⁡(t)\operatorname{poly}(t) queries, but no algorithm making 2O(t)2^{O(t)} queries can find a single solution with probability better than 1/2+ot(1)1/2 + o_t(1). Given such a scheme, the lower bound then follows by applying a direct product lemma. In particular, we consider ℓ\ell oracles R1,…,Rℓ\mathcal{R}_1,\ldots,\mathcal{R}_{\ell} and have our verifier V⊗ℓV^{\otimes\ell} accept if and only if VRiV^{\mathcal{R}_i} accepts for all ii. Roughly, this then yields an algorithm making poly⁡(tℓ)\operatorname{poly}(t\ell) queries that outputs tt disjoint solutions with probability at least 2−ℓ2^{-\ell}, while no algorithm making 2O(t)2^{O(t)} queries can output a single witness with probability greater than (1/2+ot(1))ℓ(1/2 + o_t(1))^\ell.

We now turn to describing how to construct the instance where it is roughly just as hard to produce a single witness as many disjoint ones. Recall that in our setting, we assume the random oracle R\mathcal{R} simply outputs a single random bit for each point in the domain. Our approach aims to correlate our success with an event. In particular, we build a “core” of N=t8N=t^8 elements z1,…,zNz_1,\ldots,z_N. We would like to then have it be easy to output many disjoint solutions when R(z):=R(z1),…,R(zN)\mathcal{R}(z):=\mathcal{R}(z_1),\ldots,\mathcal{R}(z_N) has at least N2\frac{N}{2} zeros and hard to find even a single solution when R(z)\mathcal{R}(z) has at least N/2+4t3N/2+4t^3 ones. Towards this, the verifier will take as input a string x∈{0,1}Nx\in\{0,1\}^N that it expects to satisfy x=R(z)x=\mathcal{R}(z). That said, the verifier will reject any string xx with more than N/2N/2 ones.

Now, we cannot check that xj=R(zj)x_j=\mathcal{R}(z_j) for all indices as our verifier needs to have tt witnesses with disjoint sets of queries. As such, we partition [N][N] into tt pieces, P1,P2,…,PtP_1,P_2,\ldots,P_t. The verifier then receives an index ii and only checks that xj=R(zj)x_j=\mathcal{R}(z_j) for j∈Pij\in P_i. While this is now amenable to disjoint witnesses, using a fixed partition will make finding a single witness too easy as an algorithm can simply set xj=R(zj)x_j=\mathcal{R}(z_j) for j∈Pij\in P_i and xj=0x_j=0 elsewhere to get an accepting witness.

To circumvent this, we will associate a sequence of points in X\mathcal{X}, (x,y1),(x,y2),…,(x,yt2)(x,y_1),(x,y_2),\ldots,(x,y_{t^2}), to each string x∈{0,1}Nx\in\{0,1\}^N. This then associates a random string to each xx using the random oracle, r(x)=R((x,y1))R((x,y2))⋯R((x,yt2))∈{0,1}t2r(x)=\mathcal{R}((x,y_1))\mathcal{R}((x,y_2))\cdots\mathcal{R}((x,y_{t^2}))\in\{0,1\}^{t^2}, which in turn will essentially be used as a seed to generate a random partition P1(r(x)),…,Pt(r(x))P_1(r(x)),\ldots,P_t(r(x)). This will then prevent the algorithm from easily finding a low Hamming weight xx that agrees with R(z)\mathcal{R}(z) when R(z)\mathcal{R}(z) has many ones.

Unfortunately, we have now seemingly entered into a chicken-and-egg scenario as the verifier cannot always query the oracle on (x,y1),(x,y2),…,(x,yt2)(x,y_1),(x,y_2),\ldots,(x,y_{t^2}) to figure out the random seed r(x)r(x) if we want disjoint witnesses. That said, by a concentration argument, there are very few random seeds that would result in a bad partition where xx and R(z)\mathcal{R}(z) agree on some equivalence class but disagree on at least 4t34t^3 indices. Given this, the verifier can get by only checking that ss and r(x)r(x) agree on a small number of indices. In particular, our final verifier takes as input (x,s,i)(x,s,i) with x∈{0,1}Nx\in\{0,1\}^N, s∈{0,1}t2s\in\{0,1\}^{t^2}, and i∈[t]i\in[t]. First and foremost, it rejects if xx has more than N/2N/2 ones. Next, it rejects if xj≠R(zj)x_j\ne\mathcal{R}(z_j) for some j∈Pi(s)j\in P_i(s), where Pi(s)P_i(s) is the iith piece of the random partition associated to the string ss. Finally, we must check that we used the correct partition, which is accomplished by simply checking that sj=R((x,yj))s_j=\mathcal{R}((x,y_j)) for all indices j∈(t(i−1),ti]j\in(t(i-1),ti].

It’s now easy to check that when R(z)\mathcal{R}(z) has at least N/2N/2 zeros, we can simply set x=R(z)x=\mathcal{R}(z), s=r(x)s=r(x) and take (x,s,i)(x,s,i) for i∈[t]i\in[t] to be our disjoint witnesses. On the other hand, due to the random partitions, no algorithm can output a single solution with probability better than ot(1)o_t(1) when R(z)\mathcal{R}(z) has at least N/2+4t3N/2+4t^3 ones unless it makes 2Ω(t)2^{\Omega(t)} queries. As such, we only expect to output a solution when there are fewer than N/2+4t3N/2 + 4t^3 ones, which happens with probability roughly 1/2+O(t3/N)=1/2+O(1/t)1/2 + O(t^3/\sqrt{N}) = 1/2 + O(1/t).17

Preliminaries

Notation. For an integer nn, let [n]:={1,…,n}[n] := \{1, \ldots, n\}. We denote by {0,1}n\{0,1\}^n the set of nn-bit strings and by {0,1}∗\{0,1\}^* the set of all finite binary strings. For a string xx, let ∣x∣|x| denote its bit length, and for a set SS, let ∣S∣|S| denote its cardinality. We write x←Dx \leftarrow D to denote sampling xx according to a distribution DD, and x←Sx \leftarrow S for uniform sampling from a finite set SS.

Throughout, λ\lambda denotes the security parameter. A function ν:N→[0,1]\nu: \mathbb{N} \to[0,1] is negligible (denoted by ν=negl⁡(λ)\nu= \operatorname{negl}(\lambda)) if for every polynomial pp, there exists λ0\lambda_0 such that ν(λ)<1/p(λ)\nu(\lambda) < 1/p(\lambda) for all λ≥λ0\lambda\ge\lambda_0. An event occurs with overwhelming probability if its probability is at least 1−negl⁡(λ)1 - \operatorname{negl}(\lambda).

We write log⁡\log to denote the logarithm base 22 and ln⁡\ln to denote the logarithm base ee.

Random oracle model. We work in the random oracle model, where R:{0,1}θ→{0,1}λ\mathcal{R} : \{0,1\}^{\theta} \to\{0,1\}^{\lambda} is a truly random function that can be queried via black-box access. We assume that θ\theta and λ\lambda are polynomially related. All complexity is measured in the number of queries made to the random oracle.

A query-answer table TT is a set of pairs (q,a)(q,a). We write dom⁡(T)\operatorname{dom}(T) for the set of queries appearing in TT, and say that an oracle R\mathcal{R} is consistent with TT if R(q)=a\mathcal{R}(q) = a for every (q,a)∈T(q,a) \in T.

Vector commitments

A vector commitment is a tuple of algorithms Σ=(Commit⁡,Verify⁡)\Sigma= (\operatorname{Commit}, \operatorname{Verify}):

  • Commit⁡R(x)→c,π1,…,πn\operatorname{Commit}^{\mathcal{R}}(x) \to c,\pi_1,\ldots,\pi_n: takes as input a vector x∈{0,1}nx \in\{0,1\}^n. It outputs a commitment cc and witnesses π1,…,πn\pi_1,\ldots,\pi_n.

  • Verify⁡R(c,i,xi,πi)→{true,false}\operatorname{Verify}^{\mathcal{R}}(c,i,x_i,\pi_i) \to\{\mathrm{true},\mathrm{false}\}: is a deterministic oracle algorithm that takes as input a commitment cc, an index ii, a value xi∈{0,1}x_i \in\{0,1\}, and a proof πi\pi_i. It outputs true if and only if the iith component of the vector underlying cc is indeed xix_i.

Efficiency requires that the number of queries made by Commit and Verify must be upper bounded by a polynomial in λ\lambda and nn. A vector commitment must satisfy completeness and position binding:

Definition 1 (Completeness). A vector commitment satisfies completeness if there exists a negligible function negl⁡(λ)\operatorname{negl}(\lambda) such that for every polynomially bounded n=n(λ,θ)n = n(\lambda,\theta) and every x∈{0,1}nx \in\{0,1\}^n,

Pr⁡R,Commit⁡[∃i∈[n]:Verify⁡R(c,i,xi,πi)=false:(c,π1,…,πn)←Commit⁡R(x)]≤negl⁡(λ).\Pr_{\mathcal{R},\operatorname{Commit}}\left[\exists i \in[n] : \operatorname{Verify}^{\mathcal{R}}(c,i,x_i,\pi_i) = \mathrm{false} : (c,\pi_1,\ldots,\pi_n) \leftarrow\operatorname{Commit}^{\mathcal{R}}(x)\right] \le\operatorname{negl}(\lambda).

Definition 2 (Position binding). A vector commitment satisfies position binding if, for every computationally unbounded adversary A\mathcal{A} making polynomially many random oracle queries and every polynomially bounded vector length n=n(θ,λ)n = n(\theta,\lambda),

Pr⁡R,A[Verify⁡R(c,i,b,π)=true∧(c,i,b,b′,π,π′)←AR(1λ,1n)Verify⁡R(c,i,b′,π′)=true  |  b≠b′]≤negl⁡(λ).\Pr_{\mathcal{R},\mathcal{A}}\left[ \begin{aligned} &\operatorname{Verify}^{\mathcal{R}}(c,i,b,\pi) = \mathrm{true} \land(c,i,b,b',\pi,\pi') \leftarrow\mathcal{A}^{\mathcal{R}}(1^\lambda,1^n) \\ &\operatorname{Verify}^{\mathcal{R}}(c,i,b',\pi') = \mathrm{true} \end{aligned} \;\middle|\; b \ne b'\right] \le\operatorname{negl}(\lambda).

That is, no polynomial-query adversary can produce a commitment and accepting openings for two different bits at the same position, except with negligible probability.

Fact 1. Any vector commitment with a deterministic verifier making at most kk queries per witness can be converted to one where each witness consists of only these queries, and the verifier makes exactly these queries nonadaptively. That is, for every i∈[n]i \in[n], the new witness takes the form

πi′=((q1,a1),…,(qk,ak))∈{0,1}(θ+λ)k\pi'_i = ((q_1,a_1),\ldots,(q_k,a_k)) \in\{0,1\}^{(\theta+\lambda)k}

and the new verifier Verify⁡′R(c,i,xi,πi′)\operatorname{Verify}'^{\mathcal{R}}(c,i,x_i,\pi'_i) queries all qjq_j's in a single round. The new committer makes at most an additional knkn queries.

Proof. Suppose we have a vector commitment Σ=(Commit⁡,Verify⁡)\Sigma= (\operatorname{Commit},\operatorname{Verify}) with arbitrary witnesses πi\pi_i of length ℓ\ell and a deterministic verifier Verify⁡\operatorname{Verify} that makes at most kk random oracle queries q1,…,qkq_1,\ldots,q_k given (c,i,xi,πi)(c,i,x_i,\pi_i).

We define Σ′=(Commit⁡′,Verify⁡′)\Sigma' = (\operatorname{Commit}',\operatorname{Verify}') as follows:

  • On input xx, Commit⁡′\operatorname{Commit}' computes (c,π1,…,πn)←Commit⁡(x)(c,\pi_1,\ldots,\pi_n) \leftarrow\operatorname{Commit}(x). For each i∈[n]i \in[n], let q1(i),…,qk(i)q_1^{(i)},\ldots,q_k^{(i)} be the queries made by Verify⁡(c,i,xi,πi)\operatorname{Verify}(c,i,x_i,\pi_i). Let

πi′=((q1(i),R(q1(i))),…,(qk(i),R(qk(i)))).\pi'_i = ((q_1^{(i)},\mathcal{R}(q_1^{(i)})),\ldots,(q_k^{(i)},\mathcal{R}(q_k^{(i)}))).

The new committer Commit⁡′\operatorname{Commit}' sets c′=cc'=c and outputs (c′,π1′,…,πn′)(c',\pi'_1,\ldots,\pi'_n).

  • On input (c′,i,b,πi′)(c',i,b,\pi'_i), the new verifier Verify⁡′\operatorname{Verify}' outputs 11 if and only if

R(qj(i))=aj(i)\mathcal{R}(q_j^{(i)})=a_j^{(i)}

for all j∈[k]j \in[k] and ∃πi∈{0,1}ℓ\exists\pi_i \in\{0,1\}^{\ell} such that Verify⁡πi′(c′,i,b,πi)\operatorname{Verify}^{\pi'_i}(c',i,b,\pi_i) queries only πi′\pi'_i and outputs 11.

Here, the notation indicates that the oracle queries of Verify⁡\operatorname{Verify} are answered using πi′\pi'_i. By construction, this new verifier still makes kk queries.

Completeness. We’ll show if Verify⁡\operatorname{Verify} accepts πi\pi_i, Verify⁡′\operatorname{Verify}' accepts πi′\pi'_i. Suppose that Verify⁡\operatorname{Verify} accepts πi\pi_i; then πi\pi_i itself causes Verify⁡(c′,i,xi,πi)\operatorname{Verify}(c',i,x_i,\pi_i) to query exactly q1(i),…,qk(i)q_1^{(i)},\ldots,q_k^{(i)}. Verify⁡\operatorname{Verify} then accepts when the oracle responds with the a(i)a^{(i)}'s.

Binding. We’ll now show that a binding violation for Σ′\Sigma' can be converted into a binding violation for Σ\Sigma with no additional queries. Suppose that Verify⁡′\operatorname{Verify}' accepts πi′\pi'_i for b≠xib \ne x_i. Then the random oracle R\mathcal{R} matches πi′\pi'_i, and there exists πi\pi_i such that Verify⁡(c,i,b,πi)\operatorname{Verify}(c,i,b,\pi_i) queries only the inputs of πi′\pi'_i and accepts whenever the outputs match πi′\pi'_i. Therefore, πi\pi_i causes Verify⁡\operatorname{Verify} to accept the incorrect bit. Given πi′\pi'_i, one can find πi\pi_i by searching over all ℓ\ell-bit strings, making no queries to the random oracle. □\square

Cryptographic accumulators

Definition 3 (Accumulator [7]). An accumulator for a data universe UU is a tuple of algorithms Σ=(Acc⁡,Verify⁡)\Sigma= (\operatorname{Acc},\operatorname{Verify}):

Acc⁡R(S)→c,(π1,…,π∣S∣)\operatorname{Acc}^{\mathcal{R}}(S) \to c,(\pi_1,\ldots,\pi_{|S|}): Acc⁡\operatorname{Acc} is a (possibly randomized) polynomial-time algorithm that takes as input a subset S⊆US \subseteq U. It returns a commitment cc and a membership witness πi\pi_i for each si∈Ss_i \in S.

Verify⁡R(c,u,π)→{true,false}\operatorname{Verify}^{\mathcal{R}}(c,u,\pi) \to\{\mathrm{true},\mathrm{false}\}: Verify⁡\operatorname{Verify} is a deterministic algorithm that takes as input a commitment cc, an element u∈Uu \in U, and a membership proof π\pi. Verify⁡\operatorname{Verify} should output true if and only if π\pi is a valid proof of membership of uu in the set that cc accumulates.

Efficiency requires that the number of queries made by Commit⁡\operatorname{Commit} and Verify⁡\operatorname{Verify} must be upper bounded by a polynomial in λ\lambda and n=∣S∣n = |S|. An accumulator must satisfy soundness and correctness.

Definition 4 (Soundness). An accumulator Σ=(Acc,Verify)\Sigma= (\mathrm{Acc},\mathrm{Verify}) is sound if it is infeasible to find a verifying membership proof for an element not included in an honestly committed set. More precisely, there exists a negligible function negl⁡\operatorname{negl} such that for every computationally unbounded adversary (A1,A2)(\mathcal{A}_1,\mathcal{A}_2) making polynomially many random oracle queries and every polynomially bounded set size n=n(θ,λ)n = n(\theta,\lambda):

Pr⁡[VerifyR(c,u,π)=true∧u∉S(S,st)←A1R(1λ)(c,(π1,…,πn))←AccR(S)(u,π)←A2R(st,c,(π1,…,πn))]≤negl⁡(λ).\Pr\left[ \begin{array}{c|c} \mathrm{Verify}^{\mathcal{R}}(c,u,\pi)=\mathrm{true}\land u\notin S & (S,\mathrm{st})\leftarrow\mathcal{A}_1^{\mathcal{R}}(1^\lambda)\\ & (c,(\pi_1,\ldots,\pi_n))\leftarrow\mathrm{Acc}^{\mathcal{R}}(S)\\ & (u,\pi)\leftarrow\mathcal{A}_2^{\mathcal{R}}(\mathrm{st},c,(\pi_1,\ldots,\pi_n)) \end{array} \right] \leq\operatorname{negl}(\lambda).

Definition 5 (Correctness). An accumulator Σ=(Acc,Verify)\Sigma= (\mathrm{Acc},\mathrm{Verify}) is correct if an up-to-date membership proof π\pi corresponding to an element uu in accumulator cc can always be used to verify the membership of uu in AA. More precisely, for all security parameter λ\lambda, any polynomially sized subset S⊆US\subseteq U and all elements u∈Su\in S:

Pr⁡R[VerifyR(c,u,π)=false:c,(π1,…,πn)←AccR(S)]≤negl⁡(λ),\Pr_{\mathcal{R}}\left[ \begin{array}{c} \mathrm{Verify}^{\mathcal{R}}(c,u,\pi)=\mathrm{false}:\\ c,(\pi_1,\ldots,\pi_n)\leftarrow\mathrm{Acc}^{\mathcal{R}}(S) \end{array} \right]\leq\operatorname{negl}(\lambda),

where π\pi is the membership proof corresponding to uu with regard to the accumulator cc.

Remark 1. As with vector commitments, we consider accumulators with deterministic verifiers. Observe that Fact 1 applies to accumulators as well, allowing us to assume without loss of generality that witnesses consist of tuples of oracle queries.

The Communication Protocol

In this section, we present the proof of our lower bound, assuming the disjoint product lemma, which we state and prove in the next section (§ 6). We focus on the version of the bound for vector commitments but extend it to accumulators as a corollary (Corollary 2).

We first define some notions that will be useful in describing the communication protocol (shown in Algorithm 2).

Definition 6 (Certified.). We say that an index-bit pair (i,b)(i,b) is certified by a table T∈({0,1}θ+λ)∗T\in\left(\{0,1\}^{\theta+\lambda}\right)^* with respect to a commitment cc if there exist at most kk table entries W⊆TW\subseteq T such that

VerifyR(c,i,b,W)=1\mathrm{Verify}^{\mathcal{R}}(c,i,b,W)=1

for any R\mathcal{R} consistent with TT.

We also say an index ii alone is certified if there exists a bit bb such that (i,b)(i,b) is certified. We next define residual query set.

Definition 7 (p-hard.). We say that a query-answer table TT is pp-hard with respect to a commitment cc if every pp-query algorithm has probability at most 1/p1/p of finding and querying an accepting witness for any uncertified index under TT. This probability is over a random oracle extending TT.

Definition 8 (Residual query set.). Let R\mathcal{R} be a random oracle, TT be a table, and x∈{0,1}nx\in\{0,1\}^n be a vector. Let c,π1,…,πn←Commit⁡R(x)c,\pi_1,\ldots,\pi_n\leftarrow\operatorname{Commit}^{\mathcal{R}}(x), and for each i∈[n]i\in[n] let WiW_i denote the set of random oracle inputs in πi\pi_i. The residual query set of an index i∈[n]i\in[n] is Wi∖dom⁡(T)W_i\setminus\operatorname{dom}(T), the honest witness queries that are missing from TT.

Our proof proceeds via a compression argument. Before describing the compression protocol, we introduce and analyze the procedure Hardenp\mathrm{Harden}_p (Algorithm 1) that, given a commitment cc and a table TT of random-oracle query-answer pairs, attempts to certify indices i∈[n]i\in[n].

We prove the following properties of the Hardenp\mathrm{Harden}_p procedure.

Input: oracle access to R\mathcal{R}; a commitment cc and a partial table TT.

Output: a table extending TT, and a status in {binding error,hard,fail}\{\text{binding error},\text{hard},\text{fail}\}.

For j=1,2,…,3pn2λ+1j = 1, 2, \ldots, 3pn^{2}\lambda+ 1:

  1. If TT certifies both b=0b = 0 and b=1b = 1 for the same position, return (T,binding error)(T,\text{binding error}). If TT is pp-hard, return (T,hard)(T,\text{hard}). If j=3pn2λ+1j = 3pn^{2}\lambda+ 1, return (T,fail)(T,\text{fail}).

  2. Let AA be the first deterministic pp-query decision tree that outputs an accepting witness for any uncertified index under TT with probability greater than 1/p1/p, when run on a random oracle extending TT.

  3. Run AA on R\mathcal{R}. For each random oracle query q∈{0,1}θq \in\{0,1\}^{\theta} made by AA, append (q,R(q))(q,\mathcal{R}(q)) to TT. If AA outputs an alleged witness WiW_i, make these queries as well and add them to TT.

Algorithm 1: Hardenp(c,T)_p(c,T), using hardness parameter pp.

Lemma 5.1 (Hardening). The procedure Hardenp(c,T)_p(c,T) has the following properties.

(a) It makes at most (3pn2λ+1)(p+k)≤4p2n2λ(3pn^{2}\lambda+ 1)(p + k) \leq4p^{2}n^{2}\lambda oracle queries.

(b) It is a deterministic oracle procedure with input (c,T)(c,T). Its returned table is the starting table together with all answers it received, and it is hard if the status is hard.

(c) Let cc and a table T0T_0 be fixed, and let R\mathcal{R} be uniform among the functions extending T0T_0. Then Hardenp(c,T0)_p(c,T_0) returns fail with probability at most 2−nλ2^{-n\lambda}.

Proof. For (a), observe that in each round we make at most pp queries to run the decision tree, plus kk queries for the returned alleged witness. This makes (3pn2λ+1)(p+k)(3pn^{2}\lambda+ 1)(p + k) queries across all rounds.

For (b), observe that the procedure is deterministic and returns hard only if TT is pp-hard by construction.

We prove (c) by a simple probability bound. For j∈[3pn2λ+1]j \in[3pn^{2}\lambda+ 1], let XjX_j be a Bernoulli random variable that is 1 if and only if the algorithm certifies a new index in round jj of Harden. Each XjX_j has expected value at least 1/p1/p conditioned on X<jX_{<j}.

If Harden terminates early, we define Xj=1X_j = 1 for all subsequent jj.

Observe that Harden returns fail only if it fails to certify a new index in all but at most nn rounds:

∑j∈[3pn2λ+1]Xj<n.\sum_{j\in[3pn^{2}\lambda+1]} X_j < n.

By a counting argument, if this occurs, there must be a contiguous interval of length 3pnλ3pn\lambda such that all XjX_j's in this interval are 0. For a fixed interval, this occurs with probability at most

(1−1/p)3pnλ≤e−3nλ.(1 - 1/p)^{3pn\lambda} \leq e^{-3n\lambda}.

By a union bound, there exists such an interval with probability at most (3pn2λ+1)e−3nλ≤2−nλ(3pn^{2}\lambda+ 1)e^{-3n\lambda} \leq2^{-n\lambda}.

Our compression protocol is given in Algorithm 2. We are now ready to analyze it. We next show that the probability the protocol terminates with an error is negligible. We start by bounding the probability of a hardening error.

Lemma 5.2 (Negligible probability of hardening error). If Alice sends at most nn bits, the probability that Harden terminates in fail is negligible.

Setup (free communication).

  • Let QQ be an upper bound on the number of random oracle queries made by an honest committer to an nn-bit vector. Set p:=Q+2kn+n3p := Q + 2kn + n^3.

Initialization.

  • Bob: Initialize T←∅T \leftarrow\emptyset.

  • Alice: Sample x←{0,1}nx \leftarrow\{0,1\}^n. Compute (c,π1,…,πn)←Commit⁡R(x)(c,\pi_1,\ldots,\pi_n) \leftarrow\operatorname{Commit}^{\mathcal{R}}(x). If any witness fails to verify (i.e., Verify⁡R(c,i,xi,πi)=false\operatorname{Verify}^{\mathcal{R}}(c,i,x_i,\pi_i) = \text{false} for some ii), terminate with completeness error. Send α0:=c\alpha_0 := c to Bob.

For i=1,…,ki = 1,\ldots,k:

  • Bob (hardening): Run Harden⁡p(c,T)\operatorname{Harden}_p(c,T). If the status is fail, terminate with hardening error. If the status is binding error, terminate with binding error.

  • Alice: Alice follows Bob’s execution, as Bob is deterministic, and maintains a consistent copy of TT. Let S={s1,…,sm}⊆[n]S = \{s_1,\ldots,s_m\} \subseteq[n] be the set of uncertified indices under TT and let WjW_j be the residual query set of sjs_j. Alice greedily finds maximal subset S∗⊆SS^* \subseteq S whose residual sets are pairwise disjoint. If ∣S∗∣≥ℓi−1+λ|S^*| \ge\ell_{i-1} + \lambda, where ℓi−1\ell_{i-1} is the total number of bits Alice has sent through the end of round (i−1)(i-1), terminate with disjointness error.

  • Alice ⟶\longrightarrow Bob: Send the query set

αi=⋃sj∈S∗Wj,\alpha_i = \bigcup_{s_j \in S^*} W_j,

padded to bit length 2kθ(ℓi−1+λ)2k\theta(\ell_{i-1} + \lambda). Alice checks if adding the queries in αi\alpha_i to TT certifies any index jj for the wrong bit xjx_j. If so, we terminate with binding error.

  • Bob (termination check): Query R\mathcal{R} on every input in αi\alpha_i and add the query-answer pairs to TT. If any j∈[n]j \in[n] is certified under TT for both (j,0)(j,0) and (j,1)(j,1), terminate with binding error. If all j∈[n]j \in[n] are certified for exactly one bit, terminate with success and output the vector of certified bits.

Algorithm 2: Communication protocol between Alice and Bob.

Proof. We already showed that Harden⁡\operatorname{Harden} terminates with fail with probability at most 2−nλ2^{-n\lambda} when run on a fixed commitment cc, table T0T_0, and random oracle R\mathcal{R} that is uniform among those extending T0T_0. However, in the real protocol, the random oracle is correlated with the commitment and Alice’s message. Instead, we bound

Pr⁡R[R produces c,T0 that induce fail←Harden⁡p(c,T0)]\Pr_{\mathcal{R}}[\mathcal{R}\text{ produces }c,T_0\text{ that induce fail} \leftarrow\operatorname{Harden}_p(c,T_0)]

T0T_0 is fully determined by Alice’s transcript α\alpha, which includes cc, and Bob’s oracle answers. By assumption, the length of α\alpha is upper bounded by nn. Therefore, we can apply a union bound:

Pr⁡R[R produces α that induces fail←Harden⁡p(c,T0)]=∑α∈{0,1}≤nPr⁡R[R produces α∧fail]≤∑α∈{0,1}≤nPr⁡R[fail]≤2n+1⋅2−nλ,\begin{aligned} \Pr_{\mathcal{R}}[\mathcal{R}\text{ produces }\alpha\text{ that induces fail}\gets\operatorname{Harden}_{p}(c,T_0)] &= \sum_{\alpha\in\{0,1\}^{\le n}} \Pr_{\mathcal{R}}[\mathcal{R}\text{ produces }\alpha\land\text{fail}] \\ &\le\sum_{\alpha\in\{0,1\}^{\le n}} \Pr_{\mathcal{R}}[\text{fail}] \\ &\le2^{n+1}\cdot2^{-n\lambda}, \end{aligned}

which is negligible.

Note that we did not condition on the event that Alice sends α\alpha; rather, we bounded the probability that Alice sends α\alpha and the bad event occurs. We will use this same argument to avoid conditioning again in the next proof.

We next use the disjoint product lemma (Lemma 6.1) to bound the probability of a disjointness error.

Lemma 5.3 (Negligible probability of disjointness error). If k≤log⁡nk\le\log n, the probability that the communication protocol terminates with disjointness error is negligible.

Proof. Fix a commitment cc and pp-hard table TT. Let X={0,1}ϑ∖dom⁡(T)\mathcal{X}=\{0,1\}^{\vartheta}\setminus\operatorname{dom}(T). Let SS be the set of all uncertified indices under TT, and let RT\mathcal{R}_T be a random oracle from X→{0,1}λ\mathcal{X}\to\{0,1\}^{\lambda}. Define the following local witness predicate on nonempty sets W⊆XW\subseteq\mathcal{X} with ∣W∣≤k|W|\le k:

VS,c,TRT(W)=1V_{S,c,T}^{\mathcal{R}_T}(W)=1

if and only if there exist j∈Sj\in S and b∈{0,1}b\in\{0,1\} such that Verify⁡(c,j,b,π)\operatorname{Verify}(c,j,b,\pi) accepts for some opening π\pi, whose queries lie only in dom⁡(T)∪W\operatorname{dom}(T)\cup W.

Hardness of the table implies that the success probability of any pp-query algorithm relative to VV is at most 1/p1/p, over the random oracle RT\mathcal{R}_T with domain X\mathcal{X}. By the disjoint product lemma (Lemma 6.1), any (p−tk)(p-tk)-query algorithm ALG⁡RT\operatorname{ALG}^{\mathcal{R}_T} finds tt disjoint verifying sets W1,…,Wt∈XW_1,\ldots,W_t\in\mathcal{X} with probability at most (ek/p)t(e^k/p)^t. Since k≤log⁡nk\le\log n, this is at most 2−t2^{-t}. In particular, this bounds the probability of certifying any subset of tt indices with disjoint residual query sets given TT.

We now wish to show that the probability that the honest commitment algorithm Commit finds tt witnesses with these disjoint residual sets is also small. We cannot apply the disjoint product lemma directly: it considers a random oracle that is independent of the fixed commitment cc. By contrast, the honest committer chooses cc depending on its oracle queries.

Instead, fix in advance a round i∈[k]i\in[k] and an arbitrary partial transcript α=(c,α1,…,αi−1)\alpha=(c,\alpha_1,\ldots,\alpha_{i-1}) up to that round. Let Bad⁡i(α)\operatorname{Bad}_i(\alpha) be the event that Bob’s hardening in round ii succeeds and, relative to his resulting table TT, there are at least tt uncertified indices whose honest residual query sets are pairwise disjoint. Note that all random oracle responses outside of TT are uniform and independent of α\alpha.

Now consider an algorithm ALG⁡RT,T\operatorname{ALG}^{\mathcal{R}_T,T} that runs the honest commitment algorithm on a random xx, checks if the resulting commitment equals cc, and outputs tt pairwise-disjoint residual query sets if they exist.

If Alice produces transcript α\alpha and Bad⁡i(α)\operatorname{Bad}_i(\alpha) holds, ALG succeeds. Indeed:

  • TT is pp-hard, and in particular finding any new witness is hard under the random oracle RT\mathcal{R}_T extending TT.

  • Running Commit⁡RT,T(x)\operatorname{Commit}^{\mathcal{R}_T,T}(x) on Alice’s chosen vector xx yields tt witnesses that verify under cc, whose residual sets under TT are pairwise disjoint. That is, Commit finds tt pairwise disjoint solutions to the verifier VV.

ALG makes at most Q≤(p−tk)Q \le(p-tk) queries, so our earlier application of the disjoint product lemma shows that this occurs with probability at most 2−t2^{-t}.

Therefore, recalling that t=ℓi−1+λt=\ell_{i-1}+\lambda:

Pr⁡[disjointness error in round i]≤∑α∈{0,1}ℓi−1Pr⁡[Alice produces transcript α∧Bad⁡i(α)]≤2ℓi−12−t=2−λ.\Pr[\text{disjointness error in round }i] \le\sum_{\alpha\in\{0,1\}^{\ell_{i-1}}} \Pr[\text{Alice produces transcript }\alpha\land\operatorname{Bad}_i(\alpha)] \le2^{\ell_{i-1}}2^{-t} =2^{-\lambda}.

By a union bound, the probability that Alice terminates with a disjointness error in any round is k⋅2−λ=negl⁡(λ)k\cdot2^{-\lambda}=\operatorname{negl}(\lambda).

Next, we observe that the binding property of the VC implies that the probability of a binding error is negligible.

Lemma 5.4 (Negligible probability of binding error.). The probability that the communication protocol terminates with binding error is negligible.

Proof. First, observe that in every instance where the protocol terminates with binding error, the queries made by Alice and Bob thus far indeed certify some incorrect bit xˉj\bar{x}_j:

  • A binding error in Bob’s hardening step occurs exactly if Bob’s table certifies both b=0b=0 and b=1b=1 for some index.

  • A binding error occurs in the step where Alice sends to Bob exactly if TT certifies some index for the wrong bit.

  • Bob’s termination check terminates with binding error if Bob’s table certifies both b=0b=0 and b=1b=1 for some index.

We will now argue that Alice and Bob together make a polynomial number of queries to the random oracle. Then, if the communication protocol finds a binding error, this gives a polynomial-query algorithm that breaks position binding for a random vector xx.

The protocol makes queries in the following places:

  • Alice commits to xx, which costs at most QQ queries.

  • Alice checks the witnesses she generated, which costs at most knkn queries.

  • In each round i∈[k]i\in[k]:

    • Bob runs HARDEN. This costs at most 4p2n2λ4p^2n^2\lambda oracle queries.

    • Alice and Bob both query the set αi\alpha_i. Since Alice only sends queries from honest witnesses, she sends at most knkn queries over all rounds.

    • Alice follows Bob’s execution. She only ever makes queries that Bob has already made. Therefore, this costs no additional queries for an algorithm simulating Alice and Bob together.

Therefore, the total number of queries is at most

Q+kn+k(4p2n2λ+2k(knθ+∣c∣+λ)).Q+kn+k(4p^2n^2\lambda+2k(kn\theta+|c|+\lambda)).

All of these quantities are polynomial in λ\lambda; therefore, an algorithm simulating both Alice and Bob in the protocol makes at most a polynomial number of queries.

Finally, we bound the probability of a completeness error.

Lemma 5.5 (Negligible probability of completeness error.) The probability that the communication protocol terminates with completeness error is negligible.

Proof. Completeness implies that for all x∈{0,1}nx \in\{0,1\}^{n},

Pr⁡R[∃i∈[n] s.t. Verify⁡(c,i,xi,πi)=false:c,π1,…,πn←Commit⁡(x)]≤negl⁡(λ).\Pr_{\mathcal{R}}\left[\exists i \in[n]\ \text{s.t.}\ \operatorname{Verify}(c,i,x_i,\pi_i)=\text{false}: c,\pi_1,\ldots,\pi_n \leftarrow\operatorname{Commit}(x)\right] \leq\operatorname{negl}(\lambda).

Therefore, this probability is also negligible for Alice’s random x←{0,1}nx \leftarrow\{0,1\}^{n}.

Proving the Main Theorem

We are now ready to state and prove our main theorem.

Theorem 1. Let Σ=(Commit⁡,Verify⁡)\Sigma=(\operatorname{Commit},\operatorname{Verify}) be a vector commitment with a deterministic verifier secure under a random oracle R:{0,1}θ→{0,1}λ\mathcal{R}:\{0,1\}^{\theta}\to\{0,1\}^{\lambda}, with commitments of bit length ∣c∣|c|. Then the verifier query complexity kk for an nn-bit vector for n=Ω(λ)n=\Omega(\lambda) must satisfy

2+(3kθ)k(∣c∣+λ)≥n.2+(3k\theta)^{k}(|c|+\lambda)\geq n.

Proof. Assume for the sake of contradiction that 2+(3kθ)k(∣c∣+λ)<n2+(3k\theta)^{k}(|c|+\lambda)<n. We will show that the communication protocol allows Alice to transmit a random nn-bit vector to Bob by sending fewer than nn bits. Our proof will proceed as follows:

  • We first show that the protocol terminates with an error with only negligible probability. This invokes the lemmas just proven.

  • We show that if the protocol does finish without termination, Bob always recovers xx exactly.

  • We prove an upper bound on the number of bits that Alice sends.

  • We conclude that the protocol allows Alice to communicate beyond information theoretic limits.

Overall probability of termination in error. We’ve shown that the protocol terminates with each of completeness error (Lemma 5.5), hardening error (Lemma 5.2), binding error (Lemma 5.4), and disjointness error (Lemma 5.3)18 with negligible probability. Therefore, by a union bound, it terminates with any kind of error with negligible probability.

Correct decoding if the protocol does not terminate with error. Suppose that the protocol does not terminate with an error. We’ll first argue that at the end of round kk, all nn indices must be certified. We start by showing the following invariant:

Fact 2. Suppose the protocol does not terminate. Then for all i∈[k]i \in[k], after round ii of the protocol, for every index jj either:

  • jj is certified, or

  • at least ii queries of πj\pi_j are in TT.

Proof. We prove this by induction. The base case, i=0i=0, holds vacuously: After the 0th0^{\text{th}} initialization round, no indices are certified and at least 0 queries of each witness are in the empty table TT.

Assume for i∈[k]i \in[k] that after round (i−1)(i-1) every index is either certified or has at least (i−1)(i-1) of its honest witness queries in TT. Now, in round ii, Bob hardens his table. This only adds to TT.

The key step is Alice’s generation of αi\alpha_i. Recall she finds a maximal subset S∗S^* of the uncertified set SS whose residual sets are pairwise disjoint. She takes αi\alpha_i to be the union of the residual sets of indices in S∗S^*.

Since S∗S^* is maximal, every sj∈S∖S∗s_j \in S \setminus S^* has at least one residual query in αi\alpha_i; otherwise, Alice could add sjs_j to S∗S^*, contradicting maximality.

Bob then adds αi\alpha_i to TT, which certifies all of S∗S^* and adds at least one residual query for every sj∈S∖S∗s_j \in S \setminus S^*. Therefore, at the end of round ii every uncertified index has at least ii of its honest witness’ queries in TT.

This means that after round kk of the protocol, every index is either certified or has kk queries of its witness in TT. In the latter case, the index must also be certified, as witnesses have kk queries.

It remains only to verify that no index is certified for the incorrect bit. Recall that after Alice sends her final query set to Bob, she checks whether the resulting table certifies any incorrect bit and terminates if to. Therefore, if the protocol does not terminate with error, all indices are certified only for their correct bit. Bob thus outputs exactly xx.

Total number of bits sent. Recall that ℓk\ell_k is the total number of bits Alice has sent through the end of round kk.

Fact 3. The total number of bits Alice sends throughout the protocol is at most (3kθ)k(∣c∣+λ)(3k\theta)^k(|c|+\lambda).

Proof. By construction of the protocol, we have ℓ0=∣c∣\ell_0=|c|, and for i≥1i \ge1 we have ℓi=(2kθ+1)ℓi−1+2kθλ\ell_i=(2k\theta+1)\ell_{i-1}+2k\theta\lambda, and therefore

ℓi+λ=(2kθ+1)(ℓi−1+λ).\ell_i+\lambda=(2k\theta+1)(\ell_{i-1}+\lambda).

Therefore, we have

ℓk=(2kθ+1)k(∣c∣+λ)−λ≤(3kθ)k(∣c∣+λ).\begin{aligned} \ell_k=(2k\theta+1)^k(|c|+\lambda)-\lambda\\ &\le(3k\theta)^k(|c|+\lambda). \end{aligned}

An information theoretic contradiction. We’ve shown that Alice correctly transmits xx in ℓk\ell_k bits except with negligible failure probability. She can increase correctness to probability 1 as follows. After she generates her commitment, and before she sends anything to Bob, she simulates the entire protocol. If the protocol terminates with error, she sends ‘0’ followed by xx. If the protocol is successful, she sends ‘1’ and proceeds with the protocol.

If Bob receives ‘0’ as his first bit, he outputs the following xx. Otherwise, he proceeds with the protocol. The protocol now succeeds in transmitting a random nn-bit vector with probability 1, and the expected number of bits Alice transmits is

1+(1−p(fail))⋅ℓk+p(fail)⋅n.1+(1-p(\mathrm{fail}))\cdot\ell_k+p(\mathrm{fail})\cdot n.

Since p(fail)p(\mathrm{fail}) is negligible, this is at most 2+ℓk≤2+(3kθ)k(∣c∣+λ)2+\ell_k \le2+(3k\theta)^k(|c|+\lambda). By assumption, this is less than nn, yielding our information theoretic contradiction.

Corollaries

We derive two corollaries on the number of queries of vector commitments and accumulators, and one on the bit complexity of vector commitment verifiers.

Corollary 1 (of Theorem 1). Consider any vector commitment with a deterministic verifier that is secure in the random oracle model. For any commitment size ∣c∣=O(nε)|c| = O(n^{\varepsilon}) for some constant ε<1\varepsilon< 1, for sufficiently large nn we have

k=Ω(log⁡θn).k = \Omega(\log_{\theta} n).

Proof. Suppose that k≤log⁡nk \le\log n (and observe that if not, the corollary already holds). We expand the bound obtained in Theorem 1, first rewriting:

k≥log⁡n−2∣c∣+λlog⁡(3kθ)≥log⁡n−2∣c∣+λlog⁡(3θlog⁡n),since k≤log⁡n≥Ω(log⁡nlog⁡(θ)+log⁡log⁡n),since n/(∣c∣+λ)=Ω(n1−ε−δ) for some constant δ>0≥Ω(log⁡nlog⁡θ)since n=o(2θ).\begin{aligned} k \ge\frac{\log\frac{n-2}{|c|+\lambda}}{\log(3k\theta)} \\ &\ge\frac{\log\frac{n-2}{|c|+\lambda}}{\log(3\theta\log n)}, \qquad\text{since } k \le\log n \\ &\ge\Omega\left(\frac{\log n}{\log(\theta) + \log\log n}\right), \qquad\text{since } n/(|c|+\lambda) = \Omega(n^{1-\varepsilon-\delta}) \text{ for some constant } \delta> 0 \\ &\ge\Omega\left(\frac{\log n}{\log\theta}\right) \qquad\text{since } n = o(2^\theta). \end{aligned}

Corollary 2 (of Theorem 1). Consider any accumulator with a deterministic verifier that is secure in the random oracle model. For any commitment size ∣c∣=O(nε)|c| = O(n^{\varepsilon}) for some constant ε<1\varepsilon< 1, for sufficiently large nn we have

k=Ω(log⁡θn).k = \Omega(\log_{\theta} n).

Proof. We briefly adapt the communication protocol and invocations of position binding to cryptographic accumulators and their slightly different security notion.

First, we adapt the way that Alice commits to her vector, as accumulators commit only to sets. For x∈{0,1}nx \in\{0, 1\}^n, Alice uses the data universe [n]×{0,1}[n] \times\{0, 1\} and accumulates the set

S={(i,xi)}i∈[n].S = \{(i, x_i)\}_{i \in[n]}.

The effective witness for component ii of Alice’s vector is the witness for (i,xi)(i, x_i). Correctness of the accumulator is analogous to completeness of the vector commitment: honestly generated witnesses verify except with negligible probability.

Accumulator security states that if cc is an honestly generated commitment for an adversarially chosen set SS, it is infeasible to produce an element u∉Su \notin S and a verifying proof with respect to cc. The commitment is indeed honestly generated in our protocol. It remains to check that a contradiction to position binding implies a contradiction to accumulator security.

Recall that we arrive at a position binding error if either Alice or Bob finds verifying proofs for both xi=0x_i = 0 and xi=1x_i = 1. That is, they find proofs for both (i,0)(i, 0) and (i,1)(i, 1). However, Alice included only one of these tuples in her set; the proof for the excluded tuple contradicts accumulator security.

We now observe that our lower bound can be immediately extended to show a tradeoff between the verifier’s query complexity and the bit length of the witnesses. This bound is informative only for small verifier complexity kk and is not tight; we present it primarily as guidance for future work.

Corollary 3 (of Theorem 1). Let Σ=(Commit,Verify)\Sigma= (\mathrm{Commit}, \mathrm{Verify}) be a vector commitment with a deterministic verifier secure under a random oracle R\mathcal{R}, with commitments of bit length ∣c∣|c| and witnesses of bit length ∣πi∣=w|\pi_i| = w. Then the verifier query complexity kk for an nn-bit vector for n=Ω(λ)n = \Omega(\lambda) must satisfy

w≥Ω((n∣c∣+λ)1/k)−⌈log⁡n⌉.w \ge\Omega\left(\left(\frac{n}{|c|+\lambda}\right)^{1/k}\right)-\lceil\log n\rceil.

Note that this bound is informative only when k=o(log⁡n)k = o(\log n). In the regime of high-arity Merkle trees, where k=log⁡(λ/log⁡2λ)nk = \log_{(\lambda/\log^2\lambda)} n and ∣c∣=Θ(λ)|c| = \Theta(\lambda), it is tight up to a factor (λ1/k⋅log⁡n⋅log⁡λ)(\lambda^{1/k}\cdot\log n\cdot\log\lambda). That is, the lower bound gives w≥Ω(λ1−1/k/log⁡2λ)w \ge\Omega(\lambda^{1-1/k}/\log^2\lambda). The witness length achieved by a (λ/log⁡2λ)(\lambda/\log^2\lambda)-ary Merkle tree is O(λ⋅log⁡λ(n))O(\lambda\cdot\log_\lambda(n)).

Proof. We explain how to adjust the proof of Theorem 1 to derive that

2+(3(w+⌈log⁡n⌉))k(∣c∣+λ)≥n.2+(3(w+\lceil\log n\rceil))^k(|c|+\lambda)\ge n.

Corollary 3 then follows by rearranging the expression. The main observation is that to describe a residual set WjW_j, instead of describing the queries explicitly using kθk\theta bits Alice can send the witness πj\pi_j, and Bob can execute Verify\mathrm{Verify} to retrieve its queries. We make the following change to the proof.

In the communication protocol (Algorithm 2), to describe the query set αi\alpha_i, Alice sends (j,xj,πj)(j,x_j,\pi_j) for each j∈S∗j\in S^*, padded to length 2(w+⌈log⁡n⌉)(ℓi−1+λ)2(w+\lceil\log n\rceil)(\ell_{i-1}+\lambda) (note that for each jj, (j,xj,πj)(j,x_j,\pi_j) can be described using (w+⌈log⁡n⌉+1)(w+\lceil\log n\rceil+1) bits). To retrieve WjW_j, Bob simply executes VerifyR(c,j,xj,πj)\mathrm{Verify}^{\mathcal{R}}(c,j,x_j,\pi_j) and adds all of its query-answer pairs to TT. The proof now continues similarly to the proof of Theorem 1.

Proof of the Disjoint Product Lemma

We now turn to proving the disjoint product lemma that underlies our proof.

Lemma 6.1 (Disjoint Product Lemma). Let X\mathcal{X} be a set, R:X→{0,1}λ\mathcal{R}:\mathcal{X}\to\{0,1\}^{\lambda} be a random oracle, and VRV^{\mathcal{R}} be a deterministic verifier, which takes as input at most kk points q1,…,qk′∈Xq_1,\ldots,q_{k'}\in\mathcal{X}, queries R(q1),…,R(qk′)\mathcal{R}(q_1),\ldots,\mathcal{R}(q_{k'}) and then accepts or rejects. Let tt be an integer and suppose that any (Q+tk)(Q+tk)-query algorithm finds a verifying set to the verifier with probability at most η\eta. Then any QQ-query algorithm computes tt disjoint sets W1,…,WtW_1,\ldots,W_t, which are all accepted by the verifier, with probability at most etk⋅ηte^{tk}\cdot\eta^t.

Roughly, the lemma says that if it is hard to find a single verified solution then it is exponentially harder to find tt disjoint ones.19 We remark that the proof was found by OpenAI’s Astra model and refer the reader to our statement on AI usage for more details.

To prove the statement, we show that if there exists a QQ-query algorithm ALG that finds tt disjoint verifying sets with probability δ\delta, then there is a (Q+tk)(Q+tk)-query algorithm that finds a single verifying set with probability at least e−kδ1/te^{-k}\delta^{1/t}. Using the premise of Lemma 6.1, we then get that e−kδ1/t≤ηe^{-k}\delta^{1/t}\le\eta and rearranging yields the result. Before discussing how we construct such an algorithm from ALG, we describe three simplifying assumptions that we make throughout this section.

First, we will assume that ALG always queries the values in W1,…,WtW_1,\ldots,W_t. Under this assumption, it then suffices to prove that there is a QQ-query algorithm that finds a single verifying set with probability at least e−kδ1/te^{-k}\delta^{1/t}, as we can simply query all points in ⋃i=1tWi\bigcup_{i=1}^{t}W_i at the end at the cost of an additional tktk queries.

Second, we will assume that ALG is deterministic. Notably, if there exists a randomized algorithm ALG that computes tt disjoint verifying sets with probability at least δ\delta, then there must be some seed for which ALG computes such disjoint sets with probability at least δ\delta. Given this, we can assume ALG is deterministic and thus corresponds to a decision tree, T\mathcal{T}, of depth at most QQ. Each internal vertex, vv, in the tree is labeled by a query ℓ(v)∈X\ell(v) \in\mathcal{X} and we branch based on the 2λ2^\lambda possible values of the random oracle value R(ℓ(v))\mathcal{R}(\ell(v)), yielding the children vyvy for y∈{0,1}λy \in\{0,1\}^\lambda. We will write ∅\varnothing as the root and let vertices be described by the answers from the oracle to reach them in the tree, i.e. they are of the form y1y2y3…yiy_1y_2y_3\ldots y_i with yi∈{0,1}λy_i \in\{0,1\}^\lambda.

Third, we will assume that ALG never repeats a query along a root-to-leaf path of T\mathcal{T}, as it can simply remember the answers to its earlier queries. Thus, the answers of a random oracle along any root-to-leaf path are independent and uniform; in particular, a leaf at depth mm is reached with probability 2−λm2^{-\lambda m}.

With these assumptions, we now describe how we find a single verifying set from T\mathcal{T}. In particular, this will be done via a simulation argument. In an ideal world we could simply follow T\mathcal{T} conditioned on reaching a “good leaf,” i.e. those leaves in the decision tree with tt disjoint verifying sets to the verifier. Unfortunately, it’s easy to see that such a scenario is too much to hope for as a random oracle only reaches a good leaf with probability δ\delta. As such, we expect following the random oracle to not correspond to our ideal execution.

That said, we do have some leeway in the path that we follow down the tree. In particular, we expect to make Q≫kQ \gg k queries along a given path and whether a set TT is accepted by the verifier VV only requires the queries in TT to be answered correctly by the oracle. Accordingly, we will not mandate that we follow the path in T\mathcal{T} dictated by the random oracle. Instead, we create a new oracle Rideal\mathcal{R}_{\mathrm{ideal}}, corresponding to a random oracle conditioned on always reaching a good leaf. We then couple Rideal\mathcal{R}_{\mathrm{ideal}} and the true random oracle R\mathcal{R} to maximize the probability that they agree, follow the path according to Rideal\mathcal{R}_{\mathrm{ideal}}, and output a random set among W1,…,WtW_1,\ldots,W_t.

The Ideal Oracle and Coupling It to Reality

We begin by working out a more explicit formulation of the ideal oracle, Rideal\mathcal{R}_{\mathrm{ideal}}. Notably, Rideal\mathcal{R}_{\mathrm{ideal}} will not be distributed according to a product distribution and the output of Rideal\mathcal{R}_{\mathrm{ideal}} on a point will be dependent on the node vv that we are at in the decision tree. In particular, querying Rideal\mathcal{R}_{\mathrm{ideal}} at node vv on ℓ(v)\ell(v) in the tree yields the answer yy with probability

μv(y):=Pr⁡R[we end at a good leaf∧ we reach vy]Pr⁡R[we end at a good leaf∧ we reach v].\mu_v(y) := \frac{\Pr_{\mathcal{R}}\left[\text{we end at a good leaf} \mathbin{\wedge} \text{ we reach } vy\right]}{\Pr_{\mathcal{R}}\left[\text{we end at a good leaf} \mathbin{\wedge} \text{ we reach } v\right]}.

Now let τ=y1…ym\tau= y_1 \ldots y_m be a good leaf. Recall that this notation means that we reached τ\tau by starting at the root of T\mathcal{T} and receiving the answers y1,y2,…,ymy_1,y_2,\ldots,y_m in that order in our queries to the oracle, R(ℓ(∅)),R(ℓ(y1)),R(ℓ(y1y2)),…,R(ℓ(y1…ym−1))\mathcal{R}(\ell(\varnothing)), \mathcal{R}(\ell(y_1)), \mathcal{R}(\ell(y_1y_2)),\ldots,\mathcal{R}(\ell(y_1\ldots y_{m-1})). We can then verify that under Rideal\mathcal{R}_{\mathrm{ideal}}, we reach τ\tau with probability

\begin{aligned} \prod_{i=1}^{m} \frac{\Pr_{\mathcal{R}}\left[\text{we end at a good leaf} \mathbin{\wedge} \text{ we reach } y_1\ldots y_i\right]}{\Pr_{\mathcal{R}}\left[\text{we end at a good leaf} \mathbin{\wedge} \text{ we reach } y_1\ldots y_{i-1}\right]} = \frac{\Pr_{\mathcal{R}}\left[\text{we reach }\tau\right]}{\delta} \\ &= \Pr_{\mathcal{R}}\left[\text{we reach }\tau\mathrel{\left|} \text{ we end at a good leaf}\right.\right], \end{aligned}

as desired.

Now as mentioned, we wish to couple Rideal\mathcal{R}_{\mathrm{ideal}} and the true random oracle to maximize their probability of agreement. To do so, we will simply use a greedy coupling. Suppose that we have reached node vv in the tree and let y=R(ℓ(v))y = \mathcal{R}(\ell(v)) be the true random oracle value. If μv(y)≥2−λ\mu_v(y) \ge2^{-\lambda}, we set Rideal(ℓ(v))=R(ℓ(v))\mathcal{R}_{\mathrm{ideal}}(\ell(v)) = \mathcal{R}(\ell(v)). If, on the other hand, μv(y)≤2−λ\mu_v(y) \le2^{-\lambda}, then we sample a Bernoulli random variable with mean 2λμv(y)2^\lambda\mu_v(y). If this variable is 1, then we set RIdeal(ℓ(v))=y\mathcal{R}_{\mathrm{Ideal}}(\ell(v))=y. If the Bernoulli variable is 0, then we set RIdeal(ℓ(v))=z\mathcal{R}_{\mathrm{Ideal}}(\ell(v))=z with probability proportional to (μv(z)−2−λ)+(\mu_v(z)-2^{-\lambda})_+, where (x)+:=max⁡{x,0}(x)_+ := \max\{x,0\}.

It will then be useful to understand the probability, under this coupling, that a set of queries along a root-to-leaf path in TT agrees under RIdeal\mathcal{R}_{\mathrm{Ideal}} and R\mathcal{R}.

Lemma 6.2. Let τ\tau be a good leaf. Denote by v1,…,vsv_1,\ldots,v_s arbitrary distinct internal vertices along the path from the root of TT to τ\tau and let yiy_i be the values of RIdeal(ℓ(vi))\mathcal{R}_{\mathrm{Ideal}}(\ell(v_i)) corresponding to the path to τ\tau, then

Pr⁡R,RIdeal[R(ℓ(vi))=yi  ∀i∈[s]∣Reach τ under RIdeal]=∏i=1smin⁡(1μvi(yi)⋅2−λ,1).\Pr_{\mathcal{R},\mathcal{R}_{\mathrm{Ideal}}}\left[\mathcal{R}(\ell(v_i))=y_i\ \ \forall i\in[s]\mathrel{\Big|}\text{Reach }\tau\text{ under }\mathcal{R}_{\mathrm{Ideal}}\right]=\prod_{i=1}^{s}\min\left(\frac{1}{\mu_{v_i}(y_i)}\cdot2^{-\lambda},1\right).

Proof. Note that we can equivalently view our coupling as defining R\mathcal{R} after sampling RIdeal\mathcal{R}_{\mathrm{Ideal}}. In particular, at a node vv we first sample y=RIdeal(ℓ(v))y=\mathcal{R}_{\mathrm{Ideal}}(\ell(v)). If μv(y)≤2−λ\mu_v(y)\le2^{-\lambda}, then we set R(ℓ(v))=y\mathcal{R}(\ell(v))=y. Otherwise, sample a Bernoulli random variable with mean 1μv(y)⋅2−λ\frac{1}{\mu_v(y)}\cdot2^{-\lambda}. If this variable is 1, set R(ℓ(v))=y\mathcal{R}(\ell(v))=y. If it’s 0, then set R(ℓ(v))=z\mathcal{R}(\ell(v))=z with probability proportional to (2−λ−μv(z))+(2^{-\lambda}-\mu_v(z))_+.

We can then see that

Pr⁡R,RIdeal[R(ℓ(vi))=yi  ∀i∈[s]∣Reach τ under RIdeal]=∏i=1smin⁡(1μvi(yi)⋅2−λ,1).\Pr_{\mathcal{R},\mathcal{R}_{\mathrm{Ideal}}}\left[\mathcal{R}(\ell(v_i))=y_i\ \ \forall i\in[s]\mathrel{\Big|}\text{Reach }\tau\text{ under }\mathcal{R}_{\mathrm{Ideal}}\right]=\prod_{i=1}^{s}\min\left(\frac{1}{\mu_{v_i}(y_i)}\cdot2^{-\lambda},1\right).

as we can imagine first sampling all the values of RIdeal\mathcal{R}_{\mathrm{Ideal}} to reach τ\tau and then using our independent Bernoulli random variables from the coupling to sample R(ℓ(vi))\mathcal{R}(\ell(v_i)).

Analyzing the Algorithm

We now imagine drawing a random leaf τ\tau by following RIdeal\mathcal{R}_{\mathrm{Ideal}}. Upon reaching τ\tau, our simulation obtains the tt disjoint verifying sets W1(τ),…,Wt(τ)W_1(\tau),\ldots,W_t(\tau) chooses one of them uniformly at random to output, which we denote by T(τ)T(\tau). Since the verifier is deterministic and accepts T(τ)T(\tau) under RIdeal\mathcal{R}_{\mathrm{Ideal}}, it also accepts T(τ)T(\tau) under the true oracle R\mathcal{R} whenever R\mathcal{R} and RIdeal\mathcal{R}_{\mathrm{Ideal}} agree on all the queries in T(τ)T(\tau). We will show that this happens with probability at least e−kδ1/te^{-k\delta^{1/t}}.

Towards this, fix a good leaf τ=y1…ym\tau=y_1\ldots y_m and let v1,…,vmv_1,\ldots,v_m be the internal vertices along the root-to-τ\tau path, so that vi=y1…yi−1v_i=y_1\ldots y_{i-1} and yiy_i is the answer received at viv_i. For each i∈[m]i\in[m], define

ri:=2−λμvi(yi).r_i:=\frac{2^{-\lambda}}{\mu_{v_i}(y_i)}.

which gives the ratio between the probability that a random oracle answers yiy_i at viv_i and the probability that RIdeal\mathcal{R}_{\mathrm{Ideal}} does. Note that rir_i is well defined since μvi(yi)>0\mu_{v_i}(y_i)>0 along any path that RIdeal\mathcal{R}_{\mathrm{Ideal}} follows. By Lemma 6.2, conditioned on reaching τ\tau under RIdeal\mathcal{R}_{\mathrm{Ideal}}, the oracles R\mathcal{R} and RIdeal\mathcal{R}_{\mathrm{Ideal}} agree on ℓ(vi)\ell(v_i) with probability min⁡{1,ri}\min\{1,r_i\}, independently across ii.

Since ALG queries every point of its output sets and never repeats a query along a path, each point of Wj(τ)W_j(\tau) is queried at exactly one vertex along the root-to-τ\tau path. We thus define Ij⊆[m]I_j\subseteq[m] to be the set of indices ii such that ℓ(vi)∈Wj(τ)\ell(v_i)\in W_j(\tau), and note that ∣Ij∣=∣Wj(τ)∣≤k|I_j|=|W_j(\tau)|\le k. Now, by Lemma 6.2, conditioned on reaching τ\tau under RIdeal\mathcal{R}_{\mathrm{Ideal}}, the oracles R\mathcal{R} and RIdeal\mathcal{R}_{\mathrm{Ideal}} agree on all of Wj(τ)W_j(\tau) with probability

aj(τ):=∏i∈Ijmin⁡{1,ri}.a_j(\tau):=\prod_{i\in I_j}\min\{1,r_i\}.

As our simulation outputs each Wj(τ)W_j(\tau) with probability 1/t1/t, we can then compute

Pr⁡R,RIDEAL[V accepts T(τ)]≥Eτ∼RIDEAL[1t∑j=1taj(τ)].(1)\Pr_{\mathcal{R},\mathcal{R}_{\mathrm{IDEAL}}}\left[V\text{ accepts }T(\tau)\right] \ge\mathbb{E}_{\tau\sim\mathcal{R}_{\mathrm{IDEAL}}}\left[\frac{1}{t}\sum_{j=1}^{t}a_j(\tau)\right]. \tag*{(1)}

It now remains to argue that the right-hand side of Equation (1) is not too small. Promisingly, we can note that based on how we defined RIDEAL\mathcal{R}_{\mathrm{IDEAL}} the product of the ratios along any path to a good leaf is exactly δ\delta.

Lemma 6.3. Let τ=y1y2⋯ym\tau= y_1y_2\cdots y_m be a good leaf, then

∏i=1mri=δ.\prod_{i=1}^{m}r_i=\delta.

Proof. Recall that we have that

Pr⁡RIDEAL[we reach τ]=∏i=1mμvi(yi).\Pr_{\mathcal{R}_{\mathrm{IDEAL}}}\left[\text{we reach }\tau\right]=\prod_{i=1}^{m}\mu_{v_i}(y_i).

On the other hand, we also have

Pr⁡RIDEAL[we reach τ]=Pr⁡R[we reach τ∣we end at a good leaf]=Pr⁡R[we reach τ]δ=2−λmδ.\Pr_{\mathcal{R}_{\mathrm{IDEAL}}}\left[\text{we reach }\tau\right]=\Pr_{\mathcal{R}}\left[\text{we reach }\tau\mid\text{we end at a good leaf}\right]=\frac{\Pr_{\mathcal{R}}\left[\text{we reach }\tau\right]}{\delta}=\frac{2^{-\lambda m}}{\delta}.

Combining these two then yields that

∏i=1mri=2−λm∏i=1mμvi(yi)=2−λm2−λm/δ=δ.\prod_{i=1}^{m}r_i=\frac{2^{-\lambda m}}{\prod_{i=1}^{m}\mu_{v_i}(y_i)}=\frac{2^{-\lambda m}}{2^{-\lambda m}/\delta}=\delta.

If every ratio satisfied ri≤1r_i\le1, we would now be done. Indeed, by the arithmetic-geometric mean inequality and the disjointness of I1,…,ItI_1,\ldots,I_t, we would have 1t∑jaj(τ)≥(∏i∈I1∪⋯∪Itri)1/t≥(∏i=1mri)1/t=δ1/t\frac{1}{t}\sum_j a_j(\tau)\ge\left(\prod_{i\in I_1\cup\cdots\cup I_t}r_i\right)^{1/t}\ge\left(\prod_{i=1}^{m}r_i\right)^{1/t}=\delta^{1/t}, as dropping factors that are at most 1 can only increase the product. Unfortunately, some ratios may exceed 1, namely when RIDEAL\mathcal{R}_{\mathrm{IDEAL}} is less likely than a random oracle to give the answer yiy_i. To handle these, we use that re−r≤min⁡{1,r}re^{-r}\le\min\{1,r\} for every r>0r>0, so that each ratio can be paid for at the cost of a factor e−rie^{-r_i}. In expectation, this is not too expensive as each rir_i is at most 1 in expectation at every step. Formally, we first show the following pointwise bound.

Lemma 6.4. For every good leaf τ=y1⋯ym\tau=y_1\cdots y_m,

1t∑j=1taj(τ)≥e−kδ1/texp⁡(−1t∑i=1m(ri−1)).\frac{1}{t}\sum_{j=1}^{t}a_j(\tau)\ge e^{-k}\delta^{1/t}\exp\left(-\frac{1}{t}\sum_{i=1}^{m}(r_i-1)\right).

Proof. Let I:=⋃j=1tIjI:=\bigcup_{j=1}^{t}I_j. Since the sets Wj(τ)W_j(\tau) are pairwise disjoint, so are the sets IjI_j. By the arithmetic-geometric mean inequality and the disjointness of the IjI_j, we then have that

1t∑j=1taj(τ)≥(∏j=1taj(τ))1/t=(∏i∈Imin⁡{1,ri})1/t.(2)\frac{1}{t}\sum_{j=1}^{t}a_j(\tau)\ge\left(\prod_{j=1}^{t}a_j(\tau)\right)^{1/t}=\left(\prod_{i\in I}\min\{1,r_i\}\right)^{1/t}. \tag*{(2)}

We now lower bound the product on the right-hand side. For every r>0r>0, we have that min⁡{1,r}≥re−r\min\{1,r\}\ge re^{-r} and 1≥re1−r1\ge re^{1-r}. Thus, we obtain

∏i∈Imin⁡{1,ri}=∏i∈Imin⁡{1,ri}∏i∈[m]∖I1≥∏i∈I(rie−ri)∏i∈[m]∖I(rie1−ri)=(∏i=1mri)exp⁡(−∣I∣−∑i=1m(ri−1))≥δe−tkexp⁡(−∑i=1m(ri−1)),\begin{aligned} \prod_{i\in I}\min\{1,r_i\} &=\prod_{i\in I}\min\{1,r_i\}\prod_{i\in[m]\setminus I}1\\ &\ge\prod_{i\in I}\left(r_i e^{-r_i}\right)\prod_{i\in[m]\setminus I}\left(r_i e^{1-r_i}\right)\\ &=\left(\prod_{i=1}^{m}r_i\right)\exp\left(-|I|-\sum_{i=1}^{m}(r_i-1)\right)\\ &\ge\delta e^{-tk}\exp\left(-\sum_{i=1}^{m}(r_i-1)\right), \end{aligned}

where the last line uses Lemma 6.3 and ∣I∣≤tk|I|\le tk. Substituting into (2) yields the lemma. □

With this we can now prove Lemma 6.1.

Proof of Lemma 6.1. Recall that we wish to show that our simulation procedure for ALG yields a procedure that outputs a verifying set with probability at least e−kδ1/te^{-k}\delta^{1/t}. Combining (1) with Lemma 6.4, we have that

Pr⁡R,RIDEAL[V accepts T(τ)]≥Eτ∼RIDEAL[1t∑j=1taj(τ)]≥e−kδ1/t⋅Eτ∼RIDEAL[exp⁡(−1t∑i=1m(ri−1))]≥e−kδ1/t⋅exp⁡(−1tEτ∼RIDEAL[∑i=1m(ri−1)]).\begin{aligned} \Pr_{\mathcal{R},\mathcal{R}_{\mathrm{IDEAL}}}\left[V\text{ accepts }T(\tau)\right] &\ge\mathbb{E}_{\tau\sim\mathcal{R}_{\mathrm{IDEAL}}}\left[\frac{1}{t}\sum_{j=1}^{t}a_j(\tau)\right]\\ &\ge e^{-k}\delta^{1/t}\cdot\mathbb{E}_{\tau\sim\mathcal{R}_{\mathrm{IDEAL}}}\left[\exp\left(-\frac{1}{t}\sum_{i=1}^{m}(r_i-1)\right)\right]\\ &\ge e^{-k}\delta^{1/t}\cdot\exp\left(-\frac{1}{t}\mathbb{E}_{\tau\sim\mathcal{R}_{\mathrm{IDEAL}}}\left[\sum_{i=1}^{m}(r_i-1)\right]\right). \end{aligned}

where the third line follows by Jensen’s inequality. We now note that we can compute the expectation over τ∼RIDEAL\tau\sim\mathcal{R}_{\mathrm{IDEAL}} by grouping terms by the internal vertices at which they occur to get

Eτ∼RIDEAL[∑i=1m(ri−1)]=∑vPr⁡RIDEAL[we reach v]∑y:μv(y)>0μv(y)(2−λμv(y)−1)=∑vPr⁡RIDEAL[we reach v](2−λ⋅∣{y:μv(y)>0}∣−1)≤0,\begin{aligned} \mathbb{E}_{\tau\sim\mathcal{R}_{\mathrm{IDEAL}}}\left[\sum_{i=1}^{m}(r_i-1)\right] &=\sum_{v}\Pr_{\mathcal{R}_{\mathrm{IDEAL}}}\left[\text{we reach }v\right]\sum_{y:\mu_v(y)>0}\mu_v(y)\left(\frac{2^{-\lambda}}{\mu_v(y)}-1\right)\\ &=\sum_{v}\Pr_{\mathcal{R}_{\mathrm{IDEAL}}}\left[\text{we reach }v\right]\left(2^{-\lambda}\cdot\left|\{y:\mu_v(y)>0\}\right|-1\right)\\ &\le0, \end{aligned}

where vv ranges over the internal vertices of T\mathcal{T} reached with positive probability under RIDEAL\mathcal{R}_{\mathrm{IDEAL}}, and the last step holds since there are at most 2λ2^\lambda possible answers yy. Thus, we conclude that

Pr⁡R,RIDEAL[V accepts T(τ)]≥e−k⋅δ1/t.\Pr_{\mathcal{R},\mathcal{R}_{\mathrm{IDEAL}}}\left[V\text{ accepts }T(\tau)\right]\ge e^{-k}\cdot\delta^{1/t}.

Since T\mathcal{T} has depth at most QQ, it follows that our simulated algorithm makes at most QQ queries. Thus, by the hypothesis of Lemma 6.1, we get that e−kδ/ℓ≤ηe^{-k\delta/\ell} \leq\eta. Rearranging then gives that δ≤etkηt\delta\leq e^{tk}\eta_t as desired.

A Lower Bound for the Disjoint Product Lemma

In this section, we aim to show our lower bound for finding disjoint witnesses. In particular, we will prove the following lemma.

Lemma 7.1. For any α∈(0,1]\alpha\in(0,1] and tt sufficiently large, there exist a set X\mathcal{X} and a verifier VV that queries a random oracle R:X→{0,1}\mathcal{R}:\mathcal{X}\to\{0,1\} in at most k=log⁡O(1/α)(∣X∣)k=\log^{O(1/\alpha)}(|\mathcal{X}|) positions such that

ηt≥η1t⋅etk1−O(α)\eta_t \geq\eta_1^t \cdot e^{tk^{1-O(\alpha)}}

where ηt\eta_t denotes the maximum probability a poly⁡(k)\operatorname{poly}(k)-query algorithm succeeds at finding tt disjoint solutions and η1\eta_1 is the maximum probability that a 2kO(α)2^{k^{O(\alpha)}}-query algorithm succeeds at outputting a single solution.

Roughly, this suggests that in general one cannot hope to do much better than the disjoint product lemma without imposing additional structure or constraints on the parameters. The core step in the proof will be the following lemma due to Astra.

Lemma 7.2. For any sufficiently large tt, there exist a set X\mathcal{X} of size exp⁡(poly⁡(t))\exp(\operatorname{poly}(t)), a random oracle R:X→{0,1}\mathcal{R}:\mathcal{X}\to\{0,1\}, and a verifier that makes O(t2)O(t^2) queries such that (i) there exists an algorithm making poly⁡(t)\operatorname{poly}(t) queries that finds tt disjoint solutions with probability at least 12\frac{1}{2}, and (ii) any algorithm that makes 2O(t)2^{O(t)} queries finds a single solution with probability at most 12+O(1/t)\frac{1}{2}+O(1/t).

Informally, the lemma roughly yields a verifier for which finding tt disjoint solutions is roughly as easy as finding a single solution. That said, the construction is somewhat lacking as both are able to find the desired set with relatively high probability, roughly 12\frac{1}{2}. As such, to prove Lemma 7.1, we will take this construction and lift it to a harder instance via known direct product theorems. Indeed, we draw on the following result.

Theorem 2 (Drucker [21]). Let X\mathcal{X} be a set, R:X→{0,1}\mathcal{R}:\mathcal{X}\to\{0,1\} be a random oracle, and VRV^{\mathcal{R}} be a verifier that makes queries to R\mathcal{R}. Suppose that no QQ-query algorithm can produce an accepting solution to a verifier VRV^{\mathcal{R}} with probability more than pp, where p≤1−1/ℓp\leq1-1/\ell. Then if R1,…,Rℓ\mathcal{R}_1,\ldots,\mathcal{R}_\ell are independent random oracles, any algorithm making at most QQ queries in total across them queries verifying sets to VR1,VR2,…,VRℓV^{\mathcal{R}_1},V^{\mathcal{R}_2},\ldots,V^{\mathcal{R}_\ell} with probability at most pℓp^\ell.

With this, we can then use the direct product of the instance of Lemma 7.2 to get our proof of Lemma 7.1.

Proof of Lemma 7.1. Set ℓ=t7/α\ell=t^{7/\alpha} and consider independent oracles R1,R2,…,Rℓ:X′→{0,1}\mathcal{R}_1,\mathcal{R}_2,\ldots,\mathcal{R}_\ell:\mathcal{X}'\to\{0,1\} and let VRiV^{\mathcal{R}_i} denote the verifiers as in Lemma 7.2. We will then consider the verifier V⊗ℓ(w1,w2,…,wℓ)V^{\otimes\ell}(w_1,w_2,\ldots,w_\ell) that accepts if and only if VRi(wi)V^{\mathcal{R}_i}(w_i) accepts for all i∈[ℓ]i\in[\ell]. Note that we can think of V⊗ℓV^{\otimes\ell} as querying a single random oracle over X=X′×[ℓ]\mathcal{X}=\mathcal{X}'\times[\ell]. Note that with this setup, we have that k=O(t7ℓ)=log⁡O(1/α)(∣X∣)k=O(t^7\ell)=\log^{O(1/\alpha)}(|\mathcal{X}|) as each verifier makes poly⁡(t)\operatorname{poly}(t) queries and ∣X′∣=exp⁡(poly⁡(t))|\mathcal{X}'|=\exp(\operatorname{poly}(t)). We can similarly verify that ℓ≥k1−O(α)\ell\geq k^{1-O(\alpha)}.

We now first note that there is an algorithm that outputs tt disjoint solutions with probability at least 2−ℓ2^{-\ell}. Indeed, we can take the algorithm from Lemma 7.2 and run it on each oracle independently. It succeeds with probability at least 2−ℓ2^{-\ell} and outputs tt disjoint solutions to V⊗ℓV^{\otimes\ell}. Moreover, since the algorithm makes poly⁡(t)\operatorname{poly}(t) queries to each of the ℓ\ell oracles, we then make O(ℓ⋅poly⁡(t))=poly⁡(k)O(\ell\cdot\operatorname{poly}(t))=\operatorname{poly}(k) queries in total, as desired. Thus, we get that ηt≥2−ℓ\eta_t\geq2^{-\ell}. On the other hand, we can apply the direct product theorem to bound the probability an algorithm finds a single solution. To do so, we first modify such an algorithm to query each solution it outputs. Notably, this adds at most O(ℓt7)=poly⁡(k)O(\ell t^7)=\operatorname{poly}(k) queries to the algorithm. Given such an algorithm, applying Theorem 2 then yields that no such algorithm making at most 2O(t)2^{O(t)} queries can output a single solution with probability better than

(1/2+O(1/t))ℓ≤2−ℓ⋅eO(ℓ/t)≤2−ℓ/2.(1/2+O(1/t))^\ell\le2^{-\ell}\cdot e^{O(\ell/t)}\le2^{-\ell/2}.

From this we can note that any algorithm, which may or may not query what is sent to the verifier, that makes at most

2O(t)−poly⁡(k)=2kO(α)−poly⁡(k)=2kO(α)2^{O(t)}-\operatorname{poly}(k)=2^{k^{O(\alpha)}}-\operatorname{poly}(k)=2^{k^{O(\alpha)}}

queries, succeeds with probability at most 2−ℓ/22^{-\ell/2}. Thus, η1≤2−ℓ/2\eta_1\le2^{-\ell/2}.

Putting the two pieces together, we then have

ηt≥2−ℓ≥η1t⋅2tℓ/4≥η1t⋅etk1−O(α).\eta_t\ge2^{-\ell}\ge\eta_1^t\cdot2^{t\ell/4}\ge\eta_1^t\cdot e^{tk^{1-O(\alpha)}}.

Proof of lem:raw-lb

At a high level, we will design our construction such that when a lucky event occurs we can find many disjoint verifying sets, yet when the event does not occur it is quite difficult to find a single solution. Roughly, we will do this by choosing a core of N:=t8N:=t^8 points z1,…,zNz_1,\ldots,z_N. We will aim to make it easy to produce many disjoint witnesses when R(z):=R(z1),…,R(zN)\mathcal{R}(z):=\mathcal{R}(z_1),\ldots,\mathcal{R}(z_N) has at most N/2N/2 ones. Towards this, we will have the verifier take as input a string x∈{0,1}Nx\in\{0,1\}^N, which the reader should think of as a claimed value for R(z)\mathcal{R}(z). Crucially, the verifier will always reject any string xx with more than N/2N/2 ones.

Now the verifier’s goal is roughly to check that x=R(z)x=\mathcal{R}(z). That said, we need the verifier to query disjoint points in the oracle for each witness, so we instead will partition [N][N] into tt pieces and have the algorithm submit an index ii to indicate what piece to check equality on. Notably, using a fixed partition P1,…,PtP_1,\ldots,P_t is a poor choice as it will be easy to find a single verifying set by lying about the value of xx. Namely, we can simply set xj=R(zj)x_j=\mathcal{R}(z_j) for j∈Pij\in P_i and xj=0x_j=0 elsewhere.

To circumvent this, we will effectively assign a random partition to each x∈{0,1}Nx\in\{0,1\}^N. More explicitly, for each xx, we associate a set of t2t^2 inputs (x,y1),…,(x,yt2)(x,y_1),\ldots,(x,y_{t^2}). For each possible random string r(x):=R((x,y1))R((x,y2))⋯R((x,yt2))r(x):=\mathcal{R}((x,y_1))\mathcal{R}((x,y_2))\cdots\mathcal{R}((x,y_{t^2})), we assign a partition of [N][N] into tt sets, P1(r),…,Pt(r)P_1(r),\ldots,P_t(r) for a mapping we’ll give later. With this, the final verifier then takes as input (x,s,i)(x,s,i) with x∈{0,1}Nx\in\{0,1\}^N, s∈{0,1}t2s\in\{0,1\}^{t^2}, and i∈[t]i\in[t]. First and foremost, it rejects if xx has more 1’s than 0’s. Next, it rejects if xj≠R(zj)x_j\ne\mathcal{R}(z_j) for some j∈Pi(s)j\in P_i(s). Finally, we must check that we used the correct partition. Towards this, we split the bits in r(x)=R((x,y1))R((x,y2))⋯R((x,yt2))r(x)=\mathcal{R}((x,y_1))\mathcal{R}((x,y_2))\cdots\mathcal{R}((x,y_{t^2})) into tt blocks, i.e. r[t],r(t,2t],…,r(t2−t,t2]r_{[t]},r_{(t,2t]},\ldots,r_{(t^2-t,t^2]}. We then check that sj=rj=R((x,yj))s_j=r_j=\mathcal{R}((x,y_j)) for all indices jj in the iith block, i.e. for all j∈(t(i−1),ti]j\in(t(i-1),ti].

We can now quickly note that

Lemma 7.3. When R(z)\mathcal{R}(z) contains at most N/2N/2 ones, there exists an algorithm that finds tt disjoint verifying sets to the verifier.

Proof. We simply query the random oracle on z1,…,zNz_1,\ldots,z_N and let x=R(z)x=\mathcal{R}(z). Note that by assumption xx has at most N/2N/2 ones. We then query R((x,y1))R((x,y2))⋯R((x,yt2))\mathcal{R}((x,y_1))\mathcal{R}((x,y_2))\cdots\mathcal{R}((x,y_{t^2})) and set s=r(x)s=r(x). Finally, we submit the witnesses (x,s,i)(x,s,i) for i∈[t]i\in[t] as our disjoint witnesses. By construction, these witnesses never have overlapping queries. Indeed, P1(s),…,Pt(s)P_1(s),\ldots,P_t(s) is a partition and each witness only checks one class. Similarly, each witness checks the random oracle on disjoint blocks of (x,y1),(x,y2),…,(x,yt2)(x,y_1),(x,y_2),\ldots,(x,y_{t^2}). Moreover, we can see that the verifier will accept each solution as xx has small enough Hamming weight and we chose xx and ss to agree with R(z)\mathcal{R}(z) and r(x)r(x).

We’ll now argue that when R(z)\mathcal{R}(z) has large Hamming weight, which we will define to be at least N2+4t3\frac{N}{2}+4t^3, then no algorithm that makes few queries can find a solution. To do this, we will need to choose our mapping of random strings to partitions. In particular, we choose any mapping from {0,1}t2\{0,1\}^{t^2} to any family of partitions that satisfies the below lemma.

Lemma 7.4. There exists a family P\mathcal{P} of 2t22^{t^2} partitions of [N][N] into tt equal-size pieces such that for any string Δ∈{0,1}N\Delta\in\{0,1\}^{N} with at least 4t34t^3 non-zero entries

\left|\left\{(P_1,\ldots,P_t)\in\mathcal{P}\mathrel{\left|}\exists i\in[t]:\Delta|_{P_i}=0\right.\right\}\right|\leq N

Intuitively, the reader should think of Δ\Delta as corresponding to the entries where xx and R(z)\mathcal{R}(z) disagree. Notably, when R(z)\mathcal{R}(z) has high Hamming weight, it must disagree with any xx that has at most N/2N/2 ones on at least 4t34t^3 entries. Thus, the above lemma states that every piece of almost every partition will contain a point of disagreement between xx and R(z)\mathcal{R}(z).

Proof. We prove the statement by the probabilistic method. Let P\mathcal{P} be 2t22^{t^2} independent random equipartitions of [N][N] into tt pieces. For a particular string Δ\Delta with at least 4t34t^3 non-zero entries and a random partition (P1,…,Pt)(P_1,\ldots,P_t) we have that

Pr⁡Pi[Δ∣Pi=0]≤(N−4t3N/t)(NN/t)≤(N−4t3N)N/t≤e−4t2\Pr_{P_i}[\Delta|_{P_i}=0]\leq\frac{\binom{N-4t^3}{N/t}}{\binom{N}{N/t}}\leq\left(\frac{N-4t^3}{N}\right)^{N/t}\leq e^{-4t^2}

We now take a union bound over all i∈[t]i\in[t], to get that

Pr⁡P1,…,Pt[∃i∈[t]:Δ∣Pi=0]≤te−4t2.\Pr_{P_1,\ldots,P_t}[\exists i\in[t]:\Delta|_{P_i}=0]\leq te^{-4t^2}.

Thus, we can compute

\begin{aligned} \mathbb{E}_{\mathcal{P}}\left[\sum_{\Delta:|\Delta|\geq4t^3}\prod\left[\left|\left\{(P_1,\ldots,P_t)\in\mathcal{P}\mathrel{\left|}\exists i\in[t]:\Delta|_{P_i}=0\right.\right\}\right|>N\right]\right] &\leq2^N\cdot2^{Nt^2}\cdot\left(te^{-4t^2}\right)^N\\ &<1 \end{aligned}

where we used the fact that there are at most 2N2^N values for Δ\Delta and at most 2Nt22^{Nt^2} ways to choose NN partitions from P\mathcal{P}. Thus, it must follow that there exists a P\mathcal{P} satisfying the desired property. □\square

With this, we can now show that no algorithm making few queries succeeds at finding a verifying set when R(z)\mathcal{R}(z) has large Hamming weight.

Lemma 7.5. Suppose that tt is sufficiently large and R(z)\mathcal{R}(z) has at least N2+4t3\frac{N}{2}+4t^3 ones, then any algorithm that makes at most 2O(t)2^{O(t)} queries to the random oracle finds a verifying set with probability at most O(1t)O\left(\frac{1}{t}\right).

Proof. We will throughout condition on the value of R(z)\mathcal{R}(z) and assume it is some fixed string with at least N/2+4t3N/2+4t^3 ones. This suffices by noting that for any algorithm ALG

\Pr[\mathrm{ALG\ finds\ an\ accepting\ witness}]=\sum_{\sigma}\frac{1}{2^N}\cdot\Pr\left[\mathrm{ALG\ finds\ an\ accepting\ witness}\mathrel{\left|}\mathcal{R}(z)=\sigma\right.\right].

We will additionally assume that the algorithm runs the verifier before submitting its verifying set and thus queries everything the verifier does. In the end, this will increase the number of queries by at most Nt+t\frac{N}{t}+t. With this, we will now bound the probability that an algorithm queries a verifying set. To do this, we consider all values of xx that the algorithm queries. That is, let x(1),…,x(Q)x^{(1)},\ldots,x^{(Q)} denote the distinct values in {0,1}N\{0,1\}^{N}, in order of first query, such that for each a∈[Q]a\in[Q] the algorithm queries some point (x(a),yj)(x^{(a)},y_j) for some j∈[t2]j\in[t^2]. For each a∈[Q]a\in[Q], we bound the probability that x(a)x^{(a)} yields an accepting witness given that no earlier string does:

Pr⁡R[∃s,i:VR(x(a),s,i) accepts∣VR(x(b),s,i) rejects  ∀b<a,s∈{0,1}t2,i∈[t]]\Pr_{\mathcal R}\left[\exists s,i:V^{\mathcal R}(x^{(a)},s,i)\text{ accepts}\mathrel{\Big|}V^{\mathcal R}(x^{(b)},s,i)\text{ rejects }\ \forall b<a,s\in\{0,1\}^{t^2},i\in[t]\right]

Note that to accept some witness (x(a),s,i)(x^{(a)},s,i) where x(a)x^{(a)} has at most N/2N/2 ones, we must have that x(a)x^{(a)} and R(z)\mathcal R(z) agree on Pi(s)P_i(s), so P1(s),…,Pt(s)P_1(s),\ldots,P_t(s) is one of the at most NN bad partitions as defined by the condition in Lemma 7.4. As such, there are at most NN candidate values of ss that we must union bound over. For each one, we can easily verify that it agrees with r(x(a))r(x^{(a)}) on the iith contiguous block of the t2t^2 bits with probability 2−t2^{-t}, as must be the case in order to not be rejected when the verifier cross checks ss and r(x(a))r(x^{(a)}). Thus, taking a union bound over the tt values of ii and the at most NN bad partitions yields

Pr⁡R[∃s,i:VR(x(a),s,i) accepts]≤N⋅t⋅2−t.\Pr_{\mathcal R}\left[\exists s,i:V^{\mathcal R}(x^{(a)},s,i)\text{ accepts}\right]\le N\cdot t\cdot2^{-t}.

Moreover, the above only relies on the randomness of R((x(a),y1)),R((x(a),y2)),…,R((x(a),yt2))\mathcal R((x^{(a)},y_1)),\mathcal R((x^{(a)},y_2)),\ldots,\mathcal R((x^{(a)},y_{t^2})). Since these values of the oracle are unqueried before x(a)x^{(a)} is first queried and independent of those relevant for the previous rejections for x(b)x^{(b)} with b<ab<a, it follows that

Pr⁡R[∃s,i:VR(x(a),s,i) accepts∣VR(x(b),s,i) rejects  ∀b<a,s∈{0,1}t2,i∈[t]]≤N⋅t⋅2−t.\Pr_{\mathcal R}\left[\exists s,i:V^{\mathcal R}(x^{(a)},s,i)\text{ accepts}\mathrel{\Big|}V^{\mathcal R}(x^{(b)},s,i)\text{ rejects }\ \forall b<a,s\in\{0,1\}^{t^2},i\in[t]\right]\le N\cdot t\cdot2^{-t}.

Thus, any such algorithm that makes at most 2t/22^{t/2} queries, queries such a solution with probability at most

1−(1−N⋅t⋅2−t)2t/2≤2−t/2⋅N⋅t≤1t1-\left(1-N\cdot t\cdot2^{-t}\right)^{2^{t/2}}\le2^{-{t/2}}\cdot N\cdot t\le\frac{1}{t}

assuming tt is sufficiently large. Thus, for any algorithm that makes at most

2t/2−Nt−t≥2t/32^{t/2}-\frac{N}{t}-t\ge2^{t/3}

queries, it outputs, as opposed to having to query a solution, an accepting solution with probability at most 1t\frac{1}{t}, as desired. □

We can now combine these pieces together to get the desired result.

Proof of Lemma 7.2. We start by noting that we have that ∣X∣=N+t2⋅2N|\mathcal X|=N+t^2\cdot2^N, corresponding to z1,…,zNz_1,\ldots,z_N and the t2t^2 random inputs for each x∈{0,1}Nx\in\{0,1\}^N. Moreover, the verifier makes Nt+t2t=t7+t=O(t7)\frac{N}{t}+\frac{t^2}{t}=t^7+t=O(t^7) queries as desired. Since R(z)\mathcal R(z) has at most N/2N/2 ones with probability at least 12\frac{1}{2}, we have there exists an algorithm that finds tt disjoint solutions with probability at least 12\frac{1}{2} using poly⁡(t)\operatorname{poly}(t) queries by Lemma 7.3, giving property (i)(i). Similarly, we can compute that R(z)\mathcal R(z) has fewer than N/2+4t3N/2+4t^3 ones with probability at most 12+O(4t3/N)=12+O(1/t)\frac{1}{2}+O(4t^3/\sqrt{N})=\frac{1}{2}+O(1/t). Combining this with Lemma 7.5, we then get that no algorithm making 2O(t)2^{O(t)} queries can find a single solution with probability better than 12+O(1/t)\frac{1}{2}+O(1/t), yielding property (ii)(ii). □

AI Usage. The authors initially proved a weaker version of the main result without AI assistance; the lower bound on the verifier complexity was essentially the same, provided that the commitment scheme had quasipolynomial security. The authors determined that in order to extend this proof to the full case of polynomial security, it would suffice to prove the disjoint product lemma20. In the original proof, the authors established a weaker form of this lemma21 which was sufficient in the regime of quasi-polynomial query attackers (this was achieved by the coloring argument and direct product lemma discussed in the technical overview for intuition). Afterwards, the authors prompted ChatGPT Astra to prove the stronger disjoint product lemma. This proof was digested and rewritten by the authors and yields the main lower bound that appears in this work. Astra22 also provided a proof of the barrier to stronger forms of the disjoint product lemma appearing in Lemma 1.2, which the authors iterated with the models to simplify, digested, and rewrote here. Outside of the disjoint product lemma and this barrier, the current proof is essentially the same as that originally conceived by the authors prior to interaction with Astra; machine assistance was used in many places to reorganize and simplify the proof and to tighten various parameters. Figure 1 and Figure 2 were made using interaction with Claude Opus.

Acknowledgments The authors thank Yuval Efron and Sam Gunn for numerous valuable discussions and for participating in earlier stages of this work. Miranda Christ is supported by an Amazon Research Award, Google CyberNYC, NSF CCF-2312224, NSF CCF-2107187, NSF CCF-2332922, the UK AISI Alignment Project, and The Leighton Family Chair. Oliver Korten is supported by the National Science Foundation under Grant No. DMS-2424441. Tal Malkin is supported by a Google CyberNYC grant, an Amazon Research Award, and NSF grant CCF-2312242. Noam Mazor is supported by the Simons Foundation. Shyamal Patel is supported by the NSF AI Institute for Foundations of Machine Learning (IFML), NSF grants CCF-2106429, CCF-2107187, CCF-2218677, ONR grant ONR-13533312, and an NSF Graduate Student Fellowship.

References

  1. [2]Shashank Agrawal and Srinivasan Raghuraman. KVaC: key-value commitments for blockchains and beyond. In Asiacrypt, 2020.DOI
  2. [3]Eli Ben-Sasson, Iddo Bentov, Yinon Horesh, and Michael Riabzev. Scalable, transparent, and post-quantum secure computational integrity. IACR Cryptol. ePrint Arch., 2018:46, 2018.
  3. [4]Joseph Bonneau, Jessica Chen, Miranda Christ, and Ioanna Karant aidou. Merkle mountain ranges are optimal: On witness update frequency for cryptographic accumulators. In Yael Tauman Kalai and Seny F. Kamara, editors, Advances in Cryptology - CRYPTO 2025 - 45th Annual International Cryptology Conference, Santa Barbara, CA, USA, August 17-21, 2025, Proceedings, Part II, volume 16001 of Lecture Notes in Computer Science, pages 170–202. Springer, 2025.DOI
  4. [6]Eli Ben-Sasson, Alessandro Chiesa, and Nicholas Spooner. Interactive oracle proofs. In Martin Hirt and Adam D. Smith, editors, Theory of Cryptography - 14th International Conference, TCC 2016-B, Beijing, China, October 31 - November 3, 2016, Proceedings, Part II, volume 9986 of Lecture Notes in Computer Science, pages 31–60, 2016.
  5. [7]Josh Benaloh and Michael de Mare. One-way accumulators: A decentralized alternative to digital signatures. In Eurocrypt, 1993.DOI
  6. [8]Elette Boyle, Ilan Komargodski, and Neekon Vafa. Memory checking requires logarithmic overhead. In ACM STOC, 2024.
  7. [9]Boaz Barak and Mohammad Mahm oody-Ghidary. Lower bounds on signatures from symmetric primitives. In Proceedings of the 48th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 680–688, 2007.arxiv.org/abs/0801.3680
  8. [10]Boaz Barak and Mohammad Mahm oody-Ghidary. Merkle’s key agreement protocol is optimal: An O(n²) attack on any key agreement from random oracles. Journal of Cryptology, 30(3):699–734, 2017.
  9. [11]Mark Braverman, Anup Rao, Omri Weinstein, and Amir Yehudayoff. Direct product via round-preserving compression. In International Colloquium on Automata, Languages, and Programming, pages 232–243. Springer, 2013.
  10. [13]Dario Catalano and Dario Fiore. Vector commitments and their applications. In PKC, 2013.DOI
  11. [14]Alon Chayet, Iftach Haitner, Mathias Marty, and Eylon Yogev. Lower bounds on random-oracle-model signature length. Cryptology ePrint Archive, Paper 2026/2237, 2026.
  12. [15]Ran Canetti, Shai Halevi, and Michael Steiner. Hardness amplification of weakly verifiable puzzles. In Theory of Cryptography Conference, pages 17–33. Springer, 2005.
  13. [16]Jan Camenisch and Anna Lysyanskaya. Dynamic Accumulators and Application to Efficient Revocation of Anonymous Credentials. In CRYPTO, Berlin, Heidelberg, 2002.
  14. [17]Kai-Min Chung and Feng-Hao Liu. Parallel repetition theorems for interactive arguments. In Theory of Cryptography Conference, pages 19–36. Springer, 2010.DOI
  15. [18]Alessandro Chiesa and Eylon Yogev. Barriers for succinct arguments in the random oracle model. In Theory of Cryptography Conference (TCC 2020), pages 47–76, 2020.DOI
  16. [19]Yevgeniy Dodis, Russell Impagliazzo, Ragesh Jaiswal, and Valentine Kabanets. Security amplification for interactive cryptographic primitives. In Theory of Cryptography Conference, pages 128–145. Springer, 2009.DOI
  17. [20]Cynthia Dwork, Moni Naor, Guy N Rothblum, and Vinod Vaikuntanathan. How efficient can memory checking be? In TCC, 2009.DOI
  18. [21]Andrew Drucker. Improved direct product theorems for randomized query complexity. Computational Complexity, 21(2):197–244, 2012.
  19. [22]Dario Fiore, Dimitris Kolonelos, and Paola de Perthuis. Cuckoo commitments: Registration-based encryption and key-value map commitments for large spaces. In Jian Guo and Ron Steinfeld, editors, Advances in Cryptology - ASIACRYPT 2023 - 29th International Conference on the Theory and Application of Cryptology and Information Security, Guangzhou, China, December 4-8, 2023, Proceedings, Part V, volume 14442 of Lecture Notes in Computer Science, pages 166–200. Springer, 2023.DOI
  20. [23]Sergey Gorbunov, Leonid Reyzin, Hoeteck Wee, and Zhenfei Zhang. Pointproofs: Aggregating proofs for multiple vector commitments. In ACM CCS, 2020.DOI
  21. [24]Rosario Gennaro and Luca Trevisan. Lower bounds on the efficiency of generic cryptographic constructions. In Proceedings of the 41st Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 305–313, 2000.
  22. [25]Iftach Haitner. A parallel repetition theorem for any interactive argument. In 2009 50th Annual IEEE Symposium on Foundations of Computer Science, pages 241–250. IEEE, 2009.
  23. [26]Iftach Haitner, Daniel Nukrai, and Eylon Yogev. Lower bound on SNARGs in the random oracle model. In Advances in Cryptology (CRYPTO 2022), 2022.DOI
  24. [27]Thomas Holenstein. Parallel repetition: Simplification and the no-signaling case. Theory of Computing, 5:141–172, 2009.
  25. [28]Russell Impagliazzo, Ragesh Jaiswal, Valentine Kabanets, and Avi Wigderson. Uniform direct product theorems: Simplified, optimized, and derandomized. SIAM Journal on Computing, 39(4):1637–1665, 2010.
  26. [29]Russell Impagliazzo and Steven Rudich. Limits on the provable consequences of one-way permutations. In Proceedings of the 21st Annual ACM Symposium on Theory of Computing (STOC), pages 44–61, 1989.
  27. [30]Jeff Kahn, Michael Saks, and Cliff Smyth. A dual version of Reimer’s inequality and a proof of Rudich’s conjecture. In Proceedings 15th Annual IEEE Conference on Computational Complexity, pages 98–103. IEEE, 2000.
  28. [31]Derek Leung, Yossi Gilad, Sergey Gorbunov, Leonid Reyzin, and Nickolai Zeldovich. Aardvark: An asynchronous authenticated dictionary with applications to account-based cryptocurrencies. In Kevin R. B. Butler and Kurt Thomas, editors, 31st USENIX Security Symposium, USENIX Security 2022, Boston, MA, USA, August 10-12, 2022, pages 4237–4254. USENIX Association, 2022.
  29. [32]Jiangtao Li, Ninghui Li, and Rui Xue. Universal Accumulators with Efficient Nonmembership Proofs. In ACNS, Berlin, Heidelberg, 2007.DOI
  30. [33]Russell W.F Lai and Giulio Malavolta. Subvector commitments with application to succinct arguments. In CRYPTO, 2019.
  31. [35]Ralph C. Merkle. Secrecy, Authentication, and Public Key Systems. PhD thesis, Stanford University, 1979.
  32. [36]Ralph C Merkle. A digital signature based on a conventional encryption function. In CRYPTO, 1987.DOI
  33. [37]Mohammad Mahmood y, Wei Qi, and Ahmadreza Rahimi. Lower bounds for the number of decryption updates in registration-based encryption. In Theory of Cryptography Conference, pages 559–587. Springer, 2022.
  34. [38]Lan Nguyen. Accumulators from Bilinear Pairings and Applications. In CT-RSA, Berlin, Heidelberg, 2005.DOI
  35. [39]Chris Peikert, Zachary Pepin, and Chad Sharp. Vector and functional commitments from lattices. In TCC, 2021.DOI
  36. [40]Charalampos Papamanthou, Roberto Tamassia, and Nikos Triandopoulos. Authenticated hash tables based on cryptographic accumulators. Algorithmica, 74:664–712, 2016.DOI
  37. [41]Wei Qi. Tight lower bound on witness update frequency in additive positive accumulators. IACR Communications in Cryptology, 2(4), 2026.DOI
  38. [42]Ran Raz. A parallel repetition theorem. SIAM Journal on Computing, 27(3):763–803, 1998.
  39. [43]David Reimer. Proof of the van den Berg–Kesten conjecture. Combinatorics, Probability and Computing, 9(1):27–32, 2000.DOI
  40. [44]Ronen Shaltiel. Towards proving strong direct product theorems. Computational Complexity, 12(1–2):1–22, 2003.DOI
  41. [45]Clifford Smyth. Reimer’s inequality and Tardos’ conjecture. In Proceedings of the thirty-fourth annual ACM symposium on Theory of computing, pages 218–221, 2002.
  42. [50]Alin Tomescu, Yu Xia, and Zachary Newman. Authenticated dictionaries with cross-incremental proof (dis)aggregation. Cryptology ePrint Archive, 2020.
  43. [51]Jacob Van Den Berg and Harry Kesten. Inequalities with applications to percolation and reliability. Journal of applied probability, 22(3):556–569, 1985.
  44. [52]Weijie Wang, Yujie Lu, Charalampos Papamanthou, and Fan Zhang. The locality of memory checking. In ACM CCS, 2023.DOI

Paper details

vlnc:W_by95z4xg
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents