pub struct ProverState<F: PrimeField> {
pub randomness: Vec<F>,
pub mles: Vec<DenseMultilinearExtension<F::Inner>>,
pub num_vars: usize,
pub max_degree: usize,
pub round: usize,
pub asserted_sum: Option<F>,
}Expand description
Sumcheck Prover State.
Fields§
§randomness: Vec<F>Sampled randomness given by the verifier.
mles: Vec<DenseMultilinearExtension<F::Inner>>Stores the list of multilinear extensions the sumcheck polynomial is comprised of.
num_vars: usizeNumber of variables.
max_degree: usizeMax degree.
round: usizeThe current round number.
asserted_sum: Option<F>Claimed sum for the first round polynomial.
Implementations§
Source§impl<F: PrimeField> ProverState<F>
impl<F: PrimeField> ProverState<F>
Source§impl<F> ProverState<F>where
F: InnerTransparentField,
impl<F> ProverState<F>where
F: InnerTransparentField,
Auto Trait Implementations§
impl<F> Freeze for ProverState<F>where
F: Freeze,
impl<F> RefUnwindSafe for ProverState<F>where
F: RefUnwindSafe,
<F as Field>::Inner: RefUnwindSafe,
impl<F> Send for ProverState<F>
impl<F> Sync for ProverState<F>
impl<F> Unpin for ProverState<F>
impl<F> UnsafeUnpin for ProverState<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for ProverState<F>where
F: UnwindSafe,
<F as Field>::Inner: UnwindSafe,
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> 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