Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
perms_public_data_check.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 = "PERM_PUBLIC_DATA_CHECK_SQUASHING";
18 static constexpr std::string_view RELATION_NAME = "public_data_check";
19 static constexpr size_t COLUMNS_PER_SET = 5;
20 static constexpr Column SRC_SELECTOR = Column::public_data_check_nondiscaded_write;
21 static constexpr Column DST_SELECTOR = Column::public_data_squash_sel;
22 static constexpr Column INVERSES = Column::perm_public_data_check_squashing_inv;
23 static constexpr std::array<ColumnAndShifts, COLUMNS_PER_SET> SRC_COLUMNS = {
24 ColumnAndShifts::public_data_check_leaf_slot,
25 ColumnAndShifts::public_data_check_clk,
26 ColumnAndShifts::public_data_check_should_write_to_public_inputs,
27 ColumnAndShifts::public_data_check_value,
28 ColumnAndShifts::public_data_check_final_value
29 };
30 static constexpr std::array<ColumnAndShifts, COLUMNS_PER_SET> DST_COLUMNS = {
31 ColumnAndShifts::public_data_squash_leaf_slot,
32 ColumnAndShifts::public_data_squash_clk,
33 ColumnAndShifts::public_data_squash_write_to_public_inputs,
34 ColumnAndShifts::public_data_squash_value,
35 ColumnAndShifts::public_data_squash_final_value
36 };
37};
38
40template <typename FF_>
43
44} // namespace bb::avm2
This file contains the template for the generic permutation that can be specialized to enforce variou...
static constexpr std::array< ColumnAndShifts, COLUMNS_PER_SET > SRC_COLUMNS
static constexpr std::array< ColumnAndShifts, COLUMNS_PER_SET > DST_COLUMNS