56 static constexpr bool HasZK =
false;
83 static constexpr size_t NUM_RELATIONS = std::tuple_size<Relations>::value;
114 for (
auto [commitment, native_commitment] :
zip_view(this->get_all(), native_key->get_all())) {
115 commitment = Commitment::from_witness(
builder, native_commitment);
129 size_t num_frs_read = 0;
131 this->
log_circuit_size = Codec::template deserialize_from_frs<FF>(elements, num_frs_read);
132 this->
num_public_inputs = Codec::template deserialize_from_frs<FF>(elements, num_frs_read);
133 this->
pub_inputs_offset = Codec::template deserialize_from_frs<FF>(elements, num_frs_read);
135 for (
Commitment& commitment : this->get_all()) {
136 commitment = Codec::template deserialize_from_frs<Commitment>(elements, num_frs_read);
148 const std::span<const uint32_t>& witness_indices)
150 std::vector<FF> vk_fields;
151 vk_fields.reserve(witness_indices.size());
152 for (
const auto& idx : witness_indices) {
170 for (
auto [commitment, native_commitment] :
zip_view(this->get_all(), native_vk.get_all())) {
171 native_commitment = commitment.get_value();
Common transcript class for both parties. Stores the data for the current round, as well as the manif...
uint64_t num_public_inputs
uint64_t log_circuit_size
uint64_t pub_inputs_offset
Base Stdlib verification key class.
typename PrecomputedCommitments::DataType Commitment
A base class labelling all entities (for instance, all of the polynomials used by the prover during s...
A container for commitment labels.
The verification key is responsible for storing the commitments to the precomputed (non-witnessk) pol...
A container encapsulating all the commitments that the verifier receives (to precomputed polynomials ...
static constexpr RepeatedCommitmentsData REPEATED_COMMITMENTS
static constexpr bool USE_PADDING
static constexpr size_t NUM_PRECOMPUTED_ENTITIES
static constexpr bool USE_SHORT_MONOMIALS
static constexpr size_t NUM_SUBRELATIONS
static constexpr size_t VIRTUAL_LOG_N
std::tuple< bb::ArithmeticRelation< FF >, bb::UltraPermutationRelation< FF >, bb::LogDerivLookupRelation< FF >, bb::DeltaRangeConstraintRelation< FF >, bb::EllipticRelation< FF >, bb::MemoryRelation< FF >, bb::NonNativeFieldRelation< FF >, bb::Poseidon2ExternalRelation< FF >, bb::Poseidon2InternalRelation< FF > > Relations_
static constexpr size_t NUM_ALL_ENTITIES
static constexpr size_t NUM_WIRES
static constexpr size_t NUM_WITNESS_ENTITIES
A field element for each entity of the flavor. These entities represent the prover polynomials evalua...
The verification key is responsible for storing the commitments to the precomputed (non-witnessk) pol...
static VerificationKey from_witness_indices(CircuitBuilder &builder, const std::span< const uint32_t > &witness_indices)
Construct a VerificationKey from a set of corresponding witness indices.
VerificationKey(CircuitBuilder *builder, const std::shared_ptr< NativeVerificationKey > &native_key)
Construct a new Verification Key with stdlib types from a provided native verification key.
VerificationKey(std::span< FF > elements)
Deserialize a verification key from a vector of field elements.
NativeVerificationKey get_value() const
Get the native verification key corresponding to this stdlib verification key.
The recursive counterpart to the "native" Ultra flavor.
static constexpr size_t NUM_PRECOMPUTED_ENTITIES
static constexpr size_t NUM_ALL_ENTITIES
typename Curve::Element GroupElement
BuilderType CircuitBuilder
static constexpr size_t VIRTUAL_LOG_N
typename Curve::Element Commitment
static constexpr RepeatedCommitmentsData REPEATED_COMMITMENTS
static constexpr bool USE_SHORT_MONOMIALS
static constexpr size_t NUM_WIRES
UltraFlavor::Relations_< FF > Relations
static constexpr size_t NUM_RELATIONS
static constexpr size_t MAX_PARTIAL_RELATION_LENGTH
typename Curve::ScalarField FF
static constexpr size_t BATCHED_RELATION_PARTIAL_LENGTH
static constexpr bool HasZK
static constexpr size_t NUM_SUBRELATIONS
static constexpr size_t NUM_WITNESS_ENTITIES
static constexpr bool USE_PADDING
Representation of the Grumpkin Verifier Commitment Key inside a bn254 circuit.
static field_t from_witness_index(Builder *ctx, uint32_t witness_index)
bb::fr get_value() const
Given a := *this, compute its value given by a.v * a.mul + a.add.
static field_t from_witness(Builder *ctx, const bb::fr &input)
Entry point for Barretenberg command-line interface.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
field_t< CircuitBuilder > ScalarField