3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00

add virtual function requirement to dependent_expr_state

This commit is contained in:
Nikolaj Bjorner 2022-11-19 18:46:31 +07:00
parent dcc995f0e5
commit a81a5ec68c
2 changed files with 7 additions and 0 deletions

View file

@ -60,10 +60,16 @@ public:
m_dep = dependent_expr(m, m_goal->form(i), m_goal->dep(i));
return m_dep;
}
void update(unsigned i, dependent_expr const& j) override {
auto [f, d] = j();
m_goal->update(i, f, nullptr, d);
}
void add(dependent_expr const& j) override {
auto [f, d] = j();
m_goal->assert_expr(f, nullptr, d);
}
bool inconsistent() override {
return m_goal->inconsistent();