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

Add a nondet inv op #6

Merged
merged 7 commits into from
Aug 20, 2024
Merged

Add a nondet inv op #6

merged 7 commits into from
Aug 20, 2024

Conversation

tzerrell
Copy link
Member

@tzerrell tzerrell commented Aug 16, 2024

Adds an nondet op that computes the (modular multiplicative) inverse.

Also creates a ModularInvOp which computes the inverse via this nondet and checks that it is truly an inverse.

Added in conjunction with risc0/risc0#2244

@tzerrell tzerrell requested a review from shkoo August 16, 2024 23:41
@tzerrell tzerrell self-assigned this Aug 16, 2024
Copy link
Contributor

@jbruestle jbruestle left a comment

Choose a reason for hiding this comment

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

LGTM.

@tzerrell tzerrell merged commit 8a29839 into main Aug 20, 2024
7 checks passed
@tzerrell tzerrell deleted the tzerrell/bigint-nondet-inv branch August 20, 2024 16:15
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