← Back to section · Foundations of Cryptography
Bulletproofs and Range Proofs: Logarithmic-Size Interval Proofs Without a Setup
Proving that a secret value lies within an interval, without revealing the value itself, is a core need of confidential transactions and compliance proofs. Bulletproofs use an inner-product argument to compress a range proof to logarithmic size with no trusted setup; this article explains the problem it solves, the idea behind the construction, and its costs.
Picture a scenario: someone must prove to an auditor that 「my age is at least 18」, 「this amount does not exceed the limit」, or 「this device’s reading is within the safe interval」, without handing over the exact value. The naive approach of checking item by item either leaks the value or convinces nobody. A range proof is the zero-knowledge proof built for statements of exactly this kind: for a value hidden inside a cryptographic commitment, prove that the value lies within a specified interval, and reveal nothing else. Bulletproofs, proposed in 2017, remains the most influential construction in this area.
The shape of the problem: a commitment plus an interval
The input to a range proof is not the plaintext value but a commitment — think of it as an encrypted fingerprint of the value: binding guarantees that once opened, the commitment can correspond to only one value, and hiding guarantees that the commitment itself reveals nothing about the value. The prover must argue that the value v bound in this commitment satisfies 0 ≤ v < 2^n.
The most direct proof decomposes v bit by bit: the binary representation of v has n bits, each either 0 or 1. If one can prove that the commitment to each bit corresponds to a value in {0,1}, and that these bits, weighted by their place values, sum exactly to the commitment to v, the range is established. The difficulty is efficiency: giving a naive Sigma proof for each bit makes the proof size grow linearly in n — 64 bits means 64 proofs, multiplied further by the number of items in batch scenarios. Early confidential-transaction systems were held back by exactly this linear cost, with proofs of several kilobytes per transaction.
The inner-product argument: the art of recursive folding
The breakthrough of Bulletproofs is to recast the whole proof as an inner-product statement. Write the bit vector as a and the place-value vector as (1, 2, 4, …, 2^{n−1}); then 「the weighted sum of the bits equals v」 is precisely the inner product ⟨a, place values⟩ = v, and 「each bit is 0 or 1」 can be rewritten as another set of vector identities. The range proof is thereby reduced to: prove that certain inner-product relations hold among vector commitments.
The protocol designed for inner-product relations is the engine of the whole construction: to prove that the inner product of two length-n vectors equals a public value, the prover splits the vectors in half and uses the verifier’s random challenge to 「fold」 the two halves into new vectors of length n/2, updating the inner-product target accordingly; each folding round halves the problem size at the cost of only constantly many group elements of communication. After log₂n rounds the vectors shrink to length 1 and can be opened and checked directly. The communication of the whole inner-product argument is therefore only logarithmic. Plugging the inner-product argument into the range proof and removing interaction with Fiat–Shamir compresses a 64-bit range proof to roughly 700 bytes, and when many ranges are proved in a batch, the total size grows only logarithmically in the number of statements — a generational advantage over its predecessors.
One more detail of a folding step is worth spelling out, because it is the most ingenious part of the whole construction. Write the left and right halves of one vector as a_L and a_R (and similarly b_L, b_R for the other); the original inner product consists of four blocks: two 「same-side」 inner products and two 「cross」 inner products. The prover first commits to each of the two cross terms and sends these commitments to the verifier, who replies with a random challenge x; both parties then linearly combine the vectors with powers of x and x⁻¹ into the folded vectors, and the new inner product equals exactly the original one plus the challenge-weighted cross terms — terms that have already been pinned down by commitments and cannot be disowned after the fact. In this way, each round accomplishes 「halving the proof size」 and 「binding by randomness」 at the same time, and after log₂n rounds only two scalars remain for the verifier to check directly. The security of this folding rests on a clean extraction argument: a prover that can produce valid foldings for two different challenges must genuinely hold vectors satisfying the original relation.
No setup — but verification is not free
Bulletproofs inherits the clean trust model of the Sigma-protocol lineage: the system parameters are just a set of group generators, required to have no known discrete-logarithm relations among them — which can be achieved by generating them deterministically by hashing (defining the generators as hashes of counter strings), making the system fully transparent and ceremony-free. It belongs to the same 「no trusted setup」 camp as STARKs, with the difference that the hard problem it relies on is the discrete logarithm.
The price is on the verification side: the verifier must perform all the group operations involved in the folding process, so verification time grows linearly with the vector length and cannot be compressed to a constant as in SNARKs. The engineering compensation is batch verification: when many proofs are verified together, a random linear combination merges large numbers of scalar multiplications, amortizing the per-proof cost. Proof generation is likewise linear-time. In short, Bulletproofs trades 「linear verification, logarithmic proofs」 for 「no setup ceremony」 — a deal that usually pays off in scenarios where the number of proofs is modest but the trust assumptions matter intensely (compliance proofs, confidential amounts, privacy credentials).
Quantum caveats and boundaries of applicability
It must be stated plainly: classical Bulletproofs rest on elliptic-curve discrete logarithms, and Shor’s algorithm means they are not post-quantum secure. Their value for this site is twofold. First, they are the exemplar of the 「no setup plus logarithmic size」 design idea — the recursive structure of inner-product folding has since been borrowed widely by other proof systems, including several lattice-based post-quantum range-proof research lines. Second, the statement types they serve (intervals, non-negativity, upper bounds) are exactly the most common shapes in privacy-compliance scenarios, so understanding them calibrates what a post-quantum replacement ought to achieve. Deploying range proofs in the quantum era for real requires switching to hash-based or lattice-based constructions, which at present mostly come at the price of larger proofs or slower performance — one reason this direction remains under active research.
Summary
Bulletproofs answers a specific and frequent question: how to prove, without leaking a value, that it lies within an interval. Its method is to rewrite the range statement as an inner-product statement and then compress the proof to logarithmic size by recursive folding — with no trusted setup anywhere. Linear verification time is its openly posted price, and the discrete-logarithm foundation is its expiry date in the quantum era: the idea is evergreen; the instantiation must be replaced.
Tags: Bulletproofsrange proofsinner-product argument