pub struct CtProver { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Prover for CtProver
impl Prover for CtProver
Source§type BaseField = BaseElement
type BaseField = BaseElement
Base field for the computation described by this prover.
Source§type Air = CtAir
type Air = CtAir
Algebraic intermediate representation (AIR) for the computation described by this prover.
Source§type Trace = TraceTable<BaseElement>
type Trace = TraceTable<BaseElement>
Execution trace of the computation described by this prover.
Source§type VC = MerkleTree<Rp64_256>
type VC = MerkleTree<Rp64_256>
Vector commitment scheme to be used.
Source§type RandomCoin = DefaultRandomCoin<Rp64_256>
type RandomCoin = DefaultRandomCoin<Rp64_256>
PRNG to be used for generating random field elements.
Source§type TraceLde<E: FieldElement<BaseField = BaseElement>> = DefaultTraceLde<E, Rp64_256, MerkleTree<Rp64_256>>
type TraceLde<E: FieldElement<BaseField = BaseElement>> = DefaultTraceLde<E, Rp64_256, MerkleTree<Rp64_256>>
Trace low-degree extension for building the LDEs of trace segments and their commitments.
Source§type ConstraintEvaluator<'a, E: FieldElement<BaseField = BaseElement>> = DefaultConstraintEvaluator<'a, CtAir, E>
type ConstraintEvaluator<'a, E: FieldElement<BaseField = BaseElement>> = DefaultConstraintEvaluator<'a, CtAir, E>
Constraints evaluator used to evaluate AIR constraints over the extended execution trace.
Source§type ConstraintCommitment<E: FieldElement<BaseField = BaseElement>> = DefaultConstraintCommitment<E, Rp64_256, MerkleTree<Rp64_256>>
type ConstraintCommitment<E: FieldElement<BaseField = BaseElement>> = DefaultConstraintCommitment<E, Rp64_256, MerkleTree<Rp64_256>>
Constraint low-degree extension for building the LDEs of composition polynomial columns and
their commitments.
Source§fn get_pub_inputs(&self, trace: &Self::Trace) -> CtPublicInputs
fn get_pub_inputs(&self, trace: &Self::Trace) -> CtPublicInputs
Returns a set of public inputs for an instance of the computation defined by the provided
trace. Read more
Source§fn options(&self) -> &ProofOptions
fn options(&self) -> &ProofOptions
Returns ProofOptions which this prover uses to generate STARK proofs. Read more
Source§fn new_trace_lde<E: FieldElement<BaseField = BaseElement>>(
&self,
trace_info: &TraceInfo,
main_trace: &ColMatrix<BaseElement>,
domain: &StarkDomain<BaseElement>,
partition_option: PartitionOptions,
) -> (Self::TraceLde<E>, TracePolyTable<E>)
fn new_trace_lde<E: FieldElement<BaseField = BaseElement>>( &self, trace_info: &TraceInfo, main_trace: &ColMatrix<BaseElement>, domain: &StarkDomain<BaseElement>, partition_option: PartitionOptions, ) -> (Self::TraceLde<E>, TracePolyTable<E>)
Takes the main trace segment columns as input, interpolates them into polynomials in
coefficient form, and evaluates the polynomials over the LDE domain. Read more
Source§fn new_evaluator<'a, E: FieldElement<BaseField = BaseElement>>(
&self,
air: &'a Self::Air,
aux_rand_elements: Option<AuxRandElements<E>>,
composition_coefficients: ConstraintCompositionCoefficients<E>,
) -> Self::ConstraintEvaluator<'a, E>
fn new_evaluator<'a, E: FieldElement<BaseField = BaseElement>>( &self, air: &'a Self::Air, aux_rand_elements: Option<AuxRandElements<E>>, composition_coefficients: ConstraintCompositionCoefficients<E>, ) -> Self::ConstraintEvaluator<'a, E>
Returns a new constraint evaluator which can be used to evaluate transition and boundary
constraints over the extended execution trace.
Source§fn build_constraint_commitment<E: FieldElement<BaseField = BaseElement>>(
&self,
composition_poly_trace: CompositionPolyTrace<E>,
num_constraint_composition_columns: usize,
domain: &StarkDomain<BaseElement>,
partition_options: PartitionOptions,
) -> (Self::ConstraintCommitment<E>, CompositionPoly<E>)
fn build_constraint_commitment<E: FieldElement<BaseField = BaseElement>>( &self, composition_poly_trace: CompositionPolyTrace<E>, num_constraint_composition_columns: usize, domain: &StarkDomain<BaseElement>, partition_options: PartitionOptions, ) -> (Self::ConstraintCommitment<E>, CompositionPoly<E>)
Extends constraint composition polynomial over the LDE domain and builds a commitment to
its evaluations. Read more
Source§fn build_aux_trace<E>(
&self,
main_trace: &Self::Trace,
aux_rand_elements: &AuxRandElements<E>,
) -> ColMatrix<E>where
E: FieldElement<BaseField = Self::BaseField>,
fn build_aux_trace<E>(
&self,
main_trace: &Self::Trace,
aux_rand_elements: &AuxRandElements<E>,
) -> ColMatrix<E>where
E: FieldElement<BaseField = Self::BaseField>,
Builds and returns the auxiliary trace.
Auto Trait Implementations§
impl Freeze for CtProver
impl RefUnwindSafe for CtProver
impl Send for CtProver
impl Sync for CtProver
impl Unpin for CtProver
impl UnsafeUnpin for CtProver
impl UnwindSafe for CtProver
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