mirror of
https://github.com/Z3Prover/z3
synced 2025-08-31 23:34:55 +00:00
nlsat
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2d5714a5d4
commit
1d488d07fa
2 changed files with 42 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue