mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 03:32:28 +00:00 
			
		
		
		
	booyah
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									10d0404175
								
							
						
					
					
						commit
						d0e20e44ff
					
				
					 714 changed files with 714 additions and 2142 deletions
				
			
		|  | @ -14,12 +14,10 @@ | |||
| 
 | ||||
|  Revision History: | ||||
|  --*/ | ||||
| #ifndef ACKERMANNIZE_BV_MODEL_CONVERTER_H_ | ||||
| #define ACKERMANNIZE_BV_MODEL_CONVERTER_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "tactic/model_converter.h" | ||||
| #include "ackermannization/ackr_info.h" | ||||
| 
 | ||||
| model_converter * mk_ackermannize_bv_model_converter(ast_manager & m, const ackr_info_ref& info); | ||||
| 
 | ||||
| #endif /* ACKERMANNIZE_BV_MODEL_CONVERTER_H_ */ | ||||
|  |  | |||
|  | @ -14,8 +14,7 @@ Mikolas Janota | |||
| Revision History: | ||||
| --*/ | ||||
| 
 | ||||
| #ifndef _ACKERMANNIZE_TACTIC_H_ | ||||
| #define _ACKERMANNIZE_TACTIC_H_ | ||||
| #pragma once | ||||
| #include "tactic/tactical.h" | ||||
| 
 | ||||
| tactic * mk_ackermannize_bv_tactic(ast_manager & m, params_ref const & p); | ||||
|  | @ -24,5 +23,4 @@ tactic * mk_ackermannize_bv_tactic(ast_manager & m, params_ref const & p); | |||
|   ADD_TACTIC("ackermannize_bv", "A tactic for performing full Ackermannization on bv instances.", "mk_ackermannize_bv_tactic(m, p)") | ||||
| */ | ||||
| 
 | ||||
| #endif | ||||
| 
 | ||||
|  |  | |||
|  | @ -15,8 +15,7 @@ | |||
| 
 | ||||
|  Revision History: | ||||
|  --*/ | ||||
| #ifndef ACKR_BOUND_PROBE_H_ | ||||
| #define ACKR_BOUND_PROBE_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "tactic/probe.h" | ||||
| 
 | ||||
|  | @ -26,4 +25,3 @@ probe * mk_ackr_bound_probe(); | |||
|   ADD_PROBE("ackr-bound-probe", "A probe to give an upper bound of Ackermann congruence lemmas that a formula might generate.", "mk_ackr_bound_probe()") | ||||
| */ | ||||
| 
 | ||||
| #endif /* ACKR_BOUND_PROBE_H_ */ | ||||
|  |  | |||
|  | @ -14,8 +14,7 @@ | |||
| 
 | ||||
|  Revision History: | ||||
|  --*/ | ||||
| #ifndef ACKR_HELPER_H_ | ||||
| #define ACKR_HELPER_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "ast/bv_decl_plugin.h" | ||||
| #include "ast/array_decl_plugin.h" | ||||
|  | @ -151,4 +150,3 @@ private: | |||
|     bv_util                              m_bvutil; | ||||
|     array_util                           m_autil; | ||||
| }; | ||||
| #endif /* ACKR_HELPER_H_ */ | ||||
|  |  | |||
|  | @ -13,8 +13,7 @@ Mikolas Janota | |||
| 
 | ||||
| Revision History: | ||||
| --*/ | ||||
| #ifndef ACKR_INFO_H_ | ||||
| #define ACKR_INFO_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "util/ref.h" | ||||
| #include "util/obj_hashtable.h" | ||||
|  | @ -119,4 +118,3 @@ class ackr_info { | |||
| 
 | ||||
| typedef ref<ackr_info> ackr_info_ref; | ||||
| 
 | ||||
| #endif /* ACKR_INFO_H_ */ | ||||
|  |  | |||
|  | @ -13,8 +13,7 @@ Author: | |||
| 
 | ||||
| Revision History: | ||||
| --*/ | ||||
| #ifndef ACKR_MODEL_CONVERTER_H_ | ||||
| #define ACKR_MODEL_CONVERTER_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "tactic/model_converter.h" | ||||
| #include "ackermannization/ackr_info.h" | ||||
|  | @ -22,4 +21,3 @@ Revision History: | |||
| model_converter * mk_ackr_model_converter(ast_manager & m, const ackr_info_ref & info, model_ref & abstr_model); | ||||
| model_converter * mk_ackr_model_converter(ast_manager & m, const ackr_info_ref & info); | ||||
| 
 | ||||
| #endif /* LACKR_MODEL_CONVERTER_H_ */ | ||||
|  |  | |||
|  | @ -14,8 +14,7 @@ | |||
| 
 | ||||
|  Revision History: | ||||
|  --*/ | ||||
| #ifndef LACKR_H_ | ||||
| #define LACKR_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "util/lbool.h" | ||||
| #include "util/util.h" | ||||
|  | @ -129,4 +128,3 @@ class lackr { | |||
|         void abstract_fun(fun2terms_map const& apps); | ||||
| 
 | ||||
| }; | ||||
| #endif /* LACKR_H_ */ | ||||
|  |  | |||
|  | @ -15,8 +15,7 @@ | |||
| 
 | ||||
|  Revision History: | ||||
|  --*/ | ||||
| #ifndef LACKR_MODEL_CONSTRUCTOR_H_ | ||||
| #define LACKR_MODEL_CONSTRUCTOR_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "ast/ast.h" | ||||
| #include "ackermannization/ackr_info.h" | ||||
|  | @ -58,4 +57,3 @@ class lackr_model_constructor { | |||
| }; | ||||
| 
 | ||||
| typedef ref<lackr_model_constructor> lackr_model_constructor_ref; | ||||
| #endif /* MODEL_CONSTRUCTOR_H_ */ | ||||
|  |  | |||
|  | @ -14,12 +14,10 @@ | |||
| 
 | ||||
|  Revision History: | ||||
|  --*/ | ||||
| #ifndef LACKR_MODEL_CONVERTER_LAZY_H_ | ||||
| #define LACKR_MODEL_CONVERTER_LAZY_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "tactic/model_converter.h" | ||||
| #include "ackermannization/ackr_info.h" | ||||
| 
 | ||||
| model_converter * mk_lackr_model_converter_lazy(ast_manager & m, const ackr_info_ref& info, model_ref& abstr_model); | ||||
| 
 | ||||
| #endif /* LACKR_MODEL_CONVERTER_LAZY_H_ */ | ||||
|  |  | |||
|  | @ -15,8 +15,7 @@ Author: | |||
| Revision History: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef API_AST_MAP_H_ | ||||
| #define API_AST_MAP_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "api/api_util.h" | ||||
| #include "util/obj_hashtable.h" | ||||
|  | @ -32,4 +31,3 @@ inline Z3_ast_map_ref * to_ast_map(Z3_ast_map v) { return reinterpret_cast<Z3_as | |||
| inline Z3_ast_map of_ast_map(Z3_ast_map_ref * v) { return reinterpret_cast<Z3_ast_map>(v); } | ||||
| inline obj_map<ast, ast*> & to_ast_map_ref(Z3_ast_map v) { return to_ast_map(v)->m_map; } | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -15,8 +15,7 @@ Author: | |||
| Revision History: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef API_AST_VECTOR_H_ | ||||
| #define API_AST_VECTOR_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "api/api_util.h" | ||||
| 
 | ||||
|  | @ -34,4 +33,3 @@ inline Z3_ast_vector_ref * to_ast_vector(Z3_ast_vector v) { return reinterpret_c | |||
| inline Z3_ast_vector of_ast_vector(Z3_ast_vector_ref * v) { return reinterpret_cast<Z3_ast_vector>(v); } | ||||
| inline ast_ref_vector & to_ast_vector_ref(Z3_ast_vector v) { return to_ast_vector(v)->m_ast_vector; } | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -16,8 +16,7 @@ Author: | |||
| Revision History: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef API_DATALOG_H_ | ||||
| #define API_DATALOG_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "api/z3.h" | ||||
| #include "ast/ast.h" | ||||
|  | @ -46,4 +45,3 @@ inline Z3_fixedpoint of_datalog(Z3_fixedpoint_ref * s) { return reinterpret_cast | |||
| inline api::fixedpoint_context * to_fixedpoint_ref(Z3_fixedpoint s) { return to_fixedpoint(s)->m_datalog; } | ||||
| 
 | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -15,8 +15,7 @@ Author: | |||
| Revision History: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef API_GOAL_H_ | ||||
| #define API_GOAL_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "api/api_util.h" | ||||
| #include "tactic/goal.h" | ||||
|  | @ -31,4 +30,3 @@ inline Z3_goal_ref * to_goal(Z3_goal g) { return reinterpret_cast<Z3_goal_ref *> | |||
| inline Z3_goal of_goal(Z3_goal_ref * g) { return reinterpret_cast<Z3_goal>(g); } | ||||
| inline goal_ref to_goal_ref(Z3_goal g) { return g == nullptr ? goal_ref() : to_goal(g)->m_goal; } | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -15,8 +15,7 @@ Author: | |||
| Revision History: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef API_MODEL_H_ | ||||
| #define API_MODEL_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "api/api_util.h" | ||||
| #include "model/model.h" | ||||
|  | @ -55,4 +54,3 @@ inline Z3_func_entry of_func_entry(Z3_func_entry_ref * s) { return reinterpret_c | |||
| inline func_entry const * to_func_entry_ref(Z3_func_entry s) { return to_func_entry(s)->m_func_entry; } | ||||
| 
 | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -16,8 +16,7 @@ Author: | |||
| Notes: | ||||
|      | ||||
| --*/ | ||||
| #ifndef API_POLYNOMIAL_H_ | ||||
| #define API_POLYNOMIAL_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "math/polynomial/polynomial.h" | ||||
| 
 | ||||
|  | @ -35,4 +34,3 @@ namespace api { | |||
| 
 | ||||
| }; | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -15,8 +15,7 @@ Author: | |||
| Revision History: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef API_SOLVER_H_ | ||||
| #define API_SOLVER_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "util/mutex.h" | ||||
| #include "api/api_util.h" | ||||
|  | @ -63,4 +62,3 @@ inline Z3_solver_ref * to_solver(Z3_solver s) { return reinterpret_cast<Z3_solve | |||
| inline Z3_solver of_solver(Z3_solver_ref * s) { return reinterpret_cast<Z3_solver>(s); } | ||||
| inline solver * to_solver_ref(Z3_solver s) { return to_solver(s)->m_solver.get(); } | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -15,8 +15,7 @@ Author: | |||
| Revision History: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef API_STATS_H_ | ||||
| #define API_STATS_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "api/api_util.h" | ||||
| #include "util/statistics.h" | ||||
|  | @ -31,4 +30,3 @@ inline Z3_stats_ref * to_stats(Z3_stats s) { return reinterpret_cast<Z3_stats_re | |||
| inline Z3_stats of_stats(Z3_stats_ref * s) { return reinterpret_cast<Z3_stats>(s); } | ||||
| inline statistics & to_stats_ref(Z3_stats s) { return to_stats(s)->m_stats; } | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -15,8 +15,7 @@ Author: | |||
| Revision History: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef API_TACTIC_H_ | ||||
| #define API_TACTIC_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "api/api_goal.h" | ||||
| #include "tactic/tactical.h" | ||||
|  | @ -57,4 +56,3 @@ struct Z3_apply_result_ref : public api::object { | |||
| inline Z3_apply_result_ref * to_apply_result(Z3_apply_result g) { return reinterpret_cast<Z3_apply_result_ref *>(g); } | ||||
| inline Z3_apply_result of_apply_result(Z3_apply_result_ref * g) { return reinterpret_cast<Z3_apply_result>(g); } | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -15,8 +15,7 @@ Author: | |||
| Revision History: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef API_UTIL_H_ | ||||
| #define API_UTIL_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "util/params.h" | ||||
| #include "util/lbool.h" | ||||
|  | @ -172,4 +171,3 @@ Z3_ast Z3_API NAME(Z3_context c, unsigned num_args, Z3_ast const* args) { \ | |||
|     Z3_CATCH_RETURN(0);                                                 \ | ||||
| } | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -18,8 +18,7 @@ Author: | |||
| Notes: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef Z3PP_H_ | ||||
| #define Z3PP_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include<cassert> | ||||
| #include<iostream> | ||||
|  | @ -3572,5 +3571,4 @@ namespace z3 { | |||
| /*@}*/ | ||||
| /*@}*/ | ||||
| #undef Z3_THROW | ||||
| #endif | ||||
| 
 | ||||
|  |  | |||
|  | @ -17,8 +17,7 @@ Notes: | |||
| 
 | ||||
| --*/ | ||||
| 
 | ||||
| #ifndef Z3NATIVE_STUBS_H_ | ||||
| #define Z3NATIVE_STUBS_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #if defined _WIN32 || defined __CYGWIN__ | ||||
|   #ifdef __GNUC__ | ||||
|  | @ -34,4 +33,3 @@ Notes: | |||
|   #endif | ||||
| #endif | ||||
|      | ||||
| #endif | ||||
|  |  | |||
|  | @ -18,8 +18,7 @@ Notes: | |||
| 
 | ||||
| --*/ | ||||
| 
 | ||||
| #ifndef Z3_H_ | ||||
| #define Z3_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include <stdio.h> | ||||
| #include <stdbool.h> | ||||
|  | @ -34,5 +33,4 @@ Notes: | |||
| #include "z3_optimization.h" | ||||
| #include "z3_fpa.h" | ||||
| #include "z3_spacer.h" | ||||
| #endif | ||||
| 
 | ||||
|  |  | |||
|  | @ -18,8 +18,7 @@ Notes: | |||
| 
 | ||||
| --*/ | ||||
| 
 | ||||
| #ifndef Z3_ALGEBRAIC_H_ | ||||
| #define Z3_ALGEBRAIC_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  | @ -248,4 +247,3 @@ extern "C" { | |||
| } | ||||
| #endif // __cplusplus
 | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -3,7 +3,6 @@ | |||
| --*/ | ||||
| 
 | ||||
| #ifndef Z3_API_H_ | ||||
| #define Z3_API_H_ | ||||
| 
 | ||||
| DEFINE_TYPE(Z3_symbol); | ||||
| DEFINE_TYPE(Z3_literals); | ||||
|  | @ -5563,7 +5562,7 @@ extern "C" { | |||
| 
 | ||||
|     /** @name Error Handling */ | ||||
|     /*@{*/ | ||||
| #ifndef SAFE_ERRORS | ||||
| #pragma once | ||||
|     /**
 | ||||
|        \brief Return the error code for the last API call. | ||||
| 
 | ||||
|  | @ -6730,4 +6729,3 @@ extern "C" { | |||
| 
 | ||||
| /*@}*/ | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -16,8 +16,7 @@ Author: | |||
| Notes: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef Z3_AST_CONTAINERS_H_ | ||||
| #define Z3_AST_CONTAINERS_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  | @ -197,4 +196,3 @@ extern "C" { | |||
| } | ||||
| #endif // __cplusplus
 | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -16,8 +16,7 @@ Author: | |||
| Notes: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef Z3_FIXEDPOINT_H_ | ||||
| #define Z3_FIXEDPOINT_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  | @ -381,4 +380,3 @@ extern "C" { | |||
| } | ||||
| #endif // __cplusplus
 | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -16,8 +16,7 @@ Author: | |||
| Notes: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef Z3_FPA_H_ | ||||
| #define Z3_FPA_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  | @ -1085,4 +1084,3 @@ extern "C" { | |||
| } | ||||
| #endif // __cplusplus
 | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -16,8 +16,7 @@ Author: | |||
| Notes: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef Z3_OPTIMIZATION_H_ | ||||
| #define Z3_OPTIMIZATION_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  | @ -359,4 +358,3 @@ extern "C" { | |||
| } | ||||
| #endif // __cplusplus
 | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -17,8 +17,7 @@ Notes: | |||
| 
 | ||||
| --*/ | ||||
| 
 | ||||
| #ifndef Z3_POLYNOMIAL_H_ | ||||
| #define Z3_POLYNOMIAL_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  | @ -51,4 +50,3 @@ extern "C" { | |||
| } | ||||
| #endif // __cplusplus
 | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -22,8 +22,7 @@ Notes: | |||
| #include "util/rational.h" | ||||
| #include "api/z3_macros.h" | ||||
| 
 | ||||
| #ifndef Z3_PRIVATE_H_ | ||||
| #define Z3_PRIVATE_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  | @ -35,5 +34,4 @@ extern "C" { | |||
| }; | ||||
| #endif // __cplusplus
 | ||||
| 
 | ||||
| #endif | ||||
| 
 | ||||
|  |  | |||
|  | @ -19,8 +19,7 @@ Author: | |||
| Notes: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef Z3_RCF_H_ | ||||
| #define Z3_RCF_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  | @ -204,4 +203,3 @@ extern "C" { | |||
| } | ||||
| #endif // __cplusplus
 | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -16,8 +16,7 @@ Author: | |||
| Notes: | ||||
|      | ||||
| --*/ | ||||
| #ifndef Z3_REPLAYER_H_ | ||||
| #define Z3_REPLAYER_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include<iostream> | ||||
| #include "api/z3.h" | ||||
|  | @ -66,4 +65,3 @@ public: | |||
|     void register_cmd(unsigned id, z3_replayer_cmd cmd, char const* name); | ||||
| }; | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -16,8 +16,7 @@ Author: | |||
| Notes: | ||||
| 
 | ||||
| --*/ | ||||
| #ifndef Z3_SPACER_H_ | ||||
| #define Z3_SPACER_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
|  | @ -140,4 +139,3 @@ extern "C" { | |||
| } | ||||
| #endif // __cplusplus
 | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -18,8 +18,7 @@ Author: | |||
| Notes: | ||||
|      | ||||
| --*/ | ||||
| #ifndef Z3_V1_H_ | ||||
| #define Z3_V1_H_ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "api/z3.h" | ||||
| 
 | ||||
|  | @ -61,4 +60,3 @@ Notes: | |||
| #define Z3_get_const_ast_decl        Z3_get_app_decl | ||||
| #define Z3_get_value                 Z3_eval_func_decl | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 */ | ||||
|  |  | |||
|  | @ -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_ */ | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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__ */ | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
|  |  | |||
|  | @ -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_ */ | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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  | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
|  |  | |||
|  | @ -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_ */ | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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_ */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
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