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:
parent
c1480b4389
commit
5cb21924ad
6 changed files with 19 additions and 3 deletions
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue