3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

update header guards to be C++ style. Fixes issue #9

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-07-08 23:18:40 -07:00
parent f145ceecb4
commit 4bc044c982
676 changed files with 1679 additions and 1619 deletions

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _ARITH_EQ_ADAPTER_H_
#define _ARITH_EQ_ADAPTER_H_
#ifndef ARITH_EQ_ADAPTER_H_
#define ARITH_EQ_ADAPTER_H_
#include"smt_theory.h"
#include"obj_pair_hashtable.h"
@ -93,5 +93,5 @@ namespace smt {
};
};
#endif /* _ARITH_EQ_ADAPTER_H_ */
#endif /* ARITH_EQ_ADAPTER_H_ */

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _ASSERTED_FORMULAS_H_
#define _ASSERTED_FORMULAS_H_
#ifndef ASSERTED_FORMULAS_H_
#define ASSERTED_FORMULAS_H_
#include"smt_params.h"
#include"simplifier.h"
@ -148,5 +148,5 @@ public:
};
#endif /* _ASSERTED_FORMULAS_H_ */
#endif /* ASSERTED_FORMULAS_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _CACHED_VAR_SUBST_H_
#define _CACHED_VAR_SUBST_H_
#ifndef CACHED_VAR_SUBST_H_
#define CACHED_VAR_SUBST_H_
#include"var_subst.h"
#include"map.h"
@ -49,5 +49,5 @@ public:
void reset();
};
#endif /* _CACHED_VAR_SUBST_H_ */
#endif /* CACHED_VAR_SUBST_H_ */

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _DIFF_LOGIC_H_
#define _DIFF_LOGIC_H_
#ifndef DIFF_LOGIC_H_
#define DIFF_LOGIC_H_
#include"vector.h"
#include"heap.h"
@ -1832,5 +1832,5 @@ public:
}
};
#endif /* _DIFF_LOGIC_H_ */
#endif /* DIFF_LOGIC_H_ */

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _ELIM_TERM_ITE_H_
#define _ELIM_TERM_ITE_H_
#ifndef ELIM_TERM_ITE_H_
#define ELIM_TERM_ITE_H_
#include"simplifier.h"
#include"defined_names.h"
@ -46,5 +46,5 @@ public:
);
};
#endif /* _ELIM_TERM_ITE_H_ */
#endif /* ELIM_TERM_ITE_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _EXPR_CONTEXT_SIMPLIFIER_H_
#define _EXPR_CONTEXT_SIMPLIFIER_H_
#ifndef EXPR_CONTEXT_SIMPLIFIER_H_
#define EXPR_CONTEXT_SIMPLIFIER_H_
#include "ast.h"
#include "obj_hashtable.h"
@ -80,5 +80,5 @@ public:
void set_cancel(bool f) { m_solver.set_cancel(f); }
};
#endif /* _EXPR_CONTEXT_SIMPLIFIER_H__ */
#endif /* EXPR_CONTEXT_SIMPLIFIER_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _FINGERPRINTS_H_
#define _FINGERPRINTS_H_
#ifndef FINGERPRINTS_H_
#define FINGERPRINTS_H_
#include"smt_enode.h"
@ -81,5 +81,5 @@ namespace smt {
};
};
#endif /* _FINGERPRINTS_H_ */
#endif /* FINGERPRINTS_H_ */

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _OLD_INTERVAL_H_
#define _OLD_INTERVAL_H_
#ifndef OLD_INTERVAL_H_
#define OLD_INTERVAL_H_
#include"rational.h"
#include"dependency.h"
@ -134,5 +134,5 @@ inline std::ostream & operator<<(std::ostream & out, std::pair<old_interval, int
// allow "customers" of this file to keep using interval
#define interval old_interval
#endif /* _OLD_INTERVAL_H_ */
#endif /* OLD_INTERVAL_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _DYN_ACK_PARAMS_H_
#define _DYN_ACK_PARAMS_H_
#ifndef DYN_ACK_PARAMS_H_
#define DYN_ACK_PARAMS_H_
#include"params.h"
@ -50,5 +50,5 @@ public:
};
#endif /* _DYN_ACK_PARAMS_H_ */
#endif /* DYN_ACK_PARAMS_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _PREPROCESSOR_PARAMS_H_
#define _PREPROCESSOR_PARAMS_H_
#ifndef PREPROCESSOR_PARAMS_H_
#define PREPROCESSOR_PARAMS_H_
#include"pattern_inference_params.h"
#include"bit_blaster_params.h"
@ -85,4 +85,4 @@ public:
void updt_params(params_ref const & p);
};
#endif /* _PREPROCESSOR_PARAMS_H_ */
#endif /* PREPROCESSOR_PARAMS_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _QI_PARAMS_H_
#define _QI_PARAMS_H_
#ifndef QI_PARAMS_H_
#define QI_PARAMS_H_
#include"util.h"
#include"params.h"
@ -107,5 +107,5 @@ struct qi_params {
void updt_params(params_ref const & p);
};
#endif /* _QI_PARAMS_H_ */
#endif /* QI_PARAMS_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_PARAMS_H_
#define _SMT_PARAMS_H_
#ifndef SMT_PARAMS_H_
#define SMT_PARAMS_H_
#include"ast.h"
#include"dyn_ack_params.h"
@ -287,5 +287,5 @@ struct smt_params : public preprocessor_params,
void updt_params(context_params const & p);
};
#endif /* _SMT_PARAMS_H_ */
#endif /* SMT_PARAMS_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_ARITH_PARAMS_H_
#define _THEORY_ARITH_PARAMS_H_
#ifndef THEORY_ARITH_PARAMS_H_
#define THEORY_ARITH_PARAMS_H_
#include<limits.h>
#include"params.h"
@ -158,5 +158,5 @@ struct theory_arith_params {
void updt_params(params_ref const & p);
};
#endif /* _THEORY_ARITH_PARAMS_H_ */
#endif /* THEORY_ARITH_PARAMS_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_ARRAY_PARAMS_H_
#define _THEORY_ARRAY_PARAMS_H_
#ifndef THEORY_ARRAY_PARAMS_H_
#define THEORY_ARRAY_PARAMS_H_
#include"array_simplifier_params.h"
@ -74,5 +74,5 @@ struct theory_array_params : public array_simplifier_params {
};
#endif /* _THEORY_ARRAY_PARAMS_H_ */
#endif /* THEORY_ARRAY_PARAMS_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_BV_PARAMS_H_
#define _THEORY_BV_PARAMS_H_
#ifndef THEORY_BV_PARAMS_H_
#define THEORY_BV_PARAMS_H_
#include"params.h"
@ -46,5 +46,5 @@ struct theory_bv_params {
void updt_params(params_ref const & p);
};
#endif /* _THEORY_BV_PARAMS_H_ */
#endif /* THEORY_BV_PARAMS_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_DATATYPE_PARAMS_H_
#define _THEORY_DATATYPE_PARAMS_H_
#ifndef THEORY_DATATYPE_PARAMS_H_
#define THEORY_DATATYPE_PARAMS_H_
struct theory_datatype_params {
unsigned m_dt_lazy_splits;
@ -34,5 +34,5 @@ struct theory_datatype_params {
};
#endif /* _THEORY_DATATYPE_PARAMS_H_ */
#endif /* THEORY_DATATYPE_PARAMS_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_PB_PARAMS_H_
#define _THEORY_PB_PARAMS_H_
#ifndef THEORY_PB_PARAMS_H_
#define THEORY_PB_PARAMS_H_
#include"params.h"
@ -37,5 +37,5 @@ struct theory_pb_params {
void updt_params(params_ref const & p);
};
#endif /* _THEORY_PB_PARAMS_H_ */
#endif /* THEORY_PB_PARAMS_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _ARRAY_FACTORY_H_
#define _ARRAY_FACTORY_H_
#ifndef ARRAY_FACTORY_H_
#define ARRAY_FACTORY_H_
#include"struct_factory.h"
@ -41,5 +41,5 @@ public:
virtual expr * get_fresh_value(sort * s);
};
#endif /* _ARRAY_FACTORY_H_ */
#endif /* ARRAY_FACTORY_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _DATATYPE_FACTORY_H_
#define _DATATYPE_FACTORY_H_
#ifndef DATATYPE_FACTORY_H_
#define DATATYPE_FACTORY_H_
#include"struct_factory.h"
#include"datatype_decl_plugin.h"
@ -38,5 +38,5 @@ public:
virtual expr * get_fresh_value(sort * s);
};
#endif /* _DATATYPE_FACTORY_H_ */
#endif /* DATATYPE_FACTORY_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _NUMERAL_FACTORY_H_
#define _NUMERAL_FACTORY_H_
#ifndef NUMERAL_FACTORY_H_
#define NUMERAL_FACTORY_H_
#include"value_factory.h"
#include"arith_decl_plugin.h"
@ -53,5 +53,5 @@ public:
app * mk_value(rational const & val, unsigned bv_size);
};
#endif /* _NUMERAL_FACTORY_H_ */
#endif /* NUMERAL_FACTORY_H_ */

View file

@ -25,8 +25,8 @@ Author:
Revision History:
--*/
#ifndef _PROTO_MODEL_H_
#define _PROTO_MODEL_H_
#ifndef PROTO_MODEL_H_
#define PROTO_MODEL_H_
#include"model_core.h"
#include"value_factory.h"
@ -114,5 +114,5 @@ public:
typedef ref<proto_model> proto_model_ref;
#endif /* _PROTO_MODEL_H_ */
#endif /* PROTO_MODEL_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _STRUCT_FACTORY_H_
#define _STRUCT_FACTORY_H_
#ifndef STRUCT_FACTORY_H_
#define STRUCT_FACTORY_H_
#include"value_factory.h"
#include"obj_hashtable.h"
@ -50,5 +50,5 @@ public:
virtual void register_value(expr * array_value);
};
#endif /* _STRUCT_FACTORY_H_ */
#endif /* STRUCT_FACTORY_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _VALUE_FACTORY_H_
#define _VALUE_FACTORY_H_
#ifndef VALUE_FACTORY_H_
#define VALUE_FACTORY_H_
#include"ast.h"
#include"obj_hashtable.h"
@ -266,5 +266,5 @@ public:
virtual void register_value(expr * n);
};
#endif /* _VALUE_FACTORY_H_ */
#endif /* VALUE_FACTORY_H_ */

View file

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

View file

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

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_BOOL_VAR_DATA_H_
#define _SMT_BOOL_VAR_DATA_H_
#ifndef SMT_BOOL_VAR_DATA_H_
#define SMT_BOOL_VAR_DATA_H_
#include"smt_b_justification.h"
@ -124,5 +124,5 @@ namespace smt {
};
};
#endif /* _SMT_BOOL_VAR_DATA_H_ */
#endif /* SMT_BOOL_VAR_DATA_H_ */

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_CG_TABLE_H_
#define _SMT_CG_TABLE_H_
#ifndef SMT_CG_TABLE_H_
#define SMT_CG_TABLE_H_
#include"smt_enode.h"
#include"hashtable.h"
@ -350,5 +350,5 @@ namespace smt {
#endif
};
#endif /* _SMT_CG_TABLE_H_ */
#endif /* SMT_CG_TABLE_H_ */

View file

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

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_CONFLICT_RESOLUTION_H_
#define _SMT_CONFLICT_RESOLUTION_H_
#ifndef SMT_CONFLICT_RESOLUTION_H_
#define SMT_CONFLICT_RESOLUTION_H_
#include"smt_literal.h"
#include"smt_bool_var_data.h"
@ -274,5 +274,5 @@ namespace smt {
};
#endif /* _SMT_CONFLICT_RESOLUTION_H_ */
#endif /* SMT_CONFLICT_RESOLUTION_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_CONTEXT_H_
#define _SMT_CONTEXT_H_
#ifndef SMT_CONTEXT_H_
#define SMT_CONTEXT_H_
#include"smt_clause.h"
#include"smt_setup.h"
@ -1440,5 +1440,5 @@ namespace smt {
};
#endif /* _SMT_CONTEXT_H_ */
#endif /* SMT_CONTEXT_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_ENODE_H_
#define _SMT_ENODE_H_
#ifndef SMT_ENODE_H_
#define SMT_ENODE_H_
#include"ast.h"
#include"smt_types.h"
@ -401,5 +401,5 @@ namespace smt {
};
#endif /* _SMT_ENODE_H_ */
#endif /* SMT_ENODE_H_ */

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_FAILURE_H_
#define _SMT_FAILURE_H_
#ifndef SMT_FAILURE_H_
#define SMT_FAILURE_H_
namespace smt {

View file

@ -19,8 +19,8 @@ Revision History:
--*/
#ifndef __FARKAS_UTIL_H_
#define __FARKAS_UTIL_H_
#ifndef FARKAS_UTIL_H_
#define FARKAS_UTIL_H_
#include "arith_decl_plugin.h"

View file

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

View file

@ -20,8 +20,8 @@ Revision History:
--*/
#ifndef __SMT_IMPLIED_EQUALITIES_H__
#define __SMT_IMPLIED_EQUALITIES_H__
#ifndef SMT_IMPLIED_EQUALITIES_H_
#define SMT_IMPLIED_EQUALITIES_H_
#include"smt_solver.h"
#include"lbool.h"

View file

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

View file

@ -24,8 +24,8 @@ Revision History:
smt::solver ---> smt::kernel
default_solver ---> smt::solver
--*/
#ifndef _SMT_KERNEL_H_
#define _SMT_KERNEL_H_
#ifndef SMT_KERNEL_H_
#define SMT_KERNEL_H_
#include"ast.h"
#include"params.h"

View file

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

View file

@ -18,8 +18,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_MODEL_CHECKER_H_
#define _SMT_MODEL_CHECKER_H_
#ifndef SMT_MODEL_CHECKER_H_
#define SMT_MODEL_CHECKER_H_
#include"ast.h"
#include"obj_hashtable.h"

View file

@ -43,8 +43,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_MODEL_FINDER_H_
#define _SMT_MODEL_FINDER_H_
#ifndef SMT_MODEL_FINDER_H_
#define SMT_MODEL_FINDER_H_
#include"ast.h"
#include"func_decl_dependencies.h"

View file

@ -25,8 +25,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_MODEL_GENERATOR_H_
#define _SMT_MODEL_GENERATOR_H_
#ifndef SMT_MODEL_GENERATOR_H_
#define SMT_MODEL_GENERATOR_H_
#include"ast.h"
#include"smt_types.h"
@ -223,6 +223,6 @@ namespace smt {
};
};
#endif /* _SMT_MODEL_GENERATOR_H_ */
#endif /* SMT_MODEL_GENERATOR_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_QUANTIFIER_H_
#define _SMT_QUANTIFIER_H_
#ifndef SMT_QUANTIFIER_H_
#define SMT_QUANTIFIER_H_
#include"ast.h"
#include"statistics.h"

View file

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

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_QUICK_CHECKER_H_
#define _SMT_QUICK_CHECKER_H_
#ifndef SMT_QUICK_CHECKER_H_
#define SMT_QUICK_CHECKER_H_
#include"ast.h"
#include"simplifier.h"
@ -102,5 +102,5 @@ namespace smt {
};
};
#endif /* _SMT_QUICK_CHECKER_H_ */
#endif /* SMT_QUICK_CHECKER_H_ */

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_SETUP_H_
#define _SMT_SETUP_H_
#ifndef SMT_SETUP_H_
#define SMT_SETUP_H_
#include"ast.h"
#include"smt_params.h"
@ -114,5 +114,5 @@ namespace smt {
};
};
#endif /* _SMT_SETUP_H_ */
#endif /* SMT_SETUP_H_ */

View file

@ -18,8 +18,8 @@ Notes:
This file was called default_solver.h. It was a bad name.
--*/
#ifndef _SMT_SOLVER_H_
#define _SMT_SOLVER_H_
#ifndef SMT_SOLVER_H_
#define SMT_SOLVER_H_
#include"ast.h"
#include"params.h"

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_THEORY_H_
#define _SMT_THEORY_H_
#ifndef SMT_THEORY_H_
#define SMT_THEORY_H_
#include"smt_enode.h"
#include"obj_hashtable.h"
@ -450,5 +450,5 @@ namespace smt {
};
#endif /* _SMT_THEORY_H_ */
#endif /* SMT_THEORY_H_ */

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _SMT_TYPES_H_
#define _SMT_TYPES_H_
#ifndef SMT_TYPES_H_
#define SMT_TYPES_H_
#include"list.h"
#include"vector.h"
@ -74,5 +74,5 @@ namespace smt {
};
#endif /* _SMT_TYPES_H_ */
#endif /* SMT_TYPES_H_ */

View file

@ -19,8 +19,8 @@ Revision History:
--*/
#ifndef __SMT_VALUE_SORT_H__
#define __SMT_VALUE_SORT_H__
#ifndef SMT_VALUE_SORT_H_
#define SMT_VALUE_SORT_H_
#include "ast.h"

View file

@ -16,8 +16,8 @@ Author:
Notes:
--*/
#ifndef _SPANNING_TREE_H_
#define _SPANNING_TREE_H_
#ifndef SPANNING_TREE_H_
#define SPANNING_TREE_H_
#include "diff_logic.h"
#include "spanning_tree_base.h"

View file

@ -17,8 +17,8 @@ Notes:
--*/
#ifndef _SPANNING_TREE_BASE_H_
#define _SPANNING_TREE_BASE_H_
#ifndef SPANNING_TREE_BASE_H_
#define SPANNING_TREE_BASE_H_
#include "util.h"
#include "vector.h"

View file

@ -16,8 +16,8 @@ Notes:
--*/
#ifndef _SPANNING_TREE_DEF_H_
#define _SPANNING_TREE_DEF_H_
#ifndef SPANNING_TREE_DEF_H_
#define SPANNING_TREE_DEF_H_
#include "spanning_tree.h"

View file

@ -16,8 +16,8 @@ Author:
Notes:
--*/
#ifndef _CTX_SOLVER_SIMPLIFY_TACTIC_H_
#define _CTX_SOLVER_SIMPLIFY_TACTIC_H_
#ifndef CTX_SOLVER_SIMPLIFY_TACTIC_H_
#define CTX_SOLVER_SIMPLIFY_TACTIC_H_
#include"tactical.h"

View file

@ -16,8 +16,8 @@ Author:
Notes:
--*/
#ifndef _SMT_TACTIC_H_
#define _SMT_TACTIC_H_
#ifndef SMT_TACTIC_H_
#define SMT_TACTIC_H_
#include"params.h"
#include"ast.h"

View file

@ -21,8 +21,8 @@ Notes:
It uses the smt_context for the solver.
--*/
#ifndef _UNIT_SUBSUMPTION_TACTIC_H_
#define _UNIT_SUBSUMPTION_TACTIC_H_
#ifndef UNIT_SUBSUMPTION_TACTIC_H_
#define UNIT_SUBSUMPTION_TACTIC_H_
#include "tactic.h"
tactic * mk_unit_subsumption_tactic(ast_manager & m, params_ref const & p = params_ref());

View file

@ -17,8 +17,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_ARITH_H_
#define _THEORY_ARITH_H_
#ifndef THEORY_ARITH_H_
#define THEORY_ARITH_H_
#include"smt_theory.h"
#include"map.h"
@ -1215,5 +1215,5 @@ namespace smt {
};
#endif /* _THEORY_ARITH_H_ */
#endif /* THEORY_ARITH_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_ARITH_AUX_H_
#define _THEORY_ARITH_AUX_H_
#ifndef THEORY_ARITH_AUX_H_
#define THEORY_ARITH_AUX_H_
#include"inf_eps_rational.h"
#include"theory_arith.h"
@ -2249,5 +2249,5 @@ namespace smt {
};
#endif /* _THEORY_ARITH_AUX_H_ */
#endif /* THEORY_ARITH_AUX_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_ARITH_CORE_H_
#define _THEORY_ARITH_CORE_H_
#ifndef THEORY_ARITH_CORE_H_
#define THEORY_ARITH_CORE_H_
#include"smt_context.h"
#include"theory_arith.h"
@ -3318,5 +3318,5 @@ namespace smt {
};
#endif /* _THEORY_ARITH_CORE_H_ */
#endif /* THEORY_ARITH_CORE_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_ARITH_DEF_H_
#define _THEORY_ARITH_DEF_H_
#ifndef THEORY_ARITH_DEF_H_
#define THEORY_ARITH_DEF_H_
#include"theory_arith.h"
#include"theory_arith_core.h"
@ -28,5 +28,5 @@ Revision History:
#include"theory_arith_eq.h"
#include"theory_arith_nl.h"
#endif /* _THEORY_ARITH_DEF_H_ */
#endif /* THEORY_ARITH_DEF_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_ARITH_EQ_H_
#define _THEORY_ARITH_EQ_H_
#ifndef THEORY_ARITH_EQ_H_
#define THEORY_ARITH_EQ_H_
// #define PROFILE_OFFSET_ROW
@ -347,5 +347,5 @@ namespace smt {
}
};
#endif /* _THEORY_ARITH_EQ_H_ */
#endif /* THEORY_ARITH_EQ_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_ARITH_INT_H_
#define _THEORY_ARITH_INT_H_
#ifndef THEORY_ARITH_INT_H_
#define THEORY_ARITH_INT_H_
#include"ast_ll_pp.h"
#include"arith_simplifier_plugin.h"
@ -1424,5 +1424,5 @@ namespace smt {
};
#endif /* _THEORY_ARITH_INT_H_ */
#endif /* THEORY_ARITH_INT_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_ARITH_INV_H_
#define _THEORY_ARITH_INV_H_
#ifndef THEORY_ARITH_INV_H_
#define THEORY_ARITH_INV_H_
#include"theory_arith.h"
#include"ast_pp.h"
@ -228,5 +228,5 @@ namespace smt {
};
#endif /* _THEORY_ARITH_INV_H_ */
#endif /* THEORY_ARITH_INV_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_ARITH_NL_H_
#define _THEORY_ARITH_NL_H_
#ifndef THEORY_ARITH_NL_H_
#define THEORY_ARITH_NL_H_
#include"ast_smt2_pp.h"
@ -2443,5 +2443,5 @@ namespace smt {
};
#endif /* _THEORY_ARITH_NL_H_ */
#endif /* THEORY_ARITH_NL_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_ARITH_PP_H_
#define _THEORY_ARITH_PP_H_
#ifndef THEORY_ARITH_PP_H_
#define THEORY_ARITH_PP_H_
#include"theory_arith.h"
#include"ast_smt_pp.h"
@ -533,5 +533,5 @@ namespace smt {
};
#endif /* _THEORY_ARITH_PP_H_ */
#endif /* THEORY_ARITH_PP_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_ARRAY_H_
#define _THEORY_ARRAY_H_
#ifndef THEORY_ARRAY_H_
#define THEORY_ARRAY_H_
#include"theory_array_base.h"
#include"theory_array_params.h"
@ -113,5 +113,5 @@ namespace smt {
};
#endif /* _THEORY_ARRAY_H_ */
#endif /* THEORY_ARRAY_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_ARRAY_BASE_H_
#define _THEORY_ARRAY_BASE_H_
#ifndef THEORY_ARRAY_BASE_H_
#define THEORY_ARRAY_BASE_H_
#include"smt_theory.h"
#include"array_decl_plugin.h"
@ -195,5 +195,5 @@ namespace smt {
};
#endif /* _THEORY_ARRAY_BASE_H_ */
#endif /* THEORY_ARRAY_BASE_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_ARRAY_FULL_H_
#define _THEORY_ARRAY_FULL_H_
#ifndef THEORY_ARRAY_FULL_H_
#define THEORY_ARRAY_FULL_H_
#include "theory_array.h"
#include "simplifier.h"
@ -107,5 +107,5 @@ namespace smt {
};
#endif /* _THEORY_ARRAY_H_ */
#endif /* THEORY_ARRAY_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_BV_H_
#define _THEORY_BV_H_
#ifndef THEORY_BV_H_
#define THEORY_BV_H_
#include"smt_theory.h"
#include"theory_bv_params.h"
@ -278,5 +278,5 @@ namespace smt {
};
};
#endif /* _THEORY_BV_H_ */
#endif /* THEORY_BV_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_DATATYPE_H_
#define _THEORY_DATATYPE_H_
#ifndef THEORY_DATATYPE_H_
#define THEORY_DATATYPE_H_
#include"smt_theory.h"
#include"union_find.h"
@ -115,5 +115,5 @@ namespace smt {
};
#endif /* _THEORY_DATATYPE_H_ */
#endif /* THEORY_DATATYPE_H_ */

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_DENSE_DIFF_LOGIC_DEF_H_
#define _THEORY_DENSE_DIFF_LOGIC_DEF_H_
#ifndef THEORY_DENSE_DIFF_LOGIC_DEF_H_
#define THEORY_DENSE_DIFF_LOGIC_DEF_H_
#include"smt_context.h"
#include"theory_dense_diff_logic.h"
@ -1095,5 +1095,5 @@ namespace smt {
};
#endif /* _THEORY_DENSE_DIFF_LOGIC_DEF_H_ */
#endif /* THEORY_DENSE_DIFF_LOGIC_DEF_H_ */

View file

@ -19,8 +19,8 @@ Revision History:
--*/
#ifndef _THEORY_DIFF_LOGIC_H_
#define _THEORY_DIFF_LOGIC_H_
#ifndef THEORY_DIFF_LOGIC_H_
#define THEORY_DIFF_LOGIC_H_
#include"rational.h"
#include"inf_rational.h"
@ -432,4 +432,4 @@ namespace smt {
#endif /* _THEORY_DIFF_LOGIC_H_ */
#endif /* THEORY_DIFF_LOGIC_H_ */

View file

@ -19,8 +19,8 @@ Revision History:
2008-05-11 ported from v1.2. Add theory propagation.
--*/
#ifndef _THEORY_DIFF_LOGIC_DEF_H_
#define _THEORY_DIFF_LOGIC_DEF_H_
#ifndef THEORY_DIFF_LOGIC_DEF_H_
#define THEORY_DIFF_LOGIC_DEF_H_
#include"theory_diff_logic.h"
#include"smt_context.h"
@ -1384,5 +1384,5 @@ bool theory_diff_logic<Ext>::internalize_objective(expr * n, rational const& m,
return true;
}
#endif /* _THEORY_DIFF_LOGIC_DEF_H_ */
#endif /* THEORY_DIFF_LOGIC_DEF_H_ */

View file

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

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_FPA_H_
#define _THEORY_FPA_H_
#ifndef THEORY_FPA_H_
#define THEORY_FPA_H_
#include"smt_theory.h"
#include"trail.h"
@ -189,4 +189,4 @@ namespace smt {
};
#endif /* _THEORY_FPA_H_ */
#endif /* THEORY_FPA_H_ */

View file

@ -22,8 +22,8 @@ Notes:
#include "inf_eps_rational.h"
#include "arith_decl_plugin.h"
#ifndef _THEORY_OPT_H_
#define _THEORY_OPT_H_
#ifndef THEORY_OPT_H_
#define THEORY_OPT_H_
class filter_model_converter;
namespace smt {

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _THEORY_SEQ_EMPTY_H_
#define _THEORY_SEQ_EMPTY_H_
#ifndef THEORY_SEQ_EMPTY_H_
#define THEORY_SEQ_EMPTY_H_
#include "smt_theory.h"
@ -37,5 +37,5 @@ namespace smt {
};
#endif /* _THEORY_SEQ_EMPTY_H_ */
#endif /* THEORY_SEQ_EMPTY_H_ */

View file

@ -19,8 +19,8 @@ Revision History:
--*/
#ifndef _THEORY_UTVPI_H_
#define _THEORY_UTVPI_H_
#ifndef THEORY_UTVPI_H_
#define THEORY_UTVPI_H_
#include"theory_diff_logic.h"
@ -339,4 +339,4 @@ namespace smt {
#endif /* _THEORY_UTVPI_H_ */
#endif /* THEORY_UTVPI_H_ */

View file

@ -47,8 +47,8 @@ Revision History:
--*/
#ifndef _THEORY_UTVPI_DEF_H_
#define _THEORY_UTVPI_DEF_H_
#ifndef THEORY_UTVPI_DEF_H_
#define THEORY_UTVPI_DEF_H_
#include "theory_utvpi.h"
#include "heap.h"
#include "ast_pp.h"

View file

@ -17,8 +17,8 @@ Notes:
--*/
#ifndef _THEORY_WMAXSAT_H_
#define _THEORY_WMAXSAT_H_
#ifndef THEORY_WMAXSAT_H_
#define THEORY_WMAXSAT_H_
#include "smt_theory.h"
#include "smt_clause.h"

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _USER_DECL_PLUGIN_H_
#define _USER_DECL_PLUGIN_H_
#ifndef USER_DECL_PLUGIN_H_
#define USER_DECL_PLUGIN_H_
#include"ast.h"
#include"obj_hashtable.h"
@ -58,5 +58,5 @@ public:
virtual void get_sort_names(svector<builtin_name> & sort_names, symbol const & logic);
};
#endif /* _USER_DECL_PLUGIN_H_ */
#endif /* USER_DECL_PLUGIN_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _USER_SIMPLIFIER_PLUGIN_H_
#define _USER_SIMPLIFIER_PLUGIN_H_
#ifndef USER_SIMPLIFIER_PLUGIN_H_
#define USER_SIMPLIFIER_PLUGIN_H_
#include"simplifier_plugin.h"
@ -62,5 +62,5 @@ public:
virtual void flush_caches();
};
#endif /* _USER_SIMPLIFIER_PLUGIN_H_ */
#endif /* USER_SIMPLIFIER_PLUGIN_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _USER_SMT_THEORY_H_
#define _USER_SMT_THEORY_H_
#ifndef USER_SMT_THEORY_H_
#define USER_SMT_THEORY_H_
#include"user_decl_plugin.h"
#include"user_simplifier_plugin.h"
@ -320,5 +320,5 @@ namespace smt {
};
#endif /* _USER_SMT_THEORY_H_ */
#endif /* USER_SMT_THEORY_H_ */

View file

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

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _WATCH_LIST_H_
#define _WATCH_LIST_H_
#ifndef WATCH_LIST_H_
#define WATCH_LIST_H_
#include"smt_clause.h"
#include"memory_manager.h"
@ -182,5 +182,5 @@ namespace smt {
};
#endif /* _WATCH_LIST_H_ */
#endif /* WATCH_LIST_H_ */