pub struct GkrSumcheckProver<'a, F, PW, DomainField, CW, M>where
F: Field,
PW: PackedField,
PW::Scalar: From<F> + Into<F> + ExtensionField<DomainField>,
DomainField: Field,
CW: CompositionPoly<PW>,{ /* private fields */ }
Expand description
A GKR Sumcheck protocol prover.
Implementations§
source§impl<'a, F, PW, DomainField, CW, M> GkrSumcheckProver<'a, F, PW, DomainField, CW, M>where
F: Field,
PW: PackedField,
PW::Scalar: From<F> + Into<F> + ExtensionField<DomainField>,
DomainField: Field,
CW: CompositionPoly<PW>,
impl<'a, F, PW, DomainField, CW, M> GkrSumcheckProver<'a, F, PW, DomainField, CW, M>where
F: Field,
PW: PackedField,
PW::Scalar: From<F> + Into<F> + ExtensionField<DomainField>,
DomainField: Field,
CW: CompositionPoly<PW>,
pub fn round_claim(&self) -> &AbstractSumcheckRoundClaim<F>
source§impl<'a, F, PW, DomainField, CW, M> GkrSumcheckProver<'a, F, PW, DomainField, CW, M>where
F: Field,
PW: PackedExtension<DomainField, Scalar: ExtensionField<DomainField>>,
PW::Scalar: From<F> + Into<F>,
DomainField: Field,
CW: CompositionPoly<PW>,
M: MultilinearPoly<PW> + Clone + Send + Sync,
impl<'a, F, PW, DomainField, CW, M> GkrSumcheckProver<'a, F, PW, DomainField, CW, M>where
F: Field,
PW: PackedExtension<DomainField, Scalar: ExtensionField<DomainField>>,
PW::Scalar: From<F> + Into<F>,
DomainField: Field,
CW: CompositionPoly<PW>,
M: MultilinearPoly<PW> + Clone + Send + Sync,
pub fn new( claim: GkrSumcheckClaim<F>, witness: GkrSumcheckWitness<PW, CW, M>, domain: InterpolationDomain<DomainField>, multilinear_ids: Vec<(usize, usize)>, gkr_round_challenge: &'a [F], ) -> Result<Self, Error>
Trait Implementations§
source§impl<'a, F, PW, DomainField, CW, M: Debug> Debug for GkrSumcheckProver<'a, F, PW, DomainField, CW, M>where
F: Field + Debug,
PW: PackedField + Debug,
PW::Scalar: From<F> + Into<F> + ExtensionField<DomainField>,
DomainField: Field + Debug,
CW: CompositionPoly<PW> + Debug,
impl<'a, F, PW, DomainField, CW, M: Debug> Debug for GkrSumcheckProver<'a, F, PW, DomainField, CW, M>where
F: Field + Debug,
PW: PackedField + Debug,
PW::Scalar: From<F> + Into<F> + ExtensionField<DomainField>,
DomainField: Field + Debug,
CW: CompositionPoly<PW> + Debug,
Auto Trait Implementations§
impl<'a, F, PW, DomainField, CW, M> Freeze for GkrSumcheckProver<'a, F, PW, DomainField, CW, M>where
<DomainField as WithUnderlier>::Underlier: Sized,
<PW as PackedField>::Scalar: Sized,
<<PW as PackedField>::Scalar as WithUnderlier>::Underlier: Sized,
<F as WithUnderlier>::Underlier: Sized,
CW: Freeze,
F: Freeze,
M: Freeze,
impl<'a, F, PW, DomainField, CW, M> RefUnwindSafe for GkrSumcheckProver<'a, F, PW, DomainField, CW, M>where
<DomainField as WithUnderlier>::Underlier: Sized,
<PW as PackedField>::Scalar: Sized,
<<PW as PackedField>::Scalar as WithUnderlier>::Underlier: Sized,
<F as WithUnderlier>::Underlier: Sized,
CW: RefUnwindSafe,
F: RefUnwindSafe,
M: RefUnwindSafe,
PW: RefUnwindSafe,
DomainField: RefUnwindSafe,
impl<'a, F, PW, DomainField, CW, M> Send for GkrSumcheckProver<'a, F, PW, DomainField, CW, M>where
<DomainField as WithUnderlier>::Underlier: Sized,
<PW as PackedField>::Scalar: Sized,
<<PW as PackedField>::Scalar as WithUnderlier>::Underlier: Sized,
<F as WithUnderlier>::Underlier: Sized,
M: Send,
impl<'a, F, PW, DomainField, CW, M> Sync for GkrSumcheckProver<'a, F, PW, DomainField, CW, M>where
<DomainField as WithUnderlier>::Underlier: Sized,
<PW as PackedField>::Scalar: Sized,
<<PW as PackedField>::Scalar as WithUnderlier>::Underlier: Sized,
<F as WithUnderlier>::Underlier: Sized,
M: Sync,
impl<'a, F, PW, DomainField, CW, M> Unpin for GkrSumcheckProver<'a, F, PW, DomainField, CW, M>where
<DomainField as WithUnderlier>::Underlier: Sized,
<PW as PackedField>::Scalar: Sized,
<<PW as PackedField>::Scalar as WithUnderlier>::Underlier: Sized,
<F as WithUnderlier>::Underlier: Sized,
CW: Unpin,
F: Unpin,
M: Unpin,
PW: Unpin,
DomainField: Unpin,
impl<'a, F, PW, DomainField, CW, M> UnwindSafe for GkrSumcheckProver<'a, F, PW, DomainField, CW, M>where
<DomainField as WithUnderlier>::Underlier: Sized,
<PW as PackedField>::Scalar: Sized,
<<PW as PackedField>::Scalar as WithUnderlier>::Underlier: Sized,
<F as WithUnderlier>::Underlier: Sized,
CW: UnwindSafe,
F: UnwindSafe + RefUnwindSafe,
M: UnwindSafe,
PW: UnwindSafe,
DomainField: 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
§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