mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 18:15:32 +00:00
Polysat updates (#5524)
* Move boolean resolution into conflict_core * Move store() into dedup functionality * comments * Call gc() * Add inference_engine sketch
This commit is contained in:
parent
d1118cb178
commit
dde8fb0c37
8 changed files with 172 additions and 92 deletions
|
@ -17,7 +17,28 @@ Author:
|
|||
|
||||
namespace polysat {
|
||||
|
||||
conflict_explainer::conflict_explainer(solver& s): m_solver(s) {}
|
||||
bool inf_polynomial_superposition:: perform(conflict_explainer& ce) {
|
||||
// TODO
|
||||
return false;
|
||||
}
|
||||
|
||||
conflict_explainer::conflict_explainer(solver& s): m_solver(s) {
|
||||
inference_engines.push_back(alloc(inf_polynomial_superposition));
|
||||
}
|
||||
|
||||
bool conflict_explainer::saturate() {
|
||||
for (auto* engine : inference_engines)
|
||||
if (engine->perform(*this))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// clause_ref conflict_explainer::resolve(pvar v, ptr_vector<constraint> const& cjust) {
|
||||
// LOG_H3("Attempting to explain conflict for v" << v);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue