3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-01-24 16:17:47 -06:00
parent f2015b3f49
commit ce0ccc2e9e
6 changed files with 218 additions and 32 deletions

View file

@ -69,6 +69,7 @@ def_module_params(module_name='smt',
('string_solver', SYMBOL, 'seq', 'solver for string/sequence theories. options are: \'z3str3\' (specialized string solver), \'seq\' (sequence solver), \'auto\' (use static features to choose best solver), \'empty\' (a no-op solver that forces an answer unknown if strings were used), \'none\' (no solver)'),
('core.validate', BOOL, False, '[internal] validate unsat core produced by SMT context. This option is intended for debugging'),
('seq.split_w_len', BOOL, True, 'enable splitting guided by length constraints'),
('seq.validate', BOOL, False, 'enable self-validation of theory axioms created by seq theory'),
('str.strong_arrangements', BOOL, True, 'assert equivalences instead of implications when generating string arrangement axioms'),
('str.aggressive_length_testing', BOOL, False, 'prioritize testing concrete length values over generating more options'),
('str.aggressive_value_testing', BOOL, False, 'prioritize testing concrete string constant values over generating more options'),

View file

@ -20,4 +20,5 @@ Revision History:
void theory_seq_params::updt_params(params_ref const & _p) {
smt_params_helper p(_p);
m_split_w_len = p.seq_split_w_len();
m_seq_validate = p.seq_validate();
}

View file

@ -24,10 +24,12 @@ struct theory_seq_params {
* Enable splitting guided by length constraints
*/
bool m_split_w_len;
bool m_seq_validate;
theory_seq_params(params_ref const & p = params_ref()):
m_split_w_len(true)
m_split_w_len(true),
m_seq_validate(false)
{
updt_params(p);
}