21template <
typename Curve>
struct MultilinearBatchingVerifierClaim;
40 static constexpr bool HasZK =
false;
58 template <
typename FF>
71 static constexpr size_t NUM_SUBRELATIONS = compute_number_of_subrelations<Relations>();
74 static constexpr size_t num_frs_comm = FrCodec::calc_num_fields<Commitment>();
75 static constexpr size_t num_frs_fr = FrCodec::calc_num_fields<FF>();
93 batched_unshifted_accumulator,
94 batched_unshifted_instance,
105 batched_shifted_accumulator,
106 batched_shifted_instance
118 template <
typename DataType>
145 for (
auto& polynomial : this->get_all()) {
146 polynomial.increase_virtual_size(size_in);
267 batched_unshifted_accumulator =
"BATCHED_UNSHIFTED_ACCUMULATOR";
268 batched_unshifted_instance =
"BATCHED_UNSHIFTED_INSTANCE";
269 batched_shifted_accumulator =
"BATCHED_SHIFTED_ACCUMULATOR";
270 batched_shifted_instance =
"BATCHED_SHIFTED_INSTANCE";
Common transcript class for both parties. Stores the data for the current round, as well as the manif...
CommitmentKey object over a pairing group 𝔾₁.
A base class labelling all entities (for instance, all of the polynomials used by the prover during s...
A field element for each entity of the flavor. These entities represent the prover polynomials evalua...
A container for commitment labels.
A container for the prover polynomials handles.
void increase_polynomials_virtual_size(const size_t size_in)
size_t get_polynomial_size() const
The proving key for multilinear batching sumcheck.
std::vector< FF > instance_evaluations
std::vector< FF > accumulator_challenge
Commitment shifted_instance_commitment
Polynomial preshifted_instance
ProverPolynomials polynomials
Polynomial preshifted_accumulator
std::vector< FF > accumulator_evaluations
Commitment non_shifted_accumulator_commitment
Commitment non_shifted_instance_commitment
std::vector< FF > instance_challenge
Commitment shifted_accumulator_commitment
Class for ShiftedEntities, containing the shifted witness polynomials.
DEFINE_FLAVOR_MEMBERS(DataType, batched_shifted_accumulator, batched_shifted_instance)
Container for all witness polynomials used/constructed by the prover.
DEFINE_FLAVOR_MEMBERS(DataType, batched_unshifted_accumulator, batched_unshifted_instance, eq_accumulator, eq_instance)
static constexpr size_t NUM_ACCUMULATOR_EVALUATIONS
Curve::AffineElement Commitment
static constexpr size_t NUM_WITNESS_ENTITIES
static constexpr size_t NUM_SUBRELATIONS
static constexpr size_t BATCHED_RELATION_PARTIAL_LENGTH
static constexpr size_t MAX_PARTIAL_RELATION_LENGTH
static constexpr size_t NUM_SHIFTED_ENTITIES
static constexpr bool IS_MULTILINEAR_BATCHING
Relations_< FF > Relations
static constexpr bool USE_PADDING
static constexpr size_t num_frs_fr
static constexpr bool HasZK
Curve::Element GroupElement
static constexpr bool USE_SHORT_MONOMIALS
static constexpr size_t NUM_ALL_ENTITIES
static constexpr size_t PROOF_LENGTH_WITHOUT_PUB_INPUTS()
static constexpr size_t NUM_RELATIONS
std::tuple< bb::MultilinearBatchingAccumulatorRelation< FF >, bb::MultilinearBatchingInstanceRelation< FF > > Relations_
static constexpr size_t VIRTUAL_LOG_N
static constexpr size_t num_frs_comm
A container for storing the partially evaluated multivariates produced by sumcheck.
A wrapper for Relations to expose methods used by the Sumcheck prover or verifier to add the contribu...
Representation of the Grumpkin Verifier Commitment Key inside a bn254 circuit.
typename Group::element Element
typename Group::affine_element AffineElement
Base class templates for structures that contain data parameterized by the fundamental polynomials of...
#define DEFINE_COMPOUND_GET_ALL(...)
Entry point for Barretenberg command-line interface.
BaseTranscript< FrCodec, bb::crypto::Poseidon2< bb::crypto::Poseidon2Bn254ScalarFieldParams > > NativeTranscript
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Prover's claim for multilinear batching - contains polynomials and their evaluation claims.
Commitment non_shifted_commitment
Polynomial shifted_polynomial
Polynomial non_shifted_polynomial
bool compare_with_verifier_claim(const MultilinearBatchingVerifierClaim< curve::BN254 > &verifier_claim)
Debug helper to compare prover claim against verifier claim.
std::vector< FF > challenge
FF non_shifted_evaluation
Commitment shifted_commitment
Verifier's claim for multilinear batching - contains commitments and evaluation claims.