19 using Flavor =
typename VerifierInstance::Flavor;
76 PrecomputedCommDataType,
79 WitnessCommitmentsDataType,
100 using ReturnType =
decltype(
data[0][0]);
103 const size_t num_to_fold =
data[0].size();
105 for (
size_t idx = 0;
auto& data_at_idx : result) {
106 data_at_idx[0] =
data[0][idx];
107 data_at_idx[1] =
data[1][idx];
A container for commitment labels.
The verification key is responsible for storing the commitments to the precomputed (non-witness) poly...
WitnessEntities< Commitment > WitnessCommitments
A container for the witness commitments.
std::array< FF, NUM_SUBRELATIONS - 1 > SubrelationSeparators
static constexpr size_t NUM_SUBRELATIONS
NativeTranscript Transcript
Curve::AffineElement Commitment
typename Flavor::VerificationKey VerificationKey
void run_oink_verifier_on_each_incomplete_instance(const std::vector< FF > &)
Instatiate the verifier instances and the transcript.
std::array< std::shared_ptr< VerifierInstance >, NUM_INSTANCES > VerifierInstances
std::shared_ptr< VerifierInstance > verify_folding_proof(const std::vector< FF > &)
Run the folding protocol on the verifier side to establish whether the public data ϕ of the new accum...
typename Flavor::WitnessCommitments WitnessCommitments
VerifierInstances insts_to_fold
static constexpr size_t NUM_SUBRELATIONS
typename VerifierInstance::Flavor Flavor
auto get_data_to_fold() const
Get data to be folded grouped by commitment index. Here the "commitment index" is the index of the ro...
typename Flavor::CommitmentLabels CommitmentLabels
typename Flavor::SubrelationSeparators SubrelationSeparators
static constexpr size_t BATCHED_EXTENDED_LENGTH
ProtogalaxyVerifier_(const VerifierInstances &insts, const std::shared_ptr< Transcript > &transcript)
std::shared_ptr< Transcript > transcript
typename Flavor::Commitment Commitment
~ProtogalaxyVerifier_()=default
@ PRECOMPUTED_COMMITMENTS
typename Flavor::Transcript Transcript
A template class for a reference array. Behaves as if std::array<T&, N> was possible.
const std::vector< FF > data
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
void throw_or_abort(std::string const &err)