Trait kimchi::circuits::expr::ColumnEnvironment
source · pub trait ColumnEnvironment<'a, F: FftField, ChallengeTerm, Challenges: Index<ChallengeTerm, Output = F>> {
type Column;
// Required methods
fn get_column(&self, col: &Self::Column) -> Option<&'a Evaluations<F, D<F>>>;
fn column_domain(&self, col: &Self::Column) -> Domain;
fn get_domain(&self, d: Domain) -> D<F>;
fn get_constants(&self) -> &Constants<F>;
fn get_challenges(&self) -> &Challenges;
fn vanishes_on_zero_knowledge_and_previous_rows(
&self
) -> &'a Evaluations<F, D<F>>;
fn l0_1(&self) -> F;
}
Required Associated Types§
Required Methods§
sourcefn 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.
sourcefn column_domain(&self, col: &Self::Column) -> Domain
fn column_domain(&self, col: &Self::Column) -> Domain
Defines the domain over which the column is evaluated
fn get_domain(&self, d: Domain) -> D<F>
sourcefn 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.
sourcefn get_challenges(&self) -> &Challenges
fn get_challenges(&self) -> &Challenges
Return the challenges, coined by the verifier.