17 static constexpr std::array<size_t, 34>
SUBRELATION_PARTIAL_LENGTHS = { 3, 3, 3, 3, 3, 3, 5, 3, 4, 3, 3, 3,
18 3, 3, 3, 4, 5, 4, 6, 3, 5, 3, 4, 5,
19 4, 5, 5, 6, 5, 5, 6, 3, 3, 3 };
21 template <
typename AllEntities>
inline static bool skip(
const AllEntities& in)
25 const auto data_copy_SEL = in.get(C::data_copy_sel_rd_copy) + in.get(C::data_copy_sel_cd_copy);
27 return (data_copy_SEL).is_zero();
30 template <
typename ContainerOverSubrelations,
typename AllEntities>
31 void static accumulate(ContainerOverSubrelations& evals,
32 const AllEntities& in,
34 [[maybe_unused]]
const FF& scaling_factor);
39 static constexpr const std::string_view
NAME =
"data_copy";
62 return "TOP_LEVEL_COND";
64 return "START_AFTER_END";
66 return "ZERO_SIZED_WRITE";
68 return "END_IF_WRITE_IS_ZERO";
70 return "END_WRITE_CONDITION";
74 return "INIT_READS_LEFT";
76 return "DECR_COPY_SIZE";
78 return "INCR_WRITE_ADDR";
80 return "INIT_READ_ADDR";
82 return "INCR_READ_ADDR";
84 return "DECR_READ_COUNT";
86 return "PADDING_CONDITION";
90 return "CD_COPY_COLUMN";
A wrapper for Relations to expose methods used by the Sumcheck prover or verifier to add the contribu...
static constexpr size_t SR_TOP_LEVEL_COND
static constexpr const std::string_view NAME
static constexpr size_t SR_PAD_VALUE
static constexpr size_t SR_END_IF_WRITE_IS_ZERO
static constexpr size_t SR_INCR_READ_ADDR
static constexpr size_t SR_ZERO_SIZED_WRITE
static constexpr size_t SR_END_WRITE_CONDITION
static constexpr size_t SR_DECR_READ_COUNT
static constexpr size_t SR_START_AFTER_END
static constexpr size_t SR_INIT_READS_LEFT
static constexpr size_t SR_INCR_WRITE_ADDR
static constexpr size_t SR_INIT_READ_ADDR
static constexpr size_t SR_DECR_COPY_SIZE
static constexpr size_t SR_END_ON_ERR
static constexpr size_t SR_CD_COPY_COLUMN
static constexpr size_t SR_PADDING_CONDITION
static std::string get_subrelation_label(size_t index)
static void accumulate(ContainerOverSubrelations &evals, const AllEntities &in, const RelationParameters< FF > &, const FF &scaling_factor)
static bool skip(const AllEntities &in)
static constexpr std::array< size_t, 34 > SUBRELATION_PARTIAL_LENGTHS
std::string to_string(bb::avm2::ValueTag tag)
Container for parameters used by the grand product (permutation, lookup) Honk relations.