Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
polynomials.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
barretenberg/vm2/common/constants.hpp
"
4
#include "
barretenberg/vm2/constraining/flavor.hpp
"
5
#include "
barretenberg/vm2/constraining/prover.hpp
"
6
#include "
barretenberg/vm2/tracegen/trace_container.hpp
"
7
8
namespace
bb::avm2::constraining
{
9
10
// Computes the polynomials from the trace, and destroys it in the process.
11
AvmProver::ProverPolynomials
compute_polynomials
(tracegen::TraceContainer&
trace
);
12
13
// In our lookups and permutations, the inverses are computed whenever the src or destination selector is non-zero.
14
// This means that the inverse polynomial needs to be resized to the maximum of the src and dst selector sizes.
15
void
resize_inverses
(AvmFlavor::ProverPolynomials& prover_polynomials,
16
Column
inverses_col,
17
Column
src_selector_col,
18
Column
dst_selector_col);
19
20
}
// namespace bb::avm2::constraining
bb::avm2::AvmProver::ProverPolynomials
Flavor::ProverPolynomials ProverPolynomials
Definition
prover.hpp:21
trace
TestTraceContainer trace
Definition
data_copy.test.cpp:62
bb::avm2::constraining
Definition
check_circuit.cpp:16
bb::avm2::constraining::resize_inverses
void resize_inverses(AvmFlavor::ProverPolynomials &prover_polynomials, Column inverses_col, Column src_selector_col, Column dst_selector_col)
Definition
polynomials.cpp:86
bb::avm2::constraining::compute_polynomials
AvmProver::ProverPolynomials compute_polynomials(tracegen::TraceContainer &trace)
Definition
polynomials.cpp:13
bb::avm2::Column
Column
Definition
columns.hpp:31
prover.hpp
trace_container.hpp
constants.hpp
flavor.hpp
src
barretenberg
vm2
constraining
polynomials.hpp
Generated by
1.9.8