Skip to main content

batch_verify

Function batch_verify 

Source
pub fn batch_verify<F, C>(
    n_vars: usize,
    degree: usize,
    sums: &[C::Elem],
    channel: &mut C,
) -> Result<BatchSumcheckOutput<C::Elem>, Error>
where F: Field, C: IPVerifierChannel<F>,
Expand description

Verify a batched sumcheck over ${0, \infty}^n$.

The claims are combined with powers of a sampled batching coefficient, as in super::batch_verify. Claims may have fewer than n_vars variables: a claim on k variables closes at the low k coordinates of the evaluation point, which are the last k challenges.