Z3
Native.cs
Go to the documentation of this file.
1 // Automatically generated file
2 using System;
3 using System.Collections.Generic;
4 using System.Text;
5 using System.Runtime.InteropServices;
6 
7 #pragma warning disable 1591
8 
9 namespace Microsoft.Z3
10 {
11  using Z3_config = System.IntPtr;
12  using Z3_context = System.IntPtr;
13  using Z3_ast = System.IntPtr;
14  using Z3_app = System.IntPtr;
15  using Z3_sort = System.IntPtr;
16  using Z3_func_decl = System.IntPtr;
17  using Z3_pattern = System.IntPtr;
18  using Z3_model = System.IntPtr;
19  using Z3_literals = System.IntPtr;
20  using Z3_constructor = System.IntPtr;
21  using Z3_constructor_list = System.IntPtr;
22  using Z3_theory = System.IntPtr;
23  using Z3_theory_data = System.IntPtr;
24  using Z3_solver = System.IntPtr;
25  using Z3_goal = System.IntPtr;
26  using Z3_tactic = System.IntPtr;
27  using Z3_params = System.IntPtr;
28  using Z3_probe = System.IntPtr;
29  using Z3_stats = System.IntPtr;
30  using Z3_ast_vector = System.IntPtr;
31  using Z3_ast_map = System.IntPtr;
32  using Z3_apply_result = System.IntPtr;
33  using Z3_func_interp = System.IntPtr;
34  using Z3_func_entry = System.IntPtr;
35  using Z3_fixedpoint = System.IntPtr;
36  using Z3_param_descrs = System.IntPtr;
37  using Z3_rcf_num = System.IntPtr;
38 
39  public class Native
40  {
41 
42  [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
43  public delegate void Z3_error_handler(Z3_context c, Z3_error_code e);
44 
45  public unsafe class LIB
46  {
47  const string Z3_DLL_NAME = "libz3.dll";
48 
49  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
50  public extern static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1);
51 
52  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
53  public extern static void Z3_global_param_set(string a0, string a1);
54 
55  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
56  public extern static void Z3_global_param_reset_all();
57 
58  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
59  public extern static int Z3_global_param_get(string a0, out IntPtr a1);
60 
61  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
62  public extern static Z3_config Z3_mk_config();
63 
64  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
65  public extern static void Z3_del_config(Z3_config a0);
66 
67  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
68  public extern static void Z3_set_param_value(Z3_config a0, string a1, string a2);
69 
70  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
71  public extern static Z3_context Z3_mk_context(Z3_config a0);
72 
73  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
74  public extern static Z3_context Z3_mk_context_rc(Z3_config a0);
75 
76  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
77  public extern static void Z3_del_context(Z3_context a0);
78 
79  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
80  public extern static void Z3_inc_ref(Z3_context a0, Z3_ast a1);
81 
82  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
83  public extern static void Z3_dec_ref(Z3_context a0, Z3_ast a1);
84 
85  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
86  public extern static void Z3_update_param_value(Z3_context a0, string a1, string a2);
87 
88  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
89  public extern static void Z3_interrupt(Z3_context a0);
90 
91  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
92  public extern static Z3_params Z3_mk_params(Z3_context a0);
93 
94  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
95  public extern static void Z3_params_inc_ref(Z3_context a0, Z3_params a1);
96 
97  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
98  public extern static void Z3_params_dec_ref(Z3_context a0, Z3_params a1);
99 
100  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
101  public extern static void Z3_params_set_bool(Z3_context a0, Z3_params a1, IntPtr a2, int a3);
102 
103  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
104  public extern static void Z3_params_set_uint(Z3_context a0, Z3_params a1, IntPtr a2, uint a3);
105 
106  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
107  public extern static void Z3_params_set_double(Z3_context a0, Z3_params a1, IntPtr a2, double a3);
108 
109  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
110  public extern static void Z3_params_set_symbol(Z3_context a0, Z3_params a1, IntPtr a2, IntPtr a3);
111 
112  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
113  public extern static IntPtr Z3_params_to_string(Z3_context a0, Z3_params a1);
114 
115  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
116  public extern static void Z3_params_validate(Z3_context a0, Z3_params a1, Z3_param_descrs a2);
117 
118  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
119  public extern static void Z3_param_descrs_inc_ref(Z3_context a0, Z3_param_descrs a1);
120 
121  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
122  public extern static void Z3_param_descrs_dec_ref(Z3_context a0, Z3_param_descrs a1);
123 
124  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
125  public extern static uint Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, IntPtr a2);
126 
127  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
128  public extern static uint Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1);
129 
130  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
131  public extern static IntPtr Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, uint a2);
132 
133  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
134  public extern static IntPtr Z3_param_descrs_to_string(Z3_context a0, Z3_param_descrs a1);
135 
136  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
137  public extern static IntPtr Z3_mk_int_symbol(Z3_context a0, int a1);
138 
139  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
140  public extern static IntPtr Z3_mk_string_symbol(Z3_context a0, string a1);
141 
142  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
143  public extern static Z3_sort Z3_mk_uninterpreted_sort(Z3_context a0, IntPtr a1);
144 
145  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
146  public extern static Z3_sort Z3_mk_bool_sort(Z3_context a0);
147 
148  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
149  public extern static Z3_sort Z3_mk_int_sort(Z3_context a0);
150 
151  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
152  public extern static Z3_sort Z3_mk_real_sort(Z3_context a0);
153 
154  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
155  public extern static Z3_sort Z3_mk_bv_sort(Z3_context a0, uint a1);
156 
157  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
158  public extern static Z3_sort Z3_mk_finite_domain_sort(Z3_context a0, IntPtr a1, UInt64 a2);
159 
160  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
161  public extern static Z3_sort Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2);
162 
163  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
164  public extern static Z3_sort Z3_mk_tuple_sort(Z3_context a0, IntPtr a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, [In, Out] ref Z3_func_decl a5, [Out] Z3_func_decl[] a6);
165 
166  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
167  public extern static Z3_sort Z3_mk_enumeration_sort(Z3_context a0, IntPtr a1, uint a2, [In] IntPtr[] a3, [Out] Z3_func_decl[] a4, [Out] Z3_func_decl[] a5);
168 
169  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
170  public extern static Z3_sort Z3_mk_list_sort(Z3_context a0, IntPtr a1, Z3_sort a2, [In, Out] ref Z3_func_decl a3, [In, Out] ref Z3_func_decl a4, [In, Out] ref Z3_func_decl a5, [In, Out] ref Z3_func_decl a6, [In, Out] ref Z3_func_decl a7, [In, Out] ref Z3_func_decl a8);
171 
172  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
173  public extern static Z3_constructor Z3_mk_constructor(Z3_context a0, IntPtr a1, IntPtr a2, uint a3, [In] IntPtr[] a4, [In] Z3_sort[] a5, [In] uint[] a6);
174 
175  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
176  public extern static void Z3_del_constructor(Z3_context a0, Z3_constructor a1);
177 
178  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
179  public extern static Z3_sort Z3_mk_datatype(Z3_context a0, IntPtr a1, uint a2, [In, Out] Z3_constructor[] a3);
180 
181  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
182  public extern static Z3_constructor_list Z3_mk_constructor_list(Z3_context a0, uint a1, [In] Z3_constructor[] a2);
183 
184  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
185  public extern static void Z3_del_constructor_list(Z3_context a0, Z3_constructor_list a1);
186 
187  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
188  public extern static void Z3_mk_datatypes(Z3_context a0, uint a1, [In] IntPtr[] a2, [Out] Z3_sort[] a3, [In, Out] Z3_constructor_list[] a4);
189 
190  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
191  public extern static void Z3_query_constructor(Z3_context a0, Z3_constructor a1, uint a2, [In, Out] ref Z3_func_decl a3, [In, Out] ref Z3_func_decl a4, [Out] Z3_func_decl[] a5);
192 
193  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
194  public extern static Z3_func_decl Z3_mk_func_decl(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4);
195 
196  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
197  public extern static Z3_ast Z3_mk_app(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3);
198 
199  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
200  public extern static Z3_ast Z3_mk_const(Z3_context a0, IntPtr a1, Z3_sort a2);
201 
202  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
203  public extern static Z3_func_decl Z3_mk_fresh_func_decl(Z3_context a0, string a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4);
204 
205  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
206  public extern static Z3_ast Z3_mk_fresh_const(Z3_context a0, string a1, Z3_sort a2);
207 
208  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
209  public extern static Z3_ast Z3_mk_true(Z3_context a0);
210 
211  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
212  public extern static Z3_ast Z3_mk_false(Z3_context a0);
213 
214  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
215  public extern static Z3_ast Z3_mk_eq(Z3_context a0, Z3_ast a1, Z3_ast a2);
216 
217  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
218  public extern static Z3_ast Z3_mk_distinct(Z3_context a0, uint a1, [In] Z3_ast[] a2);
219 
220  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
221  public extern static Z3_ast Z3_mk_not(Z3_context a0, Z3_ast a1);
222 
223  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
224  public extern static Z3_ast Z3_mk_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3);
225 
226  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
227  public extern static Z3_ast Z3_mk_iff(Z3_context a0, Z3_ast a1, Z3_ast a2);
228 
229  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
230  public extern static Z3_ast Z3_mk_implies(Z3_context a0, Z3_ast a1, Z3_ast a2);
231 
232  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
233  public extern static Z3_ast Z3_mk_xor(Z3_context a0, Z3_ast a1, Z3_ast a2);
234 
235  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
236  public extern static Z3_ast Z3_mk_and(Z3_context a0, uint a1, [In] Z3_ast[] a2);
237 
238  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
239  public extern static Z3_ast Z3_mk_or(Z3_context a0, uint a1, [In] Z3_ast[] a2);
240 
241  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
242  public extern static Z3_ast Z3_mk_add(Z3_context a0, uint a1, [In] Z3_ast[] a2);
243 
244  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
245  public extern static Z3_ast Z3_mk_mul(Z3_context a0, uint a1, [In] Z3_ast[] a2);
246 
247  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
248  public extern static Z3_ast Z3_mk_sub(Z3_context a0, uint a1, [In] Z3_ast[] a2);
249 
250  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
251  public extern static Z3_ast Z3_mk_unary_minus(Z3_context a0, Z3_ast a1);
252 
253  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
254  public extern static Z3_ast Z3_mk_div(Z3_context a0, Z3_ast a1, Z3_ast a2);
255 
256  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
257  public extern static Z3_ast Z3_mk_mod(Z3_context a0, Z3_ast a1, Z3_ast a2);
258 
259  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
260  public extern static Z3_ast Z3_mk_rem(Z3_context a0, Z3_ast a1, Z3_ast a2);
261 
262  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
263  public extern static Z3_ast Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2);
264 
265  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
266  public extern static Z3_ast Z3_mk_lt(Z3_context a0, Z3_ast a1, Z3_ast a2);
267 
268  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
269  public extern static Z3_ast Z3_mk_le(Z3_context a0, Z3_ast a1, Z3_ast a2);
270 
271  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
272  public extern static Z3_ast Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2);
273 
274  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
275  public extern static Z3_ast Z3_mk_ge(Z3_context a0, Z3_ast a1, Z3_ast a2);
276 
277  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
278  public extern static Z3_ast Z3_mk_int2real(Z3_context a0, Z3_ast a1);
279 
280  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
281  public extern static Z3_ast Z3_mk_real2int(Z3_context a0, Z3_ast a1);
282 
283  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
284  public extern static Z3_ast Z3_mk_is_int(Z3_context a0, Z3_ast a1);
285 
286  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
287  public extern static Z3_ast Z3_mk_bvnot(Z3_context a0, Z3_ast a1);
288 
289  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
290  public extern static Z3_ast Z3_mk_bvredand(Z3_context a0, Z3_ast a1);
291 
292  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
293  public extern static Z3_ast Z3_mk_bvredor(Z3_context a0, Z3_ast a1);
294 
295  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
296  public extern static Z3_ast Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2);
297 
298  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
299  public extern static Z3_ast Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2);
300 
301  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
302  public extern static Z3_ast Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2);
303 
304  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
305  public extern static Z3_ast Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2);
306 
307  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
308  public extern static Z3_ast Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2);
309 
310  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
311  public extern static Z3_ast Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2);
312 
313  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
314  public extern static Z3_ast Z3_mk_bvneg(Z3_context a0, Z3_ast a1);
315 
316  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
317  public extern static Z3_ast Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2);
318 
319  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
320  public extern static Z3_ast Z3_mk_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2);
321 
322  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
323  public extern static Z3_ast Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2);
324 
325  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
326  public extern static Z3_ast Z3_mk_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2);
327 
328  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
329  public extern static Z3_ast Z3_mk_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2);
330 
331  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
332  public extern static Z3_ast Z3_mk_bvurem(Z3_context a0, Z3_ast a1, Z3_ast a2);
333 
334  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
335  public extern static Z3_ast Z3_mk_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2);
336 
337  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
338  public extern static Z3_ast Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2);
339 
340  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
341  public extern static Z3_ast Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2);
342 
343  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
344  public extern static Z3_ast Z3_mk_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2);
345 
346  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
347  public extern static Z3_ast Z3_mk_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2);
348 
349  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
350  public extern static Z3_ast Z3_mk_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2);
351 
352  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
353  public extern static Z3_ast Z3_mk_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2);
354 
355  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
356  public extern static Z3_ast Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2);
357 
358  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
359  public extern static Z3_ast Z3_mk_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2);
360 
361  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
362  public extern static Z3_ast Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2);
363 
364  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
365  public extern static Z3_ast Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2);
366 
367  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
368  public extern static Z3_ast Z3_mk_extract(Z3_context a0, uint a1, uint a2, Z3_ast a3);
369 
370  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
371  public extern static Z3_ast Z3_mk_sign_ext(Z3_context a0, uint a1, Z3_ast a2);
372 
373  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
374  public extern static Z3_ast Z3_mk_zero_ext(Z3_context a0, uint a1, Z3_ast a2);
375 
376  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
377  public extern static Z3_ast Z3_mk_repeat(Z3_context a0, uint a1, Z3_ast a2);
378 
379  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
380  public extern static Z3_ast Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2);
381 
382  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
383  public extern static Z3_ast Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2);
384 
385  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
386  public extern static Z3_ast Z3_mk_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2);
387 
388  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
389  public extern static Z3_ast Z3_mk_rotate_left(Z3_context a0, uint a1, Z3_ast a2);
390 
391  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
392  public extern static Z3_ast Z3_mk_rotate_right(Z3_context a0, uint a1, Z3_ast a2);
393 
394  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
395  public extern static Z3_ast Z3_mk_ext_rotate_left(Z3_context a0, Z3_ast a1, Z3_ast a2);
396 
397  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
398  public extern static Z3_ast Z3_mk_ext_rotate_right(Z3_context a0, Z3_ast a1, Z3_ast a2);
399 
400  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
401  public extern static Z3_ast Z3_mk_int2bv(Z3_context a0, uint a1, Z3_ast a2);
402 
403  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
404  public extern static Z3_ast Z3_mk_bv2int(Z3_context a0, Z3_ast a1, int a2);
405 
406  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
407  public extern static Z3_ast Z3_mk_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3);
408 
409  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
410  public extern static Z3_ast Z3_mk_bvadd_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2);
411 
412  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
413  public extern static Z3_ast Z3_mk_bvsub_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2);
414 
415  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
416  public extern static Z3_ast Z3_mk_bvsub_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3);
417 
418  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
419  public extern static Z3_ast Z3_mk_bvsdiv_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2);
420 
421  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
422  public extern static Z3_ast Z3_mk_bvneg_no_overflow(Z3_context a0, Z3_ast a1);
423 
424  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
425  public extern static Z3_ast Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3);
426 
427  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
428  public extern static Z3_ast Z3_mk_bvmul_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2);
429 
430  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
431  public extern static Z3_ast Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2);
432 
433  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
434  public extern static Z3_ast Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3);
435 
436  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
437  public extern static Z3_ast Z3_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2);
438 
439  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
440  public extern static Z3_ast Z3_mk_map(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3);
441 
442  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
443  public extern static Z3_ast Z3_mk_array_default(Z3_context a0, Z3_ast a1);
444 
445  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
446  public extern static Z3_sort Z3_mk_set_sort(Z3_context a0, Z3_sort a1);
447 
448  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
449  public extern static Z3_ast Z3_mk_empty_set(Z3_context a0, Z3_sort a1);
450 
451  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
452  public extern static Z3_ast Z3_mk_full_set(Z3_context a0, Z3_sort a1);
453 
454  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
455  public extern static Z3_ast Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2);
456 
457  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
458  public extern static Z3_ast Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2);
459 
460  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
461  public extern static Z3_ast Z3_mk_set_union(Z3_context a0, uint a1, [In] Z3_ast[] a2);
462 
463  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
464  public extern static Z3_ast Z3_mk_set_intersect(Z3_context a0, uint a1, [In] Z3_ast[] a2);
465 
466  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
467  public extern static Z3_ast Z3_mk_set_difference(Z3_context a0, Z3_ast a1, Z3_ast a2);
468 
469  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
470  public extern static Z3_ast Z3_mk_set_complement(Z3_context a0, Z3_ast a1);
471 
472  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
473  public extern static Z3_ast Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2);
474 
475  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
476  public extern static Z3_ast Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2);
477 
478  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
479  public extern static Z3_ast Z3_mk_numeral(Z3_context a0, string a1, Z3_sort a2);
480 
481  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
482  public extern static Z3_ast Z3_mk_real(Z3_context a0, int a1, int a2);
483 
484  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
485  public extern static Z3_ast Z3_mk_int(Z3_context a0, int a1, Z3_sort a2);
486 
487  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
488  public extern static Z3_ast Z3_mk_unsigned_int(Z3_context a0, uint a1, Z3_sort a2);
489 
490  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
491  public extern static Z3_ast Z3_mk_int64(Z3_context a0, Int64 a1, Z3_sort a2);
492 
493  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
494  public extern static Z3_ast Z3_mk_unsigned_int64(Z3_context a0, UInt64 a1, Z3_sort a2);
495 
496  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
497  public extern static Z3_pattern Z3_mk_pattern(Z3_context a0, uint a1, [In] Z3_ast[] a2);
498 
499  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
500  public extern static Z3_ast Z3_mk_bound(Z3_context a0, uint a1, Z3_sort a2);
501 
502  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
503  public extern static Z3_ast Z3_mk_forall(Z3_context a0, uint a1, uint a2, [In] Z3_pattern[] a3, uint a4, [In] Z3_sort[] a5, [In] IntPtr[] a6, Z3_ast a7);
504 
505  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
506  public extern static Z3_ast Z3_mk_exists(Z3_context a0, uint a1, uint a2, [In] Z3_pattern[] a3, uint a4, [In] Z3_sort[] a5, [In] IntPtr[] a6, Z3_ast a7);
507 
508  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
509  public extern static Z3_ast Z3_mk_quantifier(Z3_context a0, int a1, uint a2, uint a3, [In] Z3_pattern[] a4, uint a5, [In] Z3_sort[] a6, [In] IntPtr[] a7, Z3_ast a8);
510 
511  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
512  public extern static Z3_ast Z3_mk_quantifier_ex(Z3_context a0, int a1, uint a2, IntPtr a3, IntPtr a4, uint a5, [In] Z3_pattern[] a6, uint a7, [In] Z3_ast[] a8, uint a9, [In] Z3_sort[] a10, [In] IntPtr[] a11, Z3_ast a12);
513 
514  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
515  public extern static Z3_ast Z3_mk_forall_const(Z3_context a0, uint a1, uint a2, [In] Z3_app[] a3, uint a4, [In] Z3_pattern[] a5, Z3_ast a6);
516 
517  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
518  public extern static Z3_ast Z3_mk_exists_const(Z3_context a0, uint a1, uint a2, [In] Z3_app[] a3, uint a4, [In] Z3_pattern[] a5, Z3_ast a6);
519 
520  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
521  public extern static Z3_ast Z3_mk_quantifier_const(Z3_context a0, int a1, uint a2, uint a3, [In] Z3_app[] a4, uint a5, [In] Z3_pattern[] a6, Z3_ast a7);
522 
523  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
524  public extern static Z3_ast Z3_mk_quantifier_const_ex(Z3_context a0, int a1, uint a2, IntPtr a3, IntPtr a4, uint a5, [In] Z3_app[] a6, uint a7, [In] Z3_pattern[] a8, uint a9, [In] Z3_ast[] a10, Z3_ast a11);
525 
526  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
527  public extern static uint Z3_get_symbol_kind(Z3_context a0, IntPtr a1);
528 
529  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
530  public extern static int Z3_get_symbol_int(Z3_context a0, IntPtr a1);
531 
532  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
533  public extern static IntPtr Z3_get_symbol_string(Z3_context a0, IntPtr a1);
534 
535  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
536  public extern static IntPtr Z3_get_sort_name(Z3_context a0, Z3_sort a1);
537 
538  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
539  public extern static uint Z3_get_sort_id(Z3_context a0, Z3_sort a1);
540 
541  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
542  public extern static Z3_ast Z3_sort_to_ast(Z3_context a0, Z3_sort a1);
543 
544  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
545  public extern static int Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2);
546 
547  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
548  public extern static uint Z3_get_sort_kind(Z3_context a0, Z3_sort a1);
549 
550  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
551  public extern static uint Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1);
552 
553  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
554  public extern static int Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, [In, Out] ref UInt64 a2);
555 
556  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
557  public extern static Z3_sort Z3_get_array_sort_domain(Z3_context a0, Z3_sort a1);
558 
559  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
560  public extern static Z3_sort Z3_get_array_sort_range(Z3_context a0, Z3_sort a1);
561 
562  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
563  public extern static Z3_func_decl Z3_get_tuple_sort_mk_decl(Z3_context a0, Z3_sort a1);
564 
565  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
566  public extern static uint Z3_get_tuple_sort_num_fields(Z3_context a0, Z3_sort a1);
567 
568  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
569  public extern static Z3_func_decl Z3_get_tuple_sort_field_decl(Z3_context a0, Z3_sort a1, uint a2);
570 
571  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
572  public extern static uint Z3_get_datatype_sort_num_constructors(Z3_context a0, Z3_sort a1);
573 
574  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
575  public extern static Z3_func_decl Z3_get_datatype_sort_constructor(Z3_context a0, Z3_sort a1, uint a2);
576 
577  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
578  public extern static Z3_func_decl Z3_get_datatype_sort_recognizer(Z3_context a0, Z3_sort a1, uint a2);
579 
580  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
581  public extern static Z3_func_decl Z3_get_datatype_sort_constructor_accessor(Z3_context a0, Z3_sort a1, uint a2, uint a3);
582 
583  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
584  public extern static uint Z3_get_relation_arity(Z3_context a0, Z3_sort a1);
585 
586  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
587  public extern static Z3_sort Z3_get_relation_column(Z3_context a0, Z3_sort a1, uint a2);
588 
589  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
590  public extern static Z3_ast Z3_func_decl_to_ast(Z3_context a0, Z3_func_decl a1);
591 
592  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
593  public extern static int Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2);
594 
595  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
596  public extern static uint Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1);
597 
598  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
599  public extern static IntPtr Z3_get_decl_name(Z3_context a0, Z3_func_decl a1);
600 
601  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
602  public extern static uint Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1);
603 
604  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
605  public extern static uint Z3_get_domain_size(Z3_context a0, Z3_func_decl a1);
606 
607  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
608  public extern static uint Z3_get_arity(Z3_context a0, Z3_func_decl a1);
609 
610  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
611  public extern static Z3_sort Z3_get_domain(Z3_context a0, Z3_func_decl a1, uint a2);
612 
613  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
614  public extern static Z3_sort Z3_get_range(Z3_context a0, Z3_func_decl a1);
615 
616  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
617  public extern static uint Z3_get_decl_num_parameters(Z3_context a0, Z3_func_decl a1);
618 
619  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
620  public extern static uint Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, uint a2);
621 
622  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
623  public extern static int Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, uint a2);
624 
625  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
626  public extern static double Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, uint a2);
627 
628  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
629  public extern static IntPtr Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, uint a2);
630 
631  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
632  public extern static Z3_sort Z3_get_decl_sort_parameter(Z3_context a0, Z3_func_decl a1, uint a2);
633 
634  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
635  public extern static Z3_ast Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, uint a2);
636 
637  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
638  public extern static Z3_func_decl Z3_get_decl_func_decl_parameter(Z3_context a0, Z3_func_decl a1, uint a2);
639 
640  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
641  public extern static IntPtr Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, uint a2);
642 
643  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
644  public extern static Z3_ast Z3_app_to_ast(Z3_context a0, Z3_app a1);
645 
646  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
647  public extern static Z3_func_decl Z3_get_app_decl(Z3_context a0, Z3_app a1);
648 
649  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
650  public extern static uint Z3_get_app_num_args(Z3_context a0, Z3_app a1);
651 
652  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
653  public extern static Z3_ast Z3_get_app_arg(Z3_context a0, Z3_app a1, uint a2);
654 
655  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
656  public extern static int Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2);
657 
658  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
659  public extern static uint Z3_get_ast_id(Z3_context a0, Z3_ast a1);
660 
661  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
662  public extern static uint Z3_get_ast_hash(Z3_context a0, Z3_ast a1);
663 
664  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
665  public extern static Z3_sort Z3_get_sort(Z3_context a0, Z3_ast a1);
666 
667  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
668  public extern static int Z3_is_well_sorted(Z3_context a0, Z3_ast a1);
669 
670  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
671  public extern static uint Z3_get_bool_value(Z3_context a0, Z3_ast a1);
672 
673  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
674  public extern static uint Z3_get_ast_kind(Z3_context a0, Z3_ast a1);
675 
676  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
677  public extern static int Z3_is_app(Z3_context a0, Z3_ast a1);
678 
679  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
680  public extern static int Z3_is_numeral_ast(Z3_context a0, Z3_ast a1);
681 
682  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
683  public extern static int Z3_is_algebraic_number(Z3_context a0, Z3_ast a1);
684 
685  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
686  public extern static Z3_app Z3_to_app(Z3_context a0, Z3_ast a1);
687 
688  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
689  public extern static Z3_func_decl Z3_to_func_decl(Z3_context a0, Z3_ast a1);
690 
691  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
692  public extern static IntPtr Z3_get_numeral_string(Z3_context a0, Z3_ast a1);
693 
694  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
695  public extern static IntPtr Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, uint a2);
696 
697  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
698  public extern static Z3_ast Z3_get_numerator(Z3_context a0, Z3_ast a1);
699 
700  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
701  public extern static Z3_ast Z3_get_denominator(Z3_context a0, Z3_ast a1);
702 
703  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
704  public extern static int Z3_get_numeral_small(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3);
705 
706  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
707  public extern static int Z3_get_numeral_int(Z3_context a0, Z3_ast a1, [In, Out] ref int a2);
708 
709  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
710  public extern static int Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, [In, Out] ref uint a2);
711 
712  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
713  public extern static int Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2);
714 
715  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
716  public extern static int Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2);
717 
718  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
719  public extern static int Z3_get_numeral_rational_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3);
720 
721  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
722  public extern static Z3_ast Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, uint a2);
723 
724  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
725  public extern static Z3_ast Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, uint a2);
726 
727  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
728  public extern static Z3_ast Z3_pattern_to_ast(Z3_context a0, Z3_pattern a1);
729 
730  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
731  public extern static uint Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1);
732 
733  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
734  public extern static Z3_ast Z3_get_pattern(Z3_context a0, Z3_pattern a1, uint a2);
735 
736  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
737  public extern static uint Z3_get_index_value(Z3_context a0, Z3_ast a1);
738 
739  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
740  public extern static int Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1);
741 
742  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
743  public extern static uint Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1);
744 
745  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
746  public extern static uint Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1);
747 
748  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
749  public extern static Z3_pattern Z3_get_quantifier_pattern_ast(Z3_context a0, Z3_ast a1, uint a2);
750 
751  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
752  public extern static uint Z3_get_quantifier_num_no_patterns(Z3_context a0, Z3_ast a1);
753 
754  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
755  public extern static Z3_ast Z3_get_quantifier_no_pattern_ast(Z3_context a0, Z3_ast a1, uint a2);
756 
757  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
758  public extern static uint Z3_get_quantifier_num_bound(Z3_context a0, Z3_ast a1);
759 
760  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
761  public extern static IntPtr Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, uint a2);
762 
763  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
764  public extern static Z3_sort Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, uint a2);
765 
766  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
767  public extern static Z3_ast Z3_get_quantifier_body(Z3_context a0, Z3_ast a1);
768 
769  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
770  public extern static Z3_ast Z3_simplify(Z3_context a0, Z3_ast a1);
771 
772  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
773  public extern static Z3_ast Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2);
774 
775  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
776  public extern static IntPtr Z3_simplify_get_help(Z3_context a0);
777 
778  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
780 
781  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
782  public extern static Z3_ast Z3_update_term(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3);
783 
784  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
785  public extern static Z3_ast Z3_substitute(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3, [In] Z3_ast[] a4);
786 
787  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
788  public extern static Z3_ast Z3_substitute_vars(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3);
789 
790  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
791  public extern static Z3_ast Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2);
792 
793  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
794  public extern static void Z3_model_inc_ref(Z3_context a0, Z3_model a1);
795 
796  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
797  public extern static void Z3_model_dec_ref(Z3_context a0, Z3_model a1);
798 
799  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
800  public extern static int Z3_model_eval(Z3_context a0, Z3_model a1, Z3_ast a2, int a3, [In, Out] ref Z3_ast a4);
801 
802  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
803  public extern static Z3_ast Z3_model_get_const_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2);
804 
805  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
806  public extern static int Z3_model_has_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2);
807 
808  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
810 
811  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
812  public extern static uint Z3_model_get_num_consts(Z3_context a0, Z3_model a1);
813 
814  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
815  public extern static Z3_func_decl Z3_model_get_const_decl(Z3_context a0, Z3_model a1, uint a2);
816 
817  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
818  public extern static uint Z3_model_get_num_funcs(Z3_context a0, Z3_model a1);
819 
820  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
821  public extern static Z3_func_decl Z3_model_get_func_decl(Z3_context a0, Z3_model a1, uint a2);
822 
823  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
824  public extern static uint Z3_model_get_num_sorts(Z3_context a0, Z3_model a1);
825 
826  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
827  public extern static Z3_sort Z3_model_get_sort(Z3_context a0, Z3_model a1, uint a2);
828 
829  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
830  public extern static Z3_ast_vector Z3_model_get_sort_universe(Z3_context a0, Z3_model a1, Z3_sort a2);
831 
832  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
833  public extern static int Z3_is_as_array(Z3_context a0, Z3_ast a1);
834 
835  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
836  public extern static Z3_func_decl Z3_get_as_array_func_decl(Z3_context a0, Z3_ast a1);
837 
838  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
839  public extern static void Z3_func_interp_inc_ref(Z3_context a0, Z3_func_interp a1);
840 
841  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
842  public extern static void Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1);
843 
844  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
845  public extern static uint Z3_func_interp_get_num_entries(Z3_context a0, Z3_func_interp a1);
846 
847  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
848  public extern static Z3_func_entry Z3_func_interp_get_entry(Z3_context a0, Z3_func_interp a1, uint a2);
849 
850  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
851  public extern static Z3_ast Z3_func_interp_get_else(Z3_context a0, Z3_func_interp a1);
852 
853  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
854  public extern static uint Z3_func_interp_get_arity(Z3_context a0, Z3_func_interp a1);
855 
856  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
857  public extern static void Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1);
858 
859  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
860  public extern static void Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1);
861 
862  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
863  public extern static Z3_ast Z3_func_entry_get_value(Z3_context a0, Z3_func_entry a1);
864 
865  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
866  public extern static uint Z3_func_entry_get_num_args(Z3_context a0, Z3_func_entry a1);
867 
868  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
869  public extern static Z3_ast Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, uint a2);
870 
871  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
872  public extern static int Z3_open_log(string a0);
873 
874  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
875  public extern static void Z3_append_log(string a0);
876 
877  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
878  public extern static void Z3_close_log();
879 
880  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
881  public extern static void Z3_toggle_warning_messages(int a0);
882 
883  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
884  public extern static void Z3_set_ast_print_mode(Z3_context a0, uint a1);
885 
886  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
887  public extern static IntPtr Z3_ast_to_string(Z3_context a0, Z3_ast a1);
888 
889  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
890  public extern static IntPtr Z3_pattern_to_string(Z3_context a0, Z3_pattern a1);
891 
892  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
893  public extern static IntPtr Z3_sort_to_string(Z3_context a0, Z3_sort a1);
894 
895  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
896  public extern static IntPtr Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1);
897 
898  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
899  public extern static IntPtr Z3_model_to_string(Z3_context a0, Z3_model a1);
900 
901  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
902  public extern static IntPtr Z3_benchmark_to_smtlib_string(Z3_context a0, string a1, string a2, string a3, string a4, uint a5, [In] Z3_ast[] a6, Z3_ast a7);
903 
904  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
905  public extern static Z3_ast Z3_parse_smtlib2_string(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7);
906 
907  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
908  public extern static Z3_ast Z3_parse_smtlib2_file(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7);
909 
910  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
911  public extern static void Z3_parse_smtlib_string(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7);
912 
913  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
914  public extern static void Z3_parse_smtlib_file(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7);
915 
916  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
917  public extern static uint Z3_get_smtlib_num_formulas(Z3_context a0);
918 
919  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
920  public extern static Z3_ast Z3_get_smtlib_formula(Z3_context a0, uint a1);
921 
922  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
923  public extern static uint Z3_get_smtlib_num_assumptions(Z3_context a0);
924 
925  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
926  public extern static Z3_ast Z3_get_smtlib_assumption(Z3_context a0, uint a1);
927 
928  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
929  public extern static uint Z3_get_smtlib_num_decls(Z3_context a0);
930 
931  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
932  public extern static Z3_func_decl Z3_get_smtlib_decl(Z3_context a0, uint a1);
933 
934  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
935  public extern static uint Z3_get_smtlib_num_sorts(Z3_context a0);
936 
937  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
938  public extern static Z3_sort Z3_get_smtlib_sort(Z3_context a0, uint a1);
939 
940  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
941  public extern static IntPtr Z3_get_smtlib_error(Z3_context a0);
942 
943  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
944  public extern static uint Z3_get_error_code(Z3_context a0);
945 
946  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
947  public extern static void Z3_set_error(Z3_context a0, uint a1);
948 
949  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
950  public extern static IntPtr Z3_get_error_msg(uint a0);
951 
952  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
953  public extern static IntPtr Z3_get_error_msg_ex(Z3_context a0, uint a1);
954 
955  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
956  public extern static void Z3_get_version([In, Out] ref uint a0, [In, Out] ref uint a1, [In, Out] ref uint a2, [In, Out] ref uint a3);
957 
958  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
959  public extern static void Z3_enable_trace(string a0);
960 
961  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
962  public extern static void Z3_disable_trace(string a0);
963 
964  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
965  public extern static void Z3_reset_memory();
966 
967  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
968  public extern static Z3_fixedpoint Z3_mk_fixedpoint(Z3_context a0);
969 
970  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
971  public extern static void Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1);
972 
973  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
974  public extern static void Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1);
975 
976  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
977  public extern static void Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3);
978 
979  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
980  public extern static void Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] uint[] a4);
981 
982  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
983  public extern static void Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2);
984 
985  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
986  public extern static int Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2);
987 
988  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
989  public extern static int Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_func_decl[] a3);
990 
991  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
992  public extern static Z3_ast Z3_fixedpoint_get_answer(Z3_context a0, Z3_fixedpoint a1);
993 
994  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
995  public extern static IntPtr Z3_fixedpoint_get_reason_unknown(Z3_context a0, Z3_fixedpoint a1);
996 
997  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
998  public extern static void Z3_fixedpoint_update_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3);
999 
1000  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1001  public extern static uint Z3_fixedpoint_get_num_levels(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2);
1002 
1003  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1004  public extern static Z3_ast Z3_fixedpoint_get_cover_delta(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3);
1005 
1006  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1007  public extern static void Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4);
1008 
1009  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1010  public extern static Z3_stats Z3_fixedpoint_get_statistics(Z3_context a0, Z3_fixedpoint a1);
1011 
1012  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1013  public extern static void Z3_fixedpoint_register_relation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2);
1014 
1015  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1016  public extern static void Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] IntPtr[] a4);
1017 
1018  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1019  public extern static Z3_ast_vector Z3_fixedpoint_get_rules(Z3_context a0, Z3_fixedpoint a1);
1020 
1021  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1023 
1024  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1025  public extern static void Z3_fixedpoint_set_params(Z3_context a0, Z3_fixedpoint a1, Z3_params a2);
1026 
1027  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1028  public extern static IntPtr Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1);
1029 
1030  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1032 
1033  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1034  public extern static IntPtr Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3);
1035 
1036  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1037  public extern static Z3_ast_vector Z3_fixedpoint_from_string(Z3_context a0, Z3_fixedpoint a1, string a2);
1038 
1039  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1040  public extern static Z3_ast_vector Z3_fixedpoint_from_file(Z3_context a0, Z3_fixedpoint a1, string a2);
1041 
1042  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1043  public extern static void Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1);
1044 
1045  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1046  public extern static void Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1);
1047 
1048  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1049  public extern static Z3_ast_vector Z3_mk_ast_vector(Z3_context a0);
1050 
1051  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1052  public extern static void Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1);
1053 
1054  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1055  public extern static void Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1);
1056 
1057  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1058  public extern static uint Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1);
1059 
1060  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1061  public extern static Z3_ast Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, uint a2);
1062 
1063  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1064  public extern static void Z3_ast_vector_set(Z3_context a0, Z3_ast_vector a1, uint a2, Z3_ast a3);
1065 
1066  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1067  public extern static void Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, uint a2);
1068 
1069  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1070  public extern static void Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2);
1071 
1072  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1073  public extern static Z3_ast_vector Z3_ast_vector_translate(Z3_context a0, Z3_ast_vector a1, Z3_context a2);
1074 
1075  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1076  public extern static IntPtr Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1);
1077 
1078  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1079  public extern static Z3_ast_map Z3_mk_ast_map(Z3_context a0);
1080 
1081  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1082  public extern static void Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1);
1083 
1084  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1085  public extern static void Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1);
1086 
1087  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1088  public extern static int Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2);
1089 
1090  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1091  public extern static Z3_ast Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2);
1092 
1093  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1094  public extern static void Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3);
1095 
1096  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1097  public extern static void Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2);
1098 
1099  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1100  public extern static void Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1);
1101 
1102  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1103  public extern static uint Z3_ast_map_size(Z3_context a0, Z3_ast_map a1);
1104 
1105  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1106  public extern static Z3_ast_vector Z3_ast_map_keys(Z3_context a0, Z3_ast_map a1);
1107 
1108  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1109  public extern static IntPtr Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1);
1110 
1111  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1112  public extern static Z3_goal Z3_mk_goal(Z3_context a0, int a1, int a2, int a3);
1113 
1114  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1115  public extern static void Z3_goal_inc_ref(Z3_context a0, Z3_goal a1);
1116 
1117  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1118  public extern static void Z3_goal_dec_ref(Z3_context a0, Z3_goal a1);
1119 
1120  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1121  public extern static uint Z3_goal_precision(Z3_context a0, Z3_goal a1);
1122 
1123  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1124  public extern static void Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2);
1125 
1126  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1127  public extern static int Z3_goal_inconsistent(Z3_context a0, Z3_goal a1);
1128 
1129  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1130  public extern static uint Z3_goal_depth(Z3_context a0, Z3_goal a1);
1131 
1132  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1133  public extern static void Z3_goal_reset(Z3_context a0, Z3_goal a1);
1134 
1135  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1136  public extern static uint Z3_goal_size(Z3_context a0, Z3_goal a1);
1137 
1138  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1139  public extern static Z3_ast Z3_goal_formula(Z3_context a0, Z3_goal a1, uint a2);
1140 
1141  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1142  public extern static uint Z3_goal_num_exprs(Z3_context a0, Z3_goal a1);
1143 
1144  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1145  public extern static int Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1);
1146 
1147  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1148  public extern static int Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1);
1149 
1150  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1151  public extern static Z3_goal Z3_goal_translate(Z3_context a0, Z3_goal a1, Z3_context a2);
1152 
1153  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1154  public extern static IntPtr Z3_goal_to_string(Z3_context a0, Z3_goal a1);
1155 
1156  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1157  public extern static Z3_tactic Z3_mk_tactic(Z3_context a0, string a1);
1158 
1159  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1160  public extern static void Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1);
1161 
1162  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1163  public extern static void Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1);
1164 
1165  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1166  public extern static Z3_probe Z3_mk_probe(Z3_context a0, string a1);
1167 
1168  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1169  public extern static void Z3_probe_inc_ref(Z3_context a0, Z3_probe a1);
1170 
1171  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1172  public extern static void Z3_probe_dec_ref(Z3_context a0, Z3_probe a1);
1173 
1174  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1175  public extern static Z3_tactic Z3_tactic_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2);
1176 
1177  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1178  public extern static Z3_tactic Z3_tactic_or_else(Z3_context a0, Z3_tactic a1, Z3_tactic a2);
1179 
1180  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1181  public extern static Z3_tactic Z3_tactic_par_or(Z3_context a0, uint a1, [In] Z3_tactic[] a2);
1182 
1183  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1184  public extern static Z3_tactic Z3_tactic_par_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2);
1185 
1186  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1187  public extern static Z3_tactic Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, uint a2);
1188 
1189  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1190  public extern static Z3_tactic Z3_tactic_when(Z3_context a0, Z3_probe a1, Z3_tactic a2);
1191 
1192  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1193  public extern static Z3_tactic Z3_tactic_cond(Z3_context a0, Z3_probe a1, Z3_tactic a2, Z3_tactic a3);
1194 
1195  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1196  public extern static Z3_tactic Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, uint a2);
1197 
1198  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1199  public extern static Z3_tactic Z3_tactic_skip(Z3_context a0);
1200 
1201  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1202  public extern static Z3_tactic Z3_tactic_fail(Z3_context a0);
1203 
1204  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1205  public extern static Z3_tactic Z3_tactic_fail_if(Z3_context a0, Z3_probe a1);
1206 
1207  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1208  public extern static Z3_tactic Z3_tactic_fail_if_not_decided(Z3_context a0);
1209 
1210  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1211  public extern static Z3_tactic Z3_tactic_using_params(Z3_context a0, Z3_tactic a1, Z3_params a2);
1212 
1213  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1214  public extern static Z3_probe Z3_probe_const(Z3_context a0, double a1);
1215 
1216  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1217  public extern static Z3_probe Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2);
1218 
1219  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1220  public extern static Z3_probe Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2);
1221 
1222  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1223  public extern static Z3_probe Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2);
1224 
1225  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1226  public extern static Z3_probe Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2);
1227 
1228  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1229  public extern static Z3_probe Z3_probe_eq(Z3_context a0, Z3_probe a1, Z3_probe a2);
1230 
1231  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1232  public extern static Z3_probe Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2);
1233 
1234  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1235  public extern static Z3_probe Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2);
1236 
1237  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1238  public extern static Z3_probe Z3_probe_not(Z3_context a0, Z3_probe a1);
1239 
1240  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1241  public extern static uint Z3_get_num_tactics(Z3_context a0);
1242 
1243  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1244  public extern static IntPtr Z3_get_tactic_name(Z3_context a0, uint a1);
1245 
1246  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1247  public extern static uint Z3_get_num_probes(Z3_context a0);
1248 
1249  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1250  public extern static IntPtr Z3_get_probe_name(Z3_context a0, uint a1);
1251 
1252  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1253  public extern static IntPtr Z3_tactic_get_help(Z3_context a0, Z3_tactic a1);
1254 
1255  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1256  public extern static Z3_param_descrs Z3_tactic_get_param_descrs(Z3_context a0, Z3_tactic a1);
1257 
1258  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1259  public extern static IntPtr Z3_tactic_get_descr(Z3_context a0, string a1);
1260 
1261  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1262  public extern static IntPtr Z3_probe_get_descr(Z3_context a0, string a1);
1263 
1264  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1265  public extern static double Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2);
1266 
1267  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1268  public extern static Z3_apply_result Z3_tactic_apply(Z3_context a0, Z3_tactic a1, Z3_goal a2);
1269 
1270  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1271  public extern static Z3_apply_result Z3_tactic_apply_ex(Z3_context a0, Z3_tactic a1, Z3_goal a2, Z3_params a3);
1272 
1273  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1274  public extern static void Z3_apply_result_inc_ref(Z3_context a0, Z3_apply_result a1);
1275 
1276  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1277  public extern static void Z3_apply_result_dec_ref(Z3_context a0, Z3_apply_result a1);
1278 
1279  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1280  public extern static IntPtr Z3_apply_result_to_string(Z3_context a0, Z3_apply_result a1);
1281 
1282  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1283  public extern static uint Z3_apply_result_get_num_subgoals(Z3_context a0, Z3_apply_result a1);
1284 
1285  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1286  public extern static Z3_goal Z3_apply_result_get_subgoal(Z3_context a0, Z3_apply_result a1, uint a2);
1287 
1288  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1289  public extern static Z3_model Z3_apply_result_convert_model(Z3_context a0, Z3_apply_result a1, uint a2, Z3_model a3);
1290 
1291  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1292  public extern static Z3_solver Z3_mk_solver(Z3_context a0);
1293 
1294  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1295  public extern static Z3_solver Z3_mk_simple_solver(Z3_context a0);
1296 
1297  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1298  public extern static Z3_solver Z3_mk_solver_for_logic(Z3_context a0, IntPtr a1);
1299 
1300  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1301  public extern static Z3_solver Z3_mk_solver_from_tactic(Z3_context a0, Z3_tactic a1);
1302 
1303  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1304  public extern static IntPtr Z3_solver_get_help(Z3_context a0, Z3_solver a1);
1305 
1306  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1307  public extern static Z3_param_descrs Z3_solver_get_param_descrs(Z3_context a0, Z3_solver a1);
1308 
1309  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1310  public extern static void Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2);
1311 
1312  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1313  public extern static void Z3_solver_inc_ref(Z3_context a0, Z3_solver a1);
1314 
1315  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1316  public extern static void Z3_solver_dec_ref(Z3_context a0, Z3_solver a1);
1317 
1318  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1319  public extern static void Z3_solver_push(Z3_context a0, Z3_solver a1);
1320 
1321  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1322  public extern static void Z3_solver_pop(Z3_context a0, Z3_solver a1, uint a2);
1323 
1324  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1325  public extern static void Z3_solver_reset(Z3_context a0, Z3_solver a1);
1326 
1327  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1328  public extern static uint Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1);
1329 
1330  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1331  public extern static void Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2);
1332 
1333  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1334  public extern static void Z3_solver_assert_and_track(Z3_context a0, Z3_solver a1, Z3_ast a2, Z3_ast a3);
1335 
1336  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1337  public extern static Z3_ast_vector Z3_solver_get_assertions(Z3_context a0, Z3_solver a1);
1338 
1339  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1340  public extern static int Z3_solver_check(Z3_context a0, Z3_solver a1);
1341 
1342  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1343  public extern static int Z3_solver_check_assumptions(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3);
1344 
1345  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1346  public extern static Z3_model Z3_solver_get_model(Z3_context a0, Z3_solver a1);
1347 
1348  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1349  public extern static Z3_ast Z3_solver_get_proof(Z3_context a0, Z3_solver a1);
1350 
1351  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1352  public extern static Z3_ast_vector Z3_solver_get_unsat_core(Z3_context a0, Z3_solver a1);
1353 
1354  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1355  public extern static IntPtr Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1);
1356 
1357  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1358  public extern static Z3_stats Z3_solver_get_statistics(Z3_context a0, Z3_solver a1);
1359 
1360  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1361  public extern static IntPtr Z3_solver_to_string(Z3_context a0, Z3_solver a1);
1362 
1363  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1364  public extern static IntPtr Z3_stats_to_string(Z3_context a0, Z3_stats a1);
1365 
1366  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1367  public extern static void Z3_stats_inc_ref(Z3_context a0, Z3_stats a1);
1368 
1369  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1370  public extern static void Z3_stats_dec_ref(Z3_context a0, Z3_stats a1);
1371 
1372  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1373  public extern static uint Z3_stats_size(Z3_context a0, Z3_stats a1);
1374 
1375  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1376  public extern static IntPtr Z3_stats_get_key(Z3_context a0, Z3_stats a1, uint a2);
1377 
1378  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1379  public extern static int Z3_stats_is_uint(Z3_context a0, Z3_stats a1, uint a2);
1380 
1381  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1382  public extern static int Z3_stats_is_double(Z3_context a0, Z3_stats a1, uint a2);
1383 
1384  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1385  public extern static uint Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, uint a2);
1386 
1387  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1388  public extern static double Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, uint a2);
1389 
1390  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1391  public extern static Z3_func_decl Z3_mk_injective_function(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4);
1392 
1393  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1394  public extern static void Z3_set_logic(Z3_context a0, string a1);
1395 
1396  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1397  public extern static void Z3_push(Z3_context a0);
1398 
1399  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1400  public extern static void Z3_pop(Z3_context a0, uint a1);
1401 
1402  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1403  public extern static uint Z3_get_num_scopes(Z3_context a0);
1404 
1405  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1406  public extern static void Z3_persist_ast(Z3_context a0, Z3_ast a1, uint a2);
1407 
1408  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1409  public extern static void Z3_assert_cnstr(Z3_context a0, Z3_ast a1);
1410 
1411  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1412  public extern static int Z3_check_and_get_model(Z3_context a0, [In, Out] ref Z3_model a1);
1413 
1414  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1415  public extern static int Z3_check(Z3_context a0);
1416 
1417  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1418  public extern static int Z3_check_assumptions(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In, Out] ref Z3_model a3, [In, Out] ref Z3_ast a4, [In, Out] ref uint a5, [Out] Z3_ast[] a6);
1419 
1420  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1421  public extern static uint Z3_get_implied_equalities(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3, [Out] uint[] a4);
1422 
1423  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1424  public extern static void Z3_del_model(Z3_context a0, Z3_model a1);
1425 
1426  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1427  public extern static void Z3_soft_check_cancel(Z3_context a0);
1428 
1429  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1430  public extern static uint Z3_get_search_failure(Z3_context a0);
1431 
1432  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1433  public extern static Z3_ast Z3_mk_label(Z3_context a0, IntPtr a1, int a2, Z3_ast a3);
1434 
1435  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1436  public extern static Z3_literals Z3_get_relevant_labels(Z3_context a0);
1437 
1438  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1439  public extern static Z3_literals Z3_get_relevant_literals(Z3_context a0);
1440 
1441  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1442  public extern static Z3_literals Z3_get_guessed_literals(Z3_context a0);
1443 
1444  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1445  public extern static void Z3_del_literals(Z3_context a0, Z3_literals a1);
1446 
1447  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1448  public extern static uint Z3_get_num_literals(Z3_context a0, Z3_literals a1);
1449 
1450  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1451  public extern static IntPtr Z3_get_label_symbol(Z3_context a0, Z3_literals a1, uint a2);
1452 
1453  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1454  public extern static Z3_ast Z3_get_literal(Z3_context a0, Z3_literals a1, uint a2);
1455 
1456  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1457  public extern static void Z3_disable_literal(Z3_context a0, Z3_literals a1, uint a2);
1458 
1459  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1460  public extern static void Z3_block_literals(Z3_context a0, Z3_literals a1);
1461 
1462  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1463  public extern static uint Z3_get_model_num_constants(Z3_context a0, Z3_model a1);
1464 
1465  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1466  public extern static Z3_func_decl Z3_get_model_constant(Z3_context a0, Z3_model a1, uint a2);
1467 
1468  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1469  public extern static uint Z3_get_model_num_funcs(Z3_context a0, Z3_model a1);
1470 
1471  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1472  public extern static Z3_func_decl Z3_get_model_func_decl(Z3_context a0, Z3_model a1, uint a2);
1473 
1474  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1475  public extern static int Z3_eval_func_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, [In, Out] ref Z3_ast a3);
1476 
1477  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1478  public extern static int Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref uint a3);
1479 
1480  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1481  public extern static void Z3_get_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, uint a3, [Out] Z3_ast[] a4, [Out] Z3_ast[] a5, [In, Out] ref Z3_ast a6);
1482 
1483  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1484  public extern static Z3_ast Z3_get_model_func_else(Z3_context a0, Z3_model a1, uint a2);
1485 
1486  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1487  public extern static uint Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, uint a2);
1488 
1489  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1490  public extern static uint Z3_get_model_func_entry_num_args(Z3_context a0, Z3_model a1, uint a2, uint a3);
1491 
1492  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1493  public extern static Z3_ast Z3_get_model_func_entry_arg(Z3_context a0, Z3_model a1, uint a2, uint a3, uint a4);
1494 
1495  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1496  public extern static Z3_ast Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, uint a2, uint a3);
1497 
1498  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1499  public extern static int Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref Z3_ast a3);
1500 
1501  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1502  public extern static int Z3_eval_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, uint a3, [In] Z3_ast[] a4, [In, Out] ref Z3_ast a5);
1503 
1504  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1505  public extern static IntPtr Z3_context_to_string(Z3_context a0);
1506 
1507  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1508  public extern static IntPtr Z3_statistics_to_string(Z3_context a0);
1509 
1510  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1511  public extern static Z3_ast Z3_get_context_assignment(Z3_context a0);
1512 
1513  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1514  public extern static int Z3_algebraic_is_value(Z3_context a0, Z3_ast a1);
1515 
1516  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1517  public extern static int Z3_algebraic_is_pos(Z3_context a0, Z3_ast a1);
1518 
1519  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1520  public extern static int Z3_algebraic_is_neg(Z3_context a0, Z3_ast a1);
1521 
1522  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1523  public extern static int Z3_algebraic_is_zero(Z3_context a0, Z3_ast a1);
1524 
1525  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1526  public extern static int Z3_algebraic_sign(Z3_context a0, Z3_ast a1);
1527 
1528  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1529  public extern static Z3_ast Z3_algebraic_add(Z3_context a0, Z3_ast a1, Z3_ast a2);
1530 
1531  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1532  public extern static Z3_ast Z3_algebraic_sub(Z3_context a0, Z3_ast a1, Z3_ast a2);
1533 
1534  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1535  public extern static Z3_ast Z3_algebraic_mul(Z3_context a0, Z3_ast a1, Z3_ast a2);
1536 
1537  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1538  public extern static Z3_ast Z3_algebraic_div(Z3_context a0, Z3_ast a1, Z3_ast a2);
1539 
1540  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1541  public extern static Z3_ast Z3_algebraic_root(Z3_context a0, Z3_ast a1, uint a2);
1542 
1543  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1544  public extern static Z3_ast Z3_algebraic_power(Z3_context a0, Z3_ast a1, uint a2);
1545 
1546  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1547  public extern static int Z3_algebraic_lt(Z3_context a0, Z3_ast a1, Z3_ast a2);
1548 
1549  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1550  public extern static int Z3_algebraic_gt(Z3_context a0, Z3_ast a1, Z3_ast a2);
1551 
1552  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1553  public extern static int Z3_algebraic_le(Z3_context a0, Z3_ast a1, Z3_ast a2);
1554 
1555  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1556  public extern static int Z3_algebraic_ge(Z3_context a0, Z3_ast a1, Z3_ast a2);
1557 
1558  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1559  public extern static int Z3_algebraic_eq(Z3_context a0, Z3_ast a1, Z3_ast a2);
1560 
1561  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1562  public extern static int Z3_algebraic_neq(Z3_context a0, Z3_ast a1, Z3_ast a2);
1563 
1564  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1565  public extern static Z3_ast_vector Z3_algebraic_roots(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3);
1566 
1567  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1568  public extern static int Z3_algebraic_eval(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3);
1569 
1570  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1571  public extern static Z3_ast_vector Z3_polynomial_subresultants(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3);
1572 
1573  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1574  public extern static void Z3_rcf_del(Z3_context a0, Z3_rcf_num a1);
1575 
1576  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1577  public extern static Z3_rcf_num Z3_rcf_mk_rational(Z3_context a0, string a1);
1578 
1579  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1580  public extern static Z3_rcf_num Z3_rcf_mk_small_int(Z3_context a0, int a1);
1581 
1582  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1583  public extern static Z3_rcf_num Z3_rcf_mk_pi(Z3_context a0);
1584 
1585  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1586  public extern static Z3_rcf_num Z3_rcf_mk_e(Z3_context a0);
1587 
1588  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1589  public extern static Z3_rcf_num Z3_rcf_mk_infinitesimal(Z3_context a0);
1590 
1591  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1592  public extern static uint Z3_rcf_mk_roots(Z3_context a0, uint a1, [In] Z3_rcf_num[] a2, [Out] Z3_rcf_num[] a3);
1593 
1594  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1595  public extern static Z3_rcf_num Z3_rcf_add(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1596 
1597  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1598  public extern static Z3_rcf_num Z3_rcf_sub(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1599 
1600  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1601  public extern static Z3_rcf_num Z3_rcf_mul(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1602 
1603  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1604  public extern static Z3_rcf_num Z3_rcf_div(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1605 
1606  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1607  public extern static Z3_rcf_num Z3_rcf_neg(Z3_context a0, Z3_rcf_num a1);
1608 
1609  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1610  public extern static Z3_rcf_num Z3_rcf_inv(Z3_context a0, Z3_rcf_num a1);
1611 
1612  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1613  public extern static Z3_rcf_num Z3_rcf_power(Z3_context a0, Z3_rcf_num a1, uint a2);
1614 
1615  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1616  public extern static int Z3_rcf_lt(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1617 
1618  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1619  public extern static int Z3_rcf_gt(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1620 
1621  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1622  public extern static int Z3_rcf_le(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1623 
1624  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1625  public extern static int Z3_rcf_ge(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1626 
1627  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1628  public extern static int Z3_rcf_eq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1629 
1630  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1631  public extern static int Z3_rcf_neq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1632 
1633  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1634  public extern static IntPtr Z3_rcf_num_to_string(Z3_context a0, Z3_rcf_num a1, int a2, int a3);
1635 
1636  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1637  public extern static IntPtr Z3_rcf_num_to_decimal_string(Z3_context a0, Z3_rcf_num a1, uint a2);
1638 
1639  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1640  public extern static void Z3_rcf_get_numerator_denominator(Z3_context a0, Z3_rcf_num a1, [In, Out] ref Z3_rcf_num a2, [In, Out] ref Z3_rcf_num a3);
1641 
1642  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1643  public extern static Z3_ast Z3_mk_interpolant(Z3_context a0, Z3_ast a1);
1644 
1645  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1646  public extern static Z3_context Z3_mk_interpolation_context(Z3_config a0);
1647 
1648  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1649  public extern static Z3_ast_vector Z3_get_interpolant(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_params a3);
1650 
1651  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1652  public extern static int Z3_compute_interpolant(Z3_context a0, Z3_ast a1, Z3_params a2, [In, Out] ref Z3_ast_vector a3, [In, Out] ref Z3_model a4);
1653 
1654  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1655  public extern static IntPtr Z3_interpolation_profile(Z3_context a0);
1656 
1657  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1658  public extern static int Z3_read_interpolation_problem(Z3_context a0, [In, Out] ref uint a1, [Out] out Z3_ast[] a2, [Out] out uint[] a3, string a4, out IntPtr a5, [In, Out] ref uint a6, [Out] out Z3_ast[] a7);
1659 
1660  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1661  public extern static int Z3_check_interpolant(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In] uint[] a3, [In] Z3_ast[] a4, out IntPtr a5, uint a6, [In] Z3_ast[] a7);
1662 
1663  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1664  public extern static void Z3_write_interpolation_problem(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In] uint[] a3, string a4, uint a5, [In] Z3_ast[] a6);
1665 
1666  }
1667 
1668  public static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1) {
1669  LIB.Z3_set_error_handler(a0, a1);
1671  if (err != Z3_error_code.Z3_OK)
1672  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1673  }
1674 
1675  public static void Z3_global_param_set(string a0, string a1) {
1676  LIB.Z3_global_param_set(a0, a1);
1677  }
1678 
1679  public static void Z3_global_param_reset_all() {
1681  }
1682 
1683  public static int Z3_global_param_get(string a0, out IntPtr a1) {
1684  int r = LIB.Z3_global_param_get(a0, out a1);
1685  return r;
1686  }
1687 
1688  public static Z3_config Z3_mk_config() {
1689  Z3_config r = LIB.Z3_mk_config();
1690  return r;
1691  }
1692 
1693  public static void Z3_del_config(Z3_config a0) {
1694  LIB.Z3_del_config(a0);
1695  }
1696 
1697  public static void Z3_set_param_value(Z3_config a0, string a1, string a2) {
1698  LIB.Z3_set_param_value(a0, a1, a2);
1699  }
1700 
1701  public static Z3_context Z3_mk_context(Z3_config a0) {
1702  Z3_context r = LIB.Z3_mk_context(a0);
1703  if (r == IntPtr.Zero)
1704  throw new Z3Exception("Object allocation failed.");
1705  return r;
1706  }
1707 
1710  if (r == IntPtr.Zero)
1711  throw new Z3Exception("Object allocation failed.");
1712  return r;
1713  }
1714 
1715  public static void Z3_del_context(Z3_context a0) {
1716  LIB.Z3_del_context(a0);
1717  }
1718 
1719  public static void Z3_inc_ref(Z3_context a0, Z3_ast a1) {
1720  LIB.Z3_inc_ref(a0, a1);
1722  if (err != Z3_error_code.Z3_OK)
1723  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1724  }
1725 
1726  public static void Z3_dec_ref(Z3_context a0, Z3_ast a1) {
1727  LIB.Z3_dec_ref(a0, a1);
1729  if (err != Z3_error_code.Z3_OK)
1730  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1731  }
1732 
1733  public static void Z3_update_param_value(Z3_context a0, string a1, string a2) {
1734  LIB.Z3_update_param_value(a0, a1, a2);
1736  if (err != Z3_error_code.Z3_OK)
1737  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1738  }
1739 
1740  public static void Z3_interrupt(Z3_context a0) {
1741  LIB.Z3_interrupt(a0);
1743  if (err != Z3_error_code.Z3_OK)
1744  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1745  }
1746 
1747  public static Z3_params Z3_mk_params(Z3_context a0) {
1748  Z3_params r = LIB.Z3_mk_params(a0);
1750  if (err != Z3_error_code.Z3_OK)
1751  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1752  return r;
1753  }
1754 
1755  public static void Z3_params_inc_ref(Z3_context a0, Z3_params a1) {
1756  LIB.Z3_params_inc_ref(a0, a1);
1758  if (err != Z3_error_code.Z3_OK)
1759  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1760  }
1761 
1762  public static void Z3_params_dec_ref(Z3_context a0, Z3_params a1) {
1763  LIB.Z3_params_dec_ref(a0, a1);
1765  if (err != Z3_error_code.Z3_OK)
1766  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1767  }
1768 
1769  public static void Z3_params_set_bool(Z3_context a0, Z3_params a1, IntPtr a2, int a3) {
1770  LIB.Z3_params_set_bool(a0, a1, a2, a3);
1772  if (err != Z3_error_code.Z3_OK)
1773  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1774  }
1775 
1776  public static void Z3_params_set_uint(Z3_context a0, Z3_params a1, IntPtr a2, uint a3) {
1777  LIB.Z3_params_set_uint(a0, a1, a2, a3);
1779  if (err != Z3_error_code.Z3_OK)
1780  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1781  }
1782 
1783  public static void Z3_params_set_double(Z3_context a0, Z3_params a1, IntPtr a2, double a3) {
1784  LIB.Z3_params_set_double(a0, a1, a2, a3);
1786  if (err != Z3_error_code.Z3_OK)
1787  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1788  }
1789 
1790  public static void Z3_params_set_symbol(Z3_context a0, Z3_params a1, IntPtr a2, IntPtr a3) {
1791  LIB.Z3_params_set_symbol(a0, a1, a2, a3);
1793  if (err != Z3_error_code.Z3_OK)
1794  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1795  }
1796 
1797  public static string Z3_params_to_string(Z3_context a0, Z3_params a1) {
1798  IntPtr r = LIB.Z3_params_to_string(a0, a1);
1800  if (err != Z3_error_code.Z3_OK)
1801  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1802  return Marshal.PtrToStringAnsi(r);
1803  }
1804 
1805  public static void Z3_params_validate(Z3_context a0, Z3_params a1, Z3_param_descrs a2) {
1806  LIB.Z3_params_validate(a0, a1, a2);
1808  if (err != Z3_error_code.Z3_OK)
1809  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1810  }
1811 
1813  LIB.Z3_param_descrs_inc_ref(a0, a1);
1815  if (err != Z3_error_code.Z3_OK)
1816  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1817  }
1818 
1820  LIB.Z3_param_descrs_dec_ref(a0, a1);
1822  if (err != Z3_error_code.Z3_OK)
1823  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1824  }
1825 
1826  public static uint Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, IntPtr a2) {
1827  uint r = LIB.Z3_param_descrs_get_kind(a0, a1, a2);
1829  if (err != Z3_error_code.Z3_OK)
1830  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1831  return r;
1832  }
1833 
1834  public static uint Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1) {
1835  uint r = LIB.Z3_param_descrs_size(a0, a1);
1837  if (err != Z3_error_code.Z3_OK)
1838  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1839  return r;
1840  }
1841 
1842  public static IntPtr Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, uint a2) {
1843  IntPtr r = LIB.Z3_param_descrs_get_name(a0, a1, a2);
1845  if (err != Z3_error_code.Z3_OK)
1846  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1847  return r;
1848  }
1849 
1851  IntPtr r = LIB.Z3_param_descrs_to_string(a0, a1);
1853  if (err != Z3_error_code.Z3_OK)
1854  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1855  return Marshal.PtrToStringAnsi(r);
1856  }
1857 
1858  public static IntPtr Z3_mk_int_symbol(Z3_context a0, int a1) {
1859  IntPtr r = LIB.Z3_mk_int_symbol(a0, a1);
1861  if (err != Z3_error_code.Z3_OK)
1862  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1863  return r;
1864  }
1865 
1866  public static IntPtr Z3_mk_string_symbol(Z3_context a0, string a1) {
1867  IntPtr r = LIB.Z3_mk_string_symbol(a0, a1);
1869  if (err != Z3_error_code.Z3_OK)
1870  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1871  return r;
1872  }
1873 
1874  public static Z3_sort Z3_mk_uninterpreted_sort(Z3_context a0, IntPtr a1) {
1875  Z3_sort r = LIB.Z3_mk_uninterpreted_sort(a0, a1);
1877  if (err != Z3_error_code.Z3_OK)
1878  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1879  return r;
1880  }
1881 
1882  public static Z3_sort Z3_mk_bool_sort(Z3_context a0) {
1883  Z3_sort r = LIB.Z3_mk_bool_sort(a0);
1885  if (err != Z3_error_code.Z3_OK)
1886  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1887  return r;
1888  }
1889 
1890  public static Z3_sort Z3_mk_int_sort(Z3_context a0) {
1891  Z3_sort r = LIB.Z3_mk_int_sort(a0);
1893  if (err != Z3_error_code.Z3_OK)
1894  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1895  return r;
1896  }
1897 
1898  public static Z3_sort Z3_mk_real_sort(Z3_context a0) {
1899  Z3_sort r = LIB.Z3_mk_real_sort(a0);
1901  if (err != Z3_error_code.Z3_OK)
1902  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1903  return r;
1904  }
1905 
1906  public static Z3_sort Z3_mk_bv_sort(Z3_context a0, uint a1) {
1907  Z3_sort r = LIB.Z3_mk_bv_sort(a0, a1);
1909  if (err != Z3_error_code.Z3_OK)
1910  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1911  return r;
1912  }
1913 
1914  public static Z3_sort Z3_mk_finite_domain_sort(Z3_context a0, IntPtr a1, UInt64 a2) {
1915  Z3_sort r = LIB.Z3_mk_finite_domain_sort(a0, a1, a2);
1917  if (err != Z3_error_code.Z3_OK)
1918  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1919  return r;
1920  }
1921 
1922  public static Z3_sort Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2) {
1923  Z3_sort r = LIB.Z3_mk_array_sort(a0, a1, a2);
1925  if (err != Z3_error_code.Z3_OK)
1926  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1927  return r;
1928  }
1929 
1930  public static Z3_sort Z3_mk_tuple_sort(Z3_context a0, IntPtr a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, [In, Out] ref Z3_func_decl a5, [Out] Z3_func_decl[] a6) {
1931  Z3_sort r = LIB.Z3_mk_tuple_sort(a0, a1, a2, a3, a4, ref a5, a6);
1933  if (err != Z3_error_code.Z3_OK)
1934  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1935  return r;
1936  }
1937 
1938  public static Z3_sort Z3_mk_enumeration_sort(Z3_context a0, IntPtr a1, uint a2, [In] IntPtr[] a3, [Out] Z3_func_decl[] a4, [Out] Z3_func_decl[] a5) {
1939  Z3_sort r = LIB.Z3_mk_enumeration_sort(a0, a1, a2, a3, a4, a5);
1941  if (err != Z3_error_code.Z3_OK)
1942  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1943  return r;
1944  }
1945 
1946  public static Z3_sort Z3_mk_list_sort(Z3_context a0, IntPtr a1, Z3_sort a2, [In, Out] ref Z3_func_decl a3, [In, Out] ref Z3_func_decl a4, [In, Out] ref Z3_func_decl a5, [In, Out] ref Z3_func_decl a6, [In, Out] ref Z3_func_decl a7, [In, Out] ref Z3_func_decl a8) {
1947  Z3_sort r = LIB.Z3_mk_list_sort(a0, a1, a2, ref a3, ref a4, ref a5, ref a6, ref a7, ref a8);
1949  if (err != Z3_error_code.Z3_OK)
1950  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1951  return r;
1952  }
1953 
1954  public static Z3_constructor Z3_mk_constructor(Z3_context a0, IntPtr a1, IntPtr a2, uint a3, [In] IntPtr[] a4, [In] Z3_sort[] a5, [In] uint[] a6) {
1955  Z3_constructor r = LIB.Z3_mk_constructor(a0, a1, a2, a3, a4, a5, a6);
1957  if (err != Z3_error_code.Z3_OK)
1958  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1959  return r;
1960  }
1961 
1962  public static void Z3_del_constructor(Z3_context a0, Z3_constructor a1) {
1963  LIB.Z3_del_constructor(a0, a1);
1965  if (err != Z3_error_code.Z3_OK)
1966  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1967  }
1968 
1969  public static Z3_sort Z3_mk_datatype(Z3_context a0, IntPtr a1, uint a2, [In, Out] Z3_constructor[] a3) {
1970  Z3_sort r = LIB.Z3_mk_datatype(a0, a1, a2, a3);
1972  if (err != Z3_error_code.Z3_OK)
1973  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1974  return r;
1975  }
1976 
1980  if (err != Z3_error_code.Z3_OK)
1981  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1982  return r;
1983  }
1984 
1986  LIB.Z3_del_constructor_list(a0, a1);
1988  if (err != Z3_error_code.Z3_OK)
1989  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1990  }
1991 
1992  public static void Z3_mk_datatypes(Z3_context a0, uint a1, [In] IntPtr[] a2, [Out] Z3_sort[] a3, [In, Out] Z3_constructor_list[] a4) {
1993  LIB.Z3_mk_datatypes(a0, a1, a2, a3, a4);
1995  if (err != Z3_error_code.Z3_OK)
1996  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1997  }
1998 
1999  public static void Z3_query_constructor(Z3_context a0, Z3_constructor a1, uint a2, [In, Out] ref Z3_func_decl a3, [In, Out] ref Z3_func_decl a4, [Out] Z3_func_decl[] a5) {
2000  LIB.Z3_query_constructor(a0, a1, a2, ref a3, ref a4, a5);
2002  if (err != Z3_error_code.Z3_OK)
2003  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2004  }
2005 
2006  public static Z3_func_decl Z3_mk_func_decl(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4) {
2007  Z3_func_decl r = LIB.Z3_mk_func_decl(a0, a1, a2, a3, a4);
2009  if (err != Z3_error_code.Z3_OK)
2010  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2011  return r;
2012  }
2013 
2014  public static Z3_ast Z3_mk_app(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3) {
2015  Z3_ast r = LIB.Z3_mk_app(a0, a1, a2, a3);
2017  if (err != Z3_error_code.Z3_OK)
2018  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2019  return r;
2020  }
2021 
2022  public static Z3_ast Z3_mk_const(Z3_context a0, IntPtr a1, Z3_sort a2) {
2023  Z3_ast r = LIB.Z3_mk_const(a0, a1, a2);
2025  if (err != Z3_error_code.Z3_OK)
2026  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2027  return r;
2028  }
2029 
2030  public static Z3_func_decl Z3_mk_fresh_func_decl(Z3_context a0, string a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4) {
2031  Z3_func_decl r = LIB.Z3_mk_fresh_func_decl(a0, a1, a2, a3, a4);
2033  if (err != Z3_error_code.Z3_OK)
2034  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2035  return r;
2036  }
2037 
2038  public static Z3_ast Z3_mk_fresh_const(Z3_context a0, string a1, Z3_sort a2) {
2039  Z3_ast r = LIB.Z3_mk_fresh_const(a0, a1, a2);
2041  if (err != Z3_error_code.Z3_OK)
2042  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2043  return r;
2044  }
2045 
2046  public static Z3_ast Z3_mk_true(Z3_context a0) {
2047  Z3_ast r = LIB.Z3_mk_true(a0);
2049  if (err != Z3_error_code.Z3_OK)
2050  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2051  return r;
2052  }
2053 
2054  public static Z3_ast Z3_mk_false(Z3_context a0) {
2055  Z3_ast r = LIB.Z3_mk_false(a0);
2057  if (err != Z3_error_code.Z3_OK)
2058  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2059  return r;
2060  }
2061 
2062  public static Z3_ast Z3_mk_eq(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2063  Z3_ast r = LIB.Z3_mk_eq(a0, a1, a2);
2065  if (err != Z3_error_code.Z3_OK)
2066  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2067  return r;
2068  }
2069 
2070  public static Z3_ast Z3_mk_distinct(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2071  Z3_ast r = LIB.Z3_mk_distinct(a0, a1, a2);
2073  if (err != Z3_error_code.Z3_OK)
2074  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2075  return r;
2076  }
2077 
2078  public static Z3_ast Z3_mk_not(Z3_context a0, Z3_ast a1) {
2079  Z3_ast r = LIB.Z3_mk_not(a0, a1);
2081  if (err != Z3_error_code.Z3_OK)
2082  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2083  return r;
2084  }
2085 
2086  public static Z3_ast Z3_mk_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) {
2087  Z3_ast r = LIB.Z3_mk_ite(a0, a1, a2, a3);
2089  if (err != Z3_error_code.Z3_OK)
2090  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2091  return r;
2092  }
2093 
2094  public static Z3_ast Z3_mk_iff(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2095  Z3_ast r = LIB.Z3_mk_iff(a0, a1, a2);
2097  if (err != Z3_error_code.Z3_OK)
2098  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2099  return r;
2100  }
2101 
2102  public static Z3_ast Z3_mk_implies(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2103  Z3_ast r = LIB.Z3_mk_implies(a0, a1, a2);
2105  if (err != Z3_error_code.Z3_OK)
2106  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2107  return r;
2108  }
2109 
2110  public static Z3_ast Z3_mk_xor(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2111  Z3_ast r = LIB.Z3_mk_xor(a0, a1, a2);
2113  if (err != Z3_error_code.Z3_OK)
2114  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2115  return r;
2116  }
2117 
2118  public static Z3_ast Z3_mk_and(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2119  Z3_ast r = LIB.Z3_mk_and(a0, a1, a2);
2121  if (err != Z3_error_code.Z3_OK)
2122  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2123  return r;
2124  }
2125 
2126  public static Z3_ast Z3_mk_or(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2127  Z3_ast r = LIB.Z3_mk_or(a0, a1, a2);
2129  if (err != Z3_error_code.Z3_OK)
2130  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2131  return r;
2132  }
2133 
2134  public static Z3_ast Z3_mk_add(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2135  Z3_ast r = LIB.Z3_mk_add(a0, a1, a2);
2137  if (err != Z3_error_code.Z3_OK)
2138  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2139  return r;
2140  }
2141 
2142  public static Z3_ast Z3_mk_mul(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2143  Z3_ast r = LIB.Z3_mk_mul(a0, a1, a2);
2145  if (err != Z3_error_code.Z3_OK)
2146  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2147  return r;
2148  }
2149 
2150  public static Z3_ast Z3_mk_sub(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2151  Z3_ast r = LIB.Z3_mk_sub(a0, a1, a2);
2153  if (err != Z3_error_code.Z3_OK)
2154  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2155  return r;
2156  }
2157 
2158  public static Z3_ast Z3_mk_unary_minus(Z3_context a0, Z3_ast a1) {
2159  Z3_ast r = LIB.Z3_mk_unary_minus(a0, a1);
2161  if (err != Z3_error_code.Z3_OK)
2162  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2163  return r;
2164  }
2165 
2166  public static Z3_ast Z3_mk_div(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2167  Z3_ast r = LIB.Z3_mk_div(a0, a1, a2);
2169  if (err != Z3_error_code.Z3_OK)
2170  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2171  return r;
2172  }
2173 
2174  public static Z3_ast Z3_mk_mod(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2175  Z3_ast r = LIB.Z3_mk_mod(a0, a1, a2);
2177  if (err != Z3_error_code.Z3_OK)
2178  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2179  return r;
2180  }
2181 
2182  public static Z3_ast Z3_mk_rem(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2183  Z3_ast r = LIB.Z3_mk_rem(a0, a1, a2);
2185  if (err != Z3_error_code.Z3_OK)
2186  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2187  return r;
2188  }
2189 
2190  public static Z3_ast Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2191  Z3_ast r = LIB.Z3_mk_power(a0, a1, a2);
2193  if (err != Z3_error_code.Z3_OK)
2194  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2195  return r;
2196  }
2197 
2198  public static Z3_ast Z3_mk_lt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2199  Z3_ast r = LIB.Z3_mk_lt(a0, a1, a2);
2201  if (err != Z3_error_code.Z3_OK)
2202  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2203  return r;
2204  }
2205 
2206  public static Z3_ast Z3_mk_le(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2207  Z3_ast r = LIB.Z3_mk_le(a0, a1, a2);
2209  if (err != Z3_error_code.Z3_OK)
2210  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2211  return r;
2212  }
2213 
2214  public static Z3_ast Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2215  Z3_ast r = LIB.Z3_mk_gt(a0, a1, a2);
2217  if (err != Z3_error_code.Z3_OK)
2218  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2219  return r;
2220  }
2221 
2222  public static Z3_ast Z3_mk_ge(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2223  Z3_ast r = LIB.Z3_mk_ge(a0, a1, a2);
2225  if (err != Z3_error_code.Z3_OK)
2226  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2227  return r;
2228  }
2229 
2230  public static Z3_ast Z3_mk_int2real(Z3_context a0, Z3_ast a1) {
2231  Z3_ast r = LIB.Z3_mk_int2real(a0, a1);
2233  if (err != Z3_error_code.Z3_OK)
2234  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2235  return r;
2236  }
2237 
2238  public static Z3_ast Z3_mk_real2int(Z3_context a0, Z3_ast a1) {
2239  Z3_ast r = LIB.Z3_mk_real2int(a0, a1);
2241  if (err != Z3_error_code.Z3_OK)
2242  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2243  return r;
2244  }
2245 
2246  public static Z3_ast Z3_mk_is_int(Z3_context a0, Z3_ast a1) {
2247  Z3_ast r = LIB.Z3_mk_is_int(a0, a1);
2249  if (err != Z3_error_code.Z3_OK)
2250  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2251  return r;
2252  }
2253 
2254  public static Z3_ast Z3_mk_bvnot(Z3_context a0, Z3_ast a1) {
2255  Z3_ast r = LIB.Z3_mk_bvnot(a0, a1);
2257  if (err != Z3_error_code.Z3_OK)
2258  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2259  return r;
2260  }
2261 
2262  public static Z3_ast Z3_mk_bvredand(Z3_context a0, Z3_ast a1) {
2263  Z3_ast r = LIB.Z3_mk_bvredand(a0, a1);
2265  if (err != Z3_error_code.Z3_OK)
2266  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2267  return r;
2268  }
2269 
2270  public static Z3_ast Z3_mk_bvredor(Z3_context a0, Z3_ast a1) {
2271  Z3_ast r = LIB.Z3_mk_bvredor(a0, a1);
2273  if (err != Z3_error_code.Z3_OK)
2274  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2275  return r;
2276  }
2277 
2278  public static Z3_ast Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2279  Z3_ast r = LIB.Z3_mk_bvand(a0, a1, a2);
2281  if (err != Z3_error_code.Z3_OK)
2282  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2283  return r;
2284  }
2285 
2286  public static Z3_ast Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2287  Z3_ast r = LIB.Z3_mk_bvor(a0, a1, a2);
2289  if (err != Z3_error_code.Z3_OK)
2290  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2291  return r;
2292  }
2293 
2294  public static Z3_ast Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2295  Z3_ast r = LIB.Z3_mk_bvxor(a0, a1, a2);
2297  if (err != Z3_error_code.Z3_OK)
2298  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2299  return r;
2300  }
2301 
2302  public static Z3_ast Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2303  Z3_ast r = LIB.Z3_mk_bvnand(a0, a1, a2);
2305  if (err != Z3_error_code.Z3_OK)
2306  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2307  return r;
2308  }
2309 
2310  public static Z3_ast Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2311  Z3_ast r = LIB.Z3_mk_bvnor(a0, a1, a2);
2313  if (err != Z3_error_code.Z3_OK)
2314  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2315  return r;
2316  }
2317 
2318  public static Z3_ast Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2319  Z3_ast r = LIB.Z3_mk_bvxnor(a0, a1, a2);
2321  if (err != Z3_error_code.Z3_OK)
2322  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2323  return r;
2324  }
2325 
2326  public static Z3_ast Z3_mk_bvneg(Z3_context a0, Z3_ast a1) {
2327  Z3_ast r = LIB.Z3_mk_bvneg(a0, a1);
2329  if (err != Z3_error_code.Z3_OK)
2330  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2331  return r;
2332  }
2333 
2334  public static Z3_ast Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2335  Z3_ast r = LIB.Z3_mk_bvadd(a0, a1, a2);
2337  if (err != Z3_error_code.Z3_OK)
2338  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2339  return r;
2340  }
2341 
2342  public static Z3_ast Z3_mk_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2343  Z3_ast r = LIB.Z3_mk_bvsub(a0, a1, a2);
2345  if (err != Z3_error_code.Z3_OK)
2346  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2347  return r;
2348  }
2349 
2350  public static Z3_ast Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2351  Z3_ast r = LIB.Z3_mk_bvmul(a0, a1, a2);
2353  if (err != Z3_error_code.Z3_OK)
2354  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2355  return r;
2356  }
2357 
2358  public static Z3_ast Z3_mk_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2359  Z3_ast r = LIB.Z3_mk_bvudiv(a0, a1, a2);
2361  if (err != Z3_error_code.Z3_OK)
2362  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2363  return r;
2364  }
2365 
2366  public static Z3_ast Z3_mk_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2367  Z3_ast r = LIB.Z3_mk_bvsdiv(a0, a1, a2);
2369  if (err != Z3_error_code.Z3_OK)
2370  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2371  return r;
2372  }
2373 
2374  public static Z3_ast Z3_mk_bvurem(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2375  Z3_ast r = LIB.Z3_mk_bvurem(a0, a1, a2);
2377  if (err != Z3_error_code.Z3_OK)
2378  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2379  return r;
2380  }
2381 
2382  public static Z3_ast Z3_mk_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2383  Z3_ast r = LIB.Z3_mk_bvsrem(a0, a1, a2);
2385  if (err != Z3_error_code.Z3_OK)
2386  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2387  return r;
2388  }
2389 
2390  public static Z3_ast Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2391  Z3_ast r = LIB.Z3_mk_bvsmod(a0, a1, a2);
2393  if (err != Z3_error_code.Z3_OK)
2394  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2395  return r;
2396  }
2397 
2398  public static Z3_ast Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2399  Z3_ast r = LIB.Z3_mk_bvult(a0, a1, a2);
2401  if (err != Z3_error_code.Z3_OK)
2402  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2403  return r;
2404  }
2405 
2406  public static Z3_ast Z3_mk_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2407  Z3_ast r = LIB.Z3_mk_bvslt(a0, a1, a2);
2409  if (err != Z3_error_code.Z3_OK)
2410  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2411  return r;
2412  }
2413 
2414  public static Z3_ast Z3_mk_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2415  Z3_ast r = LIB.Z3_mk_bvule(a0, a1, a2);
2417  if (err != Z3_error_code.Z3_OK)
2418  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2419  return r;
2420  }
2421 
2422  public static Z3_ast Z3_mk_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2423  Z3_ast r = LIB.Z3_mk_bvsle(a0, a1, a2);
2425  if (err != Z3_error_code.Z3_OK)
2426  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2427  return r;
2428  }
2429 
2430  public static Z3_ast Z3_mk_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2431  Z3_ast r = LIB.Z3_mk_bvuge(a0, a1, a2);
2433  if (err != Z3_error_code.Z3_OK)
2434  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2435  return r;
2436  }
2437 
2438  public static Z3_ast Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2439  Z3_ast r = LIB.Z3_mk_bvsge(a0, a1, a2);
2441  if (err != Z3_error_code.Z3_OK)
2442  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2443  return r;
2444  }
2445 
2446  public static Z3_ast Z3_mk_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2447  Z3_ast r = LIB.Z3_mk_bvugt(a0, a1, a2);
2449  if (err != Z3_error_code.Z3_OK)
2450  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2451  return r;
2452  }
2453 
2454  public static Z3_ast Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2455  Z3_ast r = LIB.Z3_mk_bvsgt(a0, a1, a2);
2457  if (err != Z3_error_code.Z3_OK)
2458  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2459  return r;
2460  }
2461 
2462  public static Z3_ast Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2463  Z3_ast r = LIB.Z3_mk_concat(a0, a1, a2);
2465  if (err != Z3_error_code.Z3_OK)
2466  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2467  return r;
2468  }
2469 
2470  public static Z3_ast Z3_mk_extract(Z3_context a0, uint a1, uint a2, Z3_ast a3) {
2471  Z3_ast r = LIB.Z3_mk_extract(a0, a1, a2, a3);
2473  if (err != Z3_error_code.Z3_OK)
2474  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2475  return r;
2476  }
2477 
2478  public static Z3_ast Z3_mk_sign_ext(Z3_context a0, uint a1, Z3_ast a2) {
2479  Z3_ast r = LIB.Z3_mk_sign_ext(a0, a1, a2);
2481  if (err != Z3_error_code.Z3_OK)
2482  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2483  return r;
2484  }
2485 
2486  public static Z3_ast Z3_mk_zero_ext(Z3_context a0, uint a1, Z3_ast a2) {
2487  Z3_ast r = LIB.Z3_mk_zero_ext(a0, a1, a2);
2489  if (err != Z3_error_code.Z3_OK)
2490  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2491  return r;
2492  }
2493 
2494  public static Z3_ast Z3_mk_repeat(Z3_context a0, uint a1, Z3_ast a2) {
2495  Z3_ast r = LIB.Z3_mk_repeat(a0, a1, a2);
2497  if (err != Z3_error_code.Z3_OK)
2498  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2499  return r;
2500  }
2501 
2502  public static Z3_ast Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2503  Z3_ast r = LIB.Z3_mk_bvshl(a0, a1, a2);
2505  if (err != Z3_error_code.Z3_OK)
2506  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2507  return r;
2508  }
2509 
2510  public static Z3_ast Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2511  Z3_ast r = LIB.Z3_mk_bvlshr(a0, a1, a2);
2513  if (err != Z3_error_code.Z3_OK)
2514  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2515  return r;
2516  }
2517 
2518  public static Z3_ast Z3_mk_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2519  Z3_ast r = LIB.Z3_mk_bvashr(a0, a1, a2);
2521  if (err != Z3_error_code.Z3_OK)
2522  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2523  return r;
2524  }
2525 
2526  public static Z3_ast Z3_mk_rotate_left(Z3_context a0, uint a1, Z3_ast a2) {
2527  Z3_ast r = LIB.Z3_mk_rotate_left(a0, a1, a2);
2529  if (err != Z3_error_code.Z3_OK)
2530  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2531  return r;
2532  }
2533 
2534  public static Z3_ast Z3_mk_rotate_right(Z3_context a0, uint a1, Z3_ast a2) {
2535  Z3_ast r = LIB.Z3_mk_rotate_right(a0, a1, a2);
2537  if (err != Z3_error_code.Z3_OK)
2538  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2539  return r;
2540  }
2541 
2543  Z3_ast r = LIB.Z3_mk_ext_rotate_left(a0, a1, a2);
2545  if (err != Z3_error_code.Z3_OK)
2546  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2547  return r;
2548  }
2549 
2551  Z3_ast r = LIB.Z3_mk_ext_rotate_right(a0, a1, a2);
2553  if (err != Z3_error_code.Z3_OK)
2554  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2555  return r;
2556  }
2557 
2558  public static Z3_ast Z3_mk_int2bv(Z3_context a0, uint a1, Z3_ast a2) {
2559  Z3_ast r = LIB.Z3_mk_int2bv(a0, a1, a2);
2561  if (err != Z3_error_code.Z3_OK)
2562  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2563  return r;
2564  }
2565 
2566  public static Z3_ast Z3_mk_bv2int(Z3_context a0, Z3_ast a1, int a2) {
2567  Z3_ast r = LIB.Z3_mk_bv2int(a0, a1, a2);
2569  if (err != Z3_error_code.Z3_OK)
2570  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2571  return r;
2572  }
2573 
2574  public static Z3_ast Z3_mk_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3) {
2575  Z3_ast r = LIB.Z3_mk_bvadd_no_overflow(a0, a1, a2, a3);
2577  if (err != Z3_error_code.Z3_OK)
2578  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2579  return r;
2580  }
2581 
2583  Z3_ast r = LIB.Z3_mk_bvadd_no_underflow(a0, a1, a2);
2585  if (err != Z3_error_code.Z3_OK)
2586  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2587  return r;
2588  }
2589 
2591  Z3_ast r = LIB.Z3_mk_bvsub_no_overflow(a0, a1, a2);
2593  if (err != Z3_error_code.Z3_OK)
2594  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2595  return r;
2596  }
2597 
2598  public static Z3_ast Z3_mk_bvsub_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3) {
2599  Z3_ast r = LIB.Z3_mk_bvsub_no_underflow(a0, a1, a2, a3);
2601  if (err != Z3_error_code.Z3_OK)
2602  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2603  return r;
2604  }
2605 
2607  Z3_ast r = LIB.Z3_mk_bvsdiv_no_overflow(a0, a1, a2);
2609  if (err != Z3_error_code.Z3_OK)
2610  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2611  return r;
2612  }
2613 
2615  Z3_ast r = LIB.Z3_mk_bvneg_no_overflow(a0, a1);
2617  if (err != Z3_error_code.Z3_OK)
2618  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2619  return r;
2620  }
2621 
2622  public static Z3_ast Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3) {
2623  Z3_ast r = LIB.Z3_mk_bvmul_no_overflow(a0, a1, a2, a3);
2625  if (err != Z3_error_code.Z3_OK)
2626  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2627  return r;
2628  }
2629 
2631  Z3_ast r = LIB.Z3_mk_bvmul_no_underflow(a0, a1, a2);
2633  if (err != Z3_error_code.Z3_OK)
2634  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2635  return r;
2636  }
2637 
2638  public static Z3_ast Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2639  Z3_ast r = LIB.Z3_mk_select(a0, a1, a2);
2641  if (err != Z3_error_code.Z3_OK)
2642  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2643  return r;
2644  }
2645 
2646  public static Z3_ast Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) {
2647  Z3_ast r = LIB.Z3_mk_store(a0, a1, a2, a3);
2649  if (err != Z3_error_code.Z3_OK)
2650  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2651  return r;
2652  }
2653 
2654  public static Z3_ast Z3_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2) {
2655  Z3_ast r = LIB.Z3_mk_const_array(a0, a1, a2);
2657  if (err != Z3_error_code.Z3_OK)
2658  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2659  return r;
2660  }
2661 
2662  public static Z3_ast Z3_mk_map(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3) {
2663  Z3_ast r = LIB.Z3_mk_map(a0, a1, a2, a3);
2665  if (err != Z3_error_code.Z3_OK)
2666  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2667  return r;
2668  }
2669 
2671  Z3_ast r = LIB.Z3_mk_array_default(a0, a1);
2673  if (err != Z3_error_code.Z3_OK)
2674  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2675  return r;
2676  }
2677 
2678  public static Z3_sort Z3_mk_set_sort(Z3_context a0, Z3_sort a1) {
2679  Z3_sort r = LIB.Z3_mk_set_sort(a0, a1);
2681  if (err != Z3_error_code.Z3_OK)
2682  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2683  return r;
2684  }
2685 
2686  public static Z3_ast Z3_mk_empty_set(Z3_context a0, Z3_sort a1) {
2687  Z3_ast r = LIB.Z3_mk_empty_set(a0, a1);
2689  if (err != Z3_error_code.Z3_OK)
2690  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2691  return r;
2692  }
2693 
2694  public static Z3_ast Z3_mk_full_set(Z3_context a0, Z3_sort a1) {
2695  Z3_ast r = LIB.Z3_mk_full_set(a0, a1);
2697  if (err != Z3_error_code.Z3_OK)
2698  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2699  return r;
2700  }
2701 
2702  public static Z3_ast Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2703  Z3_ast r = LIB.Z3_mk_set_add(a0, a1, a2);
2705  if (err != Z3_error_code.Z3_OK)
2706  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2707  return r;
2708  }
2709 
2710  public static Z3_ast Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2711  Z3_ast r = LIB.Z3_mk_set_del(a0, a1, a2);
2713  if (err != Z3_error_code.Z3_OK)
2714  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2715  return r;
2716  }
2717 
2718  public static Z3_ast Z3_mk_set_union(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2719  Z3_ast r = LIB.Z3_mk_set_union(a0, a1, a2);
2721  if (err != Z3_error_code.Z3_OK)
2722  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2723  return r;
2724  }
2725 
2726  public static Z3_ast Z3_mk_set_intersect(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2727  Z3_ast r = LIB.Z3_mk_set_intersect(a0, a1, a2);
2729  if (err != Z3_error_code.Z3_OK)
2730  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2731  return r;
2732  }
2733 
2735  Z3_ast r = LIB.Z3_mk_set_difference(a0, a1, a2);
2737  if (err != Z3_error_code.Z3_OK)
2738  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2739  return r;
2740  }
2741 
2743  Z3_ast r = LIB.Z3_mk_set_complement(a0, a1);
2745  if (err != Z3_error_code.Z3_OK)
2746  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2747  return r;
2748  }
2749 
2750  public static Z3_ast Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2751  Z3_ast r = LIB.Z3_mk_set_member(a0, a1, a2);
2753  if (err != Z3_error_code.Z3_OK)
2754  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2755  return r;
2756  }
2757 
2758  public static Z3_ast Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2759  Z3_ast r = LIB.Z3_mk_set_subset(a0, a1, a2);
2761  if (err != Z3_error_code.Z3_OK)
2762  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2763  return r;
2764  }
2765 
2766  public static Z3_ast Z3_mk_numeral(Z3_context a0, string a1, Z3_sort a2) {
2767  Z3_ast r = LIB.Z3_mk_numeral(a0, a1, a2);
2769  if (err != Z3_error_code.Z3_OK)
2770  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2771  return r;
2772  }
2773 
2774  public static Z3_ast Z3_mk_real(Z3_context a0, int a1, int a2) {
2775  Z3_ast r = LIB.Z3_mk_real(a0, a1, a2);
2777  if (err != Z3_error_code.Z3_OK)
2778  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2779  return r;
2780  }
2781 
2782  public static Z3_ast Z3_mk_int(Z3_context a0, int a1, Z3_sort a2) {
2783  Z3_ast r = LIB.Z3_mk_int(a0, a1, a2);
2785  if (err != Z3_error_code.Z3_OK)
2786  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2787  return r;
2788  }
2789 
2790  public static Z3_ast Z3_mk_unsigned_int(Z3_context a0, uint a1, Z3_sort a2) {
2791  Z3_ast r = LIB.Z3_mk_unsigned_int(a0, a1, a2);
2793  if (err != Z3_error_code.Z3_OK)
2794  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2795  return r;
2796  }
2797 
2798  public static Z3_ast Z3_mk_int64(Z3_context a0, Int64 a1, Z3_sort a2) {
2799  Z3_ast r = LIB.Z3_mk_int64(a0, a1, a2);
2801  if (err != Z3_error_code.Z3_OK)
2802  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2803  return r;
2804  }
2805 
2806  public static Z3_ast Z3_mk_unsigned_int64(Z3_context a0, UInt64 a1, Z3_sort a2) {
2807  Z3_ast r = LIB.Z3_mk_unsigned_int64(a0, a1, a2);
2809  if (err != Z3_error_code.Z3_OK)
2810  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2811  return r;
2812  }
2813 
2814  public static Z3_pattern Z3_mk_pattern(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2815  Z3_pattern r = LIB.Z3_mk_pattern(a0, a1, a2);
2817  if (err != Z3_error_code.Z3_OK)
2818  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2819  return r;
2820  }
2821 
2822  public static Z3_ast Z3_mk_bound(Z3_context a0, uint a1, Z3_sort a2) {
2823  Z3_ast r = LIB.Z3_mk_bound(a0, a1, a2);
2825  if (err != Z3_error_code.Z3_OK)
2826  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2827  return r;
2828  }
2829 
2830  public static Z3_ast Z3_mk_forall(Z3_context a0, uint a1, uint a2, [In] Z3_pattern[] a3, uint a4, [In] Z3_sort[] a5, [In] IntPtr[] a6, Z3_ast a7) {
2831  Z3_ast r = LIB.Z3_mk_forall(a0, a1, a2, a3, a4, a5, a6, a7);
2833  if (err != Z3_error_code.Z3_OK)
2834  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2835  return r;
2836  }
2837 
2838  public static Z3_ast Z3_mk_exists(Z3_context a0, uint a1, uint a2, [In] Z3_pattern[] a3, uint a4, [In] Z3_sort[] a5, [In] IntPtr[] a6, Z3_ast a7) {
2839  Z3_ast r = LIB.Z3_mk_exists(a0, a1, a2, a3, a4, a5, a6, a7);
2841  if (err != Z3_error_code.Z3_OK)
2842  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2843  return r;
2844  }
2845 
2846  public static Z3_ast Z3_mk_quantifier(Z3_context a0, int a1, uint a2, uint a3, [In] Z3_pattern[] a4, uint a5, [In] Z3_sort[] a6, [In] IntPtr[] a7, Z3_ast a8) {
2847  Z3_ast r = LIB.Z3_mk_quantifier(a0, a1, a2, a3, a4, a5, a6, a7, a8);
2849  if (err != Z3_error_code.Z3_OK)
2850  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2851  return r;
2852  }
2853 
2854  public static Z3_ast Z3_mk_quantifier_ex(Z3_context a0, int a1, uint a2, IntPtr a3, IntPtr a4, uint a5, [In] Z3_pattern[] a6, uint a7, [In] Z3_ast[] a8, uint a9, [In] Z3_sort[] a10, [In] IntPtr[] a11, Z3_ast a12) {
2855  Z3_ast r = LIB.Z3_mk_quantifier_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
2857  if (err != Z3_error_code.Z3_OK)
2858  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2859  return r;
2860  }
2861 
2862  public static Z3_ast Z3_mk_forall_const(Z3_context a0, uint a1, uint a2, [In] Z3_app[] a3, uint a4, [In] Z3_pattern[] a5, Z3_ast a6) {
2863  Z3_ast r = LIB.Z3_mk_forall_const(a0, a1, a2, a3, a4, a5, a6);
2865  if (err != Z3_error_code.Z3_OK)
2866  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2867  return r;
2868  }
2869 
2870  public static Z3_ast Z3_mk_exists_const(Z3_context a0, uint a1, uint a2, [In] Z3_app[] a3, uint a4, [In] Z3_pattern[] a5, Z3_ast a6) {
2871  Z3_ast r = LIB.Z3_mk_exists_const(a0, a1, a2, a3, a4, a5, a6);
2873  if (err != Z3_error_code.Z3_OK)
2874  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2875  return r;
2876  }
2877 
2878  public static Z3_ast Z3_mk_quantifier_const(Z3_context a0, int a1, uint a2, uint a3, [In] Z3_app[] a4, uint a5, [In] Z3_pattern[] a6, Z3_ast a7) {
2879  Z3_ast r = LIB.Z3_mk_quantifier_const(a0, a1, a2, a3, a4, a5, a6, a7);
2881  if (err != Z3_error_code.Z3_OK)
2882  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2883  return r;
2884  }
2885 
2886  public static Z3_ast Z3_mk_quantifier_const_ex(Z3_context a0, int a1, uint a2, IntPtr a3, IntPtr a4, uint a5, [In] Z3_app[] a6, uint a7, [In] Z3_pattern[] a8, uint a9, [In] Z3_ast[] a10, Z3_ast a11) {
2887  Z3_ast r = LIB.Z3_mk_quantifier_const_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
2889  if (err != Z3_error_code.Z3_OK)
2890  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2891  return r;
2892  }
2893 
2894  public static uint Z3_get_symbol_kind(Z3_context a0, IntPtr a1) {
2895  uint r = LIB.Z3_get_symbol_kind(a0, a1);
2897  if (err != Z3_error_code.Z3_OK)
2898  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2899  return r;
2900  }
2901 
2902  public static int Z3_get_symbol_int(Z3_context a0, IntPtr a1) {
2903  int r = LIB.Z3_get_symbol_int(a0, a1);
2905  if (err != Z3_error_code.Z3_OK)
2906  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2907  return r;
2908  }
2909 
2910  public static string Z3_get_symbol_string(Z3_context a0, IntPtr a1) {
2911  IntPtr r = LIB.Z3_get_symbol_string(a0, a1);
2913  if (err != Z3_error_code.Z3_OK)
2914  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2915  return Marshal.PtrToStringAnsi(r);
2916  }
2917 
2918  public static IntPtr Z3_get_sort_name(Z3_context a0, Z3_sort a1) {
2919  IntPtr r = LIB.Z3_get_sort_name(a0, a1);
2921  if (err != Z3_error_code.Z3_OK)
2922  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2923  return r;
2924  }
2925 
2926  public static uint Z3_get_sort_id(Z3_context a0, Z3_sort a1) {
2927  uint r = LIB.Z3_get_sort_id(a0, a1);
2929  if (err != Z3_error_code.Z3_OK)
2930  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2931  return r;
2932  }
2933 
2934  public static Z3_ast Z3_sort_to_ast(Z3_context a0, Z3_sort a1) {
2935  Z3_ast r = LIB.Z3_sort_to_ast(a0, a1);
2937  if (err != Z3_error_code.Z3_OK)
2938  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2939  return r;
2940  }
2941 
2942  public static int Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2) {
2943  int r = LIB.Z3_is_eq_sort(a0, a1, a2);
2945  if (err != Z3_error_code.Z3_OK)
2946  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2947  return r;
2948  }
2949 
2950  public static uint Z3_get_sort_kind(Z3_context a0, Z3_sort a1) {
2951  uint r = LIB.Z3_get_sort_kind(a0, a1);
2953  if (err != Z3_error_code.Z3_OK)
2954  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2955  return r;
2956  }
2957 
2958  public static uint Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1) {
2959  uint r = LIB.Z3_get_bv_sort_size(a0, a1);
2961  if (err != Z3_error_code.Z3_OK)
2962  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2963  return r;
2964  }
2965 
2966  public static int Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, [In, Out] ref UInt64 a2) {
2967  int r = LIB.Z3_get_finite_domain_sort_size(a0, a1, ref a2);
2969  if (err != Z3_error_code.Z3_OK)
2970  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2971  return r;
2972  }
2973 
2975  Z3_sort r = LIB.Z3_get_array_sort_domain(a0, a1);
2977  if (err != Z3_error_code.Z3_OK)
2978  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2979  return r;
2980  }
2981 
2983  Z3_sort r = LIB.Z3_get_array_sort_range(a0, a1);
2985  if (err != Z3_error_code.Z3_OK)
2986  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2987  return r;
2988  }
2989 
2993  if (err != Z3_error_code.Z3_OK)
2994  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2995  return r;
2996  }
2997 
2998  public static uint Z3_get_tuple_sort_num_fields(Z3_context a0, Z3_sort a1) {
2999  uint r = LIB.Z3_get_tuple_sort_num_fields(a0, a1);
3001  if (err != Z3_error_code.Z3_OK)
3002  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3003  return r;
3004  }
3005 
3009  if (err != Z3_error_code.Z3_OK)
3010  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3011  return r;
3012  }
3013 
3015  uint r = LIB.Z3_get_datatype_sort_num_constructors(a0, a1);
3017  if (err != Z3_error_code.Z3_OK)
3018  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3019  return r;
3020  }
3021 
3025  if (err != Z3_error_code.Z3_OK)
3026  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3027  return r;
3028  }
3029 
3033  if (err != Z3_error_code.Z3_OK)
3034  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3035  return r;
3036  }
3037 
3041  if (err != Z3_error_code.Z3_OK)
3042  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3043  return r;
3044  }
3045 
3046  public static uint Z3_get_relation_arity(Z3_context a0, Z3_sort a1) {
3047  uint r = LIB.Z3_get_relation_arity(a0, a1);
3049  if (err != Z3_error_code.Z3_OK)
3050  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3051  return r;
3052  }
3053 
3054  public static Z3_sort Z3_get_relation_column(Z3_context a0, Z3_sort a1, uint a2) {
3055  Z3_sort r = LIB.Z3_get_relation_column(a0, a1, a2);
3057  if (err != Z3_error_code.Z3_OK)
3058  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3059  return r;
3060  }
3061 
3063  Z3_ast r = LIB.Z3_func_decl_to_ast(a0, a1);
3065  if (err != Z3_error_code.Z3_OK)
3066  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3067  return r;
3068  }
3069 
3070  public static int Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2) {
3071  int r = LIB.Z3_is_eq_func_decl(a0, a1, a2);
3073  if (err != Z3_error_code.Z3_OK)
3074  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3075  return r;
3076  }
3077 
3078  public static uint Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1) {
3079  uint r = LIB.Z3_get_func_decl_id(a0, a1);
3081  if (err != Z3_error_code.Z3_OK)
3082  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3083  return r;
3084  }
3085 
3086  public static IntPtr Z3_get_decl_name(Z3_context a0, Z3_func_decl a1) {
3087  IntPtr r = LIB.Z3_get_decl_name(a0, a1);
3089  if (err != Z3_error_code.Z3_OK)
3090  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3091  return r;
3092  }
3093 
3094  public static uint Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1) {
3095  uint r = LIB.Z3_get_decl_kind(a0, a1);
3097  if (err != Z3_error_code.Z3_OK)
3098  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3099  return r;
3100  }
3101 
3102  public static uint Z3_get_domain_size(Z3_context a0, Z3_func_decl a1) {
3103  uint r = LIB.Z3_get_domain_size(a0, a1);
3105  if (err != Z3_error_code.Z3_OK)
3106  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3107  return r;
3108  }
3109 
3110  public static uint Z3_get_arity(Z3_context a0, Z3_func_decl a1) {
3111  uint r = LIB.Z3_get_arity(a0, a1);
3113  if (err != Z3_error_code.Z3_OK)
3114  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3115  return r;
3116  }
3117 
3118  public static Z3_sort Z3_get_domain(Z3_context a0, Z3_func_decl a1, uint a2) {
3119  Z3_sort r = LIB.Z3_get_domain(a0, a1, a2);
3121  if (err != Z3_error_code.Z3_OK)
3122  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3123  return r;
3124  }
3125 
3127  Z3_sort r = LIB.Z3_get_range(a0, a1);
3129  if (err != Z3_error_code.Z3_OK)
3130  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3131  return r;
3132  }
3133 
3135  uint r = LIB.Z3_get_decl_num_parameters(a0, a1);
3137  if (err != Z3_error_code.Z3_OK)
3138  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3139  return r;
3140  }
3141 
3142  public static uint Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, uint a2) {
3143  uint r = LIB.Z3_get_decl_parameter_kind(a0, a1, a2);
3145  if (err != Z3_error_code.Z3_OK)
3146  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3147  return r;
3148  }
3149 
3150  public static int Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, uint a2) {
3151  int r = LIB.Z3_get_decl_int_parameter(a0, a1, a2);
3153  if (err != Z3_error_code.Z3_OK)
3154  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3155  return r;
3156  }
3157 
3158  public static double Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, uint a2) {
3159  double r = LIB.Z3_get_decl_double_parameter(a0, a1, a2);
3161  if (err != Z3_error_code.Z3_OK)
3162  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3163  return r;
3164  }
3165 
3166  public static IntPtr Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, uint a2) {
3167  IntPtr r = LIB.Z3_get_decl_symbol_parameter(a0, a1, a2);
3169  if (err != Z3_error_code.Z3_OK)
3170  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3171  return r;
3172  }
3173 
3175  Z3_sort r = LIB.Z3_get_decl_sort_parameter(a0, a1, a2);
3177  if (err != Z3_error_code.Z3_OK)
3178  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3179  return r;
3180  }
3181 
3182  public static Z3_ast Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, uint a2) {
3183  Z3_ast r = LIB.Z3_get_decl_ast_parameter(a0, a1, a2);
3185  if (err != Z3_error_code.Z3_OK)
3186  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3187  return r;
3188  }
3189 
3193  if (err != Z3_error_code.Z3_OK)
3194  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3195  return r;
3196  }
3197 
3198  public static string Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, uint a2) {
3199  IntPtr r = LIB.Z3_get_decl_rational_parameter(a0, a1, a2);
3201  if (err != Z3_error_code.Z3_OK)
3202  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3203  return Marshal.PtrToStringAnsi(r);
3204  }
3205 
3206  public static Z3_ast Z3_app_to_ast(Z3_context a0, Z3_app a1) {
3207  Z3_ast r = LIB.Z3_app_to_ast(a0, a1);
3209  if (err != Z3_error_code.Z3_OK)
3210  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3211  return r;
3212  }
3213 
3215  Z3_func_decl r = LIB.Z3_get_app_decl(a0, a1);
3217  if (err != Z3_error_code.Z3_OK)
3218  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3219  return r;
3220  }
3221 
3222  public static uint Z3_get_app_num_args(Z3_context a0, Z3_app a1) {
3223  uint r = LIB.Z3_get_app_num_args(a0, a1);
3225  if (err != Z3_error_code.Z3_OK)
3226  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3227  return r;
3228  }
3229 
3230  public static Z3_ast Z3_get_app_arg(Z3_context a0, Z3_app a1, uint a2) {
3231  Z3_ast r = LIB.Z3_get_app_arg(a0, a1, a2);
3233  if (err != Z3_error_code.Z3_OK)
3234  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3235  return r;
3236  }
3237 
3238  public static int Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2) {
3239  int r = LIB.Z3_is_eq_ast(a0, a1, a2);
3241  if (err != Z3_error_code.Z3_OK)
3242  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3243  return r;
3244  }
3245 
3246  public static uint Z3_get_ast_id(Z3_context a0, Z3_ast a1) {
3247  uint r = LIB.Z3_get_ast_id(a0, a1);
3249  if (err != Z3_error_code.Z3_OK)
3250  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3251  return r;
3252  }
3253 
3254  public static uint Z3_get_ast_hash(Z3_context a0, Z3_ast a1) {
3255  uint r = LIB.Z3_get_ast_hash(a0, a1);
3257  if (err != Z3_error_code.Z3_OK)
3258  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3259  return r;
3260  }
3261 
3262  public static Z3_sort Z3_get_sort(Z3_context a0, Z3_ast a1) {
3263  Z3_sort r = LIB.Z3_get_sort(a0, a1);
3265  if (err != Z3_error_code.Z3_OK)
3266  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3267  return r;
3268  }
3269 
3270  public static int Z3_is_well_sorted(Z3_context a0, Z3_ast a1) {
3271  int r = LIB.Z3_is_well_sorted(a0, a1);
3273  if (err != Z3_error_code.Z3_OK)
3274  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3275  return r;
3276  }
3277 
3278  public static uint Z3_get_bool_value(Z3_context a0, Z3_ast a1) {
3279  uint r = LIB.Z3_get_bool_value(a0, a1);
3281  if (err != Z3_error_code.Z3_OK)
3282  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3283  return r;
3284  }
3285 
3286  public static uint Z3_get_ast_kind(Z3_context a0, Z3_ast a1) {
3287  uint r = LIB.Z3_get_ast_kind(a0, a1);
3289  if (err != Z3_error_code.Z3_OK)
3290  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3291  return r;
3292  }
3293 
3294  public static int Z3_is_app(Z3_context a0, Z3_ast a1) {
3295  int r = LIB.Z3_is_app(a0, a1);
3297  if (err != Z3_error_code.Z3_OK)
3298  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3299  return r;
3300  }
3301 
3302  public static int Z3_is_numeral_ast(Z3_context a0, Z3_ast a1) {
3303  int r = LIB.Z3_is_numeral_ast(a0, a1);
3305  if (err != Z3_error_code.Z3_OK)
3306  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3307  return r;
3308  }
3309 
3310  public static int Z3_is_algebraic_number(Z3_context a0, Z3_ast a1) {
3311  int r = LIB.Z3_is_algebraic_number(a0, a1);
3313  if (err != Z3_error_code.Z3_OK)
3314  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3315  return r;
3316  }
3317 
3318  public static Z3_app Z3_to_app(Z3_context a0, Z3_ast a1) {
3319  Z3_app r = LIB.Z3_to_app(a0, a1);
3321  if (err != Z3_error_code.Z3_OK)
3322  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3323  return r;
3324  }
3325 
3327  Z3_func_decl r = LIB.Z3_to_func_decl(a0, a1);
3329  if (err != Z3_error_code.Z3_OK)
3330  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3331  return r;
3332  }
3333 
3334  public static string Z3_get_numeral_string(Z3_context a0, Z3_ast a1) {
3335  IntPtr r = LIB.Z3_get_numeral_string(a0, a1);
3337  if (err != Z3_error_code.Z3_OK)
3338  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3339  return Marshal.PtrToStringAnsi(r);
3340  }
3341 
3342  public static string Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, uint a2) {
3343  IntPtr r = LIB.Z3_get_numeral_decimal_string(a0, a1, a2);
3345  if (err != Z3_error_code.Z3_OK)
3346  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3347  return Marshal.PtrToStringAnsi(r);
3348  }
3349 
3350  public static Z3_ast Z3_get_numerator(Z3_context a0, Z3_ast a1) {
3351  Z3_ast r = LIB.Z3_get_numerator(a0, a1);
3353  if (err != Z3_error_code.Z3_OK)
3354  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3355  return r;
3356  }
3357 
3358  public static Z3_ast Z3_get_denominator(Z3_context a0, Z3_ast a1) {
3359  Z3_ast r = LIB.Z3_get_denominator(a0, a1);
3361  if (err != Z3_error_code.Z3_OK)
3362  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3363  return r;
3364  }
3365 
3366  public static int Z3_get_numeral_small(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3) {
3367  int r = LIB.Z3_get_numeral_small(a0, a1, ref a2, ref a3);
3369  if (err != Z3_error_code.Z3_OK)
3370  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3371  return r;
3372  }
3373 
3374  public static int Z3_get_numeral_int(Z3_context a0, Z3_ast a1, [In, Out] ref int a2) {
3375  int r = LIB.Z3_get_numeral_int(a0, a1, ref a2);
3377  if (err != Z3_error_code.Z3_OK)
3378  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3379  return r;
3380  }
3381 
3382  public static int Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, [In, Out] ref uint a2) {
3383  int r = LIB.Z3_get_numeral_uint(a0, a1, ref a2);
3385  if (err != Z3_error_code.Z3_OK)
3386  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3387  return r;
3388  }
3389 
3390  public static int Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2) {
3391  int r = LIB.Z3_get_numeral_uint64(a0, a1, ref a2);
3393  if (err != Z3_error_code.Z3_OK)
3394  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3395  return r;
3396  }
3397 
3398  public static int Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2) {
3399  int r = LIB.Z3_get_numeral_int64(a0, a1, ref a2);
3401  if (err != Z3_error_code.Z3_OK)
3402  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3403  return r;
3404  }
3405 
3406  public static int Z3_get_numeral_rational_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3) {
3407  int r = LIB.Z3_get_numeral_rational_int64(a0, a1, ref a2, ref a3);
3409  if (err != Z3_error_code.Z3_OK)
3410  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3411  return r;
3412  }
3413 
3414  public static Z3_ast Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, uint a2) {
3415  Z3_ast r = LIB.Z3_get_algebraic_number_lower(a0, a1, a2);
3417  if (err != Z3_error_code.Z3_OK)
3418  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3419  return r;
3420  }
3421 
3422  public static Z3_ast Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, uint a2) {
3423  Z3_ast r = LIB.Z3_get_algebraic_number_upper(a0, a1, a2);
3425  if (err != Z3_error_code.Z3_OK)
3426  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3427  return r;
3428  }
3429 
3431  Z3_ast r = LIB.Z3_pattern_to_ast(a0, a1);
3433  if (err != Z3_error_code.Z3_OK)
3434  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3435  return r;
3436  }
3437 
3438  public static uint Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1) {
3439  uint r = LIB.Z3_get_pattern_num_terms(a0, a1);
3441  if (err != Z3_error_code.Z3_OK)
3442  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3443  return r;
3444  }
3445 
3446  public static Z3_ast Z3_get_pattern(Z3_context a0, Z3_pattern a1, uint a2) {
3447  Z3_ast r = LIB.Z3_get_pattern(a0, a1, a2);
3449  if (err != Z3_error_code.Z3_OK)
3450  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3451  return r;
3452  }
3453 
3454  public static uint Z3_get_index_value(Z3_context a0, Z3_ast a1) {
3455  uint r = LIB.Z3_get_index_value(a0, a1);
3457  if (err != Z3_error_code.Z3_OK)
3458  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3459  return r;
3460  }
3461 
3462  public static int Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1) {
3463  int r = LIB.Z3_is_quantifier_forall(a0, a1);
3465  if (err != Z3_error_code.Z3_OK)
3466  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3467  return r;
3468  }
3469 
3470  public static uint Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1) {
3471  uint r = LIB.Z3_get_quantifier_weight(a0, a1);
3473  if (err != Z3_error_code.Z3_OK)
3474  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3475  return r;
3476  }
3477 
3478  public static uint Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1) {
3479  uint r = LIB.Z3_get_quantifier_num_patterns(a0, a1);
3481  if (err != Z3_error_code.Z3_OK)
3482  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3483  return r;
3484  }
3485 
3489  if (err != Z3_error_code.Z3_OK)
3490  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3491  return r;
3492  }
3493 
3495  uint r = LIB.Z3_get_quantifier_num_no_patterns(a0, a1);
3497  if (err != Z3_error_code.Z3_OK)
3498  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3499  return r;
3500  }
3501 
3505  if (err != Z3_error_code.Z3_OK)
3506  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3507  return r;
3508  }
3509 
3510  public static uint Z3_get_quantifier_num_bound(Z3_context a0, Z3_ast a1) {
3511  uint r = LIB.Z3_get_quantifier_num_bound(a0, a1);
3513  if (err != Z3_error_code.Z3_OK)
3514  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3515  return r;
3516  }
3517 
3518  public static IntPtr Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, uint a2) {
3519  IntPtr r = LIB.Z3_get_quantifier_bound_name(a0, a1, a2);
3521  if (err != Z3_error_code.Z3_OK)
3522  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3523  return r;
3524  }
3525 
3526  public static Z3_sort Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, uint a2) {
3527  Z3_sort r = LIB.Z3_get_quantifier_bound_sort(a0, a1, a2);
3529  if (err != Z3_error_code.Z3_OK)
3530  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3531  return r;
3532  }
3533 
3535  Z3_ast r = LIB.Z3_get_quantifier_body(a0, a1);
3537  if (err != Z3_error_code.Z3_OK)
3538  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3539  return r;
3540  }
3541 
3542  public static Z3_ast Z3_simplify(Z3_context a0, Z3_ast a1) {
3543  Z3_ast r = LIB.Z3_simplify(a0, a1);
3545  if (err != Z3_error_code.Z3_OK)
3546  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3547  return r;
3548  }
3549 
3550  public static Z3_ast Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2) {
3551  Z3_ast r = LIB.Z3_simplify_ex(a0, a1, a2);
3553  if (err != Z3_error_code.Z3_OK)
3554  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3555  return r;
3556  }
3557 
3558  public static string Z3_simplify_get_help(Z3_context a0) {
3559  IntPtr r = LIB.Z3_simplify_get_help(a0);
3561  if (err != Z3_error_code.Z3_OK)
3562  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3563  return Marshal.PtrToStringAnsi(r);
3564  }
3565 
3569  if (err != Z3_error_code.Z3_OK)
3570  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3571  return r;
3572  }
3573 
3574  public static Z3_ast Z3_update_term(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3) {
3575  Z3_ast r = LIB.Z3_update_term(a0, a1, a2, a3);
3577  if (err != Z3_error_code.Z3_OK)
3578  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3579  return r;
3580  }
3581 
3582  public static Z3_ast Z3_substitute(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3, [In] Z3_ast[] a4) {
3583  Z3_ast r = LIB.Z3_substitute(a0, a1, a2, a3, a4);
3585  if (err != Z3_error_code.Z3_OK)
3586  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3587  return r;
3588  }
3589 
3590  public static Z3_ast Z3_substitute_vars(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3) {
3591  Z3_ast r = LIB.Z3_substitute_vars(a0, a1, a2, a3);
3593  if (err != Z3_error_code.Z3_OK)
3594  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3595  return r;
3596  }
3597 
3598  public static Z3_ast Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2) {
3599  Z3_ast r = LIB.Z3_translate(a0, a1, a2);
3601  if (err != Z3_error_code.Z3_OK)
3602  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3603  return r;
3604  }
3605 
3606  public static void Z3_model_inc_ref(Z3_context a0, Z3_model a1) {
3607  LIB.Z3_model_inc_ref(a0, a1);
3609  if (err != Z3_error_code.Z3_OK)
3610  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3611  }
3612 
3613  public static void Z3_model_dec_ref(Z3_context a0, Z3_model a1) {
3614  LIB.Z3_model_dec_ref(a0, a1);
3616  if (err != Z3_error_code.Z3_OK)
3617  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3618  }
3619 
3620  public static int Z3_model_eval(Z3_context a0, Z3_model a1, Z3_ast a2, int a3, [In, Out] ref Z3_ast a4) {
3621  int r = LIB.Z3_model_eval(a0, a1, a2, a3, ref a4);
3623  if (err != Z3_error_code.Z3_OK)
3624  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3625  return r;
3626  }
3627 
3629  Z3_ast r = LIB.Z3_model_get_const_interp(a0, a1, a2);
3631  if (err != Z3_error_code.Z3_OK)
3632  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3633  return r;
3634  }
3635 
3636  public static int Z3_model_has_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2) {
3637  int r = LIB.Z3_model_has_interp(a0, a1, a2);
3639  if (err != Z3_error_code.Z3_OK)
3640  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3641  return r;
3642  }
3643 
3647  if (err != Z3_error_code.Z3_OK)
3648  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3649  return r;
3650  }
3651 
3652  public static uint Z3_model_get_num_consts(Z3_context a0, Z3_model a1) {
3653  uint r = LIB.Z3_model_get_num_consts(a0, a1);
3655  if (err != Z3_error_code.Z3_OK)
3656  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3657  return r;
3658  }
3659 
3660  public static Z3_func_decl Z3_model_get_const_decl(Z3_context a0, Z3_model a1, uint a2) {
3661  Z3_func_decl r = LIB.Z3_model_get_const_decl(a0, a1, a2);
3663  if (err != Z3_error_code.Z3_OK)
3664  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3665  return r;
3666  }
3667 
3668  public static uint Z3_model_get_num_funcs(Z3_context a0, Z3_model a1) {
3669  uint r = LIB.Z3_model_get_num_funcs(a0, a1);
3671  if (err != Z3_error_code.Z3_OK)
3672  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3673  return r;
3674  }
3675 
3676  public static Z3_func_decl Z3_model_get_func_decl(Z3_context a0, Z3_model a1, uint a2) {
3677  Z3_func_decl r = LIB.Z3_model_get_func_decl(a0, a1, a2);
3679  if (err != Z3_error_code.Z3_OK)
3680  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3681  return r;
3682  }
3683 
3684  public static uint Z3_model_get_num_sorts(Z3_context a0, Z3_model a1) {
3685  uint r = LIB.Z3_model_get_num_sorts(a0, a1);
3687  if (err != Z3_error_code.Z3_OK)
3688  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3689  return r;
3690  }
3691 
3692  public static Z3_sort Z3_model_get_sort(Z3_context a0, Z3_model a1, uint a2) {
3693  Z3_sort r = LIB.Z3_model_get_sort(a0, a1, a2);
3695  if (err != Z3_error_code.Z3_OK)
3696  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3697  return r;
3698  }
3699 
3703  if (err != Z3_error_code.Z3_OK)
3704  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3705  return r;
3706  }
3707 
3708  public static int Z3_is_as_array(Z3_context a0, Z3_ast a1) {
3709  int r = LIB.Z3_is_as_array(a0, a1);
3711  if (err != Z3_error_code.Z3_OK)
3712  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3713  return r;
3714  }
3715 
3719  if (err != Z3_error_code.Z3_OK)
3720  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3721  return r;
3722  }
3723 
3724  public static void Z3_func_interp_inc_ref(Z3_context a0, Z3_func_interp a1) {
3725  LIB.Z3_func_interp_inc_ref(a0, a1);
3727  if (err != Z3_error_code.Z3_OK)
3728  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3729  }
3730 
3731  public static void Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1) {
3732  LIB.Z3_func_interp_dec_ref(a0, a1);
3734  if (err != Z3_error_code.Z3_OK)
3735  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3736  }
3737 
3739  uint r = LIB.Z3_func_interp_get_num_entries(a0, a1);
3741  if (err != Z3_error_code.Z3_OK)
3742  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3743  return r;
3744  }
3745 
3747  Z3_func_entry r = LIB.Z3_func_interp_get_entry(a0, a1, a2);
3749  if (err != Z3_error_code.Z3_OK)
3750  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3751  return r;
3752  }
3753 
3755  Z3_ast r = LIB.Z3_func_interp_get_else(a0, a1);
3757  if (err != Z3_error_code.Z3_OK)
3758  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3759  return r;
3760  }
3761 
3763  uint r = LIB.Z3_func_interp_get_arity(a0, a1);
3765  if (err != Z3_error_code.Z3_OK)
3766  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3767  return r;
3768  }
3769 
3770  public static void Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1) {
3771  LIB.Z3_func_entry_inc_ref(a0, a1);
3773  if (err != Z3_error_code.Z3_OK)
3774  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3775  }
3776 
3777  public static void Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1) {
3778  LIB.Z3_func_entry_dec_ref(a0, a1);
3780  if (err != Z3_error_code.Z3_OK)
3781  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3782  }
3783 
3785  Z3_ast r = LIB.Z3_func_entry_get_value(a0, a1);
3787  if (err != Z3_error_code.Z3_OK)
3788  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3789  return r;
3790  }
3791 
3793  uint r = LIB.Z3_func_entry_get_num_args(a0, a1);
3795  if (err != Z3_error_code.Z3_OK)
3796  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3797  return r;
3798  }
3799 
3800  public static Z3_ast Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, uint a2) {
3801  Z3_ast r = LIB.Z3_func_entry_get_arg(a0, a1, a2);
3803  if (err != Z3_error_code.Z3_OK)
3804  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3805  return r;
3806  }
3807 
3808  public static int Z3_open_log(string a0) {
3809  int r = LIB.Z3_open_log(a0);
3810  return r;
3811  }
3812 
3813  public static void Z3_append_log(string a0) {
3814  LIB.Z3_append_log(a0);
3815  }
3816 
3817  public static void Z3_close_log() {
3818  LIB.Z3_close_log();
3819  }
3820 
3821  public static void Z3_toggle_warning_messages(int a0) {
3823  }
3824 
3825  public static void Z3_set_ast_print_mode(Z3_context a0, uint a1) {
3826  LIB.Z3_set_ast_print_mode(a0, a1);
3828  if (err != Z3_error_code.Z3_OK)
3829  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3830  }
3831 
3832  public static string Z3_ast_to_string(Z3_context a0, Z3_ast a1) {
3833  IntPtr r = LIB.Z3_ast_to_string(a0, a1);
3835  if (err != Z3_error_code.Z3_OK)
3836  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3837  return Marshal.PtrToStringAnsi(r);
3838  }
3839 
3840  public static string Z3_pattern_to_string(Z3_context a0, Z3_pattern a1) {
3841  IntPtr r = LIB.Z3_pattern_to_string(a0, a1);
3843  if (err != Z3_error_code.Z3_OK)
3844  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3845  return Marshal.PtrToStringAnsi(r);
3846  }
3847 
3848  public static string Z3_sort_to_string(Z3_context a0, Z3_sort a1) {
3849  IntPtr r = LIB.Z3_sort_to_string(a0, a1);
3851  if (err != Z3_error_code.Z3_OK)
3852  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3853  return Marshal.PtrToStringAnsi(r);
3854  }
3855 
3856  public static string Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1) {
3857  IntPtr r = LIB.Z3_func_decl_to_string(a0, a1);
3859  if (err != Z3_error_code.Z3_OK)
3860  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3861  return Marshal.PtrToStringAnsi(r);
3862  }
3863 
3864  public static string Z3_model_to_string(Z3_context a0, Z3_model a1) {
3865  IntPtr r = LIB.Z3_model_to_string(a0, a1);
3867  if (err != Z3_error_code.Z3_OK)
3868  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3869  return Marshal.PtrToStringAnsi(r);
3870  }
3871 
3872  public static string Z3_benchmark_to_smtlib_string(Z3_context a0, string a1, string a2, string a3, string a4, uint a5, [In] Z3_ast[] a6, Z3_ast a7) {
3873  IntPtr r = LIB.Z3_benchmark_to_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7);
3875  if (err != Z3_error_code.Z3_OK)
3876  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3877  return Marshal.PtrToStringAnsi(r);
3878  }
3879 
3880  public static Z3_ast Z3_parse_smtlib2_string(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7) {
3881  Z3_ast r = LIB.Z3_parse_smtlib2_string(a0, a1, a2, a3, a4, a5, a6, a7);
3883  if (err != Z3_error_code.Z3_OK)
3884  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3885  return r;
3886  }
3887 
3888  public static Z3_ast Z3_parse_smtlib2_file(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7) {
3889  Z3_ast r = LIB.Z3_parse_smtlib2_file(a0, a1, a2, a3, a4, a5, a6, a7);
3891  if (err != Z3_error_code.Z3_OK)
3892  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3893  return r;
3894  }
3895 
3896  public static void Z3_parse_smtlib_string(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7) {
3897  LIB.Z3_parse_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7);
3899  if (err != Z3_error_code.Z3_OK)
3900  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3901  }
3902 
3903  public static void Z3_parse_smtlib_file(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7) {
3904  LIB.Z3_parse_smtlib_file(a0, a1, a2, a3, a4, a5, a6, a7);
3906  if (err != Z3_error_code.Z3_OK)
3907  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3908  }
3909 
3910  public static uint Z3_get_smtlib_num_formulas(Z3_context a0) {
3911  uint r = LIB.Z3_get_smtlib_num_formulas(a0);
3913  if (err != Z3_error_code.Z3_OK)
3914  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3915  return r;
3916  }
3917 
3918  public static Z3_ast Z3_get_smtlib_formula(Z3_context a0, uint a1) {
3919  Z3_ast r = LIB.Z3_get_smtlib_formula(a0, a1);
3921  if (err != Z3_error_code.Z3_OK)
3922  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3923  return r;
3924  }
3925 
3927  uint r = LIB.Z3_get_smtlib_num_assumptions(a0);
3929  if (err != Z3_error_code.Z3_OK)
3930  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3931  return r;
3932  }
3933 
3934  public static Z3_ast Z3_get_smtlib_assumption(Z3_context a0, uint a1) {
3935  Z3_ast r = LIB.Z3_get_smtlib_assumption(a0, a1);
3937  if (err != Z3_error_code.Z3_OK)
3938  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3939  return r;
3940  }
3941 
3942  public static uint Z3_get_smtlib_num_decls(Z3_context a0) {
3943  uint r = LIB.Z3_get_smtlib_num_decls(a0);
3945  if (err != Z3_error_code.Z3_OK)
3946  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3947  return r;
3948  }
3949 
3950  public static Z3_func_decl Z3_get_smtlib_decl(Z3_context a0, uint a1) {
3951  Z3_func_decl r = LIB.Z3_get_smtlib_decl(a0, a1);
3953  if (err != Z3_error_code.Z3_OK)
3954  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3955  return r;
3956  }
3957 
3958  public static uint Z3_get_smtlib_num_sorts(Z3_context a0) {
3959  uint r = LIB.Z3_get_smtlib_num_sorts(a0);
3961  if (err != Z3_error_code.Z3_OK)
3962  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3963  return r;
3964  }
3965 
3966  public static Z3_sort Z3_get_smtlib_sort(Z3_context a0, uint a1) {
3967  Z3_sort r = LIB.Z3_get_smtlib_sort(a0, a1);
3969  if (err != Z3_error_code.Z3_OK)
3970  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3971  return r;
3972  }
3973 
3974  public static string Z3_get_smtlib_error(Z3_context a0) {
3975  IntPtr r = LIB.Z3_get_smtlib_error(a0);
3977  if (err != Z3_error_code.Z3_OK)
3978  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3979  return Marshal.PtrToStringAnsi(r);
3980  }
3981 
3982  public static uint Z3_get_error_code(Z3_context a0) {
3983  uint r = LIB.Z3_get_error_code(a0);
3984  return r;
3985  }
3986 
3987  public static void Z3_set_error(Z3_context a0, uint a1) {
3988  LIB.Z3_set_error(a0, a1);
3990  if (err != Z3_error_code.Z3_OK)
3991  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3992  }
3993 
3994  public static string Z3_get_error_msg(uint a0) {
3995  IntPtr r = LIB.Z3_get_error_msg(a0);
3996  return Marshal.PtrToStringAnsi(r);
3997  }
3998 
3999  public static string Z3_get_error_msg_ex(Z3_context a0, uint a1) {
4000  IntPtr r = LIB.Z3_get_error_msg_ex(a0, a1);
4002  if (err != Z3_error_code.Z3_OK)
4003  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4004  return Marshal.PtrToStringAnsi(r);
4005  }
4006 
4007  public static void Z3_get_version([In, Out] ref uint a0, [In, Out] ref uint a1, [In, Out] ref uint a2, [In, Out] ref uint a3) {
4008  LIB.Z3_get_version(ref a0, ref a1, ref a2, ref a3);
4009  }
4010 
4011  public static void Z3_enable_trace(string a0) {
4012  LIB.Z3_enable_trace(a0);
4013  }
4014 
4015  public static void Z3_disable_trace(string a0) {
4016  LIB.Z3_disable_trace(a0);
4017  }
4018 
4019  public static void Z3_reset_memory() {
4020  LIB.Z3_reset_memory();
4021  }
4022 
4026  if (err != Z3_error_code.Z3_OK)
4027  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4028  return r;
4029  }
4030 
4031  public static void Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1) {
4032  LIB.Z3_fixedpoint_inc_ref(a0, a1);
4034  if (err != Z3_error_code.Z3_OK)
4035  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4036  }
4037 
4038  public static void Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1) {
4039  LIB.Z3_fixedpoint_dec_ref(a0, a1);
4041  if (err != Z3_error_code.Z3_OK)
4042  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4043  }
4044 
4045  public static void Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3) {
4046  LIB.Z3_fixedpoint_add_rule(a0, a1, a2, a3);
4048  if (err != Z3_error_code.Z3_OK)
4049  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4050  }
4051 
4052  public static void Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] uint[] a4) {
4053  LIB.Z3_fixedpoint_add_fact(a0, a1, a2, a3, a4);
4055  if (err != Z3_error_code.Z3_OK)
4056  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4057  }
4058 
4059  public static void Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2) {
4060  LIB.Z3_fixedpoint_assert(a0, a1, a2);
4062  if (err != Z3_error_code.Z3_OK)
4063  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4064  }
4065 
4066  public static int Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2) {
4067  int r = LIB.Z3_fixedpoint_query(a0, a1, a2);
4069  if (err != Z3_error_code.Z3_OK)
4070  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4071  return r;
4072  }
4073 
4074  public static int Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_func_decl[] a3) {
4075  int r = LIB.Z3_fixedpoint_query_relations(a0, a1, a2, a3);
4077  if (err != Z3_error_code.Z3_OK)
4078  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4079  return r;
4080  }
4081 
4083  Z3_ast r = LIB.Z3_fixedpoint_get_answer(a0, a1);
4085  if (err != Z3_error_code.Z3_OK)
4086  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4087  return r;
4088  }
4089 
4091  IntPtr r = LIB.Z3_fixedpoint_get_reason_unknown(a0, a1);
4093  if (err != Z3_error_code.Z3_OK)
4094  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4095  return Marshal.PtrToStringAnsi(r);
4096  }
4097 
4098  public static void Z3_fixedpoint_update_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3) {
4099  LIB.Z3_fixedpoint_update_rule(a0, a1, a2, a3);
4101  if (err != Z3_error_code.Z3_OK)
4102  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4103  }
4104 
4106  uint r = LIB.Z3_fixedpoint_get_num_levels(a0, a1, a2);
4108  if (err != Z3_error_code.Z3_OK)
4109  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4110  return r;
4111  }
4112 
4114  Z3_ast r = LIB.Z3_fixedpoint_get_cover_delta(a0, a1, a2, a3);
4116  if (err != Z3_error_code.Z3_OK)
4117  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4118  return r;
4119  }
4120 
4121  public static void Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4) {
4122  LIB.Z3_fixedpoint_add_cover(a0, a1, a2, a3, a4);
4124  if (err != Z3_error_code.Z3_OK)
4125  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4126  }
4127 
4131  if (err != Z3_error_code.Z3_OK)
4132  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4133  return r;
4134  }
4135 
4139  if (err != Z3_error_code.Z3_OK)
4140  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4141  }
4142 
4143  public static void Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] IntPtr[] a4) {
4144  LIB.Z3_fixedpoint_set_predicate_representation(a0, a1, a2, a3, a4);
4146  if (err != Z3_error_code.Z3_OK)
4147  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4148  }
4149 
4153  if (err != Z3_error_code.Z3_OK)
4154  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4155  return r;
4156  }
4157 
4161  if (err != Z3_error_code.Z3_OK)
4162  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4163  return r;
4164  }
4165 
4167  LIB.Z3_fixedpoint_set_params(a0, a1, a2);
4169  if (err != Z3_error_code.Z3_OK)
4170  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4171  }
4172 
4173  public static string Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1) {
4174  IntPtr r = LIB.Z3_fixedpoint_get_help(a0, a1);
4176  if (err != Z3_error_code.Z3_OK)
4177  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4178  return Marshal.PtrToStringAnsi(r);
4179  }
4180 
4184  if (err != Z3_error_code.Z3_OK)
4185  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4186  return r;
4187  }
4188 
4189  public static string Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3) {
4190  IntPtr r = LIB.Z3_fixedpoint_to_string(a0, a1, a2, a3);
4192  if (err != Z3_error_code.Z3_OK)
4193  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4194  return Marshal.PtrToStringAnsi(r);
4195  }
4196 
4200  if (err != Z3_error_code.Z3_OK)
4201  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4202  return r;
4203  }
4204 
4206  Z3_ast_vector r = LIB.Z3_fixedpoint_from_file(a0, a1, a2);
4208  if (err != Z3_error_code.Z3_OK)
4209  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4210  return r;
4211  }
4212 
4213  public static void Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1) {
4214  LIB.Z3_fixedpoint_push(a0, a1);
4216  if (err != Z3_error_code.Z3_OK)
4217  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4218  }
4219 
4220  public static void Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1) {
4221  LIB.Z3_fixedpoint_pop(a0, a1);
4223  if (err != Z3_error_code.Z3_OK)
4224  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4225  }
4226 
4230  if (err != Z3_error_code.Z3_OK)
4231  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4232  return r;
4233  }
4234 
4235  public static void Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1) {
4236  LIB.Z3_ast_vector_inc_ref(a0, a1);
4238  if (err != Z3_error_code.Z3_OK)
4239  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4240  }
4241 
4242  public static void Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1) {
4243  LIB.Z3_ast_vector_dec_ref(a0, a1);
4245  if (err != Z3_error_code.Z3_OK)
4246  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4247  }
4248 
4249  public static uint Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1) {
4250  uint r = LIB.Z3_ast_vector_size(a0, a1);
4252  if (err != Z3_error_code.Z3_OK)
4253  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4254  return r;
4255  }
4256 
4257  public static Z3_ast Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, uint a2) {
4258  Z3_ast r = LIB.Z3_ast_vector_get(a0, a1, a2);
4260  if (err != Z3_error_code.Z3_OK)
4261  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4262  return r;
4263  }
4264 
4265  public static void Z3_ast_vector_set(Z3_context a0, Z3_ast_vector a1, uint a2, Z3_ast a3) {
4266  LIB.Z3_ast_vector_set(a0, a1, a2, a3);
4268  if (err != Z3_error_code.Z3_OK)
4269  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4270  }
4271 
4272  public static void Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, uint a2) {
4273  LIB.Z3_ast_vector_resize(a0, a1, a2);
4275  if (err != Z3_error_code.Z3_OK)
4276  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4277  }
4278 
4279  public static void Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2) {
4280  LIB.Z3_ast_vector_push(a0, a1, a2);
4282  if (err != Z3_error_code.Z3_OK)
4283  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4284  }
4285 
4287  Z3_ast_vector r = LIB.Z3_ast_vector_translate(a0, a1, a2);
4289  if (err != Z3_error_code.Z3_OK)
4290  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4291  return r;
4292  }
4293 
4294  public static string Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1) {
4295  IntPtr r = LIB.Z3_ast_vector_to_string(a0, a1);
4297  if (err != Z3_error_code.Z3_OK)
4298  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4299  return Marshal.PtrToStringAnsi(r);
4300  }
4301 
4303  Z3_ast_map r = LIB.Z3_mk_ast_map(a0);
4305  if (err != Z3_error_code.Z3_OK)
4306  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4307  return r;
4308  }
4309 
4310  public static void Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1) {
4311  LIB.Z3_ast_map_inc_ref(a0, a1);
4313  if (err != Z3_error_code.Z3_OK)
4314  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4315  }
4316 
4317  public static void Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1) {
4318  LIB.Z3_ast_map_dec_ref(a0, a1);
4320  if (err != Z3_error_code.Z3_OK)
4321  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4322  }
4323 
4324  public static int Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2) {
4325  int r = LIB.Z3_ast_map_contains(a0, a1, a2);
4327  if (err != Z3_error_code.Z3_OK)
4328  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4329  return r;
4330  }
4331 
4332  public static Z3_ast Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2) {
4333  Z3_ast r = LIB.Z3_ast_map_find(a0, a1, a2);
4335  if (err != Z3_error_code.Z3_OK)
4336  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4337  return r;
4338  }
4339 
4340  public static void Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3) {
4341  LIB.Z3_ast_map_insert(a0, a1, a2, a3);
4343  if (err != Z3_error_code.Z3_OK)
4344  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4345  }
4346 
4347  public static void Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2) {
4348  LIB.Z3_ast_map_erase(a0, a1, a2);
4350  if (err != Z3_error_code.Z3_OK)
4351  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4352  }
4353 
4354  public static void Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1) {
4355  LIB.Z3_ast_map_reset(a0, a1);
4357  if (err != Z3_error_code.Z3_OK)
4358  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4359  }
4360 
4361  public static uint Z3_ast_map_size(Z3_context a0, Z3_ast_map a1) {
4362  uint r = LIB.Z3_ast_map_size(a0, a1);
4364  if (err != Z3_error_code.Z3_OK)
4365  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4366  return r;
4367  }
4368 
4370  Z3_ast_vector r = LIB.Z3_ast_map_keys(a0, a1);
4372  if (err != Z3_error_code.Z3_OK)
4373  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4374  return r;
4375  }
4376 
4377  public static string Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1) {
4378  IntPtr r = LIB.Z3_ast_map_to_string(a0, a1);
4380  if (err != Z3_error_code.Z3_OK)
4381  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4382  return Marshal.PtrToStringAnsi(r);
4383  }
4384 
4385  public static Z3_goal Z3_mk_goal(Z3_context a0, int a1, int a2, int a3) {
4386  Z3_goal r = LIB.Z3_mk_goal(a0, a1, a2, a3);
4388  if (err != Z3_error_code.Z3_OK)
4389  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4390  return r;
4391  }
4392 
4393  public static void Z3_goal_inc_ref(Z3_context a0, Z3_goal a1) {
4394  LIB.Z3_goal_inc_ref(a0, a1);
4396  if (err != Z3_error_code.Z3_OK)
4397  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4398  }
4399 
4400  public static void Z3_goal_dec_ref(Z3_context a0, Z3_goal a1) {
4401  LIB.Z3_goal_dec_ref(a0, a1);
4403  if (err != Z3_error_code.Z3_OK)
4404  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4405  }
4406 
4407  public static uint Z3_goal_precision(Z3_context a0, Z3_goal a1) {
4408  uint r = LIB.Z3_goal_precision(a0, a1);
4410  if (err != Z3_error_code.Z3_OK)
4411  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4412  return r;
4413  }
4414 
4415  public static void Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2) {
4416  LIB.Z3_goal_assert(a0, a1, a2);
4418  if (err != Z3_error_code.Z3_OK)
4419  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4420  }
4421 
4422  public static int Z3_goal_inconsistent(Z3_context a0, Z3_goal a1) {
4423  int r = LIB.Z3_goal_inconsistent(a0, a1);
4425  if (err != Z3_error_code.Z3_OK)
4426  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4427  return r;
4428  }
4429 
4430  public static uint Z3_goal_depth(Z3_context a0, Z3_goal a1) {
4431  uint r = LIB.Z3_goal_depth(a0, a1);
4433  if (err != Z3_error_code.Z3_OK)
4434  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4435  return r;
4436  }
4437 
4438  public static void Z3_goal_reset(Z3_context a0, Z3_goal a1) {
4439  LIB.Z3_goal_reset(a0, a1);
4441  if (err != Z3_error_code.Z3_OK)
4442  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4443  }
4444 
4445  public static uint Z3_goal_size(Z3_context a0, Z3_goal a1) {
4446  uint r = LIB.Z3_goal_size(a0, a1);
4448  if (err != Z3_error_code.Z3_OK)
4449  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4450  return r;
4451  }
4452 
4453  public static Z3_ast Z3_goal_formula(Z3_context a0, Z3_goal a1, uint a2) {
4454  Z3_ast r = LIB.Z3_goal_formula(a0, a1, a2);
4456  if (err != Z3_error_code.Z3_OK)
4457  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4458  return r;
4459  }
4460 
4461  public static uint Z3_goal_num_exprs(Z3_context a0, Z3_goal a1) {
4462  uint r = LIB.Z3_goal_num_exprs(a0, a1);
4464  if (err != Z3_error_code.Z3_OK)
4465  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4466  return r;
4467  }
4468 
4469  public static int Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1) {
4470  int r = LIB.Z3_goal_is_decided_sat(a0, a1);
4472  if (err != Z3_error_code.Z3_OK)
4473  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4474  return r;
4475  }
4476 
4477  public static int Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1) {
4478  int r = LIB.Z3_goal_is_decided_unsat(a0, a1);
4480  if (err != Z3_error_code.Z3_OK)
4481  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4482  return r;
4483  }
4484 
4486  Z3_goal r = LIB.Z3_goal_translate(a0, a1, a2);
4488  if (err != Z3_error_code.Z3_OK)
4489  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4490  return r;
4491  }
4492 
4493  public static string Z3_goal_to_string(Z3_context a0, Z3_goal a1) {
4494  IntPtr r = LIB.Z3_goal_to_string(a0, a1);
4496  if (err != Z3_error_code.Z3_OK)
4497  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4498  return Marshal.PtrToStringAnsi(r);
4499  }
4500 
4501  public static Z3_tactic Z3_mk_tactic(Z3_context a0, string a1) {
4502  Z3_tactic r = LIB.Z3_mk_tactic(a0, a1);
4504  if (err != Z3_error_code.Z3_OK)
4505  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4506  return r;
4507  }
4508 
4509  public static void Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1) {
4510  LIB.Z3_tactic_inc_ref(a0, a1);
4512  if (err != Z3_error_code.Z3_OK)
4513  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4514  }
4515 
4516  public static void Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1) {
4517  LIB.Z3_tactic_dec_ref(a0, a1);
4519  if (err != Z3_error_code.Z3_OK)
4520  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4521  }
4522 
4523  public static Z3_probe Z3_mk_probe(Z3_context a0, string a1) {
4524  Z3_probe r = LIB.Z3_mk_probe(a0, a1);
4526  if (err != Z3_error_code.Z3_OK)
4527  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4528  return r;
4529  }
4530 
4531  public static void Z3_probe_inc_ref(Z3_context a0, Z3_probe a1) {
4532  LIB.Z3_probe_inc_ref(a0, a1);
4534  if (err != Z3_error_code.Z3_OK)
4535  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4536  }
4537 
4538  public static void Z3_probe_dec_ref(Z3_context a0, Z3_probe a1) {
4539  LIB.Z3_probe_dec_ref(a0, a1);
4541  if (err != Z3_error_code.Z3_OK)
4542  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4543  }
4544 
4546  Z3_tactic r = LIB.Z3_tactic_and_then(a0, a1, a2);
4548  if (err != Z3_error_code.Z3_OK)
4549  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4550  return r;
4551  }
4552 
4554  Z3_tactic r = LIB.Z3_tactic_or_else(a0, a1, a2);
4556  if (err != Z3_error_code.Z3_OK)
4557  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4558  return r;
4559  }
4560 
4561  public static Z3_tactic Z3_tactic_par_or(Z3_context a0, uint a1, [In] Z3_tactic[] a2) {
4562  Z3_tactic r = LIB.Z3_tactic_par_or(a0, a1, a2);
4564  if (err != Z3_error_code.Z3_OK)
4565  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4566  return r;
4567  }
4568 
4570  Z3_tactic r = LIB.Z3_tactic_par_and_then(a0, a1, a2);
4572  if (err != Z3_error_code.Z3_OK)
4573  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4574  return r;
4575  }
4576 
4577  public static Z3_tactic Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, uint a2) {
4578  Z3_tactic r = LIB.Z3_tactic_try_for(a0, a1, a2);
4580  if (err != Z3_error_code.Z3_OK)
4581  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4582  return r;
4583  }
4584 
4586  Z3_tactic r = LIB.Z3_tactic_when(a0, a1, a2);
4588  if (err != Z3_error_code.Z3_OK)
4589  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4590  return r;
4591  }
4592 
4594  Z3_tactic r = LIB.Z3_tactic_cond(a0, a1, a2, a3);
4596  if (err != Z3_error_code.Z3_OK)
4597  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4598  return r;
4599  }
4600 
4601  public static Z3_tactic Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, uint a2) {
4602  Z3_tactic r = LIB.Z3_tactic_repeat(a0, a1, a2);
4604  if (err != Z3_error_code.Z3_OK)
4605  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4606  return r;
4607  }
4608 
4610  Z3_tactic r = LIB.Z3_tactic_skip(a0);
4612  if (err != Z3_error_code.Z3_OK)
4613  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4614  return r;
4615  }
4616 
4618  Z3_tactic r = LIB.Z3_tactic_fail(a0);
4620  if (err != Z3_error_code.Z3_OK)
4621  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4622  return r;
4623  }
4624 
4626  Z3_tactic r = LIB.Z3_tactic_fail_if(a0, a1);
4628  if (err != Z3_error_code.Z3_OK)
4629  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4630  return r;
4631  }
4632 
4636  if (err != Z3_error_code.Z3_OK)
4637  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4638  return r;
4639  }
4640 
4642  Z3_tactic r = LIB.Z3_tactic_using_params(a0, a1, a2);
4644  if (err != Z3_error_code.Z3_OK)
4645  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4646  return r;
4647  }
4648 
4649  public static Z3_probe Z3_probe_const(Z3_context a0, double a1) {
4650  Z3_probe r = LIB.Z3_probe_const(a0, a1);
4652  if (err != Z3_error_code.Z3_OK)
4653  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4654  return r;
4655  }
4656 
4657  public static Z3_probe Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2) {
4658  Z3_probe r = LIB.Z3_probe_lt(a0, a1, a2);
4660  if (err != Z3_error_code.Z3_OK)
4661  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4662  return r;
4663  }
4664 
4665  public static Z3_probe Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2) {
4666  Z3_probe r = LIB.Z3_probe_gt(a0, a1, a2);
4668  if (err != Z3_error_code.Z3_OK)
4669  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4670  return r;
4671  }
4672 
4673  public static Z3_probe Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2) {
4674  Z3_probe r = LIB.Z3_probe_le(a0, a1, a2);
4676  if (err != Z3_error_code.Z3_OK)
4677  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4678  return r;
4679  }
4680 
4681  public static Z3_probe Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2) {
4682  Z3_probe r = LIB.Z3_probe_ge(a0, a1, a2);
4684  if (err != Z3_error_code.Z3_OK)
4685  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4686  return r;
4687  }
4688 
4689  public static Z3_probe Z3_probe_eq(Z3_context a0, Z3_probe a1, Z3_probe a2) {
4690  Z3_probe r = LIB.Z3_probe_eq(a0, a1, a2);
4692  if (err != Z3_error_code.Z3_OK)
4693  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4694  return r;
4695  }
4696 
4697  public static Z3_probe Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2) {
4698  Z3_probe r = LIB.Z3_probe_and(a0, a1, a2);
4700  if (err != Z3_error_code.Z3_OK)
4701  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4702  return r;
4703  }
4704 
4705  public static Z3_probe Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2) {
4706  Z3_probe r = LIB.Z3_probe_or(a0, a1, a2);
4708  if (err != Z3_error_code.Z3_OK)
4709  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4710  return r;
4711  }
4712 
4713  public static Z3_probe Z3_probe_not(Z3_context a0, Z3_probe a1) {
4714  Z3_probe r = LIB.Z3_probe_not(a0, a1);
4716  if (err != Z3_error_code.Z3_OK)
4717  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4718  return r;
4719  }
4720 
4721  public static uint Z3_get_num_tactics(Z3_context a0) {
4722  uint r = LIB.Z3_get_num_tactics(a0);
4724  if (err != Z3_error_code.Z3_OK)
4725  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4726  return r;
4727  }
4728 
4729  public static string Z3_get_tactic_name(Z3_context a0, uint a1) {
4730  IntPtr r = LIB.Z3_get_tactic_name(a0, a1);
4732  if (err != Z3_error_code.Z3_OK)
4733  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4734  return Marshal.PtrToStringAnsi(r);
4735  }
4736 
4737  public static uint Z3_get_num_probes(Z3_context a0) {
4738  uint r = LIB.Z3_get_num_probes(a0);
4740  if (err != Z3_error_code.Z3_OK)
4741  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4742  return r;
4743  }
4744 
4745  public static string Z3_get_probe_name(Z3_context a0, uint a1) {
4746  IntPtr r = LIB.Z3_get_probe_name(a0, a1);
4748  if (err != Z3_error_code.Z3_OK)
4749  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4750  return Marshal.PtrToStringAnsi(r);
4751  }
4752 
4753  public static string Z3_tactic_get_help(Z3_context a0, Z3_tactic a1) {
4754  IntPtr r = LIB.Z3_tactic_get_help(a0, a1);
4756  if (err != Z3_error_code.Z3_OK)
4757  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4758  return Marshal.PtrToStringAnsi(r);
4759  }
4760 
4764  if (err != Z3_error_code.Z3_OK)
4765  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4766  return r;
4767  }
4768 
4769  public static string Z3_tactic_get_descr(Z3_context a0, string a1) {
4770  IntPtr r = LIB.Z3_tactic_get_descr(a0, a1);
4772  if (err != Z3_error_code.Z3_OK)
4773  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4774  return Marshal.PtrToStringAnsi(r);
4775  }
4776 
4777  public static string Z3_probe_get_descr(Z3_context a0, string a1) {
4778  IntPtr r = LIB.Z3_probe_get_descr(a0, a1);
4780  if (err != Z3_error_code.Z3_OK)
4781  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4782  return Marshal.PtrToStringAnsi(r);
4783  }
4784 
4785  public static double Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2) {
4786  double r = LIB.Z3_probe_apply(a0, a1, a2);
4788  if (err != Z3_error_code.Z3_OK)
4789  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4790  return r;
4791  }
4792 
4794  Z3_apply_result r = LIB.Z3_tactic_apply(a0, a1, a2);
4796  if (err != Z3_error_code.Z3_OK)
4797  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4798  return r;
4799  }
4800 
4802  Z3_apply_result r = LIB.Z3_tactic_apply_ex(a0, a1, a2, a3);
4804  if (err != Z3_error_code.Z3_OK)
4805  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4806  return r;
4807  }
4808 
4810  LIB.Z3_apply_result_inc_ref(a0, a1);
4812  if (err != Z3_error_code.Z3_OK)
4813  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4814  }
4815 
4817  LIB.Z3_apply_result_dec_ref(a0, a1);
4819  if (err != Z3_error_code.Z3_OK)
4820  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4821  }
4822 
4824  IntPtr r = LIB.Z3_apply_result_to_string(a0, a1);
4826  if (err != Z3_error_code.Z3_OK)
4827  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4828  return Marshal.PtrToStringAnsi(r);
4829  }
4830 
4832  uint r = LIB.Z3_apply_result_get_num_subgoals(a0, a1);
4834  if (err != Z3_error_code.Z3_OK)
4835  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4836  return r;
4837  }
4838 
4840  Z3_goal r = LIB.Z3_apply_result_get_subgoal(a0, a1, a2);
4842  if (err != Z3_error_code.Z3_OK)
4843  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4844  return r;
4845  }
4846 
4848  Z3_model r = LIB.Z3_apply_result_convert_model(a0, a1, a2, a3);
4850  if (err != Z3_error_code.Z3_OK)
4851  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4852  return r;
4853  }
4854 
4855  public static Z3_solver Z3_mk_solver(Z3_context a0) {
4856  Z3_solver r = LIB.Z3_mk_solver(a0);
4858  if (err != Z3_error_code.Z3_OK)
4859  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4860  return r;
4861  }
4862 
4866  if (err != Z3_error_code.Z3_OK)
4867  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4868  return r;
4869  }
4870 
4871  public static Z3_solver Z3_mk_solver_for_logic(Z3_context a0, IntPtr a1) {
4872  Z3_solver r = LIB.Z3_mk_solver_for_logic(a0, a1);
4874  if (err != Z3_error_code.Z3_OK)
4875  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4876  return r;
4877  }
4878 
4882  if (err != Z3_error_code.Z3_OK)
4883  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4884  return r;
4885  }
4886 
4887  public static string Z3_solver_get_help(Z3_context a0, Z3_solver a1) {
4888  IntPtr r = LIB.Z3_solver_get_help(a0, a1);
4890  if (err != Z3_error_code.Z3_OK)
4891  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4892  return Marshal.PtrToStringAnsi(r);
4893  }
4894 
4898  if (err != Z3_error_code.Z3_OK)
4899  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4900  return r;
4901  }
4902 
4903  public static void Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2) {
4904  LIB.Z3_solver_set_params(a0, a1, a2);
4906  if (err != Z3_error_code.Z3_OK)
4907  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4908  }
4909 
4910  public static void Z3_solver_inc_ref(Z3_context a0, Z3_solver a1) {
4911  LIB.Z3_solver_inc_ref(a0, a1);
4913  if (err != Z3_error_code.Z3_OK)
4914  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4915  }
4916 
4917  public static void Z3_solver_dec_ref(Z3_context a0, Z3_solver a1) {
4918  LIB.Z3_solver_dec_ref(a0, a1);
4920  if (err != Z3_error_code.Z3_OK)
4921  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4922  }
4923 
4924  public static void Z3_solver_push(Z3_context a0, Z3_solver a1) {
4925  LIB.Z3_solver_push(a0, a1);
4927  if (err != Z3_error_code.Z3_OK)
4928  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4929  }
4930 
4931  public static void Z3_solver_pop(Z3_context a0, Z3_solver a1, uint a2) {
4932  LIB.Z3_solver_pop(a0, a1, a2);
4934  if (err != Z3_error_code.Z3_OK)
4935  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4936  }
4937 
4938  public static void Z3_solver_reset(Z3_context a0, Z3_solver a1) {
4939  LIB.Z3_solver_reset(a0, a1);
4941  if (err != Z3_error_code.Z3_OK)
4942  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4943  }
4944 
4945  public static uint Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1) {
4946  uint r = LIB.Z3_solver_get_num_scopes(a0, a1);
4948  if (err != Z3_error_code.Z3_OK)
4949  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4950  return r;
4951  }
4952 
4953  public static void Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2) {
4954  LIB.Z3_solver_assert(a0, a1, a2);
4956  if (err != Z3_error_code.Z3_OK)
4957  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4958  }
4959 
4960  public static void Z3_solver_assert_and_track(Z3_context a0, Z3_solver a1, Z3_ast a2, Z3_ast a3) {
4961  LIB.Z3_solver_assert_and_track(a0, a1, a2, a3);
4963  if (err != Z3_error_code.Z3_OK)
4964  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4965  }
4966 
4970  if (err != Z3_error_code.Z3_OK)
4971  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4972  return r;
4973  }
4974 
4975  public static int Z3_solver_check(Z3_context a0, Z3_solver a1) {
4976  int r = LIB.Z3_solver_check(a0, a1);
4978  if (err != Z3_error_code.Z3_OK)
4979  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4980  return r;
4981  }
4982 
4983  public static int Z3_solver_check_assumptions(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3) {
4984  int r = LIB.Z3_solver_check_assumptions(a0, a1, a2, a3);
4986  if (err != Z3_error_code.Z3_OK)
4987  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4988  return r;
4989  }
4990 
4992  Z3_model r = LIB.Z3_solver_get_model(a0, a1);
4994  if (err != Z3_error_code.Z3_OK)
4995  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4996  return r;
4997  }
4998 
5000  Z3_ast r = LIB.Z3_solver_get_proof(a0, a1);
5002  if (err != Z3_error_code.Z3_OK)
5003  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5004  return r;
5005  }
5006 
5010  if (err != Z3_error_code.Z3_OK)
5011  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5012  return r;
5013  }
5014 
5015  public static string Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1) {
5016  IntPtr r = LIB.Z3_solver_get_reason_unknown(a0, a1);
5018  if (err != Z3_error_code.Z3_OK)
5019  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5020  return Marshal.PtrToStringAnsi(r);
5021  }
5022 
5026  if (err != Z3_error_code.Z3_OK)
5027  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5028  return r;
5029  }
5030 
5031  public static string Z3_solver_to_string(Z3_context a0, Z3_solver a1) {
5032  IntPtr r = LIB.Z3_solver_to_string(a0, a1);
5034  if (err != Z3_error_code.Z3_OK)
5035  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5036  return Marshal.PtrToStringAnsi(r);
5037  }
5038 
5039  public static string Z3_stats_to_string(Z3_context a0, Z3_stats a1) {
5040  IntPtr r = LIB.Z3_stats_to_string(a0, a1);
5042  if (err != Z3_error_code.Z3_OK)
5043  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5044  return Marshal.PtrToStringAnsi(r);
5045  }
5046 
5047  public static void Z3_stats_inc_ref(Z3_context a0, Z3_stats a1) {
5048  LIB.Z3_stats_inc_ref(a0, a1);
5050  if (err != Z3_error_code.Z3_OK)
5051  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5052  }
5053 
5054  public static void Z3_stats_dec_ref(Z3_context a0, Z3_stats a1) {
5055  LIB.Z3_stats_dec_ref(a0, a1);
5057  if (err != Z3_error_code.Z3_OK)
5058  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5059  }
5060 
5061  public static uint Z3_stats_size(Z3_context a0, Z3_stats a1) {
5062  uint r = LIB.Z3_stats_size(a0, a1);
5064  if (err != Z3_error_code.Z3_OK)
5065  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5066  return r;
5067  }
5068 
5069  public static string Z3_stats_get_key(Z3_context a0, Z3_stats a1, uint a2) {
5070  IntPtr r = LIB.Z3_stats_get_key(a0, a1, a2);
5072  if (err != Z3_error_code.Z3_OK)
5073  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5074  return Marshal.PtrToStringAnsi(r);
5075  }
5076 
5077  public static int Z3_stats_is_uint(Z3_context a0, Z3_stats a1, uint a2) {
5078  int r = LIB.Z3_stats_is_uint(a0, a1, a2);
5080  if (err != Z3_error_code.Z3_OK)
5081  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5082  return r;
5083  }
5084 
5085  public static int Z3_stats_is_double(Z3_context a0, Z3_stats a1, uint a2) {
5086  int r = LIB.Z3_stats_is_double(a0, a1, a2);
5088  if (err != Z3_error_code.Z3_OK)
5089  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5090  return r;
5091  }
5092 
5093  public static uint Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, uint a2) {
5094  uint r = LIB.Z3_stats_get_uint_value(a0, a1, a2);
5096  if (err != Z3_error_code.Z3_OK)
5097  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5098  return r;
5099  }
5100 
5101  public static double Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, uint a2) {
5102  double r = LIB.Z3_stats_get_double_value(a0, a1, a2);
5104  if (err != Z3_error_code.Z3_OK)
5105  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5106  return r;
5107  }
5108 
5109  public static Z3_func_decl Z3_mk_injective_function(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4) {
5110  Z3_func_decl r = LIB.Z3_mk_injective_function(a0, a1, a2, a3, a4);
5112  if (err != Z3_error_code.Z3_OK)
5113  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5114  return r;
5115  }
5116 
5117  public static void Z3_set_logic(Z3_context a0, string a1) {
5118  LIB.Z3_set_logic(a0, a1);
5120  if (err != Z3_error_code.Z3_OK)
5121  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5122  }
5123 
5124  public static void Z3_push(Z3_context a0) {
5125  LIB.Z3_push(a0);
5127  if (err != Z3_error_code.Z3_OK)
5128  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5129  }
5130 
5131  public static void Z3_pop(Z3_context a0, uint a1) {
5132  LIB.Z3_pop(a0, a1);
5134  if (err != Z3_error_code.Z3_OK)
5135  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5136  }
5137 
5138  public static uint Z3_get_num_scopes(Z3_context a0) {
5139  uint r = LIB.Z3_get_num_scopes(a0);
5141  if (err != Z3_error_code.Z3_OK)
5142  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5143  return r;
5144  }
5145 
5146  public static void Z3_persist_ast(Z3_context a0, Z3_ast a1, uint a2) {
5147  LIB.Z3_persist_ast(a0, a1, a2);
5149  if (err != Z3_error_code.Z3_OK)
5150  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5151  }
5152 
5153  public static void Z3_assert_cnstr(Z3_context a0, Z3_ast a1) {
5154  LIB.Z3_assert_cnstr(a0, a1);
5156  if (err != Z3_error_code.Z3_OK)
5157  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5158  }
5159 
5160  public static int Z3_check_and_get_model(Z3_context a0, [In, Out] ref Z3_model a1) {
5161  int r = LIB.Z3_check_and_get_model(a0, ref a1);
5163  if (err != Z3_error_code.Z3_OK)
5164  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5165  return r;
5166  }
5167 
5168  public static int Z3_check(Z3_context a0) {
5169  int r = LIB.Z3_check(a0);
5171  if (err != Z3_error_code.Z3_OK)
5172  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5173  return r;
5174  }
5175 
5176  public static int Z3_check_assumptions(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In, Out] ref Z3_model a3, [In, Out] ref Z3_ast a4, [In, Out] ref uint a5, [Out] Z3_ast[] a6) {
5177  int r = LIB.Z3_check_assumptions(a0, a1, a2, ref a3, ref a4, ref a5, a6);
5179  if (err != Z3_error_code.Z3_OK)
5180  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5181  return r;
5182  }
5183 
5184  public static uint Z3_get_implied_equalities(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3, [Out] uint[] a4) {
5185  uint r = LIB.Z3_get_implied_equalities(a0, a1, a2, a3, a4);
5187  if (err != Z3_error_code.Z3_OK)
5188  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5189  return r;
5190  }
5191 
5192  public static void Z3_del_model(Z3_context a0, Z3_model a1) {
5193  LIB.Z3_del_model(a0, a1);
5195  if (err != Z3_error_code.Z3_OK)
5196  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5197  }
5198 
5199  public static void Z3_soft_check_cancel(Z3_context a0) {
5202  if (err != Z3_error_code.Z3_OK)
5203  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5204  }
5205 
5206  public static uint Z3_get_search_failure(Z3_context a0) {
5207  uint r = LIB.Z3_get_search_failure(a0);
5209  if (err != Z3_error_code.Z3_OK)
5210  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5211  return r;
5212  }
5213 
5214  public static Z3_ast Z3_mk_label(Z3_context a0, IntPtr a1, int a2, Z3_ast a3) {
5215  Z3_ast r = LIB.Z3_mk_label(a0, a1, a2, a3);
5217  if (err != Z3_error_code.Z3_OK)
5218  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5219  return r;
5220  }
5221 
5225  if (err != Z3_error_code.Z3_OK)
5226  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5227  return r;
5228  }
5229 
5233  if (err != Z3_error_code.Z3_OK)
5234  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5235  return r;
5236  }
5237 
5241  if (err != Z3_error_code.Z3_OK)
5242  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5243  return r;
5244  }
5245 
5246  public static void Z3_del_literals(Z3_context a0, Z3_literals a1) {
5247  LIB.Z3_del_literals(a0, a1);
5249  if (err != Z3_error_code.Z3_OK)
5250  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5251  }
5252 
5253  public static uint Z3_get_num_literals(Z3_context a0, Z3_literals a1) {
5254  uint r = LIB.Z3_get_num_literals(a0, a1);
5256  if (err != Z3_error_code.Z3_OK)
5257  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5258  return r;
5259  }
5260 
5261  public static IntPtr Z3_get_label_symbol(Z3_context a0, Z3_literals a1, uint a2) {
5262  IntPtr r = LIB.Z3_get_label_symbol(a0, a1, a2);
5264  if (err != Z3_error_code.Z3_OK)
5265  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5266  return r;
5267  }
5268 
5269  public static Z3_ast Z3_get_literal(Z3_context a0, Z3_literals a1, uint a2) {
5270  Z3_ast r = LIB.Z3_get_literal(a0, a1, a2);
5272  if (err != Z3_error_code.Z3_OK)
5273  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5274  return r;
5275  }
5276 
5277  public static void Z3_disable_literal(Z3_context a0, Z3_literals a1, uint a2) {
5278  LIB.Z3_disable_literal(a0, a1, a2);
5280  if (err != Z3_error_code.Z3_OK)
5281  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5282  }
5283 
5284  public static void Z3_block_literals(Z3_context a0, Z3_literals a1) {
5285  LIB.Z3_block_literals(a0, a1);
5287  if (err != Z3_error_code.Z3_OK)
5288  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5289  }
5290 
5291  public static uint Z3_get_model_num_constants(Z3_context a0, Z3_model a1) {
5292  uint r = LIB.Z3_get_model_num_constants(a0, a1);
5294  if (err != Z3_error_code.Z3_OK)
5295  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5296  return r;
5297  }
5298 
5299  public static Z3_func_decl Z3_get_model_constant(Z3_context a0, Z3_model a1, uint a2) {
5300  Z3_func_decl r = LIB.Z3_get_model_constant(a0, a1, a2);
5302  if (err != Z3_error_code.Z3_OK)
5303  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5304  return r;
5305  }
5306 
5307  public static uint Z3_get_model_num_funcs(Z3_context a0, Z3_model a1) {
5308  uint r = LIB.Z3_get_model_num_funcs(a0, a1);
5310  if (err != Z3_error_code.Z3_OK)
5311  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5312  return r;
5313  }
5314 
5315  public static Z3_func_decl Z3_get_model_func_decl(Z3_context a0, Z3_model a1, uint a2) {
5316  Z3_func_decl r = LIB.Z3_get_model_func_decl(a0, a1, a2);
5318  if (err != Z3_error_code.Z3_OK)
5319  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5320  return r;
5321  }
5322 
5323  public static int Z3_eval_func_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, [In, Out] ref Z3_ast a3) {
5324  int r = LIB.Z3_eval_func_decl(a0, a1, a2, ref a3);
5326  if (err != Z3_error_code.Z3_OK)
5327  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5328  return r;
5329  }
5330 
5331  public static int Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref uint a3) {
5332  int r = LIB.Z3_is_array_value(a0, a1, a2, ref a3);
5334  if (err != Z3_error_code.Z3_OK)
5335  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5336  return r;
5337  }
5338 
5339  public static void Z3_get_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, uint a3, [Out] Z3_ast[] a4, [Out] Z3_ast[] a5, [In, Out] ref Z3_ast a6) {
5340  LIB.Z3_get_array_value(a0, a1, a2, a3, a4, a5, ref a6);
5342  if (err != Z3_error_code.Z3_OK)
5343  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5344  }
5345 
5346  public static Z3_ast Z3_get_model_func_else(Z3_context a0, Z3_model a1, uint a2) {
5347  Z3_ast r = LIB.Z3_get_model_func_else(a0, a1, a2);
5349  if (err != Z3_error_code.Z3_OK)
5350  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5351  return r;
5352  }
5353 
5354  public static uint Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, uint a2) {
5355  uint r = LIB.Z3_get_model_func_num_entries(a0, a1, a2);
5357  if (err != Z3_error_code.Z3_OK)
5358  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5359  return r;
5360  }
5361 
5362  public static uint Z3_get_model_func_entry_num_args(Z3_context a0, Z3_model a1, uint a2, uint a3) {
5363  uint r = LIB.Z3_get_model_func_entry_num_args(a0, a1, a2, a3);
5365  if (err != Z3_error_code.Z3_OK)
5366  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5367  return r;
5368  }
5369 
5370  public static Z3_ast Z3_get_model_func_entry_arg(Z3_context a0, Z3_model a1, uint a2, uint a3, uint a4) {
5371  Z3_ast r = LIB.Z3_get_model_func_entry_arg(a0, a1, a2, a3, a4);
5373  if (err != Z3_error_code.Z3_OK)
5374  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5375  return r;
5376  }
5377 
5378  public static Z3_ast Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, uint a2, uint a3) {
5379  Z3_ast r = LIB.Z3_get_model_func_entry_value(a0, a1, a2, a3);
5381  if (err != Z3_error_code.Z3_OK)
5382  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5383  return r;
5384  }
5385 
5386  public static int Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref Z3_ast a3) {
5387  int r = LIB.Z3_eval(a0, a1, a2, ref a3);
5389  if (err != Z3_error_code.Z3_OK)
5390  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5391  return r;
5392  }
5393 
5394  public static int Z3_eval_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, uint a3, [In] Z3_ast[] a4, [In, Out] ref Z3_ast a5) {
5395  int r = LIB.Z3_eval_decl(a0, a1, a2, a3, a4, ref a5);
5397  if (err != Z3_error_code.Z3_OK)
5398  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5399  return r;
5400  }
5401 
5402  public static string Z3_context_to_string(Z3_context a0) {
5403  IntPtr r = LIB.Z3_context_to_string(a0);
5405  if (err != Z3_error_code.Z3_OK)
5406  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5407  return Marshal.PtrToStringAnsi(r);
5408  }
5409 
5410  public static string Z3_statistics_to_string(Z3_context a0) {
5411  IntPtr r = LIB.Z3_statistics_to_string(a0);
5413  if (err != Z3_error_code.Z3_OK)
5414  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5415  return Marshal.PtrToStringAnsi(r);
5416  }
5417 
5421  if (err != Z3_error_code.Z3_OK)
5422  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5423  return r;
5424  }
5425 
5426  public static int Z3_algebraic_is_value(Z3_context a0, Z3_ast a1) {
5427  int r = LIB.Z3_algebraic_is_value(a0, a1);
5429  if (err != Z3_error_code.Z3_OK)
5430  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5431  return r;
5432  }
5433 
5434  public static int Z3_algebraic_is_pos(Z3_context a0, Z3_ast a1) {
5435  int r = LIB.Z3_algebraic_is_pos(a0, a1);
5437  if (err != Z3_error_code.Z3_OK)
5438  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5439  return r;
5440  }
5441 
5442  public static int Z3_algebraic_is_neg(Z3_context a0, Z3_ast a1) {
5443  int r = LIB.Z3_algebraic_is_neg(a0, a1);
5445  if (err != Z3_error_code.Z3_OK)
5446  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5447  return r;
5448  }
5449 
5450  public static int Z3_algebraic_is_zero(Z3_context a0, Z3_ast a1) {
5451  int r = LIB.Z3_algebraic_is_zero(a0, a1);
5453  if (err != Z3_error_code.Z3_OK)
5454  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5455  return r;
5456  }
5457 
5458  public static int Z3_algebraic_sign(Z3_context a0, Z3_ast a1) {
5459  int r = LIB.Z3_algebraic_sign(a0, a1);
5461  if (err != Z3_error_code.Z3_OK)
5462  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5463  return r;
5464  }
5465 
5466  public static Z3_ast Z3_algebraic_add(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5467  Z3_ast r = LIB.Z3_algebraic_add(a0, a1, a2);
5469  if (err != Z3_error_code.Z3_OK)
5470  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5471  return r;
5472  }
5473 
5474  public static Z3_ast Z3_algebraic_sub(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5475  Z3_ast r = LIB.Z3_algebraic_sub(a0, a1, a2);
5477  if (err != Z3_error_code.Z3_OK)
5478  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5479  return r;
5480  }
5481 
5482  public static Z3_ast Z3_algebraic_mul(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5483  Z3_ast r = LIB.Z3_algebraic_mul(a0, a1, a2);
5485  if (err != Z3_error_code.Z3_OK)
5486  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5487  return r;
5488  }
5489 
5490  public static Z3_ast Z3_algebraic_div(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5491  Z3_ast r = LIB.Z3_algebraic_div(a0, a1, a2);
5493  if (err != Z3_error_code.Z3_OK)
5494  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5495  return r;
5496  }
5497 
5498  public static Z3_ast Z3_algebraic_root(Z3_context a0, Z3_ast a1, uint a2) {
5499  Z3_ast r = LIB.Z3_algebraic_root(a0, a1, a2);
5501  if (err != Z3_error_code.Z3_OK)
5502  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5503  return r;
5504  }
5505 
5506  public static Z3_ast Z3_algebraic_power(Z3_context a0, Z3_ast a1, uint a2) {
5507  Z3_ast r = LIB.Z3_algebraic_power(a0, a1, a2);
5509  if (err != Z3_error_code.Z3_OK)
5510  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5511  return r;
5512  }
5513 
5514  public static int Z3_algebraic_lt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5515  int r = LIB.Z3_algebraic_lt(a0, a1, a2);
5517  if (err != Z3_error_code.Z3_OK)
5518  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5519  return r;
5520  }
5521 
5522  public static int Z3_algebraic_gt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5523  int r = LIB.Z3_algebraic_gt(a0, a1, a2);
5525  if (err != Z3_error_code.Z3_OK)
5526  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5527  return r;
5528  }
5529 
5530  public static int Z3_algebraic_le(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5531  int r = LIB.Z3_algebraic_le(a0, a1, a2);
5533  if (err != Z3_error_code.Z3_OK)
5534  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5535  return r;
5536  }
5537 
5538  public static int Z3_algebraic_ge(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5539  int r = LIB.Z3_algebraic_ge(a0, a1, a2);
5541  if (err != Z3_error_code.Z3_OK)
5542  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5543  return r;
5544  }
5545 
5546  public static int Z3_algebraic_eq(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5547  int r = LIB.Z3_algebraic_eq(a0, a1, a2);
5549  if (err != Z3_error_code.Z3_OK)
5550  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5551  return r;
5552  }
5553 
5554  public static int Z3_algebraic_neq(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5555  int r = LIB.Z3_algebraic_neq(a0, a1, a2);
5557  if (err != Z3_error_code.Z3_OK)
5558  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5559  return r;
5560  }
5561 
5562  public static Z3_ast_vector Z3_algebraic_roots(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3) {
5563  Z3_ast_vector r = LIB.Z3_algebraic_roots(a0, a1, a2, a3);
5565  if (err != Z3_error_code.Z3_OK)
5566  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5567  return r;
5568  }
5569 
5570  public static int Z3_algebraic_eval(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3) {
5571  int r = LIB.Z3_algebraic_eval(a0, a1, a2, a3);
5573  if (err != Z3_error_code.Z3_OK)
5574  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5575  return r;
5576  }
5577 
5579  Z3_ast_vector r = LIB.Z3_polynomial_subresultants(a0, a1, a2, a3);
5581  if (err != Z3_error_code.Z3_OK)
5582  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5583  return r;
5584  }
5585 
5586  public static void Z3_rcf_del(Z3_context a0, Z3_rcf_num a1) {
5587  LIB.Z3_rcf_del(a0, a1);
5589  if (err != Z3_error_code.Z3_OK)
5590  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5591  }
5592 
5593  public static Z3_rcf_num Z3_rcf_mk_rational(Z3_context a0, string a1) {
5594  Z3_rcf_num r = LIB.Z3_rcf_mk_rational(a0, a1);
5596  if (err != Z3_error_code.Z3_OK)
5597  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5598  return r;
5599  }
5600 
5601  public static Z3_rcf_num Z3_rcf_mk_small_int(Z3_context a0, int a1) {
5602  Z3_rcf_num r = LIB.Z3_rcf_mk_small_int(a0, a1);
5604  if (err != Z3_error_code.Z3_OK)
5605  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5606  return r;
5607  }
5608 
5609  public static Z3_rcf_num Z3_rcf_mk_pi(Z3_context a0) {
5610  Z3_rcf_num r = LIB.Z3_rcf_mk_pi(a0);
5612  if (err != Z3_error_code.Z3_OK)
5613  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5614  return r;
5615  }
5616 
5617  public static Z3_rcf_num Z3_rcf_mk_e(Z3_context a0) {
5618  Z3_rcf_num r = LIB.Z3_rcf_mk_e(a0);
5620  if (err != Z3_error_code.Z3_OK)
5621  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5622  return r;
5623  }
5624 
5628  if (err != Z3_error_code.Z3_OK)
5629  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5630  return r;
5631  }
5632 
5633  public static uint Z3_rcf_mk_roots(Z3_context a0, uint a1, [In] Z3_rcf_num[] a2, [Out] Z3_rcf_num[] a3) {
5634  uint r = LIB.Z3_rcf_mk_roots(a0, a1, a2, a3);
5636  if (err != Z3_error_code.Z3_OK)
5637  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5638  return r;
5639  }
5640 
5642  Z3_rcf_num r = LIB.Z3_rcf_add(a0, a1, a2);
5644  if (err != Z3_error_code.Z3_OK)
5645  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5646  return r;
5647  }
5648 
5650  Z3_rcf_num r = LIB.Z3_rcf_sub(a0, a1, a2);
5652  if (err != Z3_error_code.Z3_OK)
5653  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5654  return r;
5655  }
5656 
5658  Z3_rcf_num r = LIB.Z3_rcf_mul(a0, a1, a2);
5660  if (err != Z3_error_code.Z3_OK)
5661  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5662  return r;
5663  }
5664 
5666  Z3_rcf_num r = LIB.Z3_rcf_div(a0, a1, a2);
5668  if (err != Z3_error_code.Z3_OK)
5669  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5670  return r;
5671  }
5672 
5673  public static Z3_rcf_num Z3_rcf_neg(Z3_context a0, Z3_rcf_num a1) {
5674  Z3_rcf_num r = LIB.Z3_rcf_neg(a0, a1);
5676  if (err != Z3_error_code.Z3_OK)
5677  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5678  return r;
5679  }
5680 
5681  public static Z3_rcf_num Z3_rcf_inv(Z3_context a0, Z3_rcf_num a1) {
5682  Z3_rcf_num r = LIB.Z3_rcf_inv(a0, a1);
5684  if (err != Z3_error_code.Z3_OK)
5685  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5686  return r;
5687  }
5688 
5689  public static Z3_rcf_num Z3_rcf_power(Z3_context a0, Z3_rcf_num a1, uint a2) {
5690  Z3_rcf_num r = LIB.Z3_rcf_power(a0, a1, a2);
5692  if (err != Z3_error_code.Z3_OK)
5693  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5694  return r;
5695  }
5696 
5697  public static int Z3_rcf_lt(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2) {
5698  int r = LIB.Z3_rcf_lt(a0, a1, a2);
5700  if (err != Z3_error_code.Z3_OK)
5701  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5702  return r;
5703  }
5704 
5705  public static int Z3_rcf_gt(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2) {
5706  int r = LIB.Z3_rcf_gt(a0, a1, a2);
5708  if (err != Z3_error_code.Z3_OK)
5709  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5710  return r;
5711  }
5712 
5713  public static int Z3_rcf_le(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2) {
5714  int r = LIB.Z3_rcf_le(a0, a1, a2);
5716  if (err != Z3_error_code.Z3_OK)
5717  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5718  return r;
5719  }
5720 
5721  public static int Z3_rcf_ge(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2) {
5722  int r = LIB.Z3_rcf_ge(a0, a1, a2);
5724  if (err != Z3_error_code.Z3_OK)
5725  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5726  return r;
5727  }
5728 
5729  public static int Z3_rcf_eq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2) {
5730  int r = LIB.Z3_rcf_eq(a0, a1, a2);
5732  if (err != Z3_error_code.Z3_OK)
5733  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5734  return r;
5735  }
5736 
5737  public static int Z3_rcf_neq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2) {
5738  int r = LIB.Z3_rcf_neq(a0, a1, a2);
5740  if (err != Z3_error_code.Z3_OK)
5741  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5742  return r;
5743  }
5744 
5745  public static string Z3_rcf_num_to_string(Z3_context a0, Z3_rcf_num a1, int a2, int a3) {
5746  IntPtr r = LIB.Z3_rcf_num_to_string(a0, a1, a2, a3);
5748  if (err != Z3_error_code.Z3_OK)
5749  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5750  return Marshal.PtrToStringAnsi(r);
5751  }
5752 
5753  public static string Z3_rcf_num_to_decimal_string(Z3_context a0, Z3_rcf_num a1, uint a2) {
5754  IntPtr r = LIB.Z3_rcf_num_to_decimal_string(a0, a1, a2);
5756  if (err != Z3_error_code.Z3_OK)
5757  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5758  return Marshal.PtrToStringAnsi(r);
5759  }
5760 
5761  public static void Z3_rcf_get_numerator_denominator(Z3_context a0, Z3_rcf_num a1, [In, Out] ref Z3_rcf_num a2, [In, Out] ref Z3_rcf_num a3) {
5762  LIB.Z3_rcf_get_numerator_denominator(a0, a1, ref a2, ref a3);
5764  if (err != Z3_error_code.Z3_OK)
5765  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5766  }
5767 
5768  public static Z3_ast Z3_mk_interpolant(Z3_context a0, Z3_ast a1) {
5769  Z3_ast r = LIB.Z3_mk_interpolant(a0, a1);
5771  if (err != Z3_error_code.Z3_OK)
5772  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5773  return r;
5774  }
5775 
5778  return r;
5779  }
5780 
5782  Z3_ast_vector r = LIB.Z3_get_interpolant(a0, a1, a2, a3);
5784  if (err != Z3_error_code.Z3_OK)
5785  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5786  return r;
5787  }
5788 
5789  public static int Z3_compute_interpolant(Z3_context a0, Z3_ast a1, Z3_params a2, [In, Out] ref Z3_ast_vector a3, [In, Out] ref Z3_model a4) {
5790  int r = LIB.Z3_compute_interpolant(a0, a1, a2, ref a3, ref a4);
5792  if (err != Z3_error_code.Z3_OK)
5793  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5794  return r;
5795  }
5796 
5797  public static string Z3_interpolation_profile(Z3_context a0) {
5798  IntPtr r = LIB.Z3_interpolation_profile(a0);
5800  if (err != Z3_error_code.Z3_OK)
5801  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5802  return Marshal.PtrToStringAnsi(r);
5803  }
5804 
5805  public static int Z3_read_interpolation_problem(Z3_context a0, [In, Out] ref uint a1, [Out] out Z3_ast[] a2, [Out] out uint[] a3, string a4, out IntPtr a5, [In, Out] ref uint a6, [Out] out Z3_ast[] a7) {
5806  int r = LIB.Z3_read_interpolation_problem(a0, ref a1, out a2, out a3, a4, out a5, ref a6, out a7);
5808  if (err != Z3_error_code.Z3_OK)
5809  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5810  return r;
5811  }
5812 
5813  public static int Z3_check_interpolant(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In] uint[] a3, [In] Z3_ast[] a4, out IntPtr a5, uint a6, [In] Z3_ast[] a7) {
5814  int r = LIB.Z3_check_interpolant(a0, a1, a2, a3, a4, out a5, a6, a7);
5816  if (err != Z3_error_code.Z3_OK)
5817  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5818  return r;
5819  }
5820 
5821  public static void Z3_write_interpolation_problem(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In] uint[] a3, string a4, uint a5, [In] Z3_ast[] a6) {
5822  LIB.Z3_write_interpolation_problem(a0, a1, a2, a3, a4, a5, a6);
5824  if (err != Z3_error_code.Z3_OK)
5825  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5826  }
5827 
5828  }
5829 
5830 }
5831 
static uint Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1)
Definition: Native.cs:1834
static string Z3_rcf_num_to_decimal_string(Z3_context a0, Z3_rcf_num a1, uint a2)
Definition: Native.cs:5753
Z3_bool Z3_API Z3_eval(__in Z3_context c, __in Z3_model m, __in Z3_ast t, __out Z3_ast *v)
Evaluate the AST node t in the given model. Return Z3_TRUE if succeeded, and store the result in v...
Z3_bool Z3_API Z3_algebraic_is_value(__in Z3_context c, __in Z3_ast a)
Return Z3_TRUE if can be used as value in the Z3 real algebraic number package.
static Z3_ast Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2350
static void Z3_params_set_uint(Z3_context a0, Z3_params a1, IntPtr a2, uint a3)
Definition: Native.cs:1776
static void Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4038
static IntPtr Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3166
static Z3_ast Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2)
static int Z3_solver_check_assumptions(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3)
Definition: Native.cs:4983
Z3_ast Z3_API Z3_mk_bvadd_no_overflow(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2, Z3_bool is_signed)
Create a predicate that checks that the bit-wise addition of t1 and t2 does not overflow.
static Z3_func_decl Z3_mk_fresh_func_decl(Z3_context a0, string a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4)
Definition: Native.cs:2030
static Z3_solver Z3_mk_solver_from_tactic(Z3_context a0, Z3_tactic a1)
Definition: Native.cs:4879
static void Z3_goal_dec_ref(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4400
static int Z3_open_log(string a0)
Definition: Native.cs:3808
static Z3_ast Z3_mk_bv2int(Z3_context a0, Z3_ast a1, int a2)
static void Z3_query_constructor(Z3_context a0, Z3_constructor a1, uint a2, [In, Out] ref Z3_func_decl a3, [In, Out] ref Z3_func_decl a4, [Out] Z3_func_decl[] a5)
static void Z3_reset_memory()
Z3_ast Z3_API Z3_mk_const(__in Z3_context c, __in Z3_symbol s, __in Z3_sort ty)
Declare and create a constant.
static Z3_param_descrs Z3_fixedpoint_get_param_descrs(Z3_context a0, Z3_fixedpoint a1)
Z3_lbool Z3_API Z3_check_and_get_model(__in Z3_context c, __out Z3_model *m)
Check whether the given logical context is consistent or not.
Z3_bool Z3_API Z3_algebraic_eq(__in Z3_context c, __in Z3_ast a, __in Z3_ast b)
Return Z3_TRUE if a == b, and Z3_FALSE otherwise.
Z3_string Z3_API Z3_ast_map_to_string(__in Z3_context c, __in Z3_ast_map m)
Convert the given map into a string.
static uint Z3_goal_precision(Z3_context a0, Z3_goal a1)
static Z3_sort Z3_mk_tuple_sort(Z3_context a0, IntPtr a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, [In, Out] ref Z3_func_decl a5, [Out] Z3_func_decl[] a6)
Definition: Native.cs:1930
static Z3_ast Z3_mk_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3)
Definition: Native.cs:2574
Z3_ast Z3_API Z3_mk_power(__in Z3_context c, __in Z3_ast arg1, __in Z3_ast arg2)
Create an AST node representing arg1^arg2.
static Z3_sort Z3_mk_uninterpreted_sort(Z3_context a0, IntPtr a1)
Definition: Native.cs:1874
static string Z3_get_tactic_name(Z3_context a0, uint a1)
Definition: Native.cs:4729
static void Z3_solver_pop(Z3_context a0, Z3_solver a1, uint a2)
Definition: Native.cs:4931
static void Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1)
static void Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4213
static Z3_ast Z3_mk_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2)
static uint Z3_goal_num_exprs(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4461
static void Z3_model_inc_ref(Z3_context a0, Z3_model a1)
Definition: Native.cs:3606
Z3_tactic Z3_API Z3_tactic_par_and_then(__in Z3_context c, __in Z3_tactic t1, __in Z3_tactic t2)
Return a tactic that applies t1 to a given goal and then t2 to every subgoal produced by t1...
static Z3_tactic Z3_tactic_or_else(Z3_context a0, Z3_tactic a1, Z3_tactic a2)
Definition: Native.cs:4553
static void Z3_solver_assert_and_track(Z3_context a0, Z3_solver a1, Z3_ast a2, Z3_ast a3)
static IntPtr Z3_get_sort_name(Z3_context a0, Z3_sort a1)
Definition: Native.cs:2918
Z3_ast Z3_API Z3_mk_iff(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Create an AST node representing t1 iff t2.
Z3_ast Z3_API Z3_mk_ext_rotate_right(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Rotate bits of t1 to the right t2 times.
static Z3_ast Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, uint a2)
Definition: Native.cs:4257
Z3_ast Z3_API Z3_mk_forall_const(__in Z3_context c, unsigned weight, unsigned num_bound, __in_ecount(num_bound) Z3_app const bound[], unsigned num_patterns, __in_ecount(num_patterns) Z3_pattern const patterns[], __in Z3_ast body)
Create a universal quantifier using a list of constants that will form the set of bound variables...
static Z3_sort Z3_mk_list_sort(Z3_context a0, IntPtr a1, Z3_sort a2, [In, Out] ref Z3_func_decl a3, [In, Out] ref Z3_func_decl a4, [In, Out] ref Z3_func_decl a5, [In, Out] ref Z3_func_decl a6, [In, Out] ref Z3_func_decl a7, [In, Out] ref Z3_func_decl a8)
Definition: Native.cs:1946
static double Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
static string Z3_stats_to_string(Z3_context a0, Z3_stats a1)
Definition: Native.cs:5039
Z3_bool Z3_API Z3_is_well_sorted(__in Z3_context c, __in Z3_ast t)
Return true if the given expression t is well sorted.
static Z3_func_decl Z3_mk_injective_function(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4)
static double Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, uint a2)
Definition: Native.cs:5101
static Z3_func_decl Z3_get_model_constant(Z3_context a0, Z3_model a1, uint a2)
Definition: Native.cs:5299
static Z3_ast Z3_get_smtlib_formula(Z3_context a0, uint a1)
Definition: Native.cs:3918
static Z3_ast Z3_mk_bvneg_no_overflow(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2614
void Z3_API Z3_fixedpoint_assert(__in Z3_context c, __in Z3_fixedpoint d, __in Z3_ast axiom)
Assert a constraint to the fixedpoint context.
static Z3_sort Z3_get_array_sort_range(Z3_context a0, Z3_sort a1)
Definition: Native.cs:2982
static Z3_ast Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2)
void Z3_API Z3_solver_assert_and_track(__in Z3_context c, __in Z3_solver s, __in Z3_ast a, __in Z3_ast p)
Assert a constraint a into the solver, and track it (in the unsat) core using the Boolean constant p...
static Z3_sort Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, uint a2)
Z3_ast Z3_API Z3_mk_bvule(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Unsigned less than or equal to.
Z3_context Z3_API Z3_mk_context_rc(__in Z3_config c)
Create a context using the given configuration. This function is similar to Z3_mk_context. However, in the context returned by this function, the user is responsible for managing Z3_ast reference counters. Managing reference counters is a burden and error-prone, but allows the user to use the memory more efficiently. The user must invoke Z3_inc_ref for any Z3_ast returned by Z3, and Z3_dec_ref whenever the Z3_ast is not needed anymore. This idiom is similar to the one used in BDD (binary decision diagrams) packages such as CUDD.
static Z3_tactic Z3_tactic_par_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2)
Definition: Native.cs:4569
static void Z3_push(Z3_context a0)
Z3_ast Z3_API Z3_translate(__in Z3_context source, __in Z3_ast a, __in Z3_context target)
Translate/Copy the AST a from context source to context target. AST a must have been created using co...
Z3_ast Z3_API Z3_mk_mul(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[])
Create an AST node representing args[0] * ... * args[num_args-1].The array args must have num_args el...
Z3_bool Z3_API Z3_algebraic_neq(__in Z3_context c, __in Z3_ast a, __in Z3_ast b)
Return Z3_TRUE if a != b, and Z3_FALSE otherwise.
Z3_sort Z3_API Z3_mk_bool_sort(__in Z3_context c)
Create the Boolean type.
static Z3_rcf_num Z3_rcf_div(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
static int Z3_algebraic_is_zero(Z3_context a0, Z3_ast a1)
Definition: Native.cs:5450
Z3_string Z3_API Z3_solver_to_string(__in Z3_context c, __in Z3_solver s)
Convert a solver into a string.
static void Z3_block_literals(Z3_context a0, Z3_literals a1)
Definition: Native.cs:5284
Z3_string Z3_API Z3_fixedpoint_get_help(__in Z3_context c, __in Z3_fixedpoint f)
Return a string describing all fixedpoint available parameters.
static void Z3_inc_ref(Z3_context a0, Z3_ast a1)
static uint Z3_get_model_num_funcs(Z3_context a0, Z3_model a1)
Definition: Native.cs:5307
Z3_ast_vector Z3_API Z3_model_get_sort_universe(__in Z3_context c, __in Z3_model m, __in Z3_sort s)
Return the finite set of distinct values that represent the interpretation for sort s...
static Z3_ast Z3_update_term(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3)
Definition: Native.cs:3574
Z3_string Z3_API Z3_func_decl_to_string(__in Z3_context c, __in Z3_func_decl d)
Z3_lbool Z3_API Z3_solver_check(__in Z3_context c, __in Z3_solver s)
Check whether the assertions in a given solver are consistent or not.
Z3_ast Z3_API Z3_algebraic_power(__in Z3_context c, __in Z3_ast a, __in unsigned k)
Return the a^k.
static Z3_ast Z3_mk_zero_ext(Z3_context a0, uint a1, Z3_ast a2)
static Z3_rcf_num Z3_rcf_add(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:5641
void Z3_API Z3_inc_ref(__in Z3_context c, __in Z3_ast a)
Increment the reference counter of the given AST. The context c should have been created using Z3_mk_...
Z3_ast Z3_API Z3_mk_bvsmod(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Two's complement signed remainder (sign follows divisor).
Z3_bool Z3_API Z3_get_numeral_int(__in Z3_context c, __in Z3_ast v, __out int *i)
Similar to Z3_get_numeral_string, but only succeeds if the value can fit in a machine int...
static IntPtr Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3)
static Z3_ast Z3_mk_real2int(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2238
static Z3_ast_vector Z3_model_get_sort_universe(Z3_context a0, Z3_model a1, Z3_sort a2)
Definition: Native.cs:3700
static Z3_ast Z3_get_literal(Z3_context a0, Z3_literals a1, uint a2)
Definition: Native.cs:5269
static Z3_sort Z3_mk_datatype(Z3_context a0, IntPtr a1, uint a2, [In, Out] Z3_constructor[] a3)
static Z3_ast_vector Z3_polynomial_subresultants(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Definition: Native.cs:5578
static Z3_sort Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2)
static Z3_ast Z3_mk_true(Z3_context a0)
static int Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2)
static uint Z3_get_implied_equalities(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3, [Out] uint[] a4)
Definition: Native.cs:5184
static Z3_ast Z3_mk_set_intersect(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2726
static int Z3_get_numeral_int(Z3_context a0, Z3_ast a1, [In, Out] ref int a2)
static Z3_ast Z3_mk_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2430
Z3_ast Z3_API Z3_mk_bvadd(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Standard two's complement addition.
static uint Z3_get_relation_arity(Z3_context a0, Z3_sort a1)
Definition: Native.cs:3046
static IntPtr Z3_get_decl_name(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3086
static void Z3_rcf_del(Z3_context a0, Z3_rcf_num a1)
Definition: Native.cs:5586
static int Z3_algebraic_eq(Z3_context a0, Z3_ast a1, Z3_ast a2)
void Z3_API Z3_params_dec_ref(__in Z3_context c, __in Z3_params p)
Decrement the reference counter of the given parameter set.
void Z3_API Z3_apply_result_inc_ref(__in Z3_context c, __in Z3_apply_result r)
Increment the reference counter of the given Z3_apply_result object.
static Z3_ast Z3_fixedpoint_get_answer(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4082
static Z3_ast Z3_mk_mul(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2142
static void Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1)
static Z3_ast Z3_mk_mod(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2174
static void Z3_update_param_value(Z3_context a0, string a1, string a2)
static Z3_tactic Z3_tactic_or_else(Z3_context a0, Z3_tactic a1, Z3_tactic a2)
static Z3_ast Z3_mk_implies(Z3_context a0, Z3_ast a1, Z3_ast a2)
static uint Z3_goal_depth(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4430
static Z3_func_decl Z3_get_model_constant(Z3_context a0, Z3_model a1, uint a2)
Z3_ast Z3_API Z3_mk_zero_ext(__in Z3_context c, __in unsigned i, __in Z3_ast t1)
Extend the given bit-vector with zeros to the (unsigned) equivalent bitvector of size m+i...
static void Z3_interrupt(Z3_context a0)
Z3_ast Z3_API Z3_mk_bvsub_no_underflow(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2, Z3_bool is_signed)
Create a predicate that checks that the bit-wise subtraction of t1 and t2 does not underflow...
Z3_ast_vector Z3_API Z3_algebraic_roots(__in Z3_context c, __in Z3_ast p, __in unsigned n, __in Z3_ast a[])
Given a multivariate polynomial p(x_0, ..., x_{n-1}, x_n), returns the roots of the univariate polyno...
static IntPtr Z3_rcf_num_to_decimal_string(Z3_context a0, Z3_rcf_num a1, uint a2)
static Z3_ast Z3_mk_mod(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_func_interp Z3_model_get_func_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2)
Z3_bool Z3_API Z3_algebraic_le(__in Z3_context c, __in Z3_ast a, __in Z3_ast b)
Return Z3_TRUE if a <= b, and Z3_FALSE otherwise.
static Z3_apply_result Z3_tactic_apply_ex(Z3_context a0, Z3_tactic a1, Z3_goal a2, Z3_params a3)
static void Z3_goal_reset(Z3_context a0, Z3_goal a1)
Z3_func_decl Z3_API Z3_mk_injective_function(__in Z3_context c, __in Z3_symbol s, unsigned domain_size, __in_ecount(domain_size) Z3_sort const domain[], __in Z3_sort range)
Create injective function declaration.
void Z3_API Z3_param_descrs_inc_ref(__in Z3_context c, __in Z3_param_descrs p)
Increment the reference counter of the given parameter description set.
static Z3_sort Z3_mk_bv_sort(Z3_context a0, uint a1)
Z3_tactic Z3_API Z3_mk_tactic(__in Z3_context c, __in Z3_string name)
Return a tactic associated with the given name. The complete list of tactics may be obtained using th...
static int Z3_goal_inconsistent(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4422
static Z3_ast Z3_mk_bvneg_no_overflow(Z3_context a0, Z3_ast a1)
Z3_string Z3_API Z3_tactic_get_help(__in Z3_context c, __in Z3_tactic t)
Return a string containing a description of parameters accepted by the given tactic.
static Z3_ast Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2)
void Z3_API Z3_del_constructor(__in Z3_context c, __in Z3_constructor constr)
Reclaim memory allocated to constructor.
static uint Z3_get_model_num_constants(Z3_context a0, Z3_model a1)
static Z3_ast Z3_mk_empty_set(Z3_context a0, Z3_sort a1)
Definition: Native.cs:2686
static uint Z3_model_get_num_sorts(Z3_context a0, Z3_model a1)
Definition: Native.cs:3684
Z3_sort Z3_API Z3_get_array_sort_range(__in Z3_context c, __in Z3_sort t)
Return the range of the given array sort.
static IntPtr Z3_mk_int_symbol(Z3_context a0, int a1)
static void Z3_model_dec_ref(Z3_context a0, Z3_model a1)
static int Z3_stats_is_double(Z3_context a0, Z3_stats a1, uint a2)
Definition: Native.cs:5085
unsigned Z3_API Z3_get_num_literals(__in Z3_context c, __in Z3_literals lbls)
Retrieve the number of label symbols that were returned.
static uint Z3_get_num_probes(Z3_context a0)
static void Z3_disable_literal(Z3_context a0, Z3_literals a1, uint a2)
Definition: Native.cs:5277
static Z3_ast Z3_mk_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_search_failure Z3_API Z3_get_search_failure(__in Z3_context c)
Retrieve reason for search failure.
Z3_string Z3_API Z3_get_tactic_name(__in Z3_context c, unsigned i)
Return the name of the idx tactic.
static Z3_sort Z3_get_sort(Z3_context a0, Z3_ast a1)
Z3_bool Z3_API Z3_algebraic_gt(__in Z3_context c, __in Z3_ast a, __in Z3_ast b)
Return Z3_TRUE if a > b, and Z3_FALSE otherwise.
Z3_string Z3_API Z3_param_descrs_to_string(__in Z3_context c, __in Z3_param_descrs p)
Convert a parameter description set into a string. This function is mainly used for printing the cont...
static Z3_apply_result Z3_tactic_apply(Z3_context a0, Z3_tactic a1, Z3_goal a2)
Definition: Native.cs:4793
static Z3_ast Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
static Z3_ast Z3_mk_quantifier_const(Z3_context a0, int a1, uint a2, uint a3, [In] Z3_app[] a4, uint a5, [In] Z3_pattern[] a6, Z3_ast a7)
static Z3_model Z3_apply_result_convert_model(Z3_context a0, Z3_apply_result a1, uint a2, Z3_model a3)
Definition: Native.cs:4847
static Z3_sort Z3_mk_real_sort(Z3_context a0)
Definition: Native.cs:1898
static Z3_literals Z3_get_relevant_labels(Z3_context a0)
Z3_sort Z3_API Z3_mk_bv_sort(__in Z3_context c, __in unsigned sz)
Create a bit-vector type of the given size.
Z3_ast Z3_API Z3_mk_bound(__in Z3_context c, __in unsigned index, __in Z3_sort ty)
Create a bound variable.
static void Z3_rcf_get_numerator_denominator(Z3_context a0, Z3_rcf_num a1, [In, Out] ref Z3_rcf_num a2, [In, Out] ref Z3_rcf_num a3)
Definition: Native.cs:5761
static uint Z3_ast_map_size(Z3_context a0, Z3_ast_map a1)
static void Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, uint a2)
Z3_symbol Z3_API Z3_get_decl_name(__in Z3_context c, __in Z3_func_decl d)
Return the constant declaration name as a symbol.
static int Z3_check_assumptions(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In, Out] ref Z3_model a3, [In, Out] ref Z3_ast a4, [In, Out] ref uint a5, [Out] Z3_ast[] a6)
Definition: Native.cs:5176
static string Z3_stats_get_key(Z3_context a0, Z3_stats a1, uint a2)
Definition: Native.cs:5069
static Z3_sort Z3_get_array_sort_range(Z3_context a0, Z3_sort a1)
static void Z3_global_param_reset_all()
static uint Z3_rcf_mk_roots(Z3_context a0, uint a1, [In] Z3_rcf_num[] a2, [Out] Z3_rcf_num[] a3)
Definition: Native.cs:5633
static Z3_ast Z3_parse_smtlib2_file(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7)
Z3_param_kind Z3_API Z3_param_descrs_get_kind(__in Z3_context c, __in Z3_param_descrs p, __in Z3_symbol n)
Return the kind associated with the given parameter name n.
static Z3_ast Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_probe Z3_API Z3_probe_eq(__in Z3_context x, __in Z3_probe p1, __in Z3_probe p2)
Return a probe that evaluates to "true" when the value returned by p1 is equal to the value returned ...
void Z3_API Z3_model_inc_ref(__in Z3_context c, __in Z3_model m)
Increment the reference counter of the given model.
static Z3_ast Z3_get_model_func_else(Z3_context a0, Z3_model a1, uint a2)
Definition: Native.cs:5346
static Z3_ast_vector Z3_ast_map_keys(Z3_context a0, Z3_ast_map a1)
static Z3_ast Z3_mk_unsigned_int(Z3_context a0, uint a1, Z3_sort a2)
static Z3_tactic Z3_tactic_par_or(Z3_context a0, uint a1, [In] Z3_tactic[] a2)
Definition: Native.cs:4561
static uint Z3_get_app_num_args(Z3_context a0, Z3_app a1)
Definition: Native.cs:3222
static Z3_ast Z3_mk_app(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3)
static Z3_ast Z3_mk_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2518
void Z3_API Z3_fixedpoint_update_rule(__in Z3_context c, __in Z3_fixedpoint d, __in Z3_ast a, __in Z3_symbol name)
Update a named rule. A rule with the same name must have been previously created. ...
Z3_ast Z3_API Z3_mk_numeral(__in Z3_context c, __in Z3_string numeral, __in Z3_sort ty)
Create a numeral of a given sort.
static int Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2)
Definition: Native.cs:3398
Z3_func_decl Z3_API Z3_get_datatype_sort_recognizer(__in Z3_context c, __in Z3_sort t, unsigned idx)
Return idx'th recognizer.
Z3_ast Z3_API Z3_substitute_vars(__in Z3_context c, __in Z3_ast a, __in unsigned num_exprs, __in_ecount(num_exprs) Z3_ast const to[])
Substitute the free variables in a with the expressions in to. For every i smaller than num_exprs...
static Z3_rcf_num Z3_rcf_neg(Z3_context a0, Z3_rcf_num a1)
Z3_tactic Z3_API Z3_tactic_fail_if(__in Z3_context c, __in Z3_probe p)
Return a tactic that fails if the probe p evaluates to false.
static Z3_func_decl Z3_get_model_func_decl(Z3_context a0, Z3_model a1, uint a2)
unsigned Z3_API Z3_get_app_num_args(__in Z3_context c, __in Z3_app a)
Return the number of argument of an application. If t is an constant, then the number of arguments is...
static void Z3_apply_result_dec_ref(Z3_context a0, Z3_apply_result a1)
Definition: Native.cs:4816
static Z3_ast Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_ast Z3_API Z3_mk_int2bv(__in Z3_context c, __in unsigned n, __in Z3_ast t1)
Create an n bit bit-vector from the integer argument t1.
Z3_ast Z3_API Z3_mk_bvurem(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Unsigned remainder.
Z3_func_decl Z3_API Z3_get_model_func_decl(__in Z3_context c, __in Z3_model m, __in unsigned i)
Return the declaration of the i-th function in the given model.
void Z3_API Z3_func_entry_dec_ref(__in Z3_context c, __in Z3_func_entry e)
Decrement the reference counter of the given Z3_func_entry object.
static IntPtr Z3_ast_to_string(Z3_context a0, Z3_ast a1)
static void Z3_parse_smtlib_string(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7)
Definition: Native.cs:3896
static uint Z3_get_num_scopes(Z3_context a0)
Definition: Native.cs:5138
static int Z3_get_numeral_small(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3)
Definition: Native.cs:3366
Z3_ast Z3_API Z3_mk_bvor(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Bitwise or.
static uint Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1)
Definition: Native.cs:2958
static Z3_ast Z3_mk_bv2int(Z3_context a0, Z3_ast a1, int a2)
Definition: Native.cs:2566
static int Z3_algebraic_is_neg(Z3_context a0, Z3_ast a1)
Definition: Native.cs:5442
Z3_ast Z3_API Z3_get_model_func_else(__in Z3_context c, __in Z3_model m, __in unsigned i)
Return the 'else' value of the i-th function interpretation in the given model.
unsigned Z3_API Z3_get_model_num_constants(__in Z3_context c, __in Z3_model m)
Return the number of constants assigned by the given model.
Z3_ast_vector Z3_API Z3_fixedpoint_get_assertions(__in Z3_context c, __in Z3_fixedpoint f)
Retrieve set of background assertions from fixedpoint context.
int Z3_API Z3_check_interpolant(__in Z3_context ctx, __in unsigned num, __in_ecount(num) Z3_ast cnsts[], __in_ecount(num) unsigned parents[], __in_ecount(num-1) Z3_ast *interps, __out Z3_string_ptr error, __in unsigned num_theory, __in_ecount(num_theory) Z3_ast theory[])
static string Z3_tactic_get_descr(Z3_context a0, string a1)
Definition: Native.cs:4769
static Z3_ast Z3_get_smtlib_formula(Z3_context a0, uint a1)
static Z3_sort Z3_mk_enumeration_sort(Z3_context a0, IntPtr a1, uint a2, [In] IntPtr[] a3, [Out] Z3_func_decl[] a4, [Out] Z3_func_decl[] a5)
Definition: Native.cs:1938
static Z3_probe Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2)
Z3_sort Z3_API Z3_mk_enumeration_sort(__in Z3_context c, __in Z3_symbol name, __in unsigned n, __in_ecount(n) Z3_symbol const enum_names[], __out_ecount(n) Z3_func_decl enum_consts[], __out_ecount(n) Z3_func_decl enum_testers[])
Create a enumeration sort.
Z3_ast Z3_API Z3_model_get_const_interp(__in Z3_context c, __in Z3_model m, __in Z3_func_decl a)
Return the interpretation (i.e., assignment) of constant a in the model m. Return NULL...
static int Z3_algebraic_is_value(Z3_context a0, Z3_ast a1)
Definition: Native.cs:5426
Z3_func_decl Z3_API Z3_get_tuple_sort_field_decl(__in Z3_context c, __in Z3_sort t, __in unsigned i)
Return the i-th field declaration (i.e., projection function declaration) of the given tuple sort...
static void Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1)
static void Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1)
Definition: Native.cs:4317
static IntPtr Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1)
static IntPtr Z3_get_smtlib_error(Z3_context a0)
Z3_bool Z3_API Z3_global_param_get(__in Z3_string param_id, __out Z3_string_ptr param_value)
Get a global (or module) parameter.
Z3_func_decl Z3_API Z3_model_get_func_decl(__in Z3_context c, __in Z3_model m, __in unsigned i)
Return the declaration of the i-th function in the given model.
Z3_bool Z3_API Z3_is_algebraic_number(__in Z3_context c, __in Z3_ast a)
Return true if the give AST is a real algebraic number.
Z3_func_decl Z3_API Z3_get_as_array_func_decl(__in Z3_context c, __in Z3_ast a)
Return the function declaration f associated with a (_ as_array f) node.
static Z3_ast Z3_get_numerator(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3350
void Z3_API Z3_solver_dec_ref(__in Z3_context c, __in Z3_solver s)
Decrement the reference counter of the given solver.
void Z3_API Z3_goal_inc_ref(__in Z3_context c, __in Z3_goal g)
Increment the reference counter of the given goal.
Z3_ast Z3_API Z3_mk_bvsub_no_overflow(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Create a predicate that checks that the bit-wise signed subtraction of t1 and t2 does not overflow...
Z3_ast Z3_API Z3_mk_set_complement(__in Z3_context c, __in Z3_ast arg)
Take the complement of a set.
unsigned Z3_API Z3_ast_map_size(__in Z3_context c, __in Z3_ast_map m)
Return the size of the given map.
static Z3_func_decl Z3_get_tuple_sort_mk_decl(Z3_context a0, Z3_sort a1)
Definition: Native.cs:2990
Z3_ast_map Z3_API Z3_mk_ast_map(__in Z3_context c)
Return an empty mapping from AST to AST.
static void Z3_model_dec_ref(Z3_context a0, Z3_model a1)
Definition: Native.cs:3613
void Z3_API Z3_enable_trace(__in Z3_string tag)
Enable tracing messages tagged as tag when Z3 is compiled in debug mode. It is a NOOP otherwise...
static void Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3)
int Z3_API Z3_get_decl_int_parameter(__in Z3_context c, __in Z3_func_decl d, unsigned idx)
Return the integer value associated with an integer parameter.
static int Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2)
static Z3_ast Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2)
unsigned Z3_API Z3_get_model_func_entry_num_args(__in Z3_context c, __in Z3_model m, __in unsigned i, __in unsigned j)
Return the number of arguments of the j-th entry of the i-th function interpretation in the given mod...
Z3_apply_result Z3_API Z3_tactic_apply(__in Z3_context c, __in Z3_tactic t, __in Z3_goal g)
Apply tactic t to the goal g.
static Z3_config Z3_mk_config()
static string Z3_tactic_get_help(Z3_context a0, Z3_tactic a1)
Definition: Native.cs:4753
Z3_ast Z3_API Z3_func_entry_get_value(__in Z3_context c, __in Z3_func_entry e)
Return the value of this point.
Z3_func_decl Z3_API Z3_get_datatype_sort_constructor_accessor(__in Z3_context c, __in Z3_sort t, unsigned idx_c, unsigned idx_a)
Return idx_a'th accessor for the idx_c'th constructor.
Z3_error_code
Z3_error_code
static Z3_sort Z3_get_decl_sort_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3174
static uint Z3_get_sort_kind(Z3_context a0, Z3_sort a1)
Definition: Native.cs:2950
static uint Z3_model_get_num_consts(Z3_context a0, Z3_model a1)
Definition: Native.cs:3652
unsigned Z3_API Z3_rcf_mk_roots(__in Z3_context c, __in unsigned n, __in_ecount(n) Z3_rcf_num const a[], __out_ecount(n) Z3_rcf_num roots[])
Store in roots the roots of the polynomial a[n-1]*x^{n-1} + ... + a[0]. The output vector roots must ...
static uint Z3_get_bool_value(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3278
Z3_goal_prec Z3_API Z3_goal_precision(__in Z3_context c, __in Z3_goal g)
Return the "precision" of the given goal. Goals can be transformed using over and under approximation...
static Z3_probe Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2)
Definition: Native.cs:4705
static Z3_ast Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_model Z3_API Z3_apply_result_convert_model(__in Z3_context c, __in Z3_apply_result r, __in unsigned i, __in Z3_model m)
Convert a model for the subgoal Z3_apply_result_get_subgoal(c, r, i) into a model for the original go...
static uint Z3_get_sort_id(Z3_context a0, Z3_sort a1)
Definition: Native.cs:2926
static Z3_ast Z3_mk_exists_const(Z3_context a0, uint a1, uint a2, [In] Z3_app[] a3, uint a4, [In] Z3_pattern[] a5, Z3_ast a6)
static Z3_ast Z3_mk_fresh_const(Z3_context a0, string a1, Z3_sort a2)
Definition: Native.cs:2038
Z3_bool Z3_API Z3_rcf_le(__in Z3_context c, __in Z3_rcf_num a, __in Z3_rcf_num b)
Return Z3_TRUE if a <= b.
Z3_ast Z3_API Z3_parse_smtlib2_file(__in Z3_context c, __in Z3_string file_name, __in unsigned num_sorts, __in_ecount(num_sorts) Z3_symbol const sort_names[], __in_ecount(num_sorts) Z3_sort const sorts[], __in unsigned num_decls, __in_ecount(num_decls) Z3_symbol const decl_names[], __in_ecount(num_decls) Z3_func_decl const decls[])
Similar to Z3_parse_smtlib2_string, but reads the benchmark from a file.
static uint Z3_get_model_num_funcs(Z3_context a0, Z3_model a1)
static Z3_ast Z3_mk_empty_set(Z3_context a0, Z3_sort a1)
static void Z3_del_constructor_list(Z3_context a0, Z3_constructor_list a1)
Definition: Native.cs:1985
Z3_bool Z3_API Z3_open_log(__in Z3_string filename)
Log interaction to a file.
static Z3_ast Z3_get_context_assignment(Z3_context a0)
static int Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1)
static string Z3_get_numeral_string(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3334
static Z3_ast Z3_mk_ext_rotate_left(Z3_context a0, Z3_ast a1, Z3_ast a2)
static uint Z3_get_num_probes(Z3_context a0)
Definition: Native.cs:4737
static void Z3_dec_ref(Z3_context a0, Z3_ast a1)
Definition: Native.cs:1726
static void Z3_fixedpoint_register_relation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2)
Definition: Native.cs:4136
static Z3_ast Z3_mk_bvmul_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2630
static Z3_ast Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2502
static Z3_ast Z3_mk_sign_ext(Z3_context a0, uint a1, Z3_ast a2)
static Z3_ast Z3_mk_exists(Z3_context a0, uint a1, uint a2, [In] Z3_pattern[] a3, uint a4, [In] Z3_sort[] a5, [In] IntPtr[] a6, Z3_ast a7)
static int Z3_get_numeral_rational_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3)
Definition: Native.cs:3406
void Z3_API Z3_toggle_warning_messages(__in Z3_bool enabled)
Enable/disable printing warning messages to the console.
static void Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1)
Definition: Native.cs:4242
static uint Z3_get_smtlib_num_assumptions(Z3_context a0)
unsigned Z3_API Z3_solver_get_num_scopes(__in Z3_context c, __in Z3_solver s)
Return the number of backtracking points.
void Z3_API Z3_params_inc_ref(__in Z3_context c, __in Z3_params p)
Increment the reference counter of the given parameter set.
Z3_ast Z3_API Z3_mk_fresh_const(__in Z3_context c, __in Z3_string prefix, __in Z3_sort ty)
Declare and create a fresh constant.
void Z3_API Z3_parse_smtlib_file(__in Z3_context c, __in Z3_string file_name, __in unsigned num_sorts, __in_ecount(num_sorts) Z3_symbol const sort_names[], __in_ecount(num_sorts) Z3_sort const sorts[], __in unsigned num_decls, __in_ecount(num_decls) Z3_symbol const decl_names[], __in_ecount(num_decls) Z3_func_decl const decls[])
Similar to Z3_parse_smtlib_string, but reads the benchmark from a file.
static uint Z3_rcf_mk_roots(Z3_context a0, uint a1, [In] Z3_rcf_num[] a2, [Out] Z3_rcf_num[] a3)
static void Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1)
static Z3_ast Z3_mk_bvneg(Z3_context a0, Z3_ast a1)
static uint Z3_get_model_func_entry_num_args(Z3_context a0, Z3_model a1, uint a2, uint a3)
Definition: Native.cs:5362
static Z3_probe Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2)
Definition: Native.cs:4673
static Z3_ast Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, uint a2)
Z3_symbol Z3_API Z3_mk_string_symbol(__in Z3_context c, __in Z3_string s)
Create a Z3 symbol using a C string.
static Z3_ast Z3_mk_exists_const(Z3_context a0, uint a1, uint a2, [In] Z3_app[] a3, uint a4, [In] Z3_pattern[] a5, Z3_ast a6)
Definition: Native.cs:2870
static Z3_ast Z3_mk_bvsub_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2)
unsigned Z3_API Z3_get_num_tactics(__in Z3_context c)
Return the number of builtin tactics available in Z3.
Z3_error_code
Z3 error codes (See Z3_get_error_code).
Definition: z3_api.h:1148
static Z3_ast_vector Z3_solver_get_assertions(Z3_context a0, Z3_solver a1)
Definition: Native.cs:4967
Z3_sort Z3_API Z3_mk_real_sort(__in Z3_context c)
Create the real type.
static int Z3_algebraic_is_pos(Z3_context a0, Z3_ast a1)
Definition: Native.cs:5434
static int Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2)
Definition: Native.cs:3070
static Z3_ast Z3_mk_real(Z3_context a0, int a1, int a2)
Definition: Native.cs:2774
static uint Z3_stats_size(Z3_context a0, Z3_stats a1)
Definition: Native.cs:5061
static uint Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1)
static Z3_sort Z3_mk_tuple_sort(Z3_context a0, IntPtr a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, [In, Out] ref Z3_func_decl a5, [Out] Z3_func_decl[] a6)
unsigned Z3_API Z3_get_quantifier_num_patterns(__in Z3_context c, __in Z3_ast a)
Return number of patterns used in quantifier.
Z3_ast_vector Z3_API Z3_polynomial_subresultants(__in Z3_context c, __in Z3_ast p, __in Z3_ast q, __in Z3_ast x)
Return the nonzero subresultants of p and q with respect to the "variable" x.
static uint Z3_get_quantifier_num_no_patterns(Z3_context a0, Z3_ast a1)
Z3_lbool Z3_API Z3_get_implied_equalities(__in Z3_context c, __in Z3_solver s, __in unsigned num_terms, __in_ecount(num_terms) Z3_ast const terms[], __out_ecount(num_terms) unsigned class_ids[])
Retrieve congruence class representatives for terms.
Z3_ast Z3_API Z3_mk_exists(__in Z3_context c, __in unsigned weight, __in unsigned num_patterns, __in_ecount(num_patterns) Z3_pattern const patterns[], __in unsigned num_decls, __in_ecount(num_decls) Z3_sort const sorts[], __in_ecount(num_decls) Z3_symbol const decl_names[], __in Z3_ast body)
Create an exists formula. Similar to Z3_mk_forall.
static Z3_sort Z3_get_smtlib_sort(Z3_context a0, uint a1)
static void Z3_param_descrs_dec_ref(Z3_context a0, Z3_param_descrs a1)
Definition: Native.cs:1819
static Z3_ast Z3_mk_add(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Z3_bool Z3_API Z3_goal_inconsistent(__in Z3_context c, __in Z3_goal g)
Return true if the given goal contains the formula false.
unsigned Z3_API Z3_get_sort_id(__in Z3_context c, Z3_sort s)
Return a unique identifier for s.
Z3_rcf_num Z3_API Z3_rcf_mk_pi(__in Z3_context c)
Return Pi.
Z3_ast_vector Z3_API Z3_fixedpoint_from_string(__in Z3_context c, __in Z3_fixedpoint f, __in Z3_string s)
Parse an SMT-LIB2 string with fixedpoint rules. Add the rules to the current fixedpoint context...
static Z3_ast Z3_substitute(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3, [In] Z3_ast[] a4)
Definition: Native.cs:3582
static Z3_rcf_num Z3_rcf_inv(Z3_context a0, Z3_rcf_num a1)
Definition: Native.cs:5681
static Z3_sort Z3_mk_int_sort(Z3_context a0)
static Z3_func_decl Z3_get_datatype_sort_constructor(Z3_context a0, Z3_sort a1, uint a2)
static Z3_ast Z3_mk_true(Z3_context a0)
Definition: Native.cs:2046
Z3_sort Z3_API Z3_get_range(__in Z3_context c, __in Z3_func_decl d)
Return the range of the given declaration.
static Z3_sort Z3_mk_real_sort(Z3_context a0)
Z3_ast Z3_API Z3_update_term(__in Z3_context c, __in Z3_ast a, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[])
Update the arguments of term a using the arguments args. The number of arguments num_args should coin...
static Z3_tactic Z3_tactic_cond(Z3_context a0, Z3_probe a1, Z3_tactic a2, Z3_tactic a3)
Definition: Native.cs:4593
Z3_ast Z3_API Z3_mk_bvsdiv_no_overflow(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Create a predicate that checks that the bit-wise signed division of t1 and t2 does not overflow...
static Z3_model Z3_solver_get_model(Z3_context a0, Z3_solver a1)
static void Z3_inc_ref(Z3_context a0, Z3_ast a1)
Definition: Native.cs:1719
unsigned Z3_API Z3_get_pattern_num_terms(__in Z3_context c, __in Z3_pattern p)
Return number of terms in pattern.
static Z3_app Z3_to_app(Z3_context a0, Z3_ast a1)
static void Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1)
Definition: Native.cs:4235
static Z3_ast Z3_mk_false(Z3_context a0)
unsigned Z3_API Z3_get_smtlib_num_decls(__in Z3_context c)
Return the number of declarations parsed by Z3_parse_smtlib_string or Z3_parse_smtlib_file.
static uint Z3_get_decl_num_parameters(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3134
static string Z3_ast_to_string(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3832
static Z3_func_decl Z3_to_func_decl(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3326
Z3_sort Z3_API Z3_mk_datatype(__in Z3_context c, __in Z3_symbol name, __in unsigned num_constructors, __inout_ecount(num_constructors) Z3_constructor constructors[])
Create datatype, such as lists, trees, records, enumerations or unions of records. The datatype may be recursive. Return the datatype sort.
static uint Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, uint a2)
static Z3_ast Z3_get_app_arg(Z3_context a0, Z3_app a1, uint a2)
static int Z3_model_eval(Z3_context a0, Z3_model a1, Z3_ast a2, int a3, [In, Out] ref Z3_ast a4)
Definition: Native.cs:3620
Z3_ast Z3_API Z3_mk_unsigned_int(__in Z3_context c, __in unsigned v, __in Z3_sort ty)
Create a numeral of a int, bit-vector, or finite-domain sort.
static Z3_ast Z3_mk_or(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2126
static void Z3_toggle_warning_messages(int a0)
static Z3_func_decl Z3_model_get_func_decl(Z3_context a0, Z3_model a1, uint a2)
Definition: Native.cs:3676
static uint Z3_goal_size(Z3_context a0, Z3_goal a1)
static void Z3_del_constructor(Z3_context a0, Z3_constructor a1)
Z3_probe Z3_API Z3_probe_gt(__in Z3_context x, __in Z3_probe p1, __in Z3_probe p2)
Return a probe that evaluates to "true" when the value returned by p1 is greater than the value retur...
static Z3_sort Z3_get_array_sort_domain(Z3_context a0, Z3_sort a1)
static Z3_rcf_num Z3_rcf_mk_pi(Z3_context a0)
static void Z3_del_literals(Z3_context a0, Z3_literals a1)
Definition: Native.cs:5246
static Z3_func_decl Z3_get_smtlib_decl(Z3_context a0, uint a1)
static uint Z3_get_quantifier_num_no_patterns(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3494
static Z3_ast Z3_mk_interpolant(Z3_context a0, Z3_ast a1)
Definition: Native.cs:5768
Z3_ast Z3_API Z3_goal_formula(__in Z3_context c, __in Z3_goal g, __in unsigned idx)
Return a formula from the given goal.
static Z3_stats Z3_solver_get_statistics(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5023
static Z3_ast Z3_get_numerator(Z3_context a0, Z3_ast a1)
Z3_bool Z3_API Z3_is_as_array(__in Z3_context c, __in Z3_ast a)
The (_ as-array f) AST node is a construct for assigning interpretations for arrays in Z3...
void Z3_API Z3_stats_inc_ref(__in Z3_context c, __in Z3_stats s)
Increment the reference counter of the given statistics object.
static Z3_ast Z3_mk_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_probe Z3_probe_eq(Z3_context a0, Z3_probe a1, Z3_probe a2)
Definition: Native.cs:4689
Z3_ast Z3_API Z3_mk_sub(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[])
Create an AST node representing args[0] - ... - args[num_args - 1].The array args must have num_args ...
unsigned Z3_API Z3_param_descrs_size(__in Z3_context c, __in Z3_param_descrs p)
Return the number of parameters in the given parameter description set.
static void Z3_soft_check_cancel(Z3_context a0)
static void Z3_apply_result_inc_ref(Z3_context a0, Z3_apply_result a1)
static uint Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1)
static Z3_ast Z3_mk_forall_const(Z3_context a0, uint a1, uint a2, [In] Z3_app[] a3, uint a4, [In] Z3_pattern[] a5, Z3_ast a6)
static Z3_ast Z3_mk_bvredand(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2262
double Z3_API Z3_get_decl_double_parameter(__in Z3_context c, __in Z3_func_decl d, unsigned idx)
Return the double value associated with an double parameter.
static Z3_ast Z3_substitute_vars(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3)
Definition: Native.cs:3590
static int Z3_rcf_eq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Z3_ast Z3_API Z3_mk_bvneg_no_overflow(__in Z3_context c, __in Z3_ast t1)
Check that bit-wise negation does not overflow when t1 is interpreted as a signed bit-vector...
void Z3_API Z3_close_log(void)
Close interaction log.
static Z3_ast Z3_algebraic_sub(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_ast Z3_API Z3_substitute(__in Z3_context c, __in Z3_ast a, __in unsigned num_exprs, __in_ecount(num_exprs) Z3_ast const from[], __in_ecount(num_exprs) Z3_ast const to[])
Substitute every occurrence of from[i] in a with to[i], for i smaller than num_exprs. The result is the new AST. The arrays from and to must have size num_exprs. For every i smaller than num_exprs, we must have that sort of from[i] must be equal to sort of to[i].
Z3_sort Z3_API Z3_mk_array_sort(__in Z3_context c, __in Z3_sort domain, __in Z3_sort range)
Create an array type.
static int Z3_compute_interpolant(Z3_context a0, Z3_ast a1, Z3_params a2, [In, Out] ref Z3_ast_vector a3, [In, Out] ref Z3_model a4)
Definition: Native.cs:5789
Z3_ast Z3_API Z3_mk_quantifier_ex(__in Z3_context c, __in Z3_bool is_forall, __in unsigned weight, __in Z3_symbol quantifier_id, __in Z3_symbol skolem_id, __in unsigned num_patterns, __in_ecount(num_patterns) Z3_pattern const patterns[], __in unsigned num_no_patterns, __in_ecount(num_no_patterns) Z3_ast const no_patterns[], __in unsigned num_decls, __in_ecount(num_decls) Z3_sort const sorts[], __in_ecount(num_decls) Z3_symbol const decl_names[], __in Z3_ast body)
Create a quantifier - universal or existential, with pattern hints, no patterns, and attributes...
static void Z3_global_param_set(string a0, string a1)
void Z3_API Z3_ast_map_erase(__in Z3_context c, __in Z3_ast_map m, __in Z3_ast k)
Erase a key from the map.
static uint Z3_get_num_literals(Z3_context a0, Z3_literals a1)
static void Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1)
Definition: Native.cs:4516
Z3_bool Z3_API Z3_is_eq_ast(__in Z3_context c, __in Z3_ast t1, Z3_ast t2)
compare terms.
static int Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_func_decl[] a3)
static uint Z3_goal_precision(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4407
static Z3_ast Z3_goal_formula(Z3_context a0, Z3_goal a1, uint a2)
Definition: Native.cs:4453
void Z3_API Z3_params_set_symbol(__in Z3_context c, __in Z3_params p, __in Z3_symbol k, __in Z3_symbol v)
Add a symbol parameter k with value v to the parameter set p.
static Z3_sort Z3_get_domain(Z3_context a0, Z3_func_decl a1, uint a2)
static Z3_ast Z3_mk_forall(Z3_context a0, uint a1, uint a2, [In] Z3_pattern[] a3, uint a4, [In] Z3_sort[] a5, [In] IntPtr[] a6, Z3_ast a7)
static uint Z3_get_ast_hash(Z3_context a0, Z3_ast a1)
static Z3_ast Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_rcf_num Z3_API Z3_rcf_mk_infinitesimal(__in Z3_context c)
Return a new infinitesimal that is smaller than all elements in the Z3 field.
static Z3_ast Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Z3_sort Z3_API Z3_get_decl_sort_parameter(__in Z3_context c, __in Z3_func_decl d, unsigned idx)
Return the sort value associated with a sort parameter.
static Z3_ast Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2)
Definition: Native.cs:3598
static Z3_tactic Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, uint a2)
Definition: Native.cs:4577
Z3_ast Z3_API Z3_get_quantifier_no_pattern_ast(__in Z3_context c, __in Z3_ast a, unsigned i)
Return i'th no_pattern.
static void Z3_persist_ast(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:5146
void Z3_API Z3_model_dec_ref(__in Z3_context c, __in Z3_model m)
Decrement the reference counter of the given model.
Z3_ast Z3_API Z3_parse_smtlib2_string(__in Z3_context c, __in Z3_string str, __in unsigned num_sorts, __in_ecount(num_sorts) Z3_symbol const sort_names[], __in_ecount(num_sorts) Z3_sort const sorts[], __in unsigned num_decls, __in_ecount(num_decls) Z3_symbol const decl_names[], __in_ecount(num_decls) Z3_func_decl const decls[])
Parse the given string using the SMT-LIB2 parser.
Z3_ast Z3_API Z3_mk_gt(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Create greater than.
static void Z3_disable_literal(Z3_context a0, Z3_literals a1, uint a2)
Z3_ast Z3_API Z3_mk_bvshl(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Shift left.
static Z3_tactic Z3_tactic_fail(Z3_context a0)
Definition: Native.cs:4617
static Z3_stats Z3_fixedpoint_get_statistics(Z3_context a0, Z3_fixedpoint a1)
static Z3_ast Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2)
static Z3_ast Z3_mk_app(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3)
Definition: Native.cs:2014
Z3_ast Z3_API Z3_mk_bvsdiv(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Two's complement signed division.
static uint Z3_func_interp_get_num_entries(Z3_context a0, Z3_func_interp a1)
static Z3_tactic Z3_tactic_par_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2)
void Z3_API Z3_global_param_set(__in Z3_string param_id, __in Z3_string param_value)
Set a global (or module) parameter. This setting is shared by all Z3 contexts.
Z3_func_interp Z3_API Z3_model_get_func_interp(__in Z3_context c, __in Z3_model m, __in Z3_func_decl f)
Return the interpretation of the function f in the model m. Return NULL, if the model does not assign...
static void Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1)
Definition: Native.cs:3770
static string Z3_solver_to_string(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5031
Z3_ast Z3_API Z3_mk_bvslt(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Two's complement signed less than.
static Z3_ast Z3_mk_implies(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2102
static int Z3_rcf_lt(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:5697
Z3_ast Z3_API Z3_pattern_to_ast(__in Z3_context c, __in Z3_pattern p)
Convert a Z3_pattern into Z3_ast. This is just type casting.
static void Z3_param_descrs_inc_ref(Z3_context a0, Z3_param_descrs a1)
Z3_model Z3_API Z3_solver_get_model(__in Z3_context c, __in Z3_solver s)
Retrieve the model for the last Z3_solver_check or Z3_solver_check_assumptions.
void Z3_API Z3_set_ast_print_mode(__in Z3_context c, __in Z3_ast_print_mode mode)
Select mode for the format used for pretty-printing AST nodes.
unsigned Z3_API Z3_get_decl_num_parameters(__in Z3_context c, __in Z3_func_decl d)
Return the number of parameters associated with a declaration.
static uint Z3_model_get_num_sorts(Z3_context a0, Z3_model a1)
static void Z3_mk_datatypes(Z3_context a0, uint a1, [In] IntPtr[] a2, [Out] Z3_sort[] a3, [In, Out] Z3_constructor_list[] a4)
Z3_string Z3_API Z3_stats_to_string(__in Z3_context c, __in Z3_stats s)
Convert a statistics into a string.
Z3_bool Z3_API Z3_ast_map_contains(__in Z3_context c, __in Z3_ast_map m, __in Z3_ast k)
Return true if the map m contains the AST key k.
static void Z3_solver_reset(Z3_context a0, Z3_solver a1)
Definition: Native.cs:4938
static int Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3150
Z3_rcf_num Z3_API Z3_rcf_add(__in Z3_context c, __in Z3_rcf_num a, __in Z3_rcf_num b)
Return the value a + b.
static IntPtr Z3_probe_get_descr(Z3_context a0, string a1)
Z3_string Z3_API Z3_apply_result_to_string(__in Z3_context c, __in Z3_apply_result r)
Convert the Z3_apply_result object returned by Z3_tactic_apply into a string.
void Z3_API Z3_goal_reset(__in Z3_context c, __in Z3_goal g)
Erase all formulas from the given goal.
static uint Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, uint a2)
Z3_ast_vector Z3_API Z3_fixedpoint_get_rules(__in Z3_context c, __in Z3_fixedpoint f)
Retrieve set of rules from fixedpoint context.
static Z3_ast Z3_mk_iff(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_param_descrs Z3_solver_get_param_descrs(Z3_context a0, Z3_solver a1)
Definition: Native.cs:4895
static int Z3_solver_check(Z3_context a0, Z3_solver a1)
Z3_ast Z3_API Z3_mk_true(__in Z3_context c)
Create an AST node representing true.
static void Z3_rcf_del(Z3_context a0, Z3_rcf_num a1)
static Z3_solver Z3_mk_solver(Z3_context a0)
Definition: Native.cs:4855
static Z3_goal Z3_goal_translate(Z3_context a0, Z3_goal a1, Z3_context a2)
void Z3_API Z3_apply_result_dec_ref(__in Z3_context c, __in Z3_apply_result r)
Decrement the reference counter of the given Z3_apply_result object.
Z3_sort Z3_API Z3_mk_uninterpreted_sort(__in Z3_context c, __in Z3_symbol s)
Create a free (uninterpreted) type using the given name (symbol).
static Z3_rcf_num Z3_rcf_mk_pi(Z3_context a0)
Definition: Native.cs:5609
static Z3_probe Z3_probe_eq(Z3_context a0, Z3_probe a1, Z3_probe a2)
static string Z3_simplify_get_help(Z3_context a0)
Definition: Native.cs:3558
static Z3_ast Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2702
Z3_ast Z3_API Z3_mk_set_intersect(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[])
Take the intersection of a list of sets.
static IntPtr Z3_interpolation_profile(Z3_context a0)
static uint Z3_get_search_failure(Z3_context a0)
Definition: Native.cs:5206
Z3_bool Z3_API Z3_get_numeral_uint64(__in Z3_context c, __in Z3_ast v, __out unsigned __int64 *u)
Similar to Z3_get_numeral_string, but only succeeds if the value can fit in a machine unsigned __int6...
static int Z3_algebraic_le(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_tactic Z3_API Z3_tactic_fail(__in Z3_context c)
Return a tactic that always fails.
static void Z3_set_error(Z3_context a0, uint a1)
static Z3_ast Z3_mk_sub(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Z3_pattern Z3_API Z3_mk_pattern(__in Z3_context c, __in unsigned num_patterns, __in_ecount(num_patterns) Z3_ast const terms[])
Create a pattern for quantifier instantiation.
Z3_tactic Z3_API Z3_tactic_repeat(__in Z3_context c, __in Z3_tactic t, unsigned max)
Return a tactic that keeps applying t until the goal is not modified anymore or the maximum number of...
static Z3_ast Z3_mk_zero_ext(Z3_context a0, uint a1, Z3_ast a2)
Definition: Native.cs:2486
static Z3_ast Z3_get_quantifier_no_pattern_ast(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:3502
static Z3_func_interp Z3_model_get_func_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2)
Definition: Native.cs:3644
static void Z3_solver_inc_ref(Z3_context a0, Z3_solver a1)
Definition: Native.cs:4910
static void Z3_dec_ref(Z3_context a0, Z3_ast a1)
static uint Z3_get_symbol_kind(Z3_context a0, IntPtr a1)
Definition: Native.cs:2894
static uint Z3_get_num_tactics(Z3_context a0)
static Z3_ast Z3_mk_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2)
static uint Z3_get_ast_kind(Z3_context a0, Z3_ast a1)
static Z3_ast Z3_mk_le(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2206
static Z3_ast_vector Z3_fixedpoint_from_file(Z3_context a0, Z3_fixedpoint a1, string a2)
static void Z3_probe_dec_ref(Z3_context a0, Z3_probe a1)
Definition: Native.cs:4538
static void Z3_fixedpoint_set_params(Z3_context a0, Z3_fixedpoint a1, Z3_params a2)
Definition: Native.cs:4166
static void Z3_set_logic(Z3_context a0, string a1)
Definition: Native.cs:5117
static Z3_probe Z3_probe_const(Z3_context a0, double a1)
Definition: Native.cs:4649
Z3_ast_kind Z3_API Z3_get_ast_kind(__in Z3_context c, __in Z3_ast a)
Return the kind of the given AST.
void Z3_API Z3_goal_assert(__in Z3_context c, __in Z3_goal g, __in Z3_ast a)
Add a new formula a to the given goal.
static Z3_ast Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2758
Z3_ast_vector Z3_API Z3_ast_map_keys(__in Z3_context c, __in Z3_ast_map m)
Return the keys stored in the given map.
static void Z3_del_config(Z3_config a0)
static void Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] IntPtr[] a4)
static uint Z3_get_bool_value(Z3_context a0, Z3_ast a1)
Z3_ast Z3_API Z3_mk_mod(__in Z3_context c, __in Z3_ast arg1, __in Z3_ast arg2)
Create an AST node representing arg1 mod arg2.The arguments must have int type.
Z3_context Z3_API Z3_mk_interpolation_context(__in Z3_config cfg)
This function generates a Z3 context suitable for generation of interpolants. Formulas can be generat...
static Z3_ast Z3_mk_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_stats Z3_fixedpoint_get_statistics(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4128
Z3_context Z3_API Z3_mk_context(__in Z3_config c)
Create a context using the given configuration.
static void Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2)
Definition: Native.cs:4347
static uint Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3470
static Z3_ast Z3_mk_bvsdiv_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_ast Z3_substitute_vars(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3)
static Z3_ast Z3_mk_bvadd_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2)
static int Z3_is_well_sorted(Z3_context a0, Z3_ast a1)
Z3_ast Z3_API Z3_get_context_assignment(__in Z3_context c)
Extract satisfying assignment from context as a conjunction.
static int Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2)
Definition: Native.cs:4066
static Z3_ast Z3_get_literal(Z3_context a0, Z3_literals a1, uint a2)
static void Z3_params_inc_ref(Z3_context a0, Z3_params a1)
static Z3_ast Z3_mk_quantifier_const_ex(Z3_context a0, int a1, uint a2, IntPtr a3, IntPtr a4, uint a5, [In] Z3_app[] a6, uint a7, [In] Z3_pattern[] a8, uint a9, [In] Z3_ast[] a10, Z3_ast a11)
Definition: Native.cs:2886
static IntPtr Z3_rcf_num_to_string(Z3_context a0, Z3_rcf_num a1, int a2, int a3)
static void Z3_get_version([In, Out] ref uint a0, [In, Out] ref uint a1, [In, Out] ref uint a2, [In, Out] ref uint a3)
Definition: Native.cs:4007
void Z3_API Z3_fixedpoint_pop(Z3_context c, Z3_fixedpoint d)
Backtrack one backtracking point.
static Z3_sort Z3_mk_list_sort(Z3_context a0, IntPtr a1, Z3_sort a2, [In, Out] ref Z3_func_decl a3, [In, Out] ref Z3_func_decl a4, [In, Out] ref Z3_func_decl a5, [In, Out] ref Z3_func_decl a6, [In, Out] ref Z3_func_decl a7, [In, Out] ref Z3_func_decl a8)
Z3_bool Z3_API Z3_get_finite_domain_sort_size(__in Z3_context c, __in Z3_sort s, __out unsigned __int64 *r)
Store the size of the sort in r. Return Z3_FALSE if the call failed. That is, Z3_get_sort_kind(s) == ...
Z3_apply_result Z3_API Z3_tactic_apply_ex(Z3_context c, Z3_tactic t, Z3_goal g, Z3_params p)
Apply tactic t to the goal g using the parameter set p.
void Z3_API Z3_append_log(__in Z3_string string)
Append user-defined string to interaction log.
static int Z3_is_as_array(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3708
static string Z3_get_smtlib_error(Z3_context a0)
Definition: Native.cs:3974
static Z3_probe Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2)
static uint Z3_get_index_value(Z3_context a0, Z3_ast a1)
static IntPtr Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
static int Z3_compute_interpolant(Z3_context a0, Z3_ast a1, Z3_params a2, [In, Out] ref Z3_ast_vector a3, [In, Out] ref Z3_model a4)
void Z3_API Z3_get_version(__out unsigned *major, __out unsigned *minor, __out unsigned *build_number, __out unsigned *revision_number)
Return Z3 version number information.
Z3_bool Z3_API Z3_stats_is_double(__in Z3_context c, __in Z3_stats s, __in unsigned idx)
Return Z3_TRUE if the given statistical data is a double.
static int Z3_eval_func_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, [In, Out] ref Z3_ast a3)
Definition: Native.cs:5323
static int Z3_read_interpolation_problem(Z3_context a0, [In, Out] ref uint a1, [Out] out Z3_ast[] a2, [Out] out uint[] a3, string a4, out IntPtr a5, [In, Out] ref uint a6, [Out] out Z3_ast[] a7)
Definition: Native.cs:5805
Z3_goal Z3_API Z3_apply_result_get_subgoal(__in Z3_context c, __in Z3_apply_result r, __in unsigned i)
Return one of the subgoals in the Z3_apply_result object returned by Z3_tactic_apply.
static Z3_ast Z3_mk_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2358
static IntPtr Z3_get_error_msg_ex(Z3_context a0, uint a1)
static string Z3_rcf_num_to_string(Z3_context a0, Z3_rcf_num a1, int a2, int a3)
Definition: Native.cs:5745
static Z3_params Z3_mk_params(Z3_context a0)
static IntPtr Z3_get_numeral_string(Z3_context a0, Z3_ast a1)
static Z3_ast Z3_mk_numeral(Z3_context a0, string a1, Z3_sort a2)
static Z3_ast Z3_mk_and(Z3_context a0, uint a1, [In] Z3_ast[] a2)
static Z3_probe Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2)
static uint Z3_get_domain_size(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3102
static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1)
static void Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4220
static Z3_ast Z3_get_quantifier_body(Z3_context a0, Z3_ast a1)
Z3_decl_kind Z3_API Z3_get_decl_kind(__in Z3_context c, __in Z3_func_decl d)
Return declaration kind corresponding to declaration.
Z3_sort Z3_API Z3_mk_tuple_sort(__in Z3_context c, __in Z3_symbol mk_tuple_name, __in unsigned num_fields, __in_ecount(num_fields) Z3_symbol const field_names[], __in_ecount(num_fields) Z3_sort const field_sorts[], __out Z3_func_decl *mk_tuple_decl, __out_ecount(num_fields) Z3_func_decl proj_decl[])
Create a tuple type.
static Z3_ast Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2)
void Z3_API Z3_write_interpolation_problem(__in Z3_context ctx, __in unsigned num, __in_ecount(num) Z3_ast cnsts[], __in_ecount(num) unsigned parents[], __in Z3_string filename, __in unsigned num_theory, __in_ecount(num_theory) Z3_ast theory[])
static uint Z3_apply_result_get_num_subgoals(Z3_context a0, Z3_apply_result a1)
Definition: Native.cs:4831
static Z3_probe Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2)
Z3_tactic Z3_API Z3_tactic_try_for(__in Z3_context c, __in Z3_tactic t, __in unsigned ms)
Return a tactic that applies t to a given goal for ms milliseconds. If t does not terminate in ms mil...
static Z3_func_entry Z3_func_interp_get_entry(Z3_context a0, Z3_func_interp a1, uint a2)
static IntPtr Z3_mk_string_symbol(Z3_context a0, string a1)
static string Z3_get_error_msg_ex(Z3_context a0, uint a1)
Definition: Native.cs:3999
static Z3_func_decl Z3_model_get_const_decl(Z3_context a0, Z3_model a1, uint a2)
static IntPtr Z3_stats_to_string(Z3_context a0, Z3_stats a1)
static int Z3_model_has_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2)
static IntPtr Z3_stats_get_key(Z3_context a0, Z3_stats a1, uint a2)
static Z3_ast Z3_mk_int64(Z3_context a0, Int64 a1, Z3_sort a2)
static Z3_ast Z3_mk_label(Z3_context a0, IntPtr a1, int a2, Z3_ast a3)
Definition: Native.cs:5214
static uint Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1)
static Z3_ast Z3_mk_forall_const(Z3_context a0, uint a1, uint a2, [In] Z3_app[] a3, uint a4, [In] Z3_pattern[] a5, Z3_ast a6)
Definition: Native.cs:2862
static Z3_sort Z3_mk_set_sort(Z3_context a0, Z3_sort a1)
Z3_ast Z3_API Z3_get_quantifier_body(__in Z3_context c, __in Z3_ast a)
Return body of quantifier.
static Z3_pattern Z3_get_quantifier_pattern_ast(Z3_context a0, Z3_ast a1, uint a2)
Z3_ast Z3_API Z3_mk_ext_rotate_left(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Rotate bits of t1 to the left t2 times.
void Z3_API Z3_solver_inc_ref(__in Z3_context c, __in Z3_solver s)
Increment the reference counter of the given solver.
static void Z3_goal_inc_ref(Z3_context a0, Z3_goal a1)
static void Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1)
Definition: Native.cs:4310
static Z3_ast Z3_app_to_ast(Z3_context a0, Z3_app a1)
Definition: Native.cs:3206
static uint Z3_func_entry_get_num_args(Z3_context a0, Z3_func_entry a1)
Z3_tactic Z3_API Z3_tactic_using_params(__in Z3_context c, __in Z3_tactic t, __in Z3_params p)
Return a tactic that applies t using the given set of parameters.
static int Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2)
Z3_bool Z3_API Z3_eval_decl(__in Z3_context c, __in Z3_model m, __in Z3_func_decl d, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[], __out Z3_ast *v)
Evaluate declaration given values.
static void Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2)
static void Z3_stats_dec_ref(Z3_context a0, Z3_stats a1)
Definition: Native.cs:5054
static Z3_ast Z3_mk_is_int(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2246
static Z3_ast Z3_parse_smtlib2_string(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7)
static int Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2)
Definition: Native.cs:3390
Z3_func_decl Z3_API Z3_get_tuple_sort_mk_decl(__in Z3_context c, __in Z3_sort t)
Return the constructor declaration of the given tuple sort.
static uint Z3_get_ast_id(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3246
static Z3_ast Z3_algebraic_root(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:5498
static Z3_ast Z3_fixedpoint_get_cover_delta(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3)
static int Z3_get_numeral_rational_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3)
Z3_ast Z3_API Z3_mk_ge(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Create greater than or equal to.
static void Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2)
Definition: Native.cs:4059
static Z3_ast Z3_mk_not(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2078
unsigned Z3_API Z3_get_model_func_num_entries(__in Z3_context c, __in Z3_model m, __in unsigned i)
Return the number of entries of the i-th function interpretation in the given model.
static string Z3_goal_to_string(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4493
void Z3_API Z3_dec_ref(__in Z3_context c, __in Z3_ast a)
Decrement the reference counter of the given AST. The context c should have been created using Z3_mk_...
Z3_ast Z3_API Z3_mk_int(__in Z3_context c, __in int v, __in Z3_sort ty)
Create a numeral of an int, bit-vector, or finite-domain sort.
static Z3_ast Z3_mk_extract(Z3_context a0, uint a1, uint a2, Z3_ast a3)
static Z3_solver Z3_mk_solver_from_tactic(Z3_context a0, Z3_tactic a1)
static void Z3_disable_trace(string a0)
Definition: Native.cs:4015
static int Z3_algebraic_neq(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5554
static Z3_ast Z3_mk_bvredor(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2270
static void Z3_parse_smtlib_string(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7)
Z3_tactic Z3_API Z3_tactic_and_then(__in Z3_context c, __in Z3_tactic t1, __in Z3_tactic t2)
Return a tactic that applies t1 to a given goal and t2 to every subgoal produced by t1...
static int Z3_algebraic_ge(Z3_context a0, Z3_ast a1, Z3_ast a2)
void Z3_API Z3_fixedpoint_push(Z3_context c, Z3_fixedpoint d)
Create a backtracking point.
Z3_ast Z3_API Z3_mk_bvult(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Unsigned less than.
void Z3_API Z3_del_constructor_list(__in Z3_context c, __in Z3_constructor_list clist)
Reclaim memory allocated for constructor list.
static void Z3_interrupt(Z3_context a0)
Definition: Native.cs:1740
static Z3_func_decl Z3_mk_fresh_func_decl(Z3_context a0, string a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4)
static Z3_sort Z3_mk_finite_domain_sort(Z3_context a0, IntPtr a1, UInt64 a2)
Definition: Native.cs:1914
Z3_rcf_num Z3_API Z3_rcf_mk_rational(__in Z3_context c, __in Z3_string val)
Return a RCF rational using the given string.
static string Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3856
static Z3_ast Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2278
Z3_ast Z3_API Z3_simplify(__in Z3_context c, __in Z3_ast a)
Interface to simplifier.
static Z3_ast Z3_mk_is_int(Z3_context a0, Z3_ast a1)
static void Z3_stats_inc_ref(Z3_context a0, Z3_stats a1)
Definition: Native.cs:5047
static void Z3_stats_dec_ref(Z3_context a0, Z3_stats a1)
static Z3_ast Z3_model_get_const_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2)
Definition: Native.cs:3628
static Z3_ast Z3_algebraic_mul(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_string Z3_API Z3_solver_get_help(__in Z3_context c, __in Z3_solver s)
Return a string describing all solver available parameters.
static int Z3_check_assumptions(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In, Out] ref Z3_model a3, [In, Out] ref Z3_ast a4, [In, Out] ref uint a5, [Out] Z3_ast[] a6)
void Z3_API Z3_params_set_uint(__in Z3_context c, __in Z3_params p, __in Z3_symbol k, __in unsigned v)
Add a unsigned parameter k with value v to the parameter set p.
static Z3_solver Z3_mk_simple_solver(Z3_context a0)
static Z3_probe Z3_probe_not(Z3_context a0, Z3_probe a1)
Z3_ast_vector Z3_API Z3_solver_get_unsat_core(__in Z3_context c, __in Z3_solver s)
Retrieve the unsat core for the last Z3_solver_check_assumptions The unsat core is a subset of the as...
void Z3_API Z3_del_literals(__in Z3_context c, __in Z3_literals lbls)
Delete a labels context.
void Z3_API Z3_soft_check_cancel(__in Z3_context c)
Cancel an ongoing check.
Z3_func_entry Z3_API Z3_func_interp_get_entry(__in Z3_context c, __in Z3_func_interp f, unsigned i)
Return a "point" of the given function intepretation. It represents the value of f in a particular po...
static string Z3_statistics_to_string(Z3_context a0)
Definition: Native.cs:5410
Z3_tactic Z3_API Z3_tactic_skip(__in Z3_context c)
Return a tactic that just return the given goal.
static void Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] IntPtr[] a4)
Definition: Native.cs:4143
static Z3_ast Z3_mk_mul(Z3_context a0, uint a1, [In] Z3_ast[] a2)
static int Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
static Z3_ast Z3_mk_sub(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2150
unsigned Z3_API Z3_get_smtlib_num_sorts(__in Z3_context c)
Return the number of sorts parsed by Z3_parse_smtlib_string or Z3_parse_smtlib_file.
void Z3_API Z3_set_error(__in Z3_context c, __in Z3_error_code e)
Set an error.
static void Z3_stats_inc_ref(Z3_context a0, Z3_stats a1)
static Z3_tactic Z3_tactic_cond(Z3_context a0, Z3_probe a1, Z3_tactic a2, Z3_tactic a3)
static Z3_func_decl Z3_get_smtlib_decl(Z3_context a0, uint a1)
Definition: Native.cs:3950
static Z3_sort Z3_mk_datatype(Z3_context a0, IntPtr a1, uint a2, [In, Out] Z3_constructor[] a3)
Definition: Native.cs:1969
Z3_solver Z3_API Z3_mk_solver_for_logic(__in Z3_context c, __in Z3_symbol logic)
Create a new solver customized for the given logic. It behaves like Z3_mk_solver if the logic is unkn...
static Z3_sort Z3_mk_bv_sort(Z3_context a0, uint a1)
Definition: Native.cs:1906
Z3_bool Z3_API Z3_model_eval(__in Z3_context c, __in Z3_model m, __in Z3_ast t, __in Z3_bool model_completion, __out Z3_ast *v)
Evaluate the AST node t in the given model. Return Z3_TRUE if succeeded, and store the result in v...
void Z3_API Z3_probe_inc_ref(__in Z3_context c, __in Z3_probe p)
Increment the reference counter of the given probe.
Z3_ast Z3_API Z3_mk_bvmul(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Standard two's complement multiplication.
static int Z3_algebraic_is_zero(Z3_context a0, Z3_ast a1)
static void Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2)
Z3_goal Z3_API Z3_goal_translate(__in Z3_context source, __in Z3_goal g, __in Z3_context target)
Copy a goal g from the context source to a the context target.
static Z3_constructor_list Z3_mk_constructor_list(Z3_context a0, uint a1, [In] Z3_constructor[] a2)
static IntPtr Z3_get_symbol_string(Z3_context a0, IntPtr a1)
static void Z3_solver_pop(Z3_context a0, Z3_solver a1, uint a2)
Z3_bool Z3_API Z3_rcf_eq(__in Z3_context c, __in Z3_rcf_num a, __in Z3_rcf_num b)
Return Z3_TRUE if a == b.
static void Z3_probe_inc_ref(Z3_context a0, Z3_probe a1)
Definition: Native.cs:4531
Z3_lbool Z3_API Z3_check(__in Z3_context c)
Check whether the given logical context is consistent or not.
static Z3_ast Z3_mk_le(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_string Z3_API Z3_fixedpoint_to_string(__in Z3_context c, __in Z3_fixedpoint f, __in unsigned num_queries, __in_ecount(num_queries) Z3_ast queries[])
Print the current rules and background axioms as a string.
static void Z3_append_log(string a0)
Definition: Native.cs:3813
Z3_func_decl Z3_API Z3_get_model_constant(__in Z3_context c, __in Z3_model m, __in unsigned i)
Return the i-th constant in the given model.
static string Z3_probe_get_descr(Z3_context a0, string a1)
Definition: Native.cs:4777
Z3_ast Z3_API Z3_mk_set_del(__in Z3_context c, __in Z3_ast set, __in Z3_ast elem)
Remove an element to a set.
static Z3_context Z3_mk_context_rc(Z3_config a0)
Z3_probe Z3_API Z3_probe_not(__in Z3_context x, __in Z3_probe p)
Return a probe that evaluates to "true" when p does not evaluate to true.
static IntPtr Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, uint a2)
static int Z3_algebraic_gt(Z3_context a0, Z3_ast a1, Z3_ast a2)
static int Z3_rcf_gt(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:5705
unsigned Z3_API Z3_stats_size(__in Z3_context c, __in Z3_stats s)
Return the number of statistical data in s.
Z3_pattern Z3_API Z3_get_quantifier_pattern_ast(__in Z3_context c, __in Z3_ast a, unsigned i)
Return i'th pattern.
void Z3_API Z3_solver_assert(__in Z3_context c, __in Z3_solver s, __in Z3_ast a)
Assert a constraint into the solver.
static void Z3_set_ast_print_mode(Z3_context a0, uint a1)
Definition: Native.cs:3825
static Z3_ast Z3_mk_real(Z3_context a0, int a1, int a2)
static Z3_literals Z3_get_relevant_labels(Z3_context a0)
Definition: Native.cs:5222
static Z3_ast Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_symbol_kind Z3_API Z3_get_symbol_kind(__in Z3_context c, __in Z3_symbol s)
Return Z3_INT_SYMBOL if the symbol was constructed using Z3_mk_int_symbol, and Z3_STRING_SYMBOL if th...
static Z3_tactic Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, uint a2)
static uint Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3094
unsigned Z3_API Z3_func_interp_get_num_entries(__in Z3_context c, __in Z3_func_interp f)
Return the number of entries in the given function interpretation.
static int Z3_is_well_sorted(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3270
void Z3_API Z3_persist_ast(__in Z3_context c, __in Z3_ast a, __in unsigned num_scopes)
Persist AST through num_scopes pops. This function is only relevant if c was created using Z3_mk_cont...
static uint Z3_apply_result_get_num_subgoals(Z3_context a0, Z3_apply_result a1)
static string Z3_get_probe_name(Z3_context a0, uint a1)
Definition: Native.cs:4745
static Z3_tactic Z3_tactic_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2)
Z3_ast Z3_API Z3_mk_map(__in Z3_context c, __in Z3_func_decl f, unsigned n, __in Z3_ast const *args)
map f on the the argument arrays.
static void Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3)
Definition: Native.cs:4045
BEGIN_MLAPI_EXCLUDE Z3_string Z3_API Z3_get_error_msg_ex(__in Z3_context c, __in Z3_error_code err)
Return a string describing the given error code.
static int Z3_stats_is_double(Z3_context a0, Z3_stats a1, uint a2)
static Z3_ast Z3_mk_sign_ext(Z3_context a0, uint a1, Z3_ast a2)
Definition: Native.cs:2478
static Z3_tactic Z3_tactic_fail_if(Z3_context a0, Z3_probe a1)
Z3_ast_vector Z3_API Z3_get_interpolant(__in Z3_context c, __in Z3_ast pf, __in Z3_ast pat, __in Z3_params p)
Z3_lbool Z3_API Z3_fixedpoint_query(__in Z3_context c, __in Z3_fixedpoint d, __in Z3_ast query)
Pose a query against the asserted rules.
static Z3_ast Z3_goal_formula(Z3_context a0, Z3_goal a1, uint a2)
Z3_string Z3_API Z3_goal_to_string(__in Z3_context c, __in Z3_goal g)
Convert a goal into a string.
Z3_lbool Z3_API Z3_fixedpoint_query_relations(__in Z3_context c, __in Z3_fixedpoint d, __in unsigned num_relations, __in_ecount(num_relations) Z3_func_decl const relations[])
Pose multiple queries against the asserted rules.
static IntPtr Z3_get_label_symbol(Z3_context a0, Z3_literals a1, uint a2)
Definition: Native.cs:5261
void Z3_API Z3_parse_smtlib_string(__in Z3_context c, __in Z3_string str, __in unsigned num_sorts, __in_ecount(num_sorts) Z3_symbol const sort_names[], __in_ecount(num_sorts) Z3_sort const sorts[], __in unsigned num_decls, __in_ecount(num_decls) Z3_symbol const decl_names[], __in_ecount(num_decls) Z3_func_decl const decls[])
Parse the given string using the SMT-LIB parser.
static Z3_rcf_num Z3_rcf_div(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:5665
static Z3_rcf_num Z3_rcf_mk_e(Z3_context a0)
static string Z3_get_error_msg(uint a0)
Definition: Native.cs:3994
Z3_ast Z3_API Z3_mk_bvnot(__in Z3_context c, __in Z3_ast t1)
Bitwise negation.
static void Z3_params_set_double(Z3_context a0, Z3_params a1, IntPtr a2, double a3)
static Z3_func_decl Z3_mk_func_decl(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4)
Definition: Native.cs:2006
static Z3_ast Z3_mk_div(Z3_context a0, Z3_ast a1, Z3_ast a2)
static uint Z3_get_implied_equalities(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3, [Out] uint[] a4)
Z3_ast Z3_API Z3_mk_bvmul_no_underflow(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Create a predicate that checks that the bit-wise signed multiplication of t1 and t2 does not underflo...
Z3_func_decl Z3_API Z3_get_smtlib_decl(__in Z3_context c, __in unsigned i)
Return the i-th declaration parsed by the last call to Z3_parse_smtlib_string or Z3_parse_smtlib_file...
static void Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1)
double Z3_API Z3_stats_get_double_value(__in Z3_context c, __in Z3_stats s, __in unsigned idx)
Return the double value of the given statistical data.
Z3_ast Z3_API Z3_mk_false(__in Z3_context c)
Create an AST node representing false.
static Z3_ast Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2)
static void Z3_fixedpoint_update_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3)
Definition: Native.cs:4098
static Z3_tactic Z3_tactic_par_or(Z3_context a0, uint a1, [In] Z3_tactic[] a2)
static int Z3_is_as_array(Z3_context a0, Z3_ast a1)
Z3_string Z3_API Z3_params_to_string(__in Z3_context c, __in Z3_params p)
Convert a parameter set into a string. This function is mainly used for printing the contents of a pa...
static Z3_rcf_num Z3_rcf_mk_small_int(Z3_context a0, int a1)
Z3_ast Z3_API Z3_mk_set_union(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[])
Take the union of a list of sets.
static uint Z3_func_entry_get_num_args(Z3_context a0, Z3_func_entry a1)
Definition: Native.cs:3792
static uint Z3_get_relation_arity(Z3_context a0, Z3_sort a1)
void Z3_API Z3_ast_vector_push(__in Z3_context c, __in Z3_ast_vector v, __in Z3_ast a)
Add the AST a in the end of the AST vector v. The size of v is increased by one.
void Z3_API Z3_solver_push(__in Z3_context c, __in Z3_solver s)
Create a backtracking point.
unsigned Z3_API Z3_goal_num_exprs(__in Z3_context c, __in Z3_goal g)
Return the number of formulas, subformulas and terms in the given goal.
static Z3_ast Z3_mk_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2382
static Z3_literals Z3_get_guessed_literals(Z3_context a0)
unsigned Z3_API Z3_get_model_num_funcs(__in Z3_context c, __in Z3_model m)
Return the number of function interpretations in the given model.
static void Z3_disable_trace(string a0)
static Z3_func_decl Z3_get_decl_func_decl_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
static uint Z3_get_num_literals(Z3_context a0, Z3_literals a1)
Definition: Native.cs:5253
static Z3_ast Z3_parse_smtlib2_string(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7)
Definition: Native.cs:3880
static void Z3_solver_dec_ref(Z3_context a0, Z3_solver a1)
static uint Z3_func_interp_get_arity(Z3_context a0, Z3_func_interp a1)
Definition: Native.cs:3762
static uint Z3_get_index_value(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3454
static Z3_ast_vector Z3_solver_get_assertions(Z3_context a0, Z3_solver a1)
Z3_sort Z3_API Z3_get_array_sort_domain(__in Z3_context c, __in Z3_sort t)
Return the domain of the given array sort.
Z3_ast Z3_API Z3_mk_ite(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2, __in Z3_ast t3)
Create an AST node representing an if-then-else: ite(t1, t2, t3).
static uint Z3_get_quantifier_num_bound(Z3_context a0, Z3_ast a1)
static Z3_ast Z3_mk_repeat(Z3_context a0, uint a1, Z3_ast a2)
Definition: Native.cs:2494
static void Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2)
Definition: Native.cs:4279
static Z3_pattern Z3_get_quantifier_pattern_ast(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:3486
Z3_string Z3_API Z3_get_decl_rational_parameter(__in Z3_context c, __in Z3_func_decl d, unsigned idx)
Return the rational value, as a string, associated with a rational parameter.
static void Z3_param_descrs_dec_ref(Z3_context a0, Z3_param_descrs a1)
void Z3_API Z3_goal_dec_ref(__in Z3_context c, __in Z3_goal g)
Decrement the reference counter of the given goal.
static int Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_func_decl[] a3)
Definition: Native.cs:4074
Z3_rcf_num Z3_API Z3_rcf_mk_small_int(__in Z3_context c, __in int val)
Return a RCF small integer.
void Z3_API Z3_block_literals(__in Z3_context c, __in Z3_literals lbls)
Block subsequent checks using the remaining enabled labels.
void Z3_API Z3_pop(__in Z3_context c, __in unsigned num_scopes)
Backtrack.
static int Z3_get_numeral_small(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3)
static Z3_ast Z3_mk_or(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Z3_literals Z3_API Z3_get_guessed_literals(__in Z3_context c)
Retrieve the set of literals that whose assignment were guess, but not propagated during the search...
void Z3_API Z3_fixedpoint_add_fact(__in Z3_context c, __in Z3_fixedpoint d, __in Z3_func_decl r, __in unsigned num_args, __in_ecount(num_args) unsigned args[])
Add a Database fact.
static Z3_tactic Z3_mk_tactic(Z3_context a0, string a1)
Definition: Native.cs:4501
Z3_tactic Z3_API Z3_tactic_cond(__in Z3_context c, __in Z3_probe p, __in Z3_tactic t1, __in Z3_tactic t2)
Return a tactic that applies t1 to a given goal if the probe p evaluates to true, and t2 if p evaluat...
static string Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4173
static int Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, [In, Out] ref UInt64 a2)
Definition: Native.cs:2966
static int Z3_algebraic_lt(Z3_context a0, Z3_ast a1, Z3_ast a2)
static int Z3_check_and_get_model(Z3_context a0, [In, Out] ref Z3_model a1)
static IntPtr Z3_mk_int_symbol(Z3_context a0, int a1)
Definition: Native.cs:1858
static IntPtr Z3_sort_to_string(Z3_context a0, Z3_sort a1)
static Z3_ast Z3_mk_unsigned_int(Z3_context a0, uint a1, Z3_sort a2)
Definition: Native.cs:2790
static Z3_ast Z3_mk_eq(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2062
Z3_string Z3_API Z3_probe_get_descr(__in Z3_context c, __in Z3_string name)
Return a string containing a description of the probe with the given name.
static Z3_func_decl Z3_get_as_array_func_decl(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3716
static void Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1)
static int Z3_global_param_get(string a0, out IntPtr a1)
Definition: Native.cs:1683
unsigned Z3_API Z3_model_get_num_funcs(__in Z3_context c, __in Z3_model m)
Return the number of function interpretations in the given model.
static Z3_ast Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2318
static void Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] uint[] a4)
Definition: Native.cs:4052
static Z3_context Z3_mk_context_rc(Z3_config a0)
Definition: Native.cs:1708
static int Z3_rcf_lt(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Z3_ast Z3_API Z3_mk_bvredor(__in Z3_context c, __in Z3_ast t1)
Take disjunction of bits in vector, return vector of length 1.
Z3_ast Z3_API Z3_mk_bvmul_no_overflow(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2, Z3_bool is_signed)
Create a predicate that checks that the bit-wise multiplication of t1 and t2 does not overflow...
Z3_ast Z3_API Z3_mk_bvsrem(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Two's complement signed remainder (sign follows dividend).
static void Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4)
Definition: Native.cs:4121
static Z3_sort Z3_model_get_sort(Z3_context a0, Z3_model a1, uint a2)
static int Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4477
static Z3_ast Z3_mk_bvadd_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2582
void Z3_API Z3_fixedpoint_inc_ref(__in Z3_context c, __in Z3_fixedpoint d)
Increment the reference counter of the given fixedpoint context.
Z3_ast Z3_API Z3_mk_implies(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Create an AST node representing t1 implies t2.
static void Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1)
Definition: Native.cs:4509
void Z3_API Z3_fixedpoint_add_rule(__in Z3_context c, __in Z3_fixedpoint d, __in Z3_ast rule, __in Z3_symbol name)
Add a universal Horn clause as a named rule. The horn_rule should be of the form: ...
static Z3_ast Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2710
static void Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1)
Definition: Native.cs:3777
static uint Z3_get_model_num_constants(Z3_context a0, Z3_model a1)
Definition: Native.cs:5291
static int Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1)
static IntPtr Z3_tactic_get_descr(Z3_context a0, string a1)
static Z3_ast Z3_mk_ext_rotate_left(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2542
static int Z3_check_and_get_model(Z3_context a0, [In, Out] ref Z3_model a1)
Definition: Native.cs:5160
static string Z3_benchmark_to_smtlib_string(Z3_context a0, string a1, string a2, string a3, string a4, uint a5, [In] Z3_ast[] a6, Z3_ast a7)
Definition: Native.cs:3872
static uint Z3_model_get_num_funcs(Z3_context a0, Z3_model a1)
Definition: Native.cs:3668
static Z3_func_decl Z3_get_tuple_sort_field_decl(Z3_context a0, Z3_sort a1, uint a2)
Definition: Native.cs:3006
Z3_ast Z3_API Z3_mk_bvugt(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Unsigned greater than.
static Z3_ast Z3_mk_bvsdiv_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2606
Z3_string Z3_API Z3_stats_get_key(__in Z3_context c, __in Z3_stats s, __in unsigned idx)
Return the key (a string) for a particular statistical data.
Z3_func_decl Z3_API Z3_get_datatype_sort_constructor(__in Z3_context c, __in Z3_sort t, unsigned idx)
Return idx'th constructor.
static Z3_ast Z3_sort_to_ast(Z3_context a0, Z3_sort a1)
void Z3_API Z3_func_interp_inc_ref(__in Z3_context c, __in Z3_func_interp f)
Increment the reference counter of the given Z3_func_interp object.
static Z3_constructor Z3_mk_constructor(Z3_context a0, IntPtr a1, IntPtr a2, uint a3, [In] IntPtr[] a4, [In] Z3_sort[] a5, [In] uint[] a6)
static int Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1)
static int Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref Z3_ast a3)
Definition: Native.cs:5386
static Z3_ast Z3_mk_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2414
Z3_ast Z3_API Z3_mk_and(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[])
Create an AST node representing args[0] and ... and args[num_args-1].The array args must have num_arg...
unsigned Z3_API Z3_get_arity(__in Z3_context c, __in Z3_func_decl d)
Alias for Z3_get_domain_size.
static Z3_ast Z3_mk_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2406
static IntPtr Z3_simplify_get_help(Z3_context a0)
int Z3_API Z3_get_symbol_int(__in Z3_context c, __in Z3_symbol s)
Return the symbol int value.
static Z3_ast Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2190
static Z3_sort Z3_get_sort(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3262
static Z3_ast Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3)
Definition: Native.cs:2622
static Z3_ast Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3)
Z3_ast Z3_API Z3_mk_select(__in Z3_context c, __in Z3_ast a, __in Z3_ast i)
Array read. The argument a is the array and i is the index of the array that gets read...
Z3_bool Z3_API Z3_get_numeral_small(__in Z3_context c, __in Z3_ast a, __out __int64 *num, __out __int64 *den)
Return numeral value, as a pair of 64 bit numbers if the representation fits.
unsigned Z3_API Z3_get_ast_id(__in Z3_context c, Z3_ast t)
Return a unique identifier for t.
static Z3_tactic Z3_tactic_fail_if_not_decided(Z3_context a0)
Z3_ast Z3_API Z3_mk_bvsle(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Two's complement signed less than or equal to.
static Z3_sort Z3_model_get_sort(Z3_context a0, Z3_model a1, uint a2)
Definition: Native.cs:3692
Z3_string Z3_API Z3_pattern_to_string(__in Z3_context c, __in Z3_pattern p)
static Z3_ast Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:3422
Z3_rcf_num Z3_API Z3_rcf_sub(__in Z3_context c, __in Z3_rcf_num a, __in Z3_rcf_num b)
Return the value a - b.
static Z3_ast Z3_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2)
Definition: Native.cs:2654
Z3_ast Z3_API Z3_mk_quantifier_const_ex(__in Z3_context c, Z3_bool is_forall, unsigned weight, __in Z3_symbol quantifier_id, __in Z3_symbol skolem_id, unsigned num_bound, __in_ecount(num_bound) Z3_app const bound[], unsigned num_patterns, __in_ecount(num_patterns) Z3_pattern const patterns[], unsigned num_no_patterns, __in_ecount(num_no_patterns) Z3_ast const no_patterns[], __in Z3_ast body)
Create a universal or existential quantifier using a list of constants that will form the set of boun...
Z3_ast Z3_API Z3_get_model_func_entry_value(__in Z3_context c, __in Z3_model m, __in unsigned i, __in unsigned j)
Return the return value of the j-th entry of the i-th function interpretation in the given model...
static Z3_ast Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2214
Z3_symbol Z3_API Z3_param_descrs_get_name(__in Z3_context c, __in Z3_param_descrs p, __in unsigned i)
Return the number of parameters in the given parameter description set.
static uint Z3_get_sort_id(Z3_context a0, Z3_sort a1)
static void Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3)
Z3_bool Z3_API Z3_rcf_neq(__in Z3_context c, __in Z3_rcf_num a, __in Z3_rcf_num b)
Return Z3_TRUE if a != b.
Z3_bool Z3_API Z3_eval_func_decl(__in Z3_context c, __in Z3_model m, __in Z3_func_decl decl, __out Z3_ast *v)
Return the value of the given constant or function in the given model.
Z3_string Z3_API Z3_get_numeral_decimal_string(__in Z3_context c, __in Z3_ast a, __in unsigned precision)
Return numeral as a string in decimal notation. The result has at most precision decimal places...
static Z3_ast Z3_mk_xor(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2110
static Z3_goal Z3_goal_translate(Z3_context a0, Z3_goal a1, Z3_context a2)
Definition: Native.cs:4485
static Z3_probe Z3_probe_const(Z3_context a0, double a1)
Z3_bool Z3_API Z3_set_logic(__in Z3_context c, __in Z3_string logic)
Set the SMTLIB logic to be used in the given logical context. It is incorrect to invoke this function...
Z3_ast Z3_API Z3_mk_lt(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Create less than.
Z3_func_decl Z3_API Z3_model_get_const_decl(__in Z3_context c, __in Z3_model m, __in unsigned i)
Return the i-th constant in the given model.
unsigned Z3_API Z3_get_ast_hash(__in Z3_context c, __in Z3_ast a)
Return a hash code for the given AST.
static int Z3_model_has_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2)
Definition: Native.cs:3636
void Z3_API Z3_query_constructor(__in Z3_context c, __in Z3_constructor constr, __in unsigned num_fields, __out Z3_func_decl *constructor, __out Z3_func_decl *tester, __out_ecount(num_fields) Z3_func_decl accessors[])
Query constructor for declared functions.
static void Z3_set_ast_print_mode(Z3_context a0, uint a1)
static Z3_sort Z3_get_array_sort_domain(Z3_context a0, Z3_sort a1)
Definition: Native.cs:2974
static Z3_ast Z3_mk_bvredand(Z3_context a0, Z3_ast a1)
Z3_ast_vector Z3_API Z3_fixedpoint_from_file(__in Z3_context c, __in Z3_fixedpoint f, __in Z3_string s)
Parse an SMT-LIB2 file with fixedpoint rules. Add the rules to the current fixedpoint context...
static uint Z3_get_app_num_args(Z3_context a0, Z3_app a1)
static uint Z3_get_tuple_sort_num_fields(Z3_context a0, Z3_sort a1)
Definition: Native.cs:2998
static void Z3_rcf_get_numerator_denominator(Z3_context a0, Z3_rcf_num a1, [In, Out] ref Z3_rcf_num a2, [In, Out] ref Z3_rcf_num a3)
static int Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3462
static Z3_ast Z3_mk_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Definition: Native.cs:2086
static Z3_ast Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2334
static Z3_ast Z3_mk_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2)
static uint Z3_get_quantifier_num_bound(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3510
Z3_string Z3_API Z3_interpolation_profile(__in Z3_context ctx)
static Z3_func_decl Z3_get_tuple_sort_field_decl(Z3_context a0, Z3_sort a1, uint a2)
static Z3_ast Z3_mk_ge(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_ast Z3_mk_int(Z3_context a0, int a1, Z3_sort a2)
static void Z3_parse_smtlib_file(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7)
Definition: Native.cs:3903
static void Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1)
static Z3_ast Z3_mk_xor(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_ast_vector Z3_get_interpolant(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_params a3)
static Z3_rcf_num Z3_rcf_neg(Z3_context a0, Z3_rcf_num a1)
Definition: Native.cs:5673
static Z3_ast Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, uint a2, uint a3)
Definition: Native.cs:5378
static Z3_ast Z3_mk_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_ast Z3_mk_repeat(Z3_context a0, uint a1, Z3_ast a2)
Z3_ast Z3_API Z3_mk_bvsub(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Standard two's complement subtraction.
static Z3_ast Z3_get_model_func_entry_arg(Z3_context a0, Z3_model a1, uint a2, uint a3, uint a4)
static Z3_ast Z3_mk_iff(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2094
static int Z3_algebraic_lt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5514
static Z3_sort Z3_get_relation_column(Z3_context a0, Z3_sort a1, uint a2)
Definition: Native.cs:3054
static Z3_ast Z3_get_app_arg(Z3_context a0, Z3_app a1, uint a2)
Definition: Native.cs:3230
static Z3_ast Z3_mk_and(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2118
static int Z3_model_eval(Z3_context a0, Z3_model a1, Z3_ast a2, int a3, [In, Out] ref Z3_ast a4)
static void Z3_del_literals(Z3_context a0, Z3_literals a1)
void Z3_API Z3_params_set_double(__in Z3_context c, __in Z3_params p, __in Z3_symbol k, __in double v)
Add a double parameter k with value v to the parameter set p.
static Z3_ast Z3_mk_unsigned_int64(Z3_context a0, UInt64 a1, Z3_sort a2)
Definition: Native.cs:2806
static Z3_ast Z3_mk_distinct(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2070
Z3_ast Z3_API Z3_mk_real2int(__in Z3_context c, __in Z3_ast t1)
Coerce a real to an integer.
Z3_ast Z3_API Z3_mk_int2real(__in Z3_context c, __in Z3_ast t1)
Coerce an integer to a real.
static Z3_rcf_num Z3_rcf_power(Z3_context a0, Z3_rcf_num a1, uint a2)
Z3_bool Z3_API Z3_algebraic_is_pos(__in Z3_context c, __in Z3_ast a)
Return the Z3_TRUE if a is positive, and Z3_FALSE otherwise.
Z3_string Z3_API Z3_sort_to_string(__in Z3_context c, __in Z3_sort s)
Z3_bool Z3_API Z3_rcf_ge(__in Z3_context c, __in Z3_rcf_num a, __in Z3_rcf_num b)
Return Z3_TRUE if a >= b.
static void Z3_param_descrs_inc_ref(Z3_context a0, Z3_param_descrs a1)
Definition: Native.cs:1812
Z3_string Z3_API Z3_ast_to_string(__in Z3_context c, __in Z3_ast a)
Convert the given AST node into a string.
static string Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1)
Definition: Native.cs:4377
Z3_ast Z3_API Z3_get_pattern(__in Z3_context c, __in Z3_pattern p, __in unsigned idx)
Return i'th ast in pattern.
static Z3_ast Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2638
static Z3_ast_vector Z3_fixedpoint_get_rules(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4150
static Z3_ast Z3_mk_int2bv(Z3_context a0, uint a1, Z3_ast a2)
Definition: Native.cs:2558
static Z3_ast Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, uint a2)
Definition: Native.cs:3800
static Z3_ast Z3_get_denominator(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3358
static string Z3_apply_result_to_string(Z3_context a0, Z3_apply_result a1)
Definition: Native.cs:4823
static int Z3_open_log(string a0)
Z3_ast Z3_API Z3_solver_get_proof(__in Z3_context c, __in Z3_solver s)
Retrieve the proof for the last Z3_solver_check or Z3_solver_check_assumptions.
static Z3_ast Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_ast Z3_algebraic_root(Z3_context a0, Z3_ast a1, uint a2)
static IntPtr Z3_mk_string_symbol(Z3_context a0, string a1)
Definition: Native.cs:1866
Z3_solver Z3_API Z3_mk_simple_solver(__in Z3_context c)
Create a new (incremental) solver.
Z3_probe Z3_API Z3_probe_const(__in Z3_context x, __in double val)
Return a probe that always evaluates to val.
static Z3_param_descrs Z3_simplify_get_param_descrs(Z3_context a0)
Definition: Native.cs:3566
static uint Z3_goal_size(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4445
static void Z3_set_error(Z3_context a0, uint a1)
Definition: Native.cs:3987
static Z3_tactic Z3_tactic_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2)
Definition: Native.cs:4545
Z3_string Z3_API Z3_statistics_to_string(__in Z3_context c)
Return runtime statistics as a string.
static Z3_sort Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2)
Definition: Native.cs:1922
static int Z3_rcf_le(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:5713
Z3_sort Z3_API Z3_mk_int_sort(__in Z3_context c)
Create the integer type.
static uint Z3_get_error_code(Z3_context a0)
Definition: Native.cs:3982
static void Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, uint a2)
Definition: Native.cs:4272
Z3_ast Z3_API Z3_get_smtlib_assumption(__in Z3_context c, __in unsigned i)
Return the i-th assumption parsed by the last call to Z3_parse_smtlib_string or Z3_parse_smtlib_file...
static uint Z3_get_arity(Z3_context a0, Z3_func_decl a1)
Z3_string Z3_API Z3_tactic_get_descr(__in Z3_context c, __in Z3_string name)
Return a string containing a description of the tactic with the given name.
static Z3_ast Z3_mk_quantifier_ex(Z3_context a0, int a1, uint a2, IntPtr a3, IntPtr a4, uint a5, [In] Z3_pattern[] a6, uint a7, [In] Z3_ast[] a8, uint a9, [In] Z3_sort[] a10, [In] IntPtr[] a11, Z3_ast a12)
static uint Z3_get_model_func_entry_num_args(Z3_context a0, Z3_model a1, uint a2, uint a3)
static Z3_ast Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_ast_vector Z3_model_get_sort_universe(Z3_context a0, Z3_model a1, Z3_sort a2)
static Z3_ast Z3_pattern_to_ast(Z3_context a0, Z3_pattern a1)
Definition: Native.cs:3430
Z3_ast Z3_API Z3_get_denominator(__in Z3_context c, __in Z3_ast a)
Return the denominator (as a numeral AST) of a numeral AST of sort Real.
static Z3_context Z3_mk_interpolation_context(Z3_config a0)
Definition: Native.cs:5776
Z3_ast Z3_API Z3_mk_bvand(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Bitwise and.
static Z3_sort Z3_mk_int_sort(Z3_context a0)
Definition: Native.cs:1890
static void Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1)
unsigned Z3_API Z3_get_smtlib_num_assumptions(__in Z3_context c)
Return the number of SMTLIB assumptions parsed by Z3_parse_smtlib_string or Z3_parse_smtlib_file.
static uint Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, IntPtr a2)
Definition: Native.cs:1826
static Z3_ast Z3_mk_interpolant(Z3_context a0, Z3_ast a1)
static void Z3_solver_assert_and_track(Z3_context a0, Z3_solver a1, Z3_ast a2, Z3_ast a3)
Definition: Native.cs:4960
static Z3_ast_vector Z3_fixedpoint_get_assertions(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4158
Z3_ast Z3_API Z3_app_to_ast(__in Z3_context c, __in Z3_app a)
Convert a Z3_app into Z3_ast. This is just type casting.
static uint Z3_get_smtlib_num_sorts(Z3_context a0)
static Z3_func_decl Z3_get_datatype_sort_constructor_accessor(Z3_context a0, Z3_sort a1, uint a2, uint a3)
static Z3_solver Z3_mk_solver(Z3_context a0)
static uint Z3_get_datatype_sort_num_constructors(Z3_context a0, Z3_sort a1)
static void Z3_ast_vector_set(Z3_context a0, Z3_ast_vector a1, uint a2, Z3_ast a3)
Definition: Native.cs:4265
void Z3_API Z3_del_context(__in Z3_context c)
Delete the given logical context.
void Z3_API Z3_set_error_handler(__in Z3_context c, __in Z3_error_handler h)
Register a Z3 error handler.
static Z3_ast Z3_mk_array_default(Z3_context a0, Z3_ast a1)
static uint Z3_get_ast_hash(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3254
Z3_ast Z3_API Z3_algebraic_sub(__in Z3_context c, __in Z3_ast a, __in Z3_ast b)
Return the value a - b.
static void Z3_assert_cnstr(Z3_context a0, Z3_ast a1)
Z3_bool Z3_API Z3_goal_is_decided_sat(__in Z3_context c, __in Z3_goal g)
Return true if the goal is empty, and it is precise or the product of a under approximation.
static Z3_ast Z3_mk_bvmul_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2)
static IntPtr Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1)
void Z3_API Z3_param_descrs_dec_ref(__in Z3_context c, __in Z3_param_descrs p)
Decrement the reference counter of the given parameter description set.
Z3_stats Z3_API Z3_fixedpoint_get_statistics(__in Z3_context c, __in Z3_fixedpoint d)
Retrieve statistics information from the last call to Z3_fixedpoint_query.
Z3_ast Z3_API Z3_mk_bvuge(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Unsigned greater than or equal to.
static Z3_ast Z3_simplify(Z3_context a0, Z3_ast a1)
Z3_string Z3_API Z3_simplify_get_help(__in Z3_context c)
Return a string describing all available parameters.
Z3_sort Z3_API Z3_mk_set_sort(__in Z3_context c, __in Z3_sort ty)
Create Set type.
static void Z3_del_model(Z3_context a0, Z3_model a1)
static Z3_ast Z3_mk_false(Z3_context a0)
Definition: Native.cs:2054
static uint Z3_get_domain_size(Z3_context a0, Z3_func_decl a1)
static Z3_sort Z3_mk_bool_sort(Z3_context a0)
void Z3_API Z3_solver_set_params(__in Z3_context c, __in Z3_solver s, __in Z3_params p)
Set the given solver using the given parameters.
static void Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1)
static Z3_rcf_num Z3_rcf_mk_rational(Z3_context a0, string a1)
Definition: Native.cs:5593
static Z3_ast Z3_get_smtlib_assumption(Z3_context a0, uint a1)
Z3_string Z3_API Z3_get_probe_name(__in Z3_context c, unsigned i)
Return the name of the i probe.
Z3_stats Z3_API Z3_solver_get_statistics(__in Z3_context c, __in Z3_solver s)
Return statistics for the given solver.
void Z3_API Z3_disable_trace(__in Z3_string tag)
Disable tracing messages tagged as tag when Z3 is compiled in debug mode. It is a NOOP otherwise...
static uint Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3078
static Z3_ast Z3_mk_bound(Z3_context a0, uint a1, Z3_sort a2)
Definition: Native.cs:2822
static int Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2)
Definition: Native.cs:2942
static double Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2)
Definition: Native.cs:4785
static int Z3_check_interpolant(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In] uint[] a3, [In] Z3_ast[] a4, out IntPtr a5, uint a6, [In] Z3_ast[] a7)
Definition: Native.cs:5813
static int Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:3238
static Z3_ast Z3_func_interp_get_else(Z3_context a0, Z3_func_interp a1)
static void Z3_func_interp_inc_ref(Z3_context a0, Z3_func_interp a1)
Definition: Native.cs:3724
static Z3_tactic Z3_tactic_when(Z3_context a0, Z3_probe a1, Z3_tactic a2)
static Z3_ast Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2310
Z3_lbool Z3_API Z3_compute_interpolant(__in Z3_context c, __in Z3_ast pat, __in Z3_params p, __out Z3_ast_vector *interp, __out Z3_model *model)
Z3_string Z3_API Z3_benchmark_to_smtlib_string(__in Z3_context c, __in Z3_string name, __in Z3_string logic, __in Z3_string status, __in Z3_string attributes, __in unsigned num_assumptions, __in_ecount(num_assumptions) Z3_ast const assumptions[], __in Z3_ast formula)
Convert the given benchmark into SMT-LIB formatted string.
static Z3_ast Z3_mk_unsigned_int64(Z3_context a0, UInt64 a1, Z3_sort a2)
Z3_probe Z3_API Z3_probe_ge(__in Z3_context x, __in Z3_probe p1, __in Z3_probe p2)
Return a probe that evaluates to "true" when the value returned by p1 is greater than or equal to the...
static int Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2)
Definition: Native.cs:4324
static int Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, [In, Out] ref uint a2)
Definition: Native.cs:3382
static Z3_constructor_list Z3_mk_constructor_list(Z3_context a0, uint a1, [In] Z3_constructor[] a2)
Definition: Native.cs:1977
unsigned Z3_API Z3_model_get_num_consts(__in Z3_context c, __in Z3_model m)
Return the number of constants assigned by the given model.
Z3_ast Z3_API Z3_mk_not(__in Z3_context c, __in Z3_ast a)
Create an AST node representing not(a).
static void Z3_query_constructor(Z3_context a0, Z3_constructor a1, uint a2, [In, Out] ref Z3_func_decl a3, [In, Out] ref Z3_func_decl a4, [Out] Z3_func_decl[] a5)
Definition: Native.cs:1999
static Z3_probe Z3_probe_not(Z3_context a0, Z3_probe a1)
Definition: Native.cs:4713
void Z3_API Z3_get_array_value(__in Z3_context c, __in Z3_model m, __in Z3_ast v, __in unsigned num_entries, __inout_ecount(num_entries) Z3_ast indices[], __inout_ecount(num_entries) Z3_ast values[], __out Z3_ast *else_value)
An array values is represented as a dictionary plus a default (else) value. This function returns the...
Z3_ast Z3_API Z3_mk_bvsge(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Two's complement signed greater than or equal to.
static IntPtr Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
static Z3_func_decl Z3_get_model_func_decl(Z3_context a0, Z3_model a1, uint a2)
Definition: Native.cs:5315
static IntPtr Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:3518
void Z3_API Z3_del_config(__in Z3_config c)
Delete the given configuration object.
static int Z3_rcf_eq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:5729
static int Z3_algebraic_le(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5530
static string Z3_params_to_string(Z3_context a0, Z3_params a1)
Definition: Native.cs:1797
static Z3_tactic Z3_tactic_fail_if(Z3_context a0, Z3_probe a1)
Definition: Native.cs:4625
static Z3_context Z3_mk_context(Z3_config a0)
unsigned Z3_API Z3_get_num_scopes(__in Z3_context c)
Retrieve the current scope level.
static Z3_ast Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2)
Definition: Native.cs:4332
static void Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4031
static int Z3_get_symbol_int(Z3_context a0, IntPtr a1)
Definition: Native.cs:2902
static void Z3_parse_smtlib_file(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7)
static Z3_ast Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2454
static Z3_ast Z3_mk_quantifier_const_ex(Z3_context a0, int a1, uint a2, IntPtr a3, IntPtr a4, uint a5, [In] Z3_app[] a6, uint a7, [In] Z3_pattern[] a8, uint a9, [In] Z3_ast[] a10, Z3_ast a11)
Z3_ast Z3_API Z3_mk_repeat(__in Z3_context c, __in unsigned i, __in Z3_ast t1)
Repeat the given bit-vector up length i.
static Z3_probe Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2)
Definition: Native.cs:4681
static Z3_ast Z3_mk_rotate_right(Z3_context a0, uint a1, Z3_ast a2)
static int Z3_rcf_gt(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
static Z3_ast Z3_algebraic_div(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_func_decl Z3_model_get_const_decl(Z3_context a0, Z3_model a1, uint a2)
Definition: Native.cs:3660
Z3_ast Z3_API Z3_mk_bvadd_no_underflow(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Create a predicate that checks that the bit-wise signed addition of t1 and t2 does not underflow...
Z3_ast Z3_API Z3_mk_bvnand(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Bitwise nand.
static uint Z3_get_ast_id(Z3_context a0, Z3_ast a1)
static int Z3_solver_check(Z3_context a0, Z3_solver a1)
Definition: Native.cs:4975
BEGIN_MLAPI_EXCLUDE Z3_constructor Z3_API Z3_mk_constructor(__in Z3_context c, __in Z3_symbol name, __in Z3_symbol recognizer, __in unsigned num_fields, __in_ecount(num_fields) Z3_symbol const field_names[], __in_ecount(num_fields) Z3_sort_opt const sorts[], __in_ecount(num_fields) unsigned sort_refs[])
Create a constructor.
static Z3_sort Z3_mk_uninterpreted_sort(Z3_context a0, IntPtr a1)
Z3_string Z3_API Z3_get_error_msg(__in Z3_error_code err)
Return a string describing the given error code.
void Z3_API Z3_fixedpoint_dec_ref(__in Z3_context c, __in Z3_fixedpoint d)
Decrement the reference counter of the given fixedpoint context.
static Z3_ast Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2)
static void Z3_ast_vector_set(Z3_context a0, Z3_ast_vector a1, uint a2, Z3_ast a3)
Z3_bool Z3_API Z3_stats_is_uint(__in Z3_context c, __in Z3_stats s, __in unsigned idx)
Return Z3_TRUE if the given statistical data is a unsigned integer.
Z3_bool Z3_API Z3_algebraic_lt(__in Z3_context c, __in Z3_ast a, __in Z3_ast b)
Return Z3_TRUE if a < b, and Z3_FALSE otherwise.
static Z3_ast Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2294
Z3_ast Z3_API Z3_mk_div(__in Z3_context c, __in Z3_ast arg1, __in Z3_ast arg2)
Create an AST node representing arg1 div arg2.The arguments must either both have int type or both ha...
Z3_ast Z3_API Z3_mk_bvneg(__in Z3_context c, __in Z3_ast t1)
Standard two's complement unary minus.
Z3_ast Z3_API Z3_sort_to_ast(__in Z3_context c, __in Z3_sort s)
Convert a Z3_sort into Z3_ast. This is just type casting.
static void Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1)
Definition: Native.cs:4354
static uint Z3_func_interp_get_num_entries(Z3_context a0, Z3_func_interp a1)
Definition: Native.cs:3738
void Z3_API Z3_disable_literal(__in Z3_context c, __in Z3_literals lbls, __in unsigned idx)
Disable label.
static Z3_probe Z3_mk_probe(Z3_context a0, string a1)
Z3_symbol Z3_API Z3_get_label_symbol(__in Z3_context c, __in Z3_literals lbls, __in unsigned idx)
Retrieve label symbol at idx.
Z3_ast Z3_API Z3_mk_unary_minus(__in Z3_context c, __in Z3_ast arg)
Create an AST node representing -arg.The arguments must have int or real type.
static void Z3_pop(Z3_context a0, uint a1)
Definition: Native.cs:5131
static Z3_apply_result Z3_tactic_apply_ex(Z3_context a0, Z3_tactic a1, Z3_goal a2, Z3_params a3)
Definition: Native.cs:4801
unsigned Z3_API Z3_get_quantifier_weight(__in Z3_context c, __in Z3_ast a)
Obtain weight of quantifier.
Z3_ast Z3_API Z3_algebraic_div(__in Z3_context c, __in Z3_ast a, __in Z3_ast b)
Return the value a / b.
Z3_sort Z3_API Z3_get_sort(__in Z3_context c, __in Z3_ast a)
Return the sort of an AST node.
static uint Z3_get_smtlib_num_decls(Z3_context a0)
Definition: Native.cs:3942
static Z3_context Z3_mk_context(Z3_config a0)
Definition: Native.cs:1701
static void Z3_push(Z3_context a0)
Definition: Native.cs:5124
Z3_ast Z3_API Z3_func_entry_get_arg(__in Z3_context c, __in Z3_func_entry e, __in unsigned i)
Return an argument of a Z3_func_entry object.
static Z3_ast Z3_mk_unary_minus(Z3_context a0, Z3_ast a1)
Z3_bool Z3_API Z3_algebraic_ge(__in Z3_context c, __in Z3_ast a, __in Z3_ast b)
Return Z3_TRUE if a >= b, and Z3_FALSE otherwise.
static Z3_ast Z3_mk_unary_minus(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2158
Z3_string Z3_API Z3_model_to_string(__in Z3_context c, __in Z3_model m)
Convert the given model into a string.
void Z3_API Z3_ast_map_inc_ref(__in Z3_context c, __in Z3_ast_map m)
Increment the reference counter of the given AST map.
static Z3_ast Z3_algebraic_mul(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5482
static int Z3_is_algebraic_number(Z3_context a0, Z3_ast a1)
Z3_ast Z3_API Z3_mk_rotate_left(__in Z3_context c, __in unsigned i, __in Z3_ast t1)
Rotate bits of t1 to the left i times.
static int Z3_algebraic_eq(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5546
static int Z3_check_interpolant(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In] uint[] a3, [In] Z3_ast[] a4, out IntPtr a5, uint a6, [In] Z3_ast[] a7)
static Z3_sort Z3_mk_set_sort(Z3_context a0, Z3_sort a1)
Definition: Native.cs:2678
Z3_param_descrs Z3_API Z3_tactic_get_param_descrs(__in Z3_context c, __in Z3_tactic t)
Return the parameter description set for the given tactic object.
static Z3_sort Z3_get_range(Z3_context a0, Z3_func_decl a1)
static Z3_ast Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2750
static Z3_stats Z3_solver_get_statistics(Z3_context a0, Z3_solver a1)
static Z3_ast Z3_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2)
unsigned Z3_API Z3_get_relation_arity(__in Z3_context c, __in Z3_sort s)
Return arity of relation.
static Z3_ast Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2)
Definition: Native.cs:3550
static Z3_ast Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_ast Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2)
static uint Z3_get_search_failure(Z3_context a0)
static Z3_ast Z3_mk_full_set(Z3_context a0, Z3_sort a1)
void Z3_API Z3_func_entry_inc_ref(__in Z3_context c, __in Z3_func_entry e)
Increment the reference counter of the given Z3_func_entry object.
Z3_func_decl Z3_API Z3_get_app_decl(__in Z3_context c, __in Z3_app a)
Return the declaration of a constant or function application.
static string Z3_fixedpoint_get_reason_unknown(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4090
unsigned Z3_API Z3_fixedpoint_get_num_levels(Z3_context c, Z3_fixedpoint d, Z3_func_decl pred)
Query the PDR engine for the maximal levels properties are known about predicate. ...
void Z3_API Z3_solver_reset(__in Z3_context c, __in Z3_solver s)
Remove all assertions from the solver.
static Z3_ast Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2510
static IntPtr Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1)
void Z3_API Z3_push(__in Z3_context c)
Create a backtracking point.
Z3_solver Z3_API Z3_mk_solver(__in Z3_context c)
Create a new (incremental) solver. This solver also uses a set of builtin tactics for handling the fi...
static Z3_pattern Z3_mk_pattern(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2814
static Z3_ast Z3_mk_add(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2134
static Z3_ast Z3_fixedpoint_get_answer(Z3_context a0, Z3_fixedpoint a1)
static Z3_ast Z3_mk_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2)
static void Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] uint[] a4)
static Z3_constructor Z3_mk_constructor(Z3_context a0, IntPtr a1, IntPtr a2, uint a3, [In] IntPtr[] a4, [In] Z3_sort[] a5, [In] uint[] a6)
Definition: Native.cs:1954
static void Z3_mk_datatypes(Z3_context a0, uint a1, [In] IntPtr[] a2, [Out] Z3_sort[] a3, [In, Out] Z3_constructor_list[] a4)
Definition: Native.cs:1992
static IntPtr Z3_get_error_msg(uint a0)
static int Z3_algebraic_is_pos(Z3_context a0, Z3_ast a1)
static void Z3_pop(Z3_context a0, uint a1)
unsigned Z3_API Z3_goal_size(__in Z3_context c, __in Z3_goal g)
Return the number of formulas in the given goal.
static uint Z3_stats_size(Z3_context a0, Z3_stats a1)
Z3_ast Z3_API Z3_func_interp_get_else(__in Z3_context c, __in Z3_func_interp f)
Return the 'else' value of the given function interpretation.
Z3_probe Z3_API Z3_probe_or(__in Z3_context x, __in Z3_probe p1, __in Z3_probe p2)
Return a probe that evaluates to "true" when p1 or p2 evaluates to true.
void Z3_API Z3_fixedpoint_add_cover(Z3_context c, Z3_fixedpoint d, int level, Z3_func_decl pred, Z3_ast property)
Add property about the predicate pred. Add a property of predicate pred at level. It gets pushed forw...
static uint Z3_get_tuple_sort_num_fields(Z3_context a0, Z3_sort a1)
static uint Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3478
static uint Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, uint a2)
Z3_ast Z3_API Z3_mk_bvsgt(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Two's complement signed greater than.
Z3_parameter_kind Z3_API Z3_get_decl_parameter_kind(__in Z3_context c, __in Z3_func_decl d, unsigned idx)
Return the parameter type associated with a declaration.
static string Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3198
Z3_ast Z3_API Z3_mk_bvnor(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Bitwise nor.
static Z3_model Z3_solver_get_model(Z3_context a0, Z3_solver a1)
Definition: Native.cs:4991
static Z3_tactic Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, uint a2)
static void Z3_del_constructor_list(Z3_context a0, Z3_constructor_list a1)
static void Z3_del_context(Z3_context a0)
Definition: Native.cs:1715
static Z3_ast Z3_func_entry_get_value(Z3_context a0, Z3_func_entry a1)
static void Z3_params_validate(Z3_context a0, Z3_params a1, Z3_param_descrs a2)
Definition: Native.cs:1805
static int Z3_rcf_ge(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:5721
static IntPtr Z3_context_to_string(Z3_context a0)
static int Z3_check(Z3_context a0)
Definition: Native.cs:5168
static void Z3_block_literals(Z3_context a0, Z3_literals a1)
static Z3_ast Z3_func_interp_get_else(Z3_context a0, Z3_func_interp a1)
Definition: Native.cs:3754
Z3_ast Z3_API Z3_mk_bv2int(__in Z3_context c, __in Z3_ast t1, Z3_bool is_signed)
Create an integer from the bit-vector argument t1. If is_signed is false, then the bit-vector t1 is t...
static void Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2)
Definition: Native.cs:4415
unsigned Z3_API Z3_get_num_probes(__in Z3_context c)
Return the number of builtin probes available in Z3.
static Z3_ast Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:3414
static uint Z3_get_symbol_kind(Z3_context a0, IntPtr a1)
Z3_ast Z3_API Z3_mk_set_add(__in Z3_context c, __in Z3_ast set, __in Z3_ast elem)
Add an element to a set.
Z3_ast Z3_API Z3_mk_quantifier_const(__in Z3_context c, Z3_bool is_forall, unsigned weight, unsigned num_bound, __in_ecount(num_bound) Z3_app const bound[], unsigned num_patterns, __in_ecount(num_patterns) Z3_pattern const patterns[], __in Z3_ast body)
Create a universal or existential quantifier using a list of constants that will form the set of boun...
void Z3_API Z3_params_validate(__in Z3_context c, __in Z3_params p, __in Z3_param_descrs d)
Validate the parameter set p against the parameter description set d.
static int Z3_read_interpolation_problem(Z3_context a0, [In, Out] ref uint a1, [Out] out Z3_ast[] a2, [Out] out uint[] a3, string a4, out IntPtr a5, [In, Out] ref uint a6, [Out] out Z3_ast[] a7)
void Z3_API Z3_mk_datatypes(__in Z3_context c, __in unsigned num_sorts, __in_ecount(num_sorts) Z3_symbol const sort_names[], __out_ecount(num_sorts) Z3_sort sorts[], __inout_ecount(num_sorts) Z3_constructor_list constructor_lists[])
Create mutually recursive datatypes.
Z3_symbol Z3_API Z3_get_quantifier_bound_name(__in Z3_context c, __in Z3_ast a, unsigned i)
Return symbol of the i'th bound variable.
static uint Z3_model_get_num_funcs(Z3_context a0, Z3_model a1)
BEGIN_MLAPI_EXCLUDE Z3_string Z3_API Z3_get_smtlib_error(__in Z3_context c)
Retrieve that last error message information generated from parsing.
static string Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:3342
static Z3_ast Z3_mk_full_set(Z3_context a0, Z3_sort a1)
Definition: Native.cs:2694
static Z3_ast Z3_mk_int2real(Z3_context a0, Z3_ast a1)
unsigned Z3_API Z3_ast_vector_size(__in Z3_context c, __in Z3_ast_vector v)
Return the size of the given AST vector.
Z3_sort Z3_API Z3_get_domain(__in Z3_context c, __in Z3_func_decl d, __in unsigned i)
Return the sort of the i-th parameter of the given function declaration.
Z3_config Z3_API Z3_mk_config(void)
Create a configuration object for the Z3 context object.
void Z3_API Z3_tactic_dec_ref(__in Z3_context c, __in Z3_tactic g)
Decrement the reference counter of the given tactic.
static IntPtr Z3_get_probe_name(Z3_context a0, uint a1)
Z3_bool Z3_API Z3_goal_is_decided_unsat(__in Z3_context c, __in Z3_goal g)
Return true if the goal contains false, and it is precise or the product of an over approximation...
static IntPtr Z3_tactic_get_help(Z3_context a0, Z3_tactic a1)
static void Z3_assert_cnstr(Z3_context a0, Z3_ast a1)
Definition: Native.cs:5153
Z3_bool Z3_API Z3_rcf_lt(__in Z3_context c, __in Z3_rcf_num a, __in Z3_rcf_num b)
Return Z3_TRUE if a < b.
unsigned Z3_API Z3_get_smtlib_num_formulas(__in Z3_context c)
Return the number of SMTLIB formulas parsed by the last call to Z3_parse_smtlib_string or Z3_parse_sm...
unsigned Z3_API Z3_model_get_num_sorts(__in Z3_context c, __in Z3_model m)
Return the number of uninterpreted sorts that m assigs an interpretation to.
int Z3_API Z3_algebraic_sign(__in Z3_context c, __in Z3_ast a)
Return 1 if a is positive, 0 if a is zero, and -1 if a is negative.
static void Z3_solver_dec_ref(Z3_context a0, Z3_solver a1)
Definition: Native.cs:4917
static int Z3_is_algebraic_number(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3310
static void Z3_get_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, uint a3, [Out] Z3_ast[] a4, [Out] Z3_ast[] a5, [In, Out] ref Z3_ast a6)
static void Z3_params_dec_ref(Z3_context a0, Z3_params a1)
static int Z3_rcf_neq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:5737
static Z3_tactic Z3_tactic_when(Z3_context a0, Z3_probe a1, Z3_tactic a2)
Definition: Native.cs:4585
static Z3_ast Z3_mk_not(Z3_context a0, Z3_ast a1)
static Z3_ast Z3_mk_set_difference(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2734
static IntPtr Z3_get_label_symbol(Z3_context a0, Z3_literals a1, uint a2)
Z3_ast Z3_API Z3_mk_extract(__in Z3_context c, __in unsigned high, __in unsigned low, __in Z3_ast t1)
Extract the bits high down to low from a bitvector of size m to yield a new bitvector of size n...
static void Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1)
Z3_app Z3_API Z3_to_app(__in Z3_context c, __in Z3_ast a)
Convert an ast into an APP_AST. This is just type casting.
static Z3_ast Z3_algebraic_sub(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5474
static void Z3_apply_result_inc_ref(Z3_context a0, Z3_apply_result a1)
Definition: Native.cs:4809
static uint Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3142
static Z3_ast Z3_mk_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
static Z3_ast Z3_mk_bvnot(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2254
Z3_ast Z3_API Z3_mk_distinct(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[])
Create an AST node representing distinct(args[0], ..., args[num_args-1]).The distinct construct is us...
static int Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, [In, Out] ref UInt64 a2)
static Z3_ast Z3_mk_set_difference(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_ast Z3_API Z3_mk_bvxnor(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Bitwise xnor.
Z3_ast Z3_API Z3_mk_bvudiv(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Unsigned division.
Z3_ast Z3_API Z3_mk_or(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[])
Create an AST node representing args[0] or ... or args[num_args-1].The array args must have num_args ...
static uint Z3_goal_depth(Z3_context a0, Z3_goal a1)
static void Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2)
static void Z3_del_config(Z3_config a0)
Definition: Native.cs:1693
static void Z3_del_context(Z3_context a0)
static void Z3_probe_dec_ref(Z3_context a0, Z3_probe a1)
static string Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5015
Z3_ast Z3_API Z3_mk_exists_const(__in Z3_context c, unsigned weight, unsigned num_bound, __in_ecount(num_bound) Z3_app const bound[], unsigned num_patterns, __in_ecount(num_patterns) Z3_pattern const patterns[], __in Z3_ast body)
Similar to Z3_mk_forall_const.
static IntPtr Z3_solver_to_string(Z3_context a0, Z3_solver a1)
static Z3_config Z3_mk_config()
Definition: Native.cs:1688
static void Z3_params_set_symbol(Z3_context a0, Z3_params a1, IntPtr a2, IntPtr a3)
Definition: Native.cs:1790
static Z3_ast_vector Z3_fixedpoint_from_file(Z3_context a0, Z3_fixedpoint a1, string a2)
Definition: Native.cs:4205
static Z3_ast_map Z3_mk_ast_map(Z3_context a0)
Definition: Native.cs:4302
void Z3_API Z3_ast_vector_inc_ref(__in Z3_context c, __in Z3_ast_vector v)
Increment the reference counter of the given AST vector.
static Z3_ast Z3_mk_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2342
static IntPtr Z3_goal_to_string(Z3_context a0, Z3_goal a1)
Z3_rcf_num Z3_API Z3_rcf_power(__in Z3_context c, __in Z3_rcf_num a, __in unsigned k)
Return the value a^k.
static Z3_ast Z3_mk_quantifier(Z3_context a0, int a1, uint a2, uint a3, [In] Z3_pattern[] a4, uint a5, [In] Z3_sort[] a6, [In] IntPtr[] a7, Z3_ast a8)
static Z3_ast Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2438
static uint Z3_get_smtlib_num_formulas(Z3_context a0)
void Z3_API Z3_rcf_get_numerator_denominator(__in Z3_context c, __in Z3_rcf_num a, __out Z3_rcf_num *n, __out Z3_rcf_num *d)
Extract the "numerator" and "denominator" of the given RCF numeral. We have that a = n/d...
static Z3_rcf_num Z3_rcf_sub(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
void Z3_API Z3_interrupt(__in Z3_context c)
Interrupt the execution of a Z3 procedure. This procedure can be used to interrupt: solvers...
Z3_ast Z3_API Z3_get_numerator(__in Z3_context c, __in Z3_ast a)
Return the numerator (as a numeral AST) of a numeral AST of sort Real.
static Z3_ast Z3_mk_lt(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_func_decl Z3_get_app_decl(Z3_context a0, Z3_app a1)
unsigned Z3_API Z3_func_entry_get_num_args(__in Z3_context c, __in Z3_func_entry e)
Return the number of arguments in a Z3_func_entry object.
Z3_ast Z3_API Z3_mk_set_subset(__in Z3_context c, __in Z3_ast arg1, __in Z3_ast arg2)
Check for subsetness of sets.
Z3_symbol Z3_API Z3_get_sort_name(__in Z3_context c, __in Z3_sort d)
Return the sort name as a symbol.
static Z3_ast Z3_mk_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2)
static IntPtr Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, uint a2)
static Z3_ast Z3_mk_set_complement(Z3_context a0, Z3_ast a1)
Z3_param_descrs Z3_API Z3_solver_get_param_descrs(__in Z3_context c, __in Z3_solver s)
Return the parameter description set for the given solver object.
static Z3_ast Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Definition: Native.cs:2646
Z3_ast Z3_API Z3_get_smtlib_formula(__in Z3_context c, __in unsigned i)
Return the i-th formula parsed by the last call to Z3_parse_smtlib_string or Z3_parse_smtlib_file.
static IntPtr Z3_solver_get_help(Z3_context a0, Z3_solver a1)
static uint Z3_func_interp_get_arity(Z3_context a0, Z3_func_interp a1)
static double Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3158
static Z3_ast_map Z3_mk_ast_map(Z3_context a0)
Z3_ast Z3_API Z3_mk_xor(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Create an AST node representing t1 xor t2.
static uint Z3_get_ast_kind(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3286
static Z3_ast Z3_mk_ext_rotate_right(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2550
Z3_string Z3_API Z3_context_to_string(__in Z3_context c)
Convert the given logical context into a string.
static void Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1)
static string Z3_interpolation_profile(Z3_context a0)
Definition: Native.cs:5797
static int Z3_algebraic_eval(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3)
void Z3_API Z3_reset_memory(void)
Reset all allocated resources.
Z3_tactic Z3_API Z3_tactic_when(__in Z3_context c, __in Z3_probe p, __in Z3_tactic t)
Return a tactic that applies t to a given goal is the probe p evaluates to true. If p evaluates to fa...
static Z3_ast Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_rcf_num Z3_API Z3_rcf_neg(__in Z3_context c, __in Z3_rcf_num a)
Return the value -a.
static Z3_ast Z3_substitute(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3, [In] Z3_ast[] a4)
static Z3_ast Z3_pattern_to_ast(Z3_context a0, Z3_pattern a1)
static void Z3_close_log()
Z3_ast Z3_API Z3_ast_vector_get(__in Z3_context c, __in Z3_ast_vector v, __in unsigned i)
Return the AST at position i in the AST vector v.
static Z3_func_decl Z3_mk_func_decl(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4)
static Z3_ast Z3_mk_rem(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2182
static int Z3_get_numeral_int(Z3_context a0, Z3_ast a1, [In, Out] ref int a2)
Definition: Native.cs:3374
static int Z3_algebraic_ge(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5538
static Z3_func_decl Z3_get_datatype_sort_recognizer(Z3_context a0, Z3_sort a1, uint a2)
Definition: Native.cs:3030
static Z3_ast_vector Z3_fixedpoint_get_assertions(Z3_context a0, Z3_fixedpoint a1)
static Z3_ast Z3_mk_ge(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2222
static Z3_ast_vector Z3_mk_ast_vector(Z3_context a0)
static Z3_tactic Z3_tactic_fail_if_not_decided(Z3_context a0)
Definition: Native.cs:4633
Z3_probe Z3_API Z3_probe_le(__in Z3_context x, __in Z3_probe p1, __in Z3_probe p2)
Return a probe that evaluates to "true" when the value returned by p1 is less than or equal to the va...
static Z3_rcf_num Z3_rcf_power(Z3_context a0, Z3_rcf_num a1, uint a2)
Definition: Native.cs:5689
static Z3_solver Z3_mk_simple_solver(Z3_context a0)
Definition: Native.cs:4863
static Z3_fixedpoint Z3_mk_fixedpoint(Z3_context a0)
static Z3_ast Z3_mk_label(Z3_context a0, IntPtr a1, int a2, Z3_ast a3)
static Z3_ast Z3_get_pattern(Z3_context a0, Z3_pattern a1, uint a2)
Definition: Native.cs:3446
static int Z3_eval_func_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, [In, Out] ref Z3_ast a3)
static uint Z3_get_error_code(Z3_context a0)
static Z3_param_descrs Z3_tactic_get_param_descrs(Z3_context a0, Z3_tactic a1)
Z3_sort Z3_API Z3_mk_list_sort(__in Z3_context c, __in Z3_symbol name, __in Z3_sort elem_sort, __out Z3_func_decl *nil_decl, __out Z3_func_decl *is_nil_decl, __out Z3_func_decl *cons_decl, __out Z3_func_decl *is_cons_decl, __out Z3_func_decl *head_decl, __out Z3_func_decl *tail_decl)
Create a list sort.
static Z3_ast Z3_solver_get_proof(Z3_context a0, Z3_solver a1)
Definition: Native.cs:4999
static Z3_ast Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2)
void Z3_API Z3_func_interp_dec_ref(__in Z3_context c, __in Z3_func_interp f)
Decrement the reference counter of the given Z3_func_interp object.
unsigned Z3_API Z3_get_index_value(__in Z3_context c, __in Z3_ast a)
Return index of de-Brujin bound variable.
static Z3_sort Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:3526
Z3_ast Z3_API Z3_get_algebraic_number_upper(Z3_context c, Z3_ast a, unsigned precision)
Return a upper bound for the given real algebraic number. The interval isolating the number is smalle...
static Z3_sort Z3_get_relation_column(Z3_context a0, Z3_sort a1, uint a2)
static Z3_ast_vector Z3_ast_vector_translate(Z3_context a0, Z3_ast_vector a1, Z3_context a2)
Definition: Native.cs:4286
Z3_ast Z3_API Z3_mk_forall(__in Z3_context c, __in unsigned weight, __in unsigned num_patterns, __in_ecount(num_patterns) Z3_pattern const patterns[], __in unsigned num_decls, __in_ecount(num_decls) Z3_sort const sorts[], __in_ecount(num_decls) Z3_symbol const decl_names[], __in Z3_ast body)
Create a forall formula. It takes an expression body that contains bound variables of the same sorts ...
static int Z3_algebraic_gt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5522
Z3_solver Z3_API Z3_mk_solver_from_tactic(__in Z3_context c, __in Z3_tactic t)
Create a new solver that is implemented using the given tactic. The solver supports the commands Z3_s...
static Z3_rcf_num Z3_rcf_mk_e(Z3_context a0)
Definition: Native.cs:5617
static uint Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, IntPtr a2)
static void Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2)
Definition: Native.cs:4903
static void Z3_fixedpoint_set_params(Z3_context a0, Z3_fixedpoint a1, Z3_params a2)
static void Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2)
Z3_func_decl Z3_API Z3_get_decl_func_decl_parameter(__in Z3_context c, __in Z3_func_decl d, unsigned idx)
Return the expresson value associated with an expression parameter.
static Z3_sort Z3_get_smtlib_sort(Z3_context a0, uint a1)
Definition: Native.cs:3966
static Z3_pattern Z3_mk_pattern(Z3_context a0, uint a1, [In] Z3_ast[] a2)
static uint Z3_get_decl_num_parameters(Z3_context a0, Z3_func_decl a1)
Z3_ast Z3_API Z3_mk_bvxor(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Bitwise exclusive-or.
Z3_string Z3_API Z3_ast_vector_to_string(__in Z3_context c, __in Z3_ast_vector v)
Convert AST vector into a string.
Z3_ast_vector Z3_API Z3_solver_get_assertions(__in Z3_context c, __in Z3_solver s)
Return the set of asserted formulas as a goal object.
static void Z3_params_set_uint(Z3_context a0, Z3_params a1, IntPtr a2, uint a3)
static void Z3_params_set_symbol(Z3_context a0, Z3_params a1, IntPtr a2, IntPtr a3)
static int Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_ast Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2398
static Z3_tactic Z3_tactic_skip(Z3_context a0)
Definition: Native.cs:4609
Z3_string Z3_API Z3_get_numeral_string(__in Z3_context c, __in Z3_ast a)
Return numeral value, as a string of a numeric constant term.
Z3_func_decl Z3_API Z3_mk_fresh_func_decl(__in Z3_context c, __in Z3_string prefix, __in unsigned domain_size, __in_ecount(domain_size) Z3_sort const domain[], __in Z3_sort range)
Declare a fresh constant or function.
static Z3_rcf_num Z3_rcf_mk_small_int(Z3_context a0, int a1)
Definition: Native.cs:5601
static Z3_ast Z3_mk_fresh_const(Z3_context a0, string a1, Z3_sort a2)
static Z3_ast Z3_mk_bvnot(Z3_context a0, Z3_ast a1)
static IntPtr Z3_model_to_string(Z3_context a0, Z3_model a1)
static Z3_sort Z3_get_decl_sort_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
static Z3_ast Z3_algebraic_power(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:5506
static uint Z3_get_num_tactics(Z3_context a0)
Definition: Native.cs:4721
static void Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1)
Definition: Native.cs:3731
static void Z3_close_log()
Definition: Native.cs:3817
static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1)
Definition: Native.cs:1668
static uint Z3_get_num_scopes(Z3_context a0)
static Z3_ast Z3_mk_bvsub_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3)
Definition: Native.cs:2598
static void Z3_get_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, uint a3, [Out] Z3_ast[] a4, [Out] Z3_ast[] a5, [In, Out] ref Z3_ast a6)
Definition: Native.cs:5339
static void Z3_func_interp_inc_ref(Z3_context a0, Z3_func_interp a1)
static Z3_ast Z3_func_decl_to_ast(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3062
static int Z3_rcf_le(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
static Z3_ast Z3_mk_bvurem(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2374
static uint Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1)
static void Z3_goal_inc_ref(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4393
static Z3_ast Z3_mk_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2366
static Z3_ast_vector Z3_solver_get_unsat_core(Z3_context a0, Z3_solver a1)
static Z3_ast Z3_mk_ext_rotate_right(Z3_context a0, Z3_ast a1, Z3_ast a2)
unsigned Z3_API Z3_get_func_decl_id(__in Z3_context c, Z3_func_decl f)
Return a unique identifier for f.
void Z3_API Z3_fixedpoint_register_relation(__in Z3_context c, __in Z3_fixedpoint d, __in Z3_func_decl f)
Register relation as Fixedpoint defined. Fixedpoint defined relations have least-fixedpoint semantics...
static string Z3_context_to_string(Z3_context a0)
Definition: Native.cs:5402
Z3_ast Z3_API Z3_func_decl_to_ast(__in Z3_context c, __in Z3_func_decl f)
Convert a Z3_func_decl into Z3_ast. This is just type casting.
static Z3_literals Z3_get_relevant_literals(Z3_context a0)
static Z3_rcf_num Z3_rcf_mul(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:5657
static Z3_probe Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2)
Definition: Native.cs:4697
Z3_bool Z3_API Z3_get_numeral_uint(__in Z3_context c, __in Z3_ast v, __out unsigned *u)
Similar to Z3_get_numeral_string, but only succeeds if the value can fit in a machine unsigned int...
static int Z3_algebraic_neq(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_probe Z3_API Z3_probe_lt(__in Z3_context x, __in Z3_probe p1, __in Z3_probe p2)
Return a probe that evaluates to "true" when the value returned by p1 is less than the value returned...
static Z3_ast Z3_algebraic_div(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5490
static Z3_ast Z3_mk_distinct(Z3_context a0, uint a1, [In] Z3_ast[] a2)
static Z3_probe Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2)
static void Z3_append_log(string a0)
static void Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1)
static int Z3_eval_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, uint a3, [In] Z3_ast[] a4, [In, Out] ref Z3_ast a5)
Definition: Native.cs:5394
static void Z3_del_model(Z3_context a0, Z3_model a1)
Definition: Native.cs:5192
static void Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2)
static uint Z3_get_smtlib_num_formulas(Z3_context a0)
Definition: Native.cs:3910
static IntPtr Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, uint a2)
static Z3_probe Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2)
static void Z3_enable_trace(string a0)
Z3_lbool Z3_API Z3_check_assumptions(__in Z3_context c, __in unsigned num_assumptions, __in_ecount(num_assumptions) Z3_ast const assumptions[], __out Z3_model *m, __out Z3_ast *proof, __inout unsigned *core_size, __inout_ecount(num_assumptions) Z3_ast core[])
Check whether the given logical context and optional assumptions is consistent or not...
static Z3_fixedpoint Z3_mk_fixedpoint(Z3_context a0)
Definition: Native.cs:4023
static Z3_ast Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2390
static void Z3_solver_push(Z3_context a0, Z3_solver a1)
static Z3_ast Z3_mk_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3)
Z3_fixedpoint Z3_API Z3_mk_fixedpoint(__in Z3_context c)
Create a new fixedpoint context.
Z3_ast Z3_API Z3_fixedpoint_get_cover_delta(Z3_context c, Z3_fixedpoint d, int level, Z3_func_decl pred)
unsigned Z3_API Z3_goal_depth(__in Z3_context c, __in Z3_goal g)
Return the depth of the given goal. It tracks how many transformations were applied to it...
Z3_ast Z3_API Z3_mk_int64(__in Z3_context c, __in __int64 v, __in Z3_sort ty)
Create a numeral of a int, bit-vector, or finite-domain sort.
static Z3_ast Z3_mk_rotate_right(Z3_context a0, uint a1, Z3_ast a2)
Definition: Native.cs:2534
static int Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4469
static Z3_ast Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, uint a2, uint a3)
Z3_ast Z3_API Z3_mk_sign_ext(__in Z3_context c, __in unsigned i, __in Z3_ast t1)
Sign-extend of the given bit-vector to the (signed) equivalent bitvector of size m+i, where m is the size of the given bit-vector.
static void Z3_write_interpolation_problem(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In] uint[] a3, string a4, uint a5, [In] Z3_ast[] a6)
Definition: Native.cs:5821
static Z3_params Z3_mk_params(Z3_context a0)
Definition: Native.cs:1747
static void Z3_reset_memory()
Definition: Native.cs:4019
static Z3_ast Z3_mk_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2422
void Z3_API Z3_params_set_bool(__in Z3_context c, __in Z3_params p, __in Z3_symbol k, __in Z3_bool v)
Add a Boolean parameter k with value v to the parameter set p.
static Z3_ast Z3_algebraic_add(Z3_context a0, Z3_ast a1, Z3_ast a2)
static uint Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, uint a2)
Definition: Native.cs:5354
static Z3_ast Z3_mk_int2real(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2230
static Z3_ast Z3_get_denominator(Z3_context a0, Z3_ast a1)
Z3_bool Z3_API Z3_algebraic_is_zero(__in Z3_context c, __in Z3_ast a)
Return the Z3_TRUE if a is zero, and Z3_FALSE otherwise.
Z3_string Z3_API Z3_fixedpoint_get_reason_unknown(__in Z3_context c, __in Z3_fixedpoint d)
Retrieve a string that describes the last status returned by Z3_fixedpoint_query. ...
The exception base class for error reporting from Z3
Definition: Z3Exception.cs:27
static void Z3_set_logic(Z3_context a0, string a1)
static Z3_ast Z3_simplify(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3542
static Z3_ast Z3_mk_rotate_left(Z3_context a0, uint a1, Z3_ast a2)
Definition: Native.cs:2526
static int Z3_algebraic_sign(Z3_context a0, Z3_ast a1)
Definition: Native.cs:5458
static Z3_probe Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2)
Definition: Native.cs:4665
static Z3_ast_vector Z3_fixedpoint_from_string(Z3_context a0, Z3_fixedpoint a1, string a2)
Definition: Native.cs:4197
static Z3_tactic Z3_tactic_fail(Z3_context a0)
static Z3_ast Z3_get_model_func_entry_arg(Z3_context a0, Z3_model a1, uint a2, uint a3, uint a4)
Definition: Native.cs:5370
static Z3_func_decl Z3_get_decl_func_decl_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3190
Z3_string Z3_API Z3_get_symbol_string(__in Z3_context c, __in Z3_symbol s)
Return the symbol name.
static Z3_ast Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2)
void Z3_API Z3_probe_dec_ref(__in Z3_context c, __in Z3_probe p)
Decrement the reference counter of the given probe.
Z3_ast Z3_API Z3_mk_eq(__in Z3_context c, __in Z3_ast l, __in Z3_ast r)
Create an AST node representing l = r.
Z3_bool Z3_API Z3_rcf_gt(__in Z3_context c, __in Z3_rcf_num a, __in Z3_rcf_num b)
Return Z3_TRUE if a > b.
Z3_ast Z3_API Z3_mk_unsigned_int64(__in Z3_context c, __in unsigned __int64 v, __in Z3_sort ty)
Create a numeral of a int, bit-vector, or finite-domain sort.
Z3_ast Z3_API Z3_algebraic_add(__in Z3_context c, __in Z3_ast a, __in Z3_ast b)
Return the value a + b.
static Z3_ast Z3_mk_quantifier(Z3_context a0, int a1, uint a2, uint a3, [In] Z3_pattern[] a4, uint a5, [In] Z3_sort[] a6, [In] IntPtr[] a7, Z3_ast a8)
Definition: Native.cs:2846
static Z3_ast Z3_func_decl_to_ast(Z3_context a0, Z3_func_decl a1)
Z3_bool Z3_API Z3_is_app(__in Z3_context c, __in Z3_ast a)
static uint Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1)
Definition: Native.cs:4249
static uint Z3_fixedpoint_get_num_levels(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2)
static Z3_literals Z3_get_relevant_literals(Z3_context a0)
Definition: Native.cs:5230
static uint Z3_get_smtlib_num_sorts(Z3_context a0)
Definition: Native.cs:3958
static Z3_ast Z3_mk_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2446
static Z3_ast Z3_get_context_assignment(Z3_context a0)
Definition: Native.cs:5418
Z3_ast Z3_API Z3_mk_store(__in Z3_context c, __in Z3_ast a, __in Z3_ast i, __in Z3_ast v)
Array update.
static Z3_ast Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, uint a2)
static void Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1)
unsigned Z3_API Z3_get_bv_sort_size(__in Z3_context c, __in Z3_sort t)
Return the size of the given bit-vector sort.
static uint Z3_get_datatype_sort_num_constructors(Z3_context a0, Z3_sort a1)
Definition: Native.cs:3014
Z3_tactic Z3_API Z3_tactic_par_or(__in Z3_context c, __in unsigned num, __in_ecount(num) Z3_tactic const ts[])
Return a tactic that applies the given tactics in parallel.
Z3_string Z3_API Z3_rcf_num_to_decimal_string(__in Z3_context c, __in Z3_rcf_num a, __in unsigned prec)
Convert the RCF numeral into a string in decimal notation.
static Z3_ast Z3_mk_lt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2198
static Z3_ast Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2)
void Z3_API Z3_ast_map_reset(__in Z3_context c, __in Z3_ast_map m)
Remove all keys from the given map.
static void Z3_apply_result_dec_ref(Z3_context a0, Z3_apply_result a1)
static Z3_rcf_num Z3_rcf_inv(Z3_context a0, Z3_rcf_num a1)
void Z3_API Z3_del_model(__in Z3_context c, __in Z3_model m)
Delete a model object.
static void Z3_enable_trace(string a0)
Definition: Native.cs:4011
Z3_sort Z3_API Z3_get_quantifier_bound_sort(__in Z3_context c, __in Z3_ast a, unsigned i)
Return sort of the i'th bound variable.
static Z3_ast_vector Z3_mk_ast_vector(Z3_context a0)
Definition: Native.cs:4227
Z3_ast Z3_API Z3_get_model_func_entry_arg(__in Z3_context c, __in Z3_model m, __in unsigned i, __in unsigned j, __in unsigned k)
Return the k-th argument of the j-th entry of the i-th function interpretation in the given model...
static int Z3_rcf_ge(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
void Z3_API Z3_global_param_reset_all(void)
Restore the value of all global (and module) parameters. This command will not affect already created...
Z3_bool Z3_API Z3_model_has_interp(__in Z3_context c, __in Z3_model m, __in Z3_func_decl a)
Test if there exists an interpretation (i.e., assignment) for a in the model m.
static IntPtr Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1)
Z3_ast Z3_API Z3_mk_bvashr(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Arithmetic shift right.
static int Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2)
static Z3_rcf_num Z3_rcf_mk_infinitesimal(Z3_context a0)
static Z3_func_decl Z3_model_get_func_decl(Z3_context a0, Z3_model a1, uint a2)
static void Z3_model_inc_ref(Z3_context a0, Z3_model a1)
void Z3_API Z3_fixedpoint_set_predicate_representation(__in Z3_context c, __in Z3_fixedpoint d, __in Z3_func_decl f, __in unsigned num_relations, __in_ecount(num_relations) Z3_symbol const relation_kinds[])
Configure the predicate representation.
static string Z3_pattern_to_string(Z3_context a0, Z3_pattern a1)
Definition: Native.cs:3840
Z3_sort_kind Z3_API Z3_get_sort_kind(__in Z3_context c, __in Z3_sort t)
Return the sort kind (e.g., array, tuple, int, bool, etc).
static Z3_sort Z3_get_range(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3126
static IntPtr Z3_pattern_to_string(Z3_context a0, Z3_pattern a1)
static IntPtr Z3_get_decl_name(Z3_context a0, Z3_func_decl a1)
static void Z3_params_validate(Z3_context a0, Z3_params a1, Z3_param_descrs a2)
static Z3_solver Z3_mk_solver_for_logic(Z3_context a0, IntPtr a1)
static Z3_ast Z3_mk_int(Z3_context a0, int a1, Z3_sort a2)
Definition: Native.cs:2782
static uint Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1)
void Z3_API Z3_ast_map_dec_ref(__in Z3_context c, __in Z3_ast_map m)
Decrement the reference counter of the given AST map.
static int Z3_goal_inconsistent(Z3_context a0, Z3_goal a1)
static Z3_ast Z3_mk_set_union(Z3_context a0, uint a1, [In] Z3_ast[] a2)
void Z3_error_handler(Z3_context c, Z3_error_code e)
Z3 custom error handler (See Z3_set_error_handler).
Definition: z3_api.h:1203
static Z3_sort Z3_mk_finite_domain_sort(Z3_context a0, IntPtr a1, UInt64 a2)
static void Z3_update_param_value(Z3_context a0, string a1, string a2)
Definition: Native.cs:1733
static Z3_ast Z3_update_term(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3)
static Z3_ast Z3_mk_quantifier_const(Z3_context a0, int a1, uint a2, uint a3, [In] Z3_app[] a4, uint a5, [In] Z3_pattern[] a6, Z3_ast a7)
Definition: Native.cs:2878
static Z3_ast Z3_mk_bvurem(Z3_context a0, Z3_ast a1, Z3_ast a2)
static void Z3_goal_reset(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4438
static int Z3_solver_check_assumptions(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3)
static void Z3_fixedpoint_register_relation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2)
static Z3_ast Z3_get_pattern(Z3_context a0, Z3_pattern a1, uint a2)
static void Z3_params_set_double(Z3_context a0, Z3_params a1, IntPtr a2, double a3)
Definition: Native.cs:1783
static void Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4)
Z3_rcf_num Z3_API Z3_rcf_mul(__in Z3_context c, __in Z3_rcf_num a, __in Z3_rcf_num b)
Return the value a * b.
static uint Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1)
void Z3_API Z3_ast_vector_dec_ref(__in Z3_context c, __in Z3_ast_vector v)
Decrement the reference counter of the given AST vector.
static Z3_ast Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_goal Z3_apply_result_get_subgoal(Z3_context a0, Z3_apply_result a1, uint a2)
Z3_ast Z3_API Z3_mk_app(__in Z3_context c, __in Z3_func_decl d, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[])
Create a constant or function application.
static void Z3_fixedpoint_update_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3)
static Z3_goal Z3_mk_goal(Z3_context a0, int a1, int a2, int a3)
Z3_func_decl Z3_API Z3_mk_func_decl(__in Z3_context c, __in Z3_symbol s, __in unsigned domain_size, __in_ecount(domain_size) Z3_sort const domain[], __in Z3_sort range)
Declare a constant or function.
static IntPtr Z3_get_tactic_name(Z3_context a0, uint a1)
static string Z3_param_descrs_to_string(Z3_context a0, Z3_param_descrs a1)
Definition: Native.cs:1850
static Z3_ast Z3_mk_bound(Z3_context a0, uint a1, Z3_sort a2)
static int Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref uint a3)
static void Z3_solver_inc_ref(Z3_context a0, Z3_solver a1)
static string Z3_solver_get_help(Z3_context a0, Z3_solver a1)
Definition: Native.cs:4887
static void Z3_del_constructor(Z3_context a0, Z3_constructor a1)
Definition: Native.cs:1962
static int Z3_stats_is_uint(Z3_context a0, Z3_stats a1, uint a2)
Definition: Native.cs:5077
static Z3_ast_vector Z3_algebraic_roots(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3)
Definition: Native.cs:5562
static Z3_rcf_num Z3_rcf_mk_infinitesimal(Z3_context a0)
Definition: Native.cs:5625
Z3_sort Z3_API Z3_get_relation_column(__in Z3_context c, __in Z3_sort s, unsigned col)
Return sort at i'th column of relation sort.
static Z3_tactic Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, uint a2)
Definition: Native.cs:4601
Z3_ast Z3_API Z3_get_algebraic_number_lower(__in Z3_context c, __in Z3_ast a, __in unsigned precision)
Return a lower bound for the given real algebraic number. The interval isolating the number is smalle...
Z3_ast Z3_API Z3_mk_is_int(__in Z3_context c, __in Z3_ast t1)
Check if a real number is an integer.
static string Z3_get_symbol_string(Z3_context a0, IntPtr a1)
Definition: Native.cs:2910
static void Z3_solver_push(Z3_context a0, Z3_solver a1)
Definition: Native.cs:4924
static Z3_ast Z3_mk_int2bv(Z3_context a0, uint a1, Z3_ast a2)
void Z3_API Z3_stats_dec_ref(__in Z3_context c, __in Z3_stats s)
Decrement the reference counter of the given statistics object.
Z3_rcf_num Z3_API Z3_rcf_mk_e(__in Z3_context c)
Return e (Euler's constant)
Z3_ast Z3_API Z3_ast_map_find(__in Z3_context c, __in Z3_ast_map m, __in Z3_ast k)
Return the value associated with the key k.
static void Z3_write_interpolation_problem(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In] uint[] a3, string a4, uint a5, [In] Z3_ast[] a6)
void Z3_API Z3_update_param_value(__in Z3_context c, __in Z3_string param_id, __in Z3_string param_value)
Set a value of a context parameter.
static Z3_ast Z3_mk_bvsub_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3)
static Z3_ast Z3_mk_set_union(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2718
static Z3_ast Z3_mk_rotate_left(Z3_context a0, uint a1, Z3_ast a2)
static Z3_goal Z3_apply_result_get_subgoal(Z3_context a0, Z3_apply_result a1, uint a2)
Definition: Native.cs:4839
static uint Z3_ast_map_size(Z3_context a0, Z3_ast_map a1)
Definition: Native.cs:4361
static int Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref uint a3)
Definition: Native.cs:5331
static int Z3_stats_is_uint(Z3_context a0, Z3_stats a1, uint a2)
static Z3_ast Z3_mk_rem(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_ast Z3_API Z3_mk_quantifier(__in Z3_context c, __in Z3_bool is_forall, __in unsigned weight, __in unsigned num_patterns, __in_ecount(num_patterns) Z3_pattern const patterns[], __in unsigned num_decls, __in_ecount(num_decls) Z3_sort const sorts[], __in_ecount(num_decls) Z3_symbol const decl_names[], __in Z3_ast body)
Create a quantifier - universal or existential, with pattern hints. See the documentation for Z3_mk_f...
static void Z3_get_version([In, Out] ref uint a0, [In, Out] ref uint a1, [In, Out] ref uint a2, [In, Out] ref uint a3)
Z3_ast Z3_API Z3_mk_concat(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Concatenate the given bit-vectors.
static int Z3_global_param_get(string a0, out IntPtr a1)
static Z3_rcf_num Z3_rcf_add(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
static void Z3_solver_reset(Z3_context a0, Z3_solver a1)
static Z3_ast Z3_mk_array_default(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2670
int Z3_API Z3_read_interpolation_problem(__in Z3_context ctx, __out unsigned *num, __out Z3_ast *cnsts[], __out unsigned *parents[], __in Z3_string filename, __out Z3_string_ptr error, __out unsigned *num_theory, __out Z3_ast *theory[])
Read an interpolation problem from file.
static Z3_ast Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2302
static uint Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1)
Definition: Native.cs:3438
static Z3_context Z3_mk_interpolation_context(Z3_config a0)
static IntPtr Z3_fixedpoint_get_reason_unknown(Z3_context a0, Z3_fixedpoint a1)
static Z3_ast Z3_func_entry_get_value(Z3_context a0, Z3_func_entry a1)
Definition: Native.cs:3784
static int Z3_is_app(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3294
static Z3_ast Z3_mk_real2int(Z3_context a0, Z3_ast a1)
void Z3_API Z3_solver_pop(__in Z3_context c, __in Z3_solver s, unsigned n)
Backtrack n backtracking points.
Z3_tactic Z3_API Z3_tactic_fail_if_not_decided(__in Z3_context c)
Return a tactic that fails if the goal is not trivially satisfiable (i.e., empty) or trivially unsati...
static Z3_goal Z3_mk_goal(Z3_context a0, int a1, int a2, int a3)
Definition: Native.cs:4385
static Z3_ast_vector Z3_algebraic_roots(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3)
static int Z3_rcf_neq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
unsigned Z3_API Z3_func_interp_get_arity(__in Z3_context c, __in Z3_func_interp f)
Return the arity (number of arguments) of the given function interpretation.
static int Z3_algebraic_is_value(Z3_context a0, Z3_ast a1)
static Z3_param_descrs Z3_solver_get_param_descrs(Z3_context a0, Z3_solver a1)
Z3_params Z3_API Z3_mk_params(__in Z3_context c)
Create a Z3 (empty) parameter set. Starting at Z3 4.0, parameter sets are used to configure many comp...
static IntPtr Z3_apply_result_to_string(Z3_context a0, Z3_apply_result a1)
static IntPtr Z3_param_descrs_to_string(Z3_context a0, Z3_param_descrs a1)
Z3_ast Z3_API Z3_algebraic_mul(__in Z3_context c, __in Z3_ast a, __in Z3_ast b)
Return the value a * b.
static double Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2)
static Z3_ast Z3_mk_exists(Z3_context a0, uint a1, uint a2, [In] Z3_pattern[] a3, uint a4, [In] Z3_sort[] a5, [In] IntPtr[] a6, Z3_ast a7)
Definition: Native.cs:2838
static Z3_ast Z3_mk_map(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3)
static int Z3_is_app(Z3_context a0, Z3_ast a1)
static Z3_ast Z3_mk_const(Z3_context a0, IntPtr a1, Z3_sort a2)
void Z3_API Z3_ast_map_insert(__in Z3_context c, __in Z3_ast_map m, __in Z3_ast k, __in Z3_ast v)
Store/Replace a new key, value pair in the given map.
Z3_ast_vector Z3_API Z3_ast_vector_translate(__in Z3_context s, __in Z3_ast_vector v, __in Z3_context t)
Translate the AST vector v from context s into an AST vector in context t.
Z3_ast Z3_API Z3_get_literal(__in Z3_context c, __in Z3_literals lbls, __in unsigned idx)
Retrieve literal expression at idx.
static void Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2)
static uint Z3_fixedpoint_get_num_levels(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2)
Definition: Native.cs:4105
Z3_tactic Z3_API Z3_tactic_or_else(__in Z3_context c, __in Z3_tactic t1, __in Z3_tactic t2)
Return a tactic that first applies t1 to a given goal, if it fails then returns the result of t2 appl...
static Z3_sort Z3_get_domain(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3118
static Z3_func_decl Z3_get_datatype_sort_constructor(Z3_context a0, Z3_sort a1, uint a2)
Definition: Native.cs:3022
static Z3_ast Z3_mk_int64(Z3_context a0, Int64 a1, Z3_sort a2)
Definition: Native.cs:2798
void Z3_API Z3_ast_vector_set(__in Z3_context c, __in Z3_ast_vector v, __in unsigned i, __in Z3_ast a)
Update position i of the AST vector v with the AST a.
Z3_error_code Z3_API Z3_get_error_code(__in Z3_context c)
Return the error code for the last API call.
Z3_ast Z3_API Z3_get_decl_ast_parameter(__in Z3_context c, __in Z3_func_decl d, unsigned idx)
Return the expresson value associated with an expression parameter.
static uint Z3_goal_num_exprs(Z3_context a0, Z3_goal a1)
static Z3_ast Z3_mk_numeral(Z3_context a0, string a1, Z3_sort a2)
Definition: Native.cs:2766
static void Z3_global_param_reset_all()
Definition: Native.cs:1679
static string Z3_sort_to_string(Z3_context a0, Z3_sort a1)
Definition: Native.cs:3848
static uint Z3_get_sort_kind(Z3_context a0, Z3_sort a1)
unsigned Z3_API Z3_get_tuple_sort_num_fields(__in Z3_context c, __in Z3_sort t)
Return the number of fields of the given tuple sort.
Z3_ast Z3_API Z3_mk_array_default(__in Z3_context c, __in Z3_ast array)
Access the array default value. Produces the default range value, for arrays that can be represented ...
Z3_symbol Z3_API Z3_get_decl_symbol_parameter(__in Z3_context c, __in Z3_func_decl d, unsigned idx)
Return the double value associated with an double parameter.
static int Z3_check(Z3_context a0)
static uint Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1)
static void Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3)
Definition: Native.cs:4340
unsigned Z3_API Z3_get_datatype_sort_num_constructors(__in Z3_context c, __in Z3_sort t)
Return number of constructors for datatype.
void Z3_API Z3_fixedpoint_set_params(__in Z3_context c, __in Z3_fixedpoint f, __in Z3_params p)
Set parameters on fixedpoint context.
static void Z3_toggle_warning_messages(int a0)
Definition: Native.cs:3821
static void Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2)
Definition: Native.cs:4953
static int Z3_get_symbol_int(Z3_context a0, IntPtr a1)
static int Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2)
Z3_symbol Z3_API Z3_mk_int_symbol(__in Z3_context c, __in int i)
Create a Z3 symbol using an integer.
static IntPtr Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1)
static Z3_ast Z3_mk_set_intersect(Z3_context a0, uint a1, [In] Z3_ast[] a2)
static Z3_ast Z3_mk_const(Z3_context a0, IntPtr a1, Z3_sort a2)
Definition: Native.cs:2022
Z3_bool Z3_API Z3_is_quantifier_forall(__in Z3_context c, __in Z3_ast a)
Determine if quantifier is universal.
Z3_literals Z3_API Z3_get_relevant_labels(__in Z3_context c)
Retrieve the set of labels that were relevant in the context of the current satisfied context...
unsigned Z3_API Z3_get_quantifier_num_no_patterns(__in Z3_context c, __in Z3_ast a)
Return number of no_patterns used in quantifier.
static int Z3_eval_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, uint a3, [In] Z3_ast[] a4, [In, Out] ref Z3_ast a5)
static string Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3)
Definition: Native.cs:4189
Z3_lbool Z3_API Z3_solver_check_assumptions(__in Z3_context c, __in Z3_solver s, __in unsigned num_assumptions, __in_ecount(num_assumptions) Z3_ast const assumptions[])
Check whether the assertions in the given solver and optional assumptions are consistent or not...
static uint Z3_model_get_num_consts(Z3_context a0, Z3_model a1)
static Z3_tactic Z3_mk_tactic(Z3_context a0, string a1)
Z3_sort Z3_API Z3_mk_finite_domain_sort(__in Z3_context c, __in Z3_symbol name, __in unsigned __int64 size)
Create a named finite domain sort.
static Z3_ast Z3_get_quantifier_no_pattern_ast(Z3_context a0, Z3_ast a1, uint a2)
Z3_bool Z3_API Z3_is_numeral_ast(__in Z3_context c, __in Z3_ast a)
static Z3_ast Z3_mk_bvneg(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2326
Z3_constructor_list Z3_API Z3_mk_constructor_list(__in Z3_context c, __in unsigned num_constructors, __in_ecount(num_constructors) Z3_constructor const constructors[])
Create list of constructors.
static Z3_ast Z3_mk_set_complement(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2742
static Z3_rcf_num Z3_rcf_mk_rational(Z3_context a0, string a1)
Z3_ast Z3_API Z3_mk_add(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[])
Create an AST node representing args[0] + ... + args[num_args-1].The array args must have num_args el...
static Z3_tactic Z3_tactic_using_params(Z3_context a0, Z3_tactic a1, Z3_params a2)
Definition: Native.cs:4641
static Z3_ast Z3_mk_eq(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_func_decl Z3_get_tuple_sort_mk_decl(Z3_context a0, Z3_sort a1)
Z3_ast Z3_API Z3_get_app_arg(__in Z3_context c, __in Z3_app a, __in unsigned i)
Return the i-th argument of the given application.
static IntPtr Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, uint a2)
Definition: Native.cs:1842
static Z3_ast Z3_mk_bvredor(Z3_context a0, Z3_ast a1)
static Z3_ast Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, uint a2)
void Z3_API Z3_set_param_value(__in Z3_config c, __in Z3_string param_id, __in Z3_string param_value)
Set a configuration parameter.
static Z3_ast Z3_sort_to_ast(Z3_context a0, Z3_sort a1)
Definition: Native.cs:2934
static int Z3_algebraic_eval(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3)
Definition: Native.cs:5570
static Z3_app Z3_to_app(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3318
static Z3_ast Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, uint a2)
static uint Z3_get_smtlib_num_assumptions(Z3_context a0)
Definition: Native.cs:3926
static Z3_ast Z3_algebraic_power(Z3_context a0, Z3_ast a1, uint a2)
Z3_probe Z3_API Z3_mk_probe(__in Z3_context c, __in Z3_string name)
Return a probe associated with the given name. The complete list of probes may be obtained using the ...
static Z3_ast_vector Z3_get_interpolant(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_params a3)
Definition: Native.cs:5781
static Z3_param_descrs Z3_tactic_get_param_descrs(Z3_context a0, Z3_tactic a1)
Definition: Native.cs:4761
static int Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2)
Z3_sort Z3_API Z3_model_get_sort(__in Z3_context c, __in Z3_model m, __in unsigned i)
Return a uninterpreted sort that m assigns an interpretation.
static Z3_ast Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_ast Z3_API Z3_mk_rem(__in Z3_context c, __in Z3_ast arg1, __in Z3_ast arg2)
Create an AST node representing arg1 rem arg2.The arguments must have int type.
int Z3_API Z3_algebraic_eval(__in Z3_context c, __in Z3_ast p, __in unsigned n, __in Z3_ast a[])
Given a multivariate polynomial p(x_0, ..., x_{n-1}), return the sign of p(a[0], ..., a[n-1]).
Z3_bool Z3_API Z3_is_array_value(__in Z3_context c, __in Z3_model m, __in Z3_ast v, __out unsigned *num_entries)
Determine whether the term encodes an array value. A term encodes an array value if it is a nested se...
Z3_bool Z3_API Z3_get_numeral_rational_int64(__in Z3_context c, __in Z3_ast v, __out __int64 *num, __out __int64 *den)
Similar to Z3_get_numeral_string, but only succeeds if the value can fit as a rational number as mach...
void Z3_API Z3_rcf_del(__in Z3_context c, __in Z3_rcf_num a)
Delete a RCF numeral created using the RCF API.
Z3_probe Z3_API Z3_probe_and(__in Z3_context x, __in Z3_probe p1, __in Z3_probe p2)
Return a probe that evaluates to "true" when p1 and p2 evaluates to true.
static void Z3_persist_ast(Z3_context a0, Z3_ast a1, uint a2)
static void Z3_params_set_bool(Z3_context a0, Z3_params a1, IntPtr a2, int a3)
Definition: Native.cs:1769
static Z3_ast_vector Z3_ast_vector_translate(Z3_context a0, Z3_ast_vector a1, Z3_context a2)
static Z3_func_decl Z3_get_datatype_sort_recognizer(Z3_context a0, Z3_sort a1, uint a2)
static Z3_ast Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2462
static Z3_probe Z3_mk_probe(Z3_context a0, string a1)
Definition: Native.cs:4523
Z3_bool Z3_API Z3_get_numeral_int64(__in Z3_context c, __in Z3_ast v, __out __int64 *i)
Similar to Z3_get_numeral_string, but only succeeds if the value can fit in a machine __int64 int...
Z3_ast Z3_API Z3_mk_bvlshr(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Logical shift right.
static void Z3_goal_dec_ref(Z3_context a0, Z3_goal a1)
static uint Z3_get_smtlib_num_decls(Z3_context a0)
void Z3_API Z3_tactic_inc_ref(__in Z3_context c, __in Z3_tactic t)
Increment the reference counter of the given tactic.
static Z3_tactic Z3_tactic_using_params(Z3_context a0, Z3_tactic a1, Z3_params a2)
static Z3_ast_vector Z3_fixedpoint_get_rules(Z3_context a0, Z3_fixedpoint a1)
static Z3_ast Z3_mk_forall(Z3_context a0, uint a1, uint a2, [In] Z3_pattern[] a3, uint a4, [In] Z3_sort[] a5, [In] IntPtr[] a6, Z3_ast a7)
Definition: Native.cs:2830
static Z3_func_decl Z3_get_app_decl(Z3_context a0, Z3_app a1)
Definition: Native.cs:3214
static int Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref Z3_ast a3)
Z3_bool Z3_API Z3_algebraic_is_neg(__in Z3_context c, __in Z3_ast a)
Return the Z3_TRUE if a is negative, and Z3_FALSE otherwise.
static Z3_solver Z3_mk_solver_for_logic(Z3_context a0, IntPtr a1)
Definition: Native.cs:4871
Z3_ast Z3_API Z3_mk_const_array(__in Z3_context c, __in Z3_sort domain, __in Z3_ast v)
Create the constant array.
Z3_ast Z3_API Z3_mk_interpolant(__in Z3_context c, __in Z3_ast a)
Create an AST node marking a formula position for interpolation.
Z3_bool Z3_API Z3_is_eq_func_decl(__in Z3_context c, __in Z3_func_decl f1, Z3_func_decl f2)
compare terms.
Z3_ast Z3_API Z3_mk_le(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2)
Create less than or equal to.
static void Z3_params_set_bool(Z3_context a0, Z3_params a1, IntPtr a2, int a3)
static Z3_ast Z3_app_to_ast(Z3_context a0, Z3_app a1)
static Z3_ast Z3_mk_quantifier_ex(Z3_context a0, int a1, uint a2, IntPtr a3, IntPtr a4, uint a5, [In] Z3_pattern[] a6, uint a7, [In] Z3_ast[] a8, uint a9, [In] Z3_sort[] a10, [In] IntPtr[] a11, Z3_ast a12)
Definition: Native.cs:2854
static Z3_ast Z3_fixedpoint_get_cover_delta(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3)
Definition: Native.cs:4113
Z3_param_descrs Z3_API Z3_fixedpoint_get_param_descrs(__in Z3_context c, __in Z3_fixedpoint f)
Return the parameter description set for the given fixedpoint object.
static Z3_ast Z3_algebraic_add(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5466
static Z3_ast_vector Z3_fixedpoint_from_string(Z3_context a0, Z3_fixedpoint a1, string a2)
static Z3_func_decl Z3_to_func_decl(Z3_context a0, Z3_ast a1)
static int Z3_is_numeral_ast(Z3_context a0, Z3_ast a1)
Z3_ast Z3_API Z3_mk_label(__in Z3_context c, __in Z3_symbol s, Z3_bool is_pos, Z3_ast f)
Create a labeled formula.
static uint Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1)
static Z3_param_descrs Z3_fixedpoint_get_param_descrs(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4181
double Z3_API Z3_probe_apply(__in Z3_context c, __in Z3_probe p, __in Z3_goal g)
Execute the probe over the goal. The probe always produce a double value. "Boolean" probes return 0...
Z3_ast Z3_API Z3_mk_set_difference(__in Z3_context c, __in Z3_ast arg1, __in Z3_ast arg2)
Take the set difference between two sets.
static void Z3_soft_check_cancel(Z3_context a0)
Definition: Native.cs:5199
Z3_lbool Z3_API Z3_get_bool_value(__in Z3_context c, __in Z3_ast a)
Return Z3_L_TRUE if a is true, Z3_L_FALSE if it is false, and Z3_L_UNDEF otherwise.
Z3_ast Z3_API Z3_simplify_ex(__in Z3_context c, __in Z3_ast a, __in Z3_params p)
Interface to simplifier.
static Z3_ast Z3_mk_div(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2166
unsigned Z3_API Z3_get_domain_size(__in Z3_context c, __in Z3_func_decl d)
Return the number of parameters of the given declaration.
static Z3_ast_vector Z3_ast_map_keys(Z3_context a0, Z3_ast_map a1)
Definition: Native.cs:4369
static int Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, [In, Out] ref uint a2)
static Z3_ast Z3_solver_get_proof(Z3_context a0, Z3_solver a1)
Z3_param_descrs Z3_API Z3_simplify_get_param_descrs(__in Z3_context c)
Return the parameter description set for the simplify procedure.
Z3_ast Z3_API Z3_algebraic_root(__in Z3_context c, __in Z3_ast a, __in unsigned k)
Return the a^(1/k)
Z3_sort Z3_API Z3_get_smtlib_sort(__in Z3_context c, __in unsigned i)
Return the i-th sort parsed by the last call to Z3_parse_smtlib_string or Z3_parse_smtlib_file.
static int Z3_algebraic_sign(Z3_context a0, Z3_ast a1)
static void Z3_set_param_value(Z3_config a0, string a1, string a2)
unsigned Z3_API Z3_apply_result_get_num_subgoals(__in Z3_context c, __in Z3_apply_result r)
Return the number of subgoals in the Z3_apply_result object returned by Z3_tactic_apply.
Z3_literals Z3_API Z3_get_relevant_literals(__in Z3_context c)
Retrieve the set of literals that satisfy the current context.
static Z3_sort Z3_mk_bool_sort(Z3_context a0)
Definition: Native.cs:1882
static void Z3_probe_inc_ref(Z3_context a0, Z3_probe a1)
static Z3_ast Z3_mk_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2)
static IntPtr Z3_statistics_to_string(Z3_context a0)
static double Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, uint a2)
static IntPtr Z3_params_to_string(Z3_context a0, Z3_params a1)
static uint Z3_get_arity(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3110
static uint Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1)
static Z3_ast Z3_get_smtlib_assumption(Z3_context a0, uint a1)
Definition: Native.cs:3934
static Z3_ast Z3_parse_smtlib2_file(Z3_context a0, string a1, uint a2, [In] IntPtr[] a3, [In] Z3_sort[] a4, uint a5, [In] IntPtr[] a6, [In] Z3_func_decl[] a7)
Definition: Native.cs:3888
static IntPtr Z3_benchmark_to_smtlib_string(Z3_context a0, string a1, string a2, string a3, string a4, uint a5, [In] Z3_ast[] a6, Z3_ast a7)
static string Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1)
Definition: Native.cs:4294
static Z3_rcf_num Z3_rcf_mul(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
static void Z3_global_param_set(string a0, string a1)
Definition: Native.cs:1675
static Z3_ast_vector Z3_polynomial_subresultants(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Z3_ast Z3_API Z3_mk_set_member(__in Z3_context c, __in Z3_ast elem, __in Z3_ast set)
Check for set membership.
Z3_ast Z3_API Z3_mk_bvredand(__in Z3_context c, __in Z3_ast t1)
Take conjunction of bits in vector, return vector of length 1.
Z3_string Z3_API Z3_rcf_num_to_string(__in Z3_context c, __in Z3_rcf_num a, __in Z3_bool compact, __in Z3_bool html)
Convert the RCF numeral into a string.
static Z3_ast Z3_get_quantifier_body(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3534
static string Z3_model_to_string(Z3_context a0, Z3_model a1)
Definition: Native.cs:3864
static Z3_ast Z3_get_model_func_else(Z3_context a0, Z3_model a1, uint a2)
Z3_ast Z3_API Z3_mk_rotate_right(__in Z3_context c, __in unsigned i, __in Z3_ast t1)
Rotate bits of t1 to the right i times.
static Z3_ast Z3_mk_extract(Z3_context a0, uint a1, uint a2, Z3_ast a3)
Definition: Native.cs:2470
void Z3_API Z3_assert_cnstr(__in Z3_context c, __in Z3_ast a)
Assert a constraint into the logical context.
static Z3_tactic Z3_tactic_skip(Z3_context a0)
static Z3_ast_vector Z3_solver_get_unsat_core(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5007
static void Z3_params_inc_ref(Z3_context a0, Z3_params a1)
Definition: Native.cs:1755
static Z3_param_descrs Z3_simplify_get_param_descrs(Z3_context a0)
unsigned Z3_API Z3_stats_get_uint_value(__in Z3_context c, __in Z3_stats s, __in unsigned idx)
Return the unsigned value of the given statistical data.
static Z3_rcf_num Z3_rcf_sub(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:5649
void Z3_API Z3_ast_vector_resize(__in Z3_context c, __in Z3_ast_vector v, __in unsigned n)
Resize the AST vector v.
Z3_ast_vector Z3_API Z3_mk_ast_vector(__in Z3_context c)
Return an empty AST vector.
Z3_bool Z3_API Z3_is_eq_sort(__in Z3_context c, __in Z3_sort s1, __in Z3_sort s2)
compare sorts.
static uint Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, uint a2)
Definition: Native.cs:5093
static Z3_func_decl Z3_mk_injective_function(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4)
Definition: Native.cs:5109
Z3_ast Z3_API Z3_mk_full_set(__in Z3_context c, __in Z3_sort domain)
Create the full set.
static Z3_ast Z3_mk_bvsub_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2590
static Z3_ast Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_goal Z3_API Z3_mk_goal(__in Z3_context c, __in Z3_bool models, __in Z3_bool unsat_cores, __in Z3_bool proofs)
Create a goal (aka problem). A goal is essentially a set of formulas, that can be solved and/or trans...
static Z3_ast Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3182
static Z3_literals Z3_get_guessed_literals(Z3_context a0)
Definition: Native.cs:5238
static Z3_func_entry Z3_func_interp_get_entry(Z3_context a0, Z3_func_interp a1, uint a2)
Definition: Native.cs:3746
static Z3_func_decl Z3_get_as_array_func_decl(Z3_context a0, Z3_ast a1)
Z3_ast Z3_API Z3_fixedpoint_get_answer(__in Z3_context c, __in Z3_fixedpoint d)
Retrieve a formula that encodes satisfying answers to the query.
static void Z3_params_dec_ref(Z3_context a0, Z3_params a1)
Definition: Native.cs:1762
static uint Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1)
Definition: Native.cs:4945
static Z3_ast Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2286
static Z3_func_decl Z3_get_datatype_sort_constructor_accessor(Z3_context a0, Z3_sort a1, uint a2, uint a3)
Definition: Native.cs:3038
static Z3_ast Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_func_decl Z3_API Z3_to_func_decl(__in Z3_context c, __in Z3_ast a)
Convert an AST into a FUNC_DECL_AST. This is just type casting.
static void Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1)
static Z3_model Z3_apply_result_convert_model(Z3_context a0, Z3_apply_result a1, uint a2, Z3_model a3)
static Z3_ast Z3_model_get_const_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2)
static void Z3_set_param_value(Z3_config a0, string a1, string a2)
Definition: Native.cs:1697
Z3_ast Z3_API Z3_mk_real(__in Z3_context c, __in int num, __in int den)
Create a real from a fraction.
static Z3_apply_result Z3_tactic_apply(Z3_context a0, Z3_tactic a1, Z3_goal a2)
Z3_rcf_num Z3_API Z3_rcf_inv(__in Z3_context c, __in Z3_rcf_num a)
Return the value 1/a.
Z3_string Z3_API Z3_solver_get_reason_unknown(__in Z3_context c, __in Z3_solver s)
Return a brief justification for an "unknown" result (i.e., Z3_L_UNDEF) for the commands Z3_solver_ch...
static IntPtr Z3_get_sort_name(Z3_context a0, Z3_sort a1)
unsigned Z3_API Z3_get_quantifier_num_bound(__in Z3_context c, __in Z3_ast a)
Return number of bound variables of quantifier.
static int Z3_algebraic_is_neg(Z3_context a0, Z3_ast a1)
static int Z3_is_numeral_ast(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3302
static Z3_probe Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2)
Definition: Native.cs:4657
static Z3_ast Z3_mk_map(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3)
Definition: Native.cs:2662
Z3_rcf_num Z3_API Z3_rcf_div(__in Z3_context c, __in Z3_rcf_num a, __in Z3_rcf_num b)
Return the value a / b.
Z3_ast Z3_API Z3_mk_empty_set(__in Z3_context c, __in Z3_sort domain)
Create the empty set.
static Z3_sort Z3_mk_enumeration_sort(Z3_context a0, IntPtr a1, uint a2, [In] IntPtr[] a3, [Out] Z3_func_decl[] a4, [Out] Z3_func_decl[] a5)