pub struct GlobalPreprocessed<SC: SGC> {
pub commitment: Commitment<SC>,
pub instances: Vec<Option<PreprocessedInstanceMeta>>,
pub matrix_to_instance: Vec<usize>,
}Expand description
Global preprocessed data shared by all batch-STARK instances.
This batches all per-instance preprocessed traces into a single Pcs
commitment, while keeping a mapping from instance index to matrix index
and per-matrix metadata.
Fields§
§commitment: Commitment<SC>Single Pcs commitment to all preprocessed traces (one matrix per
instance that defines preprocessed columns).
instances: Vec<Option<PreprocessedInstanceMeta>>For each STARK instance, optional metadata describing its preprocessed trace inside the global commitment.
instances[i] == None means instance i has no preprocessed columns.
matrix_to_instance: Vec<usize>Mapping from preprocessed matrix index to the corresponding instance index.
This allows building per-matrix opening schedules and routing opened values back to instances.
Auto Trait Implementations§
impl<SC> Freeze for GlobalPreprocessed<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Freeze,
impl<SC> RefUnwindSafe for GlobalPreprocessed<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: RefUnwindSafe,
impl<SC> Send for GlobalPreprocessed<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Send,
impl<SC> Sync for GlobalPreprocessed<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Sync,
impl<SC> Unpin for GlobalPreprocessed<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Unpin,
impl<SC> UnsafeUnpin for GlobalPreprocessed<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: UnsafeUnpin,
impl<SC> UnwindSafe for GlobalPreprocessed<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: 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> 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