Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
honk_recursion_constraint.hpp
Go to the documentation of this file.
1// === AUDIT STATUS ===
2// internal: { status: completed, auditors: [Federico], commit: 8b4e1279ef130eeb18bce9ce2a9f0fa39a243697}
3// external_1: { status: not started, auditors: [], commit: }
4// external_2: { status: not started, auditors: [], commit: }
5// =====================
6
7#pragma once
8
11#include <vector>
12
13namespace acir_format {
14
15using namespace bb;
16
41template <typename Flavor>
42[[nodiscard("IPA claim and Pairing points should be accumulated")]] HonkRecursionConstraintOutput<
44create_honk_recursion_constraints(typename Flavor::CircuitBuilder& builder, const RecursionConstraint& input)
45 requires(IsRecursiveFlavor<Flavor> && IsUltraHonk<typename Flavor::NativeFlavor>);
46
47#ifndef NDEBUG
48template <typename Flavor>
50 const typename Flavor::NativeFlavor::FF vkey_hash,
52#endif
53
54} // namespace acir_format
typename Curve::ScalarField FF
A simple wrapper around a vector of stdlib field elements representing a proof.
Definition proof.hpp:19
AluTraceBuilder builder
Definition alu.test.cpp:124
void native_verification_debug(const std::shared_ptr< typename Flavor::VerificationKey > vkey, const typename Flavor::NativeFlavor::FF vkey_hash, const bb::stdlib::Proof< typename Flavor::CircuitBuilder > &proof_fields)
Natively verify the stdlib proof for debugging.
bb::stdlib::recursion::honk::UltraRecursiveVerifierOutput< Builder > HonkRecursionConstraintOutput
Alias for the result of recursively verifying a proof.
HonkRecursionConstraintOutput< typename Flavor::CircuitBuilder > create_honk_recursion_constraints(typename Flavor::CircuitBuilder &builder, const RecursionConstraint &input)
Add to the builder the constraints to recursively verify a Honk proof.
Entry point for Barretenberg command-line interface.
Definition api.hpp:5
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13