#include <translator_circuit_checker.hpp>
|
static Fq | get_computation_result (const Builder &circuit) |
| Get the result of accumulation, stored as 4 binary limbs in the first row of the circuit.
|
|
static RelationInputs | compute_relation_inputs_limbs (const Fq &batching_challenge_v, const Fq &evaluation_input_x) |
| Create limb representations of x and powers of v that are needed to compute the witness or check circuit correctness.
|
|
static bool | check (const Builder &circuit) |
| Check the witness satisifies the circuit.
|
|
◆ Builder
◆ Fq
◆ Fr
◆ WireIds
◆ TranslatorCircuitChecker()
bb::TranslatorCircuitChecker::TranslatorCircuitChecker |
( |
| ) |
|
|
default |
◆ check()
bool bb::TranslatorCircuitChecker::check |
( |
const Builder & |
circuit | ) |
|
|
static |
Check the witness satisifies the circuit.
Goes through each gate and checks the correctness of accumulation
- Returns
- true
-
false
Get elements at the same index from several sequential circuit.wires and put them into a vector
Reconstruct the value of one regular limb used in relation computation from micro chunks used to create range constraints
We might want to skip several items at the end, since those will be shifted or used for another decomposition
Definition at line 20 of file translator_circuit_checker.cpp.
◆ compute_relation_inputs_limbs()
Create limb representations of x and powers of v that are needed to compute the witness or check circuit correctness.
- Parameters
-
evaluation_input_x | The point at which the polynomials are being evaluated |
batching_challenge_v | The batching challenge |
- Returns
- RelationInputs
Definition at line 5 of file translator_circuit_checker.cpp.
◆ get_computation_result()
static Fq bb::TranslatorCircuitChecker::get_computation_result |
( |
const Builder & |
circuit | ) |
|
|
inlinestatic |
◆ NUM_BINARY_LIMBS
constexpr size_t bb::TranslatorCircuitChecker::NUM_BINARY_LIMBS = Builder::NUM_BINARY_LIMBS |
|
staticconstexprprivate |
◆ RESULT_ROW
constexpr size_t bb::TranslatorCircuitChecker::RESULT_ROW = Builder::RESULT_ROW |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: