3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +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

@ -17,8 +17,7 @@ Author:
Notes:
--*/
#ifndef ACT_CACHE_H_
#define ACT_CACHE_H_
#pragma once
#include "ast/ast.h"
#include "util/obj_hashtable.h"
@ -61,4 +60,3 @@ public:
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef ARITH_DECL_PLUGIN_H_
#define ARITH_DECL_PLUGIN_H_
#pragma once
#include "ast/ast.h"
class sexpr;
@ -596,5 +595,4 @@ inline app_ref operator>(app_ref const& x, app_ref const& y) {
return app_ref(a.mk_gt(x, y), x.get_manager());
}
#endif /* ARITH_DECL_PLUGIN_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef ARRAY_DECL_PLUGIN_H_
#define ARRAY_DECL_PLUGIN_H_
#pragma once
#include "ast/ast.h"
@ -274,5 +273,4 @@ public:
};
#endif /* ARRAY_DECL_PLUGIN_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef AST_H_
#define AST_H_
#pragma once
#include "util/vector.h"
@ -2694,6 +2693,5 @@ inline std::ostream& operator<<(std::ostream& out, parameter_pp const& pp) {
}
#endif /* AST_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef AST_LL_PP_H_
#define AST_LL_PP_H_
#pragma once
#include "ast/ast.h"
#include<iostream>
@ -53,5 +52,4 @@ inline std::ostream & operator<<(std::ostream & out, mk_bounded_pp const & p) {
}
#endif /* AST_LL_PP_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef AST_LT_H_
#define AST_LT_H_
#pragma once
class ast;
@ -37,4 +36,3 @@ inline bool lex_lt(unsigned num, expr * const * n1, expr * const * n2) {
return lex_lt(num, reinterpret_cast<ast*const*>(n1), reinterpret_cast<ast*const*>(n2));
}
#endif

View file

@ -18,8 +18,7 @@ Revision History:
2012-11-17 - ast_smt2_pp is the official pretty printer in Z3
--*/
#ifndef AST_PP_H_
#define AST_PP_H_
#pragma once
#include "ast/ast_smt2_pp.h"
@ -54,5 +53,4 @@ inline std::ostream& operator<<(std::ostream & out, mk_pp_vec const & pp) {
return out;
}
#endif

View file

@ -4,8 +4,7 @@ Abstract: Pretty-printer for proofs in Graphviz format
--*/
#ifndef _AST_PP_DOT_
#define _AST_PP_DOT_
#pragma once
#include <iostream>
#include "ast/ast_pp.h"
@ -26,4 +25,3 @@ std::string escape_dot(std::string const & s);
std::ostream &operator<<(std::ostream &out, const ast_pp_dot & p);
#endif /* AST_PP_DOT */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef AST_PP_UTIL_H_
#define AST_PP_UTIL_H_
#pragma once
#include "ast/decl_collector.h"
#include "ast/ast_smt2_pp.h"
@ -64,4 +63,3 @@ class ast_pp_util {
smt2_pp_environment& env() { return m_env; }
};
#endif /* AST_PP_UTIL_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef AST_PRINTER_H_
#define AST_PRINTER_H_
#pragma once
#include "ast/ast.h"
#include "ast/ast_smt2_pp.h"
@ -54,4 +53,3 @@ public:
ast_printer_context * mk_simple_ast_printer_context(ast_manager & m);
#endif

View file

@ -19,8 +19,7 @@ Revision History:
--*/
#ifndef AST_SMT2_PP_H_
#define AST_SMT2_PP_H_
#pragma once
#include "ast/format.h"
#include "util/params.h"
@ -137,4 +136,3 @@ std::ostream& operator<<(std::ostream& out, var_ref_vector const& e);
std::ostream& operator<<(std::ostream& out, func_decl_ref_vector const& e);
std::ostream& operator<<(std::ostream& out, sort_ref_vector const& e);
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef AST_SMT_PP_H_
#define AST_SMT_PP_H_
#pragma once
#include "ast/ast.h"
#include<string>
@ -101,4 +100,3 @@ inline std::ostream& operator<<(std::ostream& out, const mk_smt_pp & p) {
#endif

View file

@ -19,8 +19,7 @@ Revision History:
nbjorner 2014-9-28
--*/
#ifndef AST_TRAIL_H_
#define AST_TRAIL_H_
#pragma once
#include "ast/ast.h"
#include "util/trail.h"
@ -72,5 +71,4 @@ public:
};
#endif /* AST_TRAIL_H_ */

View file

@ -18,8 +18,7 @@ Revision History:
2011-05-26: New local translation class.
--*/
#ifndef AST_TRANSLATION_H_
#define AST_TRANSLATION_H_
#pragma once
#include "ast/ast.h"
@ -128,4 +127,3 @@ inline expr_dependency * translate(expr_dependency * d, ast_manager & from, ast_
return td(d);
}
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef AST_UTIL_H_
#define AST_UTIL_H_
#pragma once
#include "ast/ast.h"
#include "util/obj_hashtable.h"
@ -172,4 +171,3 @@ void flatten_or(expr* fml, expr_ref_vector& result);
bool has_uninterpreted(ast_manager& m, expr* e);
#endif /* AST_UTIL_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef BV_DECL_PLUGIN_H_
#define BV_DECL_PLUGIN_H_
#pragma once
#include "ast/ast.h"
@ -484,5 +483,4 @@ public:
};
#endif /* BV_DECL_PLUGIN_H_ */

View file

@ -20,8 +20,7 @@ Revision History:
--*/
#ifndef DATATYPE_DECL_PLUGIN_H_
#define DATATYPE_DECL_PLUGIN_H_
#pragma once
#include "ast/ast.h"
#include "util/buffer.h"
@ -431,4 +430,3 @@ inline void del_datatype_decl(datatype_decl * d) {}
inline void del_datatype_decls(unsigned num, datatype_decl * const * ds) {}
#endif /* DATATYPE_DECL_PLUGIN_H_ */

View file

@ -17,8 +17,7 @@ Author:
Revision History:
--*/
#ifndef SMT_DECL_COLLECTOR_H_
#define SMT_DECL_COLLECTOR_H_
#pragma once
#include "util/top_sort.h"
#include "ast/ast.h"
@ -69,4 +68,3 @@ public:
ptr_vector<func_decl> const& get_func_decls() const { return m_decls; }
};
#endif

View file

@ -16,11 +16,9 @@ Author:
Revision History:
--*/
#ifndef DISPLAY_DIMACS_H_
#define DISPLAY_DIMACS_H_
#pragma once
#include "ast.h"
std::ostream& display_dimacs(std::ostream& out, expr_ref_vector const& fmls, bool include_names);
#endif /* DISPLAY_DIMACS_H__ */

View file

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

View file

@ -17,8 +17,7 @@ Author:
Notes:
--*/
#ifndef EXPR2POLYNOMIAL_H_
#define EXPR2POLYNOMIAL_H_
#pragma once
#include "ast/ast.h"
#include "math/polynomial/polynomial.h"
@ -109,4 +108,3 @@ protected:
polynomial::var mk_var(bool is_int) override;
};
#endif

View file

@ -20,8 +20,7 @@ Author:
Notes:
--*/
#ifndef EXPR2VAR_H_
#define EXPR2VAR_H_
#pragma once
#include "ast/ast.h"
#include "util/obj_hashtable.h"
@ -78,4 +77,3 @@ public:
void pop(unsigned num_scopes);
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef EXPR_ABSTRACT_H_
#define EXPR_ABSTRACT_H_
#pragma once
#include "ast/ast.h"
@ -41,6 +40,5 @@ expr_ref mk_exists(ast_manager& m, unsigned num_bound, app* const* bound, expr*
inline expr_ref mk_forall(ast_manager& m, app* b, expr* n) { return mk_forall(m, 1, &b, n); }
inline expr_ref mk_forall(ast_manager& m, expr* b, expr* n) { return mk_forall(m, to_app(b), n); }
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef EXPR_DELTA_PAIR_H_
#define EXPR_DELTA_PAIR_H_
#pragma once
/**
\brief Auxiliary structure used to cache the intermediate results of the variable substitution procedure.
@ -32,5 +31,4 @@ struct expr_delta_pair {
bool operator==(const expr_delta_pair & e) const { return m_node == e.m_node && m_delta == e.m_delta; }
};
#endif /* EXPR_DELTA_PAIR_H_ */

View file

@ -19,8 +19,7 @@ Revision History:
--*/
#ifndef EXPR_FUNCTORS_H_
#define EXPR_FUNCTORS_H_
#pragma once
#include "ast/ast.h"
#include "ast/expr_map.h"
@ -128,4 +127,3 @@ public:
};
#endif

View file

@ -18,8 +18,7 @@ Author:
Notes:
--*/
#ifndef EXPR_MAP_H_
#define EXPR_MAP_H_
#pragma once
#include "ast/ast.h"
#include "util/obj_hashtable.h"
@ -59,4 +58,3 @@ public:
}
};
#endif

View file

@ -19,8 +19,7 @@ Author:
Revision History:
--*/
#ifndef EXPR_STAT_H_
#define EXPR_STAT_H_
#pragma once
class expr;
@ -47,4 +46,3 @@ void get_expr_stat(expr * n, expr_stat & r);
*/
unsigned get_symbol_count(expr * n);
#endif /* EXPR_STAT_H_ */

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef EXPR_SUBSTITUTION_H_
#define EXPR_SUBSTITUTION_H_
#pragma once
#include "ast/ast.h"
@ -92,4 +91,3 @@ public:
std::ostream& display(std::ostream& out) { return m_subst.display(out); }
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef FOR_EACH_AST_H_
#define FOR_EACH_AST_H_
#pragma once
#include "ast/ast.h"
#include "util/trace.h"
@ -270,5 +269,4 @@ private:
}
};
#endif /* FOR_EACH_AST_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef FOR_EACH_EXPR_H_
#define FOR_EACH_EXPR_H_
#pragma once
#include "ast/ast.h"
#include "util/trace.h"
@ -209,5 +208,4 @@ public:
iterator end();
};
#endif /* FOR_EACH_EXPR_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef FORMAT_H_
#define FORMAT_H_
#pragma once
#include "ast/ast.h"
@ -193,5 +192,4 @@ namespace format_ns {
};
#endif /* FORMAT_H_ */

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef BV2FPA_CONVERTER_H_
#define BV2FPA_CONVERTER_H_
#pragma once
#include "ast/fpa_decl_plugin.h"
#include "ast/bv_decl_plugin.h"
@ -70,4 +69,3 @@ public:
array_model convert_array_func_interp(model_core * mc, func_decl * f, func_decl * bv_f);
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef FPA2BV_CONVERTER_H_
#define FPA2BV_CONVERTER_H_
#pragma once
#include "ast/ast.h"
#include "util/obj_hashtable.h"
@ -225,4 +224,3 @@ private:
expr_ref extra_quantify(expr * e);
};
#endif

View file

@ -17,8 +17,7 @@ Notes:
--*/
#ifndef FPA2BV_REWRITER_H_
#define FPA2BV_REWRITER_H_
#pragma once
#include "ast/rewriter/rewriter.h"
#include "ast/bv_decl_plugin.h"
@ -77,4 +76,3 @@ struct fpa2bv_rewriter : public rewriter_tpl<fpa2bv_rewriter_cfg> {
}
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef fpa_decl_plugin_H_
#define fpa_decl_plugin_H_
#pragma once
#include "ast/ast.h"
#include "util/id_gen.h"
@ -363,4 +362,3 @@ public:
MATCH_TERNARY(is_fp);
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef FUNC_DECL_DEPENDENCIES_H_
#define FUNC_DECL_DEPENDENCIES_H_
#pragma once
#include "ast/ast.h"
#include "util/obj_hashtable.h"
@ -107,4 +106,3 @@ public:
};
#endif

View file

@ -16,12 +16,10 @@ Author:
Revision History:
--*/
#ifndef HAS_FREE_VARS_H_
#define HAS_FREE_VARS_H_
#pragma once
class expr;
bool has_free_vars(expr * n);
#endif /* HAS_FREE_VARS_H_ */

View file

@ -18,8 +18,7 @@ Author:
Notes:
--*/
#ifndef MACRO_SUBSTITUTION_H_
#define MACRO_SUBSTITUTION_H_
#pragma once
#include "ast/ast.h"
@ -56,4 +55,3 @@ public:
void cleanup();
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef MACRO_FINDER_H_
#define MACRO_FINDER_H_
#pragma once
#include "ast/macros/macro_manager.h"
@ -47,5 +46,4 @@ public:
void operator()(unsigned n, justified_expr const* fmls, vector<justified_expr>& new_fmls);
};
#endif /* MACRO_FINDER_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef MACRO_MANAGER_H_
#define MACRO_MANAGER_H_
#pragma once
#include "util/obj_hashtable.h"
#include "ast/ast_util.h"
@ -91,5 +90,4 @@ public:
};
#endif /* MACRO_MANAGER_H_ */

View file

@ -17,8 +17,7 @@ Author:
Revision History:
--*/
#ifndef MACRO_UTIL_H_
#define MACRO_UTIL_H_
#pragma once
#include "ast/ast.h"
#include "util/obj_hashtable.h"
@ -136,4 +135,3 @@ public:
void mk_add(unsigned num_args, expr * const * args, sort * s, expr_ref & r) const;
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef QUASI_MACROS_H_
#define QUASI_MACROS_H_
#pragma once
#include<sstream>
#include "ast/justified_expr.h"
@ -70,4 +69,3 @@ public:
};
#endif

View file

@ -17,8 +17,7 @@ Author:
Revision History:
--*/
#ifndef DEFINED_NAMES_H_
#define DEFINED_NAMES_H_
#pragma once
#include "ast/ast.h"
@ -90,5 +89,4 @@ public:
func_decl * get_name_decl(unsigned i) const;
};
#endif /* DEFINED_NAMES_H_ */

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef NAME_EXPRS_H_
#define NAME_EXPRS_H_
#pragma once
#include "ast/ast.h"
#include "ast/normal_forms/defined_names.h"
@ -59,4 +58,3 @@ name_exprs * mk_nested_formula_namer(ast_manager & m, defined_names & n);
void del_name_exprs(name_exprs * functor);
#endif

View file

@ -17,8 +17,7 @@ Notes:
Major revision on 2011-10-06
--*/
#ifndef NNF_H_
#define NNF_H_
#pragma once
#include "ast/ast.h"
#include "util/params.h"
@ -48,4 +47,3 @@ public:
void reset_cache();
};
#endif /* NNF_H_ */

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef PULL_QUANT_H_
#define PULL_QUANT_H_
#pragma once
#include "ast/ast.h"
@ -56,4 +55,3 @@ public:
void reset();
};
#endif /* PULL_QUANT_H_ */

View file

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

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef OCCURS_H_
#define OCCURS_H_
#pragma once
class expr;
class func_decl;
@ -32,5 +31,4 @@ bool occurs(expr * n1, expr * n2);
*/
bool occurs(func_decl * d, expr * n);
#endif /* OCCURS_H_ */

View file

@ -17,8 +17,7 @@ Author:
Notes:
--*/
#ifndef EXPR_PATTERN_MATCH_H_
#define EXPR_PATTERN_MATCH_H_
#pragma once
#include "ast/ast.h"
#include "util/map.h"
@ -134,4 +133,3 @@ class expr_pattern_match {
void display(std::ostream& out, instr const& pc) const;
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef PATTERN_INFERENCE_H_
#define PATTERN_INFERENCE_H_
#pragma once
#include "ast/ast.h"
#include "ast/rewriter/rewriter.h"
@ -256,5 +255,4 @@ public:
pattern_inference_rw(ast_manager& m, pattern_inference_params & params);
};
#endif /* PATTERN_INFERENCE_H_ */

View file

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

View file

@ -24,8 +24,7 @@ hence:
--*/
#ifndef PB_DECL_PLUGIN_H_
#define PB_DECL_PLUGIN_H_
#pragma once
#include "ast/ast.h"
@ -130,5 +129,4 @@ private:
#endif /* PB_DECL_PLUGIN_H_ */

View file

@ -16,13 +16,11 @@ Author:
Revision History:
--*/
#ifndef PP_H_
#define PP_H_
#pragma once
#include "ast/format.h"
#include "util/params.h"
void pp(std::ostream & out, format_ns::format * f, ast_manager & m, params_ref const & p = params_ref());
#endif /* PP_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef PROOF_CHECKER_H_
#define PROOF_CHECKER_H_
#pragma once
#include "ast/ast.h"
#include "util/map.h"
@ -115,4 +114,3 @@ private:
void set_false(expr_ref& e, unsigned idx, expr_ref& lit);
};
#endif

View file

@ -17,8 +17,7 @@ Revision History:
--*/
#ifndef PROOF_UTILS_H_
#define PROOF_UTILS_H_
#pragma once
#include "ast/ast.h"
#include "ast/ast_pp.h"
#include "ast/rewriter/bool_rewriter.h"
@ -244,4 +243,3 @@ public:
}
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef RECURSE_EXPR_H_
#define RECURSE_EXPR_H_
#pragma once
#include "ast/ast.h"
#include "util/obj_hashtable.h"
@ -44,4 +43,3 @@ public:
void finalize() { m_cache.finalize(); m_todo.finalize(); }
};
#endif /* RECURSE_EXPR_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef RECURSE_EXPR_DEF_H_
#define RECURSE_EXPR_DEF_H_
#pragma once
#include "ast/recurse_expr.h"
@ -106,4 +105,3 @@ T recurse_expr<T, Visitor, IgnorePatterns, CallDestructors>::operator()(expr * r
return get_cached(r);
}
#endif /* RECURSE_EXPR_DEF_H_ */

View file

@ -17,11 +17,9 @@ Author:
Revision History:
--*/
#ifndef REG_DECL_PLUGINS_H_
#define REG_DECL_PLUGINS_H_
#pragma once
class ast_manager;
void reg_decl_plugins(ast_manager & m);
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef ARITH_REWRITER_H_
#define ARITH_REWRITER_H_
#pragma once
#include "ast/rewriter/poly_rewriter.h"
#include "ast/arith_decl_plugin.h"
@ -194,4 +193,3 @@ public:
br_status mk_tanh_core(expr * arg, expr_ref & result);
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef ARRAY_REWRITER_H_
#define ARRAY_REWRITER_H_
#pragma once
#include "ast/array_decl_plugin.h"
#include "ast/rewriter/rewriter_types.h"
@ -96,4 +95,3 @@ public:
};
#endif

View file

@ -21,8 +21,7 @@ Revision History:
--*/
#ifndef AST_COUNTER_H_
#define AST_COUNTER_H_
#pragma once
#include "ast/ast.h"
#include "util/map.h"
@ -103,4 +102,3 @@ class ast_counter {
void dec(ast * el) { update(el, -1); }
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef BIT2INT_H_
#define BIT2INT_H_
#pragma once
#include "ast/bv_decl_plugin.h"
#include "ast/arith_decl_plugin.h"
@ -88,5 +87,4 @@ public:
void operator()(expr * m, expr_ref & result, proof_ref& p);
};
#endif /* BIT2INT_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef BIT_BLASTER_H_
#define BIT_BLASTER_H_
#pragma once
#include "ast/rewriter/bool_rewriter.h"
#include "ast/rewriter/bit_blaster/bit_blaster_params.h"
@ -62,5 +61,4 @@ public:
bit_blaster_params const & get_params() const { return this->m_params; }
};
#endif /* BIT_BLASTER_H_ */

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef BIT_BLASTER_PARAMS_H_
#define BIT_BLASTER_PARAMS_H_
#pragma once
struct bit_blaster_params {
bool m_bb_ext_gates;
@ -39,5 +38,4 @@ struct bit_blaster_params {
}
};
#endif /* BIT_BLASTER_PARAMS_H_ */

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef BIT_BLASTER_REWRITER_H_
#define BIT_BLASTER_REWRITER_H_
#pragma once
#include "ast/ast.h"
#include "util/obj_hashtable.h"
@ -44,5 +43,4 @@ private:
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef BIT_BLASTER_TPL_H_
#define BIT_BLASTER_TPL_H_
#pragma once
#include "util/rational.h"
@ -130,4 +129,3 @@ public:
void mk_abs(unsigned sz, expr * const * a_bits, expr_ref_vector & out_bits);
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef BOOL_REWRITER_H_
#define BOOL_REWRITER_H_
#pragma once
#include "ast/ast.h"
#include "ast/rewriter/rewriter.h"
@ -239,4 +238,3 @@ public:
m_cfg(m, p) {}
};
#endif

View file

@ -17,8 +17,7 @@
Revision History:
--*/
#ifndef BV_BOUNDS_H_23754
#define BV_BOUNDS_H_23754
#pragma once
#include "ast/ast.h"
#include "ast/bv_decl_plugin.h"
#include "ast/rewriter/rewriter_types.h"
@ -127,4 +126,3 @@ inline bool bv_bounds::is_constant_add(unsigned bv_sz, expr * e, app*& v, numera
}
#endif /* BV_BOUNDS_H_23754 */

View file

@ -17,8 +17,7 @@ Author:
Revision History:
--*/
#ifndef BV_ELIM_H_
#define BV_ELIM_H_
#pragma once
#include "ast/ast.h"
#include "ast/rewriter/rewriter.h"
@ -46,5 +45,4 @@ public:
{}
};
#endif /* BV_ELIM_H_ */

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef BV_REWRITER_H_
#define BV_REWRITER_H_
#pragma once
#include "ast/rewriter/poly_rewriter.h"
#include "ast/bv_decl_plugin.h"
@ -219,4 +218,3 @@ public:
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef DATATYPE_REWRITER_H_
#define DATATYPE_REWRITER_H_
#pragma once
#include "ast/datatype_decl_plugin.h"
#include "ast/rewriter/rewriter_types.h"
@ -32,4 +31,3 @@ public:
br_status mk_eq_core(expr * lhs, expr * rhs, expr_ref & result);
};
#endif

View file

@ -18,8 +18,7 @@ Revision History:
Christoph Wintersteiger, 2010-03-30: Added Destr. Multi-Equality Resolution
--*/
#ifndef DER_H_
#define DER_H_
#pragma once
#include "ast/ast.h"
#include "ast/rewriter/var_subst.h"
@ -179,5 +178,4 @@ public:
typedef der_rewriter der_star;
#endif /* DER_H_ */

View file

@ -18,8 +18,7 @@ Revision History:
Christoph Wintersteiger 2010-04-06: Added implementation
--*/
#ifndef DISTRIBUTE_FORALL_H_
#define DISTRIBUTE_FORALL_H_
#pragma once
#include "ast/ast.h"
#include "ast/act_cache.h"
@ -77,4 +76,3 @@ protected:
void flush_cache() { m_cache.cleanup(); }
};
#endif /* DISTRIBUTE_FORALL_H_ */

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef DL_REWRITER_H_
#define DL_REWRITER_H_
#pragma once
#include "ast/dl_decl_plugin.h"
#include "ast/rewriter/rewriter_types.h"
@ -30,4 +29,3 @@ public:
br_status mk_app_core(func_decl * f, unsigned num_args, expr * const * args, expr_ref & result);
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef ELIM_BOUNDS2_H_
#define ELIM_BOUNDS2_H_
#pragma once
#include "ast/ast.h"
#include "ast/arith_decl_plugin.h"
@ -73,5 +72,4 @@ public:
~elim_bounds_rw() override {}
};
#endif /* ELIM_BOUNDS2_H_ */

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef ENUM_REWRITER_H_
#define ENUM_REWRITER_H_
#pragma once
#include "ast/datatype_decl_plugin.h"
#include "ast/rewriter/rewriter_types.h"
@ -45,4 +44,3 @@ public:
void set_is_fd(i_sort_pred* sp) const;
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef EXPR_REPLACER_H_
#define EXPR_REPLACER_H_
#pragma once
#include "ast/ast.h"
#include "ast/expr_substitution.h"
@ -56,4 +55,3 @@ expr_replacer * mk_default_expr_replacer(ast_manager & m, bool proofs_allowed);
*/
expr_replacer * mk_expr_simp_replacer(ast_manager & m, params_ref const & p = params_ref());
#endif

View file

@ -19,8 +19,7 @@ Revision History:
--*/
#ifndef EXPR_SAFE_REPLACE_H_
#define EXPR_SAFE_REPLACE_H_
#pragma once
#include "ast/ast.h"
@ -51,4 +50,3 @@ public:
bool empty() const { return m_subst.empty(); }
};
#endif /* EXPR_SAFE_REPLACE_H_ */

View file

@ -25,8 +25,7 @@ Revision History:
*/
#ifndef FACTOR_EQUIVS_H_
#define FACTOR_EQUIVS_H_
#pragma once
#include "util/union_find.h"
#include "ast/ast_util.h"
@ -187,4 +186,3 @@ void equiv_to_expr(expr_equiv_class &equiv, expr_ref_vector &out);
bool equiv_to_expr_full(expr_equiv_class &equiv, expr_ref_vector &out);
#endif

View file

@ -17,8 +17,7 @@ Author:
Notes:
--*/
#ifndef FACTOR_REWRITER_H_
#define FACTOR_REWRITER_H_
#pragma once
#include "ast/ast.h"
#include "ast/rewriter/rewriter.h"
@ -75,4 +74,3 @@ public:
m_cfg(m) {}
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef FLOAT_REWRITER_H_
#define FLOAT_REWRITER_H_
#pragma once
#include "ast/ast.h"
#include "ast/rewriter/rewriter.h"
@ -92,4 +91,3 @@ public:
br_status mk_bvwrap(expr * arg, expr_ref & result);
};
#endif

View file

@ -18,8 +18,7 @@ Revision History:
--*/
#ifndef FUNC_DECL_REPLACE_H_
#define FUNC_DECL_REPLACE_H_
#pragma once
#include "ast/ast.h"
@ -43,4 +42,3 @@ public:
bool empty() const { return m_subst.empty(); }
};
#endif /* FUNC_DECL_REPLACE_H_ */

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef HOIST_REWRITER_H_
#define HOIST_REWRITER_H_
#pragma once
#include "ast/ast.h"
#include "ast/rewriter/rewriter.h"
@ -77,4 +76,3 @@ public:
m_cfg(m, p) {}
};
#endif

View file

@ -16,12 +16,10 @@ Author:
Revision History:
--*/
#ifndef INJ_AXIOM_H_
#define INJ_AXIOM_H_
#pragma once
#include "ast/ast.h"
bool simplify_inj_axiom(ast_manager & m, quantifier * q, expr_ref & result);
#endif /* INJ_AXIOM_H_ */

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef LABEL_REWRITER_H_
#define LABEL_REWRITER_H_
#pragma once
#include "ast/ast.h"
#include "ast/rewriter/rewriter_types.h"
@ -38,4 +37,3 @@ public:
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef MAXIMIZE_AC_SHARING_H_
#define MAXIMIZE_AC_SHARING_H_
#pragma once
#include "util/hashtable.h"
#include "util/region.h"
@ -121,5 +120,4 @@ public:
void reset() { m_cfg.reset(); }
};
#endif /* MAXIMIZE_AC_SHARING_H_ */

View file

@ -14,8 +14,7 @@
Revision History:
--*/
#ifndef MK_EXTRACT_PROC_H_
#define MK_EXTRACT_PROC_H_
#pragma once
#include "ast/ast.h"
#include "ast/bv_decl_plugin.h"
class mk_extract_proc {
@ -31,4 +30,3 @@ public:
ast_manager & m() { return m_util.get_manager(); }
bv_util & bvutil() { return m_util; }
};
#endif /* MK_EXTRACT_PROC_H_ */

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef MK_SIMPLIFIED_APP_H_
#define MK_SIMPLIFIED_APP_H_
#pragma once
#include "ast/ast.h"
#include "util/params.h"
@ -34,4 +33,3 @@ public:
void operator()(func_decl * decl, unsigned num, expr * const * args, expr_ref & result);
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef PB2BV_REWRITER_H_
#define PB2BV_REWRITER_H_
#pragma once
#include "ast/pb_decl_plugin.h"
#include "ast/rewriter/rewriter_types.h"
@ -44,4 +43,3 @@ public:
void collect_statistics(statistics & st) const;
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef PB_REWRITER_H_
#define PB_REWRITER_H_
#pragma once
#include "ast/pb_decl_plugin.h"
#include "ast/rewriter/rewriter_types.h"
@ -62,4 +61,3 @@ public:
void dump_pb_rewrite(expr* fml);
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef PB_REWRITER_DEF_H_
#define PB_REWRITER_DEF_H_
#pragma once
#include "ast/rewriter/pb_rewriter.h"
@ -298,4 +297,3 @@ void pb_rewriter_util<PBU>::prune(typename PBU::args_t& args, typename PBU::nume
}
}
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef POLY_REWRITER_H_
#define POLY_REWRITER_H_
#pragma once
#include "ast/ast.h"
#include "util/obj_hashtable.h"
@ -176,4 +175,3 @@ public:
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Revision History:
--*/
#ifndef PUSH_APP_ITE_H_
#define PUSH_APP_ITE_H_
#pragma once
#include "ast/ast.h"
#include "ast/rewriter/rewriter.h"
@ -70,5 +69,4 @@ public:
};
#endif /* PUSH_APP_ITE_H_ */

View file

@ -19,8 +19,7 @@ Revision History:
--*/
#ifndef QUANTIFIER_HOISTER_H_
#define QUANTIFIER_HOISTER_H_
#pragma once
#include "ast/ast.h"
@ -70,4 +69,3 @@ public:
};
#endif

View file

@ -22,8 +22,7 @@ Revision History:
--*/
#ifndef RECFUN_REPLACE_H_
#define RECFUN_REPLACE_H_
#pragma once
#include "ast/recfun_decl_plugin.h"
#include "ast/rewriter/expr_safe_replace.h"
@ -39,4 +38,3 @@ public:
expr_ref operator()(expr* e) override { expr_ref r(m); m_replace(e, r); return r; }
};
#endif /* RECFUN_REPLACE_H_ */

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef REWRITER_H_
#define REWRITER_H_
#pragma once
#include "ast/ast.h"
#include "ast/rewriter/rewriter_types.h"
@ -407,4 +406,3 @@ public:
rewriter_tpl<beta_reducer_cfg>(m, false, m_cfg) {}
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef REWRITER_TYPES_H_
#define REWRITER_TYPES_H_
#pragma once
#include "util/z3_exception.h"
#include "util/common_msgs.h"
@ -49,4 +48,3 @@ public:
rewriter_exception(std::string && msg) : default_exception(std::move(msg)) {}
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef SEQ_REWRITER_H_
#define SEQ_REWRITER_H_
#pragma once
#include "ast/seq_decl_plugin.h"
#include "ast/ast_pp.h"
@ -341,4 +340,3 @@ public:
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef TH_REWRITER_H_
#define TH_REWRITER_H_
#pragma once
#include "ast/ast.h"
#include "ast/rewriter/rewriter_types.h"
@ -72,4 +71,3 @@ public:
};
#endif

View file

@ -16,8 +16,7 @@ Author:
Notes:
--*/
#ifndef VAR_SUBST_H_
#define VAR_SUBST_H_
#pragma once
#include "ast/rewriter/rewriter.h"
#include "ast/used_vars.h"
@ -108,6 +107,5 @@ public:
sort*const* c_ptr() const { return m_sorts.c_ptr(); }
};
#endif

Some files were not shown because too many files have changed in this diff Show more