mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
more fpa
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
79162b96f3
commit
08a87b102c
10 changed files with 163 additions and 138 deletions
|
@ -24,6 +24,7 @@ Author:
|
|||
#include "sat/smt/euf_solver.h"
|
||||
#include "sat/smt/array_solver.h"
|
||||
#include "sat/smt/q_solver.h"
|
||||
#include "sat/smt/fpa_solver.h"
|
||||
|
||||
namespace euf {
|
||||
|
||||
|
@ -97,6 +98,7 @@ namespace euf {
|
|||
pb_util pb(m);
|
||||
bv_util bvu(m);
|
||||
array_util au(m);
|
||||
fpa_util fpa(m);
|
||||
if (pb.get_family_id() == fid) {
|
||||
ext = alloc(sat::ba_solver, *this, fid);
|
||||
if (use_drat())
|
||||
|
@ -112,6 +114,11 @@ namespace euf {
|
|||
if (use_drat())
|
||||
s().get_drat().add_theory(fid, symbol("array"));
|
||||
}
|
||||
else if (fpa.get_family_id() == fid) {
|
||||
ext = alloc(fpa::solver, *this);
|
||||
if (use_drat())
|
||||
s().get_drat().add_theory(fid, symbol("fpa"));
|
||||
}
|
||||
if (ext) {
|
||||
ext->set_solver(m_solver);
|
||||
ext->push_scopes(s().num_scopes());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue