mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
z3str3: add smt.str.fixed_length_naive_cex option for naive length-based counterexamples
This commit is contained in:
parent
c1e7d7788e
commit
cf3f271f5b
4 changed files with 39 additions and 21 deletions
|
@ -130,6 +130,13 @@ struct theory_str_params {
|
|||
*/
|
||||
bool m_FixedLengthRefinement;
|
||||
|
||||
/*
|
||||
* If FixedLengthNaiveCounterexamples is true and the fixed-length equation solver is enabled,
|
||||
* Z3str3 will only construct simple counterexamples to block unsatisfiable length assignments
|
||||
* instead of attempting to learn more complex lessons.
|
||||
*/
|
||||
bool m_FixedLengthNaiveCounterexamples;
|
||||
|
||||
theory_str_params(params_ref const & p = params_ref()):
|
||||
m_StrongArrangements(true),
|
||||
m_AggressiveLengthTesting(false),
|
||||
|
@ -149,7 +156,8 @@ struct theory_str_params {
|
|||
m_RegexAutomata_FailedIntersectionThreshold(10),
|
||||
m_RegexAutomata_LengthAttemptThreshold(10),
|
||||
m_FixedLengthModels(true),
|
||||
m_FixedLengthRefinement(false)
|
||||
m_FixedLengthRefinement(false),
|
||||
m_FixedLengthNaiveCounterexamples(true)
|
||||
{
|
||||
updt_params(p);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue