3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-10 17:25:47 +00:00

Added smt kernel setup for QF_FP(BV). Thanks to codeplex user smccamant for reporting this performance problem.

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2015-02-03 12:30:42 +00:00
parent 4bed5183f8
commit 3478cdb756
3 changed files with 36 additions and 3 deletions

View file

@ -21,14 +21,18 @@ Revision History:
#include"ast.h"
#include"arith_decl_plugin.h"
#include"bv_decl_plugin.h"
#include"fpa_decl_plugin.h"
#include"map.h"
struct static_features {
ast_manager & m_manager;
arith_util m_autil;
bv_util m_bvutil;
fpa_util m_fpautil;
family_id m_bfid;
family_id m_afid;
family_id m_lfid;
family_id m_lfid;
ast_mark m_already_visited;
bool m_cnf;
unsigned m_num_exprs; //
@ -68,6 +72,8 @@ struct static_features {
bool m_has_rational; //
bool m_has_int; //
bool m_has_real; //
bool m_has_bv; //
bool m_has_fpa; //
rational m_arith_k_sum; // sum of the numerals in arith atoms.
unsigned m_num_arith_terms;
unsigned m_num_arith_eqs; // equalities of the form t = k where k is a numeral