pub struct BooleanityProof<F: PrimeField> {
pub bit_slice_evals: Vec<F>,
}Expand description
Proof produced by the booleanity prover. Carries only the flat list of
bit-slice MLE evaluations at the multi-degree sumcheck output point
$r*$. The remaining open-eval consistency check at $r_0$ is discharged
by the protocol-layer caller against lifted_evals.coeffs.
Fields§
§bit_slice_evals: Vec<F>Flat list of \widetilde{v_{j,i}}(r*), ordered (j-major, i-minor).
Length = num_wit_bin_cols * D.
Trait Implementations§
Source§impl<F: Clone + PrimeField> Clone for BooleanityProof<F>
impl<F: Clone + PrimeField> Clone for BooleanityProof<F>
Source§fn clone(&self) -> BooleanityProof<F>
fn clone(&self) -> BooleanityProof<F>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<F: Debug + PrimeField> Debug for BooleanityProof<F>
impl<F: Debug + PrimeField> Debug for BooleanityProof<F>
Source§impl<F> GenTranscribable for BooleanityProof<F>where
F: PrimeField,
F::Inner: ConstTranscribable,
F::Modulus: ConstTranscribable,
impl<F> GenTranscribable for BooleanityProof<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: PartialEq + PrimeField> PartialEq for BooleanityProof<F>
impl<F: PartialEq + PrimeField> PartialEq for BooleanityProof<F>
Source§impl<F> Transcribable for BooleanityProof<F>where
F: PrimeField,
F::Inner: ConstTranscribable,
F::Modulus: ConstTranscribable,
impl<F> Transcribable for BooleanityProof<F>where
F: PrimeField,
F::Inner: ConstTranscribable,
F::Modulus: ConstTranscribable,
Source§const LENGTH_NUM_BYTES: usize = <Vec<F> as ::zinc_transcript::traits::Transcribable>::LENGTH_NUM_BYTES
const LENGTH_NUM_BYTES: usize = <Vec<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 BooleanityProof<F>
impl<F: PrimeField> StructuralPartialEq for BooleanityProof<F>
Auto Trait Implementations§
impl<F> Freeze for BooleanityProof<F>
impl<F> RefUnwindSafe for BooleanityProof<F>where
F: RefUnwindSafe,
impl<F> Send for BooleanityProof<F>
impl<F> Sync for BooleanityProof<F>
impl<F> Unpin for BooleanityProof<F>where
F: Unpin,
impl<F> UnsafeUnpin for BooleanityProof<F>
impl<F> UnwindSafe for BooleanityProof<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