3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-25 20:46:01 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-06 16:33:00 -07:00
parent bcbc774b79
commit 6761bf1495
3 changed files with 17 additions and 1 deletions

View file

@ -880,6 +880,17 @@ namespace datalog {
return r;
}
bool context::is_monotone() {
try {
m_rule_properties.check_for_negated_predicates();
return true;
}
catch (...) {
return false;
}
}
lbool context::query_from_lvl (expr* query, unsigned lvl) {
m_mc = mk_skip_model_converter();
m_last_status = OK;

View file

@ -528,6 +528,8 @@ namespace datalog {
*/
model_ref get_model();
bool is_monotone();
/**
\brief retrieve proof from derivation of the query.