#include <translator_extra_relations.hpp>
|
| 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 ¶ms, const FF &scaling_factor) |
| | Relation enforcing non-arithmetic transitions of accumulator (value that is tracking the batched evaluation of polynomials in non-native field)
|
| |
template<typename FF_>
class bb::TranslatorAccumulatorTransferRelationImpl< FF_ >
Definition at line 57 of file translator_extra_relations.hpp.
◆ FF
◆ accumulate()
template<typename ContainerOverSubrelations , typename AllEntities , typename Parameters >
Relation enforcing non-arithmetic transitions of accumulator (value that is tracking the batched evaluation of polynomials in non-native field)
This relation enforces three pieces of logic: 1) Accumulator starts as zero before we start accumulating stuff 2) Accumulator limbs are propagated correctly from an odd row to the next even row 3) Accumulator limbs result in the values specified by relation parameters after accumulation
- 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. |
This relation enforces three pieces of logic: 1) Accumulator starts as zero before we start accumulating stuff 2) Accumulator limbs are propagated correctly from an odd row to the next even row 3) Accumulator limbs result in the expected values specified by relation parameters after accumulation
- 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 115 of file translator_extra_relations_impl.hpp.
◆ skip()
template<typename FF_ >
template<typename AllEntities >
Returns true if the contribution from all subrelations for the provided inputs is identically zero.
This has a negligible chance of failing in sumcheck (not in the first round) because effectively transform original coefficients into a random linear combination. But checking each individually is noticeably slower.
Definition at line 87 of file translator_extra_relations.hpp.
◆ RELATION_LENGTH
◆ SUBRELATION_PARTIAL_LENGTHS
Initial value:{
4,
4,
4,
4,
3,
3,
3,
3,
3,
3,
3,
3
}
Definition at line 63 of file translator_extra_relations.hpp.
The documentation for this class was generated from the following files: