Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
lookups_emit_nullifier.hpp
Go to the documentation of this file.
1// AUTOGENERATED FILE
2#pragma once
3
4#include <cstddef>
5#include <string_view>
6#include <tuple>
7
8#include "../columns.hpp"
11
12namespace bb::avm2 {
13
15
17 static constexpr std::string_view NAME = "LOOKUP_EMIT_NULLIFIER_WRITE_NULLIFIER";
18 static constexpr std::string_view RELATION_NAME = "emit_nullifier";
19 static constexpr size_t LOOKUP_TUPLE_SIZE = 11;
20 static constexpr Column SRC_SELECTOR = Column::execution_sel_write_nullifier;
21 static constexpr Column DST_SELECTOR = Column::indexed_tree_check_write;
22 static constexpr Column COUNTS = Column::lookup_emit_nullifier_write_nullifier_counts;
23 static constexpr Column INVERSES = Column::lookup_emit_nullifier_write_nullifier_inv;
24 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE> SRC_COLUMNS = {
25 ColumnAndShifts::execution_register_0_,
26 ColumnAndShifts::execution_prev_nullifier_tree_root,
27 ColumnAndShifts::execution_sel_opcode_error,
28 ColumnAndShifts::execution_nullifier_tree_root,
29 ColumnAndShifts::execution_prev_nullifier_tree_size,
30 ColumnAndShifts::execution_discard,
31 ColumnAndShifts::execution_nullifier_pi_offset,
32 ColumnAndShifts::execution_nullifier_tree_height,
33 ColumnAndShifts::execution_sel_write_nullifier,
34 ColumnAndShifts::execution_nullifier_siloing_separator,
35 ColumnAndShifts::execution_contract_address
36 };
37 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE> DST_COLUMNS = {
38 ColumnAndShifts::indexed_tree_check_value,
39 ColumnAndShifts::indexed_tree_check_root,
40 ColumnAndShifts::indexed_tree_check_exists,
41 ColumnAndShifts::indexed_tree_check_write_root,
42 ColumnAndShifts::indexed_tree_check_tree_size_before_write,
43 ColumnAndShifts::indexed_tree_check_discard,
44 ColumnAndShifts::indexed_tree_check_public_inputs_index,
45 ColumnAndShifts::indexed_tree_check_tree_height,
46 ColumnAndShifts::indexed_tree_check_sel_silo,
47 ColumnAndShifts::indexed_tree_check_siloing_separator,
48 ColumnAndShifts::indexed_tree_check_address
49 };
50};
51
53template <typename FF_>
56
57} // namespace bb::avm2
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
Settings to be passed ot GenericLookupRelationImpl.