8#include "dlinear/util/exception.h"
19 DLINEAR_RUNTIME_ERROR_FMT(
"set-logic '{}' is not supported", s);
22std::ostream &operator<<(std::ostream &os,
const Logic &logic) {
25 return os <<
"QF_NRA";
27 return os <<
"QF_NRA_ODE";
29 return os <<
"QF_LRA";
31 return os <<
"QF_RDL";
33 return os <<
"QF_LIA";
37 DLINEAR_UNREACHABLE();
Global namespace for the dlinear library.
Logic
The SMT-LIB logic the SMT2 file is using.
@ QF_RDL
Quantifier free real difference logic.
@ QF_NRA
Quantifier free non-linear real arithmetic.
@ QF_LRA
Quantifier free linear real arithmetic. It is the only one dlinear supports.
@ QF_LIA
Quantifier free linear integer arithmetic.
@ LRA
Linear real arithmetic.
@ QF_NRA_ODE
Quantifier free non-linear real arithmetic with ODEs.
Logic parseLogic(const std::string &s)
Parse the logic from a string.