mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 04:01:22 +00:00
add validation option for debugging regressions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2934618c50
commit
75005d9077
4 changed files with 14 additions and 6 deletions
|
@ -99,6 +99,7 @@ def_module_params(module_name='smt',
|
|||
('arith.enable_hnf', BOOL, True, 'enable hnf (Hermite Normal Form) cuts'),
|
||||
('arith.bprop_on_pivoted_rows', BOOL, True, 'propagate bounds on rows changed by the pivot operation'),
|
||||
('arith.print_ext_var_names', BOOL, False, 'print external variable names'),
|
||||
('arith.validate', BOOL, False, 'validate lemmas generated by arithmetic solver'),
|
||||
('pb.conflict_frequency', UINT, 1000, 'conflict frequency for Pseudo-Boolean theory'),
|
||||
('pb.learn_complements', BOOL, True, 'learn complement literals for Pseudo-Boolean theory'),
|
||||
('array.weak', BOOL, False, 'weak array theory'),
|
||||
|
|
|
@ -36,6 +36,7 @@ void theory_arith_params::updt_params(params_ref const & _p) {
|
|||
m_arith_bound_prop = static_cast<bound_prop_mode>(p.arith_propagation_mode());
|
||||
m_arith_eager_eq_axioms = p.arith_eager_eq_axioms();
|
||||
m_arith_auto_config_simplex = p.arith_auto_config_simplex();
|
||||
m_arith_validate = p.arith_validate();
|
||||
m_nl_arith_propagate_linear_monomials = p.arith_nl_propagate_linear_monomials();
|
||||
m_nl_arith_optimize_bounds = p.arith_nl_optimize_bounds();
|
||||
m_nl_arith_cross_nested = p.arith_nl_cross_nested();
|
||||
|
@ -95,4 +96,5 @@ void theory_arith_params::display(std::ostream & out) const {
|
|||
DISPLAY_PARAM(m_nl_arith_propagate_linear_monomials);
|
||||
DISPLAY_PARAM(m_nl_arith_optimize_bounds);
|
||||
DISPLAY_PARAM(m_nl_arith_cross_nested);
|
||||
DISPLAY_PARAM(m_arith_validate);
|
||||
}
|
||||
|
|
|
@ -82,6 +82,7 @@ struct theory_arith_params {
|
|||
bool m_arith_adaptive_gcd = false;
|
||||
unsigned m_arith_propagation_threshold = UINT_MAX;
|
||||
|
||||
bool m_arith_validate = false;
|
||||
arith_pivot_strategy m_arith_pivot_strategy = arith_pivot_strategy::ARITH_PIVOT_SMALLEST;
|
||||
|
||||
// used in diff-logic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue