16 static constexpr std::array<size_t, 21>
SUBRELATION_PARTIAL_LENGTHS = { 3, 3, 3, 3, 2, 3, 3, 5, 3, 3, 3,
17 3, 4, 4, 4, 4, 4, 4, 4, 3, 3 };
23 return (in.get(C::contract_instance_retrieval_sel)).is_zero();
26 template <
typename ContainerOverSubrelations,
typename AllEntities>
27 void static accumulate(ContainerOverSubrelations& evals,
30 [[maybe_unused]]
const FF& scaling_factor);
35 static constexpr const std::string_view
NAME =
"contract_instance_retrieval";
55#ifdef AVM_INCLUDE_COLUMN_INFORMATION
58 return "DEPLOYER_PROTOCOL_CONTRACT_ADDRESS_CONSTANT";
60 return "IS_PROTOCOL_CONTRACT_ON_SEL";
62 return "DERIVED_ADDRESS_PI_INDEX";
64 return "PROTOCOL_CONTRACT_EXISTS_CHECK";
66 return "NULLIFIER_TREE_HEIGHT_CONSTANT";
68 return "SILOING_SEPARATOR_CONSTANT";
70 return "UNCHANGED_ADDRESS_NON_PROTOCOL";
72 return "INSTANCE_MEMBER_SALT_IS_ZERO_IF_DNE";
74 return "INSTANCE_MEMBER_DEPLOYER_IS_ZERO_IF_DNE";
76 return "INSTANCE_MEMBER_CLASS_ID_IS_ZERO_IF_DNE";
78 return "INSTANCE_MEMBER_ORIGINAL_CLASS_ID_IS_ZERO_IF_DNE";
80 return "INSTANCE_MEMBER_INIT_HASH_IS_ZERO_IF_DNE";
82 return "INSTANCE_MEMBER_IMMUTABLES_HASH_IS_ZERO_IF_DNE";
84 return "PROTOCOL_CONTRACT_CLASS_ID_IS_ORIGINAL";
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_INSTANCE_MEMBER_IMMUTABLES_HASH_IS_ZERO_IF_DNE
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_IS_PROTOCOL_CONTRACT_ON_SEL
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 size_t SR_PROTOCOL_CONTRACT_CLASS_ID_IS_ORIGINAL
static constexpr std::array< size_t, 21 > 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.