#include <mega_flavor.hpp>
|
| using | CircuitBuilder = MegaCircuitBuilder |
| |
| using | Curve = curve::BN254 |
| |
| using | FF = Curve::ScalarField |
| |
| using | GroupElement = Curve::Element |
| |
| using | Commitment = Curve::AffineElement |
| |
| using | PCS = KZG< Curve > |
| |
| using | Polynomial = bb::Polynomial< FF > |
| |
| using | CommitmentKey = bb::CommitmentKey< Curve > |
| |
| using | VerifierCommitmentKey = bb::VerifierCommitmentKey< Curve > |
| |
| using | TraceBlocks = MegaExecutionTraceBlocks |
| |
| using | Codec = FrCodec |
| |
| using | HashFunction = crypto::Poseidon2< crypto::Poseidon2Bn254ScalarFieldParams > |
| |
| using | Transcript = BaseTranscript< Codec, HashFunction > |
| |
| template<typename FF > |
| using | Relations_ = std::tuple< bb::ArithmeticRelation< FF >, bb::UltraPermutationRelation< FF >, bb::LogDerivLookupRelation< FF >, bb::DeltaRangeConstraintRelation< FF >, bb::EllipticRelation< FF >, bb::MemoryRelation< FF >, bb::NonNativeFieldRelation< FF >, bb::EccOpQueueRelation< FF >, bb::DatabusLookupRelation< FF >, bb::Poseidon2ExternalRelation< FF >, bb::Poseidon2InternalRelation< FF > > |
| |
| using | Relations = Relations_< FF > |
| |
| using | SubrelationSeparator = FF |
| |
| template<typename DataType > |
| using | WitnessEntities = WitnessEntities_< DataType > |
| |
| template<typename DataType > |
| using | AllEntities = AllEntities_< DataType, HasZK > |
| |
| using | AllValues = AllValues_< HasZK > |
| |
| using | ProverPolynomials = ProverPolynomials_< HasZK > |
| |
| using | PrecomputedData = PrecomputedData_< Polynomial, NUM_PRECOMPUTED_ENTITIES > |
| |
| using | VerificationKey = NativeVerificationKey_< PrecomputedEntities< Commitment >, Codec, HashFunction, CommitmentKey > |
| | The verification key is responsible for storing the commitments to the precomputed (non-witness) polynomials used by the verifier.
|
| |
| using | VKAndHash = VKAndHash_< FF, VerificationKey > |
| |
| using | PartiallyEvaluatedMultivariates = PartiallyEvaluatedMultivariates_< HasZK > |
| |
| template<size_t LENGTH> |
| using | ProverUnivariates = AllEntities< bb::Univariate< FF, LENGTH > > |
| | A container for univariates used in sumcheck.
|
| |
| using | ExtendedEdges = ProverUnivariates< MAX_PARTIAL_RELATION_LENGTH > |
| | A container for univariates produced during the hot loop in sumcheck.
|
| |
| using | WitnessCommitments = WitnessEntities< Commitment > |
| | A container for the witness commitments.
|
| |
| using | VerifierCommitments = VerifierCommitments_< Commitment, VerificationKey, HasZK > |
| |
Definition at line 33 of file mega_flavor.hpp.
◆ AllEntities
template<typename DataType >
◆ AllValues
◆ CircuitBuilder
◆ Codec
◆ Commitment
◆ CommitmentKey
◆ Curve
◆ ExtendedEdges
A container for univariates produced during the hot loop in sumcheck.
Definition at line 495 of file mega_flavor.hpp.
◆ FF
◆ GroupElement
◆ HashFunction
◆ PartiallyEvaluatedMultivariates
◆ PCS
◆ Polynomial
◆ PrecomputedData
◆ ProverPolynomials
◆ ProverUnivariates
A container for univariates used in sumcheck.
During folding and sumcheck, the prover evaluates the relations on these univariates.
Definition at line 490 of file mega_flavor.hpp.
◆ Relations
◆ Relations_
| using bb::MegaFlavor::Relations_ = std::tuple<bb::ArithmeticRelation<FF>, bb::UltraPermutationRelation<FF>, bb::LogDerivLookupRelation<FF>, bb::DeltaRangeConstraintRelation<FF>, bb::EllipticRelation<FF>, bb::MemoryRelation<FF>, bb::NonNativeFieldRelation<FF>, bb::EccOpQueueRelation<FF>, bb::DatabusLookupRelation<FF>, bb::Poseidon2ExternalRelation<FF>, bb::Poseidon2InternalRelation<FF> > |
◆ SubrelationSeparator
◆ TraceBlocks
◆ Transcript
◆ VerificationKey
The verification key is responsible for storing the commitments to the precomputed (non-witness) polynomials used by the verifier.
- Note
- Note the discrepancy with what sort of data is stored here vs in the proving key. We may want to resolve that, and split out separate PrecomputedPolynomials/Commitments data for clarity but also for portability of our circuits.
- Todo:
- TODO(https://github.com/AztecProtocol/barretenberg/issues/876)
Definition at line 456 of file mega_flavor.hpp.
◆ VerifierCommitmentKey
◆ VerifierCommitments
◆ VKAndHash
◆ WitnessCommitments
◆ WitnessEntities
template<typename DataType >
◆ DECIDER_PROOF_LENGTH()
| static constexpr size_t bb::MegaFlavor::DECIDER_PROOF_LENGTH |
( |
size_t |
virtual_log_n = VIRTUAL_LOG_N | ) |
|
|
inlinestaticconstexpr |
◆ FINAL_PCS_MSM_SIZE()
| static constexpr size_t bb::MegaFlavor::FINAL_PCS_MSM_SIZE |
( |
size_t |
log_n = VIRTUAL_LOG_N | ) |
|
|
inlinestaticconstexpr |
◆ PROOF_LENGTH_WITHOUT_PUB_INPUTS()
| static constexpr size_t bb::MegaFlavor::PROOF_LENGTH_WITHOUT_PUB_INPUTS |
( |
size_t |
virtual_log_n = VIRTUAL_LOG_N | ) |
|
|
inlinestaticconstexpr |
◆ BATCHED_RELATION_PARTIAL_LENGTH
◆ has_zero_row
| constexpr bool bb::MegaFlavor::has_zero_row = true |
|
staticconstexpr |
◆ HasZK
| constexpr bool bb::MegaFlavor::HasZK = false |
|
staticconstexpr |
◆ MAX_PARTIAL_RELATION_LENGTH
◆ NUM_ALL_ENTITIES
| constexpr size_t bb::MegaFlavor::NUM_ALL_ENTITIES = 60 |
|
staticconstexpr |
◆ num_frs_comm
◆ num_frs_fr
◆ NUM_PRECOMPUTED_ENTITIES
| constexpr size_t bb::MegaFlavor::NUM_PRECOMPUTED_ENTITIES = 31 |
|
staticconstexpr |
◆ NUM_RELATIONS
◆ NUM_SHIFTED_ENTITIES
| constexpr size_t bb::MegaFlavor::NUM_SHIFTED_ENTITIES = 5 |
|
staticconstexpr |
◆ NUM_SUBRELATIONS
◆ NUM_UNSHIFTED_ENTITIES
◆ NUM_WIRES
| constexpr size_t bb::MegaFlavor::NUM_WIRES = CircuitBuilder::NUM_WIRES |
|
staticconstexpr |
◆ NUM_WITNESS_ENTITIES
| constexpr size_t bb::MegaFlavor::NUM_WITNESS_ENTITIES = 24 |
|
staticconstexpr |
◆ OINK_PROOF_LENGTH_WITHOUT_PUB_INPUTS
| constexpr size_t bb::MegaFlavor::OINK_PROOF_LENGTH_WITHOUT_PUB_INPUTS |
|
staticconstexpr |
Initial value:=
static constexpr size_t NUM_WITNESS_ENTITIES
static constexpr size_t num_frs_comm
Definition at line 111 of file mega_flavor.hpp.
◆ REPEATED_COMMITMENTS
Initial value:= RepeatedCommitmentsData(
static constexpr size_t NUM_PRECOMPUTED_ENTITIES
static constexpr size_t NUM_SHIFTED_ENTITIES
Definition at line 73 of file mega_flavor.hpp.
◆ USE_PADDING
| constexpr bool bb::MegaFlavor::USE_PADDING = true |
|
staticconstexpr |
◆ USE_SHORT_MONOMIALS
| constexpr bool bb::MegaFlavor::USE_SHORT_MONOMIALS = true |
|
staticconstexpr |
◆ VIRTUAL_LOG_N
| constexpr size_t bb::MegaFlavor::VIRTUAL_LOG_N = CONST_FOLDING_LOG_N |
|
staticconstexpr |
The documentation for this class was generated from the following file: