Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
mega_app_recursive_flavor.hpp
Go to the documentation of this file.
1// === AUDIT STATUS ===
2// internal: { status: not started, auditors: [], commit: }
3// external_1: { status: not started, auditors: [], commit: }
4// external_2: { status: not started, auditors: [], commit: }
5// =====================
6
7#pragma once
12
13namespace bb {
14
22 public:
25 using PCS = KZG<Curve>;
26 using GroupElement = typename Curve::Element;
27 using FF = typename Curve::ScalarField;
28 using Commitment = typename Curve::Element;
32
35 static constexpr bool HasZK = false;
36 static constexpr bool USE_PADDING = MegaAppFlavor::USE_PADDING;
37 static constexpr size_t NUM_WIRES = MegaAppFlavor::NUM_WIRES;
43 static constexpr bool HasDataBus = MegaAppFlavor::HasDataBus;
46 static constexpr bool HasElliptic = MegaAppFlavor::HasElliptic;
47 static constexpr bool HasMemory = MegaAppFlavor::HasMemory;
50
52
53 static constexpr size_t MAX_PARTIAL_RELATION_LENGTH = compute_max_partial_relation_length<Relations>();
55
56 static constexpr size_t FINAL_PCS_MSM_SIZE(size_t log_n = VIRTUAL_LOG_N)
57 {
59 };
61
63
66
68 public:
70 using Base::Base;
71 };
72
77
80
82};
83
84} // namespace bb
Common transcript class for both parties. Stores the data for the current round, as well as the manif...
std::tuple< bb::UltraPermutationRelation< FF >, bb::LogDerivLookupRelation< FF >, bb::ArithmeticRelation< FF >, bb::BilinearOrBatchedEqCheckRelation< FF >, bb::DeltaRangeConstraintRelation< FF >, bb::EllipticRelation< FF >, bb::MemoryRelation< FF >, bb::NonNativeFieldRelation< FF >, bb::EccOpQueueRelation< FF >, bb::SingleBusLookupRelation< FF, EntityId::return_data, EntityId::return_data_read_counts, EntityId::return_data_inverses, EntityId::return_data_indicator, EntityId::q_m >, bb::Poseidon2ExternalRelation< FF >, bb::Poseidon2InitialExternalRelation< FF >, bb::Poseidon2QuadInternalRelation< FF >, bb::Poseidon2QuadInternalTerminalRelation< FF >, bb::Poseidon2TransitionEntryRelation< FF > > Relations_
static constexpr size_t NUM_WITNESS_ENTITIES
static constexpr RepeatedCommitmentsData REPEATED_COMMITMENTS
static constexpr size_t NUM_PRECOMPUTED_ENTITIES
static constexpr size_t NUM_SHIFTED_ENTITIES
static constexpr size_t NUM_UNSHIFTED_ENTITIES
Mega flavor specialized for Chonk app circuits.
static constexpr size_t NUM_SUBRELATIONS
static constexpr size_t VIRTUAL_LOG_N
static constexpr size_t NUM_WIRES
static constexpr bool USE_PADDING
AllEntities< std::string > CommitmentLabels
static const CommitmentLabels & commitment_labels()
static constexpr size_t FINAL_PCS_MSM_SIZE(size_t log_n=VIRTUAL_LOG_N)
static constexpr bool USE_SHORT_MONOMIALS
Recursive counterpart to MegaAppFlavor.
static constexpr size_t NUM_UNSHIFTED_ENTITIES
static constexpr size_t NUM_WITNESS_ENTITIES
static constexpr size_t NUM_SUBRELATIONS
static constexpr size_t NUM_ALL_ENTITIES
static const CommitmentLabels & commitment_labels()
static constexpr size_t NUM_SHIFTED_ENTITIES
static constexpr size_t FINAL_PCS_MSM_SIZE(size_t log_n=VIRTUAL_LOG_N)
MegaAppFlavor::Relations_< FF > Relations
static constexpr RepeatedCommitmentsData REPEATED_COMMITMENTS
static constexpr size_t NUM_BUS_COLUMNS
MegaAppFlavor::CommitmentLabels CommitmentLabels
static constexpr size_t BATCHED_RELATION_PARTIAL_LENGTH
static constexpr size_t NUM_PRECOMPUTED_ENTITIES
static constexpr size_t MAX_PARTIAL_RELATION_LENGTH
Base Native verification key class.
Definition flavor.hpp:138
Base Stdlib verification key class.
Definition flavor.hpp:378
Wrapper holding a verification key and its precomputed hash.
Definition flavor.hpp:551
Entry point for Barretenberg command-line interface.
Definition api.hpp:5
MegaCircuitBuilder_< field< Bn254FrParams > > MegaCircuitBuilder
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
field_t< CircuitBuilder > ScalarField
Definition bn254.hpp:30