6#include <gtest/gtest.h>
26 const size_t dyadic_size = 16;
31 for (
size_t i = 1; i < dyadic_size; i++) {
50 for (
size_t i = 0; i < shifted.size(); i++) {
61 auto accumulator_claim = create_valid_claim();
62 auto instance_claim = create_valid_claim();
65 auto proof = prover.construct_proof();
66 EXPECT_FALSE(proof.empty());
Common transcript class for both parties. Stores the data for the current round, as well as the manif...
Curve::AffineElement Commitment
NativeTranscript Transcript
bb::Polynomial< FF > Polynomial
static constexpr size_t VIRTUAL_LOG_N
Prover for multilinear batching - reduces two polynomial evaluation claims to one via sumcheck.
Structured polynomial class that represents the coefficients 'a' of a_0 + a_1 x .....
Polynomial shifted() const
Returns a Polynomial the left-shift of self.
Fr & at(size_t index)
Our mutable accessor, unlike operator[]. We abuse precedent a bit to differentiate at() and operator[...
static Polynomial shiftable(size_t virtual_size)
Utility to create a shiftable polynomial of given virtual size.
static Polynomial< FF > construct(std::span< const FF > challenges, size_t log_num_monomials)
Construct eq(X, r) coefficient table over Boolean hypercube {0,1}^d.
Entry point for Barretenberg command-line interface.
TEST(BoomerangMegaCircuitBuilder, BasicCircuit)
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
std::vector< FF > challenge
FF non_shifted_evaluation
Commitment shifted_commitment
static field random_element(numeric::RNG *engine=nullptr) noexcept