Skip to content

Static analyzer for standard an ultra circuits #1086

Closed

Description

@Rumata888

A mechanism that treats the whole circuit before finalization (in case of ultra) as a graph with additional information and looks at the following properties:

  1. How many independent subgraphs (real variables being vertices) there are
  2. Whether there are any unexpected variables only present in 1 gate (apart from known cases this signals and underconstrained circuit)
### Tasks
- [x] Create Initial implementation of static analyzer with lookup, arithmetic, sorted, elliptic gates taken care of
- [x] Create PR patch for the discovered issue
- [x] Finalize and clean up PR with initial implementation and with AES and SHA256 tests
- [x] Create tests for blake
- [x] Extend mechanism to Auxiliary and Poseidon gates
- [x] Create tests for cycle group
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions