pub struct SumcheckProversState<F, PW, DomainField, EDF, W, Backend>where
F: Field,
PW: PackedField,
DomainField: Field,
EDF: EvaluationDomainFactory<DomainField>,
W: AbstractSumcheckWitness<PW>,
Backend: ComputationBackend,{ /* private fields */ }
Implementations§
source§impl<F, PW, DomainField, EDF, W, Backend> SumcheckProversState<F, PW, DomainField, EDF, W, Backend>where
F: Field,
PW: PackedField,
DomainField: Field,
EDF: EvaluationDomainFactory<DomainField>,
W: AbstractSumcheckWitness<PW>,
Backend: ComputationBackend,
impl<F, PW, DomainField, EDF, W, Backend> SumcheckProversState<F, PW, DomainField, EDF, W, Backend>where
F: Field,
PW: PackedField,
DomainField: Field,
EDF: EvaluationDomainFactory<DomainField>,
W: AbstractSumcheckWitness<PW>,
Backend: ComputationBackend,
Trait Implementations§
source§impl<F, PW, DomainField, EDF, W, Backend> AbstractSumcheckProversState<F> for SumcheckProversState<F, PW, DomainField, EDF, W, Backend>where
F: Field,
PW: PackedExtension<DomainField, Scalar: From<F> + Into<F> + ExtensionField<DomainField>>,
DomainField: Field,
EDF: EvaluationDomainFactory<DomainField>,
W: AbstractSumcheckWitness<PW, MultilinearId = OracleId>,
Backend: ComputationBackend,
impl<F, PW, DomainField, EDF, W, Backend> AbstractSumcheckProversState<F> for SumcheckProversState<F, PW, DomainField, EDF, W, Backend>where
F: Field,
PW: PackedExtension<DomainField, Scalar: From<F> + Into<F> + ExtensionField<DomainField>>,
DomainField: Field,
EDF: EvaluationDomainFactory<DomainField>,
W: AbstractSumcheckWitness<PW, MultilinearId = OracleId>,
Backend: ComputationBackend,
type Error = Error
type PackedWitnessField = PW
type Claim = SumcheckClaim<F>
type Witness = W
type Prover = SumcheckProver<F, PW, DomainField, W>
fn new_prover( &mut self, claim: SumcheckClaim<F>, witness: W, seq_id: usize, ) -> Result<Self::Prover, Error>
fn pre_execute_rounds( &mut self, prev_rd_challenge: Option<F>, ) -> Result<(), Error>
fn prover_execute_round( &self, prover: &mut Self::Prover, prev_rd_challenge: Option<F>, ) -> Result<SumcheckRound<F>, Error>
fn prover_finalize( prover: Self::Prover, prev_rd_challenge: Option<F>, ) -> Result<ReducedClaim<F>, Error>
Auto Trait Implementations§
impl<F, PW, DomainField, EDF, W, Backend> Freeze for SumcheckProversState<F, PW, DomainField, EDF, W, Backend>where
<DomainField as WithUnderlier>::Underlier: Sized,
<F as WithUnderlier>::Underlier: Sized,
EDF: Freeze,
Backend: Freeze,
impl<F, PW, DomainField, EDF, W, Backend> !RefUnwindSafe for SumcheckProversState<F, PW, DomainField, EDF, W, Backend>
impl<F, PW, DomainField, EDF, W, Backend> !Send for SumcheckProversState<F, PW, DomainField, EDF, W, Backend>
impl<F, PW, DomainField, EDF, W, Backend> !Sync for SumcheckProversState<F, PW, DomainField, EDF, W, Backend>
impl<F, PW, DomainField, EDF, W, Backend> Unpin for SumcheckProversState<F, PW, DomainField, EDF, W, Backend>where
<DomainField as WithUnderlier>::Underlier: Sized,
<F as WithUnderlier>::Underlier: Sized,
EDF: Unpin,
Backend: Unpin,
F: Unpin,
DomainField: Unpin,
W: Unpin,
<Backend as ComputationBackend>::Vec<PW>: Unpin,
<W as AbstractSumcheckWitness<PW>>::Multilinear: Unpin,
PW: Unpin,
impl<F, PW, DomainField, EDF, W, Backend> !UnwindSafe for SumcheckProversState<F, PW, DomainField, EDF, W, Backend>
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
§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