mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
Added QF_FPABV logic, default tactic, and the asIEEEBV conversion function.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
2d1a6bf270
commit
f78e595b56
10 changed files with 90 additions and 11 deletions
|
@ -460,6 +460,7 @@ bool cmd_context::logic_has_arith_core(symbol const & s) const {
|
|||
s == "LIA" ||
|
||||
s == "LRA" ||
|
||||
s == "QF_FPA" ||
|
||||
s == "QF_FPABV" ||
|
||||
s == "HORN";
|
||||
}
|
||||
|
||||
|
@ -478,6 +479,7 @@ bool cmd_context::logic_has_bv_core(symbol const & s) const {
|
|||
s == "QF_ABV" ||
|
||||
s == "QF_AUFBV" ||
|
||||
s == "QF_BVRE" ||
|
||||
s == "QF_FPABV" ||
|
||||
s == "HORN";
|
||||
}
|
||||
|
||||
|
@ -502,7 +504,7 @@ bool cmd_context::logic_has_seq() const {
|
|||
}
|
||||
|
||||
bool cmd_context::logic_has_floats() const {
|
||||
return !has_logic() || m_logic == "QF_FPA";
|
||||
return !has_logic() || m_logic == "QF_FPA" || m_logic == "QF_FPABV";
|
||||
}
|
||||
|
||||
bool cmd_context::logic_has_array_core(symbol const & s) const {
|
||||
|
@ -599,7 +601,7 @@ bool cmd_context::supported_logic(symbol const & s) const {
|
|||
logic_has_arith_core(s) || logic_has_bv_core(s) ||
|
||||
logic_has_array_core(s) || logic_has_seq_core(s) ||
|
||||
logic_has_horn(s) ||
|
||||
s == "QF_FPA";
|
||||
s == "QF_FPA" || s == "QF_FPABV";
|
||||
}
|
||||
|
||||
void cmd_context::set_logic(symbol const & s) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue