Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::MultilinearBatchingProverInternal< Flavor_ > Class Template Reference

Internal prover for multilinear batching sumcheck over a fixed number of claims. More...

#include <multilinear_batching_prover.hpp>

Public Types

using Flavor = Flavor_
 
using FF = typename Flavor::FF
 
using Commitment = typename Flavor::Commitment
 
using ProvingKey = typename Flavor::ProvingKey
 
using Transcript = typename Flavor::Transcript
 

Public Member Functions

 MultilinearBatchingProverInternal (std::vector< MultilinearBatchingProverClaim > &&claims, std::shared_ptr< Transcript > transcript)
 
BB_PROFILE void execute_relation_check_rounds ()
 
BB_PROFILE MultilinearBatchingProverClaim compute_new_claim ()
 
HonkProof export_proof ()
 
HonkProof construct_proof ()
 

Public Attributes

std::shared_ptr< Transcripttranscript
 
ProvingKey key
 
SumcheckOutput< Flavorsumcheck_output
 

Private Attributes

FF claim_batching_challenge = FF(0)
 
FF claim_merge_challenge = FF(0)
 

Detailed Description

template<typename Flavor_>
class bb::MultilinearBatchingProverInternal< Flavor_ >

Internal prover for multilinear batching sumcheck over a fixed number of claims.

Templated on the flavor, whose NUM_CLAIMS fixes the batching width at compile time. A family of widths (2 .. CHONK_MAX_CLAIMS_PER_KERNEL) is instantiated so each kernel uses the circuit that exactly fits its group. Not called directly: the public MultilinearBatchingProver routes to the correctly-instantiated internal prover based on the runtime claim count.

Definition at line 23 of file multilinear_batching_prover.hpp.

Member Typedef Documentation

◆ Commitment

template<typename Flavor_ >
using bb::MultilinearBatchingProverInternal< Flavor_ >::Commitment = typename Flavor::Commitment

Definition at line 27 of file multilinear_batching_prover.hpp.

◆ FF

template<typename Flavor_ >
using bb::MultilinearBatchingProverInternal< Flavor_ >::FF = typename Flavor::FF

Definition at line 26 of file multilinear_batching_prover.hpp.

◆ Flavor

template<typename Flavor_ >
using bb::MultilinearBatchingProverInternal< Flavor_ >::Flavor = Flavor_

Definition at line 25 of file multilinear_batching_prover.hpp.

◆ ProvingKey

template<typename Flavor_ >
using bb::MultilinearBatchingProverInternal< Flavor_ >::ProvingKey = typename Flavor::ProvingKey

Definition at line 28 of file multilinear_batching_prover.hpp.

◆ Transcript

template<typename Flavor_ >
using bb::MultilinearBatchingProverInternal< Flavor_ >::Transcript = typename Flavor::Transcript

Definition at line 29 of file multilinear_batching_prover.hpp.

Constructor & Destructor Documentation

◆ MultilinearBatchingProverInternal()

template<typename Flavor >
bb::MultilinearBatchingProverInternal< Flavor >::MultilinearBatchingProverInternal ( std::vector< MultilinearBatchingProverClaim > &&  claims,
std::shared_ptr< Transcript transcript 
)

Definition at line 47 of file multilinear_batching_prover.cpp.

Member Function Documentation

◆ compute_new_claim()

Definition at line 75 of file multilinear_batching_prover.cpp.

◆ construct_proof()

template<typename Flavor >
HonkProof bb::MultilinearBatchingProverInternal< Flavor >::construct_proof ( )

Definition at line 141 of file multilinear_batching_prover.cpp.

◆ execute_relation_check_rounds()

template<typename Flavor >
void bb::MultilinearBatchingProverInternal< Flavor >::execute_relation_check_rounds ( )

Definition at line 53 of file multilinear_batching_prover.cpp.

◆ export_proof()

template<typename Flavor >
HonkProof bb::MultilinearBatchingProverInternal< Flavor >::export_proof ( )

Definition at line 136 of file multilinear_batching_prover.cpp.

Member Data Documentation

◆ claim_batching_challenge

template<typename Flavor_ >
FF bb::MultilinearBatchingProverInternal< Flavor_ >::claim_batching_challenge = FF(0)
private

Definition at line 46 of file multilinear_batching_prover.hpp.

◆ claim_merge_challenge

template<typename Flavor_ >
FF bb::MultilinearBatchingProverInternal< Flavor_ >::claim_merge_challenge = FF(0)
private

Definition at line 49 of file multilinear_batching_prover.hpp.

◆ key

template<typename Flavor_ >
ProvingKey bb::MultilinearBatchingProverInternal< Flavor_ >::key

Definition at line 41 of file multilinear_batching_prover.hpp.

◆ sumcheck_output

template<typename Flavor_ >
SumcheckOutput<Flavor> bb::MultilinearBatchingProverInternal< Flavor_ >::sumcheck_output

Definition at line 42 of file multilinear_batching_prover.hpp.

◆ transcript

template<typename Flavor_ >
std::shared_ptr<Transcript> bb::MultilinearBatchingProverInternal< Flavor_ >::transcript

Definition at line 40 of file multilinear_batching_prover.hpp.


The documentation for this class was generated from the following files: