pub struct HalProof<PB: ProverBackend> {
pub commitments: Commitments<PB::Commitment>,
pub opening: PB::OpeningProof,
pub per_air: Vec<AirProofData<PB::Val, PB::Challenge>>,
pub rap_partial_proof: PB::RapPartialProof,
}
Expand description
The full proof for multiple RAPs where trace matrices are committed into multiple commitments, where each commitment is multi-matrix.
Includes the quotient commitments and FRI opening proofs for the constraints as well.
Fields§
§commitments: Commitments<PB::Commitment>
The PCS commitments
opening: PB::OpeningProof
Opening proofs separated by partition, but this may change
per_air: Vec<AirProofData<PB::Val, PB::Challenge>>
Proof data for each AIR
rap_partial_proof: PB::RapPartialProof
Partial proof for rap phase if it exists
Trait Implementations§
Source§impl<PB: ProverBackend> Clone for HalProof<PB>
impl<PB: ProverBackend> Clone for HalProof<PB>
Source§impl<'de, PB: ProverBackend> Deserialize<'de> for HalProof<PB>
impl<'de, PB: ProverBackend> Deserialize<'de> for HalProof<PB>
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<PB, SC: StarkGenericConfig> From<HalProof<PB>> for Proof<SC>where
PB: ProverBackend<Val = Val<SC>, Challenge = SC::Challenge, Commitment = Com<SC>>,
PB::OpeningProof: Into<OpeningProof<PcsProof<SC>, SC::Challenge>>,
PB::RapPartialProof: Into<Option<RapPhaseSeqPartialProof<SC>>>,
impl<PB, SC: StarkGenericConfig> From<HalProof<PB>> for Proof<SC>where
PB: ProverBackend<Val = Val<SC>, Challenge = SC::Challenge, Commitment = Com<SC>>,
PB::OpeningProof: Into<OpeningProof<PcsProof<SC>, SC::Challenge>>,
PB::RapPartialProof: Into<Option<RapPhaseSeqPartialProof<SC>>>,
Auto Trait Implementations§
impl<PB> Freeze for HalProof<PB>where
<PB as ProverBackend>::OpeningProof: Freeze,
<PB as ProverBackend>::RapPartialProof: Freeze,
<PB as ProverBackend>::Commitment: Freeze,
impl<PB> RefUnwindSafe for HalProof<PB>where
<PB as ProverBackend>::OpeningProof: RefUnwindSafe,
<PB as ProverBackend>::RapPartialProof: RefUnwindSafe,
<PB as ProverBackend>::Commitment: RefUnwindSafe,
<PB as ProverBackend>::Val: RefUnwindSafe,
<PB as ProverBackend>::Challenge: RefUnwindSafe,
impl<PB> Send for HalProof<PB>
impl<PB> Sync for HalProof<PB>
impl<PB> Unpin for HalProof<PB>where
<PB as ProverBackend>::OpeningProof: Unpin,
<PB as ProverBackend>::RapPartialProof: Unpin,
<PB as ProverBackend>::Commitment: Unpin,
<PB as ProverBackend>::Val: Unpin,
<PB as ProverBackend>::Challenge: Unpin,
impl<PB> UnwindSafe for HalProof<PB>where
<PB as ProverBackend>::OpeningProof: UnwindSafe,
<PB as ProverBackend>::RapPartialProof: UnwindSafe,
<PB as ProverBackend>::Commitment: UnwindSafe,
<PB as ProverBackend>::Val: UnwindSafe,
<PB as ProverBackend>::Challenge: 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> 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