Enum o1vm::pickles::lookup_columns::LookupChallengeTerm
source · pub enum LookupChallengeTerm {
Beta,
Gamma,
Alpha,
}
Variants§
Beta
The challenge to compute 1/(beta + lookupvalue)
Gamma
The challenge to combine tuple sum gamma^i lookupvalue_i
Alpha
The challenge to combine constraints
Trait Implementations§
source§impl<'a> AlphaChallengeTerm<'a> for LookupChallengeTerm
impl<'a> AlphaChallengeTerm<'a> for LookupChallengeTerm
source§impl Clone for LookupChallengeTerm
impl Clone for LookupChallengeTerm
source§fn clone(&self) -> LookupChallengeTerm
fn clone(&self) -> LookupChallengeTerm
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a, F: FftField> ColumnEnvironment<'a, F, LookupChallengeTerm, LookupChallenges<F>> for LookupEvalEnvironment<'a, F>
impl<'a, F: FftField> ColumnEnvironment<'a, F, LookupChallengeTerm, LookupChallenges<F>> for LookupEvalEnvironment<'a, F>
§type Column = LookupColumns
type Column = LookupColumns
The generic type of column the environment can use.
In other words, with the multi-variate polynomial analogy, it is the
variables the multi-variate polynomials are defined upon.
i.e. for a polynomial
P(X, Y, Z)
, the type will represent the variable
X
, Y
and Z
.source§fn get_column(&self, col: &Self::Column) -> Option<&'a Evaluations<F, D<F>>>
fn get_column(&self, col: &Self::Column) -> Option<&'a Evaluations<F, D<F>>>
Return the evaluation of the given column, over the domain.
fn get_domain(&self, d: Domain) -> D<F>
source§fn column_domain(&self, _col: &Self::Column) -> Domain
fn column_domain(&self, _col: &Self::Column) -> Domain
Defines the domain over which the column is evaluated
source§fn get_constants(&self) -> &Constants<F>
fn get_constants(&self) -> &Constants<F>
Return the constants parameters that the expression might use.
For instance, it can be the matrix used by the linear layer in the
permutation.
source§fn get_challenges(&self) -> &LookupChallenges<F>
fn get_challenges(&self) -> &LookupChallenges<F>
Return the challenges, coined by the verifier.
fn vanishes_on_zero_knowledge_and_previous_rows( &self ) -> &'a Evaluations<F, D<F>>
source§impl Debug for LookupChallengeTerm
impl Debug for LookupChallengeTerm
source§impl<'de> Deserialize<'de> for LookupChallengeTerm
impl<'de> Deserialize<'de> for LookupChallengeTerm
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 Display for LookupChallengeTerm
impl Display for LookupChallengeTerm
source§impl<F: Field> Index<LookupChallengeTerm> for LookupChallenges<F>
impl<F: Field> Index<LookupChallengeTerm> for LookupChallenges<F>
source§impl PartialEq<LookupChallengeTerm> for LookupChallengeTerm
impl PartialEq<LookupChallengeTerm> for LookupChallengeTerm
source§fn eq(&self, other: &LookupChallengeTerm) -> bool
fn eq(&self, other: &LookupChallengeTerm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LookupChallengeTerm
impl Serialize for LookupChallengeTerm
impl Copy for LookupChallengeTerm
impl Eq for LookupChallengeTerm
impl StructuralEq for LookupChallengeTerm
impl StructuralPartialEq for LookupChallengeTerm
Auto Trait Implementations§
impl RefUnwindSafe for LookupChallengeTerm
impl Send for LookupChallengeTerm
impl Sync for LookupChallengeTerm
impl Unpin for LookupChallengeTerm
impl UnwindSafe for LookupChallengeTerm
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more