binius_core::protocols::sumcheck::prove::oracles

Function constraint_set_sumcheck_prover

source
pub fn constraint_set_sumcheck_prover<'a, U, FW, FDomain, Backend>(
    constraint_set: ConstraintSet<PackedType<U, FW>>,
    witness: &MultilinearExtensionIndex<'a, U, FW>,
    evaluation_domain_factory: impl EvaluationDomainFactory<FDomain>,
    switchover_fn: impl Fn(usize) -> usize + Clone,
    backend: &'a Backend,
) -> Result<OracleSumcheckProver<'a, FDomain, PackedType<U, FW>, Backend>, Error>
where U: UnderlierType + PackScalar<FW> + PackScalar<FDomain>, FW: ExtensionField<FDomain>, FDomain: Field, Backend: ComputationBackend,
Expand description

Construct regular sumcheck prover from the constraint set. Fails when constraint set contains zerochecks.