3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-25 08:22:35 +00:00

smt: add smt.relevancy.watch_filter toggle for the watch-list filter

Make the relevancy_propagator watch-list membership filter (m_is_watched)
runtime-toggleable via a new boolean parameter smt.relevancy.watch_filter
(default true). When false, get_watches() always probes m_watches, giving
the pre-filter behavior. This enables A/B performance comparison of the
same binary (filter on vs off) under the Ramon benchmark harness.

Behavior-preserving either way: verified identical results on QF_LIA with
the filter on and off.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Lev Nachmanson 2026-07-03 12:43:57 -07:00
parent caa34b7937
commit 435e4d7897
4 changed files with 13 additions and 3 deletions

View file

@ -88,6 +88,7 @@ struct smt_params : public preprocessor_params,
bool m_eq_propagation = true;
bool m_binary_clause_opt = true;
unsigned m_relevancy_lvl = 2;
bool m_relevancy_watch_filter = true;
bool m_relevancy_lemma = false;
unsigned m_random_seed = 0;
double m_random_var_freq = 0.01;