mirror of
https://github.com/Z3Prover/z3
synced 2025-05-10 09:15:47 +00:00
Z3 sources
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
3f9edad676
commit
e9eab22e5c
1186 changed files with 381859 additions and 0 deletions
47
lib/nra_tactic.cpp
Normal file
47
lib/nra_tactic.cpp
Normal file
|
@ -0,0 +1,47 @@
|
|||
/*++
|
||||
Copyright (c) 2012 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
nra_tactic.cpp
|
||||
|
||||
Abstract:
|
||||
|
||||
Tactic for NRA
|
||||
|
||||
Author:
|
||||
|
||||
Leonardo (leonardo) 2012-03-13
|
||||
|
||||
Notes:
|
||||
|
||||
--*/
|
||||
#include"tactical.h"
|
||||
#include"simplify_tactic.h"
|
||||
#include"propagate_values_tactic.h"
|
||||
#include"smt_tactic.h"
|
||||
#include"nnf_tactic.h"
|
||||
#include"qe_tactic.h"
|
||||
#include"qfnra_nlsat_tactic.h"
|
||||
#include"probe_arith.h"
|
||||
|
||||
tactic * mk_nra_tactic(ast_manager & m, params_ref const& p) {
|
||||
params_ref p1 = p;
|
||||
p1.set_uint(":seed", 11);
|
||||
p1.set_bool(":factor", false);
|
||||
params_ref p2 = p;
|
||||
p2.set_uint(":seed", 13);
|
||||
p2.set_bool(":factor", false);
|
||||
|
||||
return and_then(mk_simplify_tactic(m, p),
|
||||
mk_nnf_tactic(m, p),
|
||||
mk_propagate_values_tactic(m, p),
|
||||
mk_qe_tactic(m, p),
|
||||
cond(mk_is_qfnra_probe(),
|
||||
or_else(try_for(mk_qfnra_nlsat_tactic(m, p), 5000),
|
||||
try_for(mk_qfnra_nlsat_tactic(m, p1), 10000),
|
||||
mk_qfnra_nlsat_tactic(m, p2)),
|
||||
mk_smt_tactic(p)));
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue