|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <translator_shiftable_first_coeff_zero_short_relation.hpp>
Public Types | |
| using | FF = FF_ |
Static Public Member Functions | |
| template<typename AllEntities > | |
| static bool | skip (const AllEntities &in) |
| Returns true if the contribution from all subrelations for the provided inputs is identically zero. | |
| template<typename ContainerOverSubrelations , typename AllEntities , typename Parameters > | |
| static void | accumulate (ContainerOverSubrelations &accumulators, const AllEntities &in, const Parameters &, const FF &scaling_factor) |
| Anchors the first coefficient of the shiftable ordered_range_constraints polynomials to zero. | |
Static Public Attributes | |
| static constexpr size_t | RELATION_LENGTH = 3 |
| static constexpr std::array< size_t, 5 > | SUBRELATION_PARTIAL_LENGTHS |
Definition at line 13 of file translator_shiftable_first_coeff_zero_short_relation.hpp.
| using bb::TranslatorShiftableFirstCoeffZeroShortRelationImpl< FF_ >::FF = FF_ |
Definition at line 15 of file translator_shiftable_first_coeff_zero_short_relation.hpp.
|
static |
Anchors the first coefficient of the shiftable ordered_range_constraints polynomials to zero.
Anchors ordered_range_constraints_i[0] = 0 for each of the 5 sorted range-check wires (short-monomial form).
Short-monomial counterpart of TranslatorShiftableFirstCoeffZeroRelation: pins ordered_range_constraints_i[0] = 0, making explicit the lower-endpoint invariant that the Gemini/Shplemini shift mechanic already enforces. See the long relation for the full rationale.
| evals | transformed to evals + C(in(X)...)*scaling_factor |
| in | an std::array containing the fully extended Univariate edges. |
| parameters | contains beta, gamma, and public_input_delta, .... |
| scaling_factor | optional term to scale the evaluation before adding to evals. |
| evals | transformed to evals + C(in(X)...)*scaling_factor |
| in | an std::array containing the fully extended Univariate edges. |
| parameters | contains beta, gamma, and public_input_delta, .... |
| scaling_factor | optional term to scale the evaluation before adding to evals. |
Definition at line 22 of file translator_shiftable_first_coeff_zero_short_relation_impl.hpp.
|
inlinestatic |
Returns true if the contribution from all subrelations for the provided inputs is identically zero.
Every subrelation carries a lagrange_first factor, so on any edge where lagrange_first is identically zero all five contributions are the zero polynomial. lagrange_first is nonzero only on the first row, so this skips the degree-2 products on essentially every edge. This tests the actual edge values (not a selector), so it is sound in every sumcheck round.
Definition at line 37 of file translator_shiftable_first_coeff_zero_short_relation.hpp.
|
staticconstexpr |
Definition at line 19 of file translator_shiftable_first_coeff_zero_short_relation.hpp.
|
staticconstexpr |
Definition at line 21 of file translator_shiftable_first_coeff_zero_short_relation.hpp.