PolynomialCommitment
trait simplification
#116
Labels
breaking-change
Breaking change
D-hard
Difficulty: hard
T-design
Type: discuss API design and/or research
Summary
The
PolynomialCommitment
trait is a little cumbersome with all the wrapper types.See if we can simplify the trait and then implement it for all schemes. Some ideas:
check
->verify
- there are a lot of name variations in the literature for the same algorithm, thoughcheck
seems to be used less frequently.verify
is more intuitive IMO.LabeledPolynomial
construction is cumbersome: introduce afrom
conversion onPolynomial<F>
with some reasonable defaults, or:trim
function, which would take the parameters from the max degree of all labeled polys we are working with.QuerySet
from
a vector of (vectors of?) points. ConstructEvaluations
fromQuerySet
and aVec<Polynomial>
.ChallengeGenerator
automatically? We know the sponge, and we know whether the poly is uni- or multi-variate, so this can be part of e.g. setup.See also jellyfish PCS trait, although the Espresso traits aren't as generic as they are mostly tailored for KZG.
@alxiong
For Admin Use
The text was updated successfully, but these errors were encountered: