3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-31 23:34:55 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-08-02 15:06:23 -07:00
parent 2d5714a5d4
commit 1d488d07fa
2 changed files with 42 additions and 7 deletions

View file

@ -68,6 +68,16 @@ namespace nlsat {
bool operator==(justification other) const { return m_data == other.m_data; }
bool operator!=(justification other) const { return m_data != other.m_data; }
};
inline std::ostream& operator<<(std::ostream& out, justification::kind k) {
switch (k) {
case justification::NULL_JST: return out << "null";
case justification::DECISION: return out << "decision";
case justification::CLAUSE: return out << "clause";
case justification::LAZY: return out << "lazy";
default: return out << "??";
}
}
const justification null_justification;
const justification decided_justification(true);