|
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 Public Member Functions inherited from bb::avm2::aluImpl< FF > | |
| 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_DISPATCH_OPERATION = 13 |
| static constexpr size_t | SR_TAG_IS_FF = 16 |
| static constexpr size_t | SR_TAG_IS_U128 = 17 |
| static constexpr size_t | SR_ERR_CHECK = 20 |
| static constexpr size_t | SR_TAG_ERR_CHECK = 21 |
| static constexpr size_t | SR_AB_TAGS_CHECK = 22 |
| static constexpr size_t | SR_ONLY_RELEVANT_CHECK_AB_TAGS_ERROR = 23 |
| static constexpr size_t | SR_DIV_0_ERR = 24 |
| static constexpr size_t | SR_ONLY_RELEVANT_CHECK_DIV_0_ERR_ERROR = 25 |
| static constexpr size_t | SR_C_TAG_CHECK = 27 |
| static constexpr size_t | SR_A_DECOMPOSITION = 29 |
| static constexpr size_t | SR_B_DECOMPOSITION = 30 |
| static constexpr size_t | SR_A_LO_BITS = 32 |
| static constexpr size_t | SR_A_HI_BITS = 33 |
| static constexpr size_t | SR_ALU_ADD_SUB = 34 |
| static constexpr size_t | SR_ALU_MUL_NON_U128 = 35 |
| static constexpr size_t | SR_ALU_MUL_U128 = 36 |
| static constexpr size_t | SR_ALU_DIV_U128_CHECK = 40 |
| static constexpr size_t | SR_ALU_DIV_U128 = 41 |
| static constexpr size_t | SR_ALU_FDIV_DIV_NON_U128 = 42 |
| static constexpr size_t | SR_EQ_OP_MAIN = 43 |
| static constexpr size_t | SR_GT_INPUT_A = 46 |
| static constexpr size_t | SR_GT_INPUT_B = 47 |
| static constexpr size_t | SR_GT_ASSIGN_RESULT_C = 48 |
| static constexpr size_t | SR_NOT_OP_MAIN = 49 |
| static constexpr size_t | SR_SHL_TWO_POW_SHIFT = 50 |
| static constexpr size_t | SR_ALU_SHL = 51 |
| static constexpr size_t | SR_ALU_SHR = 52 |
| static constexpr size_t | SR_SHIFTS_LO_BITS = 55 |
| static constexpr size_t | SR_SEL_TRUNC_NON_TRIVIAL = 59 |
| static constexpr size_t | SR_SEL_TRUNCATE = 60 |
| static constexpr size_t | SR_TRUNC_TRIVIAL_CASE = 61 |
| static constexpr size_t | SR_SMALL_TRUNC_VAL_IS_LO = 62 |
| static constexpr size_t | SR_TRUNC_LO_128_DECOMPOSITION = 63 |
| static constexpr size_t | SR_TRUNC_MID_BITS = 64 |
Static Public Attributes inherited from bb::Relation< aluImpl< FF > > | |
| static constexpr size_t | RELATION_LENGTH |
Static Public Attributes inherited from bb::avm2::aluImpl< FF > | |
| static constexpr std::array< size_t, 65 > | SUBRELATION_PARTIAL_LENGTHS |
Additional Inherited Members | |
Public Types inherited from bb::Relation< aluImpl< FF > > | |
| using | FF = typename RelationImpl::FF |
| 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 > |
Public Types inherited from bb::avm2::aluImpl< FF > | |
| 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 |
|
staticconstexpr |
|
staticconstexpr |