pub struct WhirProof<SC: StarkProtocolConfig> {
pub mu_pow_witness: SC::F,
pub whir_sumcheck_polys: Vec<[SC::EF; 2]>,
pub codeword_commits: Vec<SC::Digest>,
pub ood_values: Vec<SC::EF>,
pub folding_pow_witnesses: Vec<SC::F>,
pub query_phase_pow_witnesses: Vec<SC::F>,
pub initial_round_opened_rows: Vec<Vec<Vec<Vec<SC::F>>>>,
pub initial_round_merkle_proofs: Vec<Vec<MerkleProof<SC::Digest>>>,
pub codeword_opened_values: Vec<Vec<Vec<SC::EF>>>,
pub codeword_merkle_proofs: Vec<Vec<MerkleProof<SC::Digest>>>,
pub final_poly: Vec<SC::EF>,
}Expand description
WHIR polynomial opening proof for multiple polynomials of the same height, committed to in multiple commitments.
Fields§
§mu_pow_witness: SC::FProof-of-work witness for μ batching challenge.
whir_sumcheck_polys: Vec<[SC::EF; 2]>Per sumcheck round; evaluations on {1, 2}. This list is “flattened” with respect to the WHIR rounds.
codeword_commits: Vec<SC::Digest>The codeword commits after each fold, except the final round.
ood_values: Vec<SC::EF>The out-of-domain values “y0” per round, except the final round.
folding_pow_witnesses: Vec<SC::F>For each sumcheck round, the folding PoW witness. Length is num_whir_sumcheck_rounds = num_whir_rounds * k_whir.
query_phase_pow_witnesses: Vec<SC::F>For each WHIR round, the query phase PoW witness. Length is num_whir_rounds.
initial_round_opened_rows: Vec<Vec<Vec<Vec<SC::F>>>>For the initial round: per committed matrix, per in-domain query.
initial_round_merkle_proofs: Vec<Vec<MerkleProof<SC::Digest>>>§codeword_opened_values: Vec<Vec<Vec<SC::EF>>>Per non-initial round, per in-domain-query.
codeword_merkle_proofs: Vec<Vec<MerkleProof<SC::Digest>>>§final_poly: Vec<SC::EF>Coefficients of the polynomial after the final round.
Trait Implementations§
Source§impl<SC: StarkProtocolConfig> Clone for WhirProof<SC>
impl<SC: StarkProtocolConfig> Clone for WhirProof<SC>
Source§impl<SC: StarkProtocolConfig> Debug for WhirProof<SC>
impl<SC: StarkProtocolConfig> Debug for WhirProof<SC>
Source§impl<SC: DecodableConfig> Decode for WhirProof<SC>
impl<SC: DecodableConfig> Decode for WhirProof<SC>
Source§impl<'de, SC: StarkProtocolConfig> Deserialize<'de> for WhirProof<SC>
impl<'de, SC: StarkProtocolConfig> Deserialize<'de> for WhirProof<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 WhirProof<SC>
impl<SC: EncodableConfig> Encode for WhirProof<SC>
impl<SC: StarkProtocolConfig> Eq for WhirProof<SC>
Source§impl<SC: StarkProtocolConfig> PartialEq for WhirProof<SC>
impl<SC: StarkProtocolConfig> PartialEq for WhirProof<SC>
Auto Trait Implementations§
impl<SC> Freeze for WhirProof<SC>
impl<SC> RefUnwindSafe for WhirProof<SC>where
<SC as StarkProtocolConfig>::F: RefUnwindSafe,
<SC as StarkProtocolConfig>::Digest: RefUnwindSafe,
<SC as StarkProtocolConfig>::EF: RefUnwindSafe,
impl<SC> Send for WhirProof<SC>
impl<SC> Sync for WhirProof<SC>
impl<SC> Unpin for WhirProof<SC>where
<SC as StarkProtocolConfig>::F: Unpin,
<SC as StarkProtocolConfig>::Digest: Unpin,
<SC as StarkProtocolConfig>::EF: Unpin,
impl<SC> UnsafeUnpin for WhirProof<SC>
impl<SC> UnwindSafe for WhirProof<SC>where
<SC as StarkProtocolConfig>::F: UnwindSafe,
<SC as StarkProtocolConfig>::Digest: 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