pub struct EqIndSumcheckClaim<F: Field, Composition> { /* private fields */ }
Expand description
A group of claims about the sum of the values of multilinear composite polynomials over the boolean hypercube multiplied by the value of equality indicator.
Reductions transform this struct to a SumcheckClaim with an explicit equality indicator in the last position.
Implementations§
Source§impl<F: Field, Composition> EqIndSumcheckClaim<F, Composition>
impl<F: Field, Composition> EqIndSumcheckClaim<F, Composition>
Source§impl<F: Field, Composition> EqIndSumcheckClaim<F, Composition>where
Composition: CompositionPoly<F>,
impl<F: Field, Composition> EqIndSumcheckClaim<F, Composition>where
Composition: CompositionPoly<F>,
Sourcepub fn new(
n_vars: usize,
n_multilinears: usize,
eq_ind_composite_sums: Vec<CompositeSumClaim<F, Composition>>,
) -> Result<Self, Error>
pub fn new( n_vars: usize, n_multilinears: usize, eq_ind_composite_sums: Vec<CompositeSumClaim<F, Composition>>, ) -> Result<Self, Error>
Constructs a new equality indicator sumcheck claim.
§Throws
Error::InvalidComposition
if any of the composition polynomials in the composite claims vector do not have their number of variables equal ton_multilinears
Sourcepub fn max_individual_degree(&self) -> usize
pub fn max_individual_degree(&self) -> usize
Returns the maximum individual degree of all composite polynomials.
pub fn eq_ind_composite_sums(&self) -> &[CompositeSumClaim<F, Composition>]
Trait Implementations§
Auto Trait Implementations§
impl<F, Composition> Freeze for EqIndSumcheckClaim<F, Composition>
impl<F, Composition> RefUnwindSafe for EqIndSumcheckClaim<F, Composition>
impl<F, Composition> Send for EqIndSumcheckClaim<F, Composition>
impl<F, Composition> Sync for EqIndSumcheckClaim<F, Composition>
impl<F, Composition> Unpin for EqIndSumcheckClaim<F, Composition>
impl<F, Composition> UnwindSafe for EqIndSumcheckClaim<F, Composition>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more