mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
adding arith sls
This commit is contained in:
parent
6a2d60a6ba
commit
96d815b904
17 changed files with 625 additions and 35 deletions
|
@ -23,6 +23,17 @@ Author:
|
|||
|
||||
namespace arith {
|
||||
|
||||
|
||||
void arith_proof_hint_builder::set_type(euf::solver& ctx, hint_type ty) {
|
||||
ctx.push(value_trail<unsigned>(m_eq_tail));
|
||||
ctx.push(value_trail<unsigned>(m_lit_tail));
|
||||
m_ty = ty;
|
||||
reset();
|
||||
}
|
||||
|
||||
arith_proof_hint* arith_proof_hint_builder::mk(euf::solver& s) {
|
||||
return new (s.get_region()) arith_proof_hint(m_ty, m_num_le, m_lit_head, m_lit_tail, m_eq_head, m_eq_tail);
|
||||
}
|
||||
|
||||
std::ostream& solver::display(std::ostream& out) const {
|
||||
lp().display(out);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue