8#include "../columns.hpp"
17 static constexpr std::string_view
NAME =
"LOOKUP_TO_RADIX_LIMB_RANGE";
22 static constexpr Column COUNTS = Column::lookup_to_radix_limb_range_counts;
24 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = { ColumnAndShifts::to_radix_limb };
25 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::precomputed_clk };
29template <
typename FF_>
35 static constexpr std::string_view
NAME =
"LOOKUP_TO_RADIX_LIMB_LESS_THAN_RADIX_RANGE";
40 static constexpr Column COUNTS = Column::lookup_to_radix_limb_less_than_radix_range_counts;
41 static constexpr Column INVERSES = Column::lookup_to_radix_limb_less_than_radix_range_inv;
42 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
43 ColumnAndShifts::to_radix_limb_radix_diff
45 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::precomputed_clk };
50template <
typename FF_>
57 static constexpr std::string_view
NAME =
"LOOKUP_TO_RADIX_FETCH_SAFE_LIMBS";
62 static constexpr Column COUNTS = Column::lookup_to_radix_fetch_safe_limbs_counts;
63 static constexpr Column INVERSES = Column::lookup_to_radix_fetch_safe_limbs_inv;
64 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
65 ColumnAndShifts::to_radix_radix, ColumnAndShifts::to_radix_safe_limbs
67 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = {
68 ColumnAndShifts::precomputed_clk, ColumnAndShifts::precomputed_to_radix_safe_limbs
73template <
typename FF_>
79 static constexpr std::string_view
NAME =
"LOOKUP_TO_RADIX_FETCH_P_LIMB";
84 static constexpr Column COUNTS = Column::lookup_to_radix_fetch_p_limb_counts;
86 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
87 ColumnAndShifts::to_radix_radix, ColumnAndShifts::to_radix_limb_index, ColumnAndShifts::to_radix_p_limb
89 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = {
90 ColumnAndShifts::precomputed_p_decomposition_radix,
91 ColumnAndShifts::precomputed_p_decomposition_limb_index,
92 ColumnAndShifts::precomputed_p_decomposition_limb
97template <
typename FF_>
103 static constexpr std::string_view
NAME =
"LOOKUP_TO_RADIX_LIMB_P_DIFF_RANGE";
108 static constexpr Column COUNTS = Column::lookup_to_radix_limb_p_diff_range_counts;
109 static constexpr Column INVERSES = Column::lookup_to_radix_limb_p_diff_range_inv;
110 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
111 ColumnAndShifts::to_radix_limb_p_diff
113 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::precomputed_clk };
117template <
typename FF_>
This file contains the template for the generic lookup that can be specialized to enforce various loo...
static constexpr Column COUNTS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::string_view NAME
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr Column SRC_SELECTOR
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr std::string_view RELATION_NAME
static constexpr Column DST_SELECTOR
static constexpr Column INVERSES
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr Column DST_SELECTOR
static constexpr Column COUNTS
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::string_view RELATION_NAME
static constexpr Column INVERSES
static constexpr Column SRC_SELECTOR
static constexpr std::string_view NAME
static constexpr Column INVERSES
static constexpr Column DST_SELECTOR
static constexpr std::string_view NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr std::string_view RELATION_NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr Column COUNTS
static constexpr Column SRC_SELECTOR
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr Column COUNTS
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::string_view NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr std::string_view RELATION_NAME
static constexpr Column INVERSES
static constexpr Column SRC_SELECTOR
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr Column DST_SELECTOR
static constexpr std::string_view NAME
static constexpr Column SRC_SELECTOR
static constexpr Column COUNTS
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::string_view RELATION_NAME
static constexpr Column DST_SELECTOR
static constexpr Column INVERSES
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS