mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
na
This commit is contained in:
parent
42219204ed
commit
9d3c8a6a2f
3 changed files with 9 additions and 4 deletions
|
@ -73,6 +73,7 @@ namespace smt {
|
|||
void add_indexof_axiom(expr* n) { m_ax.indexof_axiom(n); }
|
||||
void add_last_indexof_axiom(expr* n) { m_ax.last_indexof_axiom(n); }
|
||||
void add_replace_axiom(expr* n) { m_ax.replace_axiom(n); }
|
||||
void add_replace_all_axiom(expr* n) { m_ax.replace_all_axiom(n); }
|
||||
void add_at_axiom(expr* n) { m_ax.at_axiom(n); }
|
||||
void add_nth_axiom(expr* n) { m_ax.nth_axiom(n); }
|
||||
void add_itos_axiom(expr* n) { m_ax.itos_axiom(n); }
|
||||
|
|
|
@ -2646,6 +2646,9 @@ void theory_seq::deque_axiom(expr* n) {
|
|||
else if (m_util.str.is_replace(n)) {
|
||||
m_ax.add_replace_axiom(n);
|
||||
}
|
||||
else if (m_util.str.is_replace_all(n)) {
|
||||
m_ax.add_replace_all_axiom(n);
|
||||
}
|
||||
else if (m_util.str.is_extract(n)) {
|
||||
m_ax.add_extract_axiom(n);
|
||||
}
|
||||
|
@ -3190,6 +3193,7 @@ void theory_seq::relevant_eh(app* n) {
|
|||
m_util.str.is_to_code(n) ||
|
||||
m_util.str.is_unit(n) ||
|
||||
m_util.str.is_length(n) ||
|
||||
/* m_util.str.is_replace_all(n) || uncomment to enable axiomatization */
|
||||
m_util.str.is_le(n)) {
|
||||
enque_axiom(n);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue