#include <translator_delta_range_constraint_relation.hpp>
|
template<typename ContainerOverSubrelations , typename AllEntities , typename Parameters > |
static void | accumulate (ContainerOverSubrelations &accumulators, const AllEntities &in, const Parameters &, const FF &scaling_factor) |
| Expression for the generalized permutation sort relation.
|
|
template<typename FF_>
class bb::TranslatorDeltaRangeConstraintRelationImpl< FF_ >
Definition at line 12 of file translator_delta_range_constraint_relation.hpp.
◆ FF
◆ accumulate()
template<typename ContainerOverSubrelations , typename AllEntities , typename Parameters >
Expression for the generalized permutation sort relation.
The relation enforces 2 constraints on each of the ordered_range_constraints wires: 1) 2 sequential values are non-descending and have a difference of at most 3, except for the value at last index 2) The value at last index is 2¹⁴ - 1.
When operating in zero knowledge, specific values of the polynomials, currently at the end, which contain random values, are marked to be excluded from the checks above.
- Parameters
-
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. |
The relation enforces 2 constraints on each of the ordered_range_constraints wires: 1) 2 sequential values are non-descending and have a difference of at most 3, except for the value at last index 2) The value at last index is 2¹⁴ - 1
- Parameters
-
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 26 of file translator_delta_range_constraint_relation_impl.hpp.
◆ RELATION_LENGTH
◆ SUBRELATION_PARTIAL_LENGTHS
The documentation for this class was generated from the following files: