-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: SMT Verifier for Ultra Arithmetization (#7067)
This pr adds a new Circuit Verifier for Ultra arithmetization. ## `circuit_builder_base.cpp` / `ultra_circuit_builder.cpp` / CircuitSchema CircuitSchema object now includes `real_variable_tag` and `range_tags`(maps tags to ranges) for range constraint detection. ## UltraCircuit Translates all(except for aux gates) constraints to solver, including: - Arithmetic gates - `handle_arithmetic_relation` - Elliptic gates - `handle_elliptic_relation` - Lookup constraints - `handle_lookup_relation` - Range constraints - `handle_range_constraints` - Delta range constraints, that are skipped for now - `handle_delta_range_relation` Also `ultra_circuit.test.cpp` checks that everything is handled properly. ## Solver - Moved `stringify_term` inside the solver class, because of set inclusion logging. - Added logging for set inclusion - Added ordinary set creation via `create_table` - Added `ultra_solver_config` that enables set logic ## STerm Now has `in` method for set inclusion. --------- Co-authored-by: Innokentii Sennovskii <isennovskiy@gmail.com>
- Loading branch information
Showing
18 changed files
with
966 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.