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

Compute FRI quotients #118

Merged
merged 1 commit into from
Oct 20, 2024
Merged

Compute FRI quotients #118

merged 1 commit into from
Oct 20, 2024

Conversation

andrewmilson
Copy link
Contributor

@andrewmilson andrewmilson commented Oct 14, 2024

This change is Reviewable

Copy link
Contributor

@Alon-Ti Alon-Ti left a comment

Choose a reason for hiding this comment

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

Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: all files reviewed, 4 unresolved discussions (waiting on @andrewmilson and @shaharsamocha7)


stwo_cairo_verifier/src/pcs/quotients.cairo line 196 at r1 (raw file):

    let mut queried_values_per_column_iter = queried_values_per_column.span().into_iter();

    loop {

Can't this work as an iteration on queried_values_per_column?


stwo_cairo_verifier/src/pcs/quotients.cairo line 213 at r1 (raw file):

    let mut column_eval_offset = 0;

    // return Result::Err(VerificationError::InvalidStructure('queried vals'));

Remove


stwo_cairo_verifier/src/pcs/quotients.cairo line 329 at r1 (raw file):

        for sample_batch in sample_batches
            .span() {
                // TODO(AlonH): This assertion will fail at a probability of 1 to 2^62.

Reassign TODO (I think Shahar wanted to add salt for this)


stwo_cairo_verifier/src/pcs/quotients.cairo line 474 at r1 (raw file):

        sample_point: @CirclePoint<QM31>, sample_value: QM31, alpha: QM31
    ) -> ComplexConjugateLineCoeffs {
        // 12321564

?

Copy link
Contributor Author

@andrewmilson andrewmilson left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 4 unresolved discussions (waiting on @Alon-Ti and @shaharsamocha7)


stwo_cairo_verifier/src/pcs/quotients.cairo line 196 at r1 (raw file):

Previously, Alon-Ti wrote…

Can't this work as an iteration on queried_values_per_column?

For and while loops don't allow breaking with a value


stwo_cairo_verifier/src/pcs/quotients.cairo line 213 at r1 (raw file):

Previously, Alon-Ti wrote…

Remove

Whoops. Thanks


stwo_cairo_verifier/src/pcs/quotients.cairo line 329 at r1 (raw file):

Previously, Alon-Ti wrote…

Reassign TODO (I think Shahar wanted to add salt for this)

Done.


stwo_cairo_verifier/src/pcs/quotients.cairo line 474 at r1 (raw file):

Previously, Alon-Ti wrote…

?

Removed. Ty

@andrewmilson andrewmilson mentioned this pull request Oct 20, 2024
Copy link
Contributor

@Alon-Ti Alon-Ti left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @shaharsamocha7)

Base automatically changed from 10-13-Add_CanonicCoset to main October 20, 2024 22:13
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