Barretenberg
The ZK-SNARK library at the core of Aztec
|
The DeciderVerificationKey encapsulates all the necessary information for a Mega Honk Verifier to verify a proof (sumcheck + Shplemini). In the context of folding, this is returned by the Protogalaxy verifier with non-zero target sum and gate challenges. More...
#include <decider_verification_key.hpp>
Public Types | |
using | FF = typename Flavor::FF |
using | Commitment = typename Flavor::Commitment |
using | VerificationKey = typename Flavor::VerificationKey |
using | VerifierCommitmentKey = typename Flavor::VerifierCommitmentKey |
using | WitnessCommitments = typename Flavor::WitnessCommitments |
using | CommitmentLabels = typename Flavor::CommitmentLabels |
using | SubrelationSeparators = typename Flavor::SubrelationSeparators |
using | Transcript = typename Flavor::Transcript |
Public Member Functions | |
DeciderVerificationKey_ ()=default | |
DeciderVerificationKey_ (std::shared_ptr< VerificationKey > vk) | |
FF | hash_through_transcript (const std::string &domain_separator, Transcript &transcript) const |
MSGPACK_FIELDS (vk, relation_parameters, alphas, is_complete, gate_challenges, target_sum, witness_commitments) | |
Public Attributes | |
std::shared_ptr< VerificationKey > | vk |
bool | is_complete = false |
std::vector< FF > | public_inputs |
SubrelationSeparators | alphas |
RelationParameters< FF > | relation_parameters |
std::vector< FF > | gate_challenges |
FF | target_sum { 0 } |
WitnessCommitments | witness_commitments |
CommitmentLabels | commitment_labels |
The DeciderVerificationKey encapsulates all the necessary information for a Mega Honk Verifier to verify a proof (sumcheck + Shplemini). In the context of folding, this is returned by the Protogalaxy verifier with non-zero target sum and gate challenges.
This is ϕ in the paper.
Definition at line 20 of file decider_verification_key.hpp.
using bb::DeciderVerificationKey_< Flavor >::Commitment = typename Flavor::Commitment |
Definition at line 23 of file decider_verification_key.hpp.
using bb::DeciderVerificationKey_< Flavor >::CommitmentLabels = typename Flavor::CommitmentLabels |
Definition at line 27 of file decider_verification_key.hpp.
using bb::DeciderVerificationKey_< Flavor >::FF = typename Flavor::FF |
Definition at line 22 of file decider_verification_key.hpp.
using bb::DeciderVerificationKey_< Flavor >::SubrelationSeparators = typename Flavor::SubrelationSeparators |
Definition at line 28 of file decider_verification_key.hpp.
using bb::DeciderVerificationKey_< Flavor >::Transcript = typename Flavor::Transcript |
Definition at line 29 of file decider_verification_key.hpp.
using bb::DeciderVerificationKey_< Flavor >::VerificationKey = typename Flavor::VerificationKey |
Definition at line 24 of file decider_verification_key.hpp.
using bb::DeciderVerificationKey_< Flavor >::VerifierCommitmentKey = typename Flavor::VerifierCommitmentKey |
Definition at line 25 of file decider_verification_key.hpp.
using bb::DeciderVerificationKey_< Flavor >::WitnessCommitments = typename Flavor::WitnessCommitments |
Definition at line 26 of file decider_verification_key.hpp.
|
default |
|
inline |
Definition at line 46 of file decider_verification_key.hpp.
|
inline |
Definition at line 50 of file decider_verification_key.hpp.
bb::DeciderVerificationKey_< Flavor >::MSGPACK_FIELDS | ( | vk | , |
relation_parameters | , | ||
alphas | , | ||
is_complete | , | ||
gate_challenges | , | ||
target_sum | , | ||
witness_commitments | |||
) |
SubrelationSeparators bb::DeciderVerificationKey_< Flavor >::alphas |
Definition at line 36 of file decider_verification_key.hpp.
CommitmentLabels bb::DeciderVerificationKey_< Flavor >::commitment_labels |
Definition at line 43 of file decider_verification_key.hpp.
std::vector<FF> bb::DeciderVerificationKey_< Flavor >::gate_challenges |
Definition at line 38 of file decider_verification_key.hpp.
bool bb::DeciderVerificationKey_< Flavor >::is_complete = false |
Definition at line 33 of file decider_verification_key.hpp.
std::vector<FF> bb::DeciderVerificationKey_< Flavor >::public_inputs |
Definition at line 34 of file decider_verification_key.hpp.
RelationParameters<FF> bb::DeciderVerificationKey_< Flavor >::relation_parameters |
Definition at line 37 of file decider_verification_key.hpp.
FF bb::DeciderVerificationKey_< Flavor >::target_sum { 0 } |
Definition at line 40 of file decider_verification_key.hpp.
std::shared_ptr<VerificationKey> bb::DeciderVerificationKey_< Flavor >::vk |
Definition at line 31 of file decider_verification_key.hpp.
WitnessCommitments bb::DeciderVerificationKey_< Flavor >::witness_commitments |
Definition at line 42 of file decider_verification_key.hpp.