mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
seq
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
30580a012a
commit
5eb23e1e7a
17 changed files with 287 additions and 141 deletions
|
@ -576,7 +576,7 @@ bool cmd_context::logic_has_bv() const {
|
|||
}
|
||||
|
||||
bool cmd_context::logic_has_seq_core(symbol const& s) const {
|
||||
return s == "QF_BVRE";
|
||||
return s == "QF_BVRE" || s == "QF_S";
|
||||
}
|
||||
|
||||
bool cmd_context::logic_has_seq() const {
|
||||
|
@ -712,13 +712,7 @@ bool cmd_context::set_logic(symbol const & s) {
|
|||
if (has_manager() && m_main_ctx)
|
||||
throw cmd_exception("logic must be set before initialization");
|
||||
if (!supported_logic(s)) {
|
||||
if (m_params.m_smtlib2_compliant) {
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
warning_msg("unknown logic, ignoring set-logic command");
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
m_logic = s;
|
||||
if (is_logic("QF_RDL") ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue