|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Polynomial structure required for the lookup argument. More...
#include <generic_lookup_relation.hpp>
Static Public Member Functions | |
| static constexpr size_t | get_inverse_polynomial_index () |
| static constexpr size_t | get_read_count_polynomial_index (const size_t index) |
| static constexpr size_t | get_lookup_term_predicate_index (const size_t lookup_index) |
| static constexpr size_t | get_table_term_predicate_index (const size_t table_index) |
| static constexpr size_t | compute_lookup_term_polynomial_offset (size_t lookup_index) |
| Compute where the polynomials defining a particular lookup term are located. | |
| static constexpr size_t | compute_table_term_polynomial_offset (size_t table_index) |
| Compute where the polynomials defining a particular table term are located. | |
Static Private Attributes | |
| static constexpr size_t | NUM_LOOKUP_TERMS = Settings_::NUM_LOOKUP_TERMS |
| static constexpr size_t | NUM_TABLE_TERMS = Settings_::NUM_TABLE_TERMS |
| static constexpr size_t | INVERSE_POLYNOMIAL_INDEX = 0 |
| static constexpr size_t | LOOKUP_READ_COUNT_START_POLYNOMIAL_INDEX = 1 |
| static constexpr size_t | LOOKUP_TERM_PREDICATE_START_POLYNOMIAL_INDEX |
| static constexpr size_t | TABLE_TERM_PREDICATE_START_POLYNOMIAL_INDEX |
| static constexpr size_t | LOOKUP_TERM_START_POLYNOMIAL_INDEX |
Polynomial structure required for the lookup argument.
The implementor must provide methods get_const_entities and get_nonconst_entities via Settings that return the polynomials required for the lookup argument. These polynomials have a structure that is in part fixed and in part variable:
Fixed Part:
Variable Part:
Definition at line 56 of file generic_lookup_relation.hpp.
|
inlinestaticconstexpr |
Compute where the polynomials defining a particular lookup term are located.
| lookup_index | Index of the lookup term |
Definition at line 94 of file generic_lookup_relation.hpp.
|
inlinestaticconstexpr |
Compute where the polynomials defining a particular table term are located.
| table_index | Index of the table term |
Definition at line 121 of file generic_lookup_relation.hpp.
|
inlinestaticconstexpr |
Definition at line 71 of file generic_lookup_relation.hpp.
|
inlinestaticconstexpr |
Definition at line 78 of file generic_lookup_relation.hpp.
|
inlinestaticconstexpr |
Definition at line 73 of file generic_lookup_relation.hpp.
|
inlinestaticconstexpr |
Definition at line 83 of file generic_lookup_relation.hpp.
|
staticconstexprprivate |
Definition at line 61 of file generic_lookup_relation.hpp.
|
staticconstexprprivate |
Definition at line 62 of file generic_lookup_relation.hpp.
|
staticconstexprprivate |
Definition at line 63 of file generic_lookup_relation.hpp.
|
staticconstexprprivate |
Definition at line 67 of file generic_lookup_relation.hpp.
|
staticconstexprprivate |
Definition at line 58 of file generic_lookup_relation.hpp.
|
staticconstexprprivate |
Definition at line 59 of file generic_lookup_relation.hpp.
|
staticconstexprprivate |
Definition at line 65 of file generic_lookup_relation.hpp.