pub struct AirProofInput<SC: StarkGenericConfig> {
pub air: Arc<dyn AnyRap<SC>>,
pub cached_mains_pdata: Vec<ProverTraceData<SC>>,
pub raw: AirProofRawInput<Val<SC>>,
}
Expand description
Necessary input for proving a single AIR.
Fields§
§air: Arc<dyn AnyRap<SC>>
§cached_mains_pdata: Vec<ProverTraceData<SC>>
Prover data for cached main traces
raw: AirProofRawInput<Val<SC>>
Implementations§
Source§impl<SC: StarkGenericConfig> AirProofInput<SC>
impl<SC: StarkGenericConfig> AirProofInput<SC>
pub fn simple( air: Arc<dyn AnyRap<SC>>, trace: RowMajorMatrix<Val<SC>>, public_values: Vec<Val<SC>>, ) -> Self
pub fn simple_no_pis( air: Arc<dyn AnyRap<SC>>, trace: RowMajorMatrix<Val<SC>>, ) -> Self
pub fn multiple_simple( airs: Vec<Arc<dyn AnyRap<SC>>>, traces: Vec<RowMajorMatrix<Val<SC>>>, public_values: Vec<Vec<Val<SC>>>, ) -> Vec<Self>
pub fn multiple_simple_no_pis( airs: Vec<Arc<dyn AnyRap<SC>>>, traces: Vec<RowMajorMatrix<Val<SC>>>, ) -> Vec<Self>
Sourcepub fn main_trace_height(&self) -> usize
pub fn main_trace_height(&self) -> usize
Return the height of the main trace.
Trait Implementations§
Source§impl<SC: StarkGenericConfig> AirProofInputTestHelper<SC> for AirProofInput<SC>
impl<SC: StarkGenericConfig> AirProofInputTestHelper<SC> for AirProofInput<SC>
fn cached_traces_no_pis( air: Arc<dyn AnyRap<SC>>, cached_traces: Vec<RowMajorMatrix<Val<SC>>>, common_trace: RowMajorMatrix<Val<SC>>, ) -> Self
Source§impl<SC: StarkGenericConfig> Clone for AirProofInput<SC>
impl<SC: StarkGenericConfig> Clone for AirProofInput<SC>
Auto Trait Implementations§
impl<SC> Freeze for AirProofInput<SC>
impl<SC> !RefUnwindSafe for AirProofInput<SC>
impl<SC> Send for AirProofInput<SC>
impl<SC> Sync for AirProofInput<SC>
impl<SC> Unpin for AirProofInput<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Unpin,
<<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Domain as PolynomialSpace>::Val: Unpin,
impl<SC> !UnwindSafe for AirProofInput<SC>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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