Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::UltraFlavor_Generated Class Reference

#include <ultra_flavor_generated.hpp>

Inheritance diagram for bb::UltraFlavor_Generated:
bb::UltraFlavor bb::UltraKeccakFlavor bb::UltraZKFlavor bb::UltraKeccakZKFlavor

Classes

class  AllEntities
 
class  PrecomputedEntities
 
class  WitnessEntities
 

Public Types

enum class  EntityId : uint16_t {
  sigma_1 = 0 , sigma_2 = 1 , sigma_3 = 2 , sigma_4 = 3 ,
  id_1 = 4 , id_2 = 5 , id_3 = 6 , id_4 = 7 ,
  lagrange_first = 8 , lagrange_last = 9 , q_lookup = 10 , table_1 = 11 ,
  table_2 = 12 , table_3 = 13 , table_4 = 14 , q_m = 15 ,
  q_r = 16 , q_o = 17 , q_c = 18 , q_l = 19 ,
  q_4 = 20 , q_arith = 21 , q_delta_range = 22 , q_elliptic = 23 ,
  q_memory = 24 , q_nnf = 25 , q_poseidon2_external = 26 , q_poseidon2_internal = 27 ,
  w_l = 28 , w_r = 29 , w_o = 30 , w_4 = 31 ,
  z_perm = 32 , lookup_inverses = 33 , lookup_read_counts = 34 , lookup_read_tags = 35 ,
  w_l_shift = 36 , w_r_shift = 37 , w_o_shift = 38 , w_4_shift = 39 ,
  z_perm_shift = 40
}
 
template<typename FF >
using Relations_ = std::tuple< bb::UltraPermutationRelation< FF >, bb::LogDerivLookupRelation< FF >, bb::ArithmeticRelation< FF >, bb::DeltaRangeConstraintRelation< FF >, bb::EllipticRelation< FF >, bb::MemoryRelation< FF >, bb::NonNativeFieldRelation< FF >, bb::Poseidon2ExternalRelation< FF >, bb::Poseidon2InternalRelation< FF > >
 

Static Public Member Functions

template<typename TraceBlocks >
static auto get_gate_blocks (TraceBlocks &blocks)
 
template<typename TraceBlocks >
static auto get_gate_blocks (TraceBlocks const &blocks)
 
template<typename TraceBlock >
static auto get_block_non_gate_selectors (TraceBlock &block)
 

Static Public Attributes

static constexpr size_t NUM_PRECOMPUTED_ENTITIES = 28
 
static constexpr size_t NUM_WITNESS_ENTITIES = 8
 
static constexpr size_t NUM_MASKING_ENTITIES = 0
 
static constexpr size_t NUM_SHIFTED_ENTITIES = 5
 
static constexpr bool HasDataBus = false
 
static constexpr size_t NUM_BUS_COLUMNS = 0
 
static constexpr bool HasLogDerivLookup = true
 
static constexpr bool HasElliptic = true
 
static constexpr bool HasMemory = true
 
static constexpr bool HasNonNativeField = true
 
static constexpr bool HasEccOpQueue = false
 
static constexpr size_t NUM_COMMITTED_WITNESS_ENTITIES = NUM_WITNESS_ENTITIES + NUM_MASKING_ENTITIES
 
static constexpr size_t NUM_UNSHIFTED_ENTITIES = NUM_PRECOMPUTED_ENTITIES + NUM_COMMITTED_WITNESS_ENTITIES
 
static constexpr size_t NUM_ALL_ENTITIES = NUM_UNSHIFTED_ENTITIES + NUM_SHIFTED_ENTITIES
 
static constexpr std::array< DuplicatePair, NUM_SHIFTED_ENTITIESREPEATED_COMMITMENT_PAIRS
 
static constexpr RepeatedCommitmentsData REPEATED_COMMITMENTS
 
static constexpr std::array< GateKind, 8 > GATE_KINDS
 

Detailed Description

Definition at line 31 of file ultra_flavor_generated.hpp.

Member Typedef Documentation

◆ Relations_

Member Enumeration Documentation

◆ EntityId

enum class bb::UltraFlavor_Generated::EntityId : uint16_t
strong
Enumerator
sigma_1 
sigma_2 
sigma_3 
sigma_4 
id_1 
id_2 
id_3 
id_4 
lagrange_first 
lagrange_last 
q_lookup 
table_1 
table_2 
table_3 
table_4 
q_m 
q_r 
q_o 
q_c 
q_l 
q_4 
q_arith 
q_delta_range 
q_elliptic 
q_memory 
q_nnf 
q_poseidon2_external 
q_poseidon2_internal 
w_l 
w_r 
w_o 
w_4 
z_perm 
lookup_inverses 
lookup_read_counts 
lookup_read_tags 
w_l_shift 
w_r_shift 
w_o_shift 
w_4_shift 
z_perm_shift 

Definition at line 34 of file ultra_flavor_generated.hpp.

Member Function Documentation

◆ get_block_non_gate_selectors()

template<typename TraceBlock >
static auto bb::UltraFlavor_Generated::get_block_non_gate_selectors ( TraceBlock &  block)
inlinestatic

Definition at line 153 of file ultra_flavor_generated.hpp.

◆ get_gate_blocks() [1/2]

template<typename TraceBlocks >
static auto bb::UltraFlavor_Generated::get_gate_blocks ( TraceBlocks &  blocks)
inlinestatic

Definition at line 116 of file ultra_flavor_generated.hpp.

◆ get_gate_blocks() [2/2]

template<typename TraceBlocks >
static auto bb::UltraFlavor_Generated::get_gate_blocks ( TraceBlocks const &  blocks)
inlinestatic

Definition at line 131 of file ultra_flavor_generated.hpp.

Member Data Documentation

◆ GATE_KINDS

◆ HasDataBus

constexpr bool bb::UltraFlavor_Generated::HasDataBus = false
staticconstexpr

Definition at line 95 of file ultra_flavor_generated.hpp.

◆ HasEccOpQueue

constexpr bool bb::UltraFlavor_Generated::HasEccOpQueue = false
staticconstexpr

Definition at line 101 of file ultra_flavor_generated.hpp.

◆ HasElliptic

constexpr bool bb::UltraFlavor_Generated::HasElliptic = true
staticconstexpr

Definition at line 98 of file ultra_flavor_generated.hpp.

◆ HasLogDerivLookup

constexpr bool bb::UltraFlavor_Generated::HasLogDerivLookup = true
staticconstexpr

Definition at line 97 of file ultra_flavor_generated.hpp.

◆ HasMemory

constexpr bool bb::UltraFlavor_Generated::HasMemory = true
staticconstexpr

Definition at line 99 of file ultra_flavor_generated.hpp.

◆ HasNonNativeField

constexpr bool bb::UltraFlavor_Generated::HasNonNativeField = true
staticconstexpr

Definition at line 100 of file ultra_flavor_generated.hpp.

◆ NUM_ALL_ENTITIES

constexpr size_t bb::UltraFlavor_Generated::NUM_ALL_ENTITIES = NUM_UNSHIFTED_ENTITIES + NUM_SHIFTED_ENTITIES
staticconstexpr

Definition at line 104 of file ultra_flavor_generated.hpp.

◆ NUM_BUS_COLUMNS

constexpr size_t bb::UltraFlavor_Generated::NUM_BUS_COLUMNS = 0
staticconstexpr

Definition at line 96 of file ultra_flavor_generated.hpp.

◆ NUM_COMMITTED_WITNESS_ENTITIES

constexpr size_t bb::UltraFlavor_Generated::NUM_COMMITTED_WITNESS_ENTITIES = NUM_WITNESS_ENTITIES + NUM_MASKING_ENTITIES
staticconstexpr

Definition at line 102 of file ultra_flavor_generated.hpp.

◆ NUM_MASKING_ENTITIES

constexpr size_t bb::UltraFlavor_Generated::NUM_MASKING_ENTITIES = 0
staticconstexpr

Definition at line 93 of file ultra_flavor_generated.hpp.

◆ NUM_PRECOMPUTED_ENTITIES

constexpr size_t bb::UltraFlavor_Generated::NUM_PRECOMPUTED_ENTITIES = 28
staticconstexpr

Definition at line 91 of file ultra_flavor_generated.hpp.

◆ NUM_SHIFTED_ENTITIES

constexpr size_t bb::UltraFlavor_Generated::NUM_SHIFTED_ENTITIES = 5
staticconstexpr

Definition at line 94 of file ultra_flavor_generated.hpp.

◆ NUM_UNSHIFTED_ENTITIES

constexpr size_t bb::UltraFlavor_Generated::NUM_UNSHIFTED_ENTITIES = NUM_PRECOMPUTED_ENTITIES + NUM_COMMITTED_WITNESS_ENTITIES
staticconstexpr

Definition at line 103 of file ultra_flavor_generated.hpp.

◆ NUM_WITNESS_ENTITIES

constexpr size_t bb::UltraFlavor_Generated::NUM_WITNESS_ENTITIES = 8
staticconstexpr

Definition at line 92 of file ultra_flavor_generated.hpp.

◆ REPEATED_COMMITMENT_PAIRS

constexpr std::array<DuplicatePair, NUM_SHIFTED_ENTITIES> bb::UltraFlavor_Generated::REPEATED_COMMITMENT_PAIRS
staticconstexpr
Initial value:
= {
DuplicatePair{ 28, 36 }, DuplicatePair{ 29, 37 }, DuplicatePair{ 30, 38 },
DuplicatePair{ 31, 39 }, DuplicatePair{ 32, 40 },
}
One commitment shared by an unshifted polynomial and its shifted copy.

Definition at line 108 of file ultra_flavor_generated.hpp.

◆ REPEATED_COMMITMENTS

constexpr RepeatedCommitmentsData bb::UltraFlavor_Generated::REPEATED_COMMITMENTS
staticconstexpr
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 112 of file ultra_flavor_generated.hpp.


The documentation for this class was generated from the following file: