81 uint32_t start_idx =
opening_pair.challenge.set_public();
100 const size_t COMMITMENT_SIZE = Commitment::PUBLIC_INPUTS_SIZE;
104 auto challenge = Codec::template deserialize_from_fields<Fr>(challenge_limbs);
105 auto evaluation = Codec::template deserialize_from_fields<Fr>(evaluation_limbs);
106 auto commitment = Codec::template deserialize_from_fields<Commitment>(commitment_limbs);
121 const size_t COMMITMENT_SIZE = Commitment::PUBLIC_INPUTS_SIZE;
126 Fr challenge = Codec::deserialize_from_fields<Fr>(challenge_limbs);
127 Fr evaluation = Codec::deserialize_from_fields<Fr>(evaluation_limbs);
134 requires(
Curve::is_stdlib_type)
CommitmentKey object over a pairing group 𝔾₁.
Unverified claim (C,r,v) for some witness polynomial p(X) such that.
static OpeningClaim< Curve > reconstruct_from_public(const std::span< const stdlib::field_t< Builder >, PUBLIC_INPUTS_SIZE > &limbs)
Reconstruct an opening claim from limbs stored on the public inputs.
static OpeningClaim< Curve > reconstruct_from_public(const std::span< const bb::fr, PUBLIC_INPUTS_SIZE > &limbs)
Reconstruct a native opening claim from native field elements.
OpeningPair< Curve > opening_pair
std::conditional_t< std::is_same_v< Curve, stdlib::grumpkin< UltraCircuitBuilder > >, UltraCircuitBuilder, void > Builder
auto get_native_opening_claim() const
static constexpr bool IS_GRUMPKIN
static constexpr size_t PUBLIC_INPUTS_SIZE
bool operator==(const OpeningClaim &other) const =default
uint32_t set_public()
Set the witness indices for the opening claim to public.
typename Curve::AffineElement Commitment
typename Curve::ScalarField Fr
Opening pair (r,v) for some witness polynomial p(X) such that p(r) = v.
typename Curve::ScalarField Fr
bool operator==(const OpeningPair &other) const =default
Structured polynomial class that represents the coefficients 'a' of a_0 + a_1 x .....
Polynomial p and an opening pair (r,v) such that p(r) = v.
OpeningPair< Curve > opening_pair
typename Curve::ScalarField Fr
typename Group::affine_element AffineElement
Entry point for Barretenberg command-line interface.
UltraCircuitBuilder_< UltraExecutionTraceBlocks > UltraCircuitBuilder
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
StdlibCodec for in-circuit (recursive) verification transcript handling.
An accumulator consisting of the Shplonk evaluation challenge and vectors of commitments and scalars.
typename Curve::ScalarField Scalar
std::vector< Commitment > commitments
std::vector< Scalar > scalars
typename Curve::AffineElement Commitment
static constexpr size_t PUBLIC_INPUTS_SIZE