3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00

ensure that FD logic understands pb from command context

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-12-17 16:02:54 -08:00
parent c1480b4389
commit 5cb21924ad
6 changed files with 19 additions and 3 deletions

View file

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

View file

@ -32,6 +32,7 @@ public:
static bool logic_has_seq(symbol const & s);
static bool logic_has_fpa(symbol const & s);
static bool logic_has_horn(symbol const& s);
static bool logic_has_pb(symbol const& s);
static bool logic_has_fd(symbol const& s) { return s == "QF_FD"; }
static bool logic_has_datatype(symbol const& s);
};