3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-20 20:05:51 +00:00

Add theory_seq_len: partial axiom instantiation for sequence length constraints

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-10 18:02:04 +00:00
parent 3ee78e242b
commit 56e9e9df57
6 changed files with 505 additions and 3 deletions

View file

@ -188,9 +188,9 @@ void smt_params::display(std::ostream & out) const {
}
void smt_params::validate_string_solver(symbol const& s) const {
if (s == "z3str3" || s == "seq" || s == "empty" || s == "auto" || s == "none" || s == "nseq")
if (s == "z3str3" || s == "seq" || s == "empty" || s == "auto" || s == "none" || s == "nseq" || s == "seq_len")
return;
throw default_exception("Invalid string solver value. Legal values are z3str3, seq, empty, auto, none, nseq");
throw default_exception("Invalid string solver value. Legal values are z3str3, seq, empty, auto, none, nseq, seq_len");
}
void smt_params::setup_QF_UF() {