Module gadgets::batched_is_zero
source · Expand description
BatchedIsZero chip works as follows:
Given a list of values
to be checked if they are all zero:
- nonempty_witness =
inv(value)
for some non-zerovalue
fromvalues
if it exists,0
otherwise - is_zero: 1 if all
values
are0
,0
otherwise
Structs§
- Verify that a list of values are all 0.
- BatchedIsZeroChip configuration