46 static_assert(LOG_MINI_CIRCUIT_SIZE >
LOG_MAX_RANDOM,
"Mini circuit must be larger than max random region");
76 constexpr size_t D =
LOG_N;
77 constexpr size_t M = LOG_MINI_CIRCUIT_SIZE;
89 for (
size_t k = 0; k < D; k++) {
103 for (
size_t k = m + 1; k < M; k++) {
106 FF u_m_M1 = u[m] * u_mp1_M1;
109 for (
size_t k = R + 1; k < D; k++) {
112 FF u_R_D1 = u[R] * u_Rp1_D1;
115 for (
size_t k = 0; k < R; k++) {
120 for (
size_t k = 0; k < m; k++) {
132 for (
size_t k = r + 1; k < M; k++) {
135 FF c_r_M1 = c[r] * c_rp1_M1;
138 for (
size_t k = M; k < D; k++) {
142 FF c_r_D1 = c_r_M1 * c_M_D1;
145 for (
size_t k = 0; k < r; k++) {
150 for (
size_t k = s; k < r; k++) {
192 FF part1 = c_r_D1 * (
FF(1) - c_s_r1);
197 FF part2 = u_m_M1 * c_M_D1;
211 FF inner_even_odd =
FF(1) - c_r_M1 - u_m_M1;
#define BB_ASSERT(expression,...)
bb::field< bb::Bn254FrParams > FF
Entry point for Barretenberg command-line interface.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Evaluates the 10 structured Translator precomputed selectors at a sumcheck challenge point.
static TranslatorSelectorEvaluations compute(std::span< const FF > u)
Compute evaluations of all 10 structured selectors at the sumcheck challenge.
FF lagrange_odd_in_minicircuit
static constexpr size_t LOG_CONCAT_GROUP_SIZE
FF lagrange_last_in_minicircuit
static constexpr size_t LOG_N
static constexpr size_t RESULT_ROW
static constexpr size_t RANDOMNESS_START
static constexpr size_t LOG_RANDOMNESS_START
FF lagrange_ordered_masking
void populate(Entities &target) const
Write all 10 computed evaluations into any entity struct with matching named fields.
static constexpr size_t CONCATENATION_GROUP_SIZE
FF lagrange_even_in_minicircuit
static constexpr size_t LOG_NUM_MASKED
static constexpr size_t NUM_MASKED_ROWS_END
static constexpr size_t LOG_MAX_RANDOM
static constexpr size_t MAX_RANDOM_VALUES_PER_ORDERED
static constexpr size_t LOG_RESULT_ROW