Skip to main content

SumCheckPolyFirstRoundBackend

Trait SumCheckPolyFirstRoundBackend 

Source
pub trait SumCheckPolyFirstRoundBackend<P, K>: Backend
where K: Field, P: SumcheckPolyBase + HasBackend<Backend = Self>,
{ type NextRoundPoly: SumcheckPoly<K>; // Required methods fn fix_t_variables(poly: P, alpha: K, t: usize) -> Self::NextRoundPoly; fn sum_as_poly_in_last_t_variables( poly: &P, claim: Option<K>, t: usize, ) -> UnivariatePolynomial<K>; }
Expand description

A trait to enable backend implementations of sumcheck polynomials for the first round.

An implementation of this trait for a type will imply a crate::SumcheckPolyFirstRound implementation for that type.

Required Associated Types§

Required Methods§

Source

fn fix_t_variables(poly: P, alpha: K, t: usize) -> Self::NextRoundPoly

Source

fn sum_as_poly_in_last_t_variables( poly: &P, claim: Option<K>, t: usize, ) -> UnivariatePolynomial<K>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<F, EF> SumCheckPolyFirstRoundBackend<Mle<F>, EF> for CpuBackend
where F: Field, EF: ExtensionField<F>,

Implementors§