41 using FF =
typename MegaZKFlavorT::FF;
67 constexpr size_t P = MegaZKFlavorT::NUM_PRECOMPUTED_ENTITIES;
70 MegaZKFlavorT::REPEATED_COMMITMENTS.first.original_start;
71 constexpr size_t S = MegaZKFlavorT::NUM_SHIFTED_ENTITIES;
75 constexpr size_t TRANS_SHIFTED_SKIP =
82 P + W + TRANS_UNSHIFTED_SKIP,
83 P + W + TU + S + TRANS_SHIFTED_SKIP,
128 const Proof& joint_proof,
129 const TransBF& evaluation_input_x,
130 const TransBF& batching_challenge_v,
131 const TransBF& accumulated_result,
132 const std::array<Commitment, TranslatorFlavor::NUM_OP_QUEUE_WIRES>& op_queue_wire_commitments);
137 const Proof& joint_proof,
138 const TransBF& evaluation_input_x,
139 const TransBF& batching_challenge_v,
140 const TransBF& accumulated_result,
141 const std::array<Commitment, TranslatorFlavor::NUM_OP_QUEUE_WIRES>& op_queue_wire_commitments);
Verifier for the batched MegaZK circuit + translator sumcheck and PCS.
std::array< Commitment, NUM_LIBRA_COMMITMENTS > libra_commitments
std::conditional_t< IsRecursive, stdlib::Proof< UltraCircuitBuilder >, HonkProof > Proof
std::shared_ptr< MegaZKVerifierInstance > mega_zk_verifier_instance
typename TransFlavor::VerifierCommitments TransVerifierCommitments
std::conditional_t< IsRecursive, MegaZKRecursiveFlavor_< UltraCircuitBuilder >, MegaZKFlavor > MegaZKFlavorT
ReductionResult verify_joint_pcs(bool sumcheck_verified, MegaZKVerifierCommitments &mega_zk_commitments, TransVerifierCommitments &trans_commitments)
Execute the joint Shplemini / KZG PCS reduction.
typename MegaZKFlavorT::Commitment Commitment
ReductionResult verify(const Proof &joint_proof, const TransBF &evaluation_input_x, const TransBF &batching_challenge_v, const TransBF &accumulated_result, const std::array< Commitment, TranslatorFlavor::NUM_OP_QUEUE_WIRES > &op_queue_wire_commitments)
Phase 2: Verify translator Oink + joint sumcheck + joint PCS.
std::shared_ptr< Transcript > transcript
TransFlavor::AllValues trans_evals
bool verify_joint_sumcheck()
Verify the joint 17-round sumcheck.
typename MegaZKFlavorT::VKAndHash MegaZKVKAndHash
std::vector< FF > joint_challenge
std::shared_ptr< MegaZKVKAndHash > mega_zk_vk_and_hash
bb::RelationParameters< FF > translator_relation_parameters
MegaZKFlavorT::AllValues mega_zk_evals
typename MegaZKFlavorT::FF FF
std::conditional_t< IsRecursive, UltraStdlibTranscript, NativeTranscript > Transcript
bb::RelationParameters< FF > mega_zk_relation_parameters
static constexpr bool IsRecursive
std::conditional_t< IsRecursive, TranslatorRecursiveFlavor, TranslatorFlavor > TransFlavor
TransVerifierCommitments verify_translator_oink(const Proof &joint_proof, const TransBF &evaluation_input_x, const TransBF &batching_challenge_v, const TransBF &accumulated_result, const std::array< Commitment, TranslatorFlavor::NUM_OP_QUEUE_WIRES > &op_queue_wire_commitments)
Verify the translator's Oink phase.
std::conditional_t< IsRecursive, stdlib::recursion::PairingPoints< Curve >, bb::PairingPoints< Curve > > PairingPoints
static constexpr RepeatedCommitmentsData REPEATED_COMMITMENTS
typename TransFlavor::BF TransBF
std::conditional_t< IsRecursive, UltraCircuitBuilder *, std::nullptr_t > builder
OinkResult verify_mega_zk_oink(const Proof &mega_zk_proof)
Phase 1: Verify the MegaZK Oink phase on the shared transcript.
typename MegaZKFlavorT::VerifierCommitments MegaZKVerifierCommitments
Child class of MegaFlavor that runs with ZK Sumcheck.
An object storing two EC points that represent the inputs to a pairing check.
static constexpr RepeatedCommitmentsData REPEATED_COMMITMENTS
static constexpr size_t NUM_PCS_UNSHIFTED
static constexpr size_t NUM_PCS_TO_BE_SHIFTED
The VerifierInstance encapsulates all the necessary information for a Honk Verifier to verify a proof...
static constexpr bool is_stdlib_type
Entry point for Barretenberg command-line interface.
std::vector< fr > HonkProof
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Result of Phase 1 (MegaZK Oink verification).
std::array< Commitment, MegaZKFlavorT::NUM_WIRES > ecc_op_wires
std::vector< FF > public_inputs
Commitment calldata_commitment
Result of the batched sumcheck/PCS reduction.
PairingPoints pairing_points
Container for parameters used by the grand product (permutation, lookup) Honk relations.