You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Surge supports using Surge as a multi-dimensional sparse polynomial commitment scheme known in the Lasso paper as "Spark". To support, we generate and pass through a 'C' different log2(sparsity) sized randomness vectors for evaluating the multilinear extension of the $\tilde{eq}_i(x,r)$ polynomial.
Currently we generate both eq_randomness: Vec<F> of size log-s and spark_randomness: [Vec<F>; C] with each vec of size log-m. For Surge we use only eq_randomness.
The SubtableStrategy::materialize_subtables and SubtableStrategy::evaluate_subtable_mle function signatures depend on r: &[Vec<F>; C] despite being an unused parameter in all Subtable strategies beyond Spark.
This means that we pass spark_randomness deep into prover and verifier workflows.
Spark is useful in it's own right – support would be nice, but it does carry a substantial readability / maintainability cost.
The text was updated successfully, but these errors were encountered:
Spark within Surge is broken as of commit. Tests will still pass but there is an excess $\tilde{eq}(k, r)$ in front. To re-enable Spark, the poly degree should be reduced for the SparkSubtableStrategy and the front eq eval should be removed from the prove and verify sumcheck evaluations.
Currently Surge supports using Surge as a multi-dimensional sparse polynomial commitment scheme known in the Lasso paper as "Spark". To support, we generate and pass through a 'C' different log2(sparsity) sized randomness vectors for evaluating the multilinear extension of the$\tilde{eq}_i(x,r)$ polynomial.
Currently we generate both
eq_randomness: Vec<F>
of size log-s andspark_randomness: [Vec<F>; C]
with each vec of size log-m. For Surge we use onlyeq_randomness
.The
SubtableStrategy::materialize_subtables
andSubtableStrategy::evaluate_subtable_mle
function signatures depend onr: &[Vec<F>; C]
despite being an unused parameter in all Subtable strategies beyond Spark.This means that we pass
spark_randomness
deep into prover and verifier workflows.Spark is useful in it's own right – support would be nice, but it does carry a substantial readability / maintainability cost.
The text was updated successfully, but these errors were encountered: