3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-31 16:33:18 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-07-04 15:56:30 -07:00
parent 10d0404175
commit d0e20e44ff
714 changed files with 714 additions and 2142 deletions

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef ARITH_EQ_ADAPTER_H_
#define ARITH_EQ_ADAPTER_H_
#pragma once
#include "smt/smt_theory.h"
#include "util/obj_pair_hashtable.h"
@ -88,5 +87,4 @@ namespace smt {
};
};
#endif /* ARITH_EQ_ADAPTER_H_ */

View file

@ -14,8 +14,7 @@ Author:
Nikolaj Bjorner (nbjorner) 2012-02-25
--*/
#ifndef ARITH_EQ_SOLVER_H_
#define ARITH_EQ_SOLVER_H_
#pragma once
#include "ast/arith_decl_plugin.h"
#include "ast/rewriter/arith_rewriter.h"
@ -105,4 +104,3 @@ public:
};
#endif /* ARITH_EQ_SOLVER_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef ASSERTED_FORMULAS_H_
#define ASSERTED_FORMULAS_H_
#pragma once
#include "util/statistics.h"
#include "ast/static_features.h"
@ -280,5 +279,4 @@ public:
};
#endif /* ASSERTED_FORMULAS_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef CACHED_VAR_SUBST_H_
#define CACHED_VAR_SUBST_H_
#pragma once
#include "ast/rewriter/var_subst.h"
#include "util/map.h"
@ -49,5 +48,4 @@ public:
void reset();
};
#endif /* CACHED_VAR_SUBST_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef COST_EVALUATOR_H_
#define COST_EVALUATOR_H_
#pragma once
#include "ast/ast.h"
#include "ast/arith_decl_plugin.h"
@ -39,5 +38,4 @@ public:
float operator()(expr * f, unsigned num_args, float const * args);
};
#endif /* COST_EVALUATOR_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef DIFF_LOGIC_H_
#define DIFF_LOGIC_H_
#pragma once
#include "util/vector.h"
#include "util/heap.h"
@ -1901,5 +1900,4 @@ public:
}
};
#endif /* DIFF_LOGIC_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef DYN_ACK_H_
#define DYN_ACK_H_
#pragma once
#include "ast/ast.h"
#include "smt/params/dyn_ack_params.h"
@ -133,5 +132,4 @@ namespace smt {
};
#endif /* DYN_ACK_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef ELIM_TERM_ITE_H_
#define ELIM_TERM_ITE_H_
#pragma once
#include "ast/normal_forms/defined_names.h"
#include "ast/rewriter/rewriter.h"
@ -53,5 +52,4 @@ public:
#endif /* ELIM_TERM_ITE_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef EXPR_CONTEXT_SIMPLIFIER_H_
#define EXPR_CONTEXT_SIMPLIFIER_H_
#pragma once
#include "ast/ast.h"
#include "util/obj_hashtable.h"
@ -79,5 +78,4 @@ public:
void reset_statistics() { m_solver.reset_statistics(); }
};
#endif /* EXPR_CONTEXT_SIMPLIFIER_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef FINGERPRINTS_H_
#define FINGERPRINTS_H_
#pragma once
#include "smt/smt_enode.h"
#include "util/util.h"
@ -88,5 +87,4 @@ namespace smt {
};
};
#endif /* FINGERPRINTS_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef MAM_H_
#define MAM_H_
#pragma once
#include "ast/ast.h"
#include "smt/smt_types.h"
@ -70,4 +69,3 @@ namespace smt {
mam * mk_mam(context & ctx);
};
#endif /* MAM_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef DYN_ACK_PARAMS_H_
#define DYN_ACK_PARAMS_H_
#pragma once
#include "util/params.h"
@ -52,5 +51,4 @@ public:
};
#endif /* DYN_ACK_PARAMS_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef PREPROCESSOR_PARAMS_H_
#define PREPROCESSOR_PARAMS_H_
#pragma once
#include "ast/pattern/pattern_inference_params.h"
#include "ast/rewriter/bit_blaster/bit_blaster_params.h"
@ -79,4 +78,3 @@ public:
void display(std::ostream & out) const;
};
#endif /* PREPROCESSOR_PARAMS_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef QI_PARAMS_H_
#define QI_PARAMS_H_
#pragma once
#include "util/util.h"
#include "util/params.h"
@ -108,5 +107,4 @@ struct qi_params {
void display(std::ostream & out) const;
};
#endif /* QI_PARAMS_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_PARAMS_H_
#define SMT_PARAMS_H_
#pragma once
#include "ast/ast.h"
#include "smt/params/dyn_ack_params.h"
@ -320,5 +319,4 @@ struct smt_params : public preprocessor_params,
void display(std::ostream & out) const;
};
#endif /* SMT_PARAMS_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_ARITH_PARAMS_H_
#define THEORY_ARITH_PARAMS_H_
#pragma once
#include<climits>
#include "util/params.h"
@ -165,5 +164,4 @@ struct theory_arith_params {
void display(std::ostream & out) const;
};
#endif /* THEORY_ARITH_PARAMS_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_ARRAY_PARAMS_H_
#define THEORY_ARRAY_PARAMS_H_
#pragma once
#include "util/params.h"
@ -81,5 +80,4 @@ struct theory_array_params {
};
#endif /* THEORY_ARRAY_PARAMS_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_BV_PARAMS_H_
#define THEORY_BV_PARAMS_H_
#pragma once
#include "util/params.h"
@ -50,5 +49,4 @@ struct theory_bv_params {
void display(std::ostream & out) const;
};
#endif /* THEORY_BV_PARAMS_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_DATATYPE_PARAMS_H_
#define THEORY_DATATYPE_PARAMS_H_
#pragma once
#include "smt/params/smt_params_helper.hpp"
@ -37,5 +36,4 @@ struct theory_datatype_params {
};
#endif /* THEORY_DATATYPE_PARAMS_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_PB_PARAMS_H_
#define THEORY_PB_PARAMS_H_
#pragma once
#include "util/params.h"
@ -35,5 +34,4 @@ struct theory_pb_params {
void display(std::ostream & out) const;
};
#endif /* THEORY_PB_PARAMS_H_ */

View file

@ -14,8 +14,7 @@ Revision History:
--*/
#ifndef THEORY_SEQ_PARAMS_H
#define THEORY_SEQ_PARAMS_H
#pragma once
#include "util/params.h"
@ -41,4 +40,3 @@ struct theory_seq_params {
void updt_params(params_ref const & p);
};
#endif /* THEORY_SEQ_PARAMS_H */

View file

@ -15,8 +15,7 @@ Revision History:
--*/
#ifndef THEORY_STR_PARAMS_H
#define THEORY_STR_PARAMS_H
#pragma once
#include "util/params.h"
@ -137,4 +136,3 @@ struct theory_str_params {
void display(std::ostream & out) const;
};
#endif /* THEORY_STR_PARAMS_H */

View file

@ -25,8 +25,7 @@ Author:
Revision History:
--*/
#ifndef PROTO_MODEL_H_
#define PROTO_MODEL_H_
#pragma once
#include "model/model_core.h"
#include "model/model_evaluator.h"
@ -111,5 +110,4 @@ public:
typedef ref<proto_model> proto_model_ref;
#endif /* PROTO_MODEL_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef QI_QUEUE_H_
#define QI_QUEUE_H_
#pragma once
#include "ast/ast.h"
#include "smt/smt_quantifier_stat.h"
@ -100,5 +99,4 @@ namespace smt {
};
};
#endif /* QI_QUEUE_H_ */

View file

@ -16,11 +16,9 @@ Author:
Notes:
--*/
#ifndef SMT2_EXTRA_CMDS_H_
#define SMT2_EXTRA_CMDS_H_
#pragma once
class cmd_context;
void install_smt2_extra_cmds(cmd_context & ctx);
#endif /* SMT2_EXTRA_CMDS_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_ALMOST_CG_TABLE_H_
#define SMT_ALMOST_CG_TABLE_H_
#pragma once
#include "smt/smt_enode.h"
#include "util/map.h"
@ -68,5 +67,4 @@ namespace smt {
};
#endif /* SMT_ALMOST_CG_TABLE_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_B_JUSTIFICATION_H_
#define SMT_B_JUSTIFICATION_H_
#pragma once
#include "smt/smt_literal.h"
#include "smt/smt_clause.h"
@ -106,5 +105,4 @@ namespace smt {
typedef std::pair<literal, b_justification> justified_literal;
};
#endif /* SMT_B_JUSTIFICATION_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_BOOL_VAR_DATA_H_
#define SMT_BOOL_VAR_DATA_H_
#pragma once
#include "smt/smt_b_justification.h"
@ -134,5 +133,4 @@ namespace smt {
};
};
#endif /* SMT_BOOL_VAR_DATA_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_CASE_SPLIT_QUEUE_H_
#define SMT_CASE_SPLIT_QUEUE_H_
#pragma once
#include "smt/smt_types.h"
#include "util/heap.h"
@ -55,5 +54,4 @@ namespace smt {
case_split_queue * mk_case_split_queue(context & ctx, smt_params & p);
};
#endif /* SMT_CASE_SPLIT_QUEUE_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_CG_TABLE_H_
#define SMT_CG_TABLE_H_
#pragma once
#include "smt/smt_enode.h"
#include "util/hashtable.h"
@ -219,5 +218,4 @@ namespace smt {
};
#endif /* SMT_CG_TABLE_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_CHECKER_H_
#define SMT_CHECKER_H_
#pragma once
#include "ast/ast.h"
#include "util/obj_hashtable.h"
@ -53,5 +52,4 @@ namespace smt {
};
#endif /* SMT_CHECKER_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_CLAUSE_H_
#define SMT_CLAUSE_H_
#pragma once
#include "ast/ast.h"
#include "smt/smt_literal.h"
@ -282,5 +281,4 @@ namespace smt {
typedef obj_hashtable<clause> clause_set;
};
#endif /* SMT_CLAUSE_H_ */

View file

@ -24,8 +24,7 @@ Author:
Revision History:
--*/
#ifndef SMT_CLAUSE_PROOF_H_
#define SMT_CLAUSE_PROOF_H_
#pragma once
#include "smt/smt_theory.h"
#include "smt/smt_clause.h"
@ -73,5 +72,4 @@ namespace smt {
std::ostream& operator<<(std::ostream& out, clause_proof::status st);
};
#endif /* SMT_CLAUSE_PROOF_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_CONFLICT_RESOLUTION_H_
#define SMT_CONFLICT_RESOLUTION_H_
#pragma once
#include "smt/smt_literal.h"
#include "smt/smt_bool_var_data.h"
@ -279,5 +278,4 @@ namespace smt {
};
#endif /* SMT_CONFLICT_RESOLUTION_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_CONTEXT_H_
#define SMT_CONTEXT_H_
#pragma once
#include "smt/smt_clause.h"
#include "smt/smt_setup.h"
@ -1711,5 +1710,4 @@ namespace smt {
};
#endif /* SMT_CONTEXT_H_ */

View file

@ -17,7 +17,6 @@ Revision History:
--*/
#ifndef SMT_ENODE_H_
#define SMT_ENODE_H_
#include "ast/ast.h"
#include "smt/smt_types.h"
@ -47,7 +46,7 @@ namespace smt {
// #define SPARSE_MAP
#ifndef SPARSE_MAP
#pragma once
typedef ptr_vector<enode> app2enode_t; // app -> enode
#else
class app2enode_t : public u_map<enode *> {
@ -477,5 +476,4 @@ namespace smt {
};
#endif /* SMT_ENODE_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_EQ_JUSTIFICATION_H_
#define SMT_EQ_JUSTIFICATION_H_
#pragma once
#include "smt/smt_literal.h"
#include "util/tptr.h"
@ -81,5 +80,4 @@ namespace smt {
const eq_justification null_eq_justification(static_cast<justification*>(nullptr));
};
#endif /* SMT_EQ_JUSTIFICATION_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_FAILURE_H_
#define SMT_FAILURE_H_
#pragma once
namespace smt {
@ -37,4 +36,3 @@ namespace smt {
};
#endif

View file

@ -19,8 +19,7 @@ Revision History:
--*/
#ifndef FARKAS_UTIL_H_
#define FARKAS_UTIL_H_
#pragma once
#include "ast/arith_decl_plugin.h"
@ -94,4 +93,3 @@ namespace smt {
};
}
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_FOR_EACH_RELEVANT_EXPR_H_
#define SMT_FOR_EACH_RELEVANT_EXPR_H_
#pragma once
#include "ast/ast.h"
#include "util/obj_hashtable.h"
@ -110,5 +109,4 @@ namespace smt {
};
#endif /* SMT_FOR_EACH_RELEVANT_EXPR_H_ */

View file

@ -20,8 +20,7 @@ Revision History:
--*/
#ifndef SMT_IMPLIED_EQUALITIES_H_
#define SMT_IMPLIED_EQUALITIES_H_
#pragma once
#include "smt/smt_solver.h"
#include "util/lbool.h"
@ -40,4 +39,3 @@ namespace smt {
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_JUSTIFICATION_H_
#define SMT_JUSTIFICATION_H_
#pragma once
#include "ast/ast.h"
#include "smt/smt_types.h"
@ -410,5 +409,4 @@ namespace smt {
};
#endif /* SMT_JUSTIFICATION_H_ */

View file

@ -24,8 +24,7 @@ Revision History:
smt::solver ---> smt::kernel
default_solver ---> smt::solver
--*/
#ifndef SMT_KERNEL_H_
#define SMT_KERNEL_H_
#pragma once
#include "ast/ast.h"
#include "util/params.h"
@ -283,4 +282,3 @@ namespace smt {
};
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_LITERAL_H_
#define SMT_LITERAL_H_
#pragma once
#include "ast/ast.h"
#include "smt/smt_types.h"
@ -120,5 +119,4 @@ namespace smt {
bool backward_subsumption(unsigned num_lits1, literal const * lits1, unsigned num_lits2, literal const * lits2);
};
#endif /* SMT_LITERAL_H_ */

View file

@ -18,8 +18,7 @@ Author:
Revision History:
--*/
#ifndef SMT_MODEL_CHECKER_H_
#define SMT_MODEL_CHECKER_H_
#pragma once
#include "util/obj_hashtable.h"
#include "ast/ast.h"
@ -108,4 +107,3 @@ namespace smt {
};
};
#endif // _SMT_MODEL_CHECKER_H_

View file

@ -43,8 +43,7 @@ Author:
Revision History:
--*/
#ifndef SMT_MODEL_FINDER_H_
#define SMT_MODEL_FINDER_H_
#pragma once
#include "ast/ast.h"
#include "ast/func_decl_dependencies.h"
@ -126,4 +125,3 @@ namespace smt {
};
};
#endif

View file

@ -25,8 +25,7 @@ Author:
Revision History:
--*/
#ifndef SMT_MODEL_GENERATOR_H_
#define SMT_MODEL_GENERATOR_H_
#pragma once
#include "ast/ast.h"
#include "smt/smt_types.h"
@ -241,6 +240,5 @@ namespace smt {
};
};
#endif /* SMT_MODEL_GENERATOR_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_QUANTIFIER_H_
#define SMT_QUANTIFIER_H_
#pragma once
#include "ast/ast.h"
#include "util/statistics.h"
@ -177,4 +176,3 @@ namespace smt {
};
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_QUANTIFIER_INSTANCES_H_
#define SMT_QUANTIFIER_INSTANCES_H_
#pragma once
namespace smt {
@ -62,5 +61,4 @@ namespace smt {
};
#endif /* SMT_QUANTIFIER_INSTANCES_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_QUANTIFIER_STAT_H_
#define SMT_QUANTIFIER_STAT_H_
#pragma once
#include "ast/ast.h"
#include "util/obj_hashtable.h"
@ -136,5 +135,4 @@ namespace smt {
};
#endif /* SMT_QUANTIFIER_STAT_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_QUICK_CHECKER_H_
#define SMT_QUICK_CHECKER_H_
#pragma once
#include "ast/ast.h"
#include "ast/rewriter/th_rewriter.h"
@ -101,5 +100,4 @@ namespace smt {
};
};
#endif /* SMT_QUICK_CHECKER_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_RELEVANCY_H_
#define SMT_RELEVANCY_H_
#pragma once
#include "ast/ast.h"
@ -201,5 +200,4 @@ namespace smt {
};
#endif /* SMT_RELEVANCY_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_SETUP_H_
#define SMT_SETUP_H_
#pragma once
#include "ast/ast.h"
#include "smt/params/smt_params.h"
@ -123,5 +122,4 @@ namespace smt {
};
};
#endif /* SMT_SETUP_H_ */

View file

@ -18,8 +18,7 @@ Notes:
This file was called default_solver.h. It was a bad name.
--*/
#ifndef SMT_SOLVER_H_
#define SMT_SOLVER_H_
#pragma once
#include "ast/ast.h"
#include "util/params.h"
@ -30,4 +29,3 @@ class solver_factory;
solver * mk_smt_solver(ast_manager & m, params_ref const & p, symbol const & logic);
solver_factory * mk_smt_solver_factory();
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_STATISTICS_H_
#define SMT_STATISTICS_H_
#pragma once
#include<iostream>
@ -56,5 +55,4 @@ namespace smt {
#endif /* SMT_STATISTICS_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_THEORY_H_
#define SMT_THEORY_H_
#pragma once
#include "smt/smt_enode.h"
#include "smt/smt_quantifier.h"
@ -584,5 +583,4 @@ namespace smt {
};
#endif /* SMT_THEORY_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_THEORY_VAR_LIST_H_
#define SMT_THEORY_VAR_LIST_H_
#pragma once
#include "smt/smt_types.h"
@ -72,5 +71,4 @@ namespace smt {
static_assert(sizeof(expr*) != 8 || sizeof(theory_var_list) == sizeof(theory_var_list *) + sizeof(int) + /* a structure must be aligned */ sizeof(int), "64 bit");
};
#endif /* SMT_THEORY_VAR_LIST_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef SMT_TYPES_H_
#define SMT_TYPES_H_
#pragma once
#include "util/list.h"
#include "util/vector.h"
@ -76,5 +75,4 @@ namespace smt {
};
#endif /* SMT_TYPES_H_ */

View file

@ -19,8 +19,7 @@ Revision History:
--*/
#ifndef SMT_VALUE_SORT_H_
#define SMT_VALUE_SORT_H_
#pragma once
#include "ast/ast.h"
@ -34,4 +33,3 @@ namespace smt {
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef SPANNING_TREE_H_
#define SPANNING_TREE_H_
#pragma once
#include "smt/diff_logic.h"
#include "smt/spanning_tree_base.h"
@ -79,4 +78,3 @@ namespace smt {
}
#endif

View file

@ -17,8 +17,7 @@ Notes:
--*/
#ifndef SPANNING_TREE_BASE_H_
#define SPANNING_TREE_BASE_H_
#pragma once
#include "util/util.h"
#include "util/vector.h"
@ -50,4 +49,3 @@ namespace smt {
};
}
#endif

View file

@ -16,8 +16,7 @@ Notes:
--*/
#ifndef SPANNING_TREE_DEF_H_
#define SPANNING_TREE_DEF_H_
#pragma once
#include "smt/spanning_tree.h"
@ -486,4 +485,3 @@ namespace smt {
}
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef CTX_SOLVER_SIMPLIFY_TACTIC_H_
#define CTX_SOLVER_SIMPLIFY_TACTIC_H_
#pragma once
#include "tactic/tactical.h"
@ -26,4 +25,3 @@ tactic * mk_ctx_solver_simplify_tactic(ast_manager & m, params_ref const & p = p
ADD_TACTIC("ctx-solver-simplify", "apply solver-based contextual simplification rules.", "mk_ctx_solver_simplify_tactic(m, p)")
*/
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef SMT_TACTIC_H_
#define SMT_TACTIC_H_
#pragma once
#include "util/params.h"
#include "ast/ast.h"
@ -38,4 +37,3 @@ tactic * mk_parallel_smt_tactic(ast_manager& m, params_ref const& p);
ADD_TACTIC("smt", "apply a SAT based SMT solver.", "mk_smt_tactic(m, p)")
ADD_TACTIC("psmt", "builtin strategy for SMT tactic in parallel.", "mk_parallel_smt_tactic(m, p)")
*/
#endif

View file

@ -21,8 +21,7 @@ Notes:
It uses the smt_context for the solver.
--*/
#ifndef UNIT_SUBSUMPTION_TACTIC_H_
#define UNIT_SUBSUMPTION_TACTIC_H_
#pragma once
#include "tactic/tactic.h"
tactic * mk_unit_subsumption_tactic(ast_manager & m, params_ref const & p = params_ref());
@ -30,4 +29,3 @@ tactic * mk_unit_subsumption_tactic(ast_manager & m, params_ref const & p = para
ADD_TACTIC("unit-subsume-simplify", "unit subsumption simplification.", "mk_unit_subsumption_tactic(m, p)")
*/
#endif

View file

@ -17,8 +17,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_ARITH_H_
#define THEORY_ARITH_H_
#pragma once
#include "util/map.h"
#include "util/heap.h"
@ -1288,5 +1287,4 @@ namespace smt {
};
#endif /* THEORY_ARITH_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_ARITH_AUX_H_
#define THEORY_ARITH_AUX_H_
#pragma once
#include "util/inf_eps_rational.h"
#include "smt/theory_arith.h"
@ -2290,5 +2289,4 @@ namespace smt {
};
#endif /* THEORY_ARITH_AUX_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_ARITH_CORE_H_
#define THEORY_ARITH_CORE_H_
#pragma once
#include "ast/ast_pp.h"
#include "ast/ast_ll_pp.h"
@ -3557,4 +3556,3 @@ namespace smt {
};
#endif /* THEORY_ARITH_CORE_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_ARITH_DEF_H_
#define THEORY_ARITH_DEF_H_
#pragma once
#include "smt/theory_arith.h"
#include "smt/theory_arith_core.h"
@ -28,5 +27,4 @@ Revision History:
#include "smt/theory_arith_eq.h"
#include "smt/theory_arith_nl.h"
#endif /* THEORY_ARITH_DEF_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_ARITH_EQ_H_
#define THEORY_ARITH_EQ_H_
#pragma once
// #define PROFILE_OFFSET_ROW
@ -358,5 +357,4 @@ namespace smt {
}
};
#endif /* THEORY_ARITH_EQ_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_ARITH_INT_H_
#define THEORY_ARITH_INT_H_
#pragma once
#include "util/numeral_buffer.h"
#include "ast/ast_ll_pp.h"
@ -1128,5 +1127,4 @@ namespace smt {
};
#endif /* THEORY_ARITH_INT_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_ARITH_INV_H_
#define THEORY_ARITH_INV_H_
#pragma once
#include "smt/theory_arith.h"
#include "ast/ast_pp.h"
@ -232,5 +231,4 @@ namespace smt {
};
#endif /* THEORY_ARITH_INV_H_ */

View file

@ -16,8 +16,7 @@
Revision History:
--*/
#ifndef THEORY_ARITH_NL_H_
#define THEORY_ARITH_NL_H_
#pragma once
#include "ast/ast_smt2_pp.h"
@ -2395,5 +2394,4 @@ final_check_status theory_arith<Ext>::process_non_linear() {
};
#endif /* THEORY_ARITH_NL_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_ARITH_PP_H_
#define THEORY_ARITH_PP_H_
#pragma once
#include "smt/theory_arith.h"
#include "ast/ast_smt_pp.h"
@ -560,5 +559,4 @@ namespace smt {
};
#endif /* THEORY_ARITH_PP_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_ARRAY_H_
#define THEORY_ARRAY_H_
#pragma once
#include "smt/theory_array_base.h"
#include "smt/params/theory_array_params.h"
@ -115,5 +114,4 @@ namespace smt {
};
#endif /* THEORY_ARRAY_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_ARRAY_BAPA_H_
#define THEORY_ARRAY_BAPA_H_
#pragma once
#include "ast/ast.h"
#include "smt/smt_theory.h"
@ -41,5 +40,4 @@ namespace smt {
};
#endif /* THEORY_ARRAY_BAPA_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_ARRAY_BASE_H_
#define THEORY_ARRAY_BASE_H_
#pragma once
#include "smt/smt_theory.h"
#include "smt/theory_array_bapa.h"
@ -213,5 +212,4 @@ namespace smt {
};
#endif /* THEORY_ARRAY_BASE_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_ARRAY_FULL_H_
#define THEORY_ARRAY_FULL_H_
#pragma once
#include "smt/theory_array.h"
#include "ast/ast_trail.h"
@ -107,5 +106,4 @@ namespace smt {
};
#endif /* THEORY_ARRAY_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_DATATYPE_H_
#define THEORY_DATATYPE_H_
#pragma once
#include "util/union_find.h"
#include "ast/array_decl_plugin.h"
@ -148,5 +147,4 @@ namespace smt {
};
#endif /* THEORY_DATATYPE_H_ */

View file

@ -18,8 +18,7 @@ Revision History:
TODO: eager equality propagation
--*/
#ifndef THEORY_DENSE_DIFF_LOGIC_H_
#define THEORY_DENSE_DIFF_LOGIC_H_
#pragma once
#include "smt/theory_arith.h"
#include "smt/params/theory_arith_params.h"
@ -296,5 +295,4 @@ namespace smt {
typedef theory_dense_diff_logic<si_ext> theory_dense_si;
};
#endif /* THEORY_DENSE_DIFF_LOGIC_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_DENSE_DIFF_LOGIC_DEF_H_
#define THEORY_DENSE_DIFF_LOGIC_DEF_H_
#pragma once
#include "smt/smt_context.h"
#include "smt/theory_dense_diff_logic.h"
@ -1131,5 +1130,4 @@ namespace smt {
};
#endif /* THEORY_DENSE_DIFF_LOGIC_DEF_H_ */

View file

@ -19,8 +19,7 @@ Revision History:
--*/
#ifndef THEORY_DIFF_LOGIC_H_
#define THEORY_DIFF_LOGIC_H_
#pragma once
#include "util/rational.h"
#include "util/inf_rational.h"
@ -419,4 +418,3 @@ namespace smt {
#endif /* THEORY_DIFF_LOGIC_H_ */

View file

@ -19,8 +19,7 @@ Revision History:
2008-05-11 ported from v1.2. Add theory propagation.
--*/
#ifndef THEORY_DIFF_LOGIC_DEF_H_
#define THEORY_DIFF_LOGIC_DEF_H_
#pragma once
#include "util/map.h"
#include "util/warning.h"
@ -1469,5 +1468,4 @@ void theory_diff_logic<Ext>::init_zero() {
m_rzero = mk_var(e);
}
#endif /* THEORY_DIFF_LOGIC_DEF_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_DL_H_
#define THEORY_DL_H_
#pragma once
namespace smt {
@ -26,5 +25,4 @@ namespace smt {
};
#endif /* THEORY_DL_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_DUMMY_H_
#define THEORY_DUMMY_H_
#pragma once
#include "smt/smt_theory.h"
@ -55,5 +54,4 @@ namespace smt {
};
};
#endif /* THEORY_DUMMY_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_FPA_H_
#define THEORY_FPA_H_
#pragma once
#include "smt/smt_theory.h"
#include "util/trail.h"
@ -202,4 +201,3 @@ namespace smt {
};
#endif /* THEORY_FPA_H_ */

View file

@ -22,8 +22,7 @@ Notes:
#include "util/inf_eps_rational.h"
#include "ast/arith_decl_plugin.h"
#ifndef THEORY_OPT_H_
#define THEORY_OPT_H_
#pragma once
class generic_model_converter;
namespace smt {
@ -38,4 +37,3 @@ namespace smt {
};
}
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_RECFUN_H_
#define THEORY_RECFUN_H_
#pragma once
#include "smt/smt_theory.h"
#include "smt/smt_context.h"
@ -168,4 +167,3 @@ namespace smt {
};
}
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_SEQ_H_
#define THEORY_SEQ_H_
#pragma once
#include "ast/seq_decl_plugin.h"
#include "ast/rewriter/th_rewriter.h"
@ -701,5 +700,4 @@ namespace smt {
};
};
#endif /* THEORY_SEQ_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef THEORY_SEQ_EMPTY_H_
#define THEORY_SEQ_EMPTY_H_
#pragma once
#include "ast/seq_decl_plugin.h"
#include "model/seq_factory.h"
@ -46,5 +45,4 @@ namespace smt {
};
#endif /* THEORY_SEQ_EMPTY_H_ */

View file

@ -17,8 +17,7 @@ Notes:
--*/
#ifndef THEORY_SPECIAL_RELATIONS_H_
#define THEORY_SPECIAL_RELATIONS_H_
#pragma once
#include "ast/special_relations_decl_plugin.h"
#include "smt/smt_theory.h"
@ -204,4 +203,3 @@ namespace smt {
};
}
#endif

View file

@ -14,8 +14,7 @@
Revision History:
--*/
#ifndef _THEORY_STR_H_
#define _THEORY_STR_H_
#pragma once
#include "util/trail.h"
#include "util/union_find.h"
@ -837,4 +836,3 @@ protected:
};
#endif /* _THEORY_STR_H_ */

View file

@ -19,8 +19,7 @@ Revision History:
--*/
#ifndef THEORY_UTVPI_H_
#define THEORY_UTVPI_H_
#pragma once
#include "smt/theory_diff_logic.h"
@ -365,4 +364,3 @@ namespace smt {
#endif /* THEORY_UTVPI_H_ */

View file

@ -17,8 +17,7 @@ Notes:
--*/
#ifndef THEORY_WMAXSAT_H_
#define THEORY_WMAXSAT_H_
#pragma once
#include "smt/smt_theory.h"
#include "smt/smt_clause.h"
@ -140,4 +139,3 @@ namespace smt {
};
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef USES_THEORY_H_
#define USES_THEORY_H_
#pragma once
#include "ast/ast.h"
@ -33,5 +32,4 @@ bool uses_theory(expr * n, family_id fid);
*/
bool uses_theory(expr * n, family_id fid, expr_mark & visited);
#endif /* USES_THEORY_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef WATCH_LIST_H_
#define WATCH_LIST_H_
#pragma once
#include "smt/smt_clause.h"
#include "util/memory_manager.h"
@ -186,5 +185,4 @@ namespace smt {
};
#endif /* WATCH_LIST_H_ */