pub struct BrakedownOracleProver<P, C, Data = Vec<P>>{ /* private fields */ }Expand description
The ProxTestOracleProver for a Brakedown-style interleaved code proximity check.
Implementations§
Source§impl<P, C, Data> BrakedownOracleProver<P, C, Data>
impl<P, C, Data> BrakedownOracleProver<P, C, Data>
Sourcepub const fn new(
codeword: FieldBuffer<P, Data>,
commitment: C,
log_lift: usize,
) -> BrakedownOracleProver<P, C, Data>
pub const fn new( codeword: FieldBuffer<P, Data>, commitment: C, log_lift: usize, ) -> BrakedownOracleProver<P, C, Data>
Constructs a new oracle prover wrapping a committed interleaved codeword.
log_lift is the oracle-padding lift factor (the committed codeword is virtually duplicated
2^log_lift times to reach the common first-round length); pass 0 when no lifting is
needed.
Trait Implementations§
Source§impl<F, P, C, Data> ProxTestOracleProver<F> for BrakedownOracleProver<P, C, Data>
impl<F, P, C, Data> ProxTestOracleProver<F> for BrakedownOracleProver<P, C, Data>
Source§type Commitment = C
type Commitment = C
The Merkle commitment handle for the committed oracle.
Source§fn open_queries<Channel>(
&self,
indices: &[<Channel as WordIPProverChannel<F>>::Word],
channel: &mut Channel,
)where
Channel: MerkleIPProverChannel<F, Commitment = <BrakedownOracleProver<P, C, Data> as ProxTestOracleProver<F>>::Commitment>,
fn open_queries<Channel>(
&self,
indices: &[<Channel as WordIPProverChannel<F>>::Word],
channel: &mut Channel,
)where
Channel: MerkleIPProverChannel<F, Commitment = <BrakedownOracleProver<P, C, Data> as ProxTestOracleProver<F>>::Commitment>,
Sends the per-oracle batched query openings: the oracle’s optimal Merkle layer once,
followed by each queried coset’s values and Merkle opening proof.
Auto Trait Implementations§
impl<P, C, Data> Freeze for BrakedownOracleProver<P, C, Data>
impl<P, C, Data> RefUnwindSafe for BrakedownOracleProver<P, C, Data>where
C: RefUnwindSafe,
Data: RefUnwindSafe,
impl<P, C, Data> Send for BrakedownOracleProver<P, C, Data>
impl<P, C, Data> Sync for BrakedownOracleProver<P, C, Data>
impl<P, C, Data> Unpin for BrakedownOracleProver<P, C, Data>
impl<P, C, Data> UnsafeUnpin for BrakedownOracleProver<P, C, Data>where
C: UnsafeUnpin,
Data: UnsafeUnpin,
impl<P, C, Data> UnwindSafe for BrakedownOracleProver<P, C, Data>where
C: UnwindSafe,
Data: 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