17 static constexpr std::array<size_t, 18>
SUBRELATION_PARTIAL_LENGTHS = { 3, 3, 3, 2, 3, 3, 5, 3, 3,
18 3, 3, 4, 4, 4, 4, 4, 4, 3 };
20 template <
typename AllEntities>
inline static bool skip(
const AllEntities& in)
24 return (in.get(C::contract_instance_retrieval_sel)).is_zero();
27 template <
typename ContainerOverSubrelations,
typename AllEntities>
28 void static accumulate(ContainerOverSubrelations& evals,
29 const AllEntities& in,
31 [[maybe_unused]]
const FF& scaling_factor);
36 static constexpr const std::string_view
NAME =
"contract_instance_retrieval";
55 return "DEPLOYER_PROTOCOL_CONTRACT_ADDRESS_CONSTANT";
57 return "DERIVED_ADDRESS_PI_INDEX";
59 return "PROTOCOL_CONTRACT_EXISTS_CHECK";
61 return "NULLIFIER_TREE_HEIGHT_CONSTANT";
63 return "SILOING_SEPARATOR_CONSTANT";
65 return "UNCHANGED_ADDRESS_NON_PROTOCOL";
67 return "INSTANCE_MEMBER_SALT_IS_ZERO_IF_DNE";
69 return "INSTANCE_MEMBER_DEPLOYER_IS_ZERO_IF_DNE";
71 return "INSTANCE_MEMBER_CLASS_ID_IS_ZERO_IF_DNE";
73 return "INSTANCE_MEMBER_ORIGINAL_CLASS_ID_IS_ZERO_IF_DNE";
75 return "INSTANCE_MEMBER_INIT_HASH_IS_ZERO_IF_DNE";
A wrapper for Relations to expose methods used by the Sumcheck prover or verifier to add the contribu...
static constexpr size_t SR_INSTANCE_MEMBER_SALT_IS_ZERO_IF_DNE
static constexpr size_t SR_PROTOCOL_CONTRACT_EXISTS_CHECK
static constexpr size_t SR_SILOING_SEPARATOR_CONSTANT
static constexpr const std::string_view NAME
static constexpr size_t SR_DERIVED_ADDRESS_PI_INDEX
static constexpr size_t SR_INSTANCE_MEMBER_CLASS_ID_IS_ZERO_IF_DNE
static constexpr size_t SR_NULLIFIER_TREE_HEIGHT_CONSTANT
static std::string get_subrelation_label(size_t index)
static constexpr size_t SR_INSTANCE_MEMBER_INIT_HASH_IS_ZERO_IF_DNE
static constexpr size_t SR_INSTANCE_MEMBER_DEPLOYER_IS_ZERO_IF_DNE
static constexpr size_t SR_UNCHANGED_ADDRESS_NON_PROTOCOL
static constexpr size_t SR_INSTANCE_MEMBER_ORIGINAL_CLASS_ID_IS_ZERO_IF_DNE
static constexpr size_t SR_DEPLOYER_PROTOCOL_CONTRACT_ADDRESS_CONSTANT
static constexpr std::array< size_t, 18 > SUBRELATION_PARTIAL_LENGTHS
static bool skip(const AllEntities &in)
static void accumulate(ContainerOverSubrelations &evals, const AllEntities &in, const RelationParameters< FF > &, const FF &scaling_factor)
std::string to_string(bb::avm2::ValueTag tag)
Container for parameters used by the grand product (permutation, lookup) Honk relations.