Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <alu.hpp>
Static Public Member Functions | |
static std::string | get_subrelation_label (size_t index) |
![]() | |
static bool | skip (const AllEntities &in) |
static void | accumulate (ContainerOverSubrelations &evals, const AllEntities &in, const RelationParameters< FF > &, const FF &scaling_factor) |
Static Public Attributes | |
static constexpr const std::string_view | NAME = "alu" |
static constexpr size_t | SR_ERR_CHECK = 4 |
static constexpr size_t | SR_OP_ID_CHECK = 5 |
static constexpr size_t | SR_TAG_IS_FF = 6 |
static constexpr size_t | SR_TAG_IS_U128 = 7 |
static constexpr size_t | SR_C_TAG_CHECK = 8 |
static constexpr size_t | SR_TAG_ERR_CHECK = 11 |
static constexpr size_t | SR_AB_TAGS_CHECK = 12 |
static constexpr size_t | SR_A_DECOMPOSITION = 14 |
static constexpr size_t | SR_B_DECOMPOSITION = 15 |
static constexpr size_t | SR_A_LO_BITS = 17 |
static constexpr size_t | SR_A_HI_BITS = 18 |
static constexpr size_t | SR_ALU_ADD_SUB = 21 |
static constexpr size_t | SR_ALU_MUL_NON_U128 = 23 |
static constexpr size_t | SR_ALU_MUL_U128 = 25 |
static constexpr size_t | SR_ALU_DIV_U128_CHECK = 29 |
static constexpr size_t | SR_ALU_DIV_U128 = 30 |
static constexpr size_t | SR_DIV_0_ERR = 33 |
static constexpr size_t | SR_ALU_FDIV_DIV_NON_U128 = 34 |
static constexpr size_t | SR_EQ_OP_MAIN = 36 |
static constexpr size_t | SR_LT_SWAP_INPUTS_A = 42 |
static constexpr size_t | SR_LT_SWAP_INPUTS_B = 43 |
static constexpr size_t | SR_LTE_NEGATE_RESULT_C = 44 |
static constexpr size_t | SR_NOT_OP_MAIN = 46 |
static constexpr size_t | SR_SHL_TWO_POW_SHIFT = 47 |
static constexpr size_t | SR_ALU_SHL = 48 |
static constexpr size_t | SR_ALU_SHR = 49 |
static constexpr size_t | SR_SHIFTS_LO_BITS = 52 |
static constexpr size_t | SR_SEL_TRUNC_NON_TRIVIAL = 57 |
static constexpr size_t | SR_SEL_TRUNCATE = 58 |
static constexpr size_t | SR_TRUNC_TRIVIAL_CASE = 59 |
static constexpr size_t | SR_SMALL_TRUNC_VAL_IS_LO = 60 |
static constexpr size_t | SR_TRUNC_LO_128_DECOMPOSITION = 61 |
static constexpr size_t | SR_TRUNC_MID_BITS = 62 |
![]() | |
static constexpr std::array< size_t, RelationImpl::SUBRELATION_PARTIAL_LENGTHS.size()> | SUBRELATION_TOTAL_LENGTHS |
static constexpr size_t | RELATION_LENGTH |
static constexpr size_t | TOTAL_RELATION_LENGTH |
![]() | |
static constexpr std::array< size_t, 63 > | SUBRELATION_PARTIAL_LENGTHS |
Additional Inherited Members | |
![]() | |
using | FF = typename RelationImpl::FF |
using | ProtogalaxyTupleOfUnivariatesOverSubrelationsNoOptimisticSkipping = TupleOfUnivariates< FF, compute_composed_subrelation_partial_lengths< NUM_KEYS >(SUBRELATION_TOTAL_LENGTHS)> |
using | ProtogalaxyTupleOfUnivariatesOverSubrelations = TupleOfUnivariatesWithOptimisticSkipping< FF, compute_composed_subrelation_partial_lengths< NUM_KEYS >(SUBRELATION_TOTAL_LENGTHS), NUM_KEYS - 1 > |
using | SumcheckTupleOfUnivariatesOverSubrelations = TupleOfUnivariates< FF, RelationImpl::SUBRELATION_PARTIAL_LENGTHS > |
using | SumcheckArrayOfValuesOverSubrelations = ArrayOfValues< FF, RelationImpl::SUBRELATION_PARTIAL_LENGTHS > |
using | UnivariateAccumulator0 = std::tuple_element_t< 0, SumcheckTupleOfUnivariatesOverSubrelations > |
using | ValueAccumulator0 = std::tuple_element_t< 0, SumcheckArrayOfValuesOverSubrelations > |
![]() | |
using | FF = FF |
|
inlinestatic |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |