Expand description
This module implements the double generic gate.
Re-exportsยง
use alloc::string::String;๐use alloc::vec;๐use alloc::vec;๐use alloc::vec::Vec;๐use crate::circuits::argument::Argument;๐use crate::circuits::argument::ArgumentEnv;๐use crate::circuits::argument::ArgumentType;๐use crate::circuits::berkeley_columns::BerkeleyChallengeTerm;๐use crate::circuits::expr::constraints::ExprOps;๐use crate::circuits::expr::Cache;๐use crate::circuits::gate::CircuitGate;๐use crate::circuits::gate::GateType;๐use crate::circuits::polynomial::COLUMNS;๐use crate::circuits::wires::GateWires;๐use ark_ff::FftField;๐use ark_ff::PrimeField;๐use core::array;๐use core::marker::PhantomData;๐use crate::curve::KimchiCurve;๐use crate::prover_index::ProverIndex;๐use ark_ff::Zero;๐use ark_poly::univariate::DensePolynomial;๐
Modulesยง
Structsยง
- Generic
- Implementation of the
Genericgate
Enumsยง
- Generic
Gate Spec - The different type of computation that are possible with a generic gate.
This type is useful to create a generic gate via the
CircuitGate::create_generic_gadgetfunction.
Constantsยง
- CONSTRAINTS
- Number of constraints produced by the gate.
- DOUBLE_
GENERIC_ COEFFS - The double generic gate actually contains two generic gates.
- DOUBLE_
GENERIC_ REGISTERS - Number of generic of registers by a double generic gate.
- GENERIC_
COEFFS - Number of coefficients used by a single generic gate Three are used for the registers, one for the multiplication, and one for the constant.
- GENERIC_
REGISTERS - Number of generic of registers by a single generic gate