19 template <
typename AllEntities>
inline static bool skip(
const AllEntities& in)
23 return (in.get(C::execution_sel_execute_emit_notehash)).is_zero();
26 template <
typename ContainerOverSubrelations,
typename AllEntities>
27 void static accumulate(ContainerOverSubrelations& evals,
28 const AllEntities& in,
30 [[maybe_unused]]
const FF& scaling_factor);
35 static constexpr const std::string_view
NAME =
"emit_notehash";
41 return "MAX_NOTE_HASHES_REACHED";
43 return "OPCODE_ERROR_IF_MAX_NOTE_HASHES_REACHED_OR_STATIC";
45 return "EMIT_NOTEHASH_TREE_ROOT_NOT_CHANGED";
47 return "EMIT_NOTEHASH_TREE_SIZE_INCREASE";
49 return "EMIT_NOTEHASH_NUM_NOTE_HASHES_EMITTED_INCREASE";
A wrapper for Relations to expose methods used by the Sumcheck prover or verifier to add the contribu...
static constexpr size_t SR_EMIT_NOTEHASH_TREE_SIZE_INCREASE
static constexpr size_t SR_OPCODE_ERROR_IF_MAX_NOTE_HASHES_REACHED_OR_STATIC
static std::string get_subrelation_label(size_t index)
static constexpr const std::string_view NAME
static constexpr size_t SR_EMIT_NOTEHASH_TREE_ROOT_NOT_CHANGED
static constexpr size_t SR_MAX_NOTE_HASHES_REACHED
static constexpr size_t SR_EMIT_NOTEHASH_NUM_NOTE_HASHES_EMITTED_INCREASE
static void accumulate(ContainerOverSubrelations &evals, const AllEntities &in, const RelationParameters< FF > &, const FF &scaling_factor)
static constexpr std::array< size_t, 7 > SUBRELATION_PARTIAL_LENGTHS
static bool skip(const AllEntities &in)
std::string to_string(bb::avm2::ValueTag tag)
Container for parameters used by the grand product (permutation, lookup) Honk relations.