3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-04 06:53:58 +00:00

add option to disable integer theory integration in theory_str; this is currently ENABLED

This commit is contained in:
Murphy Berzish 2016-07-23 23:29:56 -04:00
parent 02a66c425e
commit f555074e27
2 changed files with 37 additions and 0 deletions

View file

@ -100,9 +100,25 @@ namespace smt {
* will not return from the function after asserting their axioms.
* This means that control will fall through to the type 1-6 axioms,
* causing those to be added as well.
* The default behaviour of Z3str2 is to set this to 'false'.
*/
bool opt_NoQuickReturn_Concat_IntegerTheory;
/*
* If DisableIntegerTheoryIntegration is set to true,
* ALL calls to the integer theory integration methods
* (get_value, get_len_value, lower_bound, upper_bound)
* will ignore what the arithmetic solver believes about length terms,
* and will return no information.
*
* This reduces performance significantly, but can be useful to enable
* if it is suspected that string-integer integration, or the arithmetic solver itself,
* might have a bug.
*
* The default behaviour of Z3str2 is to set this to 'false'.
*/
bool opt_DisableIntegerTheoryIntegration;
bool search_started;
arith_util m_autil;
str_util m_strutil;