mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
string-integer integration in free var gen
This commit is contained in:
parent
91d82956b2
commit
1520760a04
1 changed files with 4 additions and 5 deletions
|
@ -5302,13 +5302,12 @@ void theory_str::process_free_var(std::map<expr*, int> & freeVar_map) {
|
|||
}
|
||||
|
||||
if (standAlone) {
|
||||
// TODO
|
||||
// int lenValue = getLenValue(freeVar);
|
||||
int lenValue = -1;
|
||||
if (lenValue != -1) {
|
||||
rational len_value;
|
||||
bool len_value_exists = get_len_value(freeVar, len_value);
|
||||
if (len_value_exists) {
|
||||
leafVarSet.insert(freeVar);
|
||||
} else {
|
||||
aloneVars[lenValue].insert(freeVar);
|
||||
aloneVars[-1].insert(freeVar);
|
||||
}
|
||||
} else {
|
||||
leafVarSet.insert(freeVar);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue