Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/jalr-degree #504

Merged
merged 1 commit into from
Oct 30, 2024
Merged

fix/jalr-degree #504

merged 1 commit into from
Oct 30, 2024

Conversation

naure
Copy link
Collaborator

@naure naure commented Oct 30, 2024

Issue #502

  • Check constraint degree in MockProver.
  • Implement JALR with degree 2 using an intermediate witness.
  • Implement JALR more efficiently when overflow is not required.

@naure naure linked an issue Oct 30, 2024 that may be closed by this pull request
@@ -438,6 +457,14 @@ impl<'a, E: ExtensionField + Hash> MockProver<E> {
.chain(&cb.cs.assert_zero_sumcheck_expressions_namespace_map),
)
{
if expr.degree() > MAX_CONSTRAINT_DEGREE {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice!

Copy link
Collaborator

@kunxian-xia kunxian-xia left a comment

Choose a reason for hiding this comment

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

LGTM!

@kunxian-xia kunxian-xia merged commit d9b443a into master Oct 30, 2024
6 checks passed
@kunxian-xia kunxian-xia deleted the fix/jalr-degree branch October 30, 2024 12:59
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.

Degree >2 expression in JALR
3 participants