|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
A debugging utility for checking whether a set of polynomials satisfies the relations for a given Flavor. More...
#include <relation_checker.hpp>
Public Types | |
| using | FirstSubrelationFailures = std::map< size_t, uint32_t > |
| using | AllSubrelationFailures = std::map< std::string, FirstSubrelationFailures > |
Static Public Member Functions | |
| static AllSubrelationFailures | check_all (const auto &polynomials, const auto ¶ms) |
| Check that the provided polynomials satisfy all relations for a given Flavor. | |
| template<typename Relation , bool has_linearly_dependent = false> | |
| static FirstSubrelationFailures | check (const auto &polynomials, const auto ¶ms, std::string label="Relation") |
| Check that a single specified relation is satisfied for a set of polynomials. | |
A debugging utility for checking whether a set of polynomials satisfies the relations for a given Flavor.
| Flavor |
Definition at line 21 of file relation_checker.hpp.
| using bb::RelationChecker< Flavor >::AllSubrelationFailures = std::map<std::string, FirstSubrelationFailures> |
Definition at line 30 of file relation_checker.hpp.
| using bb::RelationChecker< Flavor >::FirstSubrelationFailures = std::map<size_t, uint32_t> |
Definition at line 23 of file relation_checker.hpp.
|
inlinestatic |
Check that a single specified relation is satisfied for a set of polynomials.
Definition at line 48 of file relation_checker.hpp.
|
inlinestatic |
Check that the provided polynomials satisfy all relations for a given Flavor.
Definition at line 37 of file relation_checker.hpp.