mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
make include paths uniformly use path relative to src. #534
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
71d80ab47f
commit
b19f94ae5b
1370 changed files with 5964 additions and 5901 deletions
|
@ -16,10 +16,10 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#include"algebraic_numbers.h"
|
||||
#include"polynomial_var2value.h"
|
||||
#include"mpbq.h"
|
||||
#include"rlimit.h"
|
||||
#include "math/polynomial/algebraic_numbers.h"
|
||||
#include "math/polynomial/polynomial_var2value.h"
|
||||
#include "util/mpbq.h"
|
||||
#include "util/rlimit.h"
|
||||
|
||||
static void display_anums(std::ostream & out, scoped_anum_vector const & rs) {
|
||||
out << "numbers in decimal:\n";
|
||||
|
|
|
@ -5,13 +5,13 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
--*/
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#include "z3.h"
|
||||
#include "z3_private.h"
|
||||
#include "api/z3.h"
|
||||
#include "api/z3_private.h"
|
||||
#include <iostream>
|
||||
#include "util.h"
|
||||
#include "trace.h"
|
||||
#include "util/util.h"
|
||||
#include "util/trace.h"
|
||||
#include <map>
|
||||
#include "trace.h"
|
||||
#include "util/trace.h"
|
||||
|
||||
void test_apps() {
|
||||
Z3_config cfg = Z3_mk_config();
|
||||
|
|
|
@ -5,7 +5,7 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
--*/
|
||||
|
||||
#include<stdio.h>
|
||||
#include"z3.h"
|
||||
#include "api/z3.h"
|
||||
|
||||
void tst_api_bug() {
|
||||
unsigned vmajor, vminor, vbuild, vrevision;
|
||||
|
|
|
@ -4,14 +4,14 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "arith_rewriter.h"
|
||||
#include "bv_decl_plugin.h"
|
||||
#include "ast_pp.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "th_rewriter.h"
|
||||
#include "model.h"
|
||||
#include "pdr_util.h"
|
||||
#include "smt2parser.h"
|
||||
#include "ast/rewriter/arith_rewriter.h"
|
||||
#include "ast/bv_decl_plugin.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
#include "ast/rewriter/th_rewriter.h"
|
||||
#include "model/model.h"
|
||||
#include "muz/pdr/pdr_util.h"
|
||||
#include "parsers/smt2/smt2parser.h"
|
||||
|
||||
|
||||
static expr_ref parse_fml(ast_manager& m, char const* str) {
|
||||
|
|
|
@ -4,8 +4,8 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "arith_eq_solver.h"
|
||||
#include "smt_params.h"
|
||||
#include "smt/arith_eq_solver.h"
|
||||
#include "smt/params/smt_params.h"
|
||||
|
||||
typedef rational numeral;
|
||||
typedef vector<numeral> row;
|
||||
|
|
|
@ -16,7 +16,7 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include "ast.h"
|
||||
#include "ast/ast.h"
|
||||
|
||||
static void tst1() {
|
||||
ast_manager m;
|
||||
|
|
|
@ -17,9 +17,9 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#include"bit_blaster.h"
|
||||
#include"ast_pp.h"
|
||||
#include"ast_ll_pp.h"
|
||||
#include "ast/rewriter/bit_blaster/bit_blaster.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/ast_ll_pp.h"
|
||||
|
||||
void mk_bits(ast_manager & m, char const * prefix, unsigned sz, expr_ref_vector & r) {
|
||||
sort_ref b(m);
|
||||
|
|
|
@ -18,8 +18,8 @@ Revision History:
|
|||
--*/
|
||||
#include<cstdlib>
|
||||
#include<iostream>
|
||||
#include"bit_vector.h"
|
||||
#include"vector.h"
|
||||
#include "util/bit_vector.h"
|
||||
#include "util/vector.h"
|
||||
|
||||
static void tst1() {
|
||||
bit_vector v1;
|
||||
|
|
|
@ -5,11 +5,11 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
--*/
|
||||
|
||||
// Test some bit hacks
|
||||
#include"util.h"
|
||||
#include"debug.h"
|
||||
#include"vector.h"
|
||||
#include"mpz.h"
|
||||
#include"bit_util.h"
|
||||
#include "util/util.h"
|
||||
#include "util/debug.h"
|
||||
#include "util/vector.h"
|
||||
#include "util/mpz.h"
|
||||
#include "util/bit_util.h"
|
||||
|
||||
static void tst_shl(unsigned src_sz, unsigned const * src, unsigned k,
|
||||
unsigned dst_sz, unsigned const * dst, bool trace = true) {
|
||||
|
|
|
@ -16,7 +16,7 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"ptr_scoped_buffer.h"
|
||||
#include "util/ptr_scoped_buffer.h"
|
||||
|
||||
typedef std::pair<int, int> point;
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "bv_simplifier_plugin.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "ast_pp.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "ast/simplifier/bv_simplifier_plugin.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
class tst_bv_simplifier_plugin_cls {
|
||||
class mgr {
|
||||
|
|
|
@ -16,10 +16,10 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"chashtable.h"
|
||||
#include"hashtable.h"
|
||||
#include"hash.h"
|
||||
#include"util.h"
|
||||
#include "util/chashtable.h"
|
||||
#include "util/hashtable.h"
|
||||
#include "util/hash.h"
|
||||
#include "util/util.h"
|
||||
|
||||
typedef chashtable<int, int_hash, default_eq<int> > int_table;
|
||||
typedef cmap<int, int, int_hash, default_eq<int> > int_map;
|
||||
|
|
|
@ -4,13 +4,13 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "memory_manager.h"
|
||||
#include "smt_params.h"
|
||||
#include "ast.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "bv_decl_plugin.h"
|
||||
#include "smt_context.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "util/memory_manager.h"
|
||||
#include "smt/params/smt_params.h"
|
||||
#include "ast/ast.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/bv_decl_plugin.h"
|
||||
#include "smt/smt_context.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
void tst_check_assumptions()
|
||||
{
|
||||
|
|
|
@ -5,11 +5,11 @@ Copyright (c) 2017 Microsoft Corporation
|
|||
#include<iostream>
|
||||
#include<time.h>
|
||||
#include<signal.h>
|
||||
#include"timeout.h"
|
||||
#include"rlimit.h"
|
||||
#include"dimacs.h"
|
||||
#include"sat_solver.h"
|
||||
#include"gparams.h"
|
||||
#include "util/timeout.h"
|
||||
#include "util/rlimit.h"
|
||||
#include "sat/dimacs.h"
|
||||
#include "sat/sat_solver.h"
|
||||
#include "util/gparams.h"
|
||||
|
||||
static sat::solver * g_solver = 0;
|
||||
static clock_t g_start_time;
|
||||
|
|
|
@ -4,13 +4,13 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "datalog_parser.h"
|
||||
#include "ast_pp.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "dl_context.h"
|
||||
#include "dl_register_engine.h"
|
||||
#include "smt_params.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "muz/fp/datalog_parser.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "muz/base/dl_context.h"
|
||||
#include "muz/fp/dl_register_engine.h"
|
||||
#include "smt/params/smt_params.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
using namespace datalog;
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "ddnf.h"
|
||||
#include "tbv.h"
|
||||
#include "muz/ddnf/ddnf.h"
|
||||
#include "muz/rel/tbv.h"
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <list>
|
||||
|
|
|
@ -17,11 +17,11 @@ Revision History:
|
|||
|
||||
--*/
|
||||
#ifdef _WINDOWS
|
||||
#include"rational.h"
|
||||
#include"diff_logic.h"
|
||||
#include"smt_literal.h"
|
||||
#include"util.h"
|
||||
#include"debug.h"
|
||||
#include "util/rational.h"
|
||||
#include "smt/diff_logic.h"
|
||||
#include "smt/smt_literal.h"
|
||||
#include "util/util.h"
|
||||
#include "util/debug.h"
|
||||
|
||||
struct diff_logic_ext {
|
||||
typedef rational numeral;
|
||||
|
|
|
@ -4,12 +4,12 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "datalog_parser.h"
|
||||
#include "ast_pp.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "dl_context.h"
|
||||
#include "smt_params.h"
|
||||
#include "dl_register_engine.h"
|
||||
#include "muz/fp/datalog_parser.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "muz/base/dl_context.h"
|
||||
#include "smt/params/smt_params.h"
|
||||
#include "muz/fp/dl_register_engine.h"
|
||||
|
||||
using namespace datalog;
|
||||
|
||||
|
|
|
@ -5,11 +5,11 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
--*/
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#include "dl_context.h"
|
||||
#include "dl_register_engine.h"
|
||||
#include "dl_finite_product_relation.h"
|
||||
#include "dl_sparse_table.h"
|
||||
#include "rel_context.h"
|
||||
#include "muz/base/dl_context.h"
|
||||
#include "muz/fp/dl_register_engine.h"
|
||||
#include "muz/rel/dl_finite_product_relation.h"
|
||||
#include "muz/rel/dl_sparse_table.h"
|
||||
#include "muz/rel/rel_context.h"
|
||||
|
||||
namespace datalog {
|
||||
|
||||
|
|
|
@ -4,15 +4,15 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "datalog_parser.h"
|
||||
#include "ast_pp.h"
|
||||
#include "dl_table_relation.h"
|
||||
#include "dl_context.h"
|
||||
#include "dl_register_engine.h"
|
||||
#include "smt_params.h"
|
||||
#include "stopwatch.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "dl_relation_manager.h"
|
||||
#include "muz/fp/datalog_parser.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "muz/rel/dl_table_relation.h"
|
||||
#include "muz/base/dl_context.h"
|
||||
#include "muz/fp/dl_register_engine.h"
|
||||
#include "smt/params/smt_params.h"
|
||||
#include "util/stopwatch.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
#include "muz/rel/dl_relation_manager.h"
|
||||
|
||||
using namespace datalog;
|
||||
|
||||
|
|
|
@ -5,13 +5,13 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
--*/
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#include "dl_context.h"
|
||||
#include "dl_register_engine.h"
|
||||
#include "dl_relation_manager.h"
|
||||
#include "dl_interval_relation.h"
|
||||
#include "dl_bound_relation.h"
|
||||
#include "dl_product_relation.h"
|
||||
#include "util.h"
|
||||
#include "muz/base/dl_context.h"
|
||||
#include "muz/fp/dl_register_engine.h"
|
||||
#include "muz/rel/dl_relation_manager.h"
|
||||
#include "muz/rel/dl_interval_relation.h"
|
||||
#include "muz/rel/dl_bound_relation.h"
|
||||
#include "muz/rel/dl_product_relation.h"
|
||||
#include "util/util.h"
|
||||
|
||||
namespace datalog {
|
||||
|
||||
|
|
|
@ -3,10 +3,10 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
--*/
|
||||
#if defined(_WINDOWS) || defined(_CYGWIN)
|
||||
|
||||
#include "dl_context.h"
|
||||
#include "dl_table.h"
|
||||
#include "dl_register_engine.h"
|
||||
#include "dl_relation_manager.h"
|
||||
#include "muz/base/dl_context.h"
|
||||
#include "muz/rel/dl_table.h"
|
||||
#include "muz/fp/dl_register_engine.h"
|
||||
#include "muz/rel/dl_relation_manager.h"
|
||||
|
||||
typedef datalog::table_base* (*mk_table_fn)(datalog::relation_manager& m, datalog::table_signature& sig);
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "dl_util.h"
|
||||
#include "muz/base/dl_util.h"
|
||||
|
||||
using namespace datalog;
|
||||
|
||||
|
|
|
@ -4,19 +4,19 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "doc.h"
|
||||
#include "trace.h"
|
||||
#include "vector.h"
|
||||
#include "ast.h"
|
||||
#include "ast_pp.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "sorting_network.h"
|
||||
#include "smt_kernel.h"
|
||||
#include "model_smt2_pp.h"
|
||||
#include "smt_params.h"
|
||||
#include "ast_util.h"
|
||||
#include "expr_safe_replace.h"
|
||||
#include "th_rewriter.h"
|
||||
#include "muz/rel/doc.h"
|
||||
#include "util/trace.h"
|
||||
#include "util/vector.h"
|
||||
#include "ast/ast.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
#include "util/sorting_network.h"
|
||||
#include "smt/smt_kernel.h"
|
||||
#include "model/model_smt2_pp.h"
|
||||
#include "smt/params/smt_params.h"
|
||||
#include "ast/ast_util.h"
|
||||
#include "ast/rewriter/expr_safe_replace.h"
|
||||
#include "ast/rewriter/th_rewriter.h"
|
||||
|
||||
|
||||
static void tst_doc1(unsigned n) {
|
||||
|
|
|
@ -16,7 +16,7 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"util.h"
|
||||
#include "util/util.h"
|
||||
|
||||
void tst_escaped() {
|
||||
std::cout << "[" << escaped("\"hello\"\"world\"\n\n") << "]\n";
|
||||
|
|
|
@ -17,7 +17,7 @@ Revision History:
|
|||
|
||||
--*/
|
||||
#include<iostream>
|
||||
#include"z3_exception.h"
|
||||
#include "util/z3_exception.h"
|
||||
|
||||
class ex {
|
||||
public:
|
||||
|
|
|
@ -4,15 +4,15 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "expr_rand.h"
|
||||
#include "ast_pp.h"
|
||||
#include "bv_decl_plugin.h"
|
||||
#include "array_decl_plugin.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "ast_smt_pp.h"
|
||||
#include "test/fuzzing/expr_rand.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/bv_decl_plugin.h"
|
||||
#include "ast/array_decl_plugin.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/ast_smt_pp.h"
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
static unsigned rand_seed = 1;
|
||||
|
||||
|
|
|
@ -4,15 +4,15 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "expr_substitution.h"
|
||||
#include "smt_params.h"
|
||||
#include "substitution.h"
|
||||
#include "unifier.h"
|
||||
#include "bv_decl_plugin.h"
|
||||
#include "ast_pp.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "th_rewriter.h"
|
||||
#include "ast/expr_substitution.h"
|
||||
#include "smt/params/smt_params.h"
|
||||
#include "ast/substitution/substitution.h"
|
||||
#include "ast/substitution/unifier.h"
|
||||
#include "ast/bv_decl_plugin.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
#include "ast/rewriter/th_rewriter.h"
|
||||
|
||||
expr* mk_bv_xor(bv_util& bv, expr* a, expr* b) {
|
||||
expr* args[2];
|
||||
|
|
|
@ -17,8 +17,8 @@ Notes:
|
|||
|
||||
--*/
|
||||
#include<sstream>
|
||||
#include"mpq.h"
|
||||
#include"ext_numeral.h"
|
||||
#include "util/mpq.h"
|
||||
#include "util/ext_numeral.h"
|
||||
|
||||
#define MK_TST_UNARY(NAME) \
|
||||
static void tst_ ## NAME(int a, ext_numeral_kind ak, int expected_c, ext_numeral_kind expected_ck) { \
|
||||
|
|
|
@ -15,9 +15,9 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"f2n.h"
|
||||
#include"hwf.h"
|
||||
#include"mpf.h"
|
||||
#include "util/f2n.h"
|
||||
#include "util/hwf.h"
|
||||
#include "util/mpf.h"
|
||||
|
||||
static void tst1() {
|
||||
hwf_manager hm;
|
||||
|
|
|
@ -4,10 +4,10 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "factor_rewriter.h"
|
||||
#include "bv_decl_plugin.h"
|
||||
#include "ast_pp.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "ast/rewriter/factor_rewriter.h"
|
||||
#include "ast/bv_decl_plugin.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
void tst_factor_rewriter() {
|
||||
ast_manager m;
|
||||
|
|
|
@ -20,8 +20,8 @@ Revision History:
|
|||
--*/
|
||||
#include<cstdlib>
|
||||
#include<iostream>
|
||||
#include"fixed_bit_vector.h"
|
||||
#include"vector.h"
|
||||
#include "util/fixed_bit_vector.h"
|
||||
#include "util/vector.h"
|
||||
|
||||
|
||||
static void tst1() {
|
||||
|
|
|
@ -21,7 +21,7 @@ Revision History:
|
|||
#include <string>
|
||||
#include <windows.h>
|
||||
#include <strsafe.h>
|
||||
#include "for_each_file.h"
|
||||
#include "test/for_each_file.h"
|
||||
|
||||
bool for_each_file(for_each_file_proc& proc, const char* base, const char* suffix)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "expr_delta.h"
|
||||
#include "ast_pp.h"
|
||||
#include "test/fuzzing/expr_delta.h"
|
||||
#include "ast/ast_pp.h"
|
||||
|
||||
expr_delta::expr_delta(ast_manager& m) : m_manager(m), m_exprs(m) {}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ Revision History:
|
|||
#ifndef EXPR_DELTA_H_
|
||||
#define EXPR_DELTA_H_
|
||||
|
||||
#include "ast.h"
|
||||
#include "ast/ast.h"
|
||||
|
||||
class expr_delta {
|
||||
ast_manager& m_manager;
|
||||
|
|
|
@ -4,11 +4,11 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "expr_rand.h"
|
||||
#include "bv_decl_plugin.h"
|
||||
#include "array_decl_plugin.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "ast_pp.h"
|
||||
#include "test/fuzzing/expr_rand.h"
|
||||
#include "ast/bv_decl_plugin.h"
|
||||
#include "ast/array_decl_plugin.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/ast_pp.h"
|
||||
|
||||
|
||||
expr_rand::expr_rand(ast_manager& m):
|
||||
|
|
|
@ -19,8 +19,8 @@ Revision History:
|
|||
#ifndef EXPR_RAND_H_
|
||||
#define EXPR_RAND_H_
|
||||
|
||||
#include"ast.h"
|
||||
#include"obj_hashtable.h"
|
||||
#include "ast/ast.h"
|
||||
#include "util/obj_hashtable.h"
|
||||
|
||||
class expr_rand {
|
||||
ast_manager& m_manager;
|
||||
|
|
|
@ -3,15 +3,15 @@ Copyright (c) 2016 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "inc_sat_solver.h"
|
||||
#include "bv_decl_plugin.h"
|
||||
#include "datatype_decl_plugin.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "ast_pp.h"
|
||||
#include "dt2bv_tactic.h"
|
||||
#include "tactic.h"
|
||||
#include "model_smt2_pp.h"
|
||||
#include "fd_solver.h"
|
||||
#include "sat/sat_solver/inc_sat_solver.h"
|
||||
#include "ast/bv_decl_plugin.h"
|
||||
#include "ast/datatype_decl_plugin.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "tactic/bv/dt2bv_tactic.h"
|
||||
#include "tactic/tactic.h"
|
||||
#include "model/model_smt2_pp.h"
|
||||
#include "tactic/portfolio/fd_solver.h"
|
||||
|
||||
static expr_ref mk_const(ast_manager& m, char const* name, sort* s) {
|
||||
return expr_ref(m.mk_const(symbol(name), s), m);
|
||||
|
|
|
@ -4,9 +4,9 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "z3.h"
|
||||
#include "trace.h"
|
||||
#include "debug.h"
|
||||
#include "api/z3.h"
|
||||
#include "util/trace.h"
|
||||
#include "util/debug.h"
|
||||
|
||||
static Z3_ast mk_var(Z3_context ctx, char const* name, Z3_sort s) {
|
||||
return Z3_mk_const(ctx, Z3_mk_string_symbol(ctx, name), s);
|
||||
|
|
|
@ -21,7 +21,7 @@ Revision History:
|
|||
#include<unordered_set>
|
||||
#include<stdlib.h>
|
||||
|
||||
#include"hashtable.h"
|
||||
#include "util/hashtable.h"
|
||||
|
||||
|
||||
struct int_hash_proc { unsigned operator()(int x) const { return x * 3; } };
|
||||
|
|
|
@ -17,9 +17,9 @@ Revision History:
|
|||
|
||||
--*/
|
||||
#include<iostream>
|
||||
#include"heap.h"
|
||||
#include"hashtable.h"
|
||||
#include"trace.h"
|
||||
#include "util/heap.h"
|
||||
#include "util/hashtable.h"
|
||||
#include "util/trace.h"
|
||||
|
||||
struct lt_proc { bool operator()(int v1, int v2) const { return v1 < v2; } };
|
||||
typedef heap<lt_proc> int_heap;
|
||||
|
|
|
@ -4,7 +4,7 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "heap_trie.h"
|
||||
#include "math/hilbert/heap_trie.h"
|
||||
|
||||
struct unsigned_le {
|
||||
static bool le(unsigned i, unsigned j) { return i <= j; }
|
||||
|
|
|
@ -4,15 +4,15 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "hilbert_basis.h"
|
||||
#include "ast_pp.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "quant_tactics.h"
|
||||
#include "tactic.h"
|
||||
#include "tactic2solver.h"
|
||||
#include "solver.h"
|
||||
#include "rlimit.h"
|
||||
#include "math/hilbert/hilbert_basis.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "tactic/smtlogics/quant_tactics.h"
|
||||
#include "tactic/tactic.h"
|
||||
#include "solver/tactic2solver.h"
|
||||
#include "solver/solver.h"
|
||||
#include "util/rlimit.h"
|
||||
#include <signal.h>
|
||||
#include <time.h>
|
||||
#include <sstream>
|
||||
|
|
|
@ -5,10 +5,10 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
--*/
|
||||
|
||||
|
||||
#include "horn_subsume_model_converter.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "model_smt2_pp.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "tactic/horn_subsume_model_converter.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "model/model_smt2_pp.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
void tst_horn_subsume_model_converter() {
|
||||
ast_manager m;
|
||||
|
|
|
@ -16,9 +16,9 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"hwf.h"
|
||||
#include"f2n.h"
|
||||
#include"rational.h"
|
||||
#include "util/hwf.h"
|
||||
#include "util/f2n.h"
|
||||
#include "util/rational.h"
|
||||
|
||||
static void bug_set_double() {
|
||||
hwf_manager m;
|
||||
|
|
|
@ -19,9 +19,9 @@ Revision History:
|
|||
#ifndef IM_FLOAT_CONFIG_H_
|
||||
#define IM_FLOAT_CONFIG_H_
|
||||
|
||||
#include"f2n.h"
|
||||
#include"mpf.h"
|
||||
#include"hwf.h"
|
||||
#include "util/f2n.h"
|
||||
#include "util/mpf.h"
|
||||
#include "util/hwf.h"
|
||||
|
||||
template<typename f_manager>
|
||||
class im_float_config {
|
||||
|
|
|
@ -18,7 +18,7 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#include"inf_rational.h"
|
||||
#include "util/inf_rational.h"
|
||||
|
||||
static void tst0() {
|
||||
inf_rational n(rational(0), false);
|
||||
|
|
|
@ -17,12 +17,12 @@ Revision History:
|
|||
|
||||
--*/
|
||||
#include<cstdlib>
|
||||
#include"interval_def.h"
|
||||
#include"dependency.h"
|
||||
#include"mpq.h"
|
||||
#include"ast.h"
|
||||
#include"debug.h"
|
||||
#include"rlimit.h"
|
||||
#include "math/interval/interval_def.h"
|
||||
#include "util/dependency.h"
|
||||
#include "util/mpq.h"
|
||||
#include "ast/ast.h"
|
||||
#include "util/debug.h"
|
||||
#include "util/rlimit.h"
|
||||
|
||||
template class interval_manager<im_default_config>;
|
||||
typedef im_default_config::interval interval;
|
||||
|
@ -390,7 +390,7 @@ static void tst_div(unsigned N, unsigned magnitude) {
|
|||
del_interval(imc, a); del_interval(imc, b); del_interval(imc, r);
|
||||
}
|
||||
|
||||
#include"im_float_config.h"
|
||||
#include "test/im_float_config.h"
|
||||
|
||||
#if 0
|
||||
static void tst_float() {
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
Copyright (c) 2015 Microsoft Corporation
|
||||
|
||||
--*/
|
||||
#include"rlimit.h"
|
||||
#include "hilbert_basis.h"
|
||||
#include "util/rlimit.h"
|
||||
#include "math/hilbert/hilbert_basis.h"
|
||||
|
||||
/*
|
||||
Test generation of linear congruences a la Karr.
|
||||
|
|
|
@ -16,10 +16,10 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"trace.h"
|
||||
#include"util.h"
|
||||
#include"region.h"
|
||||
#include"list.h"
|
||||
#include "util/trace.h"
|
||||
#include "util/util.h"
|
||||
#include "util/region.h"
|
||||
#include "util/list.h"
|
||||
|
||||
static void tst1() {
|
||||
region r;
|
||||
|
|
|
@ -19,10 +19,10 @@ Author: Lev Nachmanson
|
|||
#include "util/lp/lp_utils.h"
|
||||
#include "util/lp/lp_primal_simplex.h"
|
||||
#include "util/lp/mps_reader.h"
|
||||
#include "smt_reader.h"
|
||||
#include "test/smt_reader.h"
|
||||
#include "util/lp/binary_heap_priority_queue.h"
|
||||
#include "argument_parser.h"
|
||||
#include "test_file_reader.h"
|
||||
#include "test/argument_parser.h"
|
||||
#include "test/test_file_reader.h"
|
||||
#include "util/lp/indexed_value.h"
|
||||
#include "util/lp/lar_solver.h"
|
||||
#include "util/lp/numeric_pair.h"
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
#include<time.h>
|
||||
#include<string>
|
||||
#include<cstring>
|
||||
#include"util.h"
|
||||
#include"trace.h"
|
||||
#include"debug.h"
|
||||
#include"timeit.h"
|
||||
#include"warning.h"
|
||||
#include "memory_manager.h"
|
||||
#include"gparams.h"
|
||||
#include "util/util.h"
|
||||
#include "util/trace.h"
|
||||
#include "util/debug.h"
|
||||
#include "util/timeit.h"
|
||||
#include "util/warning.h"
|
||||
#include "util/memory_manager.h"
|
||||
#include "util/gparams.h"
|
||||
|
||||
//
|
||||
// Unit tests fail by asserting.
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"map.h"
|
||||
#include"str_hashtable.h"
|
||||
#include "util/map.h"
|
||||
#include "util/str_hashtable.h"
|
||||
|
||||
static void tst1() {
|
||||
map<char const *, int, str_hash_proc, str_eq_proc> str2int;
|
||||
|
|
|
@ -17,9 +17,9 @@ Revision History:
|
|||
|
||||
--*/
|
||||
#ifdef _WINDOWS
|
||||
#include"matcher.h"
|
||||
#include"ast_pp.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "ast/substitution/matcher.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
|
||||
void tst_match(ast_manager & m, app * t, app * i) {
|
||||
|
|
|
@ -5,11 +5,11 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
--*/
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#include "z3.h"
|
||||
#include "z3_private.h"
|
||||
#include "api/z3.h"
|
||||
#include "api/z3_private.h"
|
||||
#include <iostream>
|
||||
#include "util.h"
|
||||
#include "trace.h"
|
||||
#include "util/util.h"
|
||||
#include "util/trace.h"
|
||||
|
||||
static bool oom = false;
|
||||
|
||||
|
|
|
@ -4,11 +4,11 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "model2expr.h"
|
||||
#include "ast_pp.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "model_smt2_pp.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "model/model2expr.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "model/model_smt2_pp.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
void tst_model2expr() {
|
||||
ast_manager m;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "model_based_opt.h"
|
||||
#include "util.h"
|
||||
#include "uint_set.h"
|
||||
#include "math/simplex/model_based_opt.h"
|
||||
#include "util/util.h"
|
||||
#include "util/uint_set.h"
|
||||
|
||||
typedef opt::model_based_opt::var var;
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "model.h"
|
||||
#include "model_evaluator.h"
|
||||
#include "model_pp.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "ast_pp.h"
|
||||
#include "model/model.h"
|
||||
#include "model/model_evaluator.h"
|
||||
#include "model/model_pp.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
#include "ast/ast_pp.h"
|
||||
|
||||
|
||||
void tst_model_evaluator() {
|
||||
|
|
|
@ -5,14 +5,14 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
--*/
|
||||
|
||||
|
||||
#include "ast.h"
|
||||
#include "smt_params.h"
|
||||
#include "smt_context.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "bv_decl_plugin.h"
|
||||
#include "array_decl_plugin.h"
|
||||
#include "model_v2_pp.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "ast/ast.h"
|
||||
#include "smt/params/smt_params.h"
|
||||
#include "smt/smt_context.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/bv_decl_plugin.h"
|
||||
#include "ast/array_decl_plugin.h"
|
||||
#include "model/model_v2_pp.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
void tst_model_retrieval()
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include "mpbq.h"
|
||||
#include "util/mpbq.h"
|
||||
|
||||
static void tst1() {
|
||||
unsynch_mpz_manager zm;
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"mpf.h"
|
||||
#include"f2n.h"
|
||||
#include "util/mpf.h"
|
||||
#include "util/f2n.h"
|
||||
|
||||
static void bug_set_int() {
|
||||
mpf_manager fm;
|
||||
|
|
|
@ -17,9 +17,9 @@ Revision History:
|
|||
|
||||
--*/
|
||||
#include<sstream>
|
||||
#include"mpff.h"
|
||||
#include"mpz.h"
|
||||
#include"mpq.h"
|
||||
#include "util/mpff.h"
|
||||
#include "util/mpz.h"
|
||||
#include "util/mpq.h"
|
||||
|
||||
static void tst1() {
|
||||
try {
|
||||
|
|
|
@ -16,7 +16,7 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"mpfx.h"
|
||||
#include "util/mpfx.h"
|
||||
|
||||
static void tst1() {
|
||||
mpfx_manager m;
|
||||
|
|
|
@ -17,9 +17,9 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#include"mpq.h"
|
||||
#include"rational.h"
|
||||
#include"timeit.h"
|
||||
#include "util/mpq.h"
|
||||
#include "util/rational.h"
|
||||
#include "util/timeit.h"
|
||||
|
||||
static void tst0() {
|
||||
synch_mpq_manager m;
|
||||
|
|
|
@ -17,10 +17,10 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#include"mpz.h"
|
||||
#include"rational.h"
|
||||
#include"timeit.h"
|
||||
#include"scoped_numeral.h"
|
||||
#include "util/mpz.h"
|
||||
#include "util/rational.h"
|
||||
#include "util/timeit.h"
|
||||
#include "util/scoped_numeral.h"
|
||||
|
||||
static void tst1() {
|
||||
synch_mpz_manager m;
|
||||
|
|
|
@ -4,10 +4,10 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "nlarith_util.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "ast_pp.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "qe/nlarith_util.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
void tst_nlarith_util() {
|
||||
ast_manager M;
|
||||
|
|
|
@ -16,14 +16,14 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#include"nlsat_assignment.h"
|
||||
#include"nlsat_interval_set.h"
|
||||
#include"nlsat_evaluator.h"
|
||||
#include"nlsat_solver.h"
|
||||
#include"util.h"
|
||||
#include"nlsat_explain.h"
|
||||
#include"polynomial_cache.h"
|
||||
#include"rlimit.h"
|
||||
#include "nlsat/nlsat_assignment.h"
|
||||
#include "nlsat/nlsat_interval_set.h"
|
||||
#include "nlsat/nlsat_evaluator.h"
|
||||
#include "nlsat/nlsat_solver.h"
|
||||
#include "util/util.h"
|
||||
#include "nlsat/nlsat_explain.h"
|
||||
#include "math/polynomial/polynomial_cache.h"
|
||||
#include "util/rlimit.h"
|
||||
|
||||
nlsat::interval_set_ref tst_interval(nlsat::interval_set_ref const & s1,
|
||||
nlsat::interval_set_ref const & s2,
|
||||
|
|
|
@ -18,9 +18,9 @@ Revision History:
|
|||
--*/
|
||||
#ifdef _WINDOWS
|
||||
|
||||
#include "z3.h"
|
||||
#include "trace.h"
|
||||
#include "rational.h"
|
||||
#include "api/z3.h"
|
||||
#include "util/trace.h"
|
||||
#include "util/rational.h"
|
||||
|
||||
#define TEST(TEST_NAME, TEST_OUTCOME, NEG_TEST_OUTCOME) \
|
||||
do { \
|
||||
|
|
|
@ -17,8 +17,8 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#include"rational.h"
|
||||
#include"object_allocator.h"
|
||||
#include "util/rational.h"
|
||||
#include "util/object_allocator.h"
|
||||
|
||||
struct cell {
|
||||
rational m_coeff;
|
||||
|
|
|
@ -16,7 +16,7 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"old_interval.h"
|
||||
#include "smt/old_interval.h"
|
||||
|
||||
static void tst1() {
|
||||
ext_numeral inf(true);
|
||||
|
@ -166,9 +166,9 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
#include"basic_interval.h"
|
||||
#include"mpz.h"
|
||||
#include"scoped_numeral.h"
|
||||
#include "util/basic_interval.h"
|
||||
#include "util/mpz.h"
|
||||
#include "util/scoped_numeral.h"
|
||||
|
||||
static void tst2() {
|
||||
typedef basic_interval_manager<unsynch_mpz_manager, false> mpzi_manager;
|
||||
|
|
|
@ -16,9 +16,9 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"trace.h"
|
||||
#include"debug.h"
|
||||
#include"optional.h"
|
||||
#include "util/trace.h"
|
||||
#include "util/debug.h"
|
||||
#include "util/optional.h"
|
||||
|
||||
static void tst1() {
|
||||
optional<int> v;
|
||||
|
|
|
@ -16,9 +16,9 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"parray.h"
|
||||
#include"small_object_allocator.h"
|
||||
#include"ast.h"
|
||||
#include "util/parray.h"
|
||||
#include "util/small_object_allocator.h"
|
||||
#include "ast/ast.h"
|
||||
|
||||
template<bool PRESERVE_ROOTS>
|
||||
struct int_parray_config {
|
||||
|
|
|
@ -3,21 +3,21 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "trace.h"
|
||||
#include "vector.h"
|
||||
#include "ast.h"
|
||||
#include "ast_pp.h"
|
||||
#include "statistics.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "pb2bv_rewriter.h"
|
||||
#include "smt_kernel.h"
|
||||
#include "model_smt2_pp.h"
|
||||
#include "smt_params.h"
|
||||
#include "ast_util.h"
|
||||
#include "pb_decl_plugin.h"
|
||||
#include "th_rewriter.h"
|
||||
#include "fd_solver.h"
|
||||
#include "solver.h"
|
||||
#include "util/trace.h"
|
||||
#include "util/vector.h"
|
||||
#include "ast/ast.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "util/statistics.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
#include "ast/rewriter/pb2bv_rewriter.h"
|
||||
#include "smt/smt_kernel.h"
|
||||
#include "model/model_smt2_pp.h"
|
||||
#include "smt/params/smt_params.h"
|
||||
#include "ast/ast_util.h"
|
||||
#include "ast/pb_decl_plugin.h"
|
||||
#include "ast/rewriter/th_rewriter.h"
|
||||
#include "tactic/portfolio/fd_solver.h"
|
||||
#include "solver/solver.h"
|
||||
|
||||
static void test1() {
|
||||
ast_manager m;
|
||||
|
|
|
@ -4,8 +4,8 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "pdr_context.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "muz/pdr/pdr_context.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
|
||||
using namespace pdr;
|
||||
|
|
|
@ -16,9 +16,9 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"permutation.h"
|
||||
#include"util.h"
|
||||
#include"vector.h"
|
||||
#include "util/permutation.h"
|
||||
#include "util/util.h"
|
||||
#include "util/vector.h"
|
||||
|
||||
void apply_permutation_copy(unsigned sz, unsigned const * src, unsigned const * p, unsigned * target) {
|
||||
for (unsigned i = 0; i < sz; i++) {
|
||||
|
|
|
@ -17,11 +17,11 @@ Notes:
|
|||
|
||||
--*/
|
||||
#if !defined(__clang__)
|
||||
#include"polynomial.h"
|
||||
#include"polynomial_var2value.h"
|
||||
#include"polynomial_cache.h"
|
||||
#include"linear_eq_solver.h"
|
||||
#include"rlimit.h"
|
||||
#include "math/polynomial/polynomial.h"
|
||||
#include "math/polynomial/polynomial_var2value.h"
|
||||
#include "math/polynomial/polynomial_cache.h"
|
||||
#include "math/polynomial/linear_eq_solver.h"
|
||||
#include "util/rlimit.h"
|
||||
|
||||
static void tst1() {
|
||||
std::cout << "\n----- Basic testing -------\n";
|
||||
|
|
|
@ -4,12 +4,12 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "th_rewriter.h"
|
||||
#include "smt2parser.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "arith_rewriter.h"
|
||||
#include "ast_pp.h"
|
||||
#include "ast/rewriter/th_rewriter.h"
|
||||
#include "parsers/smt2/smt2parser.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
#include "ast/rewriter/arith_rewriter.h"
|
||||
#include "ast/ast_pp.h"
|
||||
|
||||
|
||||
static expr_ref parse_fml(ast_manager& m, char const* str) {
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#include"mpz.h"
|
||||
#include"prime_generator.h"
|
||||
#include "util/mpz.h"
|
||||
#include "util/prime_generator.h"
|
||||
|
||||
void tst_prime_generator() {
|
||||
unsynch_mpz_manager m;
|
||||
|
|
|
@ -4,8 +4,8 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "proof_checker.h"
|
||||
#include "ast_ll_pp.h"
|
||||
#include "ast/proof_checker/proof_checker.h"
|
||||
#include "ast/ast_ll_pp.h"
|
||||
|
||||
void tst_checker1() {
|
||||
ast_manager m(PGM_FINE);
|
||||
|
|
|
@ -4,17 +4,17 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "qe_arith.h"
|
||||
#include "qe.h"
|
||||
#include "th_rewriter.h"
|
||||
#include "smt2parser.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "arith_rewriter.h"
|
||||
#include "ast_pp.h"
|
||||
#include "smt_context.h"
|
||||
#include "expr_abstract.h"
|
||||
#include "expr_safe_replace.h"
|
||||
#include "qe/qe_arith.h"
|
||||
#include "qe/qe.h"
|
||||
#include "ast/rewriter/th_rewriter.h"
|
||||
#include "parsers/smt2/smt2parser.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
#include "ast/rewriter/arith_rewriter.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "smt/smt_context.h"
|
||||
#include "ast/expr_abstract.h"
|
||||
#include "ast/rewriter/expr_safe_replace.h"
|
||||
|
||||
static expr_ref parse_fml(ast_manager& m, char const* str) {
|
||||
expr_ref result(m);
|
||||
|
|
|
@ -4,20 +4,20 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "ast.h"
|
||||
#include "smt_params.h"
|
||||
#include "simplifier.h"
|
||||
#include "qe.h"
|
||||
#include "basic_simplifier_plugin.h"
|
||||
#include "arith_simplifier_plugin.h"
|
||||
#include "array_simplifier_plugin.h"
|
||||
#include "bv_simplifier_plugin.h"
|
||||
#include "ast_pp.h"
|
||||
#include "smtlib.h"
|
||||
#include "smtparser.h"
|
||||
#include "lbool.h"
|
||||
#include "ast/ast.h"
|
||||
#include "smt/params/smt_params.h"
|
||||
#include "ast/simplifier/simplifier.h"
|
||||
#include "qe/qe.h"
|
||||
#include "ast/simplifier/basic_simplifier_plugin.h"
|
||||
#include "ast/simplifier/arith_simplifier_plugin.h"
|
||||
#include "ast/simplifier/array_simplifier_plugin.h"
|
||||
#include "ast/simplifier/bv_simplifier_plugin.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "parsers/smt/smtlib.h"
|
||||
#include "parsers/smt/smtparser.h"
|
||||
#include "util/lbool.h"
|
||||
#include <sstream>
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
|
||||
static void test_qe(ast_manager& m, lbool expected_outcome, expr* fml, char const* option) {
|
||||
|
|
|
@ -4,20 +4,20 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "ast.h"
|
||||
#include "smt_params.h"
|
||||
#include "qe.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "ast_pp.h"
|
||||
#include "lbool.h"
|
||||
#include "ast/ast.h"
|
||||
#include "smt/params/smt_params.h"
|
||||
#include "qe/qe.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "util/lbool.h"
|
||||
#include <sstream>
|
||||
#include "expr_replacer.h"
|
||||
#include "smt_kernel.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "expr_abstract.h"
|
||||
#include "model_smt2_pp.h"
|
||||
#include "smt2parser.h"
|
||||
#include "var_subst.h"
|
||||
#include "ast/rewriter/expr_replacer.h"
|
||||
#include "smt/smt_kernel.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
#include "ast/expr_abstract.h"
|
||||
#include "model/model_smt2_pp.h"
|
||||
#include "parsers/smt2/smt2parser.h"
|
||||
#include "ast/rewriter/var_subst.h"
|
||||
|
||||
static void validate_quant_solution(ast_manager& m, expr* fml, expr* guard, qe::def_vector const& defs) {
|
||||
// verify:
|
||||
|
|
|
@ -17,8 +17,8 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#include"util.h"
|
||||
#include"trace.h"
|
||||
#include "util/util.h"
|
||||
#include "util/trace.h"
|
||||
|
||||
static void tst1() {
|
||||
random_gen r(0);
|
||||
|
|
|
@ -17,11 +17,11 @@ Revision History:
|
|||
|
||||
--*/
|
||||
#include<iostream>
|
||||
#include"vector.h"
|
||||
#include"rational.h"
|
||||
#include"trace.h"
|
||||
#include"ext_gcd.h"
|
||||
#include"timeit.h"
|
||||
#include "util/vector.h"
|
||||
#include "util/rational.h"
|
||||
#include "util/trace.h"
|
||||
#include "util/ext_gcd.h"
|
||||
#include "util/timeit.h"
|
||||
|
||||
static void tst1() {
|
||||
rational r1(1);
|
||||
|
|
|
@ -16,9 +16,9 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#include"realclosure.h"
|
||||
#include"mpz_matrix.h"
|
||||
#include"rlimit.h"
|
||||
#include "math/realclosure/realclosure.h"
|
||||
#include "math/realclosure/mpz_matrix.h"
|
||||
#include "util/rlimit.h"
|
||||
|
||||
static void tst1() {
|
||||
unsynch_mpq_manager qm;
|
||||
|
|
|
@ -17,7 +17,7 @@ Revision History:
|
|||
|
||||
--*/
|
||||
#include<stdlib.h>
|
||||
#include"region.h"
|
||||
#include "util/region.h"
|
||||
|
||||
static void tst1() {
|
||||
// TODO
|
||||
|
|
|
@ -4,8 +4,8 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "sat_solver.h"
|
||||
#include "util.h"
|
||||
#include "sat/sat_solver.h"
|
||||
#include "util/util.h"
|
||||
|
||||
typedef sat::literal_vector clause_t;
|
||||
typedef vector<clause_t> clauses_t;
|
||||
|
|
|
@ -16,13 +16,13 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"cost_parser.h"
|
||||
#include"cost_evaluator.h"
|
||||
#include"arith_decl_plugin.h"
|
||||
#include"ast_pp.h"
|
||||
#include"well_sorted.h"
|
||||
#include"warning.h"
|
||||
#include"reg_decl_plugins.h"
|
||||
#include "parsers/util/cost_parser.h"
|
||||
#include "smt/cost_evaluator.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/well_sorted.h"
|
||||
#include "util/warning.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
void tst_simple_parser() {
|
||||
ast_manager m;
|
||||
|
|
|
@ -4,14 +4,14 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "sparse_matrix.h"
|
||||
#include "sparse_matrix_def.h"
|
||||
#include "simplex.h"
|
||||
#include "simplex_def.h"
|
||||
#include "mpq_inf.h"
|
||||
#include "vector.h"
|
||||
#include "rational.h"
|
||||
#include "rlimit.h"
|
||||
#include "util/lp/sparse_matrix.h"
|
||||
#include "math/simplex/sparse_matrix_def.h"
|
||||
#include "math/simplex/simplex.h"
|
||||
#include "math/simplex/simplex_def.h"
|
||||
#include "util/mpq_inf.h"
|
||||
#include "util/vector.h"
|
||||
#include "util/rational.h"
|
||||
#include "util/rlimit.h"
|
||||
|
||||
#define R rational
|
||||
typedef simplex::simplex<simplex::mpz_ext> Simplex;
|
||||
|
|
|
@ -5,11 +5,11 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
--*/
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#include "z3.h"
|
||||
#include "z3_private.h"
|
||||
#include "api/z3.h"
|
||||
#include "api/z3_private.h"
|
||||
#include <iostream>
|
||||
#include "util.h"
|
||||
#include "trace.h"
|
||||
#include "util/util.h"
|
||||
#include "util/trace.h"
|
||||
|
||||
|
||||
static void ev_const(Z3_context ctx, Z3_ast e) {
|
||||
|
|
|
@ -5,9 +5,9 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
--*/
|
||||
|
||||
#include<iostream>
|
||||
#include"util.h"
|
||||
#include"trace.h"
|
||||
#include"small_object_allocator.h"
|
||||
#include "util/util.h"
|
||||
#include "util/trace.h"
|
||||
#include "util/small_object_allocator.h"
|
||||
|
||||
void tst_small_object_allocator() {
|
||||
small_object_allocator soa;
|
||||
|
|
|
@ -7,7 +7,7 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
// This is to test the print-parse facilities over the API
|
||||
// for SMT-LIB2.
|
||||
|
||||
#include "z3.h"
|
||||
#include "api/z3.h"
|
||||
#include <iostream>
|
||||
|
||||
void test_print(Z3_context ctx, Z3_ast a) {
|
||||
|
|
|
@ -4,8 +4,8 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "smt_context.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "smt/smt_context.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
void tst_smt_context()
|
||||
{
|
||||
|
|
|
@ -4,16 +4,16 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "trace.h"
|
||||
#include "vector.h"
|
||||
#include "ast.h"
|
||||
#include "ast_pp.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "sorting_network.h"
|
||||
#include "smt_kernel.h"
|
||||
#include "model_smt2_pp.h"
|
||||
#include "smt_params.h"
|
||||
#include "ast_util.h"
|
||||
#include "util/trace.h"
|
||||
#include "util/vector.h"
|
||||
#include "ast/ast.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
#include "util/sorting_network.h"
|
||||
#include "smt/smt_kernel.h"
|
||||
#include "model/model_smt2_pp.h"
|
||||
#include "smt/params/smt_params.h"
|
||||
#include "ast/ast_util.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Notes:
|
|||
|
||||
--*/
|
||||
#include<utility>
|
||||
#include"stack.h"
|
||||
#include"vector.h"
|
||||
#include "util/stack.h"
|
||||
#include "util/vector.h"
|
||||
|
||||
typedef std::pair<unsigned, unsigned> point;
|
||||
|
||||
|
|
|
@ -17,9 +17,9 @@ Revision History:
|
|||
|
||||
--*/
|
||||
#include<cstdlib>
|
||||
#include"debug.h"
|
||||
#include"string_buffer.h"
|
||||
#include"trace.h"
|
||||
#include "util/debug.h"
|
||||
#include "util/string_buffer.h"
|
||||
#include "util/trace.h"
|
||||
|
||||
static void tst1() {
|
||||
string_buffer<> b;
|
||||
|
|
|
@ -4,14 +4,14 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "expr_substitution.h"
|
||||
#include "smt_params.h"
|
||||
#include "substitution.h"
|
||||
#include "unifier.h"
|
||||
#include "bv_decl_plugin.h"
|
||||
#include "ast_pp.h"
|
||||
#include "arith_decl_plugin.h"
|
||||
#include "reg_decl_plugins.h"
|
||||
#include "ast/expr_substitution.h"
|
||||
#include "smt/params/smt_params.h"
|
||||
#include "ast/substitution/substitution.h"
|
||||
#include "ast/substitution/unifier.h"
|
||||
#include "ast/bv_decl_plugin.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/reg_decl_plugins.h"
|
||||
|
||||
void tst_substitution()
|
||||
{
|
||||
|
|
|
@ -17,8 +17,8 @@ Revision History:
|
|||
|
||||
--*/
|
||||
#include<iostream>
|
||||
#include"symbol.h"
|
||||
#include"debug.h"
|
||||
#include "util/symbol.h"
|
||||
#include "util/debug.h"
|
||||
|
||||
static void tst1() {
|
||||
symbol s1("foo");
|
||||
|
|
|
@ -16,7 +16,7 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"symbol_table.h"
|
||||
#include "util/symbol_table.h"
|
||||
|
||||
static void tst1() {
|
||||
symbol_table<int> t;
|
||||
|
|
|
@ -4,7 +4,7 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
|
||||
--*/
|
||||
|
||||
#include "tbv.h"
|
||||
#include "muz/rel/tbv.h"
|
||||
|
||||
static void tst1(unsigned num_bits) {
|
||||
tbv_manager m(num_bits);
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue