-
Notifications
You must be signed in to change notification settings - Fork 31
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
Feature/protostar ivc #25
base: feature/protostar-ivc
Are you sure you want to change the base?
Feature/protostar ivc #25
Conversation
let powers_of_zeta_first_poly = powers_of_zeta_poly((l_sqrt-1).ilog2() as usize, zeta); | ||
let powers_of_zeta_second_poly = powers_of_zeta_poly((l_sqrt-1).ilog2() as usize, zeta.pow(&[l_sqrt as u64])); | ||
let powers_of_zeta_poly = powers_of_zeta_first_poly.add(&powers_of_zeta_second_poly); |
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.
I think this should be concatenated instead of added
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.
done
let zeta_cross_term_poly = evaluate_zeta_cross_term_poly( | ||
l_sqrt * l_sqrt, | ||
*num_alpha_primes, | ||
accumulator, | ||
incoming, | ||
); |
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.
Since the constraint for zeta becomes different, I think we need another function for it
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.
done. i m not sure about the boundary conditions on the cross terms when we deal with zeta_power_lsqrt
let powers_of_zeta_sqrt1_constraint = powers_of_zeta_constraint(zeta, powers_of_zeta_sqrt); | ||
let zeta_sqrt1_products = products(&poly_set.preprocess, &powers_of_zeta_sqrt1_constraint); | ||
|
||
let powers_of_zeta_sqrt2_constraint = powers_of_zeta_constraint(zeta.pow(l_sqrt as u32), powers_of_zeta_sqrt); | ||
let zeta_sqrt2_products = products(&poly_set.preprocess, &powers_of_zeta_sqrt2_constraint); | ||
|
||
let zeta_products = iter::empty() | ||
.chain(zeta_sqrt1_products.iter().cloned()) | ||
.chain(zeta_sqrt2_products.iter().cloned()) | ||
.collect_vec(); |
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.
We'd need another poly and challenge by zeta_to_l
and adopt the same constraint on them.
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.
will this another poly help to recompute all the powers of beta from the square root terms? what is this challenge zeta_to_l?
3bef759
to
ce7d71d
Compare
review1 sqrt CV