32class TranscriptSumcheck {
34 using CPoly =
typename Proof<Field>::CPoly;
35 using WPoly =
typename Proof<Field>::WPoly;
36 static constexpr size_t kMaxBindings = Proof<Field>::kMaxBindings;
39 explicit TranscriptSumcheck(
Transcript& ts,
const Field& F)
44 for (corner_t c = 0; c < X->n0_; ++c) {
45 ts_.write(&X->v_[c], X->n0_, X->n1_, f_);
49 void begin_circuit(Elt* Q, Elt* G) {
50 ts_.elt(Q, kMaxBindings, f_);
51 ts_.elt(G, kMaxBindings, f_);
54 void begin_layer(Elt& alpha, Elt& beta,
size_t layer) {
59 void write(
const Elt e[],
size_t ince,
size_t n) {
60 ts_.write(e, ince, n, f_);
64 Elt round(
const Poly& poly) {
71 void write_poly(
const Poly* poly) {
74 for (
size_t i = 0; i < Poly::kN; ++i) {
76 ts_.write(poly->t_[i], f_);