3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-04-02 09:58:59 +00:00

Have theory_nseq use not_contains_axiom instead of unroll_not_contains

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/f01fe213-d914-43de-b21f-de487abb16fb
This commit is contained in:
copilot-swe-agent[bot] 2026-03-23 04:55:58 +00:00
parent ced7952a7b
commit 21590144f7
2 changed files with 2 additions and 1 deletions

View file

@ -92,6 +92,7 @@ namespace smt {
void add_unit_axiom(expr* n) { m_ax.unit_axiom(n); }
void add_length_axiom(expr* n) { m_ax.length_axiom(n); }
void unroll_not_contains(expr* n) { m_ax.unroll_not_contains(n); }
void not_contains_axiom(expr* n) { m_ax.not_contains_axiom(n); }
literal is_digit(expr* ch) { return mk_literal(m_ax.is_digit(ch)); }
expr_ref add_length_limit(expr* s, unsigned k) { return m_ax.length_limit(s, k); }

View file

@ -246,7 +246,7 @@ namespace smt {
if (is_true)
m_axioms.contains_true_axiom(e);
else
m_axioms.unroll_not_contains(e);
m_axioms.not_contains_axiom(e);
}
else if (m_seq.str.is_lt(e) || m_seq.str.is_le(e)) {
// axioms added via relevant_eh → dequeue_axiom