pub trait MachineProvingKey<SC: StarkGenericConfig>: Send + Sync {
// Required methods
fn preprocessed_commit(&self) -> Com<SC>;
fn pc_start(&self) -> Val<SC>;
fn initial_global_cumulative_sum(&self) -> SepticDigest<Val<SC>>;
fn observe_into(&self, challenger: &mut Challenger<SC>);
}
Expand description
A proving key for any MachineAir
that is agnostic to hardware.
Required Methods§
Sourcefn preprocessed_commit(&self) -> Com<SC>
fn preprocessed_commit(&self) -> Com<SC>
The main commitment.
Sourcefn initial_global_cumulative_sum(&self) -> SepticDigest<Val<SC>>
fn initial_global_cumulative_sum(&self) -> SepticDigest<Val<SC>>
The initial global cumulative sum.
Sourcefn observe_into(&self, challenger: &mut Challenger<SC>)
fn observe_into(&self, challenger: &mut Challenger<SC>)
Observe itself in the challenger.