Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
sumcheck_output.hpp
Go to the documentation of this file.
1// === AUDIT STATUS ===
2// internal: { status: not started, auditors: [], date: YYYY-MM-DD }
3// external_1: { status: not started, auditors: [], date: YYYY-MM-DD }
4// external_2: { status: not started, auditors: [], date: YYYY-MM-DD }
5// =====================
6
7#pragma once
10#include <array>
11#include <optional>
12#include <vector>
13
14namespace bb {
15
22template <typename Flavor> struct SumcheckOutput {
23 using FF = typename Flavor::FF;
26
27 // \f$ \vec u = (u_0, ..., u_{d-1}) \f$
28 std::vector<FF> challenge;
29 // Evaluations at \f$ \vec u \f$ of the polynomials used in Sumcheck
31 // Whether or not the evaluations of multilinear polynomials \f$ P_1, \ldots, P_N \f$ and final Sumcheck evaluation
32 // have been confirmed
33 bool verified = false;
34 // For ZK Flavors: the sum of the Libra constant term and Libra univariates evaluated at Sumcheck challenges
36 // For ECCVMVerifier: Commitments to round univariates
37 std::vector<Commitment> round_univariate_commitments = {};
38 // For ECCVMProver: Round univariates in monomial basis
40 // For ECCVMProver/Verifier: evaluations of round univariates at 0, 1, and round challenge
42};
43} // namespace bb
A field element for each entity of the flavor. These entities represent the prover polynomials evalua...
Curve::ScalarField FF
Curve::AffineElement Commitment
Base class templates for structures that contain data parameterized by the fundamental polynomials of...
Entry point for Barretenberg command-line interface.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
Contains the evaluations of multilinear polynomials at the challenge point . These are computed by S...
std::vector< std::array< FF, 3 > > round_univariate_evaluations
std::vector< Commitment > round_univariate_commitments
ClaimedEvaluations claimed_evaluations
std::vector< bb::Polynomial< FF > > round_univariates
typename Flavor::Commitment Commitment
std::vector< FF > challenge
typename Flavor::AllValues ClaimedEvaluations
typename Flavor::FF FF