-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Updating an SMT solver class (#4981)
This pr mostly adds more functionality to `smt_solver::Solver` class, including - new options to cvc5 solver config, including verbosity increase and finite field solver choice - `default_solver_config` constant so you don't need to initialize it each time - `print_assertions` method that converts smt lang to something more readable and outputs it - tests for solver class Also it updates and fixes the symbolic terms classes: - `^` operation is no longer viable with `FFITerm`, since they are not compatible - `!=` operation now uses boolean **NOT** instead of equating the whole term to `false` - `std::string` method now uses `smt_solver::stringify_term` - `!` operator was added to `Bool` class --------- Co-authored-by: Rumata888 <isennovskiy@gmail.com>
- Loading branch information
Showing
15 changed files
with
351 additions
and
72 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
21 changes: 0 additions & 21 deletions
21
barretenberg/cpp/src/barretenberg/smt_verification/smt_intmod.test.cpp
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.