17 static constexpr std::array<size_t, 35>
SUBRELATION_PARTIAL_LENGTHS = { 3, 3, 3, 3, 3, 3, 5, 3, 4, 3, 3, 3,
18 3, 3, 3, 3, 3, 4, 5, 4, 7, 3, 5, 4,
19 4, 5, 4, 5, 5, 7, 6, 6, 7, 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";
45 return "TOP_LEVEL_COND";
47 return "START_AFTER_END";
49 return "ZERO_SIZED_WRITE";
51 return "END_IF_WRITE_IS_ZERO";
53 return "END_WRITE_CONDITION";
57 return "INIT_READS_LEFT";
59 return "DECR_COPY_SIZE";
61 return "INCR_WRITE_ADDR";
63 return "INIT_READ_ADDR";
65 return "INCR_READ_ADDR";
67 return "DECR_READ_COUNT";
69 return "PADDING_CONDITION";
73 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, 35 > SUBRELATION_PARTIAL_LENGTHS
std::string to_string(bb::avm2::ValueTag tag)
Container for parameters used by the grand product (permutation, lookup) Honk relations.