3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-08 16:25:48 +00:00

let HORN solver know about cardinality constraints

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-07-02 11:46:03 -07:00
parent fcd9936e88
commit 5e3303ae85
3 changed files with 4 additions and 3 deletions

View file

@ -150,7 +150,7 @@ bool smt_logics::logic_has_horn(symbol const& s) {
}
bool smt_logics::logic_has_pb(symbol const& s) {
return s == "QF_FD" || s == "ALL" || s == "HORN";
return s == "QF_FD" || s == "ALL" || logic_has_horn(s);
}
bool smt_logics::logic_has_datatype(symbol const& s) {