Closed vuvoth closed 1 month ago
We should support not equal operator in noname.
assert(a != b)
could be implemented as is_zero(a - b), see for example https://github.com/Consensys/gnark/blob/master/frontend/cs/r1cs/api.go#L535
is_zero(a - b)
we might already have a == b, so checking that a - b == 0 should work
Motivation
We should support not equal operator in noname.
Solution