3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-28 17:08:45 +00:00

z3str3: add smt.str.fixed_length_naive_cex option for naive length-based counterexamples

This commit is contained in:
Murphy Berzish 2020-01-20 15:34:43 -05:00 committed by Nikolaj Bjorner
parent c1e7d7788e
commit cf3f271f5b
4 changed files with 39 additions and 21 deletions

View file

@ -39,6 +39,7 @@ void theory_str_params::updt_params(params_ref const & _p) {
m_RegexAutomata_LengthAttemptThreshold = p.str_regex_automata_length_attempt_threshold();
m_FixedLengthModels = p.str_fixed_length_models();
m_FixedLengthRefinement = p.str_fixed_length_refinement();
m_FixedLengthNaiveCounterexamples = p.str_fixed_length_naive_cex();
}
#define DISPLAY_PARAM(X) out << #X"=" << X << std::endl;
@ -61,4 +62,5 @@ void theory_str_params::display(std::ostream & out) const {
DISPLAY_PARAM(m_RegexAutomata_FailedIntersectionThreshold);
DISPLAY_PARAM(m_RegexAutomata_LengthAttemptThreshold);
DISPLAY_PARAM(m_FixedLengthModels);
DISPLAY_PARAM(m_FixedLengthNaiveCounterexamples);
}