mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 17:31:57 +00:00
relaxing condition for assumptions, add theory-assumption to skolem functions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e02392c0e3
commit
3ae722025f
2 changed files with 10 additions and 3 deletions
|
@ -7351,10 +7351,10 @@ namespace smt {
|
|||
|
||||
void theory_str::add_theory_assumptions(expr_ref_vector & assumptions) {
|
||||
TRACE("str", tout << "add overlap assumption for theory_str" << std::endl;);
|
||||
symbol strOverlap("!!TheoryStrOverlapAssumption!!");
|
||||
char* strOverlap = "!!TheoryStrOverlapAssumption!!";
|
||||
seq_util m_sequtil(get_manager());
|
||||
sort * s = get_manager().mk_bool_sort();
|
||||
m_theoryStrOverlapAssumption_term = expr_ref(get_manager().mk_const(strOverlap, s), get_manager());
|
||||
m_theoryStrOverlapAssumption_term = expr_ref(mk_fresh_const(strOverlap, s), get_manager());
|
||||
assumptions.push_back(get_manager().mk_not(m_theoryStrOverlapAssumption_term));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue