Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
pg_recursion_constraint.hpp
Go to the documentation of this file.
1
// === AUDIT STATUS ===
2
// internal: { status: not started, auditors: [], date: YYYY-MM-DD }
3
// external_1: { status: not started, auditors: [], date: YYYY-MM-DD }
4
// external_2: { status: not started, auditors: [], date: YYYY-MM-DD }
5
// =====================
6
7
#pragma once
8
#include "
barretenberg/client_ivc/client_ivc.hpp
"
9
#include "
barretenberg/dsl/acir_format/recursion_constraint.hpp
"
10
#include "
barretenberg/stdlib/primitives/bigfield/bigfield.hpp
"
11
#include <vector>
12
13
namespace
acir_format
{
14
15
using namespace
bb
;
16
17
std::shared_ptr<ClientIVC>
create_mock_ivc_from_constraints
(
const
std::vector<RecursionConstraint>
& constraints,
18
const
TraceSettings
& trace_settings);
19
20
void
mock_ivc_accumulation
(
const
std::shared_ptr<ClientIVC>
& ivc,
ClientIVC::QUEUE_TYPE
type,
const
bool
is_kernel);
21
22
void
populate_dummy_vk_in_constraint
(
MegaCircuitBuilder
&
builder
,
23
const
std::shared_ptr<MegaFlavor::VerificationKey>
& mock_verification_key,
24
std::vector<uint32_t>& key_witness_indices);
25
26
}
// namespace acir_format
bigfield.hpp
bb::ClientIVC::QUEUE_TYPE
QUEUE_TYPE
Definition
client_ivc.hpp:176
bb::MegaCircuitBuilder_
Definition
mega_circuit_builder.hpp:17
client_ivc.hpp
builder
AluTraceBuilder builder
Definition
alu.test.cpp:123
acir_format
Definition
acir_format.cpp:34
acir_format::mock_ivc_accumulation
void mock_ivc_accumulation(const std::shared_ptr< ClientIVC > &ivc, ClientIVC::QUEUE_TYPE type, const bool is_kernel)
Populate an IVC instance with data that mimics the state after a single IVC accumulation (Oink or PG)
Definition
pg_recursion_constraint.cpp:157
acir_format::create_mock_ivc_from_constraints
std::shared_ptr< ClientIVC > create_mock_ivc_from_constraints(const std::vector< RecursionConstraint > &constraints, const TraceSettings &trace_settings)
Create an IVC object with mocked state corresponding to a set of IVC recursion constraints.
Definition
pg_recursion_constraint.cpp:40
acir_format::populate_dummy_vk_in_constraint
void populate_dummy_vk_in_constraint(MegaCircuitBuilder &builder, const std::shared_ptr< MegaFlavor::VerificationKey > &mock_verification_key, std::vector< uint32_t > &key_witness_indices)
Populate VK witness fields from a recursion constraint from a provided VerificationKey.
Definition
pg_recursion_constraint.cpp:179
bb
Entry point for Barretenberg command-line interface.
Definition
acir_format_getters.cpp:6
std::get
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition
tuple.hpp:13
recursion_constraint.hpp
bb::TraceSettings
Definition
mega_execution_trace.hpp:55
src
barretenberg
dsl
acir_format
pg_recursion_constraint.hpp
Generated by
1.9.8