Module kimchi::circuits::expr::constraints
source · Expand description
A number of useful constraints
Traits
- This trait defines a common arithmetic operations interface that can be used by constraints. It allows us to reuse constraint code for witness computation.
Functions
- Creates a constraint to enforce that b is either 0 or 1.
- lo + mi * 2^{LIMB_BITS}
- Crumb constraint for 2-bit value x