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

refactor: transition constraints #721

Merged
merged 93 commits into from
Jan 22, 2024
Merged

refactor: transition constraints #721

merged 93 commits into from
Jan 22, 2024

Conversation

entropidelic
Copy link
Contributor

No description provided.

@entropidelic entropidelic marked this pull request as ready for review January 17, 2024 18:16
@entropidelic entropidelic requested a review from a team as a code owner January 17, 2024 18:16
MauroToscano
MauroToscano previously approved these changes Jan 19, 2024
@MauroToscano
Copy link
Collaborator

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)
Copy link
Collaborator

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);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same idea as before

@diegokingston diegokingston added this pull request to the merge queue Jan 22, 2024
Merged via the queue into main with commit c4586a7 Jan 22, 2024
7 checks passed
@diegokingston diegokingston deleted the constraints-refactor branch January 22, 2024 14:09
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