z3 0.0.0 → 0.0.20160221
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/bridges_solver +132 -0
- data/examples/kakuro_solver +124 -0
- data/examples/letter_connections_solver +199 -0
- data/lib/z3/ast.rb +1 -1
- data/lib/z3/low_level.rb +2 -183
- data/lib/z3/low_level_auto.rb +2063 -0
- data/lib/z3/very_low_level.rb +32 -64
- data/lib/z3/very_low_level_auto.rb +516 -0
- data/spec/integration/bridges_spec.rb +28 -0
- data/spec/integration/geometry_problem_spec.rb +1 -1
- data/spec/integration/kakuro_spec.rb +17 -0
- data/spec/integration/letter_connections_spec.rb +17 -0
- data/spec/integration/selfref_spec.rb +1 -1
- metadata +25 -3
data/lib/z3/very_low_level.rb
CHANGED
@@ -6,84 +6,52 @@ module Z3::VeryLowLevel
|
|
6
6
|
extend FFI::Library
|
7
7
|
ffi_lib "z3"
|
8
8
|
# Aliases defined just to make APIs below look nicer
|
9
|
+
ast_pointer = :pointer
|
9
10
|
ctx_pointer = :pointer
|
11
|
+
fixedpoint_pointer = :pointer
|
12
|
+
func_decl_pointer = :pointer
|
13
|
+
goal_pointer = :pointer
|
14
|
+
model_pointer = :pointer
|
15
|
+
optimize_pointer = :pointer
|
16
|
+
param_descrs_pointer = :pointer
|
17
|
+
params_pointer = :pointer
|
18
|
+
pattern_pointer = :pointer
|
19
|
+
probe_pointer = :pointer
|
10
20
|
solver_pointer = :pointer
|
11
|
-
ast_pointer = :pointer
|
12
21
|
sort_pointer = :pointer
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
22
|
+
symbol_pointer = :pointer
|
23
|
+
tactic_pointer = :pointer
|
24
|
+
rcf_num_pointer = :pointer
|
25
|
+
stats_pointer = :pointer
|
26
|
+
app_pointer = :pointer
|
27
|
+
apply_result_pointer = :pointer
|
28
|
+
ast_map_pointer = :pointer
|
29
|
+
ast_vector_pointer = :pointer
|
30
|
+
config_pointer = :pointer
|
31
|
+
constructor_pointer = :pointer
|
32
|
+
constructor_list_pointer = :pointer
|
33
|
+
func_entry_pointer = :pointer
|
34
|
+
func_interp_pointer = :pointer
|
35
|
+
|
36
|
+
|
37
|
+
### Manually added functions gen_api can't handle [yet]
|
19
38
|
callback :error_handler, [ctx_pointer, :int], :void
|
20
|
-
|
21
39
|
attach_function :Z3_get_version, [:pointer, :pointer, :pointer, :pointer], :void
|
22
40
|
attach_function :Z3_set_error_handler, [ctx_pointer, :error_handler], :void
|
23
|
-
attach_function :Z3_global_param_set, [:string, :string], :void
|
24
|
-
|
25
|
-
# Context API
|
26
41
|
attach_function :Z3_mk_context, [], ctx_pointer
|
27
|
-
|
28
|
-
# Symbol API
|
29
|
-
attach_function :Z3_mk_string_symbol, [ctx_pointer, :string], symbol
|
30
|
-
attach_function :Z3_get_symbol_string, [ctx_pointer, symbol], :string
|
31
|
-
|
32
|
-
# Sort API
|
33
|
-
attach_function :Z3_mk_bool_sort, [ctx_pointer], sort_pointer
|
34
|
-
attach_function :Z3_mk_int_sort, [ctx_pointer], sort_pointer
|
35
|
-
attach_function :Z3_mk_real_sort, [ctx_pointer], sort_pointer
|
36
|
-
attach_function :Z3_sort_to_string, [ctx_pointer, sort_pointer], :string
|
37
|
-
|
38
|
-
# Solver API
|
39
|
-
attach_function :Z3_mk_solver, [ctx_pointer], solver_pointer
|
40
|
-
attach_function :Z3_solver_push, [ctx_pointer, solver_pointer], :void
|
41
|
-
attach_function :Z3_solver_pop, [ctx_pointer, solver_pointer, :int], :void
|
42
|
-
attach_function :Z3_solver_reset, [ctx_pointer, solver_pointer], :void
|
43
|
-
attach_function :Z3_solver_assert, [ctx_pointer, solver_pointer, ast_pointer], :void
|
44
|
-
attach_function :Z3_solver_check, [ctx_pointer, solver_pointer], z3_bool
|
45
|
-
attach_function :Z3_solver_inc_ref, [ctx_pointer, solver_pointer], :void
|
46
|
-
|
47
|
-
# Model API
|
48
|
-
attach_function :Z3_solver_get_model, [ctx_pointer, solver_pointer], model_pointer
|
49
|
-
attach_function :Z3_model_get_num_consts, [ctx_pointer, model_pointer], :int
|
50
|
-
attach_function :Z3_model_get_num_funcs, [ctx_pointer, model_pointer], :int
|
51
|
-
attach_function :Z3_model_get_num_sorts, [ctx_pointer, model_pointer], :int
|
52
42
|
attach_function :Z3_model_eval, [ctx_pointer, model_pointer, ast_pointer, :bool, :pointer], :int
|
53
|
-
attach_function :Z3_model_get_const_decl, [ctx_pointer, model_pointer, :int], func_decl_pointer
|
54
|
-
attach_function :Z3_model_get_const_interp, [ctx_pointer, model_pointer, func_decl_pointer], ast_pointer
|
55
43
|
|
56
|
-
#
|
57
|
-
attach_function :
|
58
|
-
attach_function :Z3_get_decl_name, [ctx_pointer, func_decl_pointer],
|
59
|
-
attach_function :Z3_get_arity, [ctx_pointer, func_decl_pointer], :uint
|
60
|
-
attach_function :Z3_get_decl_ast_parameter, [ctx_pointer, func_decl_pointer, :uint], ast_pointer
|
44
|
+
# attach_function :Z3_model_get_const_decl, [ctx_pointer, model_pointer, :int], func_decl_pointer
|
45
|
+
# attach_function :Z3_model_get_const_interp, [ctx_pointer, model_pointer, func_decl_pointer], ast_pointer
|
46
|
+
# attach_function :Z3_get_decl_name, [ctx_pointer, func_decl_pointer], symbol_pointer
|
61
47
|
|
62
|
-
# AST API
|
63
|
-
attach_function :Z3_mk_true, [ctx_pointer], ast_pointer
|
64
|
-
attach_function :Z3_mk_false, [ctx_pointer], ast_pointer
|
65
|
-
attach_function :Z3_mk_eq, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
66
|
-
attach_function :Z3_mk_ge, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
67
|
-
attach_function :Z3_mk_gt, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
68
|
-
attach_function :Z3_mk_le, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
69
|
-
attach_function :Z3_mk_lt, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
70
|
-
attach_function :Z3_mk_power, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
71
|
-
attach_function :Z3_mk_rem, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
72
|
-
attach_function :Z3_mk_mod, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
73
|
-
attach_function :Z3_mk_div, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
74
|
-
attach_function :Z3_mk_not, [ctx_pointer, ast_pointer], ast_pointer
|
75
|
-
attach_function :Z3_mk_const, [ctx_pointer, symbol, sort_pointer], ast_pointer
|
76
48
|
attach_function :Z3_mk_and, [ctx_pointer, :int, :pointer], ast_pointer
|
77
49
|
attach_function :Z3_mk_or, [ctx_pointer, :int, :pointer], ast_pointer
|
78
|
-
attach_function :Z3_mk_iff, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
79
|
-
attach_function :Z3_mk_implies, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
80
50
|
attach_function :Z3_mk_add, [ctx_pointer, :int, :pointer], ast_pointer
|
81
51
|
attach_function :Z3_mk_sub, [ctx_pointer, :int, :pointer], ast_pointer
|
82
52
|
attach_function :Z3_mk_mul, [ctx_pointer, :int, :pointer], ast_pointer
|
83
53
|
attach_function :Z3_mk_distinct, [ctx_pointer, :int, :pointer], ast_pointer
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
attach_function :Z3_mk_numeral, [ctx_pointer, :string, sort_pointer], ast_pointer
|
88
|
-
attach_function :Z3_mk_unary_minus, [ctx_pointer, ast_pointer], ast_pointer
|
54
|
+
|
55
|
+
### Automatically generated, do not edit that file
|
56
|
+
eval open("#{__dir__}/very_low_level_auto.rb").read
|
89
57
|
end
|
@@ -0,0 +1,516 @@
|
|
1
|
+
attach_function :Z3_algebraic_add, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
2
|
+
attach_function :Z3_algebraic_div, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
3
|
+
attach_function :Z3_algebraic_eq, [ctx_pointer, ast_pointer, ast_pointer], :bool
|
4
|
+
attach_function :Z3_algebraic_ge, [ctx_pointer, ast_pointer, ast_pointer], :bool
|
5
|
+
attach_function :Z3_algebraic_gt, [ctx_pointer, ast_pointer, ast_pointer], :bool
|
6
|
+
attach_function :Z3_algebraic_is_neg, [ctx_pointer, ast_pointer], :bool
|
7
|
+
attach_function :Z3_algebraic_is_pos, [ctx_pointer, ast_pointer], :bool
|
8
|
+
attach_function :Z3_algebraic_is_value, [ctx_pointer, ast_pointer], :bool
|
9
|
+
attach_function :Z3_algebraic_is_zero, [ctx_pointer, ast_pointer], :bool
|
10
|
+
attach_function :Z3_algebraic_le, [ctx_pointer, ast_pointer, ast_pointer], :bool
|
11
|
+
attach_function :Z3_algebraic_lt, [ctx_pointer, ast_pointer, ast_pointer], :bool
|
12
|
+
attach_function :Z3_algebraic_mul, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
13
|
+
attach_function :Z3_algebraic_neq, [ctx_pointer, ast_pointer, ast_pointer], :bool
|
14
|
+
attach_function :Z3_algebraic_power, [ctx_pointer, ast_pointer, :uint], ast_pointer
|
15
|
+
attach_function :Z3_algebraic_root, [ctx_pointer, ast_pointer, :uint], ast_pointer
|
16
|
+
attach_function :Z3_algebraic_sign, [ctx_pointer, ast_pointer], :int
|
17
|
+
attach_function :Z3_algebraic_sub, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
18
|
+
attach_function :Z3_app_to_ast, [ctx_pointer, app_pointer], ast_pointer
|
19
|
+
attach_function :Z3_apply_result_convert_model, [ctx_pointer, apply_result_pointer, :uint, model_pointer], model_pointer
|
20
|
+
attach_function :Z3_apply_result_dec_ref, [ctx_pointer, apply_result_pointer], :void
|
21
|
+
attach_function :Z3_apply_result_get_num_subgoals, [ctx_pointer, apply_result_pointer], :uint
|
22
|
+
attach_function :Z3_apply_result_get_subgoal, [ctx_pointer, apply_result_pointer, :uint], goal_pointer
|
23
|
+
attach_function :Z3_apply_result_inc_ref, [ctx_pointer, apply_result_pointer], :void
|
24
|
+
attach_function :Z3_apply_result_to_string, [ctx_pointer, apply_result_pointer], :string
|
25
|
+
attach_function :Z3_ast_map_contains, [ctx_pointer, ast_map_pointer, ast_pointer], :bool
|
26
|
+
attach_function :Z3_ast_map_dec_ref, [ctx_pointer, ast_map_pointer], :void
|
27
|
+
attach_function :Z3_ast_map_erase, [ctx_pointer, ast_map_pointer, ast_pointer], :void
|
28
|
+
attach_function :Z3_ast_map_find, [ctx_pointer, ast_map_pointer, ast_pointer], ast_pointer
|
29
|
+
attach_function :Z3_ast_map_inc_ref, [ctx_pointer, ast_map_pointer], :void
|
30
|
+
attach_function :Z3_ast_map_insert, [ctx_pointer, ast_map_pointer, ast_pointer, ast_pointer], :void
|
31
|
+
attach_function :Z3_ast_map_keys, [ctx_pointer, ast_map_pointer], ast_vector_pointer
|
32
|
+
attach_function :Z3_ast_map_reset, [ctx_pointer, ast_map_pointer], :void
|
33
|
+
attach_function :Z3_ast_map_size, [ctx_pointer, ast_map_pointer], :uint
|
34
|
+
attach_function :Z3_ast_map_to_string, [ctx_pointer, ast_map_pointer], :string
|
35
|
+
attach_function :Z3_ast_to_string, [ctx_pointer, ast_pointer], :string
|
36
|
+
attach_function :Z3_ast_vector_dec_ref, [ctx_pointer, ast_vector_pointer], :void
|
37
|
+
attach_function :Z3_ast_vector_get, [ctx_pointer, ast_vector_pointer, :uint], ast_pointer
|
38
|
+
attach_function :Z3_ast_vector_inc_ref, [ctx_pointer, ast_vector_pointer], :void
|
39
|
+
attach_function :Z3_ast_vector_push, [ctx_pointer, ast_vector_pointer, ast_pointer], :void
|
40
|
+
attach_function :Z3_ast_vector_resize, [ctx_pointer, ast_vector_pointer, :uint], :void
|
41
|
+
attach_function :Z3_ast_vector_set, [ctx_pointer, ast_vector_pointer, :uint, ast_pointer], :void
|
42
|
+
attach_function :Z3_ast_vector_size, [ctx_pointer, ast_vector_pointer], :uint
|
43
|
+
attach_function :Z3_ast_vector_to_string, [ctx_pointer, ast_vector_pointer], :string
|
44
|
+
attach_function :Z3_ast_vector_translate, [ctx_pointer, ast_vector_pointer, ctx_pointer], ast_vector_pointer
|
45
|
+
attach_function :Z3_datatype_update_field, [ctx_pointer, func_decl_pointer, ast_pointer, ast_pointer], ast_pointer
|
46
|
+
attach_function :Z3_dec_ref, [ctx_pointer, ast_pointer], :void
|
47
|
+
attach_function :Z3_del_config, [config_pointer], :void
|
48
|
+
attach_function :Z3_del_constructor, [ctx_pointer, constructor_pointer], :void
|
49
|
+
attach_function :Z3_del_constructor_list, [ctx_pointer, constructor_list_pointer], :void
|
50
|
+
attach_function :Z3_del_context, [ctx_pointer], :void
|
51
|
+
attach_function :Z3_disable_trace, [:string], :void
|
52
|
+
attach_function :Z3_enable_trace, [:string], :void
|
53
|
+
attach_function :Z3_finalize_memory, [], :void
|
54
|
+
attach_function :Z3_fixedpoint_add_cover, [ctx_pointer, fixedpoint_pointer, :int, func_decl_pointer, ast_pointer], :void
|
55
|
+
attach_function :Z3_fixedpoint_add_rule, [ctx_pointer, fixedpoint_pointer, ast_pointer, symbol_pointer], :void
|
56
|
+
attach_function :Z3_fixedpoint_assert, [ctx_pointer, fixedpoint_pointer, ast_pointer], :void
|
57
|
+
attach_function :Z3_fixedpoint_dec_ref, [ctx_pointer, fixedpoint_pointer], :void
|
58
|
+
attach_function :Z3_fixedpoint_from_file, [ctx_pointer, fixedpoint_pointer, :string], ast_vector_pointer
|
59
|
+
attach_function :Z3_fixedpoint_from_string, [ctx_pointer, fixedpoint_pointer, :string], ast_vector_pointer
|
60
|
+
attach_function :Z3_fixedpoint_get_answer, [ctx_pointer, fixedpoint_pointer], ast_pointer
|
61
|
+
attach_function :Z3_fixedpoint_get_assertions, [ctx_pointer, fixedpoint_pointer], ast_vector_pointer
|
62
|
+
attach_function :Z3_fixedpoint_get_cover_delta, [ctx_pointer, fixedpoint_pointer, :int, func_decl_pointer], ast_pointer
|
63
|
+
attach_function :Z3_fixedpoint_get_help, [ctx_pointer, fixedpoint_pointer], :string
|
64
|
+
attach_function :Z3_fixedpoint_get_num_levels, [ctx_pointer, fixedpoint_pointer, func_decl_pointer], :uint
|
65
|
+
attach_function :Z3_fixedpoint_get_param_descrs, [ctx_pointer, fixedpoint_pointer], param_descrs_pointer
|
66
|
+
attach_function :Z3_fixedpoint_get_reason_unknown, [ctx_pointer, fixedpoint_pointer], :string
|
67
|
+
attach_function :Z3_fixedpoint_get_rules, [ctx_pointer, fixedpoint_pointer], ast_vector_pointer
|
68
|
+
attach_function :Z3_fixedpoint_get_statistics, [ctx_pointer, fixedpoint_pointer], stats_pointer
|
69
|
+
attach_function :Z3_fixedpoint_inc_ref, [ctx_pointer, fixedpoint_pointer], :void
|
70
|
+
attach_function :Z3_fixedpoint_pop, [ctx_pointer, fixedpoint_pointer], :void
|
71
|
+
attach_function :Z3_fixedpoint_push, [ctx_pointer, fixedpoint_pointer], :void
|
72
|
+
attach_function :Z3_fixedpoint_query, [ctx_pointer, fixedpoint_pointer, ast_pointer], :int
|
73
|
+
attach_function :Z3_fixedpoint_register_relation, [ctx_pointer, fixedpoint_pointer, func_decl_pointer], :void
|
74
|
+
attach_function :Z3_fixedpoint_set_params, [ctx_pointer, fixedpoint_pointer, params_pointer], :void
|
75
|
+
attach_function :Z3_fixedpoint_update_rule, [ctx_pointer, fixedpoint_pointer, ast_pointer, symbol_pointer], :void
|
76
|
+
attach_function :Z3_fpa_get_ebits, [ctx_pointer, sort_pointer], :uint
|
77
|
+
attach_function :Z3_fpa_get_numeral_exponent_string, [ctx_pointer, ast_pointer], :string
|
78
|
+
attach_function :Z3_fpa_get_numeral_significand_string, [ctx_pointer, ast_pointer], :string
|
79
|
+
attach_function :Z3_fpa_get_sbits, [ctx_pointer, sort_pointer], :uint
|
80
|
+
attach_function :Z3_func_decl_to_ast, [ctx_pointer, func_decl_pointer], ast_pointer
|
81
|
+
attach_function :Z3_func_decl_to_string, [ctx_pointer, func_decl_pointer], :string
|
82
|
+
attach_function :Z3_func_entry_dec_ref, [ctx_pointer, func_entry_pointer], :void
|
83
|
+
attach_function :Z3_func_entry_get_arg, [ctx_pointer, func_entry_pointer, :uint], ast_pointer
|
84
|
+
attach_function :Z3_func_entry_get_num_args, [ctx_pointer, func_entry_pointer], :uint
|
85
|
+
attach_function :Z3_func_entry_get_value, [ctx_pointer, func_entry_pointer], ast_pointer
|
86
|
+
attach_function :Z3_func_entry_inc_ref, [ctx_pointer, func_entry_pointer], :void
|
87
|
+
attach_function :Z3_func_interp_dec_ref, [ctx_pointer, func_interp_pointer], :void
|
88
|
+
attach_function :Z3_func_interp_get_arity, [ctx_pointer, func_interp_pointer], :uint
|
89
|
+
attach_function :Z3_func_interp_get_else, [ctx_pointer, func_interp_pointer], ast_pointer
|
90
|
+
attach_function :Z3_func_interp_get_entry, [ctx_pointer, func_interp_pointer, :uint], func_entry_pointer
|
91
|
+
attach_function :Z3_func_interp_get_num_entries, [ctx_pointer, func_interp_pointer], :uint
|
92
|
+
attach_function :Z3_func_interp_inc_ref, [ctx_pointer, func_interp_pointer], :void
|
93
|
+
attach_function :Z3_get_algebraic_number_lower, [ctx_pointer, ast_pointer, :uint], ast_pointer
|
94
|
+
attach_function :Z3_get_algebraic_number_upper, [ctx_pointer, ast_pointer, :uint], ast_pointer
|
95
|
+
attach_function :Z3_get_app_arg, [ctx_pointer, app_pointer, :uint], ast_pointer
|
96
|
+
attach_function :Z3_get_app_decl, [ctx_pointer, app_pointer], func_decl_pointer
|
97
|
+
attach_function :Z3_get_app_num_args, [ctx_pointer, app_pointer], :uint
|
98
|
+
attach_function :Z3_get_arity, [ctx_pointer, func_decl_pointer], :uint
|
99
|
+
attach_function :Z3_get_array_sort_domain, [ctx_pointer, sort_pointer], sort_pointer
|
100
|
+
attach_function :Z3_get_array_sort_range, [ctx_pointer, sort_pointer], sort_pointer
|
101
|
+
attach_function :Z3_get_as_array_func_decl, [ctx_pointer, ast_pointer], func_decl_pointer
|
102
|
+
attach_function :Z3_get_ast_hash, [ctx_pointer, ast_pointer], :uint
|
103
|
+
attach_function :Z3_get_ast_id, [ctx_pointer, ast_pointer], :uint
|
104
|
+
attach_function :Z3_get_ast_kind, [ctx_pointer, ast_pointer], :uint
|
105
|
+
attach_function :Z3_get_bool_value, [ctx_pointer, ast_pointer], :int
|
106
|
+
attach_function :Z3_get_bv_sort_size, [ctx_pointer, sort_pointer], :uint
|
107
|
+
attach_function :Z3_get_datatype_sort_constructor, [ctx_pointer, sort_pointer, :uint], func_decl_pointer
|
108
|
+
attach_function :Z3_get_datatype_sort_constructor_accessor, [ctx_pointer, sort_pointer, :uint, :uint], func_decl_pointer
|
109
|
+
attach_function :Z3_get_datatype_sort_num_constructors, [ctx_pointer, sort_pointer], :uint
|
110
|
+
attach_function :Z3_get_datatype_sort_recognizer, [ctx_pointer, sort_pointer, :uint], func_decl_pointer
|
111
|
+
attach_function :Z3_get_decl_ast_parameter, [ctx_pointer, func_decl_pointer, :uint], ast_pointer
|
112
|
+
attach_function :Z3_get_decl_double_parameter, [ctx_pointer, func_decl_pointer, :uint], :double
|
113
|
+
attach_function :Z3_get_decl_func_decl_parameter, [ctx_pointer, func_decl_pointer, :uint], func_decl_pointer
|
114
|
+
attach_function :Z3_get_decl_int_parameter, [ctx_pointer, func_decl_pointer, :uint], :int
|
115
|
+
attach_function :Z3_get_decl_kind, [ctx_pointer, func_decl_pointer], :uint
|
116
|
+
attach_function :Z3_get_decl_name, [ctx_pointer, func_decl_pointer], symbol_pointer
|
117
|
+
attach_function :Z3_get_decl_num_parameters, [ctx_pointer, func_decl_pointer], :uint
|
118
|
+
attach_function :Z3_get_decl_parameter_kind, [ctx_pointer, func_decl_pointer, :uint], :uint
|
119
|
+
attach_function :Z3_get_decl_rational_parameter, [ctx_pointer, func_decl_pointer, :uint], :string
|
120
|
+
attach_function :Z3_get_decl_sort_parameter, [ctx_pointer, func_decl_pointer, :uint], sort_pointer
|
121
|
+
attach_function :Z3_get_decl_symbol_parameter, [ctx_pointer, func_decl_pointer, :uint], symbol_pointer
|
122
|
+
attach_function :Z3_get_denominator, [ctx_pointer, ast_pointer], ast_pointer
|
123
|
+
attach_function :Z3_get_domain, [ctx_pointer, func_decl_pointer, :uint], sort_pointer
|
124
|
+
attach_function :Z3_get_domain_size, [ctx_pointer, func_decl_pointer], :uint
|
125
|
+
attach_function :Z3_get_error_code, [ctx_pointer], :uint
|
126
|
+
attach_function :Z3_get_func_decl_id, [ctx_pointer, func_decl_pointer], :uint
|
127
|
+
attach_function :Z3_get_index_value, [ctx_pointer, ast_pointer], :uint
|
128
|
+
attach_function :Z3_get_interpolant, [ctx_pointer, ast_pointer, ast_pointer, params_pointer], ast_vector_pointer
|
129
|
+
attach_function :Z3_get_num_probes, [ctx_pointer], :uint
|
130
|
+
attach_function :Z3_get_num_tactics, [ctx_pointer], :uint
|
131
|
+
attach_function :Z3_get_numeral_decimal_string, [ctx_pointer, ast_pointer, :uint], :string
|
132
|
+
attach_function :Z3_get_numeral_string, [ctx_pointer, ast_pointer], :string
|
133
|
+
attach_function :Z3_get_numerator, [ctx_pointer, ast_pointer], ast_pointer
|
134
|
+
attach_function :Z3_get_pattern, [ctx_pointer, pattern_pointer, :uint], ast_pointer
|
135
|
+
attach_function :Z3_get_pattern_num_terms, [ctx_pointer, pattern_pointer], :uint
|
136
|
+
attach_function :Z3_get_probe_name, [ctx_pointer, :uint], :string
|
137
|
+
attach_function :Z3_get_quantifier_body, [ctx_pointer, ast_pointer], ast_pointer
|
138
|
+
attach_function :Z3_get_quantifier_bound_name, [ctx_pointer, ast_pointer, :uint], symbol_pointer
|
139
|
+
attach_function :Z3_get_quantifier_bound_sort, [ctx_pointer, ast_pointer, :uint], sort_pointer
|
140
|
+
attach_function :Z3_get_quantifier_no_pattern_ast, [ctx_pointer, ast_pointer, :uint], ast_pointer
|
141
|
+
attach_function :Z3_get_quantifier_num_bound, [ctx_pointer, ast_pointer], :uint
|
142
|
+
attach_function :Z3_get_quantifier_num_no_patterns, [ctx_pointer, ast_pointer], :uint
|
143
|
+
attach_function :Z3_get_quantifier_num_patterns, [ctx_pointer, ast_pointer], :uint
|
144
|
+
attach_function :Z3_get_quantifier_pattern_ast, [ctx_pointer, ast_pointer, :uint], pattern_pointer
|
145
|
+
attach_function :Z3_get_quantifier_weight, [ctx_pointer, ast_pointer], :uint
|
146
|
+
attach_function :Z3_get_range, [ctx_pointer, func_decl_pointer], sort_pointer
|
147
|
+
attach_function :Z3_get_relation_arity, [ctx_pointer, sort_pointer], :uint
|
148
|
+
attach_function :Z3_get_relation_column, [ctx_pointer, sort_pointer, :uint], sort_pointer
|
149
|
+
attach_function :Z3_get_smtlib_assumption, [ctx_pointer, :uint], ast_pointer
|
150
|
+
attach_function :Z3_get_smtlib_decl, [ctx_pointer, :uint], func_decl_pointer
|
151
|
+
attach_function :Z3_get_smtlib_error, [ctx_pointer], :string
|
152
|
+
attach_function :Z3_get_smtlib_formula, [ctx_pointer, :uint], ast_pointer
|
153
|
+
attach_function :Z3_get_smtlib_num_assumptions, [ctx_pointer], :uint
|
154
|
+
attach_function :Z3_get_smtlib_num_decls, [ctx_pointer], :uint
|
155
|
+
attach_function :Z3_get_smtlib_num_formulas, [ctx_pointer], :uint
|
156
|
+
attach_function :Z3_get_smtlib_num_sorts, [ctx_pointer], :uint
|
157
|
+
attach_function :Z3_get_smtlib_sort, [ctx_pointer, :uint], sort_pointer
|
158
|
+
attach_function :Z3_get_sort, [ctx_pointer, ast_pointer], sort_pointer
|
159
|
+
attach_function :Z3_get_sort_id, [ctx_pointer, sort_pointer], :uint
|
160
|
+
attach_function :Z3_get_sort_kind, [ctx_pointer, sort_pointer], :uint
|
161
|
+
attach_function :Z3_get_sort_name, [ctx_pointer, sort_pointer], symbol_pointer
|
162
|
+
attach_function :Z3_get_symbol_int, [ctx_pointer, symbol_pointer], :int
|
163
|
+
attach_function :Z3_get_symbol_kind, [ctx_pointer, symbol_pointer], :uint
|
164
|
+
attach_function :Z3_get_symbol_string, [ctx_pointer, symbol_pointer], :string
|
165
|
+
attach_function :Z3_get_tactic_name, [ctx_pointer, :uint], :string
|
166
|
+
attach_function :Z3_get_tuple_sort_field_decl, [ctx_pointer, sort_pointer, :uint], func_decl_pointer
|
167
|
+
attach_function :Z3_get_tuple_sort_mk_decl, [ctx_pointer, sort_pointer], func_decl_pointer
|
168
|
+
attach_function :Z3_get_tuple_sort_num_fields, [ctx_pointer, sort_pointer], :uint
|
169
|
+
attach_function :Z3_global_param_reset_all, [], :void
|
170
|
+
attach_function :Z3_global_param_set, [:string, :string], :void
|
171
|
+
attach_function :Z3_goal_assert, [ctx_pointer, goal_pointer, ast_pointer], :void
|
172
|
+
attach_function :Z3_goal_dec_ref, [ctx_pointer, goal_pointer], :void
|
173
|
+
attach_function :Z3_goal_depth, [ctx_pointer, goal_pointer], :uint
|
174
|
+
attach_function :Z3_goal_formula, [ctx_pointer, goal_pointer, :uint], ast_pointer
|
175
|
+
attach_function :Z3_goal_inc_ref, [ctx_pointer, goal_pointer], :void
|
176
|
+
attach_function :Z3_goal_inconsistent, [ctx_pointer, goal_pointer], :bool
|
177
|
+
attach_function :Z3_goal_is_decided_sat, [ctx_pointer, goal_pointer], :bool
|
178
|
+
attach_function :Z3_goal_is_decided_unsat, [ctx_pointer, goal_pointer], :bool
|
179
|
+
attach_function :Z3_goal_num_exprs, [ctx_pointer, goal_pointer], :uint
|
180
|
+
attach_function :Z3_goal_precision, [ctx_pointer, goal_pointer], :uint
|
181
|
+
attach_function :Z3_goal_reset, [ctx_pointer, goal_pointer], :void
|
182
|
+
attach_function :Z3_goal_size, [ctx_pointer, goal_pointer], :uint
|
183
|
+
attach_function :Z3_goal_to_string, [ctx_pointer, goal_pointer], :string
|
184
|
+
attach_function :Z3_goal_translate, [ctx_pointer, goal_pointer, ctx_pointer], goal_pointer
|
185
|
+
attach_function :Z3_inc_ref, [ctx_pointer, ast_pointer], :void
|
186
|
+
attach_function :Z3_interpolation_profile, [ctx_pointer], :string
|
187
|
+
attach_function :Z3_interrupt, [ctx_pointer], :void
|
188
|
+
attach_function :Z3_is_algebraic_number, [ctx_pointer, ast_pointer], :bool
|
189
|
+
attach_function :Z3_is_app, [ctx_pointer, ast_pointer], :bool
|
190
|
+
attach_function :Z3_is_as_array, [ctx_pointer, ast_pointer], :bool
|
191
|
+
attach_function :Z3_is_eq_ast, [ctx_pointer, ast_pointer, ast_pointer], :bool
|
192
|
+
attach_function :Z3_is_eq_func_decl, [ctx_pointer, func_decl_pointer, func_decl_pointer], :bool
|
193
|
+
attach_function :Z3_is_eq_sort, [ctx_pointer, sort_pointer, sort_pointer], :bool
|
194
|
+
attach_function :Z3_is_numeral_ast, [ctx_pointer, ast_pointer], :bool
|
195
|
+
attach_function :Z3_is_quantifier_forall, [ctx_pointer, ast_pointer], :bool
|
196
|
+
attach_function :Z3_is_well_sorted, [ctx_pointer, ast_pointer], :bool
|
197
|
+
attach_function :Z3_mk_array_default, [ctx_pointer, ast_pointer], ast_pointer
|
198
|
+
attach_function :Z3_mk_array_sort, [ctx_pointer, sort_pointer, sort_pointer], sort_pointer
|
199
|
+
attach_function :Z3_mk_ast_map, [ctx_pointer], ast_map_pointer
|
200
|
+
attach_function :Z3_mk_ast_vector, [ctx_pointer], ast_vector_pointer
|
201
|
+
attach_function :Z3_mk_bool_sort, [ctx_pointer], sort_pointer
|
202
|
+
attach_function :Z3_mk_bound, [ctx_pointer, :uint, sort_pointer], ast_pointer
|
203
|
+
attach_function :Z3_mk_bv2int, [ctx_pointer, ast_pointer, :bool], ast_pointer
|
204
|
+
attach_function :Z3_mk_bv_sort, [ctx_pointer, :uint], sort_pointer
|
205
|
+
attach_function :Z3_mk_bvadd, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
206
|
+
attach_function :Z3_mk_bvadd_no_overflow, [ctx_pointer, ast_pointer, ast_pointer, :bool], ast_pointer
|
207
|
+
attach_function :Z3_mk_bvadd_no_underflow, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
208
|
+
attach_function :Z3_mk_bvand, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
209
|
+
attach_function :Z3_mk_bvashr, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
210
|
+
attach_function :Z3_mk_bvlshr, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
211
|
+
attach_function :Z3_mk_bvmul, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
212
|
+
attach_function :Z3_mk_bvmul_no_overflow, [ctx_pointer, ast_pointer, ast_pointer, :bool], ast_pointer
|
213
|
+
attach_function :Z3_mk_bvmul_no_underflow, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
214
|
+
attach_function :Z3_mk_bvnand, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
215
|
+
attach_function :Z3_mk_bvneg, [ctx_pointer, ast_pointer], ast_pointer
|
216
|
+
attach_function :Z3_mk_bvneg_no_overflow, [ctx_pointer, ast_pointer], ast_pointer
|
217
|
+
attach_function :Z3_mk_bvnor, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
218
|
+
attach_function :Z3_mk_bvnot, [ctx_pointer, ast_pointer], ast_pointer
|
219
|
+
attach_function :Z3_mk_bvor, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
220
|
+
attach_function :Z3_mk_bvredand, [ctx_pointer, ast_pointer], ast_pointer
|
221
|
+
attach_function :Z3_mk_bvredor, [ctx_pointer, ast_pointer], ast_pointer
|
222
|
+
attach_function :Z3_mk_bvsdiv, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
223
|
+
attach_function :Z3_mk_bvsdiv_no_overflow, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
224
|
+
attach_function :Z3_mk_bvsge, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
225
|
+
attach_function :Z3_mk_bvsgt, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
226
|
+
attach_function :Z3_mk_bvshl, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
227
|
+
attach_function :Z3_mk_bvsle, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
228
|
+
attach_function :Z3_mk_bvslt, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
229
|
+
attach_function :Z3_mk_bvsmod, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
230
|
+
attach_function :Z3_mk_bvsrem, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
231
|
+
attach_function :Z3_mk_bvsub, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
232
|
+
attach_function :Z3_mk_bvsub_no_overflow, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
233
|
+
attach_function :Z3_mk_bvsub_no_underflow, [ctx_pointer, ast_pointer, ast_pointer, :bool], ast_pointer
|
234
|
+
attach_function :Z3_mk_bvudiv, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
235
|
+
attach_function :Z3_mk_bvuge, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
236
|
+
attach_function :Z3_mk_bvugt, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
237
|
+
attach_function :Z3_mk_bvule, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
238
|
+
attach_function :Z3_mk_bvult, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
239
|
+
attach_function :Z3_mk_bvurem, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
240
|
+
attach_function :Z3_mk_bvxnor, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
241
|
+
attach_function :Z3_mk_bvxor, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
242
|
+
attach_function :Z3_mk_concat, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
243
|
+
attach_function :Z3_mk_config, [], config_pointer
|
244
|
+
attach_function :Z3_mk_const, [ctx_pointer, symbol_pointer, sort_pointer], ast_pointer
|
245
|
+
attach_function :Z3_mk_const_array, [ctx_pointer, sort_pointer, ast_pointer], ast_pointer
|
246
|
+
attach_function :Z3_mk_context_rc, [config_pointer], ctx_pointer
|
247
|
+
attach_function :Z3_mk_div, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
248
|
+
attach_function :Z3_mk_empty_set, [ctx_pointer, sort_pointer], ast_pointer
|
249
|
+
attach_function :Z3_mk_eq, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
250
|
+
attach_function :Z3_mk_ext_rotate_left, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
251
|
+
attach_function :Z3_mk_ext_rotate_right, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
252
|
+
attach_function :Z3_mk_extract, [ctx_pointer, :uint, :uint, ast_pointer], ast_pointer
|
253
|
+
attach_function :Z3_mk_false, [ctx_pointer], ast_pointer
|
254
|
+
attach_function :Z3_mk_finite_domain_sort, [ctx_pointer, symbol_pointer, :uint64], sort_pointer
|
255
|
+
attach_function :Z3_mk_fixedpoint, [ctx_pointer], fixedpoint_pointer
|
256
|
+
attach_function :Z3_mk_fpa_abs, [ctx_pointer, ast_pointer], ast_pointer
|
257
|
+
attach_function :Z3_mk_fpa_add, [ctx_pointer, ast_pointer, ast_pointer, ast_pointer], ast_pointer
|
258
|
+
attach_function :Z3_mk_fpa_div, [ctx_pointer, ast_pointer, ast_pointer, ast_pointer], ast_pointer
|
259
|
+
attach_function :Z3_mk_fpa_eq, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
260
|
+
attach_function :Z3_mk_fpa_fma, [ctx_pointer, ast_pointer, ast_pointer, ast_pointer, ast_pointer], ast_pointer
|
261
|
+
attach_function :Z3_mk_fpa_fp, [ctx_pointer, ast_pointer, ast_pointer, ast_pointer], ast_pointer
|
262
|
+
attach_function :Z3_mk_fpa_geq, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
263
|
+
attach_function :Z3_mk_fpa_gt, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
264
|
+
attach_function :Z3_mk_fpa_inf, [ctx_pointer, sort_pointer, :bool], ast_pointer
|
265
|
+
attach_function :Z3_mk_fpa_is_infinite, [ctx_pointer, ast_pointer], ast_pointer
|
266
|
+
attach_function :Z3_mk_fpa_is_nan, [ctx_pointer, ast_pointer], ast_pointer
|
267
|
+
attach_function :Z3_mk_fpa_is_negative, [ctx_pointer, ast_pointer], ast_pointer
|
268
|
+
attach_function :Z3_mk_fpa_is_normal, [ctx_pointer, ast_pointer], ast_pointer
|
269
|
+
attach_function :Z3_mk_fpa_is_positive, [ctx_pointer, ast_pointer], ast_pointer
|
270
|
+
attach_function :Z3_mk_fpa_is_subnormal, [ctx_pointer, ast_pointer], ast_pointer
|
271
|
+
attach_function :Z3_mk_fpa_is_zero, [ctx_pointer, ast_pointer], ast_pointer
|
272
|
+
attach_function :Z3_mk_fpa_leq, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
273
|
+
attach_function :Z3_mk_fpa_lt, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
274
|
+
attach_function :Z3_mk_fpa_max, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
275
|
+
attach_function :Z3_mk_fpa_min, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
276
|
+
attach_function :Z3_mk_fpa_mul, [ctx_pointer, ast_pointer, ast_pointer, ast_pointer], ast_pointer
|
277
|
+
attach_function :Z3_mk_fpa_nan, [ctx_pointer, sort_pointer], ast_pointer
|
278
|
+
attach_function :Z3_mk_fpa_neg, [ctx_pointer, ast_pointer], ast_pointer
|
279
|
+
attach_function :Z3_mk_fpa_numeral_double, [ctx_pointer, :double, sort_pointer], ast_pointer
|
280
|
+
attach_function :Z3_mk_fpa_numeral_float, [ctx_pointer, :float, sort_pointer], ast_pointer
|
281
|
+
attach_function :Z3_mk_fpa_numeral_int, [ctx_pointer, :int, sort_pointer], ast_pointer
|
282
|
+
attach_function :Z3_mk_fpa_numeral_int64_uint64, [ctx_pointer, :bool, :int64, :uint64, sort_pointer], ast_pointer
|
283
|
+
attach_function :Z3_mk_fpa_numeral_int_uint, [ctx_pointer, :bool, :int, :uint, sort_pointer], ast_pointer
|
284
|
+
attach_function :Z3_mk_fpa_rem, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
285
|
+
attach_function :Z3_mk_fpa_rna, [ctx_pointer], ast_pointer
|
286
|
+
attach_function :Z3_mk_fpa_rne, [ctx_pointer], ast_pointer
|
287
|
+
attach_function :Z3_mk_fpa_round_nearest_ties_to_away, [ctx_pointer], ast_pointer
|
288
|
+
attach_function :Z3_mk_fpa_round_nearest_ties_to_even, [ctx_pointer], ast_pointer
|
289
|
+
attach_function :Z3_mk_fpa_round_to_integral, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
290
|
+
attach_function :Z3_mk_fpa_round_toward_negative, [ctx_pointer], ast_pointer
|
291
|
+
attach_function :Z3_mk_fpa_round_toward_positive, [ctx_pointer], ast_pointer
|
292
|
+
attach_function :Z3_mk_fpa_round_toward_zero, [ctx_pointer], ast_pointer
|
293
|
+
attach_function :Z3_mk_fpa_rounding_mode_sort, [ctx_pointer], sort_pointer
|
294
|
+
attach_function :Z3_mk_fpa_rtn, [ctx_pointer], ast_pointer
|
295
|
+
attach_function :Z3_mk_fpa_rtp, [ctx_pointer], ast_pointer
|
296
|
+
attach_function :Z3_mk_fpa_rtz, [ctx_pointer], ast_pointer
|
297
|
+
attach_function :Z3_mk_fpa_sort, [ctx_pointer, :uint, :uint], sort_pointer
|
298
|
+
attach_function :Z3_mk_fpa_sort_128, [ctx_pointer], sort_pointer
|
299
|
+
attach_function :Z3_mk_fpa_sort_16, [ctx_pointer], sort_pointer
|
300
|
+
attach_function :Z3_mk_fpa_sort_32, [ctx_pointer], sort_pointer
|
301
|
+
attach_function :Z3_mk_fpa_sort_64, [ctx_pointer], sort_pointer
|
302
|
+
attach_function :Z3_mk_fpa_sort_double, [ctx_pointer], sort_pointer
|
303
|
+
attach_function :Z3_mk_fpa_sort_half, [ctx_pointer], sort_pointer
|
304
|
+
attach_function :Z3_mk_fpa_sort_quadruple, [ctx_pointer], sort_pointer
|
305
|
+
attach_function :Z3_mk_fpa_sort_single, [ctx_pointer], sort_pointer
|
306
|
+
attach_function :Z3_mk_fpa_sqrt, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
307
|
+
attach_function :Z3_mk_fpa_sub, [ctx_pointer, ast_pointer, ast_pointer, ast_pointer], ast_pointer
|
308
|
+
attach_function :Z3_mk_fpa_to_fp_bv, [ctx_pointer, ast_pointer, sort_pointer], ast_pointer
|
309
|
+
attach_function :Z3_mk_fpa_to_fp_float, [ctx_pointer, ast_pointer, ast_pointer, sort_pointer], ast_pointer
|
310
|
+
attach_function :Z3_mk_fpa_to_fp_int_real, [ctx_pointer, ast_pointer, ast_pointer, ast_pointer, sort_pointer], ast_pointer
|
311
|
+
attach_function :Z3_mk_fpa_to_fp_real, [ctx_pointer, ast_pointer, ast_pointer, sort_pointer], ast_pointer
|
312
|
+
attach_function :Z3_mk_fpa_to_fp_signed, [ctx_pointer, ast_pointer, ast_pointer, sort_pointer], ast_pointer
|
313
|
+
attach_function :Z3_mk_fpa_to_fp_unsigned, [ctx_pointer, ast_pointer, ast_pointer, sort_pointer], ast_pointer
|
314
|
+
attach_function :Z3_mk_fpa_to_ieee_bv, [ctx_pointer, ast_pointer], ast_pointer
|
315
|
+
attach_function :Z3_mk_fpa_to_real, [ctx_pointer, ast_pointer], ast_pointer
|
316
|
+
attach_function :Z3_mk_fpa_to_sbv, [ctx_pointer, ast_pointer, ast_pointer, :uint], ast_pointer
|
317
|
+
attach_function :Z3_mk_fpa_to_ubv, [ctx_pointer, ast_pointer, ast_pointer, :uint], ast_pointer
|
318
|
+
attach_function :Z3_mk_fpa_zero, [ctx_pointer, sort_pointer, :bool], ast_pointer
|
319
|
+
attach_function :Z3_mk_fresh_const, [ctx_pointer, :string, sort_pointer], ast_pointer
|
320
|
+
attach_function :Z3_mk_full_set, [ctx_pointer, sort_pointer], ast_pointer
|
321
|
+
attach_function :Z3_mk_ge, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
322
|
+
attach_function :Z3_mk_goal, [ctx_pointer, :bool, :bool, :bool], goal_pointer
|
323
|
+
attach_function :Z3_mk_gt, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
324
|
+
attach_function :Z3_mk_iff, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
325
|
+
attach_function :Z3_mk_implies, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
326
|
+
attach_function :Z3_mk_int, [ctx_pointer, :int, sort_pointer], ast_pointer
|
327
|
+
attach_function :Z3_mk_int2bv, [ctx_pointer, :uint, ast_pointer], ast_pointer
|
328
|
+
attach_function :Z3_mk_int2real, [ctx_pointer, ast_pointer], ast_pointer
|
329
|
+
attach_function :Z3_mk_int64, [ctx_pointer, :int64, sort_pointer], ast_pointer
|
330
|
+
attach_function :Z3_mk_int_sort, [ctx_pointer], sort_pointer
|
331
|
+
attach_function :Z3_mk_int_symbol, [ctx_pointer, :int], symbol_pointer
|
332
|
+
attach_function :Z3_mk_interpolant, [ctx_pointer, ast_pointer], ast_pointer
|
333
|
+
attach_function :Z3_mk_interpolation_context, [config_pointer], ctx_pointer
|
334
|
+
attach_function :Z3_mk_is_int, [ctx_pointer, ast_pointer], ast_pointer
|
335
|
+
attach_function :Z3_mk_ite, [ctx_pointer, ast_pointer, ast_pointer, ast_pointer], ast_pointer
|
336
|
+
attach_function :Z3_mk_le, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
337
|
+
attach_function :Z3_mk_lt, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
338
|
+
attach_function :Z3_mk_mod, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
339
|
+
attach_function :Z3_mk_not, [ctx_pointer, ast_pointer], ast_pointer
|
340
|
+
attach_function :Z3_mk_numeral, [ctx_pointer, :string, sort_pointer], ast_pointer
|
341
|
+
attach_function :Z3_mk_optimize, [ctx_pointer], optimize_pointer
|
342
|
+
attach_function :Z3_mk_params, [ctx_pointer], params_pointer
|
343
|
+
attach_function :Z3_mk_power, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
344
|
+
attach_function :Z3_mk_probe, [ctx_pointer, :string], probe_pointer
|
345
|
+
attach_function :Z3_mk_real, [ctx_pointer, :int, :int], ast_pointer
|
346
|
+
attach_function :Z3_mk_real2int, [ctx_pointer, ast_pointer], ast_pointer
|
347
|
+
attach_function :Z3_mk_real_sort, [ctx_pointer], sort_pointer
|
348
|
+
attach_function :Z3_mk_rem, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
349
|
+
attach_function :Z3_mk_repeat, [ctx_pointer, :uint, ast_pointer], ast_pointer
|
350
|
+
attach_function :Z3_mk_rotate_left, [ctx_pointer, :uint, ast_pointer], ast_pointer
|
351
|
+
attach_function :Z3_mk_rotate_right, [ctx_pointer, :uint, ast_pointer], ast_pointer
|
352
|
+
attach_function :Z3_mk_select, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
353
|
+
attach_function :Z3_mk_set_add, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
354
|
+
attach_function :Z3_mk_set_complement, [ctx_pointer, ast_pointer], ast_pointer
|
355
|
+
attach_function :Z3_mk_set_del, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
356
|
+
attach_function :Z3_mk_set_difference, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
357
|
+
attach_function :Z3_mk_set_member, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
358
|
+
attach_function :Z3_mk_set_sort, [ctx_pointer, sort_pointer], sort_pointer
|
359
|
+
attach_function :Z3_mk_set_subset, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
360
|
+
attach_function :Z3_mk_sign_ext, [ctx_pointer, :uint, ast_pointer], ast_pointer
|
361
|
+
attach_function :Z3_mk_simple_solver, [ctx_pointer], solver_pointer
|
362
|
+
attach_function :Z3_mk_solver, [ctx_pointer], solver_pointer
|
363
|
+
attach_function :Z3_mk_solver_for_logic, [ctx_pointer, symbol_pointer], solver_pointer
|
364
|
+
attach_function :Z3_mk_solver_from_tactic, [ctx_pointer, tactic_pointer], solver_pointer
|
365
|
+
attach_function :Z3_mk_store, [ctx_pointer, ast_pointer, ast_pointer, ast_pointer], ast_pointer
|
366
|
+
attach_function :Z3_mk_string_symbol, [ctx_pointer, :string], symbol_pointer
|
367
|
+
attach_function :Z3_mk_tactic, [ctx_pointer, :string], tactic_pointer
|
368
|
+
attach_function :Z3_mk_true, [ctx_pointer], ast_pointer
|
369
|
+
attach_function :Z3_mk_unary_minus, [ctx_pointer, ast_pointer], ast_pointer
|
370
|
+
attach_function :Z3_mk_uninterpreted_sort, [ctx_pointer, symbol_pointer], sort_pointer
|
371
|
+
attach_function :Z3_mk_unsigned_int, [ctx_pointer, :uint, sort_pointer], ast_pointer
|
372
|
+
attach_function :Z3_mk_unsigned_int64, [ctx_pointer, :uint64, sort_pointer], ast_pointer
|
373
|
+
attach_function :Z3_mk_xor, [ctx_pointer, ast_pointer, ast_pointer], ast_pointer
|
374
|
+
attach_function :Z3_mk_zero_ext, [ctx_pointer, :uint, ast_pointer], ast_pointer
|
375
|
+
attach_function :Z3_model_dec_ref, [ctx_pointer, model_pointer], :void
|
376
|
+
attach_function :Z3_model_get_const_decl, [ctx_pointer, model_pointer, :uint], func_decl_pointer
|
377
|
+
attach_function :Z3_model_get_const_interp, [ctx_pointer, model_pointer, func_decl_pointer], ast_pointer
|
378
|
+
attach_function :Z3_model_get_func_decl, [ctx_pointer, model_pointer, :uint], func_decl_pointer
|
379
|
+
attach_function :Z3_model_get_func_interp, [ctx_pointer, model_pointer, func_decl_pointer], func_interp_pointer
|
380
|
+
attach_function :Z3_model_get_num_consts, [ctx_pointer, model_pointer], :uint
|
381
|
+
attach_function :Z3_model_get_num_funcs, [ctx_pointer, model_pointer], :uint
|
382
|
+
attach_function :Z3_model_get_num_sorts, [ctx_pointer, model_pointer], :uint
|
383
|
+
attach_function :Z3_model_get_sort, [ctx_pointer, model_pointer, :uint], sort_pointer
|
384
|
+
attach_function :Z3_model_get_sort_universe, [ctx_pointer, model_pointer, sort_pointer], ast_vector_pointer
|
385
|
+
attach_function :Z3_model_has_interp, [ctx_pointer, model_pointer, func_decl_pointer], :bool
|
386
|
+
attach_function :Z3_model_inc_ref, [ctx_pointer, model_pointer], :void
|
387
|
+
attach_function :Z3_model_to_string, [ctx_pointer, model_pointer], :string
|
388
|
+
attach_function :Z3_optimize_assert, [ctx_pointer, optimize_pointer, ast_pointer], :void
|
389
|
+
attach_function :Z3_optimize_assert_soft, [ctx_pointer, optimize_pointer, ast_pointer, :string, symbol_pointer], :uint
|
390
|
+
attach_function :Z3_optimize_check, [ctx_pointer, optimize_pointer], :int
|
391
|
+
attach_function :Z3_optimize_dec_ref, [ctx_pointer, optimize_pointer], :void
|
392
|
+
attach_function :Z3_optimize_get_help, [ctx_pointer, optimize_pointer], :string
|
393
|
+
attach_function :Z3_optimize_get_lower, [ctx_pointer, optimize_pointer, :uint], ast_pointer
|
394
|
+
attach_function :Z3_optimize_get_model, [ctx_pointer, optimize_pointer], model_pointer
|
395
|
+
attach_function :Z3_optimize_get_param_descrs, [ctx_pointer, optimize_pointer], param_descrs_pointer
|
396
|
+
attach_function :Z3_optimize_get_reason_unknown, [ctx_pointer, optimize_pointer], :string
|
397
|
+
attach_function :Z3_optimize_get_statistics, [ctx_pointer, optimize_pointer], stats_pointer
|
398
|
+
attach_function :Z3_optimize_get_upper, [ctx_pointer, optimize_pointer, :uint], ast_pointer
|
399
|
+
attach_function :Z3_optimize_inc_ref, [ctx_pointer, optimize_pointer], :void
|
400
|
+
attach_function :Z3_optimize_maximize, [ctx_pointer, optimize_pointer, ast_pointer], :uint
|
401
|
+
attach_function :Z3_optimize_minimize, [ctx_pointer, optimize_pointer, ast_pointer], :uint
|
402
|
+
attach_function :Z3_optimize_pop, [ctx_pointer, optimize_pointer], :void
|
403
|
+
attach_function :Z3_optimize_push, [ctx_pointer, optimize_pointer], :void
|
404
|
+
attach_function :Z3_optimize_set_params, [ctx_pointer, optimize_pointer, params_pointer], :void
|
405
|
+
attach_function :Z3_optimize_to_string, [ctx_pointer, optimize_pointer], :string
|
406
|
+
attach_function :Z3_param_descrs_dec_ref, [ctx_pointer, param_descrs_pointer], :void
|
407
|
+
attach_function :Z3_param_descrs_get_kind, [ctx_pointer, param_descrs_pointer, symbol_pointer], :uint
|
408
|
+
attach_function :Z3_param_descrs_get_name, [ctx_pointer, param_descrs_pointer, :uint], symbol_pointer
|
409
|
+
attach_function :Z3_param_descrs_inc_ref, [ctx_pointer, param_descrs_pointer], :void
|
410
|
+
attach_function :Z3_param_descrs_size, [ctx_pointer, param_descrs_pointer], :uint
|
411
|
+
attach_function :Z3_param_descrs_to_string, [ctx_pointer, param_descrs_pointer], :string
|
412
|
+
attach_function :Z3_params_dec_ref, [ctx_pointer, params_pointer], :void
|
413
|
+
attach_function :Z3_params_inc_ref, [ctx_pointer, params_pointer], :void
|
414
|
+
attach_function :Z3_params_set_bool, [ctx_pointer, params_pointer, symbol_pointer, :bool], :void
|
415
|
+
attach_function :Z3_params_set_double, [ctx_pointer, params_pointer, symbol_pointer, :double], :void
|
416
|
+
attach_function :Z3_params_set_symbol, [ctx_pointer, params_pointer, symbol_pointer, symbol_pointer], :void
|
417
|
+
attach_function :Z3_params_set_uint, [ctx_pointer, params_pointer, symbol_pointer, :uint], :void
|
418
|
+
attach_function :Z3_params_to_string, [ctx_pointer, params_pointer], :string
|
419
|
+
attach_function :Z3_params_validate, [ctx_pointer, params_pointer, param_descrs_pointer], :void
|
420
|
+
attach_function :Z3_pattern_to_ast, [ctx_pointer, pattern_pointer], ast_pointer
|
421
|
+
attach_function :Z3_pattern_to_string, [ctx_pointer, pattern_pointer], :string
|
422
|
+
attach_function :Z3_polynomial_subresultants, [ctx_pointer, ast_pointer, ast_pointer, ast_pointer], ast_vector_pointer
|
423
|
+
attach_function :Z3_probe_and, [ctx_pointer, probe_pointer, probe_pointer], probe_pointer
|
424
|
+
attach_function :Z3_probe_apply, [ctx_pointer, probe_pointer, goal_pointer], :double
|
425
|
+
attach_function :Z3_probe_const, [ctx_pointer, :double], probe_pointer
|
426
|
+
attach_function :Z3_probe_dec_ref, [ctx_pointer, probe_pointer], :void
|
427
|
+
attach_function :Z3_probe_eq, [ctx_pointer, probe_pointer, probe_pointer], probe_pointer
|
428
|
+
attach_function :Z3_probe_ge, [ctx_pointer, probe_pointer, probe_pointer], probe_pointer
|
429
|
+
attach_function :Z3_probe_get_descr, [ctx_pointer, :string], :string
|
430
|
+
attach_function :Z3_probe_gt, [ctx_pointer, probe_pointer, probe_pointer], probe_pointer
|
431
|
+
attach_function :Z3_probe_inc_ref, [ctx_pointer, probe_pointer], :void
|
432
|
+
attach_function :Z3_probe_le, [ctx_pointer, probe_pointer, probe_pointer], probe_pointer
|
433
|
+
attach_function :Z3_probe_lt, [ctx_pointer, probe_pointer, probe_pointer], probe_pointer
|
434
|
+
attach_function :Z3_probe_not, [ctx_pointer, probe_pointer], probe_pointer
|
435
|
+
attach_function :Z3_probe_or, [ctx_pointer, probe_pointer, probe_pointer], probe_pointer
|
436
|
+
attach_function :Z3_rcf_add, [ctx_pointer, rcf_num_pointer, rcf_num_pointer], rcf_num_pointer
|
437
|
+
attach_function :Z3_rcf_del, [ctx_pointer, rcf_num_pointer], :void
|
438
|
+
attach_function :Z3_rcf_div, [ctx_pointer, rcf_num_pointer, rcf_num_pointer], rcf_num_pointer
|
439
|
+
attach_function :Z3_rcf_eq, [ctx_pointer, rcf_num_pointer, rcf_num_pointer], :bool
|
440
|
+
attach_function :Z3_rcf_ge, [ctx_pointer, rcf_num_pointer, rcf_num_pointer], :bool
|
441
|
+
attach_function :Z3_rcf_gt, [ctx_pointer, rcf_num_pointer, rcf_num_pointer], :bool
|
442
|
+
attach_function :Z3_rcf_inv, [ctx_pointer, rcf_num_pointer], rcf_num_pointer
|
443
|
+
attach_function :Z3_rcf_le, [ctx_pointer, rcf_num_pointer, rcf_num_pointer], :bool
|
444
|
+
attach_function :Z3_rcf_lt, [ctx_pointer, rcf_num_pointer, rcf_num_pointer], :bool
|
445
|
+
attach_function :Z3_rcf_mk_e, [ctx_pointer], rcf_num_pointer
|
446
|
+
attach_function :Z3_rcf_mk_infinitesimal, [ctx_pointer], rcf_num_pointer
|
447
|
+
attach_function :Z3_rcf_mk_pi, [ctx_pointer], rcf_num_pointer
|
448
|
+
attach_function :Z3_rcf_mk_rational, [ctx_pointer, :string], rcf_num_pointer
|
449
|
+
attach_function :Z3_rcf_mk_small_int, [ctx_pointer, :int], rcf_num_pointer
|
450
|
+
attach_function :Z3_rcf_mul, [ctx_pointer, rcf_num_pointer, rcf_num_pointer], rcf_num_pointer
|
451
|
+
attach_function :Z3_rcf_neg, [ctx_pointer, rcf_num_pointer], rcf_num_pointer
|
452
|
+
attach_function :Z3_rcf_neq, [ctx_pointer, rcf_num_pointer, rcf_num_pointer], :bool
|
453
|
+
attach_function :Z3_rcf_num_to_decimal_string, [ctx_pointer, rcf_num_pointer, :uint], :string
|
454
|
+
attach_function :Z3_rcf_num_to_string, [ctx_pointer, rcf_num_pointer, :bool, :bool], :string
|
455
|
+
attach_function :Z3_rcf_power, [ctx_pointer, rcf_num_pointer, :uint], rcf_num_pointer
|
456
|
+
attach_function :Z3_rcf_sub, [ctx_pointer, rcf_num_pointer, rcf_num_pointer], rcf_num_pointer
|
457
|
+
attach_function :Z3_reset_memory, [], :void
|
458
|
+
attach_function :Z3_set_param_value, [config_pointer, :string, :string], :void
|
459
|
+
attach_function :Z3_simplify, [ctx_pointer, ast_pointer], ast_pointer
|
460
|
+
attach_function :Z3_simplify_ex, [ctx_pointer, ast_pointer, params_pointer], ast_pointer
|
461
|
+
attach_function :Z3_simplify_get_help, [ctx_pointer], :string
|
462
|
+
attach_function :Z3_simplify_get_param_descrs, [ctx_pointer], param_descrs_pointer
|
463
|
+
attach_function :Z3_solver_assert, [ctx_pointer, solver_pointer, ast_pointer], :void
|
464
|
+
attach_function :Z3_solver_assert_and_track, [ctx_pointer, solver_pointer, ast_pointer, ast_pointer], :void
|
465
|
+
attach_function :Z3_solver_check, [ctx_pointer, solver_pointer], :int
|
466
|
+
attach_function :Z3_solver_dec_ref, [ctx_pointer, solver_pointer], :void
|
467
|
+
attach_function :Z3_solver_get_assertions, [ctx_pointer, solver_pointer], ast_vector_pointer
|
468
|
+
attach_function :Z3_solver_get_help, [ctx_pointer, solver_pointer], :string
|
469
|
+
attach_function :Z3_solver_get_model, [ctx_pointer, solver_pointer], model_pointer
|
470
|
+
attach_function :Z3_solver_get_num_scopes, [ctx_pointer, solver_pointer], :uint
|
471
|
+
attach_function :Z3_solver_get_param_descrs, [ctx_pointer, solver_pointer], param_descrs_pointer
|
472
|
+
attach_function :Z3_solver_get_proof, [ctx_pointer, solver_pointer], ast_pointer
|
473
|
+
attach_function :Z3_solver_get_reason_unknown, [ctx_pointer, solver_pointer], :string
|
474
|
+
attach_function :Z3_solver_get_statistics, [ctx_pointer, solver_pointer], stats_pointer
|
475
|
+
attach_function :Z3_solver_get_unsat_core, [ctx_pointer, solver_pointer], ast_vector_pointer
|
476
|
+
attach_function :Z3_solver_inc_ref, [ctx_pointer, solver_pointer], :void
|
477
|
+
attach_function :Z3_solver_pop, [ctx_pointer, solver_pointer, :uint], :void
|
478
|
+
attach_function :Z3_solver_push, [ctx_pointer, solver_pointer], :void
|
479
|
+
attach_function :Z3_solver_reset, [ctx_pointer, solver_pointer], :void
|
480
|
+
attach_function :Z3_solver_set_params, [ctx_pointer, solver_pointer, params_pointer], :void
|
481
|
+
attach_function :Z3_solver_to_string, [ctx_pointer, solver_pointer], :string
|
482
|
+
attach_function :Z3_sort_to_ast, [ctx_pointer, sort_pointer], ast_pointer
|
483
|
+
attach_function :Z3_sort_to_string, [ctx_pointer, sort_pointer], :string
|
484
|
+
attach_function :Z3_stats_dec_ref, [ctx_pointer, stats_pointer], :void
|
485
|
+
attach_function :Z3_stats_get_double_value, [ctx_pointer, stats_pointer, :uint], :double
|
486
|
+
attach_function :Z3_stats_get_key, [ctx_pointer, stats_pointer, :uint], :string
|
487
|
+
attach_function :Z3_stats_get_uint_value, [ctx_pointer, stats_pointer, :uint], :uint
|
488
|
+
attach_function :Z3_stats_inc_ref, [ctx_pointer, stats_pointer], :void
|
489
|
+
attach_function :Z3_stats_is_double, [ctx_pointer, stats_pointer, :uint], :bool
|
490
|
+
attach_function :Z3_stats_is_uint, [ctx_pointer, stats_pointer, :uint], :bool
|
491
|
+
attach_function :Z3_stats_size, [ctx_pointer, stats_pointer], :uint
|
492
|
+
attach_function :Z3_stats_to_string, [ctx_pointer, stats_pointer], :string
|
493
|
+
attach_function :Z3_tactic_and_then, [ctx_pointer, tactic_pointer, tactic_pointer], tactic_pointer
|
494
|
+
attach_function :Z3_tactic_apply, [ctx_pointer, tactic_pointer, goal_pointer], apply_result_pointer
|
495
|
+
attach_function :Z3_tactic_apply_ex, [ctx_pointer, tactic_pointer, goal_pointer, params_pointer], apply_result_pointer
|
496
|
+
attach_function :Z3_tactic_cond, [ctx_pointer, probe_pointer, tactic_pointer, tactic_pointer], tactic_pointer
|
497
|
+
attach_function :Z3_tactic_dec_ref, [ctx_pointer, tactic_pointer], :void
|
498
|
+
attach_function :Z3_tactic_fail, [ctx_pointer], tactic_pointer
|
499
|
+
attach_function :Z3_tactic_fail_if, [ctx_pointer, probe_pointer], tactic_pointer
|
500
|
+
attach_function :Z3_tactic_fail_if_not_decided, [ctx_pointer], tactic_pointer
|
501
|
+
attach_function :Z3_tactic_get_descr, [ctx_pointer, :string], :string
|
502
|
+
attach_function :Z3_tactic_get_help, [ctx_pointer, tactic_pointer], :string
|
503
|
+
attach_function :Z3_tactic_get_param_descrs, [ctx_pointer, tactic_pointer], param_descrs_pointer
|
504
|
+
attach_function :Z3_tactic_inc_ref, [ctx_pointer, tactic_pointer], :void
|
505
|
+
attach_function :Z3_tactic_or_else, [ctx_pointer, tactic_pointer, tactic_pointer], tactic_pointer
|
506
|
+
attach_function :Z3_tactic_par_and_then, [ctx_pointer, tactic_pointer, tactic_pointer], tactic_pointer
|
507
|
+
attach_function :Z3_tactic_repeat, [ctx_pointer, tactic_pointer, :uint], tactic_pointer
|
508
|
+
attach_function :Z3_tactic_skip, [ctx_pointer], tactic_pointer
|
509
|
+
attach_function :Z3_tactic_try_for, [ctx_pointer, tactic_pointer, :uint], tactic_pointer
|
510
|
+
attach_function :Z3_tactic_using_params, [ctx_pointer, tactic_pointer, params_pointer], tactic_pointer
|
511
|
+
attach_function :Z3_tactic_when, [ctx_pointer, probe_pointer, tactic_pointer], tactic_pointer
|
512
|
+
attach_function :Z3_to_app, [ctx_pointer, ast_pointer], app_pointer
|
513
|
+
attach_function :Z3_to_func_decl, [ctx_pointer, ast_pointer], func_decl_pointer
|
514
|
+
attach_function :Z3_toggle_warning_messages, [:bool], :void
|
515
|
+
attach_function :Z3_translate, [ctx_pointer, ast_pointer, ctx_pointer], ast_pointer
|
516
|
+
attach_function :Z3_update_param_value, [ctx_pointer, :string, :string], :void
|