3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-07 13:54:53 +00:00
z3/src
copilot-swe-agent[bot] 5c56e5fb0a Fix nseq_state axiom scope leak and add propagate_ground_split
Bug fix: m_axioms and m_axiom_set were not restored on pop_scope,
causing axioms from a previous push/pop context to leak into
subsequent contexts with the same variable names, producing
non-termination in incremental solving (push/check-sat/pop sequences).

Fix: track m_axioms_size_at_push on the trail stack and truncate
m_axioms + remove corresponding m_axiom_set entries on pop.

Optimization: propagate_ground_split directly sets variable values when
one side is a pure ground string and all variables have known lengths.

Optimization: explicit len(z) = len(head) - len(var) axioms for
Skolem terms in var-vs-var splits to help arithmetic termination.

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-03-01 20:43:18 +00:00
..
ackermannization Fix off-by-one vulnerabilities: use range-based for on goals; cache loop bound 2026-02-19 22:37:22 +00:00
api Add missing API functions to Go, OCaml, and TypeScript bindings 2026-02-27 02:55:37 +00:00
ast include partial plan 2026-02-28 14:00:29 -08:00
cmd_context Remove redundant default constructors when they're the only constructor (#8461) 2026-02-18 20:58:01 -08:00
math Eliminate unnecessary copy operations in function parameters and range-based loops (#8589) 2026-02-18 21:02:22 -08:00
model Remove redundant default constructors when they're the only constructor (#8461) 2026-02-18 20:58:01 -08:00
muz Eliminate unnecessary copies with std::move for ref-counted types (#8591) 2026-02-18 21:02:24 -08:00
nlsat remove an unnecessary template from levelwise 2026-02-25 07:03:23 -10:00
opt Refactor optimization and model to use C++17 structured bindings for pairs (#8426) 2026-02-18 20:57:59 -08:00
params Add theory_nseq skeleton: new string solver selectable via smt.string_solver=nseq 2026-02-27 17:00:59 -08:00
parsers Revert "Refactor find_psort_decl() to return std::optional<psort_decl*> (#8339)" 2026-02-18 20:57:56 -08:00
qe Fix true positive critical bugs from static analysis discussion #8764 2026-02-25 00:41:59 +00:00
sat Merge pull request #8767 from Z3Prover/copilot/fix-ubv-to-int-bug 2026-02-25 13:32:40 -08:00
shell Standardize for-loop increments to prefix form (++i) (#8199) 2026-02-18 20:57:29 -08:00
smt Fix nseq_state axiom scope leak and add propagate_ground_split 2026-03-01 20:43:18 +00:00
solver Remove copies (#8583) 2026-02-18 21:02:22 -08:00
tactic Merge pull request #8779 from Z3Prover/copilot/convert-bv1-blast-to-simplifier 2026-02-26 15:52:18 -08:00
test Add nseq_basic unit tests for theory_nseq solver 2026-02-28 22:33:47 +00:00
util Fix true positive critical bugs from static analysis discussion #8764 2026-02-25 00:41:59 +00:00
CMakeLists.txt git bindings v1.0 2026-02-18 21:02:25 -08:00