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

[Track Progress] halo2-analyzer / Korrekt #14

Open
flyingnobita opened this issue Feb 28, 2024 · 0 comments
Open

[Track Progress] halo2-analyzer / Korrekt #14

flyingnobita opened this issue Feb 28, 2024 · 0 comments

Comments

@flyingnobita
Copy link
Collaborator

This issue is to track the progress on running halo2-analyzer / Korrekt. A version of halo2-analyzer that is compatible with Summa was made by zeroqn. It gave us the following results:

Unused Gates:
Finished analysis: 2 unused gates found.
unused gate: "partial rounds" (consider removing the gate or checking selectors in regions)
unused gate: "partial rounds" (consider removing the gate or checking selectors in regions)
Unused Columns:
Finished analysis: 0 unused columns found.
Unconstrained Cells:
Finished analysis: 3566 unconstrained cells found.
unconstrained cell in "assign entry username" region: Column { index: 0, column_type: Advice } (rotation: 0) -- very likely a bug.
unconstrained cell in "assign entry balance" region: Column { index: 1, column_type: Advice } (rotation: 0) -- very likely a bug.
unconstrained cell in "assign entry balance" region: Column { index: 1, column_type: Advice } (rotation: 0) -- very likely a bug.
unconstrained cell in "initial state for domain ConstantLength<3>" region: Column { index: 0, column_type: Advice } (rotation: 0) -- very likely a bug.
unconstrained cell in "initial state for domain ConstantLength<3>" region: Column { index: 1, column_type: Advice } (rotation: 0) -- very likely a bug.
unconstrained cell in "permute state" region: Column { index: 1, column_type: Advice } (rotation: 0) -- very likely a bug.
unconstrained cell in "permute state" region: Column { index: 1, column_type: Advice } (rotation: 0) -- very likely a bug.
unconstrained cell in "permute state" region: Column { index: 2, column_type: Advice } (rotation: 0) -- very likely a bug.
...
Underconstrained Circuit - Random Public Inputs
Error: Failed to perform analysis!

Caused by:
    0: Failed to run control uniqueness function!
    1: Failed to solve and get model!
    2: Failed to parse smt result!
    3: SMT Solver Error: (error "Parse Error: src/output/out_temp.smt2:10.37: mpz_set_str")

Further work can be done on getting more useful output, and having it generate random public inputs for testing the circuit can be particularly useful.

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

No branches or pull requests

1 participant