pub struct Proof<SC: StarkProtocolConfig> {
pub common_main_commit: SC::Digest,
pub trace_vdata: Vec<Option<TraceVData<SC>>>,
pub public_values: Vec<Vec<SC::F>>,
pub gkr_proof: GkrProof<SC>,
pub batch_constraint_proof: BatchConstraintProof<SC>,
pub stacking_proof: StackingProof<SC>,
pub whir_proof: WhirProof<SC>,
}Fields§
§common_main_commit: SC::DigestThe commitment to the data in common_main.
trace_vdata: Vec<Option<TraceVData<SC>>>For each AIR in vkey order, the corresponding trace shape, or None if
the trace is empty. In a valid proof, if vk.per_air[i].is_required,
then trace_vdata[i] must be Some(_).
public_values: Vec<Vec<SC::F>>For each AIR in vkey order, the public values. Public values should be empty if the AIR has an empty trace.
gkr_proof: GkrProof<SC>§batch_constraint_proof: BatchConstraintProof<SC>§stacking_proof: StackingProof<SC>§whir_proof: WhirProof<SC>Trait Implementations§
Source§impl<SC: StarkProtocolConfig> Clone for Proof<SC>
impl<SC: StarkProtocolConfig> Clone for Proof<SC>
Source§impl<SC: StarkProtocolConfig> Debug for Proof<SC>
impl<SC: StarkProtocolConfig> Debug for Proof<SC>
Source§impl<SC: DecodableConfig> Decode for Proof<SC>
impl<SC: DecodableConfig> Decode for Proof<SC>
Source§impl<'de, SC: StarkProtocolConfig> Deserialize<'de> for Proof<SC>
impl<'de, SC: StarkProtocolConfig> Deserialize<'de> for Proof<SC>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<SC: EncodableConfig> Encode for Proof<SC>
impl<SC: EncodableConfig> Encode for Proof<SC>
impl<SC: StarkProtocolConfig> Eq for Proof<SC>
Source§impl<SC: StarkProtocolConfig> PartialEq for Proof<SC>
impl<SC: StarkProtocolConfig> PartialEq for Proof<SC>
Auto Trait Implementations§
impl<SC> Freeze for Proof<SC>where
<SC as StarkProtocolConfig>::Digest: Freeze,
<SC as StarkProtocolConfig>::F: Freeze,
<SC as StarkProtocolConfig>::EF: Freeze,
impl<SC> RefUnwindSafe for Proof<SC>where
<SC as StarkProtocolConfig>::Digest: RefUnwindSafe,
<SC as StarkProtocolConfig>::F: RefUnwindSafe,
<SC as StarkProtocolConfig>::EF: RefUnwindSafe,
impl<SC> Send for Proof<SC>
impl<SC> Sync for Proof<SC>
impl<SC> Unpin for Proof<SC>where
<SC as StarkProtocolConfig>::Digest: Unpin,
<SC as StarkProtocolConfig>::F: Unpin,
<SC as StarkProtocolConfig>::EF: Unpin,
impl<SC> UnsafeUnpin for Proof<SC>where
<SC as StarkProtocolConfig>::Digest: UnsafeUnpin,
<SC as StarkProtocolConfig>::F: UnsafeUnpin,
<SC as StarkProtocolConfig>::EF: UnsafeUnpin,
impl<SC> UnwindSafe for Proof<SC>where
<SC as StarkProtocolConfig>::Digest: UnwindSafe,
<SC as StarkProtocolConfig>::F: UnwindSafe,
<SC as StarkProtocolConfig>::EF: 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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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