mirror of
https://github.com/Z3Prover/z3
synced 2025-05-04 22:35:45 +00:00
eq explain
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8c9835bca6
commit
dc3b921712
2 changed files with 101 additions and 0 deletions
30
src/math/polysat/eq_explain.h
Normal file
30
src/math/polysat/eq_explain.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*++
|
||||
Copyright (c) 2021 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
Conflict explanation
|
||||
|
||||
Author:
|
||||
|
||||
Nikolaj Bjorner (nbjorner) 2021-03-19
|
||||
Jakob Rath 2021-04-6
|
||||
|
||||
--*/
|
||||
#pragma once
|
||||
#include "math/polysat/explain.h"
|
||||
|
||||
namespace polysat {
|
||||
|
||||
class solver;
|
||||
|
||||
class eq_explain : public explainer {
|
||||
private:
|
||||
bool try_explain1(pvar v, signed_constraint c, conflict& core);
|
||||
bool explain_zero(pvar v, pdd& a, pdd& b, signed_constraint c, conflict& core);
|
||||
public:
|
||||
eq_explain(solver& s) : explainer(s) {}
|
||||
bool try_explain(pvar v, conflict& core) override;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue