45 static constexpr bool HasZK =
false;
62 NativeFlavor::PrecomputedEntities<Commitment>,
63 NativeVerificationKey,
64 VKSerializationMode::NO_METADATA> {
69 for (
auto [native_comm, comm] :
zip_view(native_key->get_all(), this->get_all())) {
70 comm = Commitment::from_witness(
builder, native_comm);
84 size_t num_frs_read = 0;
85 size_t num_frs_Comm = Codec::template calc_num_fields<Commitment>();
89 Codec::template deserialize_from_fields<Commitment>(elements.subspan(num_frs_read, num_frs_Comm));
90 num_frs_read += num_frs_Comm;
96 throw_or_abort(
"Not intended to be used because vk is hardcoded in circuit.");
105 for (
Commitment& commitment : this->get_all()) {
106 commitment.fix_witness();
Common transcript class for both parties. Stores the data for the current round, as well as the manif...
Base Stdlib verification key class.
typename PrecomputedCommitments::DataType Commitment
Representation of the Grumpkin Verifier Commitment Key inside a bn254 circuit.
tuple_cat_t< MainRelations_< FF_ >, LookupRelations_< FF_ > > Relations_
static constexpr size_t NUM_SUBRELATIONS
AvmFlavorSettings::VerifierCommitmentKey VerifierCommitmentKey
static constexpr size_t BATCHED_RELATION_PARTIAL_LENGTH
static constexpr size_t NUM_ALL_ENTITIES
A field element for each entity of the flavor. These entities represent the prover polynomials evalua...
void fix_witness()
Fixes witnesses of VK to be constants.
VerificationKey(CircuitBuilder *builder, const std::shared_ptr< NativeVerificationKey > &native_key)
FF hash_with_origin_tagging(const OriginTag &tag) const override
Tag VK components and hash.
VerificationKey(std::span< const FF > elements)
Deserialize a verification key from a vector of field elements.
size_t log_fixed_circuit_size
static constexpr size_t NUM_SUBRELATIONS
NativeFlavor::Relations_< FF > Relations
AvmRecursiveFlavorSettings::BF BF
static constexpr size_t NUM_RELATIONS
static constexpr size_t BATCHED_RELATION_PARTIAL_LENGTH
AvmRecursiveFlavorSettings::GroupElement GroupElement
static constexpr bool HasZK
static constexpr size_t NUM_ALL_ENTITIES
static constexpr bool USE_PADDING
AvmRecursiveFlavorSettings::FF FF
std::array< FF, NUM_SUBRELATIONS - 1 > SubrelationSeparators
AvmRecursiveFlavorSettings::Commitment Commitment
Base class templates for structures that contain data parameterized by the fundamental polynomials of...
constexpr std::size_t MAX_AVM_TRACE_LOG_SIZE
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
typename Curve::BaseField BF
typename Curve::AffineElement Commitment
typename Curve::Element GroupElement
stdlib::bn254< CircuitBuilder > Curve
MegaCircuitBuilder CircuitBuilder
typename Curve::ScalarField FF
void throw_or_abort(std::string const &err)