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
6
8
9// Computes the polynomials from the trace, and destroys it in the process.
10AvmProver::ProverPolynomials compute_polynomials(tracegen::TraceContainer& trace);
11
12// In our lookups and permutations, the inverses are computed whenever the src or destination selector is non-zero.
13// This means that the inverse polynomial needs to be resized to the maximum of the src and dst selector sizes.
14void resize_inverses(AvmFlavor::ProverPolynomials& prover_polynomials,
15 Column inverses_col,
16 Column src_selector_col,
17 Column dst_selector_col);
18
19// Computes the proving key from the polynomials.
20// Remark: This doesn't need to be a shared_ptr, but BB requires it.
22
23} // namespace bb::avm2::constraining
Flavor::ProverPolynomials ProverPolynomials
Definition prover.hpp:25
void resize_inverses(AvmFlavor::ProverPolynomials &prover_polynomials, Column inverses_col, Column src_selector_col, Column dst_selector_col)
AvmProver::ProverPolynomials compute_polynomials(tracegen::TraceContainer &trace)
std::shared_ptr< AvmProver::ProvingKey > proving_key_from_polynomials(AvmProver::ProverPolynomials &polynomials)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13