#include <mega_zk_flavor_generated.hpp>
|
| enum class | EntityId : uint16_t {
q_m = 0
, q_l = 1
, q_r = 2
, q_o = 3
,
q_4 = 4
, q_c = 5
, q_arith = 6
, q_bilinear_batched_eq = 7
,
sigma_1 = 8
, sigma_2 = 9
, sigma_3 = 10
, sigma_4 = 11
,
id_1 = 12
, id_2 = 13
, id_3 = 14
, id_4 = 15
,
lagrange_first = 16
, lagrange_last = 17
, q_delta_range = 18
, lagrange_ecc_op = 19
,
q_busread = 20
, kernel_calldata_indicator = 21
, databus_id = 22
, q_poseidon2_external = 23
,
q_poseidon2_external_initial = 24
, q_poseidon2_quad_internal = 25
, q_5 = 26
, q_poseidon2_quad_internal_terminal = 27
,
q_poseidon2_transition_entry = 28
, w_l = 29
, w_r = 30
, w_o = 31
,
w_4 = 32
, z_perm = 33
, ecc_op_wire_1 = 34
, ecc_op_wire_2 = 35
,
ecc_op_wire_3 = 36
, ecc_op_wire_4 = 37
, kernel_calldata = 38
, kernel_calldata_read_counts = 39
,
kernel_calldata_inverses = 40
, w_l_shift = 41
, w_r_shift = 42
, w_o_shift = 43
,
w_4_shift = 44
, z_perm_shift = 45
} |
| |
| template<typename FF > |
| using | Relations_ = std::tuple< bb::ArithmeticRelation< FF >, bb::BilinearOrBatchedEqCheckRelation< FF >, bb::UltraPermutationRelation< FF >, bb::DeltaRangeConstraintRelation< FF >, bb::EccOpQueueRelation< FF >, bb::MegaEccOpBoundaryRelation< FF >, bb::SingleBusLookupRelation< FF, EntityId::kernel_calldata, EntityId::kernel_calldata_read_counts, EntityId::kernel_calldata_inverses, EntityId::kernel_calldata_indicator, EntityId::q_l >, bb::Poseidon2ExternalRelation< FF >, bb::Poseidon2InitialExternalRelation< FF >, bb::Poseidon2QuadInternalRelation< FF >, bb::Poseidon2QuadInternalTerminalRelation< FF >, bb::Poseidon2TransitionEntryRelation< FF > > |
| |
◆ Relations_
| using bb::MegaZKFlavor_Generated::Relations_ = std::tuple<bb::ArithmeticRelation<FF>, bb::BilinearOrBatchedEqCheckRelation<FF>, bb::UltraPermutationRelation<FF>, bb::DeltaRangeConstraintRelation<FF>, bb::EccOpQueueRelation<FF>, bb::MegaEccOpBoundaryRelation<FF>, bb::SingleBusLookupRelation<FF, EntityId::kernel_calldata, EntityId::kernel_calldata_read_counts, EntityId::kernel_calldata_inverses, EntityId::kernel_calldata_indicator, EntityId::q_l>, bb::Poseidon2ExternalRelation<FF>, bb::Poseidon2InitialExternalRelation<FF>, bb::Poseidon2QuadInternalRelation<FF>, bb::Poseidon2QuadInternalTerminalRelation<FF>, bb::Poseidon2TransitionEntryRelation<FF> > |
◆ EntityId
| Enumerator |
|---|
| q_m | |
| q_l | |
| q_r | |
| q_o | |
| q_4 | |
| q_c | |
| q_arith | |
| q_bilinear_batched_eq | |
| sigma_1 | |
| sigma_2 | |
| sigma_3 | |
| sigma_4 | |
| id_1 | |
| id_2 | |
| id_3 | |
| id_4 | |
| lagrange_first | |
| lagrange_last | |
| q_delta_range | |
| lagrange_ecc_op | |
| q_busread | |
| kernel_calldata_indicator | |
| databus_id | |
| q_poseidon2_external | |
| q_poseidon2_external_initial | |
| q_poseidon2_quad_internal | |
| q_5 | |
| q_poseidon2_quad_internal_terminal | |
| q_poseidon2_transition_entry | |
| w_l | |
| w_r | |
| w_o | |
| w_4 | |
| z_perm | |
| ecc_op_wire_1 | |
| ecc_op_wire_2 | |
| ecc_op_wire_3 | |
| ecc_op_wire_4 | |
| kernel_calldata | |
| kernel_calldata_read_counts | |
| kernel_calldata_inverses | |
| w_l_shift | |
| w_r_shift | |
| w_o_shift | |
| w_4_shift | |
| z_perm_shift | |
Definition at line 36 of file mega_zk_flavor_generated.hpp.
◆ get_block_non_gate_selectors()
template<typename TraceBlock >
| static auto bb::MegaZKFlavor_Generated::get_block_non_gate_selectors |
( |
TraceBlock & |
block | ) |
|
|
inlinestatic |
◆ get_gate_blocks() [1/2]
template<typename TraceBlocks >
| static auto bb::MegaZKFlavor_Generated::get_gate_blocks |
( |
TraceBlocks & |
blocks | ) |
|
|
inlinestatic |
◆ get_gate_blocks() [2/2]
template<typename TraceBlocks >
| static auto bb::MegaZKFlavor_Generated::get_gate_blocks |
( |
TraceBlocks const & |
blocks | ) |
|
|
inlinestatic |
◆ BUILDER_BUS_INDICES
| constexpr std::array<size_t, NUM_BUS_COLUMNS> bb::MegaZKFlavor_Generated::BUILDER_BUS_INDICES = { 0 } |
|
staticconstexpr |
◆ GATE_KINDS
| constexpr std::array<GateKind, 9> bb::MegaZKFlavor_Generated::GATE_KINDS |
|
staticconstexpr |
◆ HasDataBus
| constexpr bool bb::MegaZKFlavor_Generated::HasDataBus = true |
|
staticconstexpr |
◆ HasEccOpQueue
| constexpr bool bb::MegaZKFlavor_Generated::HasEccOpQueue = true |
|
staticconstexpr |
◆ HasElliptic
| constexpr bool bb::MegaZKFlavor_Generated::HasElliptic = false |
|
staticconstexpr |
◆ HasLogDerivLookup
| constexpr bool bb::MegaZKFlavor_Generated::HasLogDerivLookup = false |
|
staticconstexpr |
◆ HasMemory
| constexpr bool bb::MegaZKFlavor_Generated::HasMemory = false |
|
staticconstexpr |
◆ HasNonNativeField
| constexpr bool bb::MegaZKFlavor_Generated::HasNonNativeField = false |
|
staticconstexpr |
◆ NUM_ALL_ENTITIES
◆ NUM_BUS_COLUMNS
| constexpr size_t bb::MegaZKFlavor_Generated::NUM_BUS_COLUMNS = 1 |
|
staticconstexpr |
◆ NUM_COMMITTED_WITNESS_ENTITIES
◆ NUM_MASKING_ENTITIES
| constexpr size_t bb::MegaZKFlavor_Generated::NUM_MASKING_ENTITIES = 0 |
|
staticconstexpr |
◆ NUM_PRECOMPUTED_ENTITIES
| constexpr size_t bb::MegaZKFlavor_Generated::NUM_PRECOMPUTED_ENTITIES = 29 |
|
staticconstexpr |
◆ NUM_SHIFTED_ENTITIES
| constexpr size_t bb::MegaZKFlavor_Generated::NUM_SHIFTED_ENTITIES = 5 |
|
staticconstexpr |
◆ NUM_UNSHIFTED_ENTITIES
◆ NUM_WITNESS_ENTITIES
| constexpr size_t bb::MegaZKFlavor_Generated::NUM_WITNESS_ENTITIES = 12 |
|
staticconstexpr |
◆ REPEATED_COMMITMENT_PAIRS
Initial value:= {
DuplicatePair{ 32, 44 }, DuplicatePair{ 33, 45 },
}
One commitment shared by an unshifted polynomial and its shifted copy.
Definition at line 124 of file mega_zk_flavor_generated.hpp.
◆ REPEATED_COMMITMENTS
Initial value:=
static constexpr std::array< DuplicatePair, NUM_SHIFTED_ENTITIES > REPEATED_COMMITMENT_PAIRS
constexpr RepeatedCommitmentsData repeated_commitments_from_pairs(std::span< const DuplicatePair > pairs)
Collapse a span of (original, duplicate) pairs into a RepeatedCommitmentsData of up to two contiguous...
Definition at line 128 of file mega_zk_flavor_generated.hpp.
The documentation for this class was generated from the following file: