|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Bilinear constraint — BILINEAR mode of the bilinear_batched_eq gate (see bilinear_or_batched_eq_check_relation.hpp). More...
#include <arithmetic_constraints.hpp>
Public Attributes | |
| uint32_t | a |
| uint32_t | b |
| uint32_t | c |
| uint32_t | d |
| bb::fr | q_m |
| bb::fr | q_l |
| bb::fr | q_r |
| bb::fr | q_o |
| bb::fr | q_4 |
| bb::fr | q_5 |
| bb::fr | q_c |
Friends | |
| bool | operator== (BilinearConstraint const &lhs, BilinearConstraint const &rhs)=default |
Bilinear constraint — BILINEAR mode of the bilinear_batched_eq gate (see bilinear_or_batched_eq_check_relation.hpp).
Represents the shared-wire two-product shape \( q_m \cdot a \cdot b + q_5 \cdot a \cdot c + q_l \cdot a + q_r \cdot b + q_o \cdot c + q_4 \cdot d
+ q_c = 0 \), i.e. two products sharing wire a. Wire d carries only a linear term. Present only in Mega circuits.
Definition at line 35 of file arithmetic_constraints.hpp.
|
friend |
| uint32_t acir_format::BilinearConstraint::a |
Definition at line 36 of file arithmetic_constraints.hpp.
| uint32_t acir_format::BilinearConstraint::b |
Definition at line 37 of file arithmetic_constraints.hpp.
| uint32_t acir_format::BilinearConstraint::c |
Definition at line 38 of file arithmetic_constraints.hpp.
| uint32_t acir_format::BilinearConstraint::d |
Definition at line 39 of file arithmetic_constraints.hpp.
| bb::fr acir_format::BilinearConstraint::q_4 |
Definition at line 44 of file arithmetic_constraints.hpp.
| bb::fr acir_format::BilinearConstraint::q_5 |
Definition at line 45 of file arithmetic_constraints.hpp.
| bb::fr acir_format::BilinearConstraint::q_c |
Definition at line 46 of file arithmetic_constraints.hpp.
| bb::fr acir_format::BilinearConstraint::q_l |
Definition at line 41 of file arithmetic_constraints.hpp.
| bb::fr acir_format::BilinearConstraint::q_m |
Definition at line 40 of file arithmetic_constraints.hpp.
| bb::fr acir_format::BilinearConstraint::q_o |
Definition at line 43 of file arithmetic_constraints.hpp.
| bb::fr acir_format::BilinearConstraint::q_r |
Definition at line 42 of file arithmetic_constraints.hpp.