pub struct Proof<F: PrimeField> {
pub sumcheck_proof: SumcheckProof<F>,
}Expand description
Proof for the multi-point evaluation protocol.
Contains only the sumcheck proof. The MLE evaluations at r_0 are
provided externally via lifted_evals (in F_q[X]), from which the
verifier derives the scalar open_evals via \psi_a.
Fields§
§sumcheck_proof: SumcheckProof<F>The inner sumcheck proof.
Trait Implementations§
Source§impl<F> GenTranscribable for Proof<F>where
F: PrimeField,
F::Inner: ConstTranscribable,
F::Modulus: ConstTranscribable,
impl<F> GenTranscribable for Proof<F>where
F: PrimeField,
F::Inner: ConstTranscribable,
F::Modulus: ConstTranscribable,
Source§fn read_transcription_bytes_exact(bytes: &[u8]) -> Self
fn read_transcription_bytes_exact(bytes: &[u8]) -> Self
Creates a new instance from a byte buffer.
The buffer must be exactly the expected length.
Source§fn write_transcription_bytes_exact(&self, buf: &mut [u8])
fn write_transcription_bytes_exact(&self, buf: &mut [u8])
Transcribes the current instance into a byte buffer.
The buffer must be exactly the expected length.
Source§impl<F> Transcribable for Proof<F>where
F: PrimeField,
F::Inner: ConstTranscribable,
F::Modulus: ConstTranscribable,
impl<F> Transcribable for Proof<F>where
F: PrimeField,
F::Inner: ConstTranscribable,
F::Modulus: ConstTranscribable,
Source§const LENGTH_NUM_BYTES: usize = <SumcheckProof<F> as
::zinc_transcript::traits::Transcribable>::LENGTH_NUM_BYTES
const LENGTH_NUM_BYTES: usize = <SumcheckProof<F> as ::zinc_transcript::traits::Transcribable>::LENGTH_NUM_BYTES
Number of bytes required to represent length of this type, could be
zero if known in advance.
Source§fn read_num_bytes(bytes: &[u8]) -> usize
fn read_num_bytes(bytes: &[u8]) -> usize
Read number of bytes required to represent this type.
The buffer must be exactly
LENGTH_NUM_BYTES long.
The buffer passed to read_transcription_bytes should be exactly the
length returned by this function.Source§fn get_num_bytes(&self) -> usize
fn get_num_bytes(&self) -> usize
Returns the number of bytes required to represent this type.
The buffer passed to
write_transcription_bytes should be exactly the
length returned by this function.Source§fn read_transcription_bytes_subset(bytes: &[u8]) -> (Self, &[u8])
fn read_transcription_bytes_subset(bytes: &[u8]) -> (Self, &[u8])
Reads an instance of this type from the beginning of the byte slice, and
returns the instance along with the remaining byte slice.
impl<F: Eq + PrimeField> Eq for Proof<F>
impl<F: PrimeField> StructuralPartialEq for Proof<F>
Auto Trait Implementations§
impl<F> Freeze for Proof<F>where
F: Freeze,
impl<F> RefUnwindSafe for Proof<F>where
F: RefUnwindSafe,
impl<F> Send for Proof<F>
impl<F> Sync for Proof<F>
impl<F> Unpin for Proof<F>where
F: Unpin,
impl<F> UnsafeUnpin for Proof<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for Proof<F>where
F: 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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