pub struct TwoAdicFriPcs<Val, Dft, InputMmcs, FriMmcs> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<Val: Debug, Dft: Debug, InputMmcs: Debug, FriMmcs: Debug> Debug for TwoAdicFriPcs<Val, Dft, InputMmcs, FriMmcs>
impl<Val: Debug, Dft: Debug, InputMmcs: Debug, FriMmcs: Debug> Debug for TwoAdicFriPcs<Val, Dft, InputMmcs, FriMmcs>
Source§impl<Val, Dft, InputMmcs, FriMmcs, Challenge, Challenger> Pcs<Challenge, Challenger> for TwoAdicFriPcs<Val, Dft, InputMmcs, FriMmcs>where
Val: TwoAdicField,
Dft: TwoAdicSubgroupDft<Val>,
InputMmcs: Mmcs<Val>,
FriMmcs: Mmcs<Challenge>,
Challenge: TwoAdicField + ExtensionField<Val>,
Challenger: FieldChallenger<Val> + CanObserve<FriMmcs::Commitment> + GrindingChallenger<Witness = Val>,
impl<Val, Dft, InputMmcs, FriMmcs, Challenge, Challenger> Pcs<Challenge, Challenger> for TwoAdicFriPcs<Val, Dft, InputMmcs, FriMmcs>where
Val: TwoAdicField,
Dft: TwoAdicSubgroupDft<Val>,
InputMmcs: Mmcs<Val>,
FriMmcs: Mmcs<Challenge>,
Challenge: TwoAdicField + ExtensionField<Val>,
Challenger: FieldChallenger<Val> + CanObserve<FriMmcs::Commitment> + GrindingChallenger<Witness = Val>,
type Domain = TwoAdicMultiplicativeCoset<Val>
Source§type Commitment = <InputMmcs as Mmcs<Val>>::Commitment
type Commitment = <InputMmcs as Mmcs<Val>>::Commitment
The commitment that’s sent to the verifier.
Source§type ProverData = <InputMmcs as Mmcs<Val>>::ProverData<DenseMatrix<Val>>
type ProverData = <InputMmcs as Mmcs<Val>>::ProverData<DenseMatrix<Val>>
Data that the prover stores for committed polynomials, to help the prover with opening.
Source§type Proof = FriProof<Challenge, FriMmcs, Val, Vec<BatchOpening<Val, InputMmcs>>>
type Proof = FriProof<Challenge, FriMmcs, Val, Vec<BatchOpening<Val, InputMmcs>>>
The opening argument.
type Error = FriError<<FriMmcs as Mmcs<Challenge>>::Error, <InputMmcs as Mmcs<Val>>::Error>
Source§fn natural_domain_for_degree(&self, degree: usize) -> Self::Domain
fn natural_domain_for_degree(&self, degree: usize) -> Self::Domain
This should return a coset domain (s.t. Domain::next_point returns Some)
fn commit( &self, evaluations: Vec<(Self::Domain, RowMajorMatrix<Val>)>, ) -> (Self::Commitment, Self::ProverData)
fn get_evaluations_on_domain<'a>( &self, prover_data: &'a Self::ProverData, idx: usize, domain: Self::Domain, ) -> impl Matrix<Val> + 'a
fn open( &self, rounds: Vec<(&Self::ProverData, Vec<Vec<Challenge>>)>, challenger: &mut Challenger, ) -> (OpenedValues<Challenge>, Self::Proof)
fn verify( &self, rounds: Vec<(Self::Commitment, Vec<(Self::Domain, Vec<(Challenge, Vec<Challenge>)>)>)>, proof: &Self::Proof, challenger: &mut Challenger, ) -> Result<(), Self::Error>
Auto Trait Implementations§
impl<Val, Dft, InputMmcs, FriMmcs> Freeze for TwoAdicFriPcs<Val, Dft, InputMmcs, FriMmcs>
impl<Val, Dft, InputMmcs, FriMmcs> RefUnwindSafe for TwoAdicFriPcs<Val, Dft, InputMmcs, FriMmcs>
impl<Val, Dft, InputMmcs, FriMmcs> Send for TwoAdicFriPcs<Val, Dft, InputMmcs, FriMmcs>
impl<Val, Dft, InputMmcs, FriMmcs> Sync for TwoAdicFriPcs<Val, Dft, InputMmcs, FriMmcs>
impl<Val, Dft, InputMmcs, FriMmcs> Unpin for TwoAdicFriPcs<Val, Dft, InputMmcs, FriMmcs>
impl<Val, Dft, InputMmcs, FriMmcs> UnwindSafe for TwoAdicFriPcs<Val, Dft, InputMmcs, FriMmcs>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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