mirror of
https://github.com/Z3Prover/z3
synced 2025-08-17 00:32:16 +00:00
Add simplification customization for SMTLIB2
Add the ability to customize incremental pre-processing simplification for the SMTLIB2 front-end. The main new capability is to use pre-processing tactics in incremental mode that were previously not available. The main new capabilities are - solve-eqs - reduce-args - elim-unconstrained There are several more. Documentation and exposed simplifiers are populated incrementally. The current set of supported simplifiers can be inspected by using z3 with the --simplifiers flag or referring to https://microsoft.github.io/z3guide/docs/strategies/simplifiers Some pending features are: - add the ability to update parameters to simplifiers similar to how tactics can be controlled using parameters. - expose simplification solvers over the binary API.
This commit is contained in:
parent
dd0decfe5d
commit
6022c17131
32 changed files with 370 additions and 69 deletions
|
@ -84,7 +84,6 @@ class model_reconstruction_trail {
|
|||
ast_manager& m;
|
||||
trail_stack& m_trail_stack;
|
||||
scoped_ptr_vector<entry> m_trail;
|
||||
unsigned m_trail_index = 0;
|
||||
|
||||
void add_vars(expr* e, ast_mark& free_vars) {
|
||||
for (expr* t : subterms::all(expr_ref(e, m)))
|
||||
|
@ -108,10 +107,6 @@ class model_reconstruction_trail {
|
|||
return any_of(added, [&](dependent_expr const& d) { return intersects(free_vars, d); });
|
||||
}
|
||||
|
||||
/**
|
||||
* Append new updates to model converter, update the current index into the trail in the process.
|
||||
*/
|
||||
void append(generic_model_converter& mc, unsigned& index);
|
||||
public:
|
||||
|
||||
model_reconstruction_trail(ast_manager& m, trail_stack& tr):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue