Unlocking the lookup singularity with Lasso
- Srinath Setty ,
- Justin Thaler ,
- Riad Wahby
Eurocrypt |
This paper introduces Lasso, a new family of lookup arguments, which allow an untrusted prover to commit to a vector
and prove that all entries of a reside in some predetermined table
. Lasso’s performance characteristics unlock the so-called «lookup singularity». Lasso works with any multilinear polynomial commitment scheme, and provides the following efficiency properties. For
lookups into a table of size
, Lasso’s prover commits to just
field elements. Moreover, the committed field elements are small, meaning that, no matter how big the field
is, they are all in the set
. When using a multiexponentiation-based commitment scheme, this results in the prover’s costs dominated by only
group operations (e.g., elliptic curve point additions), plus the cost to prove an evaluation of a multilinear polynomial whose evaluations over the Boolean hypercube are the table entries. This represents a significant improvement in prover costs over prior lookup arguments (e.g., plookup, Halo2’s lookups, lookup arguments based on logarithmic derivatives).
Unlike all prior lookup arguments, if the table
is structured (in a precise sense that we define), then no party needs to commit to
, enabling the use of much larger tables than prior works (e.g., of size
or larger). Moreover, Lasso’s prover only «pays» in runtime for table entries that are accessed by the lookup operations. This applies to tables commonly used to implement range checks, bitwise operations, big-number arithmetic, and even transitions of a full-fledged CPU such as RISC-V. Specifically, for any integer parameter
, Lasso’s prover’s dominant cost is committing to
field elements. Furthermore, all these field elements are “small”, meaning they are in the set
, where
is the maximum value in
.
Lasso’s starting point is Spark, a time-optimal polynomial commitment scheme for sparse polynomials in Spartan (CRYPTO 2020). We first provide a stronger security analysis for Spark. Spartan’s security analysis assumed that certain metadata associated with a sparse polynomial is committed by an honest party (this is acceptable for its purpose in Spartan, but not for Lasso). We prove that Spark remains secure even when that metadata is committed by a malicious party. This provides the first «standard» commitment scheme for sparse multilinear polynomials with optimal prover costs. We then generalize Spark to directly support a lookup argument for both structured and unstructured tables, with the efficiency characteristics noted above.