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

impl hyperplonk iop #39

Merged
merged 13 commits into from
Aug 1, 2022
Merged

impl hyperplonk iop #39

merged 13 commits into from
Aug 1, 2022

Conversation

zhenfeizhang
Copy link
Contributor

No description provided.

@zhenfeizhang zhenfeizhang force-pushed the hyperplonk-piop branch 3 times, most recently from a297c31 to 1e11c52 Compare July 14, 2022 19:28
hyperplonk/src/lib.rs Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
"evaluation dimension does not match".to_string(),
))?;

let pi_opening = PCS::open(&pk.pcs_param, &Rc::new(pi_poly), &zero_check_proof.point)?;
Copy link
Collaborator

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.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed with 20a0ee2

hyperplonk/src/lib.rs Show resolved Hide resolved
Copy link
Collaborator

@chancharles92 chancharles92 left a 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 Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
hyperplonk/src/lib.rs Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
// TODO: get the real max degree from gate_func
max_degree: 2,
// prod(x) has one more variable
num_variables: num_var + 1,
Copy link
Collaborator

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?

@zhenfeizhang
Copy link
Contributor Author

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

hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
hyperplonk/src/lib.rs Outdated Show resolved Hide resolved
@zhenfeizhang zhenfeizhang merged commit a6ea6ac into main Aug 1, 2022
@zhenfeizhang zhenfeizhang deleted the hyperplonk-piop branch August 1, 2022 17:17
@chancharles92 chancharles92 mentioned this pull request Aug 4, 2022
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