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

[Optimize] Unsigned checked addition #2048

Merged

Conversation

d0cd
Copy link
Collaborator

@d0cd d0cd commented Oct 6, 2023

This PR optimizes unsigned checked addition by directly witnessing the product and checking that the sum and witness match in the base field.

This PR depends on #2047

@d0cd d0cd marked this pull request as ready for review October 10, 2023 18:29
@d0cd d0cd requested review from acoglio, bendyarm and howardwu October 10, 2023 18:29
@d0cd d0cd requested a review from acoglio October 11, 2023 22:04
Copy link
Contributor

@bendyarm bendyarm left a comment

Choose a reason for hiding this comment

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

LGTM

@d0cd d0cd force-pushed the tracking/circuit-optimizations-and-fixes branch from 59429b5 to 2e4926b Compare October 13, 2023 21:04
@d0cd d0cd force-pushed the optimize/add-checked branch from f2fc4d2 to a1948e2 Compare October 13, 2023 21:06
@d0cd d0cd changed the base branch from tracking/circuit-optimizations-and-fixes to optimization/mul-checked October 13, 2023 21:07
@d0cd d0cd mentioned this pull request Oct 13, 2023
Base automatically changed from optimization/mul-checked to tracking/circuit-optimizations-and-fixes October 14, 2023 02:19
@howardwu howardwu merged commit cfcf956 into tracking/circuit-optimizations-and-fixes Oct 14, 2023
@howardwu howardwu deleted the optimize/add-checked branch October 14, 2023 02:19
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.

4 participants