Expand description
An argument is simply a number of constraints, which we want to enforce on all points of the domain. Both the permutation and the plookup arguments fit this type. Gates can be seen as filtered arguments, which apply only in some points (rows) of the domain. For more info, read book/src/kimchi/arguments.md
Re-exportsΒ§
use alloc::vec::Vec;πuse core::marker::PhantomData;πuse crate::alphas::Alphas;πuse ark_ff::Field;πuse ark_ff::PrimeField;πuse serde::Deserialize;πuse serde::Deserialize;πuse serde::Serialize;πuse serde::Serialize;πuse super::berkeley_columns::BerkeleyChallengeTerm;πuse super::berkeley_columns::BerkeleyChallenges;πuse super::expr::constraints::ExprOps;πuse super::expr::Cache;πuse super::expr::ConstantExpr;πuse super::expr::ConstantTerm;πuse super::expr::Constants;πuse super::gate::CurrOrNext;πuse super::gate::GateType;πuse super::polynomial::COLUMNS;πuse CurrOrNext::Curr;πuse CurrOrNext::Next;πuse crate::circuits::expr::prologue::*;π
StructsΒ§
- Argument
Data - Argument environment data for constraints of field elements
- Argument
Env - The argument environment is used to specify how the argumentβs constraints are
represented when they are built. If the environment is created without ArgumentData
and with
F = Expr<F>, then the constraints are built as Expr expressions (e.g. for use with the prover/verifier). On the other hand, if the environment is created with ArgumentData and F = Field or F = PrimeField, then the constraints are built as expressions of real field elements and can be evaluated directly on the witness without using the prover. - Argument
Witness - Witness data for an argument
EnumsΒ§
- Argument
Type - A constraint type represents a polynomial that will be part of the final equation f (the circuit equation)
TraitsΒ§
- Argument
- The interface for a minimal argument implementation.
- DynArgument