Skip to content

Conversation

@iakovenkos
Copy link
Contributor

experimental

@iakovenkos iakovenkos marked this pull request as ready for review February 9, 2026 16:27
size_t AvmProver::compute_actual_circuit_size() const
{
size_t actual_size = 0;
for (const auto& poly : prover_polynomials.get_unshifted()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we use the witnesses only (at least for sumcheck)? In this PR: #20209 I used compute_effective_* that you guys have which does that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I overlooked your PR. Should be equivalent I think apart from the fact that you're paying for GateSeparatorPolynomial<FF> gate_separators(gate_challenges, multivariate_d);
as you'd feed $2^{21}$ to the prover as the first arg

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passing the real size to sumcheck sgtm. In compute univariates I think we are a bit tighter because we dont need to make it a power of 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants