-
Notifications
You must be signed in to change notification settings - Fork 46
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
impl hyperplonk iop #39
Conversation
a297c31
to
1e11c52
Compare
hyperplonk/src/lib.rs
Outdated
"evaluation dimension does not match".to_string(), | ||
))?; | ||
|
||
let pi_opening = PCS::open(&pk.pcs_param, &Rc::new(pi_poly), &zero_check_proof.point)?; |
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.
Should this be an opening proof for w(zero_vec, point)
instead of pi(point)
? (no need to change if they are actually the same, but I doubt if it's the case.)
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.
fixed with 20a0ee2
31256bb
to
43b66b8
Compare
c379a4e
to
ef3a1b0
Compare
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.
@zhenfeizhang Added some comments regarding the integration test.
hyperplonk/src/lib.rs
Outdated
// TODO: get the real max degree from gate_func | ||
max_degree: 2, | ||
// prod(x) has one more variable | ||
num_variables: num_var + 1, |
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.
Should it be num_var + 1 + log_num_wires
?
This has been a big PR and there are still many clean ups that I am working on. But feel free to review the functionalities... @chancharles92 |
No description provided.