|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Container for parameters used by the grand product (permutation, lookup) Honk relations. More...
#include <relation_parameters.hpp>
Public Types | |
| using | DataType = T |
Public Member Functions | |
| void | compute_eta_powers (const T &eta_challenge) |
| void | compute_beta_powers (const T &beta_challenge) |
| void | compute_multilinear_batching_challenges (const T &batching_challenge, const size_t num_claims) |
| template<typename U > | |
| RelationParameters< U > | convert_to () const |
Static Public Member Functions | |
| static RelationParameters | get_random () |
Public Attributes | |
| T | eta { 0 } |
| T | eta_two { 0 } |
| T | eta_three { 0 } |
| T | rom_logup_gamma { 0 } |
| T | beta { 0 } |
| T | gamma { 0 } |
| T | public_input_delta { 0 } |
| T | beta_sqr { 0 } |
| T | beta_cube { 0 } |
| T | beta_quartic { 0 } |
| std::array< T, NUM_MULTILINEAR_BATCHING_CHALLENGES > | multilinear_batching_challenges = {} |
| size_t | num_multilinear_batching_challenges = 0 |
| T | eccvm_set_permutation_delta = T(0) |
| std::array< T, NUM_BINARY_LIMBS_IN_GOBLIN_TRANSLATOR > | accumulated_result = { T(0), T(0), T(0), T(0) } |
| std::array< T, NUM_BINARY_LIMBS_IN_GOBLIN_TRANSLATOR+NUM_NATIVE_LIMBS_IN_GOBLIN_TRANSLATOR > | evaluation_input_x |
| std::array< std::array< T, NUM_BINARY_LIMBS_IN_GOBLIN_TRANSLATOR+NUM_NATIVE_LIMBS_IN_GOBLIN_TRANSLATOR >, NUM_CHALLENGE_POWERS_IN_GOBLIN_TRANSLATOR > | batching_challenge_v |
Static Public Attributes | |
| static constexpr int | NUM_BINARY_LIMBS_IN_GOBLIN_TRANSLATOR = 4 |
| static constexpr int | NUM_NATIVE_LIMBS_IN_GOBLIN_TRANSLATOR = 1 |
| static constexpr int | NUM_CHALLENGE_POWERS_IN_GOBLIN_TRANSLATOR = 4 |
| static constexpr size_t | NUM_MULTILINEAR_BATCHING_CHALLENGES = CHONK_MAX_CLAIMS_PER_KERNEL |
Container for parameters used by the grand product (permutation, lookup) Honk relations.
| T,either | a native field type or a Univariate. |
Definition at line 19 of file relation_parameters.hpp.
| using bb::RelationParameters< T >::DataType = T |
Definition at line 20 of file relation_parameters.hpp.
|
inline |
Definition at line 46 of file relation_parameters.hpp.
|
inline |
Definition at line 39 of file relation_parameters.hpp.
|
inline |
Definition at line 59 of file relation_parameters.hpp.
|
inline |
Definition at line 95 of file relation_parameters.hpp.
|
inlinestatic |
Definition at line 128 of file relation_parameters.hpp.
| std::array<T, NUM_BINARY_LIMBS_IN_GOBLIN_TRANSLATOR> bb::RelationParameters< T >::accumulated_result = { T(0), T(0), T(0), T(0) } |
Definition at line 80 of file relation_parameters.hpp.
| std::array<std::array<T, NUM_BINARY_LIMBS_IN_GOBLIN_TRANSLATOR + NUM_NATIVE_LIMBS_IN_GOBLIN_TRANSLATOR>, NUM_CHALLENGE_POWERS_IN_GOBLIN_TRANSLATOR> bb::RelationParameters< T >::batching_challenge_v |
Definition at line 86 of file relation_parameters.hpp.
| T bb::RelationParameters< T >::beta { 0 } |
Definition at line 30 of file relation_parameters.hpp.
| T bb::RelationParameters< T >::beta_cube { 0 } |
Definition at line 35 of file relation_parameters.hpp.
| T bb::RelationParameters< T >::beta_quartic { 0 } |
Definition at line 36 of file relation_parameters.hpp.
| T bb::RelationParameters< T >::beta_sqr { 0 } |
Definition at line 34 of file relation_parameters.hpp.
| T bb::RelationParameters< T >::eccvm_set_permutation_delta = T(0) |
Definition at line 79 of file relation_parameters.hpp.
| T bb::RelationParameters< T >::eta { 0 } |
Definition at line 26 of file relation_parameters.hpp.
| T bb::RelationParameters< T >::eta_three { 0 } |
Definition at line 28 of file relation_parameters.hpp.
| T bb::RelationParameters< T >::eta_two { 0 } |
Definition at line 27 of file relation_parameters.hpp.
| std::array<T, NUM_BINARY_LIMBS_IN_GOBLIN_TRANSLATOR + NUM_NATIVE_LIMBS_IN_GOBLIN_TRANSLATOR> bb::RelationParameters< T >::evaluation_input_x |
Definition at line 81 of file relation_parameters.hpp.
| T bb::RelationParameters< T >::gamma { 0 } |
Definition at line 31 of file relation_parameters.hpp.
| std::array<T, NUM_MULTILINEAR_BATCHING_CHALLENGES> bb::RelationParameters< T >::multilinear_batching_challenges = {} |
Definition at line 56 of file relation_parameters.hpp.
|
staticconstexpr |
Definition at line 21 of file relation_parameters.hpp.
|
staticconstexpr |
Definition at line 23 of file relation_parameters.hpp.
|
staticconstexpr |
Definition at line 24 of file relation_parameters.hpp.
| size_t bb::RelationParameters< T >::num_multilinear_batching_challenges = 0 |
Definition at line 57 of file relation_parameters.hpp.
|
staticconstexpr |
Definition at line 22 of file relation_parameters.hpp.
| T bb::RelationParameters< T >::public_input_delta { 0 } |
Definition at line 33 of file relation_parameters.hpp.
| T bb::RelationParameters< T >::rom_logup_gamma { 0 } |
Definition at line 29 of file relation_parameters.hpp.