7#include <gtest/gtest.h>
24 claim.
challenge[i] = FF::random_element();
27 const size_t dyadic_size = 16;
32 for (
size_t i = 1; i < dyadic_size; i++) {
51 for (
size_t i = 0; i < shifted.size(); i++) {
67 EXPECT_FALSE(proof.empty());
78 EXPECT_FALSE(proof.empty());
80 verifier_transcript->load_proof(proof);
83 auto [verified, sumcheck_output] = verifier.
verify_proof();
84 EXPECT_TRUE(verified);
85 auto challenge = sumcheck_output.challenge;
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
HonkProof construct_proof()
std::pair< bool, VerifierClaim > verify_proof()
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< 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
FF non_shifted_evaluation
Polynomial shifted_polynomial
std::vector< FF > challenge
Commitment shifted_commitment
Commitment non_shifted_commitment
Polynomial non_shifted_polynomial