Closed tjchern closed 2 years ago
Hi, dear libsnark developers: I am confuse about the majority qap circuit. maj(x, y, z) = xy xor yz xor xz. in code, it represents: / 2result + aux = x + y + z x, y, z, aux -- bits aux = x + y + z - 2result / why is it correct? thanks very much!
Hi, dear libsnark developers: I am confuse about the majority qap circuit. maj(x, y, z) = xy xor yz xor xz. in code, it represents: / 2result + aux = x + y + z x, y, z, aux -- bits aux = x + y + z - 2result / why is it correct? thanks very much!