mirror of
https://github.com/Z3Prover/z3
synced 2026-06-29 03:48:51 +00:00
Z3 arguments got ignored in the Nielsen graph
This commit is contained in:
parent
c20bc0e631
commit
8ac7a242eb
2 changed files with 16 additions and 18 deletions
|
|
@ -829,26 +829,24 @@ namespace smt {
|
|||
// let's rebuild the whole Nielsen graph
|
||||
populate_nielsen_graph();
|
||||
|
||||
// assert length constraints derived from string equalities
|
||||
if (assert_length_constraints()) {
|
||||
TRACE(seq, tout << "nseq final_check: length constraints asserted, FC_CONTINUE\n");
|
||||
return FC_CONTINUE;
|
||||
}
|
||||
|
||||
SASSERT(m_nielsen.root());
|
||||
|
||||
m_nielsen.assert_node_side_constraints(m_nielsen.root());
|
||||
|
||||
++m_num_final_checks;
|
||||
|
||||
m_nielsen.set_max_search_depth(get_fparams().m_nseq_max_depth);
|
||||
m_nielsen.set_max_nodes(get_fparams().m_nseq_max_nodes);
|
||||
m_nielsen.set_parikh_enabled(get_fparams().m_nseq_parikh);
|
||||
m_nielsen.set_signature_split(get_fparams().m_nseq_signature);
|
||||
m_nielsen.set_regex_factorization_threshold(get_fparams().m_nseq_regex_factorization_threshold);
|
||||
m_nielsen.set_regex_factorization_eager(get_fparams().m_nseq_regex_factorization_eager);
|
||||
|
||||
// assert length constraints derived from string equalities
|
||||
if (assert_length_constraints()) {
|
||||
TRACE(seq, tout << "nseq final_check: length constraints asserted, FC_CONTINUE\n");
|
||||
return FC_CONTINUE;
|
||||
}
|
||||
SASSERT(m_nielsen.root());
|
||||
m_nielsen.assert_node_side_constraints(m_nielsen.root());
|
||||
}
|
||||
|
||||
++m_num_final_checks;
|
||||
|
||||
SASSERT(!m_nielsen.root()->is_currently_conflict());
|
||||
|
||||
// Regex membership pre-check: before running DFS, check intersection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue