mirror of
https://github.com/Z3Prover/z3
synced 2025-05-12 18:24:43 +00:00
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
/*++
|
|
Copyright (c) 2016 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
smt_logics.h
|
|
|
|
Abstract:
|
|
|
|
Module for recognizing SMT logics.
|
|
|
|
Author:
|
|
|
|
Nikolaj Bjorner (nbjorner) 2016-11-4
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
#ifndef SMT_LOGICS_H_
|
|
#define SMT_LOGICS_H_
|
|
|
|
class smt_logics {
|
|
public:
|
|
smt_logics() {}
|
|
static bool supported_logic(symbol const & s);
|
|
static bool logic_has_reals_only(symbol const& l);
|
|
static bool logic_is_all(symbol const& s) { return s == "ALL"; }
|
|
static bool logic_has_uf(symbol const& s);
|
|
static bool logic_has_arith(symbol const & s);
|
|
static bool logic_has_bv(symbol const & s);
|
|
static bool logic_has_array(symbol const & s);
|
|
static bool logic_has_seq(symbol const & s);
|
|
static bool logic_has_str(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);
|
|
};
|
|
|
|
#endif /* SMT_LOGICS_H_ */
|
|
|