mirror of
https://github.com/Z3Prover/z3
synced 2025-08-15 15:25:26 +00:00
working on ho-matcher
This commit is contained in:
parent
195f3c9110
commit
35b1d09425
4 changed files with 49 additions and 22 deletions
|
@ -79,6 +79,7 @@ public:
|
|||
|
||||
bool is_true(expr* f, proof_ref& pr, expr_dependency*& d) override {
|
||||
d = nullptr;
|
||||
init_solver();
|
||||
solver::scoped_push _sp(*m_solver);
|
||||
m_fmls.reset();
|
||||
m_fmls.push_back(m.mk_not(f));
|
||||
|
@ -113,6 +114,7 @@ public:
|
|||
}
|
||||
|
||||
void solve_for(vector<solution>& sol) override {
|
||||
init_solver();
|
||||
vector<solver::solution> ss;
|
||||
for (auto [v, t, g] : sol)
|
||||
ss.push_back({ v, t, g });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue