52 static constexpr bool HasZK =
true;
117 for (
auto [native_comm, comm] :
zip_view(native_key->get_all(), this->get_all())) {
118 comm = Commitment::from_witness(
builder, native_comm);
130 auto serialize_to_field_buffer = []<
typename T>(
const T& input, std::vector<FF>&
buffer) {
131 std::vector<FF> input_fields = convert_to_bn254_frs<CircuitBuilder, T>(input);
132 buffer.insert(
buffer.end(), input_fields.begin(), input_fields.end());
135 std::vector<FF> elements;
136 for (
const Commitment& commitment : this->get_all()) {
137 serialize_to_field_buffer(commitment, elements);
150 [[maybe_unused]]
Transcript& transcript)
const override
152 throw_or_abort(
"Not intended to be used because vk is hardcoded in circuit.");
157 for (
Commitment& commitment : this->get_all()) {
158 commitment.fix_witness();
Common transcript class for both parties. Stores the data for the current round, as well as the manif...
size_t num_public_inputs() const
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...
Container for all witness polynomials used/constructed by the prover.
static constexpr size_t NUM_ALL_ENTITIES
static constexpr RepeatedCommitmentsData REPEATED_COMMITMENTS
static constexpr size_t NUM_WITNESS_ENTITIES
static constexpr size_t CONST_TRANSLATOR_LOG_N
static constexpr size_t NUM_OP_QUEUE_WIRES
static constexpr bool USE_PADDING
static constexpr size_t NUM_LIMB_BITS
std::tuple< TranslatorPermutationRelation< FF >, TranslatorDeltaRangeConstraintRelation< FF >, TranslatorOpcodeConstraintRelation< FF >, TranslatorAccumulatorTransferRelation< FF >, TranslatorDecompositionRelation< FF >, TranslatorNonNativeFieldRelation< FF >, TranslatorZeroConstraintsRelation< FF > > Relations_
static constexpr size_t NUM_PRECOMPUTED_ENTITIES
static constexpr size_t NUM_SUBRELATIONS
static constexpr size_t BATCHED_RELATION_PARTIAL_LENGTH
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...
VerificationKey(CircuitBuilder *builder, const std::shared_ptr< NativeVerificationKey > &native_key)
FF hash_through_transcript(const std::string &domain_separator, Transcript &transcript) const override
Unused function because vk is hardcoded in recursive verifier, so no transcript hashing is needed.
std::vector< FF > to_field_elements() const override
Serialize verification key to field elements.
The recursive counterpart of the native Translator flavor.
static constexpr size_t NUM_SUBRELATIONS
static constexpr size_t NUM_OP_QUEUE_WIRES
static constexpr size_t MAX_PARTIAL_RELATION_LENGTH
std::array< FF, NUM_SUBRELATIONS - 1 > SubrelationSeparators
TranslatorFlavor::Relations_< FF > Relations
static constexpr bool USE_PADDING
static constexpr size_t BATCHED_RELATION_PARTIAL_LENGTH
static constexpr bool HasZK
static constexpr RepeatedCommitmentsData REPEATED_COMMITMENTS
static constexpr size_t MAX_TOTAL_RELATION_LENGTH
static constexpr size_t NUM_WITNESS_ENTITIES
static constexpr size_t NUM_RELATIONS
Curve::AffineElement Commitment
Curve::Element GroupElement
static constexpr size_t NUM_LIMB_BITS
static constexpr size_t NUM_ALL_ENTITIES
static constexpr size_t NUM_PRECOMPUTED_ENTITIES
Representation of the Grumpkin Verifier Commitment Key inside a bn254 circuit.
static field_t from_witness(Builder *ctx, const bb::fr &input)
void convert_constant_to_fixed_witness(Builder *ctx)
uint8_t buffer[RANDOM_BUFFER_SIZE]
Base class templates for structures that contain data parameterized by the fundamental polynomials of...
Entry point for Barretenberg command-line interface.
UltraCircuitBuilder_< UltraExecutionTraceBlocks > UltraCircuitBuilder
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
field_t< CircuitBuilder > ScalarField
Group::BaseField BaseField
void throw_or_abort(std::string const &err)