6 releases (stable)

new 6.1.0 Apr 11, 2026
6.0.2 Feb 26, 2026
6.0.0-beta.1 Jan 30, 2026

#2981 in Math

Download history 14/week @ 2026-01-24 447/week @ 2026-01-31 338/week @ 2026-02-07 1842/week @ 2026-02-14 2628/week @ 2026-02-21 3122/week @ 2026-02-28 2496/week @ 2026-03-07 2465/week @ 2026-03-14 3694/week @ 2026-03-21 3588/week @ 2026-03-28 2970/week @ 2026-04-04

13,043 downloads per month
Used in 46 crates (8 directly)

MIT/Apache

370KB
7.5K SLoC

slop-stacked

Stacked polynomial commitment scheme.

Implements a multilinear polynomial commitment scheme using a Ligero-inspired interleaving algorithm.

Features

  • Implementations of the MultilinearPcsProver and MultilinearPcsVerifier traits (the other implementation is in slop-whir).

Part of SLOP, the Succinct Library of Polynomials.


lib.rs:

API for stacked multilinear polynomial commitment schemes.

For any multilinear PCS that can commit to batches of matrices of the same height (considering the columns of those matrices as evaluations of multilinear polynomials on the Boolean hypercube), and then prove joint evaluations of those multililiner polynomials at the same point, this module provides functionality that can commit to heterogeneous batches of matrices (considering that batch as a single mutlilinear polynomial in many variables), and then prove evaluations of that multilinear polynomial at a point.

This is implemented by making a virtual vector consisting of the concatenation of all of the data in the matrices in the batch, splitting that vector up into vectors of a prescribed size, and then using the underlying PCS to commit to and prove evaluations of those vectors. The verifier then computes the expected multilinear evaluation of the larger vector by using a multilinear evaluation algorithm in a smaller number of variables). This is essentially the the interleaving algorithm of Ligero(https://eprint.iacr.org/2022/1608).

Dependencies

~26MB
~396K SLoC