mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 09:50:23 +00:00
More float -> fpa renaming
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
dd17f3c7d6
commit
5e5758bb25
16 changed files with 158 additions and 156 deletions
|
@ -85,7 +85,7 @@ model_converter * fpa2bv_model_converter::translate(ast_translation & translator
|
|||
}
|
||||
|
||||
void fpa2bv_model_converter::convert(model * bv_mdl, model * float_mdl) {
|
||||
float_util fu(m);
|
||||
fpa_util fu(m);
|
||||
bv_util bu(m);
|
||||
mpf fp_val;
|
||||
unsynch_mpz_manager & mpzm = fu.fm().mpz_manager();
|
||||
|
|
|
@ -7,7 +7,7 @@ Module Name:
|
|||
|
||||
Abstract:
|
||||
|
||||
Tactic for QF_FPA benchmarks.
|
||||
Tactic for QF_FP benchmarks.
|
||||
|
||||
Author:
|
||||
|
||||
|
@ -23,7 +23,7 @@ Notes:
|
|||
#include"fpa2bv_tactic.h"
|
||||
#include"smt_tactic.h"
|
||||
|
||||
#include"qffpa_tactic.h"
|
||||
#include"qffp_tactic.h"
|
||||
|
||||
tactic * mk_qffp_tactic(ast_manager & m, params_ref const & p) {
|
||||
params_ref simp_p = p;
|
||||
|
@ -52,7 +52,7 @@ struct is_non_qffp_predicate {
|
|||
struct found {};
|
||||
ast_manager & m;
|
||||
bv_util bu;
|
||||
float_util fu;
|
||||
fpa_util fu;
|
||||
arith_util au;
|
||||
|
||||
is_non_qffp_predicate(ast_manager & _m) : m(_m), bu(m), fu(m), au(m) {}
|
||||
|
@ -89,4 +89,4 @@ public:
|
|||
probe * mk_is_qffp_probe() {
|
||||
return alloc(is_qffp_probe);
|
||||
}
|
||||
|
||||
|
|
@ -17,8 +17,8 @@ Notes:
|
|||
|
||||
|
||||
--*/
|
||||
#ifndef _QFFPA_TACTIC_H_
|
||||
#define _QFFPA_TACTIC_H_
|
||||
#ifndef _QFFP_TACTIC_H_
|
||||
#define _QFFP_TACTIC_H_
|
||||
|
||||
#include"params.h"
|
||||
class ast_manager;
|
||||
|
@ -27,14 +27,14 @@ class tactic;
|
|||
tactic * mk_qffp_tactic(ast_manager & m, params_ref const & p = params_ref());
|
||||
/*
|
||||
ADD_TACTIC("qffp", "(try to) solve goal using the tactic for QF_FP.", "mk_qffp_tactic(m, p)")
|
||||
ADD_TACTIC("qffpbv", "(try to) solve goal using the tactic for QF_FPBV (floats+bit-vectors).", "mk_qffp_tactic(m, p)")
|
||||
ADD_TACTIC("qffpbv", "(try to) solve goal using the tactic for QF_FPBV (floats+bit-vectors).", "mk_qffpbv_tactic(m, p)")
|
||||
*/
|
||||
|
||||
probe * mk_is_qffp_probe();
|
||||
probe * mk_is_qffpbv_probe();
|
||||
/*
|
||||
ADD_PROBE("is-qffp", "true if the goal is in QF_FP (floats).", "mk_is_qffp_probe()")
|
||||
ADD_PROBE("is-qffpbv", "true if the goal is in QF_FPBV (floats+bit-vectors).", "mk_is_qffp_probe()")
|
||||
ADD_PROBE("is-qffpbv", "true if the goal is in QF_FPBV (floats+bit-vectors).", "mk_is_qffpbv_probe()")
|
||||
*/
|
||||
|
||||
#endif
|
|
@ -27,7 +27,7 @@ Notes:
|
|||
#include"nra_tactic.h"
|
||||
#include"probe_arith.h"
|
||||
#include"quant_tactics.h"
|
||||
#include"qffpa_tactic.h"
|
||||
#include"qffp_tactic.h"
|
||||
|
||||
tactic * mk_default_tactic(ast_manager & m, params_ref const & p) {
|
||||
tactic * st = using_params(and_then(mk_simplify_tactic(m),
|
||||
|
|
|
@ -33,7 +33,7 @@ Notes:
|
|||
#include"qfidl_tactic.h"
|
||||
#include"default_tactic.h"
|
||||
#include"ufbv_tactic.h"
|
||||
#include"qffpa_tactic.h"
|
||||
#include"qffp_tactic.h"
|
||||
#include"horn_tactic.h"
|
||||
#include"smt_solver.h"
|
||||
|
||||
|
@ -78,8 +78,10 @@ tactic * mk_tactic_for_logic(ast_manager & m, params_ref const & p, symbol const
|
|||
return mk_ufbv_tactic(m, p);
|
||||
else if (logic=="BV")
|
||||
return mk_ufbv_tactic(m, p);
|
||||
else if (logic=="QF_FP" || logic=="QF_FPBV")
|
||||
else if (logic=="QF_FP")
|
||||
return mk_qffp_tactic(m, p);
|
||||
else if (logic == "QF_FPBV")
|
||||
return mk_qffpbv_tactic(m, p);
|
||||
else if (logic=="HORN")
|
||||
return mk_horn_tactic(m, p);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue