3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-04 15:03:57 +00:00

add opt_NoQuickReturn_IntegerTheory check in theory_str::new_eq_check()

This allows us to assert an "inconsistent length" axiom from the integer theory
while continuing in new_eq_handler(). Currently active when
opt_NoQuickReturn_IntegerTheory is 'true' but this may be necessary
here and in other places, in general, to fix integer theory integration.
This commit is contained in:
Murphy Berzish 2016-08-01 17:05:02 -04:00
parent 6e348720b1
commit ee1af96f1b
2 changed files with 13 additions and 10 deletions

View file

@ -95,14 +95,12 @@ namespace smt {
int opt_LCMUnrollStep;
/*
* If NoQuickReturn_Concat_IntegerTheory is set to true,
* the integer theory integration conditionals in simplify_concat_equality()
* If NoQuickReturn_IntegerTheory is set to true,
* integer theory integration checks that assert axioms
* 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'.
* The default behaviour of Z3str2 is to set this to 'false'. This may be incorrect.
*/
bool opt_NoQuickReturn_Concat_IntegerTheory;
bool opt_NoQuickReturn_IntegerTheory;
/*
* If DisableIntegerTheoryIntegration is set to true,