z3 0.0.20160427 → 0.0.20161008
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rspec +2 -0
- data/Rakefile +56 -0
- data/examples/bit_tricks +21 -38
- data/examples/circuit_problems +170 -0
- data/lib/z3/ast.rb +21 -3
- data/lib/z3/context.rb +9 -7
- data/lib/z3/exception.rb +1 -2
- data/lib/z3/expr/arith_expr.rb +29 -11
- data/lib/z3/expr/array_expr.rb +5 -0
- data/lib/z3/expr/bitvec_expr.rb +293 -13
- data/lib/z3/expr/bool_expr.rb +30 -6
- data/lib/z3/expr/expr.rb +155 -2
- data/lib/z3/expr/float_expr.rb +185 -0
- data/lib/z3/expr/int_expr.rb +20 -5
- data/lib/z3/expr/real_expr.rb +1 -3
- data/lib/z3/expr/rounding_mode_expr.rb +5 -0
- data/lib/z3/expr/set_expr.rb +66 -0
- data/lib/z3/func_decl.rb +5 -5
- data/lib/z3/goal.rb +64 -0
- data/lib/z3/interface.rb +21 -222
- data/lib/z3/low_level.rb +84 -58
- data/lib/z3/low_level_auto.rb +1509 -1563
- data/lib/z3/model.rb +39 -37
- data/lib/z3/printer.rb +54 -12
- data/lib/z3/probe.rb +69 -0
- data/lib/z3/solver.rb +20 -20
- data/lib/z3/sort/array_sort.rb +24 -0
- data/lib/z3/sort/bitvec_sort.rb +1 -1
- data/lib/z3/sort/float_sort.rb +92 -0
- data/lib/z3/sort/rounding_mode_sort.rb +41 -0
- data/lib/z3/sort/set_sort.rb +31 -0
- data/lib/z3/sort/sort.rb +39 -5
- data/lib/z3/tactic.rb +69 -0
- data/lib/z3/very_low_level.rb +33 -29
- data/lib/z3/very_low_level_auto.rb +505 -517
- data/lib/z3.rb +13 -0
- data/spec/array_expr_spec.rb +18 -0
- data/spec/array_sort_spec.rb +11 -0
- data/spec/bitvec_expr_spec.rb +196 -44
- data/spec/bitvec_sort_spec.rb +29 -27
- data/spec/bool_expr_spec.rb +57 -55
- data/spec/bool_sort_spec.rb +17 -15
- data/spec/coverage_helper.rb +11 -0
- data/spec/expr_spec.rb +151 -147
- data/spec/float_expr_spec.rb +167 -0
- data/spec/float_sort_spec.rb +44 -0
- data/spec/goal_spec.rb +17 -0
- data/spec/int_expr_spec.rb +76 -63
- data/spec/int_sort_spec.rb +16 -14
- data/spec/integration/algebra_problems_spec.rb +4 -4
- data/spec/integration/cicruit_problem_spec.rb +23 -0
- data/spec/integration/geometry_problem_spec.rb +4 -4
- data/spec/integration/kinematics_problems_spec.rb +3 -3
- data/spec/model_spec.rb +39 -37
- data/spec/printer_spec.rb +49 -18
- data/spec/probe_spec.rb +17 -0
- data/spec/real_expr_spec.rb +59 -51
- data/spec/real_sort_spec.rb +22 -20
- data/spec/rounding_mode_expr_spec.rb +16 -0
- data/spec/rounding_mode_sort_spec.rb +13 -0
- data/spec/set_expr_spec.rb +61 -0
- data/spec/set_sort_spec.rb +27 -0
- data/spec/solver_spec.rb +37 -27
- data/spec/sort_spec.rb +38 -36
- data/spec/spec_helper.rb +59 -2
- data/spec/tactic_spec.rb +9 -0
- metadata +44 -4
data/lib/z3/low_level_auto.rb
CHANGED
@@ -1,2067 +1,2013 @@
|
|
1
|
-
module Z3
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
module Z3
|
2
|
+
module LowLevel
|
3
|
+
class << self
|
4
|
+
def algebraic_add(ast1, ast2) #=> :ast_pointer
|
5
|
+
VeryLowLevel.Z3_algebraic_add(_ctx_pointer, ast1._ast, ast2._ast)
|
6
|
+
end
|
6
7
|
|
7
|
-
|
8
|
-
|
9
|
-
|
8
|
+
def algebraic_div(ast1, ast2) #=> :ast_pointer
|
9
|
+
VeryLowLevel.Z3_algebraic_div(_ctx_pointer, ast1._ast, ast2._ast)
|
10
|
+
end
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
12
|
+
def algebraic_eq(ast1, ast2) #=> :bool
|
13
|
+
VeryLowLevel.Z3_algebraic_eq(_ctx_pointer, ast1._ast, ast2._ast)
|
14
|
+
end
|
14
15
|
|
15
|
-
|
16
|
-
|
17
|
-
|
16
|
+
def algebraic_ge(ast1, ast2) #=> :bool
|
17
|
+
VeryLowLevel.Z3_algebraic_ge(_ctx_pointer, ast1._ast, ast2._ast)
|
18
|
+
end
|
18
19
|
|
19
|
-
|
20
|
-
|
21
|
-
|
20
|
+
def algebraic_gt(ast1, ast2) #=> :bool
|
21
|
+
VeryLowLevel.Z3_algebraic_gt(_ctx_pointer, ast1._ast, ast2._ast)
|
22
|
+
end
|
22
23
|
|
23
|
-
|
24
|
-
|
25
|
-
|
24
|
+
def algebraic_is_neg(ast) #=> :bool
|
25
|
+
VeryLowLevel.Z3_algebraic_is_neg(_ctx_pointer, ast._ast)
|
26
|
+
end
|
26
27
|
|
27
|
-
|
28
|
-
|
29
|
-
|
28
|
+
def algebraic_is_pos(ast) #=> :bool
|
29
|
+
VeryLowLevel.Z3_algebraic_is_pos(_ctx_pointer, ast._ast)
|
30
|
+
end
|
30
31
|
|
31
|
-
|
32
|
-
|
33
|
-
|
32
|
+
def algebraic_is_value(ast) #=> :bool
|
33
|
+
VeryLowLevel.Z3_algebraic_is_value(_ctx_pointer, ast._ast)
|
34
|
+
end
|
34
35
|
|
35
|
-
|
36
|
-
|
37
|
-
|
36
|
+
def algebraic_is_zero(ast) #=> :bool
|
37
|
+
VeryLowLevel.Z3_algebraic_is_zero(_ctx_pointer, ast._ast)
|
38
|
+
end
|
38
39
|
|
39
|
-
|
40
|
-
|
41
|
-
|
40
|
+
def algebraic_le(ast1, ast2) #=> :bool
|
41
|
+
VeryLowLevel.Z3_algebraic_le(_ctx_pointer, ast1._ast, ast2._ast)
|
42
|
+
end
|
42
43
|
|
43
|
-
|
44
|
-
|
45
|
-
|
44
|
+
def algebraic_lt(ast1, ast2) #=> :bool
|
45
|
+
VeryLowLevel.Z3_algebraic_lt(_ctx_pointer, ast1._ast, ast2._ast)
|
46
|
+
end
|
46
47
|
|
47
|
-
|
48
|
-
|
49
|
-
|
48
|
+
def algebraic_mul(ast1, ast2) #=> :ast_pointer
|
49
|
+
VeryLowLevel.Z3_algebraic_mul(_ctx_pointer, ast1._ast, ast2._ast)
|
50
|
+
end
|
50
51
|
|
51
|
-
|
52
|
-
|
53
|
-
|
52
|
+
def algebraic_neq(ast1, ast2) #=> :bool
|
53
|
+
VeryLowLevel.Z3_algebraic_neq(_ctx_pointer, ast1._ast, ast2._ast)
|
54
|
+
end
|
54
55
|
|
55
|
-
|
56
|
-
|
57
|
-
|
56
|
+
def algebraic_power(ast, num) #=> :ast_pointer
|
57
|
+
VeryLowLevel.Z3_algebraic_power(_ctx_pointer, ast._ast, num)
|
58
|
+
end
|
58
59
|
|
59
|
-
|
60
|
-
|
61
|
-
|
60
|
+
def algebraic_root(ast, num) #=> :ast_pointer
|
61
|
+
VeryLowLevel.Z3_algebraic_root(_ctx_pointer, ast._ast, num)
|
62
|
+
end
|
62
63
|
|
63
|
-
|
64
|
-
|
65
|
-
|
64
|
+
def algebraic_sign(ast) #=> :int
|
65
|
+
VeryLowLevel.Z3_algebraic_sign(_ctx_pointer, ast._ast)
|
66
|
+
end
|
66
67
|
|
67
|
-
|
68
|
-
|
69
|
-
|
68
|
+
def algebraic_sub(ast1, ast2) #=> :ast_pointer
|
69
|
+
VeryLowLevel.Z3_algebraic_sub(_ctx_pointer, ast1._ast, ast2._ast)
|
70
|
+
end
|
70
71
|
|
71
|
-
|
72
|
-
|
73
|
-
|
72
|
+
def apply_result_convert_model(apply_result, num, model) #=> :model_pointer
|
73
|
+
VeryLowLevel.Z3_apply_result_convert_model(_ctx_pointer, apply_result._apply_result, num, model._model)
|
74
|
+
end
|
74
75
|
|
75
|
-
|
76
|
-
|
77
|
-
|
76
|
+
def apply_result_dec_ref(apply_result) #=> :void
|
77
|
+
VeryLowLevel.Z3_apply_result_dec_ref(_ctx_pointer, apply_result._apply_result)
|
78
|
+
end
|
78
79
|
|
79
|
-
|
80
|
-
|
81
|
-
|
80
|
+
def apply_result_get_num_subgoals(apply_result) #=> :uint
|
81
|
+
VeryLowLevel.Z3_apply_result_get_num_subgoals(_ctx_pointer, apply_result._apply_result)
|
82
|
+
end
|
82
83
|
|
83
|
-
|
84
|
-
|
85
|
-
|
84
|
+
def apply_result_get_subgoal(apply_result, num) #=> :goal_pointer
|
85
|
+
VeryLowLevel.Z3_apply_result_get_subgoal(_ctx_pointer, apply_result._apply_result, num)
|
86
|
+
end
|
86
87
|
|
87
|
-
|
88
|
-
|
89
|
-
|
88
|
+
def apply_result_inc_ref(apply_result) #=> :void
|
89
|
+
VeryLowLevel.Z3_apply_result_inc_ref(_ctx_pointer, apply_result._apply_result)
|
90
|
+
end
|
90
91
|
|
91
|
-
|
92
|
-
|
93
|
-
|
92
|
+
def apply_result_to_string(apply_result) #=> :string
|
93
|
+
VeryLowLevel.Z3_apply_result_to_string(_ctx_pointer, apply_result._apply_result)
|
94
|
+
end
|
94
95
|
|
95
|
-
|
96
|
-
|
97
|
-
|
96
|
+
def ast_map_contains(ast_map, ast) #=> :bool
|
97
|
+
VeryLowLevel.Z3_ast_map_contains(_ctx_pointer, ast_map._ast_map, ast._ast)
|
98
|
+
end
|
98
99
|
|
99
|
-
|
100
|
-
|
101
|
-
|
100
|
+
def ast_map_dec_ref(ast_map) #=> :void
|
101
|
+
VeryLowLevel.Z3_ast_map_dec_ref(_ctx_pointer, ast_map._ast_map)
|
102
|
+
end
|
102
103
|
|
103
|
-
|
104
|
-
|
105
|
-
|
104
|
+
def ast_map_erase(ast_map, ast) #=> :void
|
105
|
+
VeryLowLevel.Z3_ast_map_erase(_ctx_pointer, ast_map._ast_map, ast._ast)
|
106
|
+
end
|
106
107
|
|
107
|
-
|
108
|
-
|
109
|
-
|
108
|
+
def ast_map_find(ast_map, ast) #=> :ast_pointer
|
109
|
+
VeryLowLevel.Z3_ast_map_find(_ctx_pointer, ast_map._ast_map, ast._ast)
|
110
|
+
end
|
110
111
|
|
111
|
-
|
112
|
-
|
113
|
-
|
112
|
+
def ast_map_inc_ref(ast_map) #=> :void
|
113
|
+
VeryLowLevel.Z3_ast_map_inc_ref(_ctx_pointer, ast_map._ast_map)
|
114
|
+
end
|
114
115
|
|
115
|
-
|
116
|
-
|
117
|
-
|
116
|
+
def ast_map_insert(ast_map, ast1, ast2) #=> :void
|
117
|
+
VeryLowLevel.Z3_ast_map_insert(_ctx_pointer, ast_map._ast_map, ast1._ast, ast2._ast)
|
118
|
+
end
|
118
119
|
|
119
|
-
|
120
|
-
|
121
|
-
|
120
|
+
def ast_map_keys(ast_map) #=> :ast_vector_pointer
|
121
|
+
VeryLowLevel.Z3_ast_map_keys(_ctx_pointer, ast_map._ast_map)
|
122
|
+
end
|
122
123
|
|
123
|
-
|
124
|
-
|
125
|
-
|
124
|
+
def ast_map_reset(ast_map) #=> :void
|
125
|
+
VeryLowLevel.Z3_ast_map_reset(_ctx_pointer, ast_map._ast_map)
|
126
|
+
end
|
126
127
|
|
127
|
-
|
128
|
-
|
129
|
-
|
128
|
+
def ast_map_size(ast_map) #=> :uint
|
129
|
+
VeryLowLevel.Z3_ast_map_size(_ctx_pointer, ast_map._ast_map)
|
130
|
+
end
|
130
131
|
|
131
|
-
|
132
|
-
|
133
|
-
|
132
|
+
def ast_map_to_string(ast_map) #=> :string
|
133
|
+
VeryLowLevel.Z3_ast_map_to_string(_ctx_pointer, ast_map._ast_map)
|
134
|
+
end
|
134
135
|
|
135
|
-
|
136
|
-
|
137
|
-
|
136
|
+
def ast_to_string(ast) #=> :string
|
137
|
+
VeryLowLevel.Z3_ast_to_string(_ctx_pointer, ast._ast)
|
138
|
+
end
|
138
139
|
|
139
|
-
|
140
|
-
|
141
|
-
|
140
|
+
def ast_vector_dec_ref(ast_vector) #=> :void
|
141
|
+
VeryLowLevel.Z3_ast_vector_dec_ref(_ctx_pointer, ast_vector)
|
142
|
+
end
|
142
143
|
|
143
|
-
|
144
|
-
|
145
|
-
|
144
|
+
def ast_vector_get(ast_vector, num) #=> :ast_pointer
|
145
|
+
VeryLowLevel.Z3_ast_vector_get(_ctx_pointer, ast_vector, num)
|
146
|
+
end
|
146
147
|
|
147
|
-
|
148
|
-
|
149
|
-
|
148
|
+
def ast_vector_inc_ref(ast_vector) #=> :void
|
149
|
+
VeryLowLevel.Z3_ast_vector_inc_ref(_ctx_pointer, ast_vector)
|
150
|
+
end
|
150
151
|
|
151
|
-
|
152
|
-
|
153
|
-
|
152
|
+
def ast_vector_push(ast_vector, ast) #=> :void
|
153
|
+
VeryLowLevel.Z3_ast_vector_push(_ctx_pointer, ast_vector, ast._ast)
|
154
|
+
end
|
154
155
|
|
155
|
-
|
156
|
-
|
157
|
-
|
156
|
+
def ast_vector_resize(ast_vector, num) #=> :void
|
157
|
+
VeryLowLevel.Z3_ast_vector_resize(_ctx_pointer, ast_vector, num)
|
158
|
+
end
|
158
159
|
|
159
|
-
|
160
|
-
|
161
|
-
|
160
|
+
def ast_vector_set(ast_vector, num, ast) #=> :void
|
161
|
+
VeryLowLevel.Z3_ast_vector_set(_ctx_pointer, ast_vector, num, ast._ast)
|
162
|
+
end
|
162
163
|
|
163
|
-
|
164
|
-
|
165
|
-
|
164
|
+
def ast_vector_size(ast_vector) #=> :uint
|
165
|
+
VeryLowLevel.Z3_ast_vector_size(_ctx_pointer, ast_vector)
|
166
|
+
end
|
166
167
|
|
167
|
-
|
168
|
-
|
169
|
-
|
168
|
+
def ast_vector_to_string(ast_vector) #=> :string
|
169
|
+
VeryLowLevel.Z3_ast_vector_to_string(_ctx_pointer, ast_vector)
|
170
|
+
end
|
170
171
|
|
171
|
-
|
172
|
-
|
173
|
-
|
172
|
+
def ast_vector_translate(ast_vector, context) #=> :ast_vector_pointer
|
173
|
+
VeryLowLevel.Z3_ast_vector_translate(_ctx_pointer, ast_vector, context._context)
|
174
|
+
end
|
174
175
|
|
175
|
-
|
176
|
-
|
177
|
-
|
176
|
+
def datatype_update_field(func_decl, ast1, ast2) #=> :ast_pointer
|
177
|
+
VeryLowLevel.Z3_datatype_update_field(_ctx_pointer, func_decl._ast, ast1._ast, ast2._ast)
|
178
|
+
end
|
178
179
|
|
179
|
-
|
180
|
-
|
181
|
-
|
180
|
+
def dec_ref(ast) #=> :void
|
181
|
+
VeryLowLevel.Z3_dec_ref(_ctx_pointer, ast._ast)
|
182
|
+
end
|
182
183
|
|
183
|
-
|
184
|
-
|
185
|
-
|
184
|
+
def del_config(config) #=> :void
|
185
|
+
VeryLowLevel.Z3_del_config(config._config)
|
186
|
+
end
|
186
187
|
|
187
|
-
|
188
|
-
|
189
|
-
|
188
|
+
def del_constructor(constructor) #=> :void
|
189
|
+
VeryLowLevel.Z3_del_constructor(_ctx_pointer, constructor._constructor)
|
190
|
+
end
|
190
191
|
|
191
|
-
|
192
|
-
|
193
|
-
|
192
|
+
def del_constructor_list(constructor_list) #=> :void
|
193
|
+
VeryLowLevel.Z3_del_constructor_list(_ctx_pointer, constructor_list._constructor_list)
|
194
|
+
end
|
194
195
|
|
195
|
-
|
196
|
-
|
197
|
-
|
196
|
+
def del_context #=> :void
|
197
|
+
VeryLowLevel.Z3_del_context(_ctx_pointer)
|
198
|
+
end
|
198
199
|
|
199
|
-
|
200
|
-
|
201
|
-
|
200
|
+
def disable_trace(str) #=> :void
|
201
|
+
VeryLowLevel.Z3_disable_trace(str)
|
202
|
+
end
|
202
203
|
|
203
|
-
|
204
|
-
|
205
|
-
|
204
|
+
def enable_trace(str) #=> :void
|
205
|
+
VeryLowLevel.Z3_enable_trace(str)
|
206
|
+
end
|
206
207
|
|
207
|
-
|
208
|
-
|
209
|
-
|
208
|
+
def finalize_memory #=> :void
|
209
|
+
VeryLowLevel.Z3_finalize_memory()
|
210
|
+
end
|
210
211
|
|
211
|
-
|
212
|
-
|
213
|
-
|
212
|
+
def fixedpoint_add_cover(fixedpoint, num, func_decl, ast) #=> :void
|
213
|
+
VeryLowLevel.Z3_fixedpoint_add_cover(_ctx_pointer, fixedpoint._fixedpoint, num, func_decl._ast, ast._ast)
|
214
|
+
end
|
214
215
|
|
215
|
-
|
216
|
-
|
217
|
-
|
216
|
+
def fixedpoint_add_rule(fixedpoint, ast, sym) #=> :void
|
217
|
+
VeryLowLevel.Z3_fixedpoint_add_rule(_ctx_pointer, fixedpoint._fixedpoint, ast._ast, sym)
|
218
|
+
end
|
218
219
|
|
219
|
-
|
220
|
-
|
221
|
-
|
220
|
+
def fixedpoint_assert(fixedpoint, ast) #=> :void
|
221
|
+
VeryLowLevel.Z3_fixedpoint_assert(_ctx_pointer, fixedpoint._fixedpoint, ast._ast)
|
222
|
+
end
|
222
223
|
|
223
|
-
|
224
|
-
|
225
|
-
|
224
|
+
def fixedpoint_dec_ref(fixedpoint) #=> :void
|
225
|
+
VeryLowLevel.Z3_fixedpoint_dec_ref(_ctx_pointer, fixedpoint._fixedpoint)
|
226
|
+
end
|
226
227
|
|
227
|
-
|
228
|
-
|
229
|
-
|
228
|
+
def fixedpoint_from_file(fixedpoint, str) #=> :ast_vector_pointer
|
229
|
+
VeryLowLevel.Z3_fixedpoint_from_file(_ctx_pointer, fixedpoint._fixedpoint, str)
|
230
|
+
end
|
230
231
|
|
231
|
-
|
232
|
-
|
233
|
-
|
232
|
+
def fixedpoint_from_string(fixedpoint, str) #=> :ast_vector_pointer
|
233
|
+
VeryLowLevel.Z3_fixedpoint_from_string(_ctx_pointer, fixedpoint._fixedpoint, str)
|
234
|
+
end
|
234
235
|
|
235
|
-
|
236
|
-
|
237
|
-
|
236
|
+
def fixedpoint_get_answer(fixedpoint) #=> :ast_pointer
|
237
|
+
VeryLowLevel.Z3_fixedpoint_get_answer(_ctx_pointer, fixedpoint._fixedpoint)
|
238
|
+
end
|
238
239
|
|
239
|
-
|
240
|
-
|
241
|
-
|
240
|
+
def fixedpoint_get_assertions(fixedpoint) #=> :ast_vector_pointer
|
241
|
+
VeryLowLevel.Z3_fixedpoint_get_assertions(_ctx_pointer, fixedpoint._fixedpoint)
|
242
|
+
end
|
242
243
|
|
243
|
-
|
244
|
-
|
245
|
-
|
244
|
+
def fixedpoint_get_cover_delta(fixedpoint, num, func_decl) #=> :ast_pointer
|
245
|
+
VeryLowLevel.Z3_fixedpoint_get_cover_delta(_ctx_pointer, fixedpoint._fixedpoint, num, func_decl._ast)
|
246
|
+
end
|
246
247
|
|
247
|
-
|
248
|
-
|
249
|
-
|
248
|
+
def fixedpoint_get_help(fixedpoint) #=> :string
|
249
|
+
VeryLowLevel.Z3_fixedpoint_get_help(_ctx_pointer, fixedpoint._fixedpoint)
|
250
|
+
end
|
250
251
|
|
251
|
-
|
252
|
-
|
253
|
-
|
252
|
+
def fixedpoint_get_num_levels(fixedpoint, func_decl) #=> :uint
|
253
|
+
VeryLowLevel.Z3_fixedpoint_get_num_levels(_ctx_pointer, fixedpoint._fixedpoint, func_decl._ast)
|
254
|
+
end
|
254
255
|
|
255
|
-
|
256
|
-
|
257
|
-
|
256
|
+
def fixedpoint_get_param_descrs(fixedpoint) #=> :param_descrs_pointer
|
257
|
+
VeryLowLevel.Z3_fixedpoint_get_param_descrs(_ctx_pointer, fixedpoint._fixedpoint)
|
258
|
+
end
|
258
259
|
|
259
|
-
|
260
|
-
|
261
|
-
|
260
|
+
def fixedpoint_get_reason_unknown(fixedpoint) #=> :string
|
261
|
+
VeryLowLevel.Z3_fixedpoint_get_reason_unknown(_ctx_pointer, fixedpoint._fixedpoint)
|
262
|
+
end
|
262
263
|
|
263
|
-
|
264
|
-
|
265
|
-
|
264
|
+
def fixedpoint_get_rules(fixedpoint) #=> :ast_vector_pointer
|
265
|
+
VeryLowLevel.Z3_fixedpoint_get_rules(_ctx_pointer, fixedpoint._fixedpoint)
|
266
|
+
end
|
266
267
|
|
267
|
-
|
268
|
-
|
269
|
-
|
268
|
+
def fixedpoint_get_statistics(fixedpoint) #=> :stats_pointer
|
269
|
+
VeryLowLevel.Z3_fixedpoint_get_statistics(_ctx_pointer, fixedpoint._fixedpoint)
|
270
|
+
end
|
270
271
|
|
271
|
-
|
272
|
-
|
273
|
-
|
272
|
+
def fixedpoint_inc_ref(fixedpoint) #=> :void
|
273
|
+
VeryLowLevel.Z3_fixedpoint_inc_ref(_ctx_pointer, fixedpoint._fixedpoint)
|
274
|
+
end
|
274
275
|
|
275
|
-
|
276
|
-
|
277
|
-
|
276
|
+
def fixedpoint_pop(fixedpoint) #=> :void
|
277
|
+
VeryLowLevel.Z3_fixedpoint_pop(_ctx_pointer, fixedpoint._fixedpoint)
|
278
|
+
end
|
278
279
|
|
279
|
-
|
280
|
-
|
281
|
-
|
280
|
+
def fixedpoint_push(fixedpoint) #=> :void
|
281
|
+
VeryLowLevel.Z3_fixedpoint_push(_ctx_pointer, fixedpoint._fixedpoint)
|
282
|
+
end
|
282
283
|
|
283
|
-
|
284
|
-
|
285
|
-
|
284
|
+
def fixedpoint_query(fixedpoint, ast) #=> :int
|
285
|
+
VeryLowLevel.Z3_fixedpoint_query(_ctx_pointer, fixedpoint._fixedpoint, ast._ast)
|
286
|
+
end
|
286
287
|
|
287
|
-
|
288
|
-
|
289
|
-
|
288
|
+
def fixedpoint_register_relation(fixedpoint, func_decl) #=> :void
|
289
|
+
VeryLowLevel.Z3_fixedpoint_register_relation(_ctx_pointer, fixedpoint._fixedpoint, func_decl._ast)
|
290
|
+
end
|
290
291
|
|
291
|
-
|
292
|
-
|
293
|
-
|
292
|
+
def fixedpoint_set_params(fixedpoint, params) #=> :void
|
293
|
+
VeryLowLevel.Z3_fixedpoint_set_params(_ctx_pointer, fixedpoint._fixedpoint, params._params)
|
294
|
+
end
|
294
295
|
|
295
|
-
|
296
|
-
|
297
|
-
|
296
|
+
def fixedpoint_update_rule(fixedpoint, ast, sym) #=> :void
|
297
|
+
VeryLowLevel.Z3_fixedpoint_update_rule(_ctx_pointer, fixedpoint._fixedpoint, ast._ast, sym)
|
298
|
+
end
|
298
299
|
|
299
|
-
|
300
|
-
|
301
|
-
|
300
|
+
def fpa_get_ebits(sort) #=> :uint
|
301
|
+
VeryLowLevel.Z3_fpa_get_ebits(_ctx_pointer, sort._ast)
|
302
|
+
end
|
302
303
|
|
303
|
-
|
304
|
-
|
305
|
-
|
304
|
+
def fpa_get_numeral_exponent_string(ast) #=> :string
|
305
|
+
VeryLowLevel.Z3_fpa_get_numeral_exponent_string(_ctx_pointer, ast._ast)
|
306
|
+
end
|
306
307
|
|
307
|
-
|
308
|
-
|
309
|
-
|
308
|
+
def fpa_get_numeral_significand_string(ast) #=> :string
|
309
|
+
VeryLowLevel.Z3_fpa_get_numeral_significand_string(_ctx_pointer, ast._ast)
|
310
|
+
end
|
310
311
|
|
311
|
-
|
312
|
-
|
313
|
-
|
312
|
+
def fpa_get_sbits(sort) #=> :uint
|
313
|
+
VeryLowLevel.Z3_fpa_get_sbits(_ctx_pointer, sort._ast)
|
314
|
+
end
|
314
315
|
|
315
|
-
|
316
|
-
|
317
|
-
|
316
|
+
def func_entry_dec_ref(func_entry) #=> :void
|
317
|
+
VeryLowLevel.Z3_func_entry_dec_ref(_ctx_pointer, func_entry._func_entry)
|
318
|
+
end
|
318
319
|
|
319
|
-
|
320
|
-
|
321
|
-
|
320
|
+
def func_entry_get_arg(func_entry, num) #=> :ast_pointer
|
321
|
+
VeryLowLevel.Z3_func_entry_get_arg(_ctx_pointer, func_entry._func_entry, num)
|
322
|
+
end
|
322
323
|
|
323
|
-
|
324
|
-
|
325
|
-
|
324
|
+
def func_entry_get_num_args(func_entry) #=> :uint
|
325
|
+
VeryLowLevel.Z3_func_entry_get_num_args(_ctx_pointer, func_entry._func_entry)
|
326
|
+
end
|
326
327
|
|
327
|
-
|
328
|
-
|
329
|
-
|
328
|
+
def func_entry_get_value(func_entry) #=> :ast_pointer
|
329
|
+
VeryLowLevel.Z3_func_entry_get_value(_ctx_pointer, func_entry._func_entry)
|
330
|
+
end
|
330
331
|
|
331
|
-
|
332
|
-
|
333
|
-
|
332
|
+
def func_entry_inc_ref(func_entry) #=> :void
|
333
|
+
VeryLowLevel.Z3_func_entry_inc_ref(_ctx_pointer, func_entry._func_entry)
|
334
|
+
end
|
334
335
|
|
335
|
-
|
336
|
-
|
337
|
-
|
336
|
+
def func_interp_dec_ref(func_interp) #=> :void
|
337
|
+
VeryLowLevel.Z3_func_interp_dec_ref(_ctx_pointer, func_interp._func_interp)
|
338
|
+
end
|
338
339
|
|
339
|
-
|
340
|
-
|
341
|
-
|
340
|
+
def func_interp_get_arity(func_interp) #=> :uint
|
341
|
+
VeryLowLevel.Z3_func_interp_get_arity(_ctx_pointer, func_interp._func_interp)
|
342
|
+
end
|
342
343
|
|
343
|
-
|
344
|
-
|
345
|
-
|
344
|
+
def func_interp_get_else(func_interp) #=> :ast_pointer
|
345
|
+
VeryLowLevel.Z3_func_interp_get_else(_ctx_pointer, func_interp._func_interp)
|
346
|
+
end
|
346
347
|
|
347
|
-
|
348
|
-
|
349
|
-
|
348
|
+
def func_interp_get_entry(func_interp, num) #=> :func_entry_pointer
|
349
|
+
VeryLowLevel.Z3_func_interp_get_entry(_ctx_pointer, func_interp._func_interp, num)
|
350
|
+
end
|
350
351
|
|
351
|
-
|
352
|
-
|
353
|
-
|
352
|
+
def func_interp_get_num_entries(func_interp) #=> :uint
|
353
|
+
VeryLowLevel.Z3_func_interp_get_num_entries(_ctx_pointer, func_interp._func_interp)
|
354
|
+
end
|
354
355
|
|
355
|
-
|
356
|
-
|
357
|
-
|
356
|
+
def func_interp_inc_ref(func_interp) #=> :void
|
357
|
+
VeryLowLevel.Z3_func_interp_inc_ref(_ctx_pointer, func_interp._func_interp)
|
358
|
+
end
|
358
359
|
|
359
|
-
|
360
|
-
|
361
|
-
|
360
|
+
def get_algebraic_number_lower(ast, num) #=> :ast_pointer
|
361
|
+
VeryLowLevel.Z3_get_algebraic_number_lower(_ctx_pointer, ast._ast, num)
|
362
|
+
end
|
362
363
|
|
363
|
-
|
364
|
-
|
365
|
-
|
364
|
+
def get_algebraic_number_upper(ast, num) #=> :ast_pointer
|
365
|
+
VeryLowLevel.Z3_get_algebraic_number_upper(_ctx_pointer, ast._ast, num)
|
366
|
+
end
|
366
367
|
|
367
|
-
|
368
|
-
|
369
|
-
|
368
|
+
def get_app_arg(app, num) #=> :ast_pointer
|
369
|
+
VeryLowLevel.Z3_get_app_arg(_ctx_pointer, app._ast, num)
|
370
|
+
end
|
370
371
|
|
371
|
-
|
372
|
-
|
373
|
-
|
372
|
+
def get_app_decl(app) #=> :func_decl_pointer
|
373
|
+
VeryLowLevel.Z3_get_app_decl(_ctx_pointer, app._ast)
|
374
|
+
end
|
374
375
|
|
375
|
-
|
376
|
-
|
377
|
-
|
376
|
+
def get_app_num_args(app) #=> :uint
|
377
|
+
VeryLowLevel.Z3_get_app_num_args(_ctx_pointer, app._ast)
|
378
|
+
end
|
378
379
|
|
379
|
-
|
380
|
-
|
381
|
-
|
380
|
+
def get_arity(func_decl) #=> :uint
|
381
|
+
VeryLowLevel.Z3_get_arity(_ctx_pointer, func_decl._ast)
|
382
|
+
end
|
382
383
|
|
383
|
-
|
384
|
-
|
385
|
-
|
384
|
+
def get_array_sort_domain(sort) #=> :sort_pointer
|
385
|
+
VeryLowLevel.Z3_get_array_sort_domain(_ctx_pointer, sort._ast)
|
386
|
+
end
|
386
387
|
|
387
|
-
|
388
|
-
|
389
|
-
|
388
|
+
def get_array_sort_range(sort) #=> :sort_pointer
|
389
|
+
VeryLowLevel.Z3_get_array_sort_range(_ctx_pointer, sort._ast)
|
390
|
+
end
|
390
391
|
|
391
|
-
|
392
|
-
|
393
|
-
|
392
|
+
def get_as_array_func_decl(ast) #=> :func_decl_pointer
|
393
|
+
VeryLowLevel.Z3_get_as_array_func_decl(_ctx_pointer, ast._ast)
|
394
|
+
end
|
394
395
|
|
395
|
-
|
396
|
-
|
397
|
-
|
396
|
+
def get_ast_hash(ast) #=> :uint
|
397
|
+
VeryLowLevel.Z3_get_ast_hash(_ctx_pointer, ast._ast)
|
398
|
+
end
|
398
399
|
|
399
|
-
|
400
|
-
|
401
|
-
|
400
|
+
def get_ast_id(ast) #=> :uint
|
401
|
+
VeryLowLevel.Z3_get_ast_id(_ctx_pointer, ast._ast)
|
402
|
+
end
|
402
403
|
|
403
|
-
|
404
|
-
|
405
|
-
|
404
|
+
def get_ast_kind(ast) #=> :uint
|
405
|
+
VeryLowLevel.Z3_get_ast_kind(_ctx_pointer, ast._ast)
|
406
|
+
end
|
406
407
|
|
407
|
-
|
408
|
-
|
409
|
-
|
408
|
+
def get_bool_value(ast) #=> :int
|
409
|
+
VeryLowLevel.Z3_get_bool_value(_ctx_pointer, ast._ast)
|
410
|
+
end
|
410
411
|
|
411
|
-
|
412
|
-
|
413
|
-
|
412
|
+
def get_bv_sort_size(sort) #=> :uint
|
413
|
+
VeryLowLevel.Z3_get_bv_sort_size(_ctx_pointer, sort._ast)
|
414
|
+
end
|
414
415
|
|
415
|
-
|
416
|
-
|
417
|
-
|
416
|
+
def get_datatype_sort_constructor(sort, num) #=> :func_decl_pointer
|
417
|
+
VeryLowLevel.Z3_get_datatype_sort_constructor(_ctx_pointer, sort._ast, num)
|
418
|
+
end
|
418
419
|
|
419
|
-
|
420
|
-
|
421
|
-
|
420
|
+
def get_datatype_sort_constructor_accessor(sort, num1, num2) #=> :func_decl_pointer
|
421
|
+
VeryLowLevel.Z3_get_datatype_sort_constructor_accessor(_ctx_pointer, sort._ast, num1, num2)
|
422
|
+
end
|
422
423
|
|
423
|
-
|
424
|
-
|
425
|
-
|
424
|
+
def get_datatype_sort_num_constructors(sort) #=> :uint
|
425
|
+
VeryLowLevel.Z3_get_datatype_sort_num_constructors(_ctx_pointer, sort._ast)
|
426
|
+
end
|
426
427
|
|
427
|
-
|
428
|
-
|
429
|
-
|
428
|
+
def get_datatype_sort_recognizer(sort, num) #=> :func_decl_pointer
|
429
|
+
VeryLowLevel.Z3_get_datatype_sort_recognizer(_ctx_pointer, sort._ast, num)
|
430
|
+
end
|
430
431
|
|
431
|
-
|
432
|
-
|
433
|
-
|
432
|
+
def get_decl_ast_parameter(func_decl, num) #=> :ast_pointer
|
433
|
+
VeryLowLevel.Z3_get_decl_ast_parameter(_ctx_pointer, func_decl._ast, num)
|
434
|
+
end
|
434
435
|
|
435
|
-
|
436
|
-
|
437
|
-
|
436
|
+
def get_decl_double_parameter(func_decl, num) #=> :double
|
437
|
+
VeryLowLevel.Z3_get_decl_double_parameter(_ctx_pointer, func_decl._ast, num)
|
438
|
+
end
|
438
439
|
|
439
|
-
|
440
|
-
|
441
|
-
|
440
|
+
def get_decl_func_decl_parameter(func_decl, num) #=> :func_decl_pointer
|
441
|
+
VeryLowLevel.Z3_get_decl_func_decl_parameter(_ctx_pointer, func_decl._ast, num)
|
442
|
+
end
|
442
443
|
|
443
|
-
|
444
|
-
|
445
|
-
|
444
|
+
def get_decl_int_parameter(func_decl, num) #=> :int
|
445
|
+
VeryLowLevel.Z3_get_decl_int_parameter(_ctx_pointer, func_decl._ast, num)
|
446
|
+
end
|
446
447
|
|
447
|
-
|
448
|
-
|
449
|
-
|
448
|
+
def get_decl_kind(func_decl) #=> :uint
|
449
|
+
VeryLowLevel.Z3_get_decl_kind(_ctx_pointer, func_decl._ast)
|
450
|
+
end
|
450
451
|
|
451
|
-
|
452
|
-
|
453
|
-
|
452
|
+
def get_decl_name(func_decl) #=> :symbol_pointer
|
453
|
+
VeryLowLevel.Z3_get_decl_name(_ctx_pointer, func_decl._ast)
|
454
|
+
end
|
454
455
|
|
455
|
-
|
456
|
-
|
457
|
-
|
456
|
+
def get_decl_num_parameters(func_decl) #=> :uint
|
457
|
+
VeryLowLevel.Z3_get_decl_num_parameters(_ctx_pointer, func_decl._ast)
|
458
|
+
end
|
458
459
|
|
459
|
-
|
460
|
-
|
461
|
-
|
460
|
+
def get_decl_parameter_kind(func_decl, num) #=> :uint
|
461
|
+
VeryLowLevel.Z3_get_decl_parameter_kind(_ctx_pointer, func_decl._ast, num)
|
462
|
+
end
|
462
463
|
|
463
|
-
|
464
|
-
|
465
|
-
|
464
|
+
def get_decl_rational_parameter(func_decl, num) #=> :string
|
465
|
+
VeryLowLevel.Z3_get_decl_rational_parameter(_ctx_pointer, func_decl._ast, num)
|
466
|
+
end
|
466
467
|
|
467
|
-
|
468
|
-
|
469
|
-
|
468
|
+
def get_decl_sort_parameter(func_decl, num) #=> :sort_pointer
|
469
|
+
VeryLowLevel.Z3_get_decl_sort_parameter(_ctx_pointer, func_decl._ast, num)
|
470
|
+
end
|
470
471
|
|
471
|
-
|
472
|
-
|
473
|
-
|
472
|
+
def get_decl_symbol_parameter(func_decl, num) #=> :symbol_pointer
|
473
|
+
VeryLowLevel.Z3_get_decl_symbol_parameter(_ctx_pointer, func_decl._ast, num)
|
474
|
+
end
|
474
475
|
|
475
|
-
|
476
|
-
|
477
|
-
|
476
|
+
def get_denominator(ast) #=> :ast_pointer
|
477
|
+
VeryLowLevel.Z3_get_denominator(_ctx_pointer, ast._ast)
|
478
|
+
end
|
478
479
|
|
479
|
-
|
480
|
-
|
481
|
-
|
480
|
+
def get_domain(func_decl, num) #=> :sort_pointer
|
481
|
+
VeryLowLevel.Z3_get_domain(_ctx_pointer, func_decl._ast, num)
|
482
|
+
end
|
482
483
|
|
483
|
-
|
484
|
-
|
485
|
-
|
484
|
+
def get_domain_size(func_decl) #=> :uint
|
485
|
+
VeryLowLevel.Z3_get_domain_size(_ctx_pointer, func_decl._ast)
|
486
|
+
end
|
486
487
|
|
487
|
-
|
488
|
-
|
489
|
-
|
488
|
+
def get_error_code #=> :uint
|
489
|
+
VeryLowLevel.Z3_get_error_code(_ctx_pointer)
|
490
|
+
end
|
490
491
|
|
491
|
-
|
492
|
-
|
493
|
-
|
492
|
+
def get_func_decl_id(func_decl) #=> :uint
|
493
|
+
VeryLowLevel.Z3_get_func_decl_id(_ctx_pointer, func_decl._ast)
|
494
|
+
end
|
494
495
|
|
495
|
-
|
496
|
-
|
497
|
-
|
496
|
+
def get_index_value(ast) #=> :uint
|
497
|
+
VeryLowLevel.Z3_get_index_value(_ctx_pointer, ast._ast)
|
498
|
+
end
|
498
499
|
|
499
|
-
|
500
|
-
|
501
|
-
|
500
|
+
def get_interpolant(ast1, ast2, params) #=> :ast_vector_pointer
|
501
|
+
VeryLowLevel.Z3_get_interpolant(_ctx_pointer, ast1._ast, ast2._ast, params._params)
|
502
|
+
end
|
502
503
|
|
503
|
-
|
504
|
-
|
505
|
-
|
504
|
+
def get_num_probes #=> :uint
|
505
|
+
VeryLowLevel.Z3_get_num_probes(_ctx_pointer)
|
506
|
+
end
|
506
507
|
|
507
|
-
|
508
|
-
|
509
|
-
|
508
|
+
def get_num_tactics #=> :uint
|
509
|
+
VeryLowLevel.Z3_get_num_tactics(_ctx_pointer)
|
510
|
+
end
|
510
511
|
|
511
|
-
|
512
|
-
|
513
|
-
|
512
|
+
def get_numeral_decimal_string(ast, num) #=> :string
|
513
|
+
VeryLowLevel.Z3_get_numeral_decimal_string(_ctx_pointer, ast._ast, num)
|
514
|
+
end
|
514
515
|
|
515
|
-
|
516
|
-
|
517
|
-
|
516
|
+
def get_numeral_string(ast) #=> :string
|
517
|
+
VeryLowLevel.Z3_get_numeral_string(_ctx_pointer, ast._ast)
|
518
|
+
end
|
518
519
|
|
519
|
-
|
520
|
-
|
521
|
-
|
520
|
+
def get_numerator(ast) #=> :ast_pointer
|
521
|
+
VeryLowLevel.Z3_get_numerator(_ctx_pointer, ast._ast)
|
522
|
+
end
|
522
523
|
|
523
|
-
|
524
|
-
|
525
|
-
|
524
|
+
def get_pattern(pattern, num) #=> :ast_pointer
|
525
|
+
VeryLowLevel.Z3_get_pattern(_ctx_pointer, pattern._ast, num)
|
526
|
+
end
|
526
527
|
|
527
|
-
|
528
|
-
|
529
|
-
|
528
|
+
def get_pattern_num_terms(pattern) #=> :uint
|
529
|
+
VeryLowLevel.Z3_get_pattern_num_terms(_ctx_pointer, pattern._ast)
|
530
|
+
end
|
530
531
|
|
531
|
-
|
532
|
-
|
533
|
-
|
532
|
+
def get_probe_name(num) #=> :string
|
533
|
+
VeryLowLevel.Z3_get_probe_name(_ctx_pointer, num)
|
534
|
+
end
|
534
535
|
|
535
|
-
|
536
|
-
|
537
|
-
|
536
|
+
def get_quantifier_body(ast) #=> :ast_pointer
|
537
|
+
VeryLowLevel.Z3_get_quantifier_body(_ctx_pointer, ast._ast)
|
538
|
+
end
|
538
539
|
|
539
|
-
|
540
|
-
|
541
|
-
|
540
|
+
def get_quantifier_bound_name(ast, num) #=> :symbol_pointer
|
541
|
+
VeryLowLevel.Z3_get_quantifier_bound_name(_ctx_pointer, ast._ast, num)
|
542
|
+
end
|
542
543
|
|
543
|
-
|
544
|
-
|
545
|
-
|
544
|
+
def get_quantifier_bound_sort(ast, num) #=> :sort_pointer
|
545
|
+
VeryLowLevel.Z3_get_quantifier_bound_sort(_ctx_pointer, ast._ast, num)
|
546
|
+
end
|
546
547
|
|
547
|
-
|
548
|
-
|
549
|
-
|
548
|
+
def get_quantifier_no_pattern_ast(ast, num) #=> :ast_pointer
|
549
|
+
VeryLowLevel.Z3_get_quantifier_no_pattern_ast(_ctx_pointer, ast._ast, num)
|
550
|
+
end
|
550
551
|
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
def get_quantifier_bound_sort(ast, num) #=> :sort_pointer
|
556
|
-
Z3::VeryLowLevel.Z3_get_quantifier_bound_sort(_ctx_pointer, ast._ast, num)
|
557
|
-
end
|
558
|
-
|
559
|
-
def get_quantifier_no_pattern_ast(ast, num) #=> :ast_pointer
|
560
|
-
Z3::VeryLowLevel.Z3_get_quantifier_no_pattern_ast(_ctx_pointer, ast._ast, num)
|
561
|
-
end
|
562
|
-
|
563
|
-
def get_quantifier_num_bound(ast) #=> :uint
|
564
|
-
Z3::VeryLowLevel.Z3_get_quantifier_num_bound(_ctx_pointer, ast._ast)
|
565
|
-
end
|
566
|
-
|
567
|
-
def get_quantifier_num_no_patterns(ast) #=> :uint
|
568
|
-
Z3::VeryLowLevel.Z3_get_quantifier_num_no_patterns(_ctx_pointer, ast._ast)
|
569
|
-
end
|
570
|
-
|
571
|
-
def get_quantifier_num_patterns(ast) #=> :uint
|
572
|
-
Z3::VeryLowLevel.Z3_get_quantifier_num_patterns(_ctx_pointer, ast._ast)
|
573
|
-
end
|
574
|
-
|
575
|
-
def get_quantifier_pattern_ast(ast, num) #=> :pattern_pointer
|
576
|
-
Z3::VeryLowLevel.Z3_get_quantifier_pattern_ast(_ctx_pointer, ast._ast, num)
|
577
|
-
end
|
578
|
-
|
579
|
-
def get_quantifier_weight(ast) #=> :uint
|
580
|
-
Z3::VeryLowLevel.Z3_get_quantifier_weight(_ctx_pointer, ast._ast)
|
581
|
-
end
|
582
|
-
|
583
|
-
def get_range(func_decl) #=> :sort_pointer
|
584
|
-
Z3::VeryLowLevel.Z3_get_range(_ctx_pointer, func_decl._ast)
|
585
|
-
end
|
552
|
+
def get_quantifier_num_bound(ast) #=> :uint
|
553
|
+
VeryLowLevel.Z3_get_quantifier_num_bound(_ctx_pointer, ast._ast)
|
554
|
+
end
|
586
555
|
|
587
|
-
|
588
|
-
|
589
|
-
|
556
|
+
def get_quantifier_num_no_patterns(ast) #=> :uint
|
557
|
+
VeryLowLevel.Z3_get_quantifier_num_no_patterns(_ctx_pointer, ast._ast)
|
558
|
+
end
|
590
559
|
|
591
|
-
|
592
|
-
|
593
|
-
|
560
|
+
def get_quantifier_num_patterns(ast) #=> :uint
|
561
|
+
VeryLowLevel.Z3_get_quantifier_num_patterns(_ctx_pointer, ast._ast)
|
562
|
+
end
|
594
563
|
|
595
|
-
|
596
|
-
|
597
|
-
|
564
|
+
def get_quantifier_pattern_ast(ast, num) #=> :pattern_pointer
|
565
|
+
VeryLowLevel.Z3_get_quantifier_pattern_ast(_ctx_pointer, ast._ast, num)
|
566
|
+
end
|
598
567
|
|
599
|
-
|
600
|
-
|
601
|
-
|
568
|
+
def get_quantifier_weight(ast) #=> :uint
|
569
|
+
VeryLowLevel.Z3_get_quantifier_weight(_ctx_pointer, ast._ast)
|
570
|
+
end
|
602
571
|
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
def get_smtlib_formula(num) #=> :ast_pointer
|
608
|
-
Z3::VeryLowLevel.Z3_get_smtlib_formula(_ctx_pointer, num)
|
609
|
-
end
|
610
|
-
|
611
|
-
def get_smtlib_num_assumptions #=> :uint
|
612
|
-
Z3::VeryLowLevel.Z3_get_smtlib_num_assumptions(_ctx_pointer)
|
613
|
-
end
|
614
|
-
|
615
|
-
def get_smtlib_num_decls #=> :uint
|
616
|
-
Z3::VeryLowLevel.Z3_get_smtlib_num_decls(_ctx_pointer)
|
617
|
-
end
|
618
|
-
|
619
|
-
def get_smtlib_num_formulas #=> :uint
|
620
|
-
Z3::VeryLowLevel.Z3_get_smtlib_num_formulas(_ctx_pointer)
|
621
|
-
end
|
622
|
-
|
623
|
-
def get_smtlib_num_sorts #=> :uint
|
624
|
-
Z3::VeryLowLevel.Z3_get_smtlib_num_sorts(_ctx_pointer)
|
625
|
-
end
|
626
|
-
|
627
|
-
def get_smtlib_sort(num) #=> :sort_pointer
|
628
|
-
Z3::VeryLowLevel.Z3_get_smtlib_sort(_ctx_pointer, num)
|
629
|
-
end
|
572
|
+
def get_range(func_decl) #=> :sort_pointer
|
573
|
+
VeryLowLevel.Z3_get_range(_ctx_pointer, func_decl._ast)
|
574
|
+
end
|
630
575
|
|
631
|
-
|
632
|
-
|
633
|
-
|
576
|
+
def get_relation_arity(sort) #=> :uint
|
577
|
+
VeryLowLevel.Z3_get_relation_arity(_ctx_pointer, sort._ast)
|
578
|
+
end
|
634
579
|
|
635
|
-
|
636
|
-
|
637
|
-
|
580
|
+
def get_relation_column(sort, num) #=> :sort_pointer
|
581
|
+
VeryLowLevel.Z3_get_relation_column(_ctx_pointer, sort._ast, num)
|
582
|
+
end
|
638
583
|
|
639
|
-
|
640
|
-
|
641
|
-
|
584
|
+
def get_smtlib_assumption(num) #=> :ast_pointer
|
585
|
+
VeryLowLevel.Z3_get_smtlib_assumption(_ctx_pointer, num)
|
586
|
+
end
|
642
587
|
|
643
|
-
|
644
|
-
|
645
|
-
|
588
|
+
def get_smtlib_decl(num) #=> :func_decl_pointer
|
589
|
+
VeryLowLevel.Z3_get_smtlib_decl(_ctx_pointer, num)
|
590
|
+
end
|
646
591
|
|
647
|
-
|
648
|
-
|
649
|
-
|
592
|
+
def get_smtlib_error #=> :string
|
593
|
+
VeryLowLevel.Z3_get_smtlib_error(_ctx_pointer)
|
594
|
+
end
|
650
595
|
|
651
|
-
|
652
|
-
|
653
|
-
|
596
|
+
def get_smtlib_formula(num) #=> :ast_pointer
|
597
|
+
VeryLowLevel.Z3_get_smtlib_formula(_ctx_pointer, num)
|
598
|
+
end
|
654
599
|
|
655
|
-
|
656
|
-
|
657
|
-
|
600
|
+
def get_smtlib_num_assumptions #=> :uint
|
601
|
+
VeryLowLevel.Z3_get_smtlib_num_assumptions(_ctx_pointer)
|
602
|
+
end
|
658
603
|
|
659
|
-
|
660
|
-
|
661
|
-
|
604
|
+
def get_smtlib_num_decls #=> :uint
|
605
|
+
VeryLowLevel.Z3_get_smtlib_num_decls(_ctx_pointer)
|
606
|
+
end
|
662
607
|
|
663
|
-
|
664
|
-
|
665
|
-
|
608
|
+
def get_smtlib_num_formulas #=> :uint
|
609
|
+
VeryLowLevel.Z3_get_smtlib_num_formulas(_ctx_pointer)
|
610
|
+
end
|
666
611
|
|
667
|
-
|
668
|
-
|
669
|
-
|
612
|
+
def get_smtlib_num_sorts #=> :uint
|
613
|
+
VeryLowLevel.Z3_get_smtlib_num_sorts(_ctx_pointer)
|
614
|
+
end
|
670
615
|
|
671
|
-
|
672
|
-
|
673
|
-
|
616
|
+
def get_smtlib_sort(num) #=> :sort_pointer
|
617
|
+
VeryLowLevel.Z3_get_smtlib_sort(_ctx_pointer, num)
|
618
|
+
end
|
674
619
|
|
675
|
-
|
676
|
-
|
677
|
-
|
620
|
+
def get_sort(ast) #=> :sort_pointer
|
621
|
+
VeryLowLevel.Z3_get_sort(_ctx_pointer, ast._ast)
|
622
|
+
end
|
678
623
|
|
679
|
-
|
680
|
-
|
681
|
-
|
624
|
+
def get_sort_id(sort) #=> :uint
|
625
|
+
VeryLowLevel.Z3_get_sort_id(_ctx_pointer, sort._ast)
|
626
|
+
end
|
682
627
|
|
683
|
-
|
684
|
-
|
685
|
-
|
628
|
+
def get_sort_kind(sort) #=> :uint
|
629
|
+
VeryLowLevel.Z3_get_sort_kind(_ctx_pointer, sort._ast)
|
630
|
+
end
|
686
631
|
|
687
|
-
|
688
|
-
|
689
|
-
|
632
|
+
def get_sort_name(sort) #=> :symbol_pointer
|
633
|
+
VeryLowLevel.Z3_get_sort_name(_ctx_pointer, sort._ast)
|
634
|
+
end
|
690
635
|
|
691
|
-
|
692
|
-
|
693
|
-
|
636
|
+
def get_symbol_int(sym) #=> :int
|
637
|
+
VeryLowLevel.Z3_get_symbol_int(_ctx_pointer, sym)
|
638
|
+
end
|
694
639
|
|
695
|
-
|
696
|
-
|
697
|
-
|
640
|
+
def get_symbol_kind(sym) #=> :uint
|
641
|
+
VeryLowLevel.Z3_get_symbol_kind(_ctx_pointer, sym)
|
642
|
+
end
|
698
643
|
|
699
|
-
|
700
|
-
|
701
|
-
|
644
|
+
def get_symbol_string(sym) #=> :string
|
645
|
+
VeryLowLevel.Z3_get_symbol_string(_ctx_pointer, sym)
|
646
|
+
end
|
702
647
|
|
703
|
-
|
704
|
-
|
705
|
-
|
648
|
+
def get_tactic_name(num) #=> :string
|
649
|
+
VeryLowLevel.Z3_get_tactic_name(_ctx_pointer, num)
|
650
|
+
end
|
706
651
|
|
707
|
-
|
708
|
-
|
709
|
-
|
652
|
+
def get_tuple_sort_field_decl(sort, num) #=> :func_decl_pointer
|
653
|
+
VeryLowLevel.Z3_get_tuple_sort_field_decl(_ctx_pointer, sort._ast, num)
|
654
|
+
end
|
710
655
|
|
711
|
-
|
712
|
-
|
713
|
-
|
656
|
+
def get_tuple_sort_mk_decl(sort) #=> :func_decl_pointer
|
657
|
+
VeryLowLevel.Z3_get_tuple_sort_mk_decl(_ctx_pointer, sort._ast)
|
658
|
+
end
|
714
659
|
|
715
|
-
|
716
|
-
|
717
|
-
|
660
|
+
def get_tuple_sort_num_fields(sort) #=> :uint
|
661
|
+
VeryLowLevel.Z3_get_tuple_sort_num_fields(_ctx_pointer, sort._ast)
|
662
|
+
end
|
718
663
|
|
719
|
-
|
720
|
-
|
721
|
-
|
664
|
+
def global_param_reset_all #=> :void
|
665
|
+
VeryLowLevel.Z3_global_param_reset_all()
|
666
|
+
end
|
722
667
|
|
723
|
-
|
724
|
-
|
725
|
-
|
668
|
+
def global_param_set(str1, str2) #=> :void
|
669
|
+
VeryLowLevel.Z3_global_param_set(str1, str2)
|
670
|
+
end
|
726
671
|
|
727
|
-
|
728
|
-
|
729
|
-
|
672
|
+
def goal_assert(goal, ast) #=> :void
|
673
|
+
VeryLowLevel.Z3_goal_assert(_ctx_pointer, goal._goal, ast._ast)
|
674
|
+
end
|
730
675
|
|
731
|
-
|
732
|
-
|
733
|
-
|
676
|
+
def goal_dec_ref(goal) #=> :void
|
677
|
+
VeryLowLevel.Z3_goal_dec_ref(_ctx_pointer, goal._goal)
|
678
|
+
end
|
734
679
|
|
735
|
-
|
736
|
-
|
737
|
-
|
680
|
+
def goal_depth(goal) #=> :uint
|
681
|
+
VeryLowLevel.Z3_goal_depth(_ctx_pointer, goal._goal)
|
682
|
+
end
|
738
683
|
|
739
|
-
|
740
|
-
|
741
|
-
|
684
|
+
def goal_formula(goal, num) #=> :ast_pointer
|
685
|
+
VeryLowLevel.Z3_goal_formula(_ctx_pointer, goal._goal, num)
|
686
|
+
end
|
742
687
|
|
743
|
-
|
744
|
-
|
745
|
-
|
688
|
+
def goal_inc_ref(goal) #=> :void
|
689
|
+
VeryLowLevel.Z3_goal_inc_ref(_ctx_pointer, goal._goal)
|
690
|
+
end
|
746
691
|
|
747
|
-
|
748
|
-
|
749
|
-
|
692
|
+
def goal_inconsistent(goal) #=> :bool
|
693
|
+
VeryLowLevel.Z3_goal_inconsistent(_ctx_pointer, goal._goal)
|
694
|
+
end
|
750
695
|
|
751
|
-
|
752
|
-
|
753
|
-
|
696
|
+
def goal_is_decided_sat(goal) #=> :bool
|
697
|
+
VeryLowLevel.Z3_goal_is_decided_sat(_ctx_pointer, goal._goal)
|
698
|
+
end
|
754
699
|
|
755
|
-
|
756
|
-
|
757
|
-
|
700
|
+
def goal_is_decided_unsat(goal) #=> :bool
|
701
|
+
VeryLowLevel.Z3_goal_is_decided_unsat(_ctx_pointer, goal._goal)
|
702
|
+
end
|
758
703
|
|
759
|
-
|
760
|
-
|
761
|
-
|
704
|
+
def goal_num_exprs(goal) #=> :uint
|
705
|
+
VeryLowLevel.Z3_goal_num_exprs(_ctx_pointer, goal._goal)
|
706
|
+
end
|
762
707
|
|
763
|
-
|
764
|
-
|
765
|
-
|
708
|
+
def goal_precision(goal) #=> :uint
|
709
|
+
VeryLowLevel.Z3_goal_precision(_ctx_pointer, goal._goal)
|
710
|
+
end
|
766
711
|
|
767
|
-
|
768
|
-
|
769
|
-
|
712
|
+
def goal_reset(goal) #=> :void
|
713
|
+
VeryLowLevel.Z3_goal_reset(_ctx_pointer, goal._goal)
|
714
|
+
end
|
770
715
|
|
771
|
-
|
772
|
-
|
773
|
-
|
716
|
+
def goal_size(goal) #=> :uint
|
717
|
+
VeryLowLevel.Z3_goal_size(_ctx_pointer, goal._goal)
|
718
|
+
end
|
774
719
|
|
775
|
-
|
776
|
-
|
777
|
-
|
720
|
+
def goal_to_string(goal) #=> :string
|
721
|
+
VeryLowLevel.Z3_goal_to_string(_ctx_pointer, goal._goal)
|
722
|
+
end
|
778
723
|
|
779
|
-
|
780
|
-
|
781
|
-
|
724
|
+
def goal_translate(goal, context) #=> :goal_pointer
|
725
|
+
VeryLowLevel.Z3_goal_translate(_ctx_pointer, goal._goal, context._context)
|
726
|
+
end
|
782
727
|
|
783
|
-
|
784
|
-
|
785
|
-
|
728
|
+
def inc_ref(ast) #=> :void
|
729
|
+
VeryLowLevel.Z3_inc_ref(_ctx_pointer, ast._ast)
|
730
|
+
end
|
786
731
|
|
787
|
-
|
788
|
-
|
789
|
-
|
732
|
+
def interpolation_profile #=> :string
|
733
|
+
VeryLowLevel.Z3_interpolation_profile(_ctx_pointer)
|
734
|
+
end
|
790
735
|
|
791
|
-
|
792
|
-
|
793
|
-
|
736
|
+
def interrupt #=> :void
|
737
|
+
VeryLowLevel.Z3_interrupt(_ctx_pointer)
|
738
|
+
end
|
794
739
|
|
795
|
-
|
796
|
-
|
797
|
-
|
740
|
+
def is_algebraic_number(ast) #=> :bool
|
741
|
+
VeryLowLevel.Z3_is_algebraic_number(_ctx_pointer, ast._ast)
|
742
|
+
end
|
798
743
|
|
799
|
-
|
800
|
-
|
801
|
-
|
744
|
+
def is_app(ast) #=> :bool
|
745
|
+
VeryLowLevel.Z3_is_app(_ctx_pointer, ast._ast)
|
746
|
+
end
|
802
747
|
|
803
|
-
|
804
|
-
|
805
|
-
|
748
|
+
def is_as_array(ast) #=> :bool
|
749
|
+
VeryLowLevel.Z3_is_as_array(_ctx_pointer, ast._ast)
|
750
|
+
end
|
806
751
|
|
807
|
-
|
808
|
-
|
809
|
-
|
752
|
+
def is_eq_ast(ast1, ast2) #=> :bool
|
753
|
+
VeryLowLevel.Z3_is_eq_ast(_ctx_pointer, ast1._ast, ast2._ast)
|
754
|
+
end
|
810
755
|
|
811
|
-
|
812
|
-
|
813
|
-
|
756
|
+
def is_eq_func_decl(func_decl1, func_decl2) #=> :bool
|
757
|
+
VeryLowLevel.Z3_is_eq_func_decl(_ctx_pointer, func_decl1._ast, func_decl2._ast)
|
758
|
+
end
|
814
759
|
|
815
|
-
|
816
|
-
|
817
|
-
|
760
|
+
def is_eq_sort(sort1, sort2) #=> :bool
|
761
|
+
VeryLowLevel.Z3_is_eq_sort(_ctx_pointer, sort1._ast, sort2._ast)
|
762
|
+
end
|
818
763
|
|
819
|
-
|
820
|
-
|
821
|
-
|
764
|
+
def is_numeral_ast(ast) #=> :bool
|
765
|
+
VeryLowLevel.Z3_is_numeral_ast(_ctx_pointer, ast._ast)
|
766
|
+
end
|
822
767
|
|
823
|
-
|
824
|
-
|
825
|
-
|
768
|
+
def is_quantifier_forall(ast) #=> :bool
|
769
|
+
VeryLowLevel.Z3_is_quantifier_forall(_ctx_pointer, ast._ast)
|
770
|
+
end
|
826
771
|
|
827
|
-
|
828
|
-
|
829
|
-
|
772
|
+
def is_well_sorted(ast) #=> :bool
|
773
|
+
VeryLowLevel.Z3_is_well_sorted(_ctx_pointer, ast._ast)
|
774
|
+
end
|
830
775
|
|
831
|
-
|
832
|
-
|
833
|
-
|
776
|
+
def mk_array_default(ast) #=> :ast_pointer
|
777
|
+
VeryLowLevel.Z3_mk_array_default(_ctx_pointer, ast._ast)
|
778
|
+
end
|
834
779
|
|
835
|
-
|
836
|
-
|
837
|
-
|
780
|
+
def mk_array_sort(sort1, sort2) #=> :sort_pointer
|
781
|
+
VeryLowLevel.Z3_mk_array_sort(_ctx_pointer, sort1._ast, sort2._ast)
|
782
|
+
end
|
838
783
|
|
839
|
-
|
840
|
-
|
841
|
-
|
784
|
+
def mk_ast_map #=> :ast_map_pointer
|
785
|
+
VeryLowLevel.Z3_mk_ast_map(_ctx_pointer)
|
786
|
+
end
|
842
787
|
|
843
|
-
|
844
|
-
|
845
|
-
|
788
|
+
def mk_ast_vector #=> :ast_vector_pointer
|
789
|
+
VeryLowLevel.Z3_mk_ast_vector(_ctx_pointer)
|
790
|
+
end
|
846
791
|
|
847
|
-
|
848
|
-
|
849
|
-
|
792
|
+
def mk_bool_sort #=> :sort_pointer
|
793
|
+
VeryLowLevel.Z3_mk_bool_sort(_ctx_pointer)
|
794
|
+
end
|
850
795
|
|
851
|
-
|
852
|
-
|
853
|
-
|
796
|
+
def mk_bound(num, sort) #=> :ast_pointer
|
797
|
+
VeryLowLevel.Z3_mk_bound(_ctx_pointer, num, sort._ast)
|
798
|
+
end
|
854
799
|
|
855
|
-
|
856
|
-
|
857
|
-
|
800
|
+
def mk_bv2int(ast, bool) #=> :ast_pointer
|
801
|
+
VeryLowLevel.Z3_mk_bv2int(_ctx_pointer, ast._ast, bool)
|
802
|
+
end
|
858
803
|
|
859
|
-
|
860
|
-
|
861
|
-
|
804
|
+
def mk_bv_sort(num) #=> :sort_pointer
|
805
|
+
VeryLowLevel.Z3_mk_bv_sort(_ctx_pointer, num)
|
806
|
+
end
|
862
807
|
|
863
|
-
|
864
|
-
|
865
|
-
|
808
|
+
def mk_bvadd(ast1, ast2) #=> :ast_pointer
|
809
|
+
VeryLowLevel.Z3_mk_bvadd(_ctx_pointer, ast1._ast, ast2._ast)
|
810
|
+
end
|
866
811
|
|
867
|
-
|
868
|
-
|
869
|
-
|
812
|
+
def mk_bvadd_no_overflow(ast1, ast2, bool) #=> :ast_pointer
|
813
|
+
VeryLowLevel.Z3_mk_bvadd_no_overflow(_ctx_pointer, ast1._ast, ast2._ast, bool)
|
814
|
+
end
|
870
815
|
|
871
|
-
|
872
|
-
|
873
|
-
|
816
|
+
def mk_bvadd_no_underflow(ast1, ast2) #=> :ast_pointer
|
817
|
+
VeryLowLevel.Z3_mk_bvadd_no_underflow(_ctx_pointer, ast1._ast, ast2._ast)
|
818
|
+
end
|
874
819
|
|
875
|
-
|
876
|
-
|
877
|
-
|
820
|
+
def mk_bvand(ast1, ast2) #=> :ast_pointer
|
821
|
+
VeryLowLevel.Z3_mk_bvand(_ctx_pointer, ast1._ast, ast2._ast)
|
822
|
+
end
|
878
823
|
|
879
|
-
|
880
|
-
|
881
|
-
|
824
|
+
def mk_bvashr(ast1, ast2) #=> :ast_pointer
|
825
|
+
VeryLowLevel.Z3_mk_bvashr(_ctx_pointer, ast1._ast, ast2._ast)
|
826
|
+
end
|
882
827
|
|
883
|
-
|
884
|
-
|
885
|
-
|
828
|
+
def mk_bvlshr(ast1, ast2) #=> :ast_pointer
|
829
|
+
VeryLowLevel.Z3_mk_bvlshr(_ctx_pointer, ast1._ast, ast2._ast)
|
830
|
+
end
|
886
831
|
|
887
|
-
|
888
|
-
|
889
|
-
|
832
|
+
def mk_bvmul(ast1, ast2) #=> :ast_pointer
|
833
|
+
VeryLowLevel.Z3_mk_bvmul(_ctx_pointer, ast1._ast, ast2._ast)
|
834
|
+
end
|
890
835
|
|
891
|
-
|
892
|
-
|
893
|
-
|
836
|
+
def mk_bvmul_no_overflow(ast1, ast2, bool) #=> :ast_pointer
|
837
|
+
VeryLowLevel.Z3_mk_bvmul_no_overflow(_ctx_pointer, ast1._ast, ast2._ast, bool)
|
838
|
+
end
|
894
839
|
|
895
|
-
|
896
|
-
|
897
|
-
|
840
|
+
def mk_bvmul_no_underflow(ast1, ast2) #=> :ast_pointer
|
841
|
+
VeryLowLevel.Z3_mk_bvmul_no_underflow(_ctx_pointer, ast1._ast, ast2._ast)
|
842
|
+
end
|
898
843
|
|
899
|
-
|
900
|
-
|
901
|
-
|
844
|
+
def mk_bvnand(ast1, ast2) #=> :ast_pointer
|
845
|
+
VeryLowLevel.Z3_mk_bvnand(_ctx_pointer, ast1._ast, ast2._ast)
|
846
|
+
end
|
902
847
|
|
903
|
-
|
904
|
-
|
905
|
-
|
848
|
+
def mk_bvneg(ast) #=> :ast_pointer
|
849
|
+
VeryLowLevel.Z3_mk_bvneg(_ctx_pointer, ast._ast)
|
850
|
+
end
|
906
851
|
|
907
|
-
|
908
|
-
|
909
|
-
|
852
|
+
def mk_bvneg_no_overflow(ast) #=> :ast_pointer
|
853
|
+
VeryLowLevel.Z3_mk_bvneg_no_overflow(_ctx_pointer, ast._ast)
|
854
|
+
end
|
910
855
|
|
911
|
-
|
912
|
-
|
913
|
-
|
856
|
+
def mk_bvnor(ast1, ast2) #=> :ast_pointer
|
857
|
+
VeryLowLevel.Z3_mk_bvnor(_ctx_pointer, ast1._ast, ast2._ast)
|
858
|
+
end
|
914
859
|
|
915
|
-
|
916
|
-
|
917
|
-
|
860
|
+
def mk_bvnot(ast) #=> :ast_pointer
|
861
|
+
VeryLowLevel.Z3_mk_bvnot(_ctx_pointer, ast._ast)
|
862
|
+
end
|
918
863
|
|
919
|
-
|
920
|
-
|
921
|
-
|
864
|
+
def mk_bvor(ast1, ast2) #=> :ast_pointer
|
865
|
+
VeryLowLevel.Z3_mk_bvor(_ctx_pointer, ast1._ast, ast2._ast)
|
866
|
+
end
|
922
867
|
|
923
|
-
|
924
|
-
|
925
|
-
|
868
|
+
def mk_bvredand(ast) #=> :ast_pointer
|
869
|
+
VeryLowLevel.Z3_mk_bvredand(_ctx_pointer, ast._ast)
|
870
|
+
end
|
926
871
|
|
927
|
-
|
928
|
-
|
929
|
-
|
872
|
+
def mk_bvredor(ast) #=> :ast_pointer
|
873
|
+
VeryLowLevel.Z3_mk_bvredor(_ctx_pointer, ast._ast)
|
874
|
+
end
|
930
875
|
|
931
|
-
|
932
|
-
|
933
|
-
|
876
|
+
def mk_bvsdiv(ast1, ast2) #=> :ast_pointer
|
877
|
+
VeryLowLevel.Z3_mk_bvsdiv(_ctx_pointer, ast1._ast, ast2._ast)
|
878
|
+
end
|
934
879
|
|
935
|
-
|
936
|
-
|
937
|
-
|
880
|
+
def mk_bvsdiv_no_overflow(ast1, ast2) #=> :ast_pointer
|
881
|
+
VeryLowLevel.Z3_mk_bvsdiv_no_overflow(_ctx_pointer, ast1._ast, ast2._ast)
|
882
|
+
end
|
938
883
|
|
939
|
-
|
940
|
-
|
941
|
-
|
884
|
+
def mk_bvsge(ast1, ast2) #=> :ast_pointer
|
885
|
+
VeryLowLevel.Z3_mk_bvsge(_ctx_pointer, ast1._ast, ast2._ast)
|
886
|
+
end
|
942
887
|
|
943
|
-
|
944
|
-
|
945
|
-
|
888
|
+
def mk_bvsgt(ast1, ast2) #=> :ast_pointer
|
889
|
+
VeryLowLevel.Z3_mk_bvsgt(_ctx_pointer, ast1._ast, ast2._ast)
|
890
|
+
end
|
946
891
|
|
947
|
-
|
948
|
-
|
949
|
-
|
892
|
+
def mk_bvshl(ast1, ast2) #=> :ast_pointer
|
893
|
+
VeryLowLevel.Z3_mk_bvshl(_ctx_pointer, ast1._ast, ast2._ast)
|
894
|
+
end
|
950
895
|
|
951
|
-
|
952
|
-
|
953
|
-
|
896
|
+
def mk_bvsle(ast1, ast2) #=> :ast_pointer
|
897
|
+
VeryLowLevel.Z3_mk_bvsle(_ctx_pointer, ast1._ast, ast2._ast)
|
898
|
+
end
|
954
899
|
|
955
|
-
|
956
|
-
|
957
|
-
|
900
|
+
def mk_bvslt(ast1, ast2) #=> :ast_pointer
|
901
|
+
VeryLowLevel.Z3_mk_bvslt(_ctx_pointer, ast1._ast, ast2._ast)
|
902
|
+
end
|
958
903
|
|
959
|
-
|
960
|
-
|
961
|
-
|
904
|
+
def mk_bvsmod(ast1, ast2) #=> :ast_pointer
|
905
|
+
VeryLowLevel.Z3_mk_bvsmod(_ctx_pointer, ast1._ast, ast2._ast)
|
906
|
+
end
|
962
907
|
|
963
|
-
|
964
|
-
|
965
|
-
|
908
|
+
def mk_bvsrem(ast1, ast2) #=> :ast_pointer
|
909
|
+
VeryLowLevel.Z3_mk_bvsrem(_ctx_pointer, ast1._ast, ast2._ast)
|
910
|
+
end
|
966
911
|
|
967
|
-
|
968
|
-
|
969
|
-
|
912
|
+
def mk_bvsub(ast1, ast2) #=> :ast_pointer
|
913
|
+
VeryLowLevel.Z3_mk_bvsub(_ctx_pointer, ast1._ast, ast2._ast)
|
914
|
+
end
|
970
915
|
|
971
|
-
|
972
|
-
|
973
|
-
|
916
|
+
def mk_bvsub_no_overflow(ast1, ast2) #=> :ast_pointer
|
917
|
+
VeryLowLevel.Z3_mk_bvsub_no_overflow(_ctx_pointer, ast1._ast, ast2._ast)
|
918
|
+
end
|
974
919
|
|
975
|
-
|
976
|
-
|
977
|
-
|
920
|
+
def mk_bvsub_no_underflow(ast1, ast2, bool) #=> :ast_pointer
|
921
|
+
VeryLowLevel.Z3_mk_bvsub_no_underflow(_ctx_pointer, ast1._ast, ast2._ast, bool)
|
922
|
+
end
|
978
923
|
|
979
|
-
|
980
|
-
|
981
|
-
|
924
|
+
def mk_bvudiv(ast1, ast2) #=> :ast_pointer
|
925
|
+
VeryLowLevel.Z3_mk_bvudiv(_ctx_pointer, ast1._ast, ast2._ast)
|
926
|
+
end
|
982
927
|
|
983
|
-
|
984
|
-
|
985
|
-
|
928
|
+
def mk_bvuge(ast1, ast2) #=> :ast_pointer
|
929
|
+
VeryLowLevel.Z3_mk_bvuge(_ctx_pointer, ast1._ast, ast2._ast)
|
930
|
+
end
|
986
931
|
|
987
|
-
|
988
|
-
|
989
|
-
|
932
|
+
def mk_bvugt(ast1, ast2) #=> :ast_pointer
|
933
|
+
VeryLowLevel.Z3_mk_bvugt(_ctx_pointer, ast1._ast, ast2._ast)
|
934
|
+
end
|
990
935
|
|
991
|
-
|
992
|
-
|
993
|
-
|
936
|
+
def mk_bvule(ast1, ast2) #=> :ast_pointer
|
937
|
+
VeryLowLevel.Z3_mk_bvule(_ctx_pointer, ast1._ast, ast2._ast)
|
938
|
+
end
|
994
939
|
|
995
|
-
|
996
|
-
|
997
|
-
|
940
|
+
def mk_bvult(ast1, ast2) #=> :ast_pointer
|
941
|
+
VeryLowLevel.Z3_mk_bvult(_ctx_pointer, ast1._ast, ast2._ast)
|
942
|
+
end
|
998
943
|
|
999
|
-
|
1000
|
-
|
1001
|
-
|
944
|
+
def mk_bvurem(ast1, ast2) #=> :ast_pointer
|
945
|
+
VeryLowLevel.Z3_mk_bvurem(_ctx_pointer, ast1._ast, ast2._ast)
|
946
|
+
end
|
1002
947
|
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
948
|
+
def mk_bvxnor(ast1, ast2) #=> :ast_pointer
|
949
|
+
VeryLowLevel.Z3_mk_bvxnor(_ctx_pointer, ast1._ast, ast2._ast)
|
950
|
+
end
|
1006
951
|
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
952
|
+
def mk_bvxor(ast1, ast2) #=> :ast_pointer
|
953
|
+
VeryLowLevel.Z3_mk_bvxor(_ctx_pointer, ast1._ast, ast2._ast)
|
954
|
+
end
|
1010
955
|
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
956
|
+
def mk_concat(ast1, ast2) #=> :ast_pointer
|
957
|
+
VeryLowLevel.Z3_mk_concat(_ctx_pointer, ast1._ast, ast2._ast)
|
958
|
+
end
|
1014
959
|
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
960
|
+
def mk_config #=> :config_pointer
|
961
|
+
VeryLowLevel.Z3_mk_config()
|
962
|
+
end
|
1018
963
|
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
964
|
+
def mk_const(sym, sort) #=> :ast_pointer
|
965
|
+
VeryLowLevel.Z3_mk_const(_ctx_pointer, sym, sort._ast)
|
966
|
+
end
|
1022
967
|
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
968
|
+
def mk_const_array(sort, ast) #=> :ast_pointer
|
969
|
+
VeryLowLevel.Z3_mk_const_array(_ctx_pointer, sort._ast, ast._ast)
|
970
|
+
end
|
1026
971
|
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
972
|
+
def mk_context_rc(config) #=> :ctx_pointer
|
973
|
+
VeryLowLevel.Z3_mk_context_rc(config._config)
|
974
|
+
end
|
1030
975
|
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
976
|
+
def mk_div(ast1, ast2) #=> :ast_pointer
|
977
|
+
VeryLowLevel.Z3_mk_div(_ctx_pointer, ast1._ast, ast2._ast)
|
978
|
+
end
|
1034
979
|
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
980
|
+
def mk_empty_set(sort) #=> :ast_pointer
|
981
|
+
VeryLowLevel.Z3_mk_empty_set(_ctx_pointer, sort._ast)
|
982
|
+
end
|
1038
983
|
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
984
|
+
def mk_eq(ast1, ast2) #=> :ast_pointer
|
985
|
+
VeryLowLevel.Z3_mk_eq(_ctx_pointer, ast1._ast, ast2._ast)
|
986
|
+
end
|
1042
987
|
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
988
|
+
def mk_ext_rotate_left(ast1, ast2) #=> :ast_pointer
|
989
|
+
VeryLowLevel.Z3_mk_ext_rotate_left(_ctx_pointer, ast1._ast, ast2._ast)
|
990
|
+
end
|
1046
991
|
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
992
|
+
def mk_ext_rotate_right(ast1, ast2) #=> :ast_pointer
|
993
|
+
VeryLowLevel.Z3_mk_ext_rotate_right(_ctx_pointer, ast1._ast, ast2._ast)
|
994
|
+
end
|
1050
995
|
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
996
|
+
def mk_extract(num1, num2, ast) #=> :ast_pointer
|
997
|
+
VeryLowLevel.Z3_mk_extract(_ctx_pointer, num1, num2, ast._ast)
|
998
|
+
end
|
1054
999
|
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1000
|
+
def mk_false #=> :ast_pointer
|
1001
|
+
VeryLowLevel.Z3_mk_false(_ctx_pointer)
|
1002
|
+
end
|
1058
1003
|
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1004
|
+
def mk_finite_domain_sort(sym, num) #=> :sort_pointer
|
1005
|
+
VeryLowLevel.Z3_mk_finite_domain_sort(_ctx_pointer, sym, num)
|
1006
|
+
end
|
1062
1007
|
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1008
|
+
def mk_fixedpoint #=> :fixedpoint_pointer
|
1009
|
+
VeryLowLevel.Z3_mk_fixedpoint(_ctx_pointer)
|
1010
|
+
end
|
1066
1011
|
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1012
|
+
def mk_fpa_abs(ast) #=> :ast_pointer
|
1013
|
+
VeryLowLevel.Z3_mk_fpa_abs(_ctx_pointer, ast._ast)
|
1014
|
+
end
|
1070
1015
|
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1016
|
+
def mk_fpa_add(ast1, ast2, ast3) #=> :ast_pointer
|
1017
|
+
VeryLowLevel.Z3_mk_fpa_add(_ctx_pointer, ast1._ast, ast2._ast, ast3._ast)
|
1018
|
+
end
|
1074
1019
|
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1020
|
+
def mk_fpa_div(ast1, ast2, ast3) #=> :ast_pointer
|
1021
|
+
VeryLowLevel.Z3_mk_fpa_div(_ctx_pointer, ast1._ast, ast2._ast, ast3._ast)
|
1022
|
+
end
|
1078
1023
|
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1024
|
+
def mk_fpa_eq(ast1, ast2) #=> :ast_pointer
|
1025
|
+
VeryLowLevel.Z3_mk_fpa_eq(_ctx_pointer, ast1._ast, ast2._ast)
|
1026
|
+
end
|
1082
1027
|
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1028
|
+
def mk_fpa_fma(ast1, ast2, ast3, ast4) #=> :ast_pointer
|
1029
|
+
VeryLowLevel.Z3_mk_fpa_fma(_ctx_pointer, ast1._ast, ast2._ast, ast3._ast, ast4._ast)
|
1030
|
+
end
|
1086
1031
|
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1032
|
+
def mk_fpa_fp(ast1, ast2, ast3) #=> :ast_pointer
|
1033
|
+
VeryLowLevel.Z3_mk_fpa_fp(_ctx_pointer, ast1._ast, ast2._ast, ast3._ast)
|
1034
|
+
end
|
1090
1035
|
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1036
|
+
def mk_fpa_geq(ast1, ast2) #=> :ast_pointer
|
1037
|
+
VeryLowLevel.Z3_mk_fpa_geq(_ctx_pointer, ast1._ast, ast2._ast)
|
1038
|
+
end
|
1094
1039
|
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1040
|
+
def mk_fpa_gt(ast1, ast2) #=> :ast_pointer
|
1041
|
+
VeryLowLevel.Z3_mk_fpa_gt(_ctx_pointer, ast1._ast, ast2._ast)
|
1042
|
+
end
|
1098
1043
|
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1044
|
+
def mk_fpa_inf(sort, bool) #=> :ast_pointer
|
1045
|
+
VeryLowLevel.Z3_mk_fpa_inf(_ctx_pointer, sort._ast, bool)
|
1046
|
+
end
|
1102
1047
|
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1048
|
+
def mk_fpa_is_infinite(ast) #=> :ast_pointer
|
1049
|
+
VeryLowLevel.Z3_mk_fpa_is_infinite(_ctx_pointer, ast._ast)
|
1050
|
+
end
|
1106
1051
|
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1052
|
+
def mk_fpa_is_nan(ast) #=> :ast_pointer
|
1053
|
+
VeryLowLevel.Z3_mk_fpa_is_nan(_ctx_pointer, ast._ast)
|
1054
|
+
end
|
1110
1055
|
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1056
|
+
def mk_fpa_is_negative(ast) #=> :ast_pointer
|
1057
|
+
VeryLowLevel.Z3_mk_fpa_is_negative(_ctx_pointer, ast._ast)
|
1058
|
+
end
|
1114
1059
|
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1060
|
+
def mk_fpa_is_normal(ast) #=> :ast_pointer
|
1061
|
+
VeryLowLevel.Z3_mk_fpa_is_normal(_ctx_pointer, ast._ast)
|
1062
|
+
end
|
1118
1063
|
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1064
|
+
def mk_fpa_is_positive(ast) #=> :ast_pointer
|
1065
|
+
VeryLowLevel.Z3_mk_fpa_is_positive(_ctx_pointer, ast._ast)
|
1066
|
+
end
|
1122
1067
|
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1068
|
+
def mk_fpa_is_subnormal(ast) #=> :ast_pointer
|
1069
|
+
VeryLowLevel.Z3_mk_fpa_is_subnormal(_ctx_pointer, ast._ast)
|
1070
|
+
end
|
1126
1071
|
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1072
|
+
def mk_fpa_is_zero(ast) #=> :ast_pointer
|
1073
|
+
VeryLowLevel.Z3_mk_fpa_is_zero(_ctx_pointer, ast._ast)
|
1074
|
+
end
|
1130
1075
|
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1076
|
+
def mk_fpa_leq(ast1, ast2) #=> :ast_pointer
|
1077
|
+
VeryLowLevel.Z3_mk_fpa_leq(_ctx_pointer, ast1._ast, ast2._ast)
|
1078
|
+
end
|
1134
1079
|
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1080
|
+
def mk_fpa_lt(ast1, ast2) #=> :ast_pointer
|
1081
|
+
VeryLowLevel.Z3_mk_fpa_lt(_ctx_pointer, ast1._ast, ast2._ast)
|
1082
|
+
end
|
1138
1083
|
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1084
|
+
def mk_fpa_max(ast1, ast2) #=> :ast_pointer
|
1085
|
+
VeryLowLevel.Z3_mk_fpa_max(_ctx_pointer, ast1._ast, ast2._ast)
|
1086
|
+
end
|
1142
1087
|
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1088
|
+
def mk_fpa_min(ast1, ast2) #=> :ast_pointer
|
1089
|
+
VeryLowLevel.Z3_mk_fpa_min(_ctx_pointer, ast1._ast, ast2._ast)
|
1090
|
+
end
|
1146
1091
|
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1092
|
+
def mk_fpa_mul(ast1, ast2, ast3) #=> :ast_pointer
|
1093
|
+
VeryLowLevel.Z3_mk_fpa_mul(_ctx_pointer, ast1._ast, ast2._ast, ast3._ast)
|
1094
|
+
end
|
1150
1095
|
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1096
|
+
def mk_fpa_nan(sort) #=> :ast_pointer
|
1097
|
+
VeryLowLevel.Z3_mk_fpa_nan(_ctx_pointer, sort._ast)
|
1098
|
+
end
|
1154
1099
|
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1100
|
+
def mk_fpa_neg(ast) #=> :ast_pointer
|
1101
|
+
VeryLowLevel.Z3_mk_fpa_neg(_ctx_pointer, ast._ast)
|
1102
|
+
end
|
1158
1103
|
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1104
|
+
def mk_fpa_numeral_double(double, sort) #=> :ast_pointer
|
1105
|
+
VeryLowLevel.Z3_mk_fpa_numeral_double(_ctx_pointer, double, sort._ast)
|
1106
|
+
end
|
1162
1107
|
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1108
|
+
def mk_fpa_numeral_int(num, sort) #=> :ast_pointer
|
1109
|
+
VeryLowLevel.Z3_mk_fpa_numeral_int(_ctx_pointer, num, sort._ast)
|
1110
|
+
end
|
1166
1111
|
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1112
|
+
def mk_fpa_numeral_int64_uint64(bool, num1, num2, sort) #=> :ast_pointer
|
1113
|
+
VeryLowLevel.Z3_mk_fpa_numeral_int64_uint64(_ctx_pointer, bool, num1, num2, sort._ast)
|
1114
|
+
end
|
1170
1115
|
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1116
|
+
def mk_fpa_numeral_int_uint(bool, num1, num2, sort) #=> :ast_pointer
|
1117
|
+
VeryLowLevel.Z3_mk_fpa_numeral_int_uint(_ctx_pointer, bool, num1, num2, sort._ast)
|
1118
|
+
end
|
1174
1119
|
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1120
|
+
def mk_fpa_rem(ast1, ast2) #=> :ast_pointer
|
1121
|
+
VeryLowLevel.Z3_mk_fpa_rem(_ctx_pointer, ast1._ast, ast2._ast)
|
1122
|
+
end
|
1178
1123
|
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1124
|
+
def mk_fpa_round_nearest_ties_to_away #=> :ast_pointer
|
1125
|
+
VeryLowLevel.Z3_mk_fpa_round_nearest_ties_to_away(_ctx_pointer)
|
1126
|
+
end
|
1182
1127
|
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1128
|
+
def mk_fpa_round_nearest_ties_to_even #=> :ast_pointer
|
1129
|
+
VeryLowLevel.Z3_mk_fpa_round_nearest_ties_to_even(_ctx_pointer)
|
1130
|
+
end
|
1186
1131
|
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1132
|
+
def mk_fpa_round_to_integral(ast1, ast2) #=> :ast_pointer
|
1133
|
+
VeryLowLevel.Z3_mk_fpa_round_to_integral(_ctx_pointer, ast1._ast, ast2._ast)
|
1134
|
+
end
|
1190
1135
|
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1136
|
+
def mk_fpa_round_toward_negative #=> :ast_pointer
|
1137
|
+
VeryLowLevel.Z3_mk_fpa_round_toward_negative(_ctx_pointer)
|
1138
|
+
end
|
1194
1139
|
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1140
|
+
def mk_fpa_round_toward_positive #=> :ast_pointer
|
1141
|
+
VeryLowLevel.Z3_mk_fpa_round_toward_positive(_ctx_pointer)
|
1142
|
+
end
|
1198
1143
|
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1144
|
+
def mk_fpa_round_toward_zero #=> :ast_pointer
|
1145
|
+
VeryLowLevel.Z3_mk_fpa_round_toward_zero(_ctx_pointer)
|
1146
|
+
end
|
1202
1147
|
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1148
|
+
def mk_fpa_rounding_mode_sort #=> :sort_pointer
|
1149
|
+
VeryLowLevel.Z3_mk_fpa_rounding_mode_sort(_ctx_pointer)
|
1150
|
+
end
|
1206
1151
|
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1152
|
+
def mk_fpa_sort(num1, num2) #=> :sort_pointer
|
1153
|
+
VeryLowLevel.Z3_mk_fpa_sort(_ctx_pointer, num1, num2)
|
1154
|
+
end
|
1210
1155
|
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1156
|
+
def mk_fpa_sort_128 #=> :sort_pointer
|
1157
|
+
VeryLowLevel.Z3_mk_fpa_sort_128(_ctx_pointer)
|
1158
|
+
end
|
1214
1159
|
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1160
|
+
def mk_fpa_sort_16 #=> :sort_pointer
|
1161
|
+
VeryLowLevel.Z3_mk_fpa_sort_16(_ctx_pointer)
|
1162
|
+
end
|
1218
1163
|
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1164
|
+
def mk_fpa_sort_32 #=> :sort_pointer
|
1165
|
+
VeryLowLevel.Z3_mk_fpa_sort_32(_ctx_pointer)
|
1166
|
+
end
|
1222
1167
|
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1168
|
+
def mk_fpa_sort_64 #=> :sort_pointer
|
1169
|
+
VeryLowLevel.Z3_mk_fpa_sort_64(_ctx_pointer)
|
1170
|
+
end
|
1226
1171
|
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1172
|
+
def mk_fpa_sort_double #=> :sort_pointer
|
1173
|
+
VeryLowLevel.Z3_mk_fpa_sort_double(_ctx_pointer)
|
1174
|
+
end
|
1230
1175
|
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1176
|
+
def mk_fpa_sort_half #=> :sort_pointer
|
1177
|
+
VeryLowLevel.Z3_mk_fpa_sort_half(_ctx_pointer)
|
1178
|
+
end
|
1234
1179
|
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1180
|
+
def mk_fpa_sort_quadruple #=> :sort_pointer
|
1181
|
+
VeryLowLevel.Z3_mk_fpa_sort_quadruple(_ctx_pointer)
|
1182
|
+
end
|
1238
1183
|
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1184
|
+
def mk_fpa_sort_single #=> :sort_pointer
|
1185
|
+
VeryLowLevel.Z3_mk_fpa_sort_single(_ctx_pointer)
|
1186
|
+
end
|
1242
1187
|
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1188
|
+
def mk_fpa_sqrt(ast1, ast2) #=> :ast_pointer
|
1189
|
+
VeryLowLevel.Z3_mk_fpa_sqrt(_ctx_pointer, ast1._ast, ast2._ast)
|
1190
|
+
end
|
1246
1191
|
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1192
|
+
def mk_fpa_sub(ast1, ast2, ast3) #=> :ast_pointer
|
1193
|
+
VeryLowLevel.Z3_mk_fpa_sub(_ctx_pointer, ast1._ast, ast2._ast, ast3._ast)
|
1194
|
+
end
|
1250
1195
|
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1196
|
+
def mk_fpa_to_fp_bv(ast, sort) #=> :ast_pointer
|
1197
|
+
VeryLowLevel.Z3_mk_fpa_to_fp_bv(_ctx_pointer, ast._ast, sort._ast)
|
1198
|
+
end
|
1254
1199
|
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1200
|
+
def mk_fpa_to_fp_float(ast1, ast2, sort) #=> :ast_pointer
|
1201
|
+
VeryLowLevel.Z3_mk_fpa_to_fp_float(_ctx_pointer, ast1._ast, ast2._ast, sort._ast)
|
1202
|
+
end
|
1258
1203
|
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1204
|
+
def mk_fpa_to_fp_int_real(ast1, ast2, ast3, sort) #=> :ast_pointer
|
1205
|
+
VeryLowLevel.Z3_mk_fpa_to_fp_int_real(_ctx_pointer, ast1._ast, ast2._ast, ast3._ast, sort._ast)
|
1206
|
+
end
|
1262
1207
|
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1208
|
+
def mk_fpa_to_fp_real(ast1, ast2, sort) #=> :ast_pointer
|
1209
|
+
VeryLowLevel.Z3_mk_fpa_to_fp_real(_ctx_pointer, ast1._ast, ast2._ast, sort._ast)
|
1210
|
+
end
|
1266
1211
|
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1212
|
+
def mk_fpa_to_fp_signed(ast1, ast2, sort) #=> :ast_pointer
|
1213
|
+
VeryLowLevel.Z3_mk_fpa_to_fp_signed(_ctx_pointer, ast1._ast, ast2._ast, sort._ast)
|
1214
|
+
end
|
1270
1215
|
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1216
|
+
def mk_fpa_to_fp_unsigned(ast1, ast2, sort) #=> :ast_pointer
|
1217
|
+
VeryLowLevel.Z3_mk_fpa_to_fp_unsigned(_ctx_pointer, ast1._ast, ast2._ast, sort._ast)
|
1218
|
+
end
|
1274
1219
|
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1220
|
+
def mk_fpa_to_ieee_bv(ast) #=> :ast_pointer
|
1221
|
+
VeryLowLevel.Z3_mk_fpa_to_ieee_bv(_ctx_pointer, ast._ast)
|
1222
|
+
end
|
1278
1223
|
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1224
|
+
def mk_fpa_to_real(ast) #=> :ast_pointer
|
1225
|
+
VeryLowLevel.Z3_mk_fpa_to_real(_ctx_pointer, ast._ast)
|
1226
|
+
end
|
1282
1227
|
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1228
|
+
def mk_fpa_to_sbv(ast1, ast2, num) #=> :ast_pointer
|
1229
|
+
VeryLowLevel.Z3_mk_fpa_to_sbv(_ctx_pointer, ast1._ast, ast2._ast, num)
|
1230
|
+
end
|
1286
1231
|
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1232
|
+
def mk_fpa_to_ubv(ast1, ast2, num) #=> :ast_pointer
|
1233
|
+
VeryLowLevel.Z3_mk_fpa_to_ubv(_ctx_pointer, ast1._ast, ast2._ast, num)
|
1234
|
+
end
|
1290
1235
|
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1236
|
+
def mk_fpa_zero(sort, bool) #=> :ast_pointer
|
1237
|
+
VeryLowLevel.Z3_mk_fpa_zero(_ctx_pointer, sort._ast, bool)
|
1238
|
+
end
|
1294
1239
|
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1240
|
+
def mk_fresh_const(str, sort) #=> :ast_pointer
|
1241
|
+
VeryLowLevel.Z3_mk_fresh_const(_ctx_pointer, str, sort._ast)
|
1242
|
+
end
|
1298
1243
|
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1244
|
+
def mk_full_set(sort) #=> :ast_pointer
|
1245
|
+
VeryLowLevel.Z3_mk_full_set(_ctx_pointer, sort._ast)
|
1246
|
+
end
|
1302
1247
|
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1248
|
+
def mk_ge(ast1, ast2) #=> :ast_pointer
|
1249
|
+
VeryLowLevel.Z3_mk_ge(_ctx_pointer, ast1._ast, ast2._ast)
|
1250
|
+
end
|
1306
1251
|
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1252
|
+
def mk_goal(bool1, bool2, bool3) #=> :goal_pointer
|
1253
|
+
VeryLowLevel.Z3_mk_goal(_ctx_pointer, bool1, bool2, bool3)
|
1254
|
+
end
|
1310
1255
|
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1256
|
+
def mk_gt(ast1, ast2) #=> :ast_pointer
|
1257
|
+
VeryLowLevel.Z3_mk_gt(_ctx_pointer, ast1._ast, ast2._ast)
|
1258
|
+
end
|
1314
1259
|
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1260
|
+
def mk_iff(ast1, ast2) #=> :ast_pointer
|
1261
|
+
VeryLowLevel.Z3_mk_iff(_ctx_pointer, ast1._ast, ast2._ast)
|
1262
|
+
end
|
1318
1263
|
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1264
|
+
def mk_implies(ast1, ast2) #=> :ast_pointer
|
1265
|
+
VeryLowLevel.Z3_mk_implies(_ctx_pointer, ast1._ast, ast2._ast)
|
1266
|
+
end
|
1322
1267
|
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1268
|
+
def mk_int(num, sort) #=> :ast_pointer
|
1269
|
+
VeryLowLevel.Z3_mk_int(_ctx_pointer, num, sort._ast)
|
1270
|
+
end
|
1326
1271
|
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1272
|
+
def mk_int2bv(num, ast) #=> :ast_pointer
|
1273
|
+
VeryLowLevel.Z3_mk_int2bv(_ctx_pointer, num, ast._ast)
|
1274
|
+
end
|
1330
1275
|
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1276
|
+
def mk_int2real(ast) #=> :ast_pointer
|
1277
|
+
VeryLowLevel.Z3_mk_int2real(_ctx_pointer, ast._ast)
|
1278
|
+
end
|
1334
1279
|
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1280
|
+
def mk_int64(num, sort) #=> :ast_pointer
|
1281
|
+
VeryLowLevel.Z3_mk_int64(_ctx_pointer, num, sort._ast)
|
1282
|
+
end
|
1338
1283
|
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1284
|
+
def mk_int_sort #=> :sort_pointer
|
1285
|
+
VeryLowLevel.Z3_mk_int_sort(_ctx_pointer)
|
1286
|
+
end
|
1342
1287
|
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1288
|
+
def mk_int_symbol(num) #=> :symbol_pointer
|
1289
|
+
VeryLowLevel.Z3_mk_int_symbol(_ctx_pointer, num)
|
1290
|
+
end
|
1346
1291
|
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1292
|
+
def mk_interpolant(ast) #=> :ast_pointer
|
1293
|
+
VeryLowLevel.Z3_mk_interpolant(_ctx_pointer, ast._ast)
|
1294
|
+
end
|
1350
1295
|
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1296
|
+
def mk_interpolation_context(config) #=> :ctx_pointer
|
1297
|
+
VeryLowLevel.Z3_mk_interpolation_context(config._config)
|
1298
|
+
end
|
1354
1299
|
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1300
|
+
def mk_is_int(ast) #=> :ast_pointer
|
1301
|
+
VeryLowLevel.Z3_mk_is_int(_ctx_pointer, ast._ast)
|
1302
|
+
end
|
1358
1303
|
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1304
|
+
def mk_ite(ast1, ast2, ast3) #=> :ast_pointer
|
1305
|
+
VeryLowLevel.Z3_mk_ite(_ctx_pointer, ast1._ast, ast2._ast, ast3._ast)
|
1306
|
+
end
|
1362
1307
|
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1308
|
+
def mk_le(ast1, ast2) #=> :ast_pointer
|
1309
|
+
VeryLowLevel.Z3_mk_le(_ctx_pointer, ast1._ast, ast2._ast)
|
1310
|
+
end
|
1366
1311
|
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1312
|
+
def mk_lt(ast1, ast2) #=> :ast_pointer
|
1313
|
+
VeryLowLevel.Z3_mk_lt(_ctx_pointer, ast1._ast, ast2._ast)
|
1314
|
+
end
|
1370
1315
|
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
1316
|
+
def mk_mod(ast1, ast2) #=> :ast_pointer
|
1317
|
+
VeryLowLevel.Z3_mk_mod(_ctx_pointer, ast1._ast, ast2._ast)
|
1318
|
+
end
|
1374
1319
|
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1320
|
+
def mk_not(ast) #=> :ast_pointer
|
1321
|
+
VeryLowLevel.Z3_mk_not(_ctx_pointer, ast._ast)
|
1322
|
+
end
|
1378
1323
|
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1324
|
+
def mk_numeral(str, sort) #=> :ast_pointer
|
1325
|
+
VeryLowLevel.Z3_mk_numeral(_ctx_pointer, str, sort._ast)
|
1326
|
+
end
|
1382
1327
|
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1328
|
+
def mk_optimize #=> :optimize_pointer
|
1329
|
+
VeryLowLevel.Z3_mk_optimize(_ctx_pointer)
|
1330
|
+
end
|
1386
1331
|
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1332
|
+
def mk_params #=> :params_pointer
|
1333
|
+
VeryLowLevel.Z3_mk_params(_ctx_pointer)
|
1334
|
+
end
|
1390
1335
|
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1336
|
+
def mk_power(ast1, ast2) #=> :ast_pointer
|
1337
|
+
VeryLowLevel.Z3_mk_power(_ctx_pointer, ast1._ast, ast2._ast)
|
1338
|
+
end
|
1394
1339
|
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1340
|
+
def mk_probe(str) #=> :probe_pointer
|
1341
|
+
VeryLowLevel.Z3_mk_probe(_ctx_pointer, str)
|
1342
|
+
end
|
1398
1343
|
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1344
|
+
def mk_real(num1, num2) #=> :ast_pointer
|
1345
|
+
VeryLowLevel.Z3_mk_real(_ctx_pointer, num1, num2)
|
1346
|
+
end
|
1402
1347
|
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1348
|
+
def mk_real2int(ast) #=> :ast_pointer
|
1349
|
+
VeryLowLevel.Z3_mk_real2int(_ctx_pointer, ast._ast)
|
1350
|
+
end
|
1406
1351
|
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1352
|
+
def mk_real_sort #=> :sort_pointer
|
1353
|
+
VeryLowLevel.Z3_mk_real_sort(_ctx_pointer)
|
1354
|
+
end
|
1410
1355
|
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1356
|
+
def mk_rem(ast1, ast2) #=> :ast_pointer
|
1357
|
+
VeryLowLevel.Z3_mk_rem(_ctx_pointer, ast1._ast, ast2._ast)
|
1358
|
+
end
|
1414
1359
|
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1360
|
+
def mk_repeat(num, ast) #=> :ast_pointer
|
1361
|
+
VeryLowLevel.Z3_mk_repeat(_ctx_pointer, num, ast._ast)
|
1362
|
+
end
|
1418
1363
|
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1364
|
+
def mk_rotate_left(num, ast) #=> :ast_pointer
|
1365
|
+
VeryLowLevel.Z3_mk_rotate_left(_ctx_pointer, num, ast._ast)
|
1366
|
+
end
|
1422
1367
|
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1368
|
+
def mk_rotate_right(num, ast) #=> :ast_pointer
|
1369
|
+
VeryLowLevel.Z3_mk_rotate_right(_ctx_pointer, num, ast._ast)
|
1370
|
+
end
|
1426
1371
|
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1372
|
+
def mk_select(ast1, ast2) #=> :ast_pointer
|
1373
|
+
VeryLowLevel.Z3_mk_select(_ctx_pointer, ast1._ast, ast2._ast)
|
1374
|
+
end
|
1430
1375
|
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1376
|
+
def mk_set_add(ast1, ast2) #=> :ast_pointer
|
1377
|
+
VeryLowLevel.Z3_mk_set_add(_ctx_pointer, ast1._ast, ast2._ast)
|
1378
|
+
end
|
1434
1379
|
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1380
|
+
def mk_set_complement(ast) #=> :ast_pointer
|
1381
|
+
VeryLowLevel.Z3_mk_set_complement(_ctx_pointer, ast._ast)
|
1382
|
+
end
|
1438
1383
|
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1384
|
+
def mk_set_del(ast1, ast2) #=> :ast_pointer
|
1385
|
+
VeryLowLevel.Z3_mk_set_del(_ctx_pointer, ast1._ast, ast2._ast)
|
1386
|
+
end
|
1442
1387
|
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1388
|
+
def mk_set_difference(ast1, ast2) #=> :ast_pointer
|
1389
|
+
VeryLowLevel.Z3_mk_set_difference(_ctx_pointer, ast1._ast, ast2._ast)
|
1390
|
+
end
|
1446
1391
|
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1392
|
+
def mk_set_member(ast1, ast2) #=> :ast_pointer
|
1393
|
+
VeryLowLevel.Z3_mk_set_member(_ctx_pointer, ast1._ast, ast2._ast)
|
1394
|
+
end
|
1450
1395
|
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1396
|
+
def mk_set_sort(sort) #=> :sort_pointer
|
1397
|
+
VeryLowLevel.Z3_mk_set_sort(_ctx_pointer, sort._ast)
|
1398
|
+
end
|
1454
1399
|
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1400
|
+
def mk_set_subset(ast1, ast2) #=> :ast_pointer
|
1401
|
+
VeryLowLevel.Z3_mk_set_subset(_ctx_pointer, ast1._ast, ast2._ast)
|
1402
|
+
end
|
1458
1403
|
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1404
|
+
def mk_sign_ext(num, ast) #=> :ast_pointer
|
1405
|
+
VeryLowLevel.Z3_mk_sign_ext(_ctx_pointer, num, ast._ast)
|
1406
|
+
end
|
1462
1407
|
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1408
|
+
def mk_simple_solver #=> :solver_pointer
|
1409
|
+
VeryLowLevel.Z3_mk_simple_solver(_ctx_pointer)
|
1410
|
+
end
|
1466
1411
|
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1412
|
+
def mk_solver #=> :solver_pointer
|
1413
|
+
VeryLowLevel.Z3_mk_solver(_ctx_pointer)
|
1414
|
+
end
|
1470
1415
|
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1416
|
+
def mk_solver_for_logic(sym) #=> :solver_pointer
|
1417
|
+
VeryLowLevel.Z3_mk_solver_for_logic(_ctx_pointer, sym)
|
1418
|
+
end
|
1474
1419
|
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1420
|
+
def mk_solver_from_tactic(tactic) #=> :solver_pointer
|
1421
|
+
VeryLowLevel.Z3_mk_solver_from_tactic(_ctx_pointer, tactic._tactic)
|
1422
|
+
end
|
1478
1423
|
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1424
|
+
def mk_store(ast1, ast2, ast3) #=> :ast_pointer
|
1425
|
+
VeryLowLevel.Z3_mk_store(_ctx_pointer, ast1._ast, ast2._ast, ast3._ast)
|
1426
|
+
end
|
1482
1427
|
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1428
|
+
def mk_string_symbol(str) #=> :symbol_pointer
|
1429
|
+
VeryLowLevel.Z3_mk_string_symbol(_ctx_pointer, str)
|
1430
|
+
end
|
1486
1431
|
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1432
|
+
def mk_tactic(str) #=> :tactic_pointer
|
1433
|
+
VeryLowLevel.Z3_mk_tactic(_ctx_pointer, str)
|
1434
|
+
end
|
1490
1435
|
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1436
|
+
def mk_true #=> :ast_pointer
|
1437
|
+
VeryLowLevel.Z3_mk_true(_ctx_pointer)
|
1438
|
+
end
|
1494
1439
|
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1440
|
+
def mk_unary_minus(ast) #=> :ast_pointer
|
1441
|
+
VeryLowLevel.Z3_mk_unary_minus(_ctx_pointer, ast._ast)
|
1442
|
+
end
|
1498
1443
|
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1444
|
+
def mk_uninterpreted_sort(sym) #=> :sort_pointer
|
1445
|
+
VeryLowLevel.Z3_mk_uninterpreted_sort(_ctx_pointer, sym)
|
1446
|
+
end
|
1502
1447
|
|
1503
|
-
|
1504
|
-
|
1505
|
-
|
1448
|
+
def mk_unsigned_int(num, sort) #=> :ast_pointer
|
1449
|
+
VeryLowLevel.Z3_mk_unsigned_int(_ctx_pointer, num, sort._ast)
|
1450
|
+
end
|
1506
1451
|
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1452
|
+
def mk_unsigned_int64(num, sort) #=> :ast_pointer
|
1453
|
+
VeryLowLevel.Z3_mk_unsigned_int64(_ctx_pointer, num, sort._ast)
|
1454
|
+
end
|
1510
1455
|
|
1511
|
-
|
1512
|
-
|
1513
|
-
|
1456
|
+
def mk_xor(ast1, ast2) #=> :ast_pointer
|
1457
|
+
VeryLowLevel.Z3_mk_xor(_ctx_pointer, ast1._ast, ast2._ast)
|
1458
|
+
end
|
1514
1459
|
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1460
|
+
def mk_zero_ext(num, ast) #=> :ast_pointer
|
1461
|
+
VeryLowLevel.Z3_mk_zero_ext(_ctx_pointer, num, ast._ast)
|
1462
|
+
end
|
1518
1463
|
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1464
|
+
def model_dec_ref(model) #=> :void
|
1465
|
+
VeryLowLevel.Z3_model_dec_ref(_ctx_pointer, model._model)
|
1466
|
+
end
|
1522
1467
|
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1468
|
+
def model_get_const_decl(model, num) #=> :func_decl_pointer
|
1469
|
+
VeryLowLevel.Z3_model_get_const_decl(_ctx_pointer, model._model, num)
|
1470
|
+
end
|
1526
1471
|
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1472
|
+
def model_get_const_interp(model, func_decl) #=> :ast_pointer
|
1473
|
+
VeryLowLevel.Z3_model_get_const_interp(_ctx_pointer, model._model, func_decl._ast)
|
1474
|
+
end
|
1530
1475
|
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1476
|
+
def model_get_func_decl(model, num) #=> :func_decl_pointer
|
1477
|
+
VeryLowLevel.Z3_model_get_func_decl(_ctx_pointer, model._model, num)
|
1478
|
+
end
|
1534
1479
|
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1480
|
+
def model_get_func_interp(model, func_decl) #=> :func_interp_pointer
|
1481
|
+
VeryLowLevel.Z3_model_get_func_interp(_ctx_pointer, model._model, func_decl._ast)
|
1482
|
+
end
|
1538
1483
|
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1484
|
+
def model_get_num_consts(model) #=> :uint
|
1485
|
+
VeryLowLevel.Z3_model_get_num_consts(_ctx_pointer, model._model)
|
1486
|
+
end
|
1542
1487
|
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1488
|
+
def model_get_num_funcs(model) #=> :uint
|
1489
|
+
VeryLowLevel.Z3_model_get_num_funcs(_ctx_pointer, model._model)
|
1490
|
+
end
|
1546
1491
|
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1492
|
+
def model_get_num_sorts(model) #=> :uint
|
1493
|
+
VeryLowLevel.Z3_model_get_num_sorts(_ctx_pointer, model._model)
|
1494
|
+
end
|
1550
1495
|
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1496
|
+
def model_get_sort(model, num) #=> :sort_pointer
|
1497
|
+
VeryLowLevel.Z3_model_get_sort(_ctx_pointer, model._model, num)
|
1498
|
+
end
|
1554
1499
|
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1500
|
+
def model_get_sort_universe(model, sort) #=> :ast_vector_pointer
|
1501
|
+
VeryLowLevel.Z3_model_get_sort_universe(_ctx_pointer, model._model, sort._ast)
|
1502
|
+
end
|
1558
1503
|
|
1559
|
-
|
1560
|
-
|
1561
|
-
|
1504
|
+
def model_has_interp(model, func_decl) #=> :bool
|
1505
|
+
VeryLowLevel.Z3_model_has_interp(_ctx_pointer, model._model, func_decl._ast)
|
1506
|
+
end
|
1562
1507
|
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1508
|
+
def model_inc_ref(model) #=> :void
|
1509
|
+
VeryLowLevel.Z3_model_inc_ref(_ctx_pointer, model._model)
|
1510
|
+
end
|
1566
1511
|
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1512
|
+
def model_to_string(model) #=> :string
|
1513
|
+
VeryLowLevel.Z3_model_to_string(_ctx_pointer, model._model)
|
1514
|
+
end
|
1570
1515
|
|
1571
|
-
|
1572
|
-
|
1573
|
-
|
1516
|
+
def optimize_assert(optimize, ast) #=> :void
|
1517
|
+
VeryLowLevel.Z3_optimize_assert(_ctx_pointer, optimize._optimize, ast._ast)
|
1518
|
+
end
|
1574
1519
|
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1520
|
+
def optimize_assert_soft(optimize, ast, str, sym) #=> :uint
|
1521
|
+
VeryLowLevel.Z3_optimize_assert_soft(_ctx_pointer, optimize._optimize, ast._ast, str, sym)
|
1522
|
+
end
|
1578
1523
|
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1524
|
+
def optimize_check(optimize) #=> :int
|
1525
|
+
VeryLowLevel.Z3_optimize_check(_ctx_pointer, optimize._optimize)
|
1526
|
+
end
|
1582
1527
|
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1528
|
+
def optimize_dec_ref(optimize) #=> :void
|
1529
|
+
VeryLowLevel.Z3_optimize_dec_ref(_ctx_pointer, optimize._optimize)
|
1530
|
+
end
|
1586
1531
|
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1532
|
+
def optimize_get_help(optimize) #=> :string
|
1533
|
+
VeryLowLevel.Z3_optimize_get_help(_ctx_pointer, optimize._optimize)
|
1534
|
+
end
|
1590
1535
|
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1536
|
+
def optimize_get_lower(optimize, num) #=> :ast_pointer
|
1537
|
+
VeryLowLevel.Z3_optimize_get_lower(_ctx_pointer, optimize._optimize, num)
|
1538
|
+
end
|
1594
1539
|
|
1595
|
-
|
1596
|
-
|
1597
|
-
|
1540
|
+
def optimize_get_model(optimize) #=> :model_pointer
|
1541
|
+
VeryLowLevel.Z3_optimize_get_model(_ctx_pointer, optimize._optimize)
|
1542
|
+
end
|
1598
1543
|
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1544
|
+
def optimize_get_param_descrs(optimize) #=> :param_descrs_pointer
|
1545
|
+
VeryLowLevel.Z3_optimize_get_param_descrs(_ctx_pointer, optimize._optimize)
|
1546
|
+
end
|
1602
1547
|
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1548
|
+
def optimize_get_reason_unknown(optimize) #=> :string
|
1549
|
+
VeryLowLevel.Z3_optimize_get_reason_unknown(_ctx_pointer, optimize._optimize)
|
1550
|
+
end
|
1606
1551
|
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1552
|
+
def optimize_get_statistics(optimize) #=> :stats_pointer
|
1553
|
+
VeryLowLevel.Z3_optimize_get_statistics(_ctx_pointer, optimize._optimize)
|
1554
|
+
end
|
1610
1555
|
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1556
|
+
def optimize_get_upper(optimize, num) #=> :ast_pointer
|
1557
|
+
VeryLowLevel.Z3_optimize_get_upper(_ctx_pointer, optimize._optimize, num)
|
1558
|
+
end
|
1614
1559
|
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1560
|
+
def optimize_inc_ref(optimize) #=> :void
|
1561
|
+
VeryLowLevel.Z3_optimize_inc_ref(_ctx_pointer, optimize._optimize)
|
1562
|
+
end
|
1618
1563
|
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1564
|
+
def optimize_maximize(optimize, ast) #=> :uint
|
1565
|
+
VeryLowLevel.Z3_optimize_maximize(_ctx_pointer, optimize._optimize, ast._ast)
|
1566
|
+
end
|
1622
1567
|
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1568
|
+
def optimize_minimize(optimize, ast) #=> :uint
|
1569
|
+
VeryLowLevel.Z3_optimize_minimize(_ctx_pointer, optimize._optimize, ast._ast)
|
1570
|
+
end
|
1626
1571
|
|
1627
|
-
|
1628
|
-
|
1629
|
-
|
1572
|
+
def optimize_pop(optimize) #=> :void
|
1573
|
+
VeryLowLevel.Z3_optimize_pop(_ctx_pointer, optimize._optimize)
|
1574
|
+
end
|
1630
1575
|
|
1631
|
-
|
1632
|
-
|
1633
|
-
|
1576
|
+
def optimize_push(optimize) #=> :void
|
1577
|
+
VeryLowLevel.Z3_optimize_push(_ctx_pointer, optimize._optimize)
|
1578
|
+
end
|
1634
1579
|
|
1635
|
-
|
1636
|
-
|
1637
|
-
|
1580
|
+
def optimize_set_params(optimize, params) #=> :void
|
1581
|
+
VeryLowLevel.Z3_optimize_set_params(_ctx_pointer, optimize._optimize, params._params)
|
1582
|
+
end
|
1638
1583
|
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1584
|
+
def optimize_to_string(optimize) #=> :string
|
1585
|
+
VeryLowLevel.Z3_optimize_to_string(_ctx_pointer, optimize._optimize)
|
1586
|
+
end
|
1642
1587
|
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1588
|
+
def param_descrs_dec_ref(param_descrs) #=> :void
|
1589
|
+
VeryLowLevel.Z3_param_descrs_dec_ref(_ctx_pointer, param_descrs._param_descrs)
|
1590
|
+
end
|
1646
1591
|
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1592
|
+
def param_descrs_get_kind(param_descrs, sym) #=> :uint
|
1593
|
+
VeryLowLevel.Z3_param_descrs_get_kind(_ctx_pointer, param_descrs._param_descrs, sym)
|
1594
|
+
end
|
1650
1595
|
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1596
|
+
def param_descrs_get_name(param_descrs, num) #=> :symbol_pointer
|
1597
|
+
VeryLowLevel.Z3_param_descrs_get_name(_ctx_pointer, param_descrs._param_descrs, num)
|
1598
|
+
end
|
1654
1599
|
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1600
|
+
def param_descrs_inc_ref(param_descrs) #=> :void
|
1601
|
+
VeryLowLevel.Z3_param_descrs_inc_ref(_ctx_pointer, param_descrs._param_descrs)
|
1602
|
+
end
|
1658
1603
|
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1604
|
+
def param_descrs_size(param_descrs) #=> :uint
|
1605
|
+
VeryLowLevel.Z3_param_descrs_size(_ctx_pointer, param_descrs._param_descrs)
|
1606
|
+
end
|
1662
1607
|
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1608
|
+
def param_descrs_to_string(param_descrs) #=> :string
|
1609
|
+
VeryLowLevel.Z3_param_descrs_to_string(_ctx_pointer, param_descrs._param_descrs)
|
1610
|
+
end
|
1666
1611
|
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1612
|
+
def params_dec_ref(params) #=> :void
|
1613
|
+
VeryLowLevel.Z3_params_dec_ref(_ctx_pointer, params._params)
|
1614
|
+
end
|
1670
1615
|
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1616
|
+
def params_inc_ref(params) #=> :void
|
1617
|
+
VeryLowLevel.Z3_params_inc_ref(_ctx_pointer, params._params)
|
1618
|
+
end
|
1674
1619
|
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1620
|
+
def params_set_bool(params, sym, bool) #=> :void
|
1621
|
+
VeryLowLevel.Z3_params_set_bool(_ctx_pointer, params._params, sym, bool)
|
1622
|
+
end
|
1678
1623
|
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1624
|
+
def params_set_double(params, sym, double) #=> :void
|
1625
|
+
VeryLowLevel.Z3_params_set_double(_ctx_pointer, params._params, sym, double)
|
1626
|
+
end
|
1682
1627
|
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1628
|
+
def params_set_symbol(params, sym1, sym2) #=> :void
|
1629
|
+
VeryLowLevel.Z3_params_set_symbol(_ctx_pointer, params._params, sym1, sym2)
|
1630
|
+
end
|
1686
1631
|
|
1687
|
-
|
1688
|
-
|
1689
|
-
|
1632
|
+
def params_set_uint(params, sym, num) #=> :void
|
1633
|
+
VeryLowLevel.Z3_params_set_uint(_ctx_pointer, params._params, sym, num)
|
1634
|
+
end
|
1690
1635
|
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1636
|
+
def params_to_string(params) #=> :string
|
1637
|
+
VeryLowLevel.Z3_params_to_string(_ctx_pointer, params._params)
|
1638
|
+
end
|
1694
1639
|
|
1695
|
-
|
1696
|
-
|
1697
|
-
|
1640
|
+
def params_validate(params, param_descrs) #=> :void
|
1641
|
+
VeryLowLevel.Z3_params_validate(_ctx_pointer, params._params, param_descrs._param_descrs)
|
1642
|
+
end
|
1698
1643
|
|
1699
|
-
|
1700
|
-
|
1701
|
-
|
1644
|
+
def pattern_to_string(pattern) #=> :string
|
1645
|
+
VeryLowLevel.Z3_pattern_to_string(_ctx_pointer, pattern._ast)
|
1646
|
+
end
|
1702
1647
|
|
1703
|
-
|
1704
|
-
|
1705
|
-
|
1648
|
+
def polynomial_subresultants(ast1, ast2, ast3) #=> :ast_vector_pointer
|
1649
|
+
VeryLowLevel.Z3_polynomial_subresultants(_ctx_pointer, ast1._ast, ast2._ast, ast3._ast)
|
1650
|
+
end
|
1706
1651
|
|
1707
|
-
|
1708
|
-
|
1709
|
-
|
1652
|
+
def probe_and(probe1, probe2) #=> :probe_pointer
|
1653
|
+
VeryLowLevel.Z3_probe_and(_ctx_pointer, probe1._probe, probe2._probe)
|
1654
|
+
end
|
1710
1655
|
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1656
|
+
def probe_apply(probe, goal) #=> :double
|
1657
|
+
VeryLowLevel.Z3_probe_apply(_ctx_pointer, probe._probe, goal._goal)
|
1658
|
+
end
|
1714
1659
|
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1660
|
+
def probe_const(double) #=> :probe_pointer
|
1661
|
+
VeryLowLevel.Z3_probe_const(_ctx_pointer, double)
|
1662
|
+
end
|
1718
1663
|
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1664
|
+
def probe_dec_ref(probe) #=> :void
|
1665
|
+
VeryLowLevel.Z3_probe_dec_ref(_ctx_pointer, probe._probe)
|
1666
|
+
end
|
1722
1667
|
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1668
|
+
def probe_eq(probe1, probe2) #=> :probe_pointer
|
1669
|
+
VeryLowLevel.Z3_probe_eq(_ctx_pointer, probe1._probe, probe2._probe)
|
1670
|
+
end
|
1726
1671
|
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1672
|
+
def probe_ge(probe1, probe2) #=> :probe_pointer
|
1673
|
+
VeryLowLevel.Z3_probe_ge(_ctx_pointer, probe1._probe, probe2._probe)
|
1674
|
+
end
|
1730
1675
|
|
1731
|
-
|
1732
|
-
|
1733
|
-
|
1676
|
+
def probe_get_descr(str) #=> :string
|
1677
|
+
VeryLowLevel.Z3_probe_get_descr(_ctx_pointer, str)
|
1678
|
+
end
|
1734
1679
|
|
1735
|
-
|
1736
|
-
|
1737
|
-
|
1680
|
+
def probe_gt(probe1, probe2) #=> :probe_pointer
|
1681
|
+
VeryLowLevel.Z3_probe_gt(_ctx_pointer, probe1._probe, probe2._probe)
|
1682
|
+
end
|
1738
1683
|
|
1739
|
-
|
1740
|
-
|
1741
|
-
|
1684
|
+
def probe_inc_ref(probe) #=> :void
|
1685
|
+
VeryLowLevel.Z3_probe_inc_ref(_ctx_pointer, probe._probe)
|
1686
|
+
end
|
1742
1687
|
|
1743
|
-
|
1744
|
-
|
1745
|
-
|
1688
|
+
def probe_le(probe1, probe2) #=> :probe_pointer
|
1689
|
+
VeryLowLevel.Z3_probe_le(_ctx_pointer, probe1._probe, probe2._probe)
|
1690
|
+
end
|
1746
1691
|
|
1747
|
-
|
1748
|
-
|
1749
|
-
|
1692
|
+
def probe_lt(probe1, probe2) #=> :probe_pointer
|
1693
|
+
VeryLowLevel.Z3_probe_lt(_ctx_pointer, probe1._probe, probe2._probe)
|
1694
|
+
end
|
1750
1695
|
|
1751
|
-
|
1752
|
-
|
1753
|
-
|
1696
|
+
def probe_not(probe) #=> :probe_pointer
|
1697
|
+
VeryLowLevel.Z3_probe_not(_ctx_pointer, probe._probe)
|
1698
|
+
end
|
1754
1699
|
|
1755
|
-
|
1756
|
-
|
1757
|
-
|
1700
|
+
def probe_or(probe1, probe2) #=> :probe_pointer
|
1701
|
+
VeryLowLevel.Z3_probe_or(_ctx_pointer, probe1._probe, probe2._probe)
|
1702
|
+
end
|
1758
1703
|
|
1759
|
-
|
1760
|
-
|
1761
|
-
|
1704
|
+
def rcf_add(num1, num2) #=> :rcf_num_pointer
|
1705
|
+
VeryLowLevel.Z3_rcf_add(_ctx_pointer, num1._rcf_num, num2._rcf_num)
|
1706
|
+
end
|
1762
1707
|
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1708
|
+
def rcf_del(num) #=> :void
|
1709
|
+
VeryLowLevel.Z3_rcf_del(_ctx_pointer, num._rcf_num)
|
1710
|
+
end
|
1766
1711
|
|
1767
|
-
|
1768
|
-
|
1769
|
-
|
1712
|
+
def rcf_div(num1, num2) #=> :rcf_num_pointer
|
1713
|
+
VeryLowLevel.Z3_rcf_div(_ctx_pointer, num1._rcf_num, num2._rcf_num)
|
1714
|
+
end
|
1770
1715
|
|
1771
|
-
|
1772
|
-
|
1773
|
-
|
1716
|
+
def rcf_eq(num1, num2) #=> :bool
|
1717
|
+
VeryLowLevel.Z3_rcf_eq(_ctx_pointer, num1._rcf_num, num2._rcf_num)
|
1718
|
+
end
|
1774
1719
|
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1720
|
+
def rcf_ge(num1, num2) #=> :bool
|
1721
|
+
VeryLowLevel.Z3_rcf_ge(_ctx_pointer, num1._rcf_num, num2._rcf_num)
|
1722
|
+
end
|
1778
1723
|
|
1779
|
-
|
1780
|
-
|
1781
|
-
|
1724
|
+
def rcf_gt(num1, num2) #=> :bool
|
1725
|
+
VeryLowLevel.Z3_rcf_gt(_ctx_pointer, num1._rcf_num, num2._rcf_num)
|
1726
|
+
end
|
1782
1727
|
|
1783
|
-
|
1784
|
-
|
1785
|
-
|
1728
|
+
def rcf_inv(num) #=> :rcf_num_pointer
|
1729
|
+
VeryLowLevel.Z3_rcf_inv(_ctx_pointer, num._rcf_num)
|
1730
|
+
end
|
1786
1731
|
|
1787
|
-
|
1788
|
-
|
1789
|
-
|
1732
|
+
def rcf_le(num1, num2) #=> :bool
|
1733
|
+
VeryLowLevel.Z3_rcf_le(_ctx_pointer, num1._rcf_num, num2._rcf_num)
|
1734
|
+
end
|
1790
1735
|
|
1791
|
-
|
1792
|
-
|
1793
|
-
|
1736
|
+
def rcf_lt(num1, num2) #=> :bool
|
1737
|
+
VeryLowLevel.Z3_rcf_lt(_ctx_pointer, num1._rcf_num, num2._rcf_num)
|
1738
|
+
end
|
1794
1739
|
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1740
|
+
def rcf_mk_e #=> :rcf_num_pointer
|
1741
|
+
VeryLowLevel.Z3_rcf_mk_e(_ctx_pointer)
|
1742
|
+
end
|
1798
1743
|
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1744
|
+
def rcf_mk_infinitesimal #=> :rcf_num_pointer
|
1745
|
+
VeryLowLevel.Z3_rcf_mk_infinitesimal(_ctx_pointer)
|
1746
|
+
end
|
1802
1747
|
|
1803
|
-
|
1804
|
-
|
1805
|
-
|
1748
|
+
def rcf_mk_pi #=> :rcf_num_pointer
|
1749
|
+
VeryLowLevel.Z3_rcf_mk_pi(_ctx_pointer)
|
1750
|
+
end
|
1806
1751
|
|
1807
|
-
|
1808
|
-
|
1809
|
-
|
1752
|
+
def rcf_mk_rational(str) #=> :rcf_num_pointer
|
1753
|
+
VeryLowLevel.Z3_rcf_mk_rational(_ctx_pointer, str)
|
1754
|
+
end
|
1810
1755
|
|
1811
|
-
|
1812
|
-
|
1813
|
-
|
1756
|
+
def rcf_mk_small_int(num) #=> :rcf_num_pointer
|
1757
|
+
VeryLowLevel.Z3_rcf_mk_small_int(_ctx_pointer, num)
|
1758
|
+
end
|
1814
1759
|
|
1815
|
-
|
1816
|
-
|
1817
|
-
|
1760
|
+
def rcf_mul(num1, num2) #=> :rcf_num_pointer
|
1761
|
+
VeryLowLevel.Z3_rcf_mul(_ctx_pointer, num1._rcf_num, num2._rcf_num)
|
1762
|
+
end
|
1818
1763
|
|
1819
|
-
|
1820
|
-
|
1821
|
-
|
1764
|
+
def rcf_neg(num) #=> :rcf_num_pointer
|
1765
|
+
VeryLowLevel.Z3_rcf_neg(_ctx_pointer, num._rcf_num)
|
1766
|
+
end
|
1822
1767
|
|
1823
|
-
|
1824
|
-
|
1825
|
-
|
1768
|
+
def rcf_neq(num1, num2) #=> :bool
|
1769
|
+
VeryLowLevel.Z3_rcf_neq(_ctx_pointer, num1._rcf_num, num2._rcf_num)
|
1770
|
+
end
|
1826
1771
|
|
1827
|
-
|
1828
|
-
|
1829
|
-
|
1772
|
+
def rcf_num_to_decimal_string(num1, num2) #=> :string
|
1773
|
+
VeryLowLevel.Z3_rcf_num_to_decimal_string(_ctx_pointer, num1._rcf_num, num2)
|
1774
|
+
end
|
1830
1775
|
|
1831
|
-
|
1832
|
-
|
1833
|
-
|
1776
|
+
def rcf_num_to_string(num, bool1, bool2) #=> :string
|
1777
|
+
VeryLowLevel.Z3_rcf_num_to_string(_ctx_pointer, num._rcf_num, bool1, bool2)
|
1778
|
+
end
|
1834
1779
|
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
1780
|
+
def rcf_power(num1, num2) #=> :rcf_num_pointer
|
1781
|
+
VeryLowLevel.Z3_rcf_power(_ctx_pointer, num1._rcf_num, num2)
|
1782
|
+
end
|
1838
1783
|
|
1839
|
-
|
1840
|
-
|
1841
|
-
|
1784
|
+
def rcf_sub(num1, num2) #=> :rcf_num_pointer
|
1785
|
+
VeryLowLevel.Z3_rcf_sub(_ctx_pointer, num1._rcf_num, num2._rcf_num)
|
1786
|
+
end
|
1842
1787
|
|
1843
|
-
|
1844
|
-
|
1845
|
-
|
1788
|
+
def reset_memory #=> :void
|
1789
|
+
VeryLowLevel.Z3_reset_memory()
|
1790
|
+
end
|
1846
1791
|
|
1847
|
-
|
1848
|
-
|
1849
|
-
|
1792
|
+
def set_param_value(config, str1, str2) #=> :void
|
1793
|
+
VeryLowLevel.Z3_set_param_value(config._config, str1, str2)
|
1794
|
+
end
|
1850
1795
|
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1796
|
+
def simplify(ast) #=> :ast_pointer
|
1797
|
+
VeryLowLevel.Z3_simplify(_ctx_pointer, ast._ast)
|
1798
|
+
end
|
1854
1799
|
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1800
|
+
def simplify_ex(ast, params) #=> :ast_pointer
|
1801
|
+
VeryLowLevel.Z3_simplify_ex(_ctx_pointer, ast._ast, params._params)
|
1802
|
+
end
|
1858
1803
|
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1804
|
+
def simplify_get_help #=> :string
|
1805
|
+
VeryLowLevel.Z3_simplify_get_help(_ctx_pointer)
|
1806
|
+
end
|
1862
1807
|
|
1863
|
-
|
1864
|
-
|
1865
|
-
|
1808
|
+
def simplify_get_param_descrs #=> :param_descrs_pointer
|
1809
|
+
VeryLowLevel.Z3_simplify_get_param_descrs(_ctx_pointer)
|
1810
|
+
end
|
1866
1811
|
|
1867
|
-
|
1868
|
-
|
1869
|
-
|
1812
|
+
def solver_assert(solver, ast) #=> :void
|
1813
|
+
VeryLowLevel.Z3_solver_assert(_ctx_pointer, solver._solver, ast._ast)
|
1814
|
+
end
|
1870
1815
|
|
1871
|
-
|
1872
|
-
|
1873
|
-
|
1816
|
+
def solver_assert_and_track(solver, ast1, ast2) #=> :void
|
1817
|
+
VeryLowLevel.Z3_solver_assert_and_track(_ctx_pointer, solver._solver, ast1._ast, ast2._ast)
|
1818
|
+
end
|
1874
1819
|
|
1875
|
-
|
1876
|
-
|
1877
|
-
|
1820
|
+
def solver_check(solver) #=> :int
|
1821
|
+
VeryLowLevel.Z3_solver_check(_ctx_pointer, solver._solver)
|
1822
|
+
end
|
1878
1823
|
|
1879
|
-
|
1880
|
-
|
1881
|
-
|
1824
|
+
def solver_dec_ref(solver) #=> :void
|
1825
|
+
VeryLowLevel.Z3_solver_dec_ref(_ctx_pointer, solver._solver)
|
1826
|
+
end
|
1882
1827
|
|
1883
|
-
|
1884
|
-
|
1885
|
-
|
1828
|
+
def solver_get_assertions(solver) #=> :ast_vector_pointer
|
1829
|
+
VeryLowLevel.Z3_solver_get_assertions(_ctx_pointer, solver._solver)
|
1830
|
+
end
|
1886
1831
|
|
1887
|
-
|
1888
|
-
|
1889
|
-
|
1832
|
+
def solver_get_help(solver) #=> :string
|
1833
|
+
VeryLowLevel.Z3_solver_get_help(_ctx_pointer, solver._solver)
|
1834
|
+
end
|
1890
1835
|
|
1891
|
-
|
1892
|
-
|
1893
|
-
|
1836
|
+
def solver_get_model(solver) #=> :model_pointer
|
1837
|
+
VeryLowLevel.Z3_solver_get_model(_ctx_pointer, solver._solver)
|
1838
|
+
end
|
1894
1839
|
|
1895
|
-
|
1896
|
-
|
1897
|
-
|
1840
|
+
def solver_get_num_scopes(solver) #=> :uint
|
1841
|
+
VeryLowLevel.Z3_solver_get_num_scopes(_ctx_pointer, solver._solver)
|
1842
|
+
end
|
1898
1843
|
|
1899
|
-
|
1900
|
-
|
1901
|
-
|
1844
|
+
def solver_get_param_descrs(solver) #=> :param_descrs_pointer
|
1845
|
+
VeryLowLevel.Z3_solver_get_param_descrs(_ctx_pointer, solver._solver)
|
1846
|
+
end
|
1902
1847
|
|
1903
|
-
|
1904
|
-
|
1905
|
-
|
1848
|
+
def solver_get_proof(solver) #=> :ast_pointer
|
1849
|
+
VeryLowLevel.Z3_solver_get_proof(_ctx_pointer, solver._solver)
|
1850
|
+
end
|
1906
1851
|
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
1852
|
+
def solver_get_reason_unknown(solver) #=> :string
|
1853
|
+
VeryLowLevel.Z3_solver_get_reason_unknown(_ctx_pointer, solver._solver)
|
1854
|
+
end
|
1910
1855
|
|
1911
|
-
|
1912
|
-
|
1913
|
-
|
1856
|
+
def solver_get_statistics(solver) #=> :stats_pointer
|
1857
|
+
VeryLowLevel.Z3_solver_get_statistics(_ctx_pointer, solver._solver)
|
1858
|
+
end
|
1914
1859
|
|
1915
|
-
|
1916
|
-
|
1917
|
-
|
1860
|
+
def solver_get_unsat_core(solver) #=> :ast_vector_pointer
|
1861
|
+
VeryLowLevel.Z3_solver_get_unsat_core(_ctx_pointer, solver._solver)
|
1862
|
+
end
|
1918
1863
|
|
1919
|
-
|
1920
|
-
|
1921
|
-
|
1864
|
+
def solver_inc_ref(solver) #=> :void
|
1865
|
+
VeryLowLevel.Z3_solver_inc_ref(_ctx_pointer, solver._solver)
|
1866
|
+
end
|
1922
1867
|
|
1923
|
-
|
1924
|
-
|
1925
|
-
|
1868
|
+
def solver_pop(solver, num) #=> :void
|
1869
|
+
VeryLowLevel.Z3_solver_pop(_ctx_pointer, solver._solver, num)
|
1870
|
+
end
|
1926
1871
|
|
1927
|
-
|
1928
|
-
|
1929
|
-
|
1872
|
+
def solver_push(solver) #=> :void
|
1873
|
+
VeryLowLevel.Z3_solver_push(_ctx_pointer, solver._solver)
|
1874
|
+
end
|
1930
1875
|
|
1931
|
-
|
1932
|
-
|
1933
|
-
|
1876
|
+
def solver_reset(solver) #=> :void
|
1877
|
+
VeryLowLevel.Z3_solver_reset(_ctx_pointer, solver._solver)
|
1878
|
+
end
|
1934
1879
|
|
1935
|
-
|
1936
|
-
|
1937
|
-
|
1880
|
+
def solver_set_params(solver, params) #=> :void
|
1881
|
+
VeryLowLevel.Z3_solver_set_params(_ctx_pointer, solver._solver, params._params)
|
1882
|
+
end
|
1938
1883
|
|
1939
|
-
|
1940
|
-
|
1941
|
-
|
1884
|
+
def solver_to_string(solver) #=> :string
|
1885
|
+
VeryLowLevel.Z3_solver_to_string(_ctx_pointer, solver._solver)
|
1886
|
+
end
|
1942
1887
|
|
1943
|
-
|
1944
|
-
|
1945
|
-
|
1888
|
+
def stats_dec_ref(stats) #=> :void
|
1889
|
+
VeryLowLevel.Z3_stats_dec_ref(_ctx_pointer, stats)
|
1890
|
+
end
|
1946
1891
|
|
1947
|
-
|
1948
|
-
|
1949
|
-
|
1892
|
+
def stats_get_double_value(stats, num) #=> :double
|
1893
|
+
VeryLowLevel.Z3_stats_get_double_value(_ctx_pointer, stats, num)
|
1894
|
+
end
|
1950
1895
|
|
1951
|
-
|
1952
|
-
|
1953
|
-
|
1896
|
+
def stats_get_key(stats, num) #=> :string
|
1897
|
+
VeryLowLevel.Z3_stats_get_key(_ctx_pointer, stats, num)
|
1898
|
+
end
|
1954
1899
|
|
1955
|
-
|
1956
|
-
|
1957
|
-
|
1900
|
+
def stats_get_uint_value(stats, num) #=> :uint
|
1901
|
+
VeryLowLevel.Z3_stats_get_uint_value(_ctx_pointer, stats, num)
|
1902
|
+
end
|
1958
1903
|
|
1959
|
-
|
1960
|
-
|
1961
|
-
|
1904
|
+
def stats_inc_ref(stats) #=> :void
|
1905
|
+
VeryLowLevel.Z3_stats_inc_ref(_ctx_pointer, stats)
|
1906
|
+
end
|
1962
1907
|
|
1963
|
-
|
1964
|
-
|
1965
|
-
|
1908
|
+
def stats_is_double(stats, num) #=> :bool
|
1909
|
+
VeryLowLevel.Z3_stats_is_double(_ctx_pointer, stats, num)
|
1910
|
+
end
|
1966
1911
|
|
1967
|
-
|
1968
|
-
|
1969
|
-
|
1912
|
+
def stats_is_uint(stats, num) #=> :bool
|
1913
|
+
VeryLowLevel.Z3_stats_is_uint(_ctx_pointer, stats, num)
|
1914
|
+
end
|
1970
1915
|
|
1971
|
-
|
1972
|
-
|
1973
|
-
|
1916
|
+
def stats_size(stats) #=> :uint
|
1917
|
+
VeryLowLevel.Z3_stats_size(_ctx_pointer, stats)
|
1918
|
+
end
|
1974
1919
|
|
1975
|
-
|
1976
|
-
|
1977
|
-
|
1920
|
+
def stats_to_string(stats) #=> :string
|
1921
|
+
VeryLowLevel.Z3_stats_to_string(_ctx_pointer, stats)
|
1922
|
+
end
|
1978
1923
|
|
1979
|
-
|
1980
|
-
|
1981
|
-
|
1924
|
+
def tactic_and_then(tactic1, tactic2) #=> :tactic_pointer
|
1925
|
+
VeryLowLevel.Z3_tactic_and_then(_ctx_pointer, tactic1._tactic, tactic2._tactic)
|
1926
|
+
end
|
1982
1927
|
|
1983
|
-
|
1984
|
-
|
1985
|
-
|
1928
|
+
def tactic_apply(tactic, goal) #=> :apply_result_pointer
|
1929
|
+
VeryLowLevel.Z3_tactic_apply(_ctx_pointer, tactic._tactic, goal._goal)
|
1930
|
+
end
|
1986
1931
|
|
1987
|
-
|
1988
|
-
|
1989
|
-
|
1932
|
+
def tactic_apply_ex(tactic, goal, params) #=> :apply_result_pointer
|
1933
|
+
VeryLowLevel.Z3_tactic_apply_ex(_ctx_pointer, tactic._tactic, goal._goal, params._params)
|
1934
|
+
end
|
1990
1935
|
|
1991
|
-
|
1992
|
-
|
1993
|
-
|
1936
|
+
def tactic_cond(probe, tactic1, tactic2) #=> :tactic_pointer
|
1937
|
+
VeryLowLevel.Z3_tactic_cond(_ctx_pointer, probe._probe, tactic1._tactic, tactic2._tactic)
|
1938
|
+
end
|
1994
1939
|
|
1995
|
-
|
1996
|
-
|
1997
|
-
|
1940
|
+
def tactic_dec_ref(tactic) #=> :void
|
1941
|
+
VeryLowLevel.Z3_tactic_dec_ref(_ctx_pointer, tactic._tactic)
|
1942
|
+
end
|
1998
1943
|
|
1999
|
-
|
2000
|
-
|
2001
|
-
|
1944
|
+
def tactic_fail #=> :tactic_pointer
|
1945
|
+
VeryLowLevel.Z3_tactic_fail(_ctx_pointer)
|
1946
|
+
end
|
2002
1947
|
|
2003
|
-
|
2004
|
-
|
2005
|
-
|
1948
|
+
def tactic_fail_if(probe) #=> :tactic_pointer
|
1949
|
+
VeryLowLevel.Z3_tactic_fail_if(_ctx_pointer, probe._probe)
|
1950
|
+
end
|
2006
1951
|
|
2007
|
-
|
2008
|
-
|
2009
|
-
|
1952
|
+
def tactic_fail_if_not_decided #=> :tactic_pointer
|
1953
|
+
VeryLowLevel.Z3_tactic_fail_if_not_decided(_ctx_pointer)
|
1954
|
+
end
|
2010
1955
|
|
2011
|
-
|
2012
|
-
|
2013
|
-
|
1956
|
+
def tactic_get_descr(str) #=> :string
|
1957
|
+
VeryLowLevel.Z3_tactic_get_descr(_ctx_pointer, str)
|
1958
|
+
end
|
2014
1959
|
|
2015
|
-
|
2016
|
-
|
2017
|
-
|
1960
|
+
def tactic_get_help(tactic) #=> :string
|
1961
|
+
VeryLowLevel.Z3_tactic_get_help(_ctx_pointer, tactic._tactic)
|
1962
|
+
end
|
2018
1963
|
|
2019
|
-
|
2020
|
-
|
2021
|
-
|
1964
|
+
def tactic_get_param_descrs(tactic) #=> :param_descrs_pointer
|
1965
|
+
VeryLowLevel.Z3_tactic_get_param_descrs(_ctx_pointer, tactic._tactic)
|
1966
|
+
end
|
2022
1967
|
|
2023
|
-
|
2024
|
-
|
2025
|
-
|
1968
|
+
def tactic_inc_ref(tactic) #=> :void
|
1969
|
+
VeryLowLevel.Z3_tactic_inc_ref(_ctx_pointer, tactic._tactic)
|
1970
|
+
end
|
2026
1971
|
|
2027
|
-
|
2028
|
-
|
2029
|
-
|
1972
|
+
def tactic_or_else(tactic1, tactic2) #=> :tactic_pointer
|
1973
|
+
VeryLowLevel.Z3_tactic_or_else(_ctx_pointer, tactic1._tactic, tactic2._tactic)
|
1974
|
+
end
|
2030
1975
|
|
2031
|
-
|
2032
|
-
|
2033
|
-
|
1976
|
+
def tactic_par_and_then(tactic1, tactic2) #=> :tactic_pointer
|
1977
|
+
VeryLowLevel.Z3_tactic_par_and_then(_ctx_pointer, tactic1._tactic, tactic2._tactic)
|
1978
|
+
end
|
2034
1979
|
|
2035
|
-
|
2036
|
-
|
2037
|
-
|
1980
|
+
def tactic_repeat(tactic, num) #=> :tactic_pointer
|
1981
|
+
VeryLowLevel.Z3_tactic_repeat(_ctx_pointer, tactic._tactic, num)
|
1982
|
+
end
|
2038
1983
|
|
2039
|
-
|
2040
|
-
|
2041
|
-
|
1984
|
+
def tactic_skip #=> :tactic_pointer
|
1985
|
+
VeryLowLevel.Z3_tactic_skip(_ctx_pointer)
|
1986
|
+
end
|
2042
1987
|
|
2043
|
-
|
2044
|
-
|
2045
|
-
|
1988
|
+
def tactic_try_for(tactic, num) #=> :tactic_pointer
|
1989
|
+
VeryLowLevel.Z3_tactic_try_for(_ctx_pointer, tactic._tactic, num)
|
1990
|
+
end
|
2046
1991
|
|
2047
|
-
|
2048
|
-
|
2049
|
-
|
1992
|
+
def tactic_using_params(tactic, params) #=> :tactic_pointer
|
1993
|
+
VeryLowLevel.Z3_tactic_using_params(_ctx_pointer, tactic._tactic, params._params)
|
1994
|
+
end
|
2050
1995
|
|
2051
|
-
|
2052
|
-
|
2053
|
-
|
1996
|
+
def tactic_when(probe, tactic) #=> :tactic_pointer
|
1997
|
+
VeryLowLevel.Z3_tactic_when(_ctx_pointer, probe._probe, tactic._tactic)
|
1998
|
+
end
|
2054
1999
|
|
2055
|
-
|
2056
|
-
|
2057
|
-
|
2000
|
+
def toggle_warning_messages(bool) #=> :void
|
2001
|
+
VeryLowLevel.Z3_toggle_warning_messages(bool)
|
2002
|
+
end
|
2058
2003
|
|
2059
|
-
|
2060
|
-
|
2061
|
-
|
2004
|
+
def translate(ast, context) #=> :ast_pointer
|
2005
|
+
VeryLowLevel.Z3_translate(_ctx_pointer, ast._ast, context._context)
|
2006
|
+
end
|
2062
2007
|
|
2063
|
-
|
2064
|
-
|
2008
|
+
def update_param_value(str1, str2) #=> :void
|
2009
|
+
VeryLowLevel.Z3_update_param_value(_ctx_pointer, str1, str2)
|
2010
|
+
end
|
2065
2011
|
end
|
2066
2012
|
end
|
2067
2013
|
end
|