mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 00:18:45 +00:00
remove simplify dependencies
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b16a4ac452
commit
2897b98ed2
23 changed files with 62 additions and 80 deletions
|
@ -60,10 +60,10 @@ namespace smt {
|
|||
// m_kernel.display(out); <<< for external users it is just junk
|
||||
// TODO: it will be replaced with assertion_stack.display
|
||||
unsigned num = m_kernel.get_num_asserted_formulas();
|
||||
expr * const * fms = m_kernel.get_asserted_formulas();
|
||||
out << "(kernel";
|
||||
for (unsigned i = 0; i < num; i++) {
|
||||
out << "\n " << mk_ismt2_pp(fms[i], m(), 2);
|
||||
expr* f = m_kernel.get_asserted_formula(i);
|
||||
out << "\n " << mk_ismt2_pp(f, m(), 2);
|
||||
}
|
||||
out << ")";
|
||||
}
|
||||
|
@ -81,8 +81,12 @@ namespace smt {
|
|||
return m_kernel.get_num_asserted_formulas();
|
||||
}
|
||||
|
||||
expr * const * get_formulas() const {
|
||||
return m_kernel.get_asserted_formulas();
|
||||
void get_formulas(ptr_vector<expr>& fmls) const {
|
||||
m_kernel.get_asserted_formulas(fmls);
|
||||
}
|
||||
|
||||
expr* get_formula(unsigned i) const {
|
||||
return m_kernel.get_asserted_formula(i);
|
||||
}
|
||||
|
||||
void push() {
|
||||
|
@ -241,8 +245,8 @@ namespace smt {
|
|||
return m_imp->size();
|
||||
}
|
||||
|
||||
expr * const * kernel::get_formulas() const {
|
||||
return m_imp->get_formulas();
|
||||
expr* kernel::get_formula(unsigned i) const {
|
||||
return m_imp->get_formula(i);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue