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

Implement the zk circuit simulator glue logic #6

Open
3 tasks
ed255 opened this issue Sep 28, 2023 · 1 comment
Open
3 tasks

Implement the zk circuit simulator glue logic #6

ed255 opened this issue Sep 28, 2023 · 1 comment

Comments

@ed255
Copy link
Owner

ed255 commented Sep 28, 2023

#4 concerns only on implementing the instructions which most of the time receive some inputs (as registers) and calculate some outputs (as registers).

To verify a trace of execution we need a few more pieces:

  • Retrieve opcode from the program at the pc location
  • Select the input-output registers for the instruction based on the opcode
  • Verify RAM consistency

This mostly corresponds to figure 2 of the Jolt paper:
image

@jeong0982
Copy link
Collaborator

@DoHoonKim8 almost complete lasso impl and we need memory checking, constraint system now.
Lasso uses offline memory checking internally, so he starts to make that generic. You can discuss it in this issue.
For constraint system, if halo2-lasso works well, then we can use halo2-circuit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants