pub struct GkrSumcheckProversState<'a, F, PW, DomainField, EDF, CW, M, Backend>where
F: Field,
PW: PackedField,
DomainField: Field,
EDF: EvaluationDomainFactory<DomainField>,
CW: CompositionPoly<PW>,
M: MultilinearPoly<PW> + Clone + Send + Sync,
Backend: ComputationBackend,{ /* private fields */ }
Implementations§
source§impl<'a, F, PW, DomainField, EDF, CW, M, Backend> GkrSumcheckProversState<'a, F, PW, DomainField, EDF, CW, M, Backend>where
F: Field,
PW: PackedField<Scalar: From<F> + Into<F> + ExtensionField<DomainField>>,
DomainField: Field,
EDF: EvaluationDomainFactory<DomainField>,
CW: CompositionPoly<PW>,
M: MultilinearPoly<PW> + Clone + Send + Sync,
Backend: ComputationBackend,
impl<'a, F, PW, DomainField, EDF, CW, M, Backend> GkrSumcheckProversState<'a, F, PW, DomainField, EDF, CW, M, Backend>where
F: Field,
PW: PackedField<Scalar: From<F> + Into<F> + ExtensionField<DomainField>>,
DomainField: Field,
EDF: EvaluationDomainFactory<DomainField>,
CW: CompositionPoly<PW>,
M: MultilinearPoly<PW> + Clone + Send + Sync,
Backend: ComputationBackend,
Trait Implementations§
source§impl<'a, F, PW, DomainField, EDF, CW, M, Backend> AbstractSumcheckProversState<F> for GkrSumcheckProversState<'a, F, PW, DomainField, EDF, CW, M, Backend>where
F: Field,
PW: PackedExtension<DomainField, Scalar: From<F> + Into<F> + ExtensionField<DomainField>>,
DomainField: Field,
EDF: EvaluationDomainFactory<DomainField>,
CW: CompositionPoly<PW>,
M: MultilinearPoly<PW> + Clone + Send + Sync,
Backend: ComputationBackend,
impl<'a, F, PW, DomainField, EDF, CW, M, Backend> AbstractSumcheckProversState<F> for GkrSumcheckProversState<'a, F, PW, DomainField, EDF, CW, M, Backend>where
F: Field,
PW: PackedExtension<DomainField, Scalar: From<F> + Into<F> + ExtensionField<DomainField>>,
DomainField: Field,
EDF: EvaluationDomainFactory<DomainField>,
CW: CompositionPoly<PW>,
M: MultilinearPoly<PW> + Clone + Send + Sync,
Backend: ComputationBackend,
type Error = Error
type PackedWitnessField = PW
type Claim = GkrSumcheckClaim<F>
type Witness = GkrSumcheckWitness<PW, CW, M>
type Prover = GkrSumcheckProver<'a, F, PW, DomainField, CW, M>
fn new_prover( &mut self, claim: GkrSumcheckClaim<F>, witness: GkrSumcheckWitness<PW, CW, M>, 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<AbstractSumcheckRound<F>, Error>
fn prover_finalize( prover: Self::Prover, prev_rd_challenge: Option<F> ) -> Result<ReducedClaim<F>, Error>
Auto Trait Implementations§
impl<'a, F, PW, DomainField, EDF, CW, M, Backend> Freeze for GkrSumcheckProversState<'a, F, PW, DomainField, EDF, CW, M, Backend>where
Backend: Debug + Sync + Send + Clone + Freeze,
M: Debug,
CW: Sync + Send + Debug,
EDF: Clone + Freeze,
<DomainField as WithUnderlier>::Underlier: PackScalar<DomainField> + UnderlierType + Sync + Send + Zeroable + NoUninit + Random + Copy + Clone + ConstantTimeEq + Eq + PartialEq + Default + Debug + Sized + 'static,
DomainField: WithUnderlier + Zeroable + InvertOrZero + Square + for<'a> MulAssign<&'a DomainField> + for<'a> SubAssign<&'a DomainField> + for<'a> AddAssign<&'a DomainField> + MulAssign + SubAssign + AddAssign + for<'a> Product<&'a DomainField> + for<'a> Sum<&'a DomainField> + for<'a> Mul<&'a DomainField, Output = DomainField, Output = DomainField> + for<'a> Sub<&'a DomainField, Output = DomainField, Output = DomainField> + for<'a> Add<&'a DomainField, Output = DomainField, Output = DomainField> + Product + Sum + Mul + Sub + Add + Neg<Output = DomainField> + Debug + Sync + Send + Default + Clone + Copy + Eq + PartialEq + 'static,
PW: Zeroable + Sync + Send + Product + Sum + MulAssign<<PW as PackedField>::Scalar> + SubAssign<<PW as PackedField>::Scalar> + AddAssign<<PW as PackedField>::Scalar> + Mul<<PW as PackedField>::Scalar, Output = PW, Output = PW> + Sub<<PW as PackedField>::Scalar, Output = PW, Output = PW> + Add<<PW as PackedField>::Scalar, Output = PW, Output = PW> + MulAssign + SubAssign + AddAssign + Mul + Sub + Add + Eq + PartialEq + Copy + Clone + Debug + Default + 'static,
<F as WithUnderlier>::Underlier: PackScalar<F> + UnderlierType + Sync + Send + Zeroable + NoUninit + Random + Copy + Clone + ConstantTimeEq + Eq + PartialEq + Default + Debug + Sized + 'static,
F: WithUnderlier + Zeroable + InvertOrZero + Square + for<'a> MulAssign<&'a F> + for<'a> SubAssign<&'a F> + for<'a> AddAssign<&'a F> + MulAssign + SubAssign + AddAssign + for<'a> Product<&'a F> + for<'a> Sum<&'a F> + for<'a> Mul<&'a F, Output = F, Output = F> + for<'a> Sub<&'a F, Output = F, Output = F> + for<'a> Add<&'a F, Output = F, Output = F> + Product + Sum + Mul + Sub + Add + Neg<Output = F> + Debug + Sync + Send + Default + Clone + Copy + Eq + PartialEq + 'static,
<Backend as ComputationBackend>::Vec<PW>: Freeze,
impl<'a, F, PW, DomainField, EDF, CW, M, Backend> !RefUnwindSafe for GkrSumcheckProversState<'a, F, PW, DomainField, EDF, CW, M, Backend>
impl<'a, F, PW, DomainField, EDF, CW, M, Backend> !Send for GkrSumcheckProversState<'a, F, PW, DomainField, EDF, CW, M, Backend>
impl<'a, F, PW, DomainField, EDF, CW, M, Backend> !Sync for GkrSumcheckProversState<'a, F, PW, DomainField, EDF, CW, M, Backend>
impl<'a, F, PW, DomainField, EDF, CW, M, Backend> Unpin for GkrSumcheckProversState<'a, F, PW, DomainField, EDF, CW, M, Backend>where
Backend: Debug + Sync + Send + Clone + Unpin,
M: Debug + Unpin,
CW: Sync + Send + Debug + Unpin,
EDF: Clone + Unpin,
<DomainField as WithUnderlier>::Underlier: PackScalar<DomainField> + UnderlierType + Sync + Send + Zeroable + NoUninit + Random + Copy + Clone + ConstantTimeEq + Eq + PartialEq + Default + Debug + Sized + 'static,
DomainField: WithUnderlier + Zeroable + InvertOrZero + Square + for<'a> MulAssign<&'a DomainField> + for<'a> SubAssign<&'a DomainField> + for<'a> AddAssign<&'a DomainField> + MulAssign + SubAssign + AddAssign + for<'a> Product<&'a DomainField> + for<'a> Sum<&'a DomainField> + for<'a> Mul<&'a DomainField, Output = DomainField, Output = DomainField> + for<'a> Sub<&'a DomainField, Output = DomainField, Output = DomainField> + for<'a> Add<&'a DomainField, Output = DomainField, Output = DomainField> + Product + Sum + Mul + Sub + Add + Neg<Output = DomainField> + Debug + Sync + Send + Default + Clone + Copy + Eq + PartialEq + 'static + Unpin,
PW: Zeroable + Sync + Send + Product + Sum + MulAssign<<PW as PackedField>::Scalar> + SubAssign<<PW as PackedField>::Scalar> + AddAssign<<PW as PackedField>::Scalar> + Mul<<PW as PackedField>::Scalar, Output = PW, Output = PW> + Sub<<PW as PackedField>::Scalar, Output = PW, Output = PW> + Add<<PW as PackedField>::Scalar, Output = PW, Output = PW> + MulAssign + SubAssign + AddAssign + Mul + Sub + Add + Eq + PartialEq + Copy + Clone + Debug + Default + 'static + Unpin,
<F as WithUnderlier>::Underlier: PackScalar<F> + UnderlierType + Sync + Send + Zeroable + NoUninit + Random + Copy + Clone + ConstantTimeEq + Eq + PartialEq + Default + Debug + Sized + 'static,
F: WithUnderlier + Zeroable + InvertOrZero + Square + for<'a> MulAssign<&'a F> + for<'a> SubAssign<&'a F> + for<'a> AddAssign<&'a F> + MulAssign + SubAssign + AddAssign + for<'a> Product<&'a F> + for<'a> Sum<&'a F> + for<'a> Mul<&'a F, Output = F, Output = F> + for<'a> Sub<&'a F, Output = F, Output = F> + for<'a> Add<&'a F, Output = F, Output = F> + Product + Sum + Mul + Sub + Add + Neg<Output = F> + Debug + Sync + Send + Default + Clone + Copy + Eq + PartialEq + 'static,
<Backend as ComputationBackend>::Vec<PW>: Unpin,
impl<'a, F, PW, DomainField, EDF, CW, M, Backend> !UnwindSafe for GkrSumcheckProversState<'a, F, PW, DomainField, EDF, CW, M, 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