-
Notifications
You must be signed in to change notification settings - Fork 151
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
refactor: transition constraints #721
Conversation
Add parallel to the last step
Proving and verification working fine with the CLI, with and without parallel |
let denominator = offset_times_x.pow(trace_length / self.period()) | ||
- trace_primitive_root.pow(self.offset() * trace_length / self.period()); | ||
|
||
numerator.div(denominator) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be better to use batch inversion here? At least, if it's not in parallel
.pow(self.offset() * trace_length / self.period()) | ||
+ z.pow(trace_length / self.period()); | ||
|
||
return numerator.div(denominator) * end_exemptions_poly.evaluate(z); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same idea as before
No description provided.