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_optimize = System.IntPtr;
37  using Z3_param_descrs = System.IntPtr;
38  using Z3_rcf_num = System.IntPtr;
39 
40  public class Native
41  {
42 
43  [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
44  public delegate void Z3_error_handler(Z3_context c, Z3_error_code e);
45 
46  public unsafe class LIB
47  {
48  const string Z3_DLL_NAME = "libz3.dll";
49 
50  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
51  public extern static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1);
52 
53  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
54  public extern static void Z3_global_param_set(string a0, string a1);
55 
56  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
57  public extern static void Z3_global_param_reset_all();
58 
59  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
60  public extern static int Z3_global_param_get(string a0, out IntPtr a1);
61 
62  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
63  public extern static Z3_config Z3_mk_config();
64 
65  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
66  public extern static void Z3_del_config(Z3_config a0);
67 
68  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
69  public extern static void Z3_set_param_value(Z3_config a0, string a1, string a2);
70 
71  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
72  public extern static Z3_context Z3_mk_context(Z3_config a0);
73 
74  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
75  public extern static Z3_context Z3_mk_context_rc(Z3_config a0);
76 
77  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
78  public extern static void Z3_del_context(Z3_context a0);
79 
80  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
81  public extern static void Z3_inc_ref(Z3_context a0, Z3_ast a1);
82 
83  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
84  public extern static void Z3_dec_ref(Z3_context a0, Z3_ast a1);
85 
86  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
87  public extern static void Z3_update_param_value(Z3_context a0, string a1, string a2);
88 
89  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
90  public extern static void Z3_interrupt(Z3_context a0);
91 
92  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
93  public extern static Z3_params Z3_mk_params(Z3_context a0);
94 
95  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
96  public extern static void Z3_params_inc_ref(Z3_context a0, Z3_params a1);
97 
98  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
99  public extern static void Z3_params_dec_ref(Z3_context a0, Z3_params a1);
100 
101  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
102  public extern static void Z3_params_set_bool(Z3_context a0, Z3_params a1, IntPtr a2, int a3);
103 
104  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
105  public extern static void Z3_params_set_uint(Z3_context a0, Z3_params a1, IntPtr a2, uint a3);
106 
107  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
108  public extern static void Z3_params_set_double(Z3_context a0, Z3_params a1, IntPtr a2, double a3);
109 
110  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
111  public extern static void Z3_params_set_symbol(Z3_context a0, Z3_params a1, IntPtr a2, IntPtr a3);
112 
113  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
114  public extern static IntPtr Z3_params_to_string(Z3_context a0, Z3_params a1);
115 
116  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
117  public extern static void Z3_params_validate(Z3_context a0, Z3_params a1, Z3_param_descrs a2);
118 
119  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
120  public extern static void Z3_param_descrs_inc_ref(Z3_context a0, Z3_param_descrs a1);
121 
122  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
123  public extern static void Z3_param_descrs_dec_ref(Z3_context a0, Z3_param_descrs a1);
124 
125  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
126  public extern static uint Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, IntPtr a2);
127 
128  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
129  public extern static uint Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1);
130 
131  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
132  public extern static IntPtr Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, uint a2);
133 
134  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
135  public extern static IntPtr Z3_param_descrs_to_string(Z3_context a0, Z3_param_descrs a1);
136 
137  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
138  public extern static IntPtr Z3_mk_int_symbol(Z3_context a0, int a1);
139 
140  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
141  public extern static IntPtr Z3_mk_string_symbol(Z3_context a0, string a1);
142 
143  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
144  public extern static Z3_sort Z3_mk_uninterpreted_sort(Z3_context a0, IntPtr a1);
145 
146  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
147  public extern static Z3_sort Z3_mk_bool_sort(Z3_context a0);
148 
149  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
150  public extern static Z3_sort Z3_mk_int_sort(Z3_context a0);
151 
152  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
153  public extern static Z3_sort Z3_mk_real_sort(Z3_context a0);
154 
155  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
156  public extern static Z3_sort Z3_mk_bv_sort(Z3_context a0, uint a1);
157 
158  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
159  public extern static Z3_sort Z3_mk_finite_domain_sort(Z3_context a0, IntPtr a1, UInt64 a2);
160 
161  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
162  public extern static Z3_sort Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2);
163 
164  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
165  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);
166 
167  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
168  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);
169 
170  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
171  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);
172 
173  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
174  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);
175 
176  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
177  public extern static void Z3_del_constructor(Z3_context a0, Z3_constructor a1);
178 
179  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
180  public extern static Z3_sort Z3_mk_datatype(Z3_context a0, IntPtr a1, uint a2, [In, Out] Z3_constructor[] a3);
181 
182  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
183  public extern static Z3_constructor_list Z3_mk_constructor_list(Z3_context a0, uint a1, [In] Z3_constructor[] a2);
184 
185  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
186  public extern static void Z3_del_constructor_list(Z3_context a0, Z3_constructor_list a1);
187 
188  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
189  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);
190 
191  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
192  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);
193 
194  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
195  public extern static Z3_func_decl Z3_mk_func_decl(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4);
196 
197  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
198  public extern static Z3_ast Z3_mk_app(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3);
199 
200  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
201  public extern static Z3_ast Z3_mk_const(Z3_context a0, IntPtr a1, Z3_sort a2);
202 
203  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
204  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);
205 
206  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
207  public extern static Z3_ast Z3_mk_fresh_const(Z3_context a0, string a1, Z3_sort a2);
208 
209  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
210  public extern static Z3_ast Z3_mk_true(Z3_context a0);
211 
212  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
213  public extern static Z3_ast Z3_mk_false(Z3_context a0);
214 
215  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
216  public extern static Z3_ast Z3_mk_eq(Z3_context a0, Z3_ast a1, Z3_ast a2);
217 
218  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
219  public extern static Z3_ast Z3_mk_distinct(Z3_context a0, uint a1, [In] Z3_ast[] a2);
220 
221  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
222  public extern static Z3_ast Z3_mk_not(Z3_context a0, Z3_ast a1);
223 
224  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
225  public extern static Z3_ast Z3_mk_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3);
226 
227  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
228  public extern static Z3_ast Z3_mk_iff(Z3_context a0, Z3_ast a1, Z3_ast a2);
229 
230  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
231  public extern static Z3_ast Z3_mk_implies(Z3_context a0, Z3_ast a1, Z3_ast a2);
232 
233  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
234  public extern static Z3_ast Z3_mk_xor(Z3_context a0, Z3_ast a1, Z3_ast a2);
235 
236  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
237  public extern static Z3_ast Z3_mk_and(Z3_context a0, uint a1, [In] Z3_ast[] a2);
238 
239  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
240  public extern static Z3_ast Z3_mk_or(Z3_context a0, uint a1, [In] Z3_ast[] a2);
241 
242  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
243  public extern static Z3_ast Z3_mk_add(Z3_context a0, uint a1, [In] Z3_ast[] a2);
244 
245  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
246  public extern static Z3_ast Z3_mk_mul(Z3_context a0, uint a1, [In] Z3_ast[] a2);
247 
248  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
249  public extern static Z3_ast Z3_mk_sub(Z3_context a0, uint a1, [In] Z3_ast[] a2);
250 
251  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
252  public extern static Z3_ast Z3_mk_unary_minus(Z3_context a0, Z3_ast a1);
253 
254  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
255  public extern static Z3_ast Z3_mk_div(Z3_context a0, Z3_ast a1, Z3_ast a2);
256 
257  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
258  public extern static Z3_ast Z3_mk_mod(Z3_context a0, Z3_ast a1, Z3_ast a2);
259 
260  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
261  public extern static Z3_ast Z3_mk_rem(Z3_context a0, Z3_ast a1, Z3_ast a2);
262 
263  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
264  public extern static Z3_ast Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2);
265 
266  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
267  public extern static Z3_ast Z3_mk_lt(Z3_context a0, Z3_ast a1, Z3_ast a2);
268 
269  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
270  public extern static Z3_ast Z3_mk_le(Z3_context a0, Z3_ast a1, Z3_ast a2);
271 
272  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
273  public extern static Z3_ast Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2);
274 
275  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
276  public extern static Z3_ast Z3_mk_ge(Z3_context a0, Z3_ast a1, Z3_ast a2);
277 
278  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
279  public extern static Z3_ast Z3_mk_int2real(Z3_context a0, Z3_ast a1);
280 
281  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
282  public extern static Z3_ast Z3_mk_real2int(Z3_context a0, Z3_ast a1);
283 
284  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
285  public extern static Z3_ast Z3_mk_is_int(Z3_context a0, Z3_ast a1);
286 
287  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
288  public extern static Z3_ast Z3_mk_bvnot(Z3_context a0, Z3_ast a1);
289 
290  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
291  public extern static Z3_ast Z3_mk_bvredand(Z3_context a0, Z3_ast a1);
292 
293  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
294  public extern static Z3_ast Z3_mk_bvredor(Z3_context a0, Z3_ast a1);
295 
296  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
297  public extern static Z3_ast Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2);
298 
299  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
300  public extern static Z3_ast Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2);
301 
302  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
303  public extern static Z3_ast Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2);
304 
305  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
306  public extern static Z3_ast Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2);
307 
308  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
309  public extern static Z3_ast Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2);
310 
311  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
312  public extern static Z3_ast Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2);
313 
314  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
315  public extern static Z3_ast Z3_mk_bvneg(Z3_context a0, Z3_ast a1);
316 
317  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
318  public extern static Z3_ast Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2);
319 
320  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
321  public extern static Z3_ast Z3_mk_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2);
322 
323  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
324  public extern static Z3_ast Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2);
325 
326  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
327  public extern static Z3_ast Z3_mk_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2);
328 
329  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
330  public extern static Z3_ast Z3_mk_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2);
331 
332  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
333  public extern static Z3_ast Z3_mk_bvurem(Z3_context a0, Z3_ast a1, Z3_ast a2);
334 
335  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
336  public extern static Z3_ast Z3_mk_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2);
337 
338  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
339  public extern static Z3_ast Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2);
340 
341  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
342  public extern static Z3_ast Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2);
343 
344  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
345  public extern static Z3_ast Z3_mk_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2);
346 
347  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
348  public extern static Z3_ast Z3_mk_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2);
349 
350  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
351  public extern static Z3_ast Z3_mk_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2);
352 
353  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
354  public extern static Z3_ast Z3_mk_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2);
355 
356  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
357  public extern static Z3_ast Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2);
358 
359  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
360  public extern static Z3_ast Z3_mk_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2);
361 
362  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
363  public extern static Z3_ast Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2);
364 
365  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
366  public extern static Z3_ast Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2);
367 
368  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
369  public extern static Z3_ast Z3_mk_extract(Z3_context a0, uint a1, uint a2, Z3_ast a3);
370 
371  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
372  public extern static Z3_ast Z3_mk_sign_ext(Z3_context a0, uint a1, Z3_ast a2);
373 
374  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
375  public extern static Z3_ast Z3_mk_zero_ext(Z3_context a0, uint a1, Z3_ast a2);
376 
377  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
378  public extern static Z3_ast Z3_mk_repeat(Z3_context a0, uint a1, Z3_ast a2);
379 
380  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
381  public extern static Z3_ast Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2);
382 
383  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
384  public extern static Z3_ast Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2);
385 
386  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
387  public extern static Z3_ast Z3_mk_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2);
388 
389  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
390  public extern static Z3_ast Z3_mk_rotate_left(Z3_context a0, uint a1, Z3_ast a2);
391 
392  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
393  public extern static Z3_ast Z3_mk_rotate_right(Z3_context a0, uint a1, Z3_ast a2);
394 
395  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
396  public extern static Z3_ast Z3_mk_ext_rotate_left(Z3_context a0, Z3_ast a1, Z3_ast a2);
397 
398  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
399  public extern static Z3_ast Z3_mk_ext_rotate_right(Z3_context a0, Z3_ast a1, Z3_ast a2);
400 
401  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
402  public extern static Z3_ast Z3_mk_int2bv(Z3_context a0, uint a1, Z3_ast a2);
403 
404  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
405  public extern static Z3_ast Z3_mk_bv2int(Z3_context a0, Z3_ast a1, int a2);
406 
407  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
408  public extern static Z3_ast Z3_mk_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3);
409 
410  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
411  public extern static Z3_ast Z3_mk_bvadd_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2);
412 
413  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
414  public extern static Z3_ast Z3_mk_bvsub_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2);
415 
416  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
417  public extern static Z3_ast Z3_mk_bvsub_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3);
418 
419  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
420  public extern static Z3_ast Z3_mk_bvsdiv_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2);
421 
422  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
423  public extern static Z3_ast Z3_mk_bvneg_no_overflow(Z3_context a0, Z3_ast a1);
424 
425  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
426  public extern static Z3_ast Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3);
427 
428  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
429  public extern static Z3_ast Z3_mk_bvmul_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2);
430 
431  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
432  public extern static Z3_ast Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2);
433 
434  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
435  public extern static Z3_ast Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3);
436 
437  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
438  public extern static Z3_ast Z3_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2);
439 
440  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
441  public extern static Z3_ast Z3_mk_map(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3);
442 
443  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
444  public extern static Z3_ast Z3_mk_array_default(Z3_context a0, Z3_ast a1);
445 
446  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
447  public extern static Z3_sort Z3_mk_set_sort(Z3_context a0, Z3_sort a1);
448 
449  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
450  public extern static Z3_ast Z3_mk_empty_set(Z3_context a0, Z3_sort a1);
451 
452  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
453  public extern static Z3_ast Z3_mk_full_set(Z3_context a0, Z3_sort a1);
454 
455  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
456  public extern static Z3_ast Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2);
457 
458  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
459  public extern static Z3_ast Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2);
460 
461  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
462  public extern static Z3_ast Z3_mk_set_union(Z3_context a0, uint a1, [In] Z3_ast[] a2);
463 
464  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
465  public extern static Z3_ast Z3_mk_set_intersect(Z3_context a0, uint a1, [In] Z3_ast[] a2);
466 
467  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
468  public extern static Z3_ast Z3_mk_set_difference(Z3_context a0, Z3_ast a1, Z3_ast a2);
469 
470  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
471  public extern static Z3_ast Z3_mk_set_complement(Z3_context a0, Z3_ast a1);
472 
473  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
474  public extern static Z3_ast Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2);
475 
476  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
477  public extern static Z3_ast Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2);
478 
479  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
480  public extern static Z3_ast Z3_mk_numeral(Z3_context a0, string a1, Z3_sort a2);
481 
482  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
483  public extern static Z3_ast Z3_mk_real(Z3_context a0, int a1, int a2);
484 
485  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
486  public extern static Z3_ast Z3_mk_int(Z3_context a0, int a1, Z3_sort a2);
487 
488  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
489  public extern static Z3_ast Z3_mk_unsigned_int(Z3_context a0, uint a1, Z3_sort a2);
490 
491  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
492  public extern static Z3_ast Z3_mk_int64(Z3_context a0, Int64 a1, Z3_sort a2);
493 
494  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
495  public extern static Z3_ast Z3_mk_unsigned_int64(Z3_context a0, UInt64 a1, Z3_sort a2);
496 
497  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
498  public extern static Z3_pattern Z3_mk_pattern(Z3_context a0, uint a1, [In] Z3_ast[] a2);
499 
500  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
501  public extern static Z3_ast Z3_mk_bound(Z3_context a0, uint a1, Z3_sort a2);
502 
503  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
504  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);
505 
506  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
507  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);
508 
509  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
510  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);
511 
512  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
513  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);
514 
515  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
516  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);
517 
518  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
519  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);
520 
521  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
522  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);
523 
524  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
525  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);
526 
527  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
528  public extern static uint Z3_get_symbol_kind(Z3_context a0, IntPtr a1);
529 
530  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
531  public extern static int Z3_get_symbol_int(Z3_context a0, IntPtr a1);
532 
533  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
534  public extern static IntPtr Z3_get_symbol_string(Z3_context a0, IntPtr a1);
535 
536  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
537  public extern static IntPtr Z3_get_sort_name(Z3_context a0, Z3_sort a1);
538 
539  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
540  public extern static uint Z3_get_sort_id(Z3_context a0, Z3_sort a1);
541 
542  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
543  public extern static Z3_ast Z3_sort_to_ast(Z3_context a0, Z3_sort a1);
544 
545  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
546  public extern static int Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2);
547 
548  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
549  public extern static uint Z3_get_sort_kind(Z3_context a0, Z3_sort a1);
550 
551  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
552  public extern static uint Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1);
553 
554  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
555  public extern static int Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, [In, Out] ref UInt64 a2);
556 
557  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
558  public extern static Z3_sort Z3_get_array_sort_domain(Z3_context a0, Z3_sort a1);
559 
560  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
561  public extern static Z3_sort Z3_get_array_sort_range(Z3_context a0, Z3_sort a1);
562 
563  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
564  public extern static Z3_func_decl Z3_get_tuple_sort_mk_decl(Z3_context a0, Z3_sort a1);
565 
566  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
567  public extern static uint Z3_get_tuple_sort_num_fields(Z3_context a0, Z3_sort a1);
568 
569  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
570  public extern static Z3_func_decl Z3_get_tuple_sort_field_decl(Z3_context a0, Z3_sort a1, uint a2);
571 
572  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
573  public extern static uint Z3_get_datatype_sort_num_constructors(Z3_context a0, Z3_sort a1);
574 
575  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
576  public extern static Z3_func_decl Z3_get_datatype_sort_constructor(Z3_context a0, Z3_sort a1, uint a2);
577 
578  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
579  public extern static Z3_func_decl Z3_get_datatype_sort_recognizer(Z3_context a0, Z3_sort a1, uint a2);
580 
581  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
582  public extern static Z3_func_decl Z3_get_datatype_sort_constructor_accessor(Z3_context a0, Z3_sort a1, uint a2, uint a3);
583 
584  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
585  public extern static Z3_ast Z3_datatype_update_field(Z3_context a0, Z3_func_decl a1, Z3_ast a2, Z3_ast a3);
586 
587  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
588  public extern static uint Z3_get_relation_arity(Z3_context a0, Z3_sort a1);
589 
590  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
591  public extern static Z3_sort Z3_get_relation_column(Z3_context a0, Z3_sort a1, uint a2);
592 
593  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
594  public extern static Z3_ast Z3_mk_atmost(Z3_context a0, uint a1, [In] Z3_ast[] a2, uint a3);
595 
596  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
597  public extern static Z3_ast Z3_mk_pble(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In] int[] a3, int a4);
598 
599  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
600  public extern static Z3_ast Z3_func_decl_to_ast(Z3_context a0, Z3_func_decl a1);
601 
602  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
603  public extern static int Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2);
604 
605  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
606  public extern static uint Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1);
607 
608  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
609  public extern static IntPtr Z3_get_decl_name(Z3_context a0, Z3_func_decl a1);
610 
611  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
612  public extern static uint Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1);
613 
614  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
615  public extern static uint Z3_get_domain_size(Z3_context a0, Z3_func_decl a1);
616 
617  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
618  public extern static uint Z3_get_arity(Z3_context a0, Z3_func_decl a1);
619 
620  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
621  public extern static Z3_sort Z3_get_domain(Z3_context a0, Z3_func_decl a1, uint a2);
622 
623  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
624  public extern static Z3_sort Z3_get_range(Z3_context a0, Z3_func_decl a1);
625 
626  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
627  public extern static uint Z3_get_decl_num_parameters(Z3_context a0, Z3_func_decl a1);
628 
629  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
630  public extern static uint Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, uint a2);
631 
632  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
633  public extern static int Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, uint a2);
634 
635  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
636  public extern static double Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, uint a2);
637 
638  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
639  public extern static IntPtr Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, uint a2);
640 
641  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
642  public extern static Z3_sort Z3_get_decl_sort_parameter(Z3_context a0, Z3_func_decl a1, uint a2);
643 
644  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
645  public extern static Z3_ast Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, uint a2);
646 
647  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
648  public extern static Z3_func_decl Z3_get_decl_func_decl_parameter(Z3_context a0, Z3_func_decl a1, uint a2);
649 
650  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
651  public extern static IntPtr Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, uint a2);
652 
653  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
654  public extern static Z3_ast Z3_app_to_ast(Z3_context a0, Z3_app a1);
655 
656  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
657  public extern static Z3_func_decl Z3_get_app_decl(Z3_context a0, Z3_app a1);
658 
659  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
660  public extern static uint Z3_get_app_num_args(Z3_context a0, Z3_app a1);
661 
662  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
663  public extern static Z3_ast Z3_get_app_arg(Z3_context a0, Z3_app a1, uint a2);
664 
665  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
666  public extern static int Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2);
667 
668  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
669  public extern static uint Z3_get_ast_id(Z3_context a0, Z3_ast a1);
670 
671  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
672  public extern static uint Z3_get_ast_hash(Z3_context a0, Z3_ast a1);
673 
674  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
675  public extern static Z3_sort Z3_get_sort(Z3_context a0, Z3_ast a1);
676 
677  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
678  public extern static int Z3_is_well_sorted(Z3_context a0, Z3_ast a1);
679 
680  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
681  public extern static uint Z3_get_bool_value(Z3_context a0, Z3_ast a1);
682 
683  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
684  public extern static uint Z3_get_ast_kind(Z3_context a0, Z3_ast a1);
685 
686  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
687  public extern static int Z3_is_app(Z3_context a0, Z3_ast a1);
688 
689  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
690  public extern static int Z3_is_numeral_ast(Z3_context a0, Z3_ast a1);
691 
692  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
693  public extern static int Z3_is_algebraic_number(Z3_context a0, Z3_ast a1);
694 
695  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
696  public extern static Z3_app Z3_to_app(Z3_context a0, Z3_ast a1);
697 
698  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
699  public extern static Z3_func_decl Z3_to_func_decl(Z3_context a0, Z3_ast a1);
700 
701  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
702  public extern static IntPtr Z3_get_numeral_string(Z3_context a0, Z3_ast a1);
703 
704  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
705  public extern static IntPtr Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, uint a2);
706 
707  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
708  public extern static Z3_ast Z3_get_numerator(Z3_context a0, Z3_ast a1);
709 
710  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
711  public extern static Z3_ast Z3_get_denominator(Z3_context a0, Z3_ast a1);
712 
713  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
714  public extern static int Z3_get_numeral_small(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3);
715 
716  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
717  public extern static int Z3_get_numeral_int(Z3_context a0, Z3_ast a1, [In, Out] ref int a2);
718 
719  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
720  public extern static int Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, [In, Out] ref uint a2);
721 
722  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
723  public extern static int Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2);
724 
725  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
726  public extern static int Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2);
727 
728  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
729  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);
730 
731  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
732  public extern static Z3_ast Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, uint a2);
733 
734  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
735  public extern static Z3_ast Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, uint a2);
736 
737  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
738  public extern static Z3_ast Z3_pattern_to_ast(Z3_context a0, Z3_pattern a1);
739 
740  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
741  public extern static uint Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1);
742 
743  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
744  public extern static Z3_ast Z3_get_pattern(Z3_context a0, Z3_pattern a1, uint a2);
745 
746  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
747  public extern static uint Z3_get_index_value(Z3_context a0, Z3_ast a1);
748 
749  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
750  public extern static int Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1);
751 
752  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
753  public extern static uint Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1);
754 
755  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
756  public extern static uint Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1);
757 
758  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
759  public extern static Z3_pattern Z3_get_quantifier_pattern_ast(Z3_context a0, Z3_ast a1, uint a2);
760 
761  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
762  public extern static uint Z3_get_quantifier_num_no_patterns(Z3_context a0, Z3_ast a1);
763 
764  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
765  public extern static Z3_ast Z3_get_quantifier_no_pattern_ast(Z3_context a0, Z3_ast a1, uint a2);
766 
767  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
768  public extern static uint Z3_get_quantifier_num_bound(Z3_context a0, Z3_ast a1);
769 
770  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
771  public extern static IntPtr Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, uint a2);
772 
773  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
774  public extern static Z3_sort Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, uint a2);
775 
776  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
777  public extern static Z3_ast Z3_get_quantifier_body(Z3_context a0, Z3_ast a1);
778 
779  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
780  public extern static Z3_ast Z3_simplify(Z3_context a0, Z3_ast a1);
781 
782  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
783  public extern static Z3_ast Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2);
784 
785  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
786  public extern static IntPtr Z3_simplify_get_help(Z3_context a0);
787 
788  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
790 
791  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
792  public extern static Z3_ast Z3_update_term(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3);
793 
794  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
795  public extern static Z3_ast Z3_substitute(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3, [In] Z3_ast[] a4);
796 
797  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
798  public extern static Z3_ast Z3_substitute_vars(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3);
799 
800  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
801  public extern static Z3_ast Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2);
802 
803  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
804  public extern static void Z3_model_inc_ref(Z3_context a0, Z3_model a1);
805 
806  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
807  public extern static void Z3_model_dec_ref(Z3_context a0, Z3_model a1);
808 
809  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
810  public extern static int Z3_model_eval(Z3_context a0, Z3_model a1, Z3_ast a2, int a3, [In, Out] ref Z3_ast a4);
811 
812  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
813  public extern static Z3_ast Z3_model_get_const_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2);
814 
815  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
816  public extern static int Z3_model_has_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2);
817 
818  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
820 
821  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
822  public extern static uint Z3_model_get_num_consts(Z3_context a0, Z3_model a1);
823 
824  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
825  public extern static Z3_func_decl Z3_model_get_const_decl(Z3_context a0, Z3_model a1, uint a2);
826 
827  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
828  public extern static uint Z3_model_get_num_funcs(Z3_context a0, Z3_model a1);
829 
830  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
831  public extern static Z3_func_decl Z3_model_get_func_decl(Z3_context a0, Z3_model a1, uint a2);
832 
833  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
834  public extern static uint Z3_model_get_num_sorts(Z3_context a0, Z3_model a1);
835 
836  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
837  public extern static Z3_sort Z3_model_get_sort(Z3_context a0, Z3_model a1, uint a2);
838 
839  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
840  public extern static Z3_ast_vector Z3_model_get_sort_universe(Z3_context a0, Z3_model a1, Z3_sort a2);
841 
842  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
843  public extern static int Z3_is_as_array(Z3_context a0, Z3_ast a1);
844 
845  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
846  public extern static Z3_func_decl Z3_get_as_array_func_decl(Z3_context a0, Z3_ast a1);
847 
848  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
849  public extern static void Z3_func_interp_inc_ref(Z3_context a0, Z3_func_interp a1);
850 
851  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
852  public extern static void Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1);
853 
854  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
855  public extern static uint Z3_func_interp_get_num_entries(Z3_context a0, Z3_func_interp a1);
856 
857  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
858  public extern static Z3_func_entry Z3_func_interp_get_entry(Z3_context a0, Z3_func_interp a1, uint a2);
859 
860  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
861  public extern static Z3_ast Z3_func_interp_get_else(Z3_context a0, Z3_func_interp a1);
862 
863  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
864  public extern static uint Z3_func_interp_get_arity(Z3_context a0, Z3_func_interp a1);
865 
866  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
867  public extern static void Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1);
868 
869  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
870  public extern static void Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1);
871 
872  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
873  public extern static Z3_ast Z3_func_entry_get_value(Z3_context a0, Z3_func_entry a1);
874 
875  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
876  public extern static uint Z3_func_entry_get_num_args(Z3_context a0, Z3_func_entry a1);
877 
878  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
879  public extern static Z3_ast Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, uint a2);
880 
881  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
882  public extern static int Z3_open_log(string a0);
883 
884  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
885  public extern static void Z3_append_log(string a0);
886 
887  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
888  public extern static void Z3_close_log();
889 
890  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
891  public extern static void Z3_toggle_warning_messages(int a0);
892 
893  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
894  public extern static void Z3_set_ast_print_mode(Z3_context a0, uint a1);
895 
896  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
897  public extern static IntPtr Z3_ast_to_string(Z3_context a0, Z3_ast a1);
898 
899  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
900  public extern static IntPtr Z3_pattern_to_string(Z3_context a0, Z3_pattern a1);
901 
902  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
903  public extern static IntPtr Z3_sort_to_string(Z3_context a0, Z3_sort a1);
904 
905  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
906  public extern static IntPtr Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1);
907 
908  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
909  public extern static IntPtr Z3_model_to_string(Z3_context a0, Z3_model a1);
910 
911  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
912  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);
913 
914  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
915  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);
916 
917  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
918  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);
919 
920  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
921  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);
922 
923  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
924  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);
925 
926  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
927  public extern static uint Z3_get_smtlib_num_formulas(Z3_context a0);
928 
929  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
930  public extern static Z3_ast Z3_get_smtlib_formula(Z3_context a0, uint a1);
931 
932  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
933  public extern static uint Z3_get_smtlib_num_assumptions(Z3_context a0);
934 
935  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
936  public extern static Z3_ast Z3_get_smtlib_assumption(Z3_context a0, uint a1);
937 
938  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
939  public extern static uint Z3_get_smtlib_num_decls(Z3_context a0);
940 
941  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
942  public extern static Z3_func_decl Z3_get_smtlib_decl(Z3_context a0, uint a1);
943 
944  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
945  public extern static uint Z3_get_smtlib_num_sorts(Z3_context a0);
946 
947  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
948  public extern static Z3_sort Z3_get_smtlib_sort(Z3_context a0, uint a1);
949 
950  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
951  public extern static IntPtr Z3_get_smtlib_error(Z3_context a0);
952 
953  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
954  public extern static uint Z3_get_error_code(Z3_context a0);
955 
956  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
957  public extern static void Z3_set_error(Z3_context a0, uint a1);
958 
959  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
960  public extern static IntPtr Z3_get_error_msg(uint a0);
961 
962  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
963  public extern static IntPtr Z3_get_error_msg_ex(Z3_context a0, uint a1);
964 
965  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
966  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);
967 
968  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
969  public extern static void Z3_enable_trace(string a0);
970 
971  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
972  public extern static void Z3_disable_trace(string a0);
973 
974  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
975  public extern static void Z3_reset_memory();
976 
977  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
978  public extern static void Z3_finalize_memory();
979 
980  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
981  public extern static Z3_fixedpoint Z3_mk_fixedpoint(Z3_context a0);
982 
983  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
984  public extern static void Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1);
985 
986  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
987  public extern static void Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1);
988 
989  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
990  public extern static void Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3);
991 
992  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
993  public extern static void Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] uint[] a4);
994 
995  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
996  public extern static void Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2);
997 
998  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
999  public extern static int Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2);
1000 
1001  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1002  public extern static int Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_func_decl[] a3);
1003 
1004  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1005  public extern static Z3_ast Z3_fixedpoint_get_answer(Z3_context a0, Z3_fixedpoint a1);
1006 
1007  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1008  public extern static IntPtr Z3_fixedpoint_get_reason_unknown(Z3_context a0, Z3_fixedpoint a1);
1009 
1010  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1011  public extern static void Z3_fixedpoint_update_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3);
1012 
1013  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1014  public extern static uint Z3_fixedpoint_get_num_levels(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2);
1015 
1016  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1017  public extern static Z3_ast Z3_fixedpoint_get_cover_delta(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3);
1018 
1019  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1020  public extern static void Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4);
1021 
1022  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1023  public extern static Z3_stats Z3_fixedpoint_get_statistics(Z3_context a0, Z3_fixedpoint a1);
1024 
1025  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1026  public extern static void Z3_fixedpoint_register_relation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2);
1027 
1028  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1029  public extern static void Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] IntPtr[] a4);
1030 
1031  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1032  public extern static Z3_ast_vector Z3_fixedpoint_get_rules(Z3_context a0, Z3_fixedpoint a1);
1033 
1034  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1036 
1037  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1038  public extern static void Z3_fixedpoint_set_params(Z3_context a0, Z3_fixedpoint a1, Z3_params a2);
1039 
1040  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1041  public extern static IntPtr Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1);
1042 
1043  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1045 
1046  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1047  public extern static IntPtr Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3);
1048 
1049  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1050  public extern static Z3_ast_vector Z3_fixedpoint_from_string(Z3_context a0, Z3_fixedpoint a1, string a2);
1051 
1052  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1053  public extern static Z3_ast_vector Z3_fixedpoint_from_file(Z3_context a0, Z3_fixedpoint a1, string a2);
1054 
1055  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1056  public extern static void Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1);
1057 
1058  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1059  public extern static void Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1);
1060 
1061  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1062  public extern static Z3_optimize Z3_mk_optimize(Z3_context a0);
1063 
1064  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1065  public extern static void Z3_optimize_inc_ref(Z3_context a0, Z3_optimize a1);
1066 
1067  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1068  public extern static void Z3_optimize_dec_ref(Z3_context a0, Z3_optimize a1);
1069 
1070  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1071  public extern static void Z3_optimize_assert(Z3_context a0, Z3_optimize a1, Z3_ast a2);
1072 
1073  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1074  public extern static uint Z3_optimize_assert_soft(Z3_context a0, Z3_optimize a1, Z3_ast a2, string a3, IntPtr a4);
1075 
1076  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1077  public extern static uint Z3_optimize_maximize(Z3_context a0, Z3_optimize a1, Z3_ast a2);
1078 
1079  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1080  public extern static uint Z3_optimize_minimize(Z3_context a0, Z3_optimize a1, Z3_ast a2);
1081 
1082  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1083  public extern static void Z3_optimize_push(Z3_context a0, Z3_optimize a1);
1084 
1085  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1086  public extern static void Z3_optimize_pop(Z3_context a0, Z3_optimize a1);
1087 
1088  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1089  public extern static int Z3_optimize_check(Z3_context a0, Z3_optimize a1);
1090 
1091  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1092  public extern static IntPtr Z3_optimize_get_reason_unknown(Z3_context a0, Z3_optimize a1);
1093 
1094  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1095  public extern static Z3_model Z3_optimize_get_model(Z3_context a0, Z3_optimize a1);
1096 
1097  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1098  public extern static void Z3_optimize_set_params(Z3_context a0, Z3_optimize a1, Z3_params a2);
1099 
1100  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1102 
1103  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1104  public extern static Z3_ast Z3_optimize_get_lower(Z3_context a0, Z3_optimize a1, uint a2);
1105 
1106  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1107  public extern static Z3_ast Z3_optimize_get_upper(Z3_context a0, Z3_optimize a1, uint a2);
1108 
1109  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1110  public extern static IntPtr Z3_optimize_to_string(Z3_context a0, Z3_optimize a1);
1111 
1112  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1113  public extern static IntPtr Z3_optimize_get_help(Z3_context a0, Z3_optimize a1);
1114 
1115  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1116  public extern static Z3_stats Z3_optimize_get_statistics(Z3_context a0, Z3_optimize a1);
1117 
1118  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1119  public extern static Z3_ast_vector Z3_mk_ast_vector(Z3_context a0);
1120 
1121  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1122  public extern static void Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1);
1123 
1124  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1125  public extern static void Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1);
1126 
1127  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1128  public extern static uint Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1);
1129 
1130  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1131  public extern static Z3_ast Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, uint a2);
1132 
1133  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1134  public extern static void Z3_ast_vector_set(Z3_context a0, Z3_ast_vector a1, uint a2, Z3_ast a3);
1135 
1136  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1137  public extern static void Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, uint a2);
1138 
1139  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1140  public extern static void Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2);
1141 
1142  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1143  public extern static Z3_ast_vector Z3_ast_vector_translate(Z3_context a0, Z3_ast_vector a1, Z3_context a2);
1144 
1145  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1146  public extern static IntPtr Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1);
1147 
1148  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1149  public extern static Z3_ast_map Z3_mk_ast_map(Z3_context a0);
1150 
1151  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1152  public extern static void Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1);
1153 
1154  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1155  public extern static void Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1);
1156 
1157  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1158  public extern static int Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2);
1159 
1160  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1161  public extern static Z3_ast Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2);
1162 
1163  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1164  public extern static void Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3);
1165 
1166  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1167  public extern static void Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2);
1168 
1169  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1170  public extern static void Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1);
1171 
1172  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1173  public extern static uint Z3_ast_map_size(Z3_context a0, Z3_ast_map a1);
1174 
1175  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1176  public extern static Z3_ast_vector Z3_ast_map_keys(Z3_context a0, Z3_ast_map a1);
1177 
1178  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1179  public extern static IntPtr Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1);
1180 
1181  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1182  public extern static Z3_goal Z3_mk_goal(Z3_context a0, int a1, int a2, int a3);
1183 
1184  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1185  public extern static void Z3_goal_inc_ref(Z3_context a0, Z3_goal a1);
1186 
1187  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1188  public extern static void Z3_goal_dec_ref(Z3_context a0, Z3_goal a1);
1189 
1190  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1191  public extern static uint Z3_goal_precision(Z3_context a0, Z3_goal a1);
1192 
1193  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1194  public extern static void Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2);
1195 
1196  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1197  public extern static int Z3_goal_inconsistent(Z3_context a0, Z3_goal a1);
1198 
1199  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1200  public extern static uint Z3_goal_depth(Z3_context a0, Z3_goal a1);
1201 
1202  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1203  public extern static void Z3_goal_reset(Z3_context a0, Z3_goal a1);
1204 
1205  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1206  public extern static uint Z3_goal_size(Z3_context a0, Z3_goal a1);
1207 
1208  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1209  public extern static Z3_ast Z3_goal_formula(Z3_context a0, Z3_goal a1, uint a2);
1210 
1211  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1212  public extern static uint Z3_goal_num_exprs(Z3_context a0, Z3_goal a1);
1213 
1214  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1215  public extern static int Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1);
1216 
1217  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1218  public extern static int Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1);
1219 
1220  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1221  public extern static Z3_goal Z3_goal_translate(Z3_context a0, Z3_goal a1, Z3_context a2);
1222 
1223  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1224  public extern static IntPtr Z3_goal_to_string(Z3_context a0, Z3_goal a1);
1225 
1226  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1227  public extern static Z3_tactic Z3_mk_tactic(Z3_context a0, string a1);
1228 
1229  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1230  public extern static void Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1);
1231 
1232  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1233  public extern static void Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1);
1234 
1235  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1236  public extern static Z3_probe Z3_mk_probe(Z3_context a0, string a1);
1237 
1238  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1239  public extern static void Z3_probe_inc_ref(Z3_context a0, Z3_probe a1);
1240 
1241  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1242  public extern static void Z3_probe_dec_ref(Z3_context a0, Z3_probe a1);
1243 
1244  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1245  public extern static Z3_tactic Z3_tactic_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2);
1246 
1247  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1248  public extern static Z3_tactic Z3_tactic_or_else(Z3_context a0, Z3_tactic a1, Z3_tactic a2);
1249 
1250  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1251  public extern static Z3_tactic Z3_tactic_par_or(Z3_context a0, uint a1, [In] Z3_tactic[] a2);
1252 
1253  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1254  public extern static Z3_tactic Z3_tactic_par_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2);
1255 
1256  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1257  public extern static Z3_tactic Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, uint a2);
1258 
1259  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1260  public extern static Z3_tactic Z3_tactic_when(Z3_context a0, Z3_probe a1, Z3_tactic a2);
1261 
1262  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1263  public extern static Z3_tactic Z3_tactic_cond(Z3_context a0, Z3_probe a1, Z3_tactic a2, Z3_tactic a3);
1264 
1265  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1266  public extern static Z3_tactic Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, uint a2);
1267 
1268  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1269  public extern static Z3_tactic Z3_tactic_skip(Z3_context a0);
1270 
1271  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1272  public extern static Z3_tactic Z3_tactic_fail(Z3_context a0);
1273 
1274  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1275  public extern static Z3_tactic Z3_tactic_fail_if(Z3_context a0, Z3_probe a1);
1276 
1277  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1278  public extern static Z3_tactic Z3_tactic_fail_if_not_decided(Z3_context a0);
1279 
1280  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1281  public extern static Z3_tactic Z3_tactic_using_params(Z3_context a0, Z3_tactic a1, Z3_params a2);
1282 
1283  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1284  public extern static Z3_probe Z3_probe_const(Z3_context a0, double a1);
1285 
1286  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1287  public extern static Z3_probe Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2);
1288 
1289  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1290  public extern static Z3_probe Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2);
1291 
1292  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1293  public extern static Z3_probe Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2);
1294 
1295  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1296  public extern static Z3_probe Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2);
1297 
1298  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1299  public extern static Z3_probe Z3_probe_eq(Z3_context a0, Z3_probe a1, Z3_probe a2);
1300 
1301  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1302  public extern static Z3_probe Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2);
1303 
1304  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1305  public extern static Z3_probe Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2);
1306 
1307  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1308  public extern static Z3_probe Z3_probe_not(Z3_context a0, Z3_probe a1);
1309 
1310  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1311  public extern static uint Z3_get_num_tactics(Z3_context a0);
1312 
1313  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1314  public extern static IntPtr Z3_get_tactic_name(Z3_context a0, uint a1);
1315 
1316  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1317  public extern static uint Z3_get_num_probes(Z3_context a0);
1318 
1319  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1320  public extern static IntPtr Z3_get_probe_name(Z3_context a0, uint a1);
1321 
1322  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1323  public extern static IntPtr Z3_tactic_get_help(Z3_context a0, Z3_tactic a1);
1324 
1325  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1326  public extern static Z3_param_descrs Z3_tactic_get_param_descrs(Z3_context a0, Z3_tactic a1);
1327 
1328  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1329  public extern static IntPtr Z3_tactic_get_descr(Z3_context a0, string a1);
1330 
1331  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1332  public extern static IntPtr Z3_probe_get_descr(Z3_context a0, string a1);
1333 
1334  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1335  public extern static double Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2);
1336 
1337  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1338  public extern static Z3_apply_result Z3_tactic_apply(Z3_context a0, Z3_tactic a1, Z3_goal a2);
1339 
1340  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1341  public extern static Z3_apply_result Z3_tactic_apply_ex(Z3_context a0, Z3_tactic a1, Z3_goal a2, Z3_params a3);
1342 
1343  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1344  public extern static void Z3_apply_result_inc_ref(Z3_context a0, Z3_apply_result a1);
1345 
1346  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1347  public extern static void Z3_apply_result_dec_ref(Z3_context a0, Z3_apply_result a1);
1348 
1349  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1350  public extern static IntPtr Z3_apply_result_to_string(Z3_context a0, Z3_apply_result a1);
1351 
1352  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1353  public extern static uint Z3_apply_result_get_num_subgoals(Z3_context a0, Z3_apply_result a1);
1354 
1355  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1356  public extern static Z3_goal Z3_apply_result_get_subgoal(Z3_context a0, Z3_apply_result a1, uint a2);
1357 
1358  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1359  public extern static Z3_model Z3_apply_result_convert_model(Z3_context a0, Z3_apply_result a1, uint a2, Z3_model a3);
1360 
1361  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1362  public extern static Z3_solver Z3_mk_solver(Z3_context a0);
1363 
1364  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1365  public extern static Z3_solver Z3_mk_simple_solver(Z3_context a0);
1366 
1367  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1368  public extern static Z3_solver Z3_mk_solver_for_logic(Z3_context a0, IntPtr a1);
1369 
1370  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1371  public extern static Z3_solver Z3_mk_solver_from_tactic(Z3_context a0, Z3_tactic a1);
1372 
1373  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1374  public extern static IntPtr Z3_solver_get_help(Z3_context a0, Z3_solver a1);
1375 
1376  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1377  public extern static Z3_param_descrs Z3_solver_get_param_descrs(Z3_context a0, Z3_solver a1);
1378 
1379  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1380  public extern static void Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2);
1381 
1382  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1383  public extern static void Z3_solver_inc_ref(Z3_context a0, Z3_solver a1);
1384 
1385  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1386  public extern static void Z3_solver_dec_ref(Z3_context a0, Z3_solver a1);
1387 
1388  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1389  public extern static void Z3_solver_push(Z3_context a0, Z3_solver a1);
1390 
1391  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1392  public extern static void Z3_solver_pop(Z3_context a0, Z3_solver a1, uint a2);
1393 
1394  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1395  public extern static void Z3_solver_reset(Z3_context a0, Z3_solver a1);
1396 
1397  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1398  public extern static uint Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1);
1399 
1400  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1401  public extern static void Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2);
1402 
1403  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1404  public extern static void Z3_solver_assert_and_track(Z3_context a0, Z3_solver a1, Z3_ast a2, Z3_ast a3);
1405 
1406  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1407  public extern static Z3_ast_vector Z3_solver_get_assertions(Z3_context a0, Z3_solver a1);
1408 
1409  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1410  public extern static int Z3_solver_check(Z3_context a0, Z3_solver a1);
1411 
1412  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1413  public extern static int Z3_solver_check_assumptions(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3);
1414 
1415  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1416  public extern static Z3_model Z3_solver_get_model(Z3_context a0, Z3_solver a1);
1417 
1418  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1419  public extern static Z3_ast Z3_solver_get_proof(Z3_context a0, Z3_solver a1);
1420 
1421  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1422  public extern static Z3_ast_vector Z3_solver_get_unsat_core(Z3_context a0, Z3_solver a1);
1423 
1424  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1425  public extern static IntPtr Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1);
1426 
1427  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1428  public extern static Z3_stats Z3_solver_get_statistics(Z3_context a0, Z3_solver a1);
1429 
1430  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1431  public extern static IntPtr Z3_solver_to_string(Z3_context a0, Z3_solver a1);
1432 
1433  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1434  public extern static IntPtr Z3_stats_to_string(Z3_context a0, Z3_stats a1);
1435 
1436  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1437  public extern static void Z3_stats_inc_ref(Z3_context a0, Z3_stats a1);
1438 
1439  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1440  public extern static void Z3_stats_dec_ref(Z3_context a0, Z3_stats a1);
1441 
1442  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1443  public extern static uint Z3_stats_size(Z3_context a0, Z3_stats a1);
1444 
1445  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1446  public extern static IntPtr Z3_stats_get_key(Z3_context a0, Z3_stats a1, uint a2);
1447 
1448  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1449  public extern static int Z3_stats_is_uint(Z3_context a0, Z3_stats a1, uint a2);
1450 
1451  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1452  public extern static int Z3_stats_is_double(Z3_context a0, Z3_stats a1, uint a2);
1453 
1454  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1455  public extern static uint Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, uint a2);
1456 
1457  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1458  public extern static double Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, uint a2);
1459 
1460  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1461  public extern static Z3_func_decl Z3_mk_injective_function(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4);
1462 
1463  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1464  public extern static void Z3_set_logic(Z3_context a0, string a1);
1465 
1466  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1467  public extern static void Z3_push(Z3_context a0);
1468 
1469  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1470  public extern static void Z3_pop(Z3_context a0, uint a1);
1471 
1472  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1473  public extern static uint Z3_get_num_scopes(Z3_context a0);
1474 
1475  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1476  public extern static void Z3_persist_ast(Z3_context a0, Z3_ast a1, uint a2);
1477 
1478  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1479  public extern static void Z3_assert_cnstr(Z3_context a0, Z3_ast a1);
1480 
1481  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1482  public extern static int Z3_check_and_get_model(Z3_context a0, [In, Out] ref Z3_model a1);
1483 
1484  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1485  public extern static int Z3_check(Z3_context a0);
1486 
1487  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1488  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);
1489 
1490  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1491  public extern static uint Z3_get_implied_equalities(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3, [Out] uint[] a4);
1492 
1493  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1494  public extern static void Z3_del_model(Z3_context a0, Z3_model a1);
1495 
1496  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1497  public extern static void Z3_soft_check_cancel(Z3_context a0);
1498 
1499  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1500  public extern static uint Z3_get_search_failure(Z3_context a0);
1501 
1502  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1503  public extern static Z3_ast Z3_mk_label(Z3_context a0, IntPtr a1, int a2, Z3_ast a3);
1504 
1505  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1506  public extern static Z3_literals Z3_get_relevant_labels(Z3_context a0);
1507 
1508  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1509  public extern static Z3_literals Z3_get_relevant_literals(Z3_context a0);
1510 
1511  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1512  public extern static Z3_literals Z3_get_guessed_literals(Z3_context a0);
1513 
1514  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1515  public extern static void Z3_del_literals(Z3_context a0, Z3_literals a1);
1516 
1517  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1518  public extern static uint Z3_get_num_literals(Z3_context a0, Z3_literals a1);
1519 
1520  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1521  public extern static IntPtr Z3_get_label_symbol(Z3_context a0, Z3_literals a1, uint a2);
1522 
1523  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1524  public extern static Z3_ast Z3_get_literal(Z3_context a0, Z3_literals a1, uint a2);
1525 
1526  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1527  public extern static void Z3_disable_literal(Z3_context a0, Z3_literals a1, uint a2);
1528 
1529  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1530  public extern static void Z3_block_literals(Z3_context a0, Z3_literals a1);
1531 
1532  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1533  public extern static uint Z3_get_model_num_constants(Z3_context a0, Z3_model a1);
1534 
1535  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1536  public extern static Z3_func_decl Z3_get_model_constant(Z3_context a0, Z3_model a1, uint a2);
1537 
1538  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1539  public extern static uint Z3_get_model_num_funcs(Z3_context a0, Z3_model a1);
1540 
1541  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1542  public extern static Z3_func_decl Z3_get_model_func_decl(Z3_context a0, Z3_model a1, uint a2);
1543 
1544  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1545  public extern static int Z3_eval_func_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, [In, Out] ref Z3_ast a3);
1546 
1547  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1548  public extern static int Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref uint a3);
1549 
1550  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1551  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);
1552 
1553  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1554  public extern static Z3_ast Z3_get_model_func_else(Z3_context a0, Z3_model a1, uint a2);
1555 
1556  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1557  public extern static uint Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, uint a2);
1558 
1559  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1560  public extern static uint Z3_get_model_func_entry_num_args(Z3_context a0, Z3_model a1, uint a2, uint a3);
1561 
1562  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1563  public extern static Z3_ast Z3_get_model_func_entry_arg(Z3_context a0, Z3_model a1, uint a2, uint a3, uint a4);
1564 
1565  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1566  public extern static Z3_ast Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, uint a2, uint a3);
1567 
1568  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1569  public extern static int Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref Z3_ast a3);
1570 
1571  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1572  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);
1573 
1574  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1575  public extern static IntPtr Z3_context_to_string(Z3_context a0);
1576 
1577  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1578  public extern static IntPtr Z3_statistics_to_string(Z3_context a0);
1579 
1580  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1581  public extern static Z3_ast Z3_get_context_assignment(Z3_context a0);
1582 
1583  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1584  public extern static int Z3_algebraic_is_value(Z3_context a0, Z3_ast a1);
1585 
1586  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1587  public extern static int Z3_algebraic_is_pos(Z3_context a0, Z3_ast a1);
1588 
1589  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1590  public extern static int Z3_algebraic_is_neg(Z3_context a0, Z3_ast a1);
1591 
1592  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1593  public extern static int Z3_algebraic_is_zero(Z3_context a0, Z3_ast a1);
1594 
1595  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1596  public extern static int Z3_algebraic_sign(Z3_context a0, Z3_ast a1);
1597 
1598  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1599  public extern static Z3_ast Z3_algebraic_add(Z3_context a0, Z3_ast a1, Z3_ast a2);
1600 
1601  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1602  public extern static Z3_ast Z3_algebraic_sub(Z3_context a0, Z3_ast a1, Z3_ast a2);
1603 
1604  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1605  public extern static Z3_ast Z3_algebraic_mul(Z3_context a0, Z3_ast a1, Z3_ast a2);
1606 
1607  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1608  public extern static Z3_ast Z3_algebraic_div(Z3_context a0, Z3_ast a1, Z3_ast a2);
1609 
1610  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1611  public extern static Z3_ast Z3_algebraic_root(Z3_context a0, Z3_ast a1, uint a2);
1612 
1613  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1614  public extern static Z3_ast Z3_algebraic_power(Z3_context a0, Z3_ast a1, uint a2);
1615 
1616  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1617  public extern static int Z3_algebraic_lt(Z3_context a0, Z3_ast a1, Z3_ast a2);
1618 
1619  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1620  public extern static int Z3_algebraic_gt(Z3_context a0, Z3_ast a1, Z3_ast a2);
1621 
1622  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1623  public extern static int Z3_algebraic_le(Z3_context a0, Z3_ast a1, Z3_ast a2);
1624 
1625  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1626  public extern static int Z3_algebraic_ge(Z3_context a0, Z3_ast a1, Z3_ast a2);
1627 
1628  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1629  public extern static int Z3_algebraic_eq(Z3_context a0, Z3_ast a1, Z3_ast a2);
1630 
1631  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1632  public extern static int Z3_algebraic_neq(Z3_context a0, Z3_ast a1, Z3_ast a2);
1633 
1634  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1635  public extern static Z3_ast_vector Z3_algebraic_roots(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3);
1636 
1637  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1638  public extern static int Z3_algebraic_eval(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3);
1639 
1640  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1641  public extern static Z3_ast_vector Z3_polynomial_subresultants(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3);
1642 
1643  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1644  public extern static void Z3_rcf_del(Z3_context a0, Z3_rcf_num a1);
1645 
1646  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1647  public extern static Z3_rcf_num Z3_rcf_mk_rational(Z3_context a0, string a1);
1648 
1649  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1650  public extern static Z3_rcf_num Z3_rcf_mk_small_int(Z3_context a0, int a1);
1651 
1652  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1653  public extern static Z3_rcf_num Z3_rcf_mk_pi(Z3_context a0);
1654 
1655  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1656  public extern static Z3_rcf_num Z3_rcf_mk_e(Z3_context a0);
1657 
1658  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1659  public extern static Z3_rcf_num Z3_rcf_mk_infinitesimal(Z3_context a0);
1660 
1661  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1662  public extern static uint Z3_rcf_mk_roots(Z3_context a0, uint a1, [In] Z3_rcf_num[] a2, [Out] Z3_rcf_num[] a3);
1663 
1664  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1665  public extern static Z3_rcf_num Z3_rcf_add(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1666 
1667  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1668  public extern static Z3_rcf_num Z3_rcf_sub(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1669 
1670  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1671  public extern static Z3_rcf_num Z3_rcf_mul(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1672 
1673  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1674  public extern static Z3_rcf_num Z3_rcf_div(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1675 
1676  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1677  public extern static Z3_rcf_num Z3_rcf_neg(Z3_context a0, Z3_rcf_num a1);
1678 
1679  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1680  public extern static Z3_rcf_num Z3_rcf_inv(Z3_context a0, Z3_rcf_num a1);
1681 
1682  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1683  public extern static Z3_rcf_num Z3_rcf_power(Z3_context a0, Z3_rcf_num a1, uint a2);
1684 
1685  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1686  public extern static int Z3_rcf_lt(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1687 
1688  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1689  public extern static int Z3_rcf_gt(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1690 
1691  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1692  public extern static int Z3_rcf_le(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1693 
1694  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1695  public extern static int Z3_rcf_ge(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1696 
1697  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1698  public extern static int Z3_rcf_eq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1699 
1700  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1701  public extern static int Z3_rcf_neq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2);
1702 
1703  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1704  public extern static IntPtr Z3_rcf_num_to_string(Z3_context a0, Z3_rcf_num a1, int a2, int a3);
1705 
1706  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1707  public extern static IntPtr Z3_rcf_num_to_decimal_string(Z3_context a0, Z3_rcf_num a1, uint a2);
1708 
1709  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1710  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);
1711 
1712  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1713  public extern static Z3_ast Z3_mk_interpolant(Z3_context a0, Z3_ast a1);
1714 
1715  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1716  public extern static Z3_context Z3_mk_interpolation_context(Z3_config a0);
1717 
1718  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1719  public extern static Z3_ast_vector Z3_get_interpolant(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_params a3);
1720 
1721  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1722  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);
1723 
1724  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1725  public extern static IntPtr Z3_interpolation_profile(Z3_context a0);
1726 
1727  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1728  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);
1729 
1730  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1731  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);
1732 
1733  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1734  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);
1735 
1736  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1737  public extern static Z3_sort Z3_mk_fpa_rounding_mode_sort(Z3_context a0);
1738 
1739  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1740  public extern static Z3_ast Z3_mk_fpa_round_nearest_ties_to_even(Z3_context a0);
1741 
1742  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1743  public extern static Z3_ast Z3_mk_fpa_rne(Z3_context a0);
1744 
1745  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1746  public extern static Z3_ast Z3_mk_fpa_round_nearest_ties_to_away(Z3_context a0);
1747 
1748  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1749  public extern static Z3_ast Z3_mk_fpa_rna(Z3_context a0);
1750 
1751  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1752  public extern static Z3_ast Z3_mk_fpa_round_toward_positive(Z3_context a0);
1753 
1754  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1755  public extern static Z3_ast Z3_mk_fpa_rtp(Z3_context a0);
1756 
1757  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1758  public extern static Z3_ast Z3_mk_fpa_round_toward_negative(Z3_context a0);
1759 
1760  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1761  public extern static Z3_ast Z3_mk_fpa_rtn(Z3_context a0);
1762 
1763  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1764  public extern static Z3_ast Z3_mk_fpa_round_toward_zero(Z3_context a0);
1765 
1766  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1767  public extern static Z3_ast Z3_mk_fpa_rtz(Z3_context a0);
1768 
1769  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1770  public extern static Z3_sort Z3_mk_fpa_sort(Z3_context a0, uint a1, uint a2);
1771 
1772  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1773  public extern static Z3_sort Z3_mk_fpa_sort_half(Z3_context a0);
1774 
1775  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1776  public extern static Z3_sort Z3_mk_fpa_sort_16(Z3_context a0);
1777 
1778  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1779  public extern static Z3_sort Z3_mk_fpa_sort_single(Z3_context a0);
1780 
1781  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1782  public extern static Z3_sort Z3_mk_fpa_sort_32(Z3_context a0);
1783 
1784  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1785  public extern static Z3_sort Z3_mk_fpa_sort_double(Z3_context a0);
1786 
1787  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1788  public extern static Z3_sort Z3_mk_fpa_sort_64(Z3_context a0);
1789 
1790  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1791  public extern static Z3_sort Z3_mk_fpa_sort_quadruple(Z3_context a0);
1792 
1793  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1794  public extern static Z3_sort Z3_mk_fpa_sort_128(Z3_context a0);
1795 
1796  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1797  public extern static Z3_ast Z3_mk_fpa_nan(Z3_context a0, Z3_sort a1);
1798 
1799  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1800  public extern static Z3_ast Z3_mk_fpa_inf(Z3_context a0, Z3_sort a1, int a2);
1801 
1802  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1803  public extern static Z3_ast Z3_mk_fpa_zero(Z3_context a0, Z3_sort a1, int a2);
1804 
1805  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1806  public extern static Z3_ast Z3_mk_fpa_fp(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3);
1807 
1808  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1809  public extern static Z3_ast Z3_mk_fpa_numeral_float(Z3_context a0, float a1, Z3_sort a2);
1810 
1811  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1812  public extern static Z3_ast Z3_mk_fpa_numeral_double(Z3_context a0, double a1, Z3_sort a2);
1813 
1814  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1815  public extern static Z3_ast Z3_mk_fpa_numeral_int(Z3_context a0, int a1, Z3_sort a2);
1816 
1817  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1818  public extern static Z3_ast Z3_mk_fpa_numeral_int_uint(Z3_context a0, int a1, int a2, uint a3, Z3_sort a4);
1819 
1820  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1821  public extern static Z3_ast Z3_mk_fpa_numeral_int64_uint64(Z3_context a0, int a1, Int64 a2, UInt64 a3, Z3_sort a4);
1822 
1823  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1824  public extern static Z3_ast Z3_mk_fpa_abs(Z3_context a0, Z3_ast a1);
1825 
1826  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1827  public extern static Z3_ast Z3_mk_fpa_neg(Z3_context a0, Z3_ast a1);
1828 
1829  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1830  public extern static Z3_ast Z3_mk_fpa_add(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3);
1831 
1832  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1833  public extern static Z3_ast Z3_mk_fpa_sub(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3);
1834 
1835  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1836  public extern static Z3_ast Z3_mk_fpa_mul(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3);
1837 
1838  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1839  public extern static Z3_ast Z3_mk_fpa_div(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3);
1840 
1841  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1842  public extern static Z3_ast Z3_mk_fpa_fma(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3, Z3_ast a4);
1843 
1844  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1845  public extern static Z3_ast Z3_mk_fpa_sqrt(Z3_context a0, Z3_ast a1, Z3_ast a2);
1846 
1847  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1848  public extern static Z3_ast Z3_mk_fpa_rem(Z3_context a0, Z3_ast a1, Z3_ast a2);
1849 
1850  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1851  public extern static Z3_ast Z3_mk_fpa_round_to_integral(Z3_context a0, Z3_ast a1, Z3_ast a2);
1852 
1853  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1854  public extern static Z3_ast Z3_mk_fpa_min(Z3_context a0, Z3_ast a1, Z3_ast a2);
1855 
1856  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1857  public extern static Z3_ast Z3_mk_fpa_max(Z3_context a0, Z3_ast a1, Z3_ast a2);
1858 
1859  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1860  public extern static Z3_ast Z3_mk_fpa_leq(Z3_context a0, Z3_ast a1, Z3_ast a2);
1861 
1862  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1863  public extern static Z3_ast Z3_mk_fpa_lt(Z3_context a0, Z3_ast a1, Z3_ast a2);
1864 
1865  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1866  public extern static Z3_ast Z3_mk_fpa_geq(Z3_context a0, Z3_ast a1, Z3_ast a2);
1867 
1868  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1869  public extern static Z3_ast Z3_mk_fpa_gt(Z3_context a0, Z3_ast a1, Z3_ast a2);
1870 
1871  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1872  public extern static Z3_ast Z3_mk_fpa_eq(Z3_context a0, Z3_ast a1, Z3_ast a2);
1873 
1874  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1875  public extern static Z3_ast Z3_mk_fpa_is_normal(Z3_context a0, Z3_ast a1);
1876 
1877  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1878  public extern static Z3_ast Z3_mk_fpa_is_subnormal(Z3_context a0, Z3_ast a1);
1879 
1880  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1881  public extern static Z3_ast Z3_mk_fpa_is_zero(Z3_context a0, Z3_ast a1);
1882 
1883  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1884  public extern static Z3_ast Z3_mk_fpa_is_infinite(Z3_context a0, Z3_ast a1);
1885 
1886  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1887  public extern static Z3_ast Z3_mk_fpa_is_nan(Z3_context a0, Z3_ast a1);
1888 
1889  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1890  public extern static Z3_ast Z3_mk_fpa_is_negative(Z3_context a0, Z3_ast a1);
1891 
1892  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1893  public extern static Z3_ast Z3_mk_fpa_is_positive(Z3_context a0, Z3_ast a1);
1894 
1895  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1896  public extern static Z3_ast Z3_mk_fpa_to_fp_bv(Z3_context a0, Z3_ast a1, Z3_sort a2);
1897 
1898  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1899  public extern static Z3_ast Z3_mk_fpa_to_fp_float(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_sort a3);
1900 
1901  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1902  public extern static Z3_ast Z3_mk_fpa_to_fp_real(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_sort a3);
1903 
1904  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1905  public extern static Z3_ast Z3_mk_fpa_to_fp_signed(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_sort a3);
1906 
1907  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1908  public extern static Z3_ast Z3_mk_fpa_to_fp_unsigned(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_sort a3);
1909 
1910  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1911  public extern static Z3_ast Z3_mk_fpa_to_ubv(Z3_context a0, Z3_ast a1, Z3_ast a2, uint a3);
1912 
1913  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1914  public extern static Z3_ast Z3_mk_fpa_to_sbv(Z3_context a0, Z3_ast a1, Z3_ast a2, uint a3);
1915 
1916  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1917  public extern static Z3_ast Z3_mk_fpa_to_real(Z3_context a0, Z3_ast a1);
1918 
1919  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1920  public extern static uint Z3_fpa_get_ebits(Z3_context a0, Z3_sort a1);
1921 
1922  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1923  public extern static uint Z3_fpa_get_sbits(Z3_context a0, Z3_sort a1);
1924 
1925  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1926  public extern static int Z3_fpa_get_numeral_sign(Z3_context a0, Z3_ast a1, [In, Out] ref int a2);
1927 
1928  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1929  public extern static IntPtr Z3_fpa_get_numeral_significand_string(Z3_context a0, Z3_ast a1);
1930 
1931  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1932  public extern static int Z3_fpa_get_numeral_significand_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2);
1933 
1934  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1935  public extern static IntPtr Z3_fpa_get_numeral_exponent_string(Z3_context a0, Z3_ast a1);
1936 
1937  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1938  public extern static int Z3_fpa_get_numeral_exponent_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2);
1939 
1940  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1941  public extern static Z3_ast Z3_mk_fpa_to_ieee_bv(Z3_context a0, Z3_ast a1);
1942 
1943  [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
1944  public extern static Z3_ast Z3_mk_fpa_to_fp_int_real(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3, Z3_sort a4);
1945 
1946  }
1947 
1948  public static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1) {
1949  LIB.Z3_set_error_handler(a0, a1);
1951  if (err != Z3_error_code.Z3_OK)
1952  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
1953  }
1954 
1955  public static void Z3_global_param_set(string a0, string a1) {
1956  LIB.Z3_global_param_set(a0, a1);
1957  }
1958 
1959  public static void Z3_global_param_reset_all() {
1961  }
1962 
1963  public static int Z3_global_param_get(string a0, out IntPtr a1) {
1964  int r = LIB.Z3_global_param_get(a0, out a1);
1965  return r;
1966  }
1967 
1968  public static Z3_config Z3_mk_config() {
1969  Z3_config r = LIB.Z3_mk_config();
1970  return r;
1971  }
1972 
1973  public static void Z3_del_config(Z3_config a0) {
1974  LIB.Z3_del_config(a0);
1975  }
1976 
1977  public static void Z3_set_param_value(Z3_config a0, string a1, string a2) {
1978  LIB.Z3_set_param_value(a0, a1, a2);
1979  }
1980 
1981  public static Z3_context Z3_mk_context(Z3_config a0) {
1982  Z3_context r = LIB.Z3_mk_context(a0);
1983  if (r == IntPtr.Zero)
1984  throw new Z3Exception("Object allocation failed.");
1985  return r;
1986  }
1987 
1990  if (r == IntPtr.Zero)
1991  throw new Z3Exception("Object allocation failed.");
1992  return r;
1993  }
1994 
1995  public static void Z3_del_context(Z3_context a0) {
1996  LIB.Z3_del_context(a0);
1997  }
1998 
1999  public static void Z3_inc_ref(Z3_context a0, Z3_ast a1) {
2000  LIB.Z3_inc_ref(a0, a1);
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 void Z3_dec_ref(Z3_context a0, Z3_ast a1) {
2007  LIB.Z3_dec_ref(a0, a1);
2009  if (err != Z3_error_code.Z3_OK)
2010  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2011  }
2012 
2013  public static void Z3_update_param_value(Z3_context a0, string a1, string a2) {
2014  LIB.Z3_update_param_value(a0, a1, a2);
2016  if (err != Z3_error_code.Z3_OK)
2017  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2018  }
2019 
2020  public static void Z3_interrupt(Z3_context a0) {
2021  LIB.Z3_interrupt(a0);
2023  if (err != Z3_error_code.Z3_OK)
2024  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2025  }
2026 
2027  public static Z3_params Z3_mk_params(Z3_context a0) {
2028  Z3_params r = LIB.Z3_mk_params(a0);
2030  if (err != Z3_error_code.Z3_OK)
2031  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2032  return r;
2033  }
2034 
2035  public static void Z3_params_inc_ref(Z3_context a0, Z3_params a1) {
2036  LIB.Z3_params_inc_ref(a0, a1);
2038  if (err != Z3_error_code.Z3_OK)
2039  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2040  }
2041 
2042  public static void Z3_params_dec_ref(Z3_context a0, Z3_params a1) {
2043  LIB.Z3_params_dec_ref(a0, a1);
2045  if (err != Z3_error_code.Z3_OK)
2046  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2047  }
2048 
2049  public static void Z3_params_set_bool(Z3_context a0, Z3_params a1, IntPtr a2, int a3) {
2050  LIB.Z3_params_set_bool(a0, a1, a2, a3);
2052  if (err != Z3_error_code.Z3_OK)
2053  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2054  }
2055 
2056  public static void Z3_params_set_uint(Z3_context a0, Z3_params a1, IntPtr a2, uint a3) {
2057  LIB.Z3_params_set_uint(a0, a1, a2, a3);
2059  if (err != Z3_error_code.Z3_OK)
2060  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2061  }
2062 
2063  public static void Z3_params_set_double(Z3_context a0, Z3_params a1, IntPtr a2, double a3) {
2064  LIB.Z3_params_set_double(a0, a1, a2, a3);
2066  if (err != Z3_error_code.Z3_OK)
2067  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2068  }
2069 
2070  public static void Z3_params_set_symbol(Z3_context a0, Z3_params a1, IntPtr a2, IntPtr a3) {
2071  LIB.Z3_params_set_symbol(a0, a1, a2, a3);
2073  if (err != Z3_error_code.Z3_OK)
2074  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2075  }
2076 
2077  public static string Z3_params_to_string(Z3_context a0, Z3_params a1) {
2078  IntPtr r = LIB.Z3_params_to_string(a0, a1);
2080  if (err != Z3_error_code.Z3_OK)
2081  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2082  return Marshal.PtrToStringAnsi(r);
2083  }
2084 
2085  public static void Z3_params_validate(Z3_context a0, Z3_params a1, Z3_param_descrs a2) {
2086  LIB.Z3_params_validate(a0, a1, a2);
2088  if (err != Z3_error_code.Z3_OK)
2089  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2090  }
2091 
2093  LIB.Z3_param_descrs_inc_ref(a0, a1);
2095  if (err != Z3_error_code.Z3_OK)
2096  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2097  }
2098 
2100  LIB.Z3_param_descrs_dec_ref(a0, a1);
2102  if (err != Z3_error_code.Z3_OK)
2103  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2104  }
2105 
2106  public static uint Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, IntPtr a2) {
2107  uint r = LIB.Z3_param_descrs_get_kind(a0, a1, a2);
2109  if (err != Z3_error_code.Z3_OK)
2110  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2111  return r;
2112  }
2113 
2114  public static uint Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1) {
2115  uint r = LIB.Z3_param_descrs_size(a0, a1);
2117  if (err != Z3_error_code.Z3_OK)
2118  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2119  return r;
2120  }
2121 
2122  public static IntPtr Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, uint a2) {
2123  IntPtr r = LIB.Z3_param_descrs_get_name(a0, a1, a2);
2125  if (err != Z3_error_code.Z3_OK)
2126  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2127  return r;
2128  }
2129 
2131  IntPtr r = LIB.Z3_param_descrs_to_string(a0, a1);
2133  if (err != Z3_error_code.Z3_OK)
2134  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2135  return Marshal.PtrToStringAnsi(r);
2136  }
2137 
2138  public static IntPtr Z3_mk_int_symbol(Z3_context a0, int a1) {
2139  IntPtr r = LIB.Z3_mk_int_symbol(a0, a1);
2141  if (err != Z3_error_code.Z3_OK)
2142  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2143  return r;
2144  }
2145 
2146  public static IntPtr Z3_mk_string_symbol(Z3_context a0, string a1) {
2147  IntPtr r = LIB.Z3_mk_string_symbol(a0, a1);
2149  if (err != Z3_error_code.Z3_OK)
2150  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2151  return r;
2152  }
2153 
2154  public static Z3_sort Z3_mk_uninterpreted_sort(Z3_context a0, IntPtr a1) {
2155  Z3_sort r = LIB.Z3_mk_uninterpreted_sort(a0, a1);
2157  if (err != Z3_error_code.Z3_OK)
2158  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2159  return r;
2160  }
2161 
2162  public static Z3_sort Z3_mk_bool_sort(Z3_context a0) {
2163  Z3_sort r = LIB.Z3_mk_bool_sort(a0);
2165  if (err != Z3_error_code.Z3_OK)
2166  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2167  return r;
2168  }
2169 
2170  public static Z3_sort Z3_mk_int_sort(Z3_context a0) {
2171  Z3_sort r = LIB.Z3_mk_int_sort(a0);
2173  if (err != Z3_error_code.Z3_OK)
2174  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2175  return r;
2176  }
2177 
2178  public static Z3_sort Z3_mk_real_sort(Z3_context a0) {
2179  Z3_sort r = LIB.Z3_mk_real_sort(a0);
2181  if (err != Z3_error_code.Z3_OK)
2182  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2183  return r;
2184  }
2185 
2186  public static Z3_sort Z3_mk_bv_sort(Z3_context a0, uint a1) {
2187  Z3_sort r = LIB.Z3_mk_bv_sort(a0, a1);
2189  if (err != Z3_error_code.Z3_OK)
2190  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2191  return r;
2192  }
2193 
2194  public static Z3_sort Z3_mk_finite_domain_sort(Z3_context a0, IntPtr a1, UInt64 a2) {
2195  Z3_sort r = LIB.Z3_mk_finite_domain_sort(a0, a1, a2);
2197  if (err != Z3_error_code.Z3_OK)
2198  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2199  return r;
2200  }
2201 
2202  public static Z3_sort Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2) {
2203  Z3_sort r = LIB.Z3_mk_array_sort(a0, a1, a2);
2205  if (err != Z3_error_code.Z3_OK)
2206  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2207  return r;
2208  }
2209 
2210  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) {
2211  Z3_sort r = LIB.Z3_mk_tuple_sort(a0, a1, a2, a3, a4, ref a5, a6);
2213  if (err != Z3_error_code.Z3_OK)
2214  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2215  return r;
2216  }
2217 
2218  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) {
2219  Z3_sort r = LIB.Z3_mk_enumeration_sort(a0, a1, a2, a3, a4, a5);
2221  if (err != Z3_error_code.Z3_OK)
2222  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2223  return r;
2224  }
2225 
2226  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) {
2227  Z3_sort r = LIB.Z3_mk_list_sort(a0, a1, a2, ref a3, ref a4, ref a5, ref a6, ref a7, ref a8);
2229  if (err != Z3_error_code.Z3_OK)
2230  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2231  return r;
2232  }
2233 
2234  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) {
2235  Z3_constructor r = LIB.Z3_mk_constructor(a0, a1, a2, a3, a4, a5, a6);
2237  if (err != Z3_error_code.Z3_OK)
2238  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2239  return r;
2240  }
2241 
2242  public static void Z3_del_constructor(Z3_context a0, Z3_constructor a1) {
2243  LIB.Z3_del_constructor(a0, a1);
2245  if (err != Z3_error_code.Z3_OK)
2246  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2247  }
2248 
2249  public static Z3_sort Z3_mk_datatype(Z3_context a0, IntPtr a1, uint a2, [In, Out] Z3_constructor[] a3) {
2250  Z3_sort r = LIB.Z3_mk_datatype(a0, a1, a2, a3);
2252  if (err != Z3_error_code.Z3_OK)
2253  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2254  return r;
2255  }
2256 
2260  if (err != Z3_error_code.Z3_OK)
2261  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2262  return r;
2263  }
2264 
2266  LIB.Z3_del_constructor_list(a0, a1);
2268  if (err != Z3_error_code.Z3_OK)
2269  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2270  }
2271 
2272  public static void Z3_mk_datatypes(Z3_context a0, uint a1, [In] IntPtr[] a2, [Out] Z3_sort[] a3, [In, Out] Z3_constructor_list[] a4) {
2273  LIB.Z3_mk_datatypes(a0, a1, a2, a3, a4);
2275  if (err != Z3_error_code.Z3_OK)
2276  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2277  }
2278 
2279  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) {
2280  LIB.Z3_query_constructor(a0, a1, a2, ref a3, ref a4, a5);
2282  if (err != Z3_error_code.Z3_OK)
2283  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
2284  }
2285 
2286  public static Z3_func_decl Z3_mk_func_decl(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4) {
2287  Z3_func_decl r = LIB.Z3_mk_func_decl(a0, a1, a2, a3, a4);
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_app(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3) {
2295  Z3_ast r = LIB.Z3_mk_app(a0, a1, a2, a3);
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_const(Z3_context a0, IntPtr a1, Z3_sort a2) {
2303  Z3_ast r = LIB.Z3_mk_const(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_func_decl Z3_mk_fresh_func_decl(Z3_context a0, string a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4) {
2311  Z3_func_decl r = LIB.Z3_mk_fresh_func_decl(a0, a1, a2, a3, a4);
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_fresh_const(Z3_context a0, string a1, Z3_sort a2) {
2319  Z3_ast r = LIB.Z3_mk_fresh_const(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_true(Z3_context a0) {
2327  Z3_ast r = LIB.Z3_mk_true(a0);
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_false(Z3_context a0) {
2335  Z3_ast r = LIB.Z3_mk_false(a0);
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_eq(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2343  Z3_ast r = LIB.Z3_mk_eq(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_distinct(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2351  Z3_ast r = LIB.Z3_mk_distinct(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_not(Z3_context a0, Z3_ast a1) {
2359  Z3_ast r = LIB.Z3_mk_not(a0, a1);
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_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) {
2367  Z3_ast r = LIB.Z3_mk_ite(a0, a1, a2, a3);
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_iff(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2375  Z3_ast r = LIB.Z3_mk_iff(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_implies(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2383  Z3_ast r = LIB.Z3_mk_implies(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_xor(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2391  Z3_ast r = LIB.Z3_mk_xor(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_and(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2399  Z3_ast r = LIB.Z3_mk_and(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_or(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2407  Z3_ast r = LIB.Z3_mk_or(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_add(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2415  Z3_ast r = LIB.Z3_mk_add(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_mul(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2423  Z3_ast r = LIB.Z3_mk_mul(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_sub(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2431  Z3_ast r = LIB.Z3_mk_sub(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_unary_minus(Z3_context a0, Z3_ast a1) {
2439  Z3_ast r = LIB.Z3_mk_unary_minus(a0, a1);
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_div(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2447  Z3_ast r = LIB.Z3_mk_div(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_mod(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2455  Z3_ast r = LIB.Z3_mk_mod(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_rem(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2463  Z3_ast r = LIB.Z3_mk_rem(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_power(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2471  Z3_ast r = LIB.Z3_mk_power(a0, a1, a2);
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_lt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2479  Z3_ast r = LIB.Z3_mk_lt(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_le(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2487  Z3_ast r = LIB.Z3_mk_le(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_gt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2495  Z3_ast r = LIB.Z3_mk_gt(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_ge(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2503  Z3_ast r = LIB.Z3_mk_ge(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_int2real(Z3_context a0, Z3_ast a1) {
2511  Z3_ast r = LIB.Z3_mk_int2real(a0, a1);
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_real2int(Z3_context a0, Z3_ast a1) {
2519  Z3_ast r = LIB.Z3_mk_real2int(a0, a1);
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_is_int(Z3_context a0, Z3_ast a1) {
2527  Z3_ast r = LIB.Z3_mk_is_int(a0, a1);
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_bvnot(Z3_context a0, Z3_ast a1) {
2535  Z3_ast r = LIB.Z3_mk_bvnot(a0, a1);
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 
2542  public static Z3_ast Z3_mk_bvredand(Z3_context a0, Z3_ast a1) {
2543  Z3_ast r = LIB.Z3_mk_bvredand(a0, a1);
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 
2550  public static Z3_ast Z3_mk_bvredor(Z3_context a0, Z3_ast a1) {
2551  Z3_ast r = LIB.Z3_mk_bvredor(a0, a1);
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_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2559  Z3_ast r = LIB.Z3_mk_bvand(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_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2567  Z3_ast r = LIB.Z3_mk_bvor(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_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2575  Z3_ast r = LIB.Z3_mk_bvxor(a0, a1, a2);
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 
2582  public static Z3_ast Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2583  Z3_ast r = LIB.Z3_mk_bvnand(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 
2590  public static Z3_ast Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2591  Z3_ast r = LIB.Z3_mk_bvnor(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_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2599  Z3_ast r = LIB.Z3_mk_bvxnor(a0, a1, a2);
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 
2606  public static Z3_ast Z3_mk_bvneg(Z3_context a0, Z3_ast a1) {
2607  Z3_ast r = LIB.Z3_mk_bvneg(a0, a1);
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 
2614  public static Z3_ast Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2615  Z3_ast r = LIB.Z3_mk_bvadd(a0, a1, a2);
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_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2623  Z3_ast r = LIB.Z3_mk_bvsub(a0, a1, a2);
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 
2630  public static Z3_ast Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2631  Z3_ast r = LIB.Z3_mk_bvmul(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_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2639  Z3_ast r = LIB.Z3_mk_bvudiv(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_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2647  Z3_ast r = LIB.Z3_mk_bvsdiv(a0, a1, a2);
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_bvurem(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2655  Z3_ast r = LIB.Z3_mk_bvurem(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_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2663  Z3_ast r = LIB.Z3_mk_bvsrem(a0, a1, a2);
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 
2670  public static Z3_ast Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2671  Z3_ast r = LIB.Z3_mk_bvsmod(a0, a1, a2);
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_ast Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2679  Z3_ast r = LIB.Z3_mk_bvult(a0, a1, a2);
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_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2687  Z3_ast r = LIB.Z3_mk_bvslt(a0, a1, a2);
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_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2695  Z3_ast r = LIB.Z3_mk_bvule(a0, a1, a2);
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_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2703  Z3_ast r = LIB.Z3_mk_bvsle(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_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2711  Z3_ast r = LIB.Z3_mk_bvuge(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_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2719  Z3_ast r = LIB.Z3_mk_bvsge(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_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2727  Z3_ast r = LIB.Z3_mk_bvugt(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 
2734  public static Z3_ast Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2735  Z3_ast r = LIB.Z3_mk_bvsgt(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 
2742  public static Z3_ast Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2743  Z3_ast r = LIB.Z3_mk_concat(a0, a1, a2);
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_extract(Z3_context a0, uint a1, uint a2, Z3_ast a3) {
2751  Z3_ast r = LIB.Z3_mk_extract(a0, a1, a2, a3);
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_sign_ext(Z3_context a0, uint a1, Z3_ast a2) {
2759  Z3_ast r = LIB.Z3_mk_sign_ext(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_zero_ext(Z3_context a0, uint a1, Z3_ast a2) {
2767  Z3_ast r = LIB.Z3_mk_zero_ext(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_repeat(Z3_context a0, uint a1, Z3_ast a2) {
2775  Z3_ast r = LIB.Z3_mk_repeat(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_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2783  Z3_ast r = LIB.Z3_mk_bvshl(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_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2791  Z3_ast r = LIB.Z3_mk_bvlshr(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_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2799  Z3_ast r = LIB.Z3_mk_bvashr(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_rotate_left(Z3_context a0, uint a1, Z3_ast a2) {
2807  Z3_ast r = LIB.Z3_mk_rotate_left(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_ast Z3_mk_rotate_right(Z3_context a0, uint a1, Z3_ast a2) {
2815  Z3_ast r = LIB.Z3_mk_rotate_right(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 
2823  Z3_ast r = LIB.Z3_mk_ext_rotate_left(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 
2831  Z3_ast r = LIB.Z3_mk_ext_rotate_right(a0, a1, a2);
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_int2bv(Z3_context a0, uint a1, Z3_ast a2) {
2839  Z3_ast r = LIB.Z3_mk_int2bv(a0, a1, a2);
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_bv2int(Z3_context a0, Z3_ast a1, int a2) {
2847  Z3_ast r = LIB.Z3_mk_bv2int(a0, a1, a2);
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_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3) {
2855  Z3_ast r = LIB.Z3_mk_bvadd_no_overflow(a0, a1, a2, a3);
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 
2863  Z3_ast r = LIB.Z3_mk_bvadd_no_underflow(a0, a1, a2);
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 
2871  Z3_ast r = LIB.Z3_mk_bvsub_no_overflow(a0, a1, a2);
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_bvsub_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3) {
2879  Z3_ast r = LIB.Z3_mk_bvsub_no_underflow(a0, a1, a2, a3);
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 
2887  Z3_ast r = LIB.Z3_mk_bvsdiv_no_overflow(a0, a1, a2);
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 
2895  Z3_ast r = LIB.Z3_mk_bvneg_no_overflow(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 Z3_ast Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3) {
2903  Z3_ast r = LIB.Z3_mk_bvmul_no_overflow(a0, a1, a2, a3);
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 
2911  Z3_ast r = LIB.Z3_mk_bvmul_no_underflow(a0, a1, a2);
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 r;
2916  }
2917 
2918  public static Z3_ast Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2919  Z3_ast r = LIB.Z3_mk_select(a0, a1, a2);
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 Z3_ast Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) {
2927  Z3_ast r = LIB.Z3_mk_store(a0, a1, a2, a3);
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_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2) {
2935  Z3_ast r = LIB.Z3_mk_const_array(a0, a1, a2);
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 Z3_ast Z3_mk_map(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3) {
2943  Z3_ast r = LIB.Z3_mk_map(a0, a1, a2, a3);
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 
2951  Z3_ast r = LIB.Z3_mk_array_default(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 Z3_sort Z3_mk_set_sort(Z3_context a0, Z3_sort a1) {
2959  Z3_sort r = LIB.Z3_mk_set_sort(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 Z3_ast Z3_mk_empty_set(Z3_context a0, Z3_sort a1) {
2967  Z3_ast r = LIB.Z3_mk_empty_set(a0, a1);
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 
2974  public static Z3_ast Z3_mk_full_set(Z3_context a0, Z3_sort a1) {
2975  Z3_ast r = LIB.Z3_mk_full_set(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 
2982  public static Z3_ast Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2983  Z3_ast r = LIB.Z3_mk_set_add(a0, a1, a2);
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 
2990  public static Z3_ast Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2) {
2991  Z3_ast r = LIB.Z3_mk_set_del(a0, a1, a2);
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 Z3_ast Z3_mk_set_union(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
2999  Z3_ast r = LIB.Z3_mk_set_union(a0, a1, a2);
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 
3006  public static Z3_ast Z3_mk_set_intersect(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
3007  Z3_ast r = LIB.Z3_mk_set_intersect(a0, a1, a2);
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  Z3_ast r = LIB.Z3_mk_set_difference(a0, a1, a2);
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 
3023  Z3_ast r = LIB.Z3_mk_set_complement(a0, a1);
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 
3030  public static Z3_ast Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2) {
3031  Z3_ast r = LIB.Z3_mk_set_member(a0, a1, a2);
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 
3038  public static Z3_ast Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2) {
3039  Z3_ast r = LIB.Z3_mk_set_subset(a0, a1, a2);
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 Z3_ast Z3_mk_numeral(Z3_context a0, string a1, Z3_sort a2) {
3047  Z3_ast r = LIB.Z3_mk_numeral(a0, a1, a2);
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_ast Z3_mk_real(Z3_context a0, int a1, int a2) {
3055  Z3_ast r = LIB.Z3_mk_real(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 
3062  public static Z3_ast Z3_mk_int(Z3_context a0, int a1, Z3_sort a2) {
3063  Z3_ast r = LIB.Z3_mk_int(a0, a1, a2);
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 Z3_ast Z3_mk_unsigned_int(Z3_context a0, uint a1, Z3_sort a2) {
3071  Z3_ast r = LIB.Z3_mk_unsigned_int(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 Z3_ast Z3_mk_int64(Z3_context a0, Int64 a1, Z3_sort a2) {
3079  Z3_ast r = LIB.Z3_mk_int64(a0, a1, a2);
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 Z3_ast Z3_mk_unsigned_int64(Z3_context a0, UInt64 a1, Z3_sort a2) {
3087  Z3_ast r = LIB.Z3_mk_unsigned_int64(a0, a1, a2);
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 Z3_pattern Z3_mk_pattern(Z3_context a0, uint a1, [In] Z3_ast[] a2) {
3095  Z3_pattern r = LIB.Z3_mk_pattern(a0, a1, a2);
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 Z3_ast Z3_mk_bound(Z3_context a0, uint a1, Z3_sort a2) {
3103  Z3_ast r = LIB.Z3_mk_bound(a0, a1, a2);
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 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) {
3111  Z3_ast r = LIB.Z3_mk_forall(a0, a1, a2, a3, a4, a5, a6, a7);
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_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) {
3119  Z3_ast r = LIB.Z3_mk_exists(a0, a1, a2, a3, a4, a5, a6, a7);
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 
3126  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) {
3127  Z3_ast r = LIB.Z3_mk_quantifier(a0, a1, a2, a3, a4, a5, a6, a7, a8);
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 
3134  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) {
3135  Z3_ast r = LIB.Z3_mk_quantifier_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
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 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) {
3143  Z3_ast r = LIB.Z3_mk_forall_const(a0, a1, a2, a3, a4, a5, a6);
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 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) {
3151  Z3_ast r = LIB.Z3_mk_exists_const(a0, a1, a2, a3, a4, a5, a6);
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 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) {
3159  Z3_ast r = LIB.Z3_mk_quantifier_const(a0, a1, a2, a3, a4, a5, a6, a7);
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 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) {
3167  Z3_ast r = LIB.Z3_mk_quantifier_const_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
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 
3174  public static uint Z3_get_symbol_kind(Z3_context a0, IntPtr a1) {
3175  uint r = LIB.Z3_get_symbol_kind(a0, a1);
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 int Z3_get_symbol_int(Z3_context a0, IntPtr a1) {
3183  int r = LIB.Z3_get_symbol_int(a0, a1);
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 
3190  public static string Z3_get_symbol_string(Z3_context a0, IntPtr a1) {
3191  IntPtr r = LIB.Z3_get_symbol_string(a0, a1);
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 Marshal.PtrToStringAnsi(r);
3196  }
3197 
3198  public static IntPtr Z3_get_sort_name(Z3_context a0, Z3_sort a1) {
3199  IntPtr r = LIB.Z3_get_sort_name(a0, a1);
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 r;
3204  }
3205 
3206  public static uint Z3_get_sort_id(Z3_context a0, Z3_sort a1) {
3207  uint r = LIB.Z3_get_sort_id(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 
3214  public static Z3_ast Z3_sort_to_ast(Z3_context a0, Z3_sort a1) {
3215  Z3_ast r = LIB.Z3_sort_to_ast(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 int Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2) {
3223  int r = LIB.Z3_is_eq_sort(a0, a1, a2);
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 uint Z3_get_sort_kind(Z3_context a0, Z3_sort a1) {
3231  uint r = LIB.Z3_get_sort_kind(a0, a1);
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 uint Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1) {
3239  uint r = LIB.Z3_get_bv_sort_size(a0, a1);
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 int Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, [In, Out] ref UInt64 a2) {
3247  int r = LIB.Z3_get_finite_domain_sort_size(a0, a1, ref a2);
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 
3255  Z3_sort r = LIB.Z3_get_array_sort_domain(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 
3263  Z3_sort r = LIB.Z3_get_array_sort_range(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 
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_tuple_sort_num_fields(Z3_context a0, Z3_sort a1) {
3279  uint r = LIB.Z3_get_tuple_sort_num_fields(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 
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 
3295  uint r = LIB.Z3_get_datatype_sort_num_constructors(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 
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 
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 
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_ast r = LIB.Z3_datatype_update_field(a0, a1, a2, a3);
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 uint Z3_get_relation_arity(Z3_context a0, Z3_sort a1) {
3335  uint r = LIB.Z3_get_relation_arity(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 r;
3340  }
3341 
3342  public static Z3_sort Z3_get_relation_column(Z3_context a0, Z3_sort a1, uint a2) {
3343  Z3_sort r = LIB.Z3_get_relation_column(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 r;
3348  }
3349 
3350  public static Z3_ast Z3_mk_atmost(Z3_context a0, uint a1, [In] Z3_ast[] a2, uint a3) {
3351  Z3_ast r = LIB.Z3_mk_atmost(a0, a1, a2, a3);
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_mk_pble(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In] int[] a3, int a4) {
3359  Z3_ast r = LIB.Z3_mk_pble(a0, a1, a2, a3, a4);
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 
3367  Z3_ast r = LIB.Z3_func_decl_to_ast(a0, a1);
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_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2) {
3375  int r = LIB.Z3_is_eq_func_decl(a0, a1, 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 uint Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1) {
3383  uint r = LIB.Z3_get_func_decl_id(a0, a1);
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 IntPtr Z3_get_decl_name(Z3_context a0, Z3_func_decl a1) {
3391  IntPtr r = LIB.Z3_get_decl_name(a0, a1);
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 uint Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1) {
3399  uint r = LIB.Z3_get_decl_kind(a0, a1);
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 uint Z3_get_domain_size(Z3_context a0, Z3_func_decl a1) {
3407  uint r = LIB.Z3_get_domain_size(a0, a1);
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 uint Z3_get_arity(Z3_context a0, Z3_func_decl a1) {
3415  uint r = LIB.Z3_get_arity(a0, a1);
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_sort Z3_get_domain(Z3_context a0, Z3_func_decl a1, uint a2) {
3423  Z3_sort r = LIB.Z3_get_domain(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_sort r = LIB.Z3_get_range(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 
3439  uint r = LIB.Z3_get_decl_num_parameters(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 uint Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, uint a2) {
3447  uint r = LIB.Z3_get_decl_parameter_kind(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 int Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, uint a2) {
3455  int r = LIB.Z3_get_decl_int_parameter(a0, a1, a2);
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 double Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, uint a2) {
3463  double r = LIB.Z3_get_decl_double_parameter(a0, a1, a2);
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 IntPtr Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, uint a2) {
3471  IntPtr r = LIB.Z3_get_decl_symbol_parameter(a0, a1, a2);
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 
3479  Z3_sort r = LIB.Z3_get_decl_sort_parameter(a0, a1, a2);
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 
3486  public static Z3_ast Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, uint a2) {
3487  Z3_ast r = LIB.Z3_get_decl_ast_parameter(a0, a1, a2);
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 
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 
3502  public static string Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, uint a2) {
3503  IntPtr r = LIB.Z3_get_decl_rational_parameter(a0, a1, a2);
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 Marshal.PtrToStringAnsi(r);
3508  }
3509 
3510  public static Z3_ast Z3_app_to_ast(Z3_context a0, Z3_app a1) {
3511  Z3_ast r = LIB.Z3_app_to_ast(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 
3519  Z3_func_decl r = LIB.Z3_get_app_decl(a0, a1);
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 uint Z3_get_app_num_args(Z3_context a0, Z3_app a1) {
3527  uint r = LIB.Z3_get_app_num_args(a0, a1);
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 
3534  public static Z3_ast Z3_get_app_arg(Z3_context a0, Z3_app a1, uint a2) {
3535  Z3_ast r = LIB.Z3_get_app_arg(a0, a1, a2);
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 int Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2) {
3543  int r = LIB.Z3_is_eq_ast(a0, a1, a2);
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 uint Z3_get_ast_id(Z3_context a0, Z3_ast a1) {
3551  uint r = LIB.Z3_get_ast_id(a0, a1);
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 uint Z3_get_ast_hash(Z3_context a0, Z3_ast a1) {
3559  uint r = LIB.Z3_get_ast_hash(a0, a1);
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 r;
3564  }
3565 
3566  public static Z3_sort Z3_get_sort(Z3_context a0, Z3_ast a1) {
3567  Z3_sort r = LIB.Z3_get_sort(a0, a1);
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 int Z3_is_well_sorted(Z3_context a0, Z3_ast a1) {
3575  int r = LIB.Z3_is_well_sorted(a0, a1);
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 uint Z3_get_bool_value(Z3_context a0, Z3_ast a1) {
3583  uint r = LIB.Z3_get_bool_value(a0, a1);
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 uint Z3_get_ast_kind(Z3_context a0, Z3_ast a1) {
3591  uint r = LIB.Z3_get_ast_kind(a0, a1);
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 int Z3_is_app(Z3_context a0, Z3_ast a1) {
3599  int r = LIB.Z3_is_app(a0, a1);
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 int Z3_is_numeral_ast(Z3_context a0, Z3_ast a1) {
3607  int r = LIB.Z3_is_numeral_ast(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  return r;
3612  }
3613 
3614  public static int Z3_is_algebraic_number(Z3_context a0, Z3_ast a1) {
3615  int r = LIB.Z3_is_algebraic_number(a0, a1);
3617  if (err != Z3_error_code.Z3_OK)
3618  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3619  return r;
3620  }
3621 
3622  public static Z3_app Z3_to_app(Z3_context a0, Z3_ast a1) {
3623  Z3_app r = LIB.Z3_to_app(a0, a1);
3625  if (err != Z3_error_code.Z3_OK)
3626  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3627  return r;
3628  }
3629 
3631  Z3_func_decl r = LIB.Z3_to_func_decl(a0, a1);
3633  if (err != Z3_error_code.Z3_OK)
3634  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3635  return r;
3636  }
3637 
3638  public static string Z3_get_numeral_string(Z3_context a0, Z3_ast a1) {
3639  IntPtr r = LIB.Z3_get_numeral_string(a0, a1);
3641  if (err != Z3_error_code.Z3_OK)
3642  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3643  return Marshal.PtrToStringAnsi(r);
3644  }
3645 
3646  public static string Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, uint a2) {
3647  IntPtr r = LIB.Z3_get_numeral_decimal_string(a0, a1, a2);
3649  if (err != Z3_error_code.Z3_OK)
3650  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3651  return Marshal.PtrToStringAnsi(r);
3652  }
3653 
3654  public static Z3_ast Z3_get_numerator(Z3_context a0, Z3_ast a1) {
3655  Z3_ast r = LIB.Z3_get_numerator(a0, a1);
3657  if (err != Z3_error_code.Z3_OK)
3658  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3659  return r;
3660  }
3661 
3662  public static Z3_ast Z3_get_denominator(Z3_context a0, Z3_ast a1) {
3663  Z3_ast r = LIB.Z3_get_denominator(a0, a1);
3665  if (err != Z3_error_code.Z3_OK)
3666  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3667  return r;
3668  }
3669 
3670  public static int Z3_get_numeral_small(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3) {
3671  int r = LIB.Z3_get_numeral_small(a0, a1, ref a2, ref a3);
3673  if (err != Z3_error_code.Z3_OK)
3674  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3675  return r;
3676  }
3677 
3678  public static int Z3_get_numeral_int(Z3_context a0, Z3_ast a1, [In, Out] ref int a2) {
3679  int r = LIB.Z3_get_numeral_int(a0, a1, ref a2);
3681  if (err != Z3_error_code.Z3_OK)
3682  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3683  return r;
3684  }
3685 
3686  public static int Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, [In, Out] ref uint a2) {
3687  int r = LIB.Z3_get_numeral_uint(a0, a1, ref a2);
3689  if (err != Z3_error_code.Z3_OK)
3690  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3691  return r;
3692  }
3693 
3694  public static int Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2) {
3695  int r = LIB.Z3_get_numeral_uint64(a0, a1, ref a2);
3697  if (err != Z3_error_code.Z3_OK)
3698  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3699  return r;
3700  }
3701 
3702  public static int Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2) {
3703  int r = LIB.Z3_get_numeral_int64(a0, a1, ref a2);
3705  if (err != Z3_error_code.Z3_OK)
3706  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3707  return r;
3708  }
3709 
3710  public static int Z3_get_numeral_rational_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3) {
3711  int r = LIB.Z3_get_numeral_rational_int64(a0, a1, ref a2, ref a3);
3713  if (err != Z3_error_code.Z3_OK)
3714  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3715  return r;
3716  }
3717 
3718  public static Z3_ast Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, uint a2) {
3719  Z3_ast r = LIB.Z3_get_algebraic_number_lower(a0, a1, a2);
3721  if (err != Z3_error_code.Z3_OK)
3722  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3723  return r;
3724  }
3725 
3726  public static Z3_ast Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, uint a2) {
3727  Z3_ast r = LIB.Z3_get_algebraic_number_upper(a0, a1, a2);
3729  if (err != Z3_error_code.Z3_OK)
3730  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3731  return r;
3732  }
3733 
3735  Z3_ast r = LIB.Z3_pattern_to_ast(a0, a1);
3737  if (err != Z3_error_code.Z3_OK)
3738  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3739  return r;
3740  }
3741 
3742  public static uint Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1) {
3743  uint r = LIB.Z3_get_pattern_num_terms(a0, a1);
3745  if (err != Z3_error_code.Z3_OK)
3746  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3747  return r;
3748  }
3749 
3750  public static Z3_ast Z3_get_pattern(Z3_context a0, Z3_pattern a1, uint a2) {
3751  Z3_ast r = LIB.Z3_get_pattern(a0, a1, a2);
3753  if (err != Z3_error_code.Z3_OK)
3754  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3755  return r;
3756  }
3757 
3758  public static uint Z3_get_index_value(Z3_context a0, Z3_ast a1) {
3759  uint r = LIB.Z3_get_index_value(a0, a1);
3761  if (err != Z3_error_code.Z3_OK)
3762  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3763  return r;
3764  }
3765 
3766  public static int Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1) {
3767  int r = LIB.Z3_is_quantifier_forall(a0, a1);
3769  if (err != Z3_error_code.Z3_OK)
3770  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3771  return r;
3772  }
3773 
3774  public static uint Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1) {
3775  uint r = LIB.Z3_get_quantifier_weight(a0, a1);
3777  if (err != Z3_error_code.Z3_OK)
3778  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3779  return r;
3780  }
3781 
3782  public static uint Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1) {
3783  uint r = LIB.Z3_get_quantifier_num_patterns(a0, a1);
3785  if (err != Z3_error_code.Z3_OK)
3786  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3787  return r;
3788  }
3789 
3793  if (err != Z3_error_code.Z3_OK)
3794  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3795  return r;
3796  }
3797 
3799  uint r = LIB.Z3_get_quantifier_num_no_patterns(a0, a1);
3801  if (err != Z3_error_code.Z3_OK)
3802  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3803  return r;
3804  }
3805 
3809  if (err != Z3_error_code.Z3_OK)
3810  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3811  return r;
3812  }
3813 
3814  public static uint Z3_get_quantifier_num_bound(Z3_context a0, Z3_ast a1) {
3815  uint r = LIB.Z3_get_quantifier_num_bound(a0, a1);
3817  if (err != Z3_error_code.Z3_OK)
3818  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3819  return r;
3820  }
3821 
3822  public static IntPtr Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, uint a2) {
3823  IntPtr r = LIB.Z3_get_quantifier_bound_name(a0, a1, a2);
3825  if (err != Z3_error_code.Z3_OK)
3826  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3827  return r;
3828  }
3829 
3830  public static Z3_sort Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, uint a2) {
3831  Z3_sort r = LIB.Z3_get_quantifier_bound_sort(a0, a1, a2);
3833  if (err != Z3_error_code.Z3_OK)
3834  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3835  return r;
3836  }
3837 
3839  Z3_ast r = LIB.Z3_get_quantifier_body(a0, a1);
3841  if (err != Z3_error_code.Z3_OK)
3842  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3843  return r;
3844  }
3845 
3846  public static Z3_ast Z3_simplify(Z3_context a0, Z3_ast a1) {
3847  Z3_ast r = LIB.Z3_simplify(a0, a1);
3849  if (err != Z3_error_code.Z3_OK)
3850  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3851  return r;
3852  }
3853 
3854  public static Z3_ast Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2) {
3855  Z3_ast r = LIB.Z3_simplify_ex(a0, a1, a2);
3857  if (err != Z3_error_code.Z3_OK)
3858  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3859  return r;
3860  }
3861 
3862  public static string Z3_simplify_get_help(Z3_context a0) {
3863  IntPtr r = LIB.Z3_simplify_get_help(a0);
3865  if (err != Z3_error_code.Z3_OK)
3866  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3867  return Marshal.PtrToStringAnsi(r);
3868  }
3869 
3873  if (err != Z3_error_code.Z3_OK)
3874  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3875  return r;
3876  }
3877 
3878  public static Z3_ast Z3_update_term(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3) {
3879  Z3_ast r = LIB.Z3_update_term(a0, a1, a2, a3);
3881  if (err != Z3_error_code.Z3_OK)
3882  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3883  return r;
3884  }
3885 
3886  public static Z3_ast Z3_substitute(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3, [In] Z3_ast[] a4) {
3887  Z3_ast r = LIB.Z3_substitute(a0, a1, a2, a3, a4);
3889  if (err != Z3_error_code.Z3_OK)
3890  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3891  return r;
3892  }
3893 
3894  public static Z3_ast Z3_substitute_vars(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3) {
3895  Z3_ast r = LIB.Z3_substitute_vars(a0, a1, a2, a3);
3897  if (err != Z3_error_code.Z3_OK)
3898  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3899  return r;
3900  }
3901 
3902  public static Z3_ast Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2) {
3903  Z3_ast r = LIB.Z3_translate(a0, a1, a2);
3905  if (err != Z3_error_code.Z3_OK)
3906  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3907  return r;
3908  }
3909 
3910  public static void Z3_model_inc_ref(Z3_context a0, Z3_model a1) {
3911  LIB.Z3_model_inc_ref(a0, a1);
3913  if (err != Z3_error_code.Z3_OK)
3914  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3915  }
3916 
3917  public static void Z3_model_dec_ref(Z3_context a0, Z3_model a1) {
3918  LIB.Z3_model_dec_ref(a0, a1);
3920  if (err != Z3_error_code.Z3_OK)
3921  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3922  }
3923 
3924  public static int Z3_model_eval(Z3_context a0, Z3_model a1, Z3_ast a2, int a3, [In, Out] ref Z3_ast a4) {
3925  int r = LIB.Z3_model_eval(a0, a1, a2, a3, ref a4);
3927  if (err != Z3_error_code.Z3_OK)
3928  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3929  return r;
3930  }
3931 
3933  Z3_ast r = LIB.Z3_model_get_const_interp(a0, a1, a2);
3935  if (err != Z3_error_code.Z3_OK)
3936  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3937  return r;
3938  }
3939 
3940  public static int Z3_model_has_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2) {
3941  int r = LIB.Z3_model_has_interp(a0, a1, a2);
3943  if (err != Z3_error_code.Z3_OK)
3944  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3945  return r;
3946  }
3947 
3951  if (err != Z3_error_code.Z3_OK)
3952  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3953  return r;
3954  }
3955 
3956  public static uint Z3_model_get_num_consts(Z3_context a0, Z3_model a1) {
3957  uint r = LIB.Z3_model_get_num_consts(a0, a1);
3959  if (err != Z3_error_code.Z3_OK)
3960  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3961  return r;
3962  }
3963 
3964  public static Z3_func_decl Z3_model_get_const_decl(Z3_context a0, Z3_model a1, uint a2) {
3965  Z3_func_decl r = LIB.Z3_model_get_const_decl(a0, a1, a2);
3967  if (err != Z3_error_code.Z3_OK)
3968  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3969  return r;
3970  }
3971 
3972  public static uint Z3_model_get_num_funcs(Z3_context a0, Z3_model a1) {
3973  uint r = LIB.Z3_model_get_num_funcs(a0, a1);
3975  if (err != Z3_error_code.Z3_OK)
3976  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3977  return r;
3978  }
3979 
3980  public static Z3_func_decl Z3_model_get_func_decl(Z3_context a0, Z3_model a1, uint a2) {
3981  Z3_func_decl r = LIB.Z3_model_get_func_decl(a0, a1, a2);
3983  if (err != Z3_error_code.Z3_OK)
3984  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3985  return r;
3986  }
3987 
3988  public static uint Z3_model_get_num_sorts(Z3_context a0, Z3_model a1) {
3989  uint r = LIB.Z3_model_get_num_sorts(a0, a1);
3991  if (err != Z3_error_code.Z3_OK)
3992  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
3993  return r;
3994  }
3995 
3996  public static Z3_sort Z3_model_get_sort(Z3_context a0, Z3_model a1, uint a2) {
3997  Z3_sort r = LIB.Z3_model_get_sort(a0, a1, a2);
3999  if (err != Z3_error_code.Z3_OK)
4000  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4001  return r;
4002  }
4003 
4007  if (err != Z3_error_code.Z3_OK)
4008  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4009  return r;
4010  }
4011 
4012  public static int Z3_is_as_array(Z3_context a0, Z3_ast a1) {
4013  int r = LIB.Z3_is_as_array(a0, a1);
4015  if (err != Z3_error_code.Z3_OK)
4016  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4017  return r;
4018  }
4019 
4023  if (err != Z3_error_code.Z3_OK)
4024  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4025  return r;
4026  }
4027 
4028  public static void Z3_func_interp_inc_ref(Z3_context a0, Z3_func_interp a1) {
4029  LIB.Z3_func_interp_inc_ref(a0, a1);
4031  if (err != Z3_error_code.Z3_OK)
4032  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4033  }
4034 
4035  public static void Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1) {
4036  LIB.Z3_func_interp_dec_ref(a0, a1);
4038  if (err != Z3_error_code.Z3_OK)
4039  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4040  }
4041 
4043  uint r = LIB.Z3_func_interp_get_num_entries(a0, a1);
4045  if (err != Z3_error_code.Z3_OK)
4046  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4047  return r;
4048  }
4049 
4051  Z3_func_entry r = LIB.Z3_func_interp_get_entry(a0, a1, a2);
4053  if (err != Z3_error_code.Z3_OK)
4054  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4055  return r;
4056  }
4057 
4059  Z3_ast r = LIB.Z3_func_interp_get_else(a0, a1);
4061  if (err != Z3_error_code.Z3_OK)
4062  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4063  return r;
4064  }
4065 
4067  uint r = LIB.Z3_func_interp_get_arity(a0, a1);
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 void Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1) {
4075  LIB.Z3_func_entry_inc_ref(a0, a1);
4077  if (err != Z3_error_code.Z3_OK)
4078  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4079  }
4080 
4081  public static void Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1) {
4082  LIB.Z3_func_entry_dec_ref(a0, a1);
4084  if (err != Z3_error_code.Z3_OK)
4085  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4086  }
4087 
4089  Z3_ast r = LIB.Z3_func_entry_get_value(a0, a1);
4091  if (err != Z3_error_code.Z3_OK)
4092  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4093  return r;
4094  }
4095 
4097  uint r = LIB.Z3_func_entry_get_num_args(a0, a1);
4099  if (err != Z3_error_code.Z3_OK)
4100  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4101  return r;
4102  }
4103 
4104  public static Z3_ast Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, uint a2) {
4105  Z3_ast r = LIB.Z3_func_entry_get_arg(a0, a1, a2);
4107  if (err != Z3_error_code.Z3_OK)
4108  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4109  return r;
4110  }
4111 
4112  public static int Z3_open_log(string a0) {
4113  int r = LIB.Z3_open_log(a0);
4114  return r;
4115  }
4116 
4117  public static void Z3_append_log(string a0) {
4118  LIB.Z3_append_log(a0);
4119  }
4120 
4121  public static void Z3_close_log() {
4122  LIB.Z3_close_log();
4123  }
4124 
4125  public static void Z3_toggle_warning_messages(int a0) {
4127  }
4128 
4129  public static void Z3_set_ast_print_mode(Z3_context a0, uint a1) {
4130  LIB.Z3_set_ast_print_mode(a0, a1);
4132  if (err != Z3_error_code.Z3_OK)
4133  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4134  }
4135 
4136  public static string Z3_ast_to_string(Z3_context a0, Z3_ast a1) {
4137  IntPtr r = LIB.Z3_ast_to_string(a0, a1);
4139  if (err != Z3_error_code.Z3_OK)
4140  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4141  return Marshal.PtrToStringAnsi(r);
4142  }
4143 
4144  public static string Z3_pattern_to_string(Z3_context a0, Z3_pattern a1) {
4145  IntPtr r = LIB.Z3_pattern_to_string(a0, a1);
4147  if (err != Z3_error_code.Z3_OK)
4148  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4149  return Marshal.PtrToStringAnsi(r);
4150  }
4151 
4152  public static string Z3_sort_to_string(Z3_context a0, Z3_sort a1) {
4153  IntPtr r = LIB.Z3_sort_to_string(a0, a1);
4155  if (err != Z3_error_code.Z3_OK)
4156  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4157  return Marshal.PtrToStringAnsi(r);
4158  }
4159 
4160  public static string Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1) {
4161  IntPtr r = LIB.Z3_func_decl_to_string(a0, a1);
4163  if (err != Z3_error_code.Z3_OK)
4164  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4165  return Marshal.PtrToStringAnsi(r);
4166  }
4167 
4168  public static string Z3_model_to_string(Z3_context a0, Z3_model a1) {
4169  IntPtr r = LIB.Z3_model_to_string(a0, a1);
4171  if (err != Z3_error_code.Z3_OK)
4172  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4173  return Marshal.PtrToStringAnsi(r);
4174  }
4175 
4176  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) {
4177  IntPtr r = LIB.Z3_benchmark_to_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7);
4179  if (err != Z3_error_code.Z3_OK)
4180  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4181  return Marshal.PtrToStringAnsi(r);
4182  }
4183 
4184  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) {
4185  Z3_ast r = LIB.Z3_parse_smtlib2_string(a0, a1, a2, a3, a4, a5, a6, a7);
4187  if (err != Z3_error_code.Z3_OK)
4188  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4189  return r;
4190  }
4191 
4192  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) {
4193  Z3_ast r = LIB.Z3_parse_smtlib2_file(a0, a1, a2, a3, a4, a5, a6, a7);
4195  if (err != Z3_error_code.Z3_OK)
4196  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4197  return r;
4198  }
4199 
4200  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) {
4201  LIB.Z3_parse_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7);
4203  if (err != Z3_error_code.Z3_OK)
4204  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4205  }
4206 
4207  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) {
4208  LIB.Z3_parse_smtlib_file(a0, a1, a2, a3, a4, a5, a6, a7);
4210  if (err != Z3_error_code.Z3_OK)
4211  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4212  }
4213 
4214  public static uint Z3_get_smtlib_num_formulas(Z3_context a0) {
4215  uint r = LIB.Z3_get_smtlib_num_formulas(a0);
4217  if (err != Z3_error_code.Z3_OK)
4218  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4219  return r;
4220  }
4221 
4222  public static Z3_ast Z3_get_smtlib_formula(Z3_context a0, uint a1) {
4223  Z3_ast r = LIB.Z3_get_smtlib_formula(a0, a1);
4225  if (err != Z3_error_code.Z3_OK)
4226  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4227  return r;
4228  }
4229 
4231  uint r = LIB.Z3_get_smtlib_num_assumptions(a0);
4233  if (err != Z3_error_code.Z3_OK)
4234  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4235  return r;
4236  }
4237 
4238  public static Z3_ast Z3_get_smtlib_assumption(Z3_context a0, uint a1) {
4239  Z3_ast r = LIB.Z3_get_smtlib_assumption(a0, a1);
4241  if (err != Z3_error_code.Z3_OK)
4242  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4243  return r;
4244  }
4245 
4246  public static uint Z3_get_smtlib_num_decls(Z3_context a0) {
4247  uint r = LIB.Z3_get_smtlib_num_decls(a0);
4249  if (err != Z3_error_code.Z3_OK)
4250  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4251  return r;
4252  }
4253 
4254  public static Z3_func_decl Z3_get_smtlib_decl(Z3_context a0, uint a1) {
4255  Z3_func_decl r = LIB.Z3_get_smtlib_decl(a0, a1);
4257  if (err != Z3_error_code.Z3_OK)
4258  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4259  return r;
4260  }
4261 
4262  public static uint Z3_get_smtlib_num_sorts(Z3_context a0) {
4263  uint r = LIB.Z3_get_smtlib_num_sorts(a0);
4265  if (err != Z3_error_code.Z3_OK)
4266  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4267  return r;
4268  }
4269 
4270  public static Z3_sort Z3_get_smtlib_sort(Z3_context a0, uint a1) {
4271  Z3_sort r = LIB.Z3_get_smtlib_sort(a0, a1);
4273  if (err != Z3_error_code.Z3_OK)
4274  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4275  return r;
4276  }
4277 
4278  public static string Z3_get_smtlib_error(Z3_context a0) {
4279  IntPtr r = LIB.Z3_get_smtlib_error(a0);
4281  if (err != Z3_error_code.Z3_OK)
4282  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4283  return Marshal.PtrToStringAnsi(r);
4284  }
4285 
4286  public static uint Z3_get_error_code(Z3_context a0) {
4287  uint r = LIB.Z3_get_error_code(a0);
4288  return r;
4289  }
4290 
4291  public static void Z3_set_error(Z3_context a0, uint a1) {
4292  LIB.Z3_set_error(a0, a1);
4294  if (err != Z3_error_code.Z3_OK)
4295  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4296  }
4297 
4298  public static string Z3_get_error_msg(uint a0) {
4299  IntPtr r = LIB.Z3_get_error_msg(a0);
4300  return Marshal.PtrToStringAnsi(r);
4301  }
4302 
4303  public static string Z3_get_error_msg_ex(Z3_context a0, uint a1) {
4304  IntPtr r = LIB.Z3_get_error_msg_ex(a0, a1);
4306  if (err != Z3_error_code.Z3_OK)
4307  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4308  return Marshal.PtrToStringAnsi(r);
4309  }
4310 
4311  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) {
4312  LIB.Z3_get_version(ref a0, ref a1, ref a2, ref a3);
4313  }
4314 
4315  public static void Z3_enable_trace(string a0) {
4316  LIB.Z3_enable_trace(a0);
4317  }
4318 
4319  public static void Z3_disable_trace(string a0) {
4320  LIB.Z3_disable_trace(a0);
4321  }
4322 
4323  public static void Z3_reset_memory() {
4324  LIB.Z3_reset_memory();
4325  }
4326 
4327  public static void Z3_finalize_memory() {
4329  }
4330 
4334  if (err != Z3_error_code.Z3_OK)
4335  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4336  return r;
4337  }
4338 
4339  public static void Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1) {
4340  LIB.Z3_fixedpoint_inc_ref(a0, a1);
4342  if (err != Z3_error_code.Z3_OK)
4343  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4344  }
4345 
4346  public static void Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1) {
4347  LIB.Z3_fixedpoint_dec_ref(a0, a1);
4349  if (err != Z3_error_code.Z3_OK)
4350  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4351  }
4352 
4353  public static void Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3) {
4354  LIB.Z3_fixedpoint_add_rule(a0, a1, a2, a3);
4356  if (err != Z3_error_code.Z3_OK)
4357  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4358  }
4359 
4360  public static void Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] uint[] a4) {
4361  LIB.Z3_fixedpoint_add_fact(a0, a1, a2, a3, a4);
4363  if (err != Z3_error_code.Z3_OK)
4364  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4365  }
4366 
4367  public static void Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2) {
4368  LIB.Z3_fixedpoint_assert(a0, a1, a2);
4370  if (err != Z3_error_code.Z3_OK)
4371  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4372  }
4373 
4374  public static int Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2) {
4375  int r = LIB.Z3_fixedpoint_query(a0, a1, a2);
4377  if (err != Z3_error_code.Z3_OK)
4378  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4379  return r;
4380  }
4381 
4382  public static int Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_func_decl[] a3) {
4383  int r = LIB.Z3_fixedpoint_query_relations(a0, a1, a2, a3);
4385  if (err != Z3_error_code.Z3_OK)
4386  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4387  return r;
4388  }
4389 
4391  Z3_ast r = LIB.Z3_fixedpoint_get_answer(a0, a1);
4393  if (err != Z3_error_code.Z3_OK)
4394  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4395  return r;
4396  }
4397 
4399  IntPtr r = LIB.Z3_fixedpoint_get_reason_unknown(a0, a1);
4401  if (err != Z3_error_code.Z3_OK)
4402  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4403  return Marshal.PtrToStringAnsi(r);
4404  }
4405 
4406  public static void Z3_fixedpoint_update_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3) {
4407  LIB.Z3_fixedpoint_update_rule(a0, a1, a2, a3);
4409  if (err != Z3_error_code.Z3_OK)
4410  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4411  }
4412 
4414  uint r = LIB.Z3_fixedpoint_get_num_levels(a0, a1, a2);
4416  if (err != Z3_error_code.Z3_OK)
4417  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4418  return r;
4419  }
4420 
4422  Z3_ast r = LIB.Z3_fixedpoint_get_cover_delta(a0, a1, a2, a3);
4424  if (err != Z3_error_code.Z3_OK)
4425  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4426  return r;
4427  }
4428 
4429  public static void Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4) {
4430  LIB.Z3_fixedpoint_add_cover(a0, a1, a2, a3, a4);
4432  if (err != Z3_error_code.Z3_OK)
4433  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4434  }
4435 
4439  if (err != Z3_error_code.Z3_OK)
4440  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4441  return r;
4442  }
4443 
4447  if (err != Z3_error_code.Z3_OK)
4448  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4449  }
4450 
4451  public static void Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] IntPtr[] a4) {
4452  LIB.Z3_fixedpoint_set_predicate_representation(a0, a1, a2, a3, a4);
4454  if (err != Z3_error_code.Z3_OK)
4455  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4456  }
4457 
4461  if (err != Z3_error_code.Z3_OK)
4462  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4463  return r;
4464  }
4465 
4469  if (err != Z3_error_code.Z3_OK)
4470  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4471  return r;
4472  }
4473 
4475  LIB.Z3_fixedpoint_set_params(a0, a1, a2);
4477  if (err != Z3_error_code.Z3_OK)
4478  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4479  }
4480 
4481  public static string Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1) {
4482  IntPtr r = LIB.Z3_fixedpoint_get_help(a0, a1);
4484  if (err != Z3_error_code.Z3_OK)
4485  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4486  return Marshal.PtrToStringAnsi(r);
4487  }
4488 
4492  if (err != Z3_error_code.Z3_OK)
4493  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4494  return r;
4495  }
4496 
4497  public static string Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3) {
4498  IntPtr r = LIB.Z3_fixedpoint_to_string(a0, a1, a2, a3);
4500  if (err != Z3_error_code.Z3_OK)
4501  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4502  return Marshal.PtrToStringAnsi(r);
4503  }
4504 
4508  if (err != Z3_error_code.Z3_OK)
4509  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4510  return r;
4511  }
4512 
4514  Z3_ast_vector r = LIB.Z3_fixedpoint_from_file(a0, a1, a2);
4516  if (err != Z3_error_code.Z3_OK)
4517  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4518  return r;
4519  }
4520 
4521  public static void Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1) {
4522  LIB.Z3_fixedpoint_push(a0, a1);
4524  if (err != Z3_error_code.Z3_OK)
4525  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4526  }
4527 
4528  public static void Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1) {
4529  LIB.Z3_fixedpoint_pop(a0, a1);
4531  if (err != Z3_error_code.Z3_OK)
4532  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4533  }
4534 
4536  Z3_optimize r = LIB.Z3_mk_optimize(a0);
4538  if (err != Z3_error_code.Z3_OK)
4539  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4540  return r;
4541  }
4542 
4543  public static void Z3_optimize_inc_ref(Z3_context a0, Z3_optimize a1) {
4544  LIB.Z3_optimize_inc_ref(a0, a1);
4546  if (err != Z3_error_code.Z3_OK)
4547  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4548  }
4549 
4550  public static void Z3_optimize_dec_ref(Z3_context a0, Z3_optimize a1) {
4551  LIB.Z3_optimize_dec_ref(a0, a1);
4553  if (err != Z3_error_code.Z3_OK)
4554  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4555  }
4556 
4557  public static void Z3_optimize_assert(Z3_context a0, Z3_optimize a1, Z3_ast a2) {
4558  LIB.Z3_optimize_assert(a0, a1, a2);
4560  if (err != Z3_error_code.Z3_OK)
4561  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4562  }
4563 
4564  public static uint Z3_optimize_assert_soft(Z3_context a0, Z3_optimize a1, Z3_ast a2, string a3, IntPtr a4) {
4565  uint r = LIB.Z3_optimize_assert_soft(a0, a1, a2, a3, a4);
4567  if (err != Z3_error_code.Z3_OK)
4568  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4569  return r;
4570  }
4571 
4572  public static uint Z3_optimize_maximize(Z3_context a0, Z3_optimize a1, Z3_ast a2) {
4573  uint r = LIB.Z3_optimize_maximize(a0, a1, a2);
4575  if (err != Z3_error_code.Z3_OK)
4576  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4577  return r;
4578  }
4579 
4580  public static uint Z3_optimize_minimize(Z3_context a0, Z3_optimize a1, Z3_ast a2) {
4581  uint r = LIB.Z3_optimize_minimize(a0, a1, a2);
4583  if (err != Z3_error_code.Z3_OK)
4584  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4585  return r;
4586  }
4587 
4588  public static void Z3_optimize_push(Z3_context a0, Z3_optimize a1) {
4589  LIB.Z3_optimize_push(a0, a1);
4591  if (err != Z3_error_code.Z3_OK)
4592  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4593  }
4594 
4595  public static void Z3_optimize_pop(Z3_context a0, Z3_optimize a1) {
4596  LIB.Z3_optimize_pop(a0, a1);
4598  if (err != Z3_error_code.Z3_OK)
4599  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4600  }
4601 
4602  public static int Z3_optimize_check(Z3_context a0, Z3_optimize a1) {
4603  int r = LIB.Z3_optimize_check(a0, a1);
4605  if (err != Z3_error_code.Z3_OK)
4606  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4607  return r;
4608  }
4609 
4611  IntPtr r = LIB.Z3_optimize_get_reason_unknown(a0, a1);
4613  if (err != Z3_error_code.Z3_OK)
4614  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4615  return Marshal.PtrToStringAnsi(r);
4616  }
4617 
4619  Z3_model r = LIB.Z3_optimize_get_model(a0, a1);
4621  if (err != Z3_error_code.Z3_OK)
4622  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4623  return r;
4624  }
4625 
4626  public static void Z3_optimize_set_params(Z3_context a0, Z3_optimize a1, Z3_params a2) {
4627  LIB.Z3_optimize_set_params(a0, a1, a2);
4629  if (err != Z3_error_code.Z3_OK)
4630  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
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 
4641  public static Z3_ast Z3_optimize_get_lower(Z3_context a0, Z3_optimize a1, uint a2) {
4642  Z3_ast r = LIB.Z3_optimize_get_lower(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_ast Z3_optimize_get_upper(Z3_context a0, Z3_optimize a1, uint a2) {
4650  Z3_ast r = LIB.Z3_optimize_get_upper(a0, a1, a2);
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 string Z3_optimize_to_string(Z3_context a0, Z3_optimize a1) {
4658  IntPtr r = LIB.Z3_optimize_to_string(a0, a1);
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 Marshal.PtrToStringAnsi(r);
4663  }
4664 
4665  public static string Z3_optimize_get_help(Z3_context a0, Z3_optimize a1) {
4666  IntPtr r = LIB.Z3_optimize_get_help(a0, a1);
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 Marshal.PtrToStringAnsi(r);
4671  }
4672 
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 
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 void Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1) {
4690  LIB.Z3_ast_vector_inc_ref(a0, a1);
4692  if (err != Z3_error_code.Z3_OK)
4693  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4694  }
4695 
4696  public static void Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1) {
4697  LIB.Z3_ast_vector_dec_ref(a0, a1);
4699  if (err != Z3_error_code.Z3_OK)
4700  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4701  }
4702 
4703  public static uint Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1) {
4704  uint r = LIB.Z3_ast_vector_size(a0, a1);
4706  if (err != Z3_error_code.Z3_OK)
4707  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4708  return r;
4709  }
4710 
4711  public static Z3_ast Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, uint a2) {
4712  Z3_ast r = LIB.Z3_ast_vector_get(a0, a1, a2);
4714  if (err != Z3_error_code.Z3_OK)
4715  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4716  return r;
4717  }
4718 
4719  public static void Z3_ast_vector_set(Z3_context a0, Z3_ast_vector a1, uint a2, Z3_ast a3) {
4720  LIB.Z3_ast_vector_set(a0, a1, a2, a3);
4722  if (err != Z3_error_code.Z3_OK)
4723  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4724  }
4725 
4726  public static void Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, uint a2) {
4727  LIB.Z3_ast_vector_resize(a0, a1, a2);
4729  if (err != Z3_error_code.Z3_OK)
4730  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4731  }
4732 
4733  public static void Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2) {
4734  LIB.Z3_ast_vector_push(a0, a1, a2);
4736  if (err != Z3_error_code.Z3_OK)
4737  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4738  }
4739 
4741  Z3_ast_vector r = LIB.Z3_ast_vector_translate(a0, a1, a2);
4743  if (err != Z3_error_code.Z3_OK)
4744  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4745  return r;
4746  }
4747 
4748  public static string Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1) {
4749  IntPtr r = LIB.Z3_ast_vector_to_string(a0, a1);
4751  if (err != Z3_error_code.Z3_OK)
4752  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4753  return Marshal.PtrToStringAnsi(r);
4754  }
4755 
4757  Z3_ast_map r = LIB.Z3_mk_ast_map(a0);
4759  if (err != Z3_error_code.Z3_OK)
4760  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4761  return r;
4762  }
4763 
4764  public static void Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1) {
4765  LIB.Z3_ast_map_inc_ref(a0, a1);
4767  if (err != Z3_error_code.Z3_OK)
4768  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4769  }
4770 
4771  public static void Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1) {
4772  LIB.Z3_ast_map_dec_ref(a0, a1);
4774  if (err != Z3_error_code.Z3_OK)
4775  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4776  }
4777 
4778  public static int Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2) {
4779  int r = LIB.Z3_ast_map_contains(a0, a1, a2);
4781  if (err != Z3_error_code.Z3_OK)
4782  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4783  return r;
4784  }
4785 
4786  public static Z3_ast Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2) {
4787  Z3_ast r = LIB.Z3_ast_map_find(a0, a1, a2);
4789  if (err != Z3_error_code.Z3_OK)
4790  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4791  return r;
4792  }
4793 
4794  public static void Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3) {
4795  LIB.Z3_ast_map_insert(a0, a1, a2, a3);
4797  if (err != Z3_error_code.Z3_OK)
4798  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4799  }
4800 
4801  public static void Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2) {
4802  LIB.Z3_ast_map_erase(a0, a1, a2);
4804  if (err != Z3_error_code.Z3_OK)
4805  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4806  }
4807 
4808  public static void Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1) {
4809  LIB.Z3_ast_map_reset(a0, a1);
4811  if (err != Z3_error_code.Z3_OK)
4812  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4813  }
4814 
4815  public static uint Z3_ast_map_size(Z3_context a0, Z3_ast_map a1) {
4816  uint r = LIB.Z3_ast_map_size(a0, a1);
4818  if (err != Z3_error_code.Z3_OK)
4819  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4820  return r;
4821  }
4822 
4824  Z3_ast_vector r = LIB.Z3_ast_map_keys(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 r;
4829  }
4830 
4831  public static string Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1) {
4832  IntPtr r = LIB.Z3_ast_map_to_string(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 Marshal.PtrToStringAnsi(r);
4837  }
4838 
4839  public static Z3_goal Z3_mk_goal(Z3_context a0, int a1, int a2, int a3) {
4840  Z3_goal r = LIB.Z3_mk_goal(a0, a1, a2, a3);
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 
4847  public static void Z3_goal_inc_ref(Z3_context a0, Z3_goal a1) {
4848  LIB.Z3_goal_inc_ref(a0, a1);
4850  if (err != Z3_error_code.Z3_OK)
4851  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4852  }
4853 
4854  public static void Z3_goal_dec_ref(Z3_context a0, Z3_goal a1) {
4855  LIB.Z3_goal_dec_ref(a0, a1);
4857  if (err != Z3_error_code.Z3_OK)
4858  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4859  }
4860 
4861  public static uint Z3_goal_precision(Z3_context a0, Z3_goal a1) {
4862  uint r = LIB.Z3_goal_precision(a0, a1);
4864  if (err != Z3_error_code.Z3_OK)
4865  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4866  return r;
4867  }
4868 
4869  public static void Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2) {
4870  LIB.Z3_goal_assert(a0, a1, a2);
4872  if (err != Z3_error_code.Z3_OK)
4873  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4874  }
4875 
4876  public static int Z3_goal_inconsistent(Z3_context a0, Z3_goal a1) {
4877  int r = LIB.Z3_goal_inconsistent(a0, a1);
4879  if (err != Z3_error_code.Z3_OK)
4880  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4881  return r;
4882  }
4883 
4884  public static uint Z3_goal_depth(Z3_context a0, Z3_goal a1) {
4885  uint r = LIB.Z3_goal_depth(a0, a1);
4887  if (err != Z3_error_code.Z3_OK)
4888  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4889  return r;
4890  }
4891 
4892  public static void Z3_goal_reset(Z3_context a0, Z3_goal a1) {
4893  LIB.Z3_goal_reset(a0, a1);
4895  if (err != Z3_error_code.Z3_OK)
4896  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4897  }
4898 
4899  public static uint Z3_goal_size(Z3_context a0, Z3_goal a1) {
4900  uint r = LIB.Z3_goal_size(a0, a1);
4902  if (err != Z3_error_code.Z3_OK)
4903  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4904  return r;
4905  }
4906 
4907  public static Z3_ast Z3_goal_formula(Z3_context a0, Z3_goal a1, uint a2) {
4908  Z3_ast r = LIB.Z3_goal_formula(a0, a1, a2);
4910  if (err != Z3_error_code.Z3_OK)
4911  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4912  return r;
4913  }
4914 
4915  public static uint Z3_goal_num_exprs(Z3_context a0, Z3_goal a1) {
4916  uint r = LIB.Z3_goal_num_exprs(a0, a1);
4918  if (err != Z3_error_code.Z3_OK)
4919  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4920  return r;
4921  }
4922 
4923  public static int Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1) {
4924  int r = LIB.Z3_goal_is_decided_sat(a0, a1);
4926  if (err != Z3_error_code.Z3_OK)
4927  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4928  return r;
4929  }
4930 
4931  public static int Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1) {
4932  int r = LIB.Z3_goal_is_decided_unsat(a0, a1);
4934  if (err != Z3_error_code.Z3_OK)
4935  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4936  return r;
4937  }
4938 
4940  Z3_goal r = LIB.Z3_goal_translate(a0, a1, a2);
4942  if (err != Z3_error_code.Z3_OK)
4943  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4944  return r;
4945  }
4946 
4947  public static string Z3_goal_to_string(Z3_context a0, Z3_goal a1) {
4948  IntPtr r = LIB.Z3_goal_to_string(a0, a1);
4950  if (err != Z3_error_code.Z3_OK)
4951  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4952  return Marshal.PtrToStringAnsi(r);
4953  }
4954 
4955  public static Z3_tactic Z3_mk_tactic(Z3_context a0, string a1) {
4956  Z3_tactic r = LIB.Z3_mk_tactic(a0, a1);
4958  if (err != Z3_error_code.Z3_OK)
4959  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4960  return r;
4961  }
4962 
4963  public static void Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1) {
4964  LIB.Z3_tactic_inc_ref(a0, a1);
4966  if (err != Z3_error_code.Z3_OK)
4967  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4968  }
4969 
4970  public static void Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1) {
4971  LIB.Z3_tactic_dec_ref(a0, a1);
4973  if (err != Z3_error_code.Z3_OK)
4974  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4975  }
4976 
4977  public static Z3_probe Z3_mk_probe(Z3_context a0, string a1) {
4978  Z3_probe r = LIB.Z3_mk_probe(a0, a1);
4980  if (err != Z3_error_code.Z3_OK)
4981  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4982  return r;
4983  }
4984 
4985  public static void Z3_probe_inc_ref(Z3_context a0, Z3_probe a1) {
4986  LIB.Z3_probe_inc_ref(a0, a1);
4988  if (err != Z3_error_code.Z3_OK)
4989  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4990  }
4991 
4992  public static void Z3_probe_dec_ref(Z3_context a0, Z3_probe a1) {
4993  LIB.Z3_probe_dec_ref(a0, a1);
4995  if (err != Z3_error_code.Z3_OK)
4996  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
4997  }
4998 
5000  Z3_tactic r = LIB.Z3_tactic_and_then(a0, a1, a2);
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 
5008  Z3_tactic r = LIB.Z3_tactic_or_else(a0, a1, a2);
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 Z3_tactic Z3_tactic_par_or(Z3_context a0, uint a1, [In] Z3_tactic[] a2) {
5016  Z3_tactic r = LIB.Z3_tactic_par_or(a0, a1, a2);
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 r;
5021  }
5022 
5024  Z3_tactic r = LIB.Z3_tactic_par_and_then(a0, a1, a2);
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 Z3_tactic Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, uint a2) {
5032  Z3_tactic r = LIB.Z3_tactic_try_for(a0, a1, a2);
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 r;
5037  }
5038 
5040  Z3_tactic r = LIB.Z3_tactic_when(a0, a1, a2);
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 r;
5045  }
5046 
5048  Z3_tactic r = LIB.Z3_tactic_cond(a0, a1, a2, a3);
5050  if (err != Z3_error_code.Z3_OK)
5051  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5052  return r;
5053  }
5054 
5055  public static Z3_tactic Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, uint a2) {
5056  Z3_tactic r = LIB.Z3_tactic_repeat(a0, a1, a2);
5058  if (err != Z3_error_code.Z3_OK)
5059  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5060  return r;
5061  }
5062 
5064  Z3_tactic r = LIB.Z3_tactic_skip(a0);
5066  if (err != Z3_error_code.Z3_OK)
5067  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5068  return r;
5069  }
5070 
5072  Z3_tactic r = LIB.Z3_tactic_fail(a0);
5074  if (err != Z3_error_code.Z3_OK)
5075  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5076  return r;
5077  }
5078 
5080  Z3_tactic r = LIB.Z3_tactic_fail_if(a0, a1);
5082  if (err != Z3_error_code.Z3_OK)
5083  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5084  return r;
5085  }
5086 
5090  if (err != Z3_error_code.Z3_OK)
5091  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5092  return r;
5093  }
5094 
5096  Z3_tactic r = LIB.Z3_tactic_using_params(a0, a1, a2);
5098  if (err != Z3_error_code.Z3_OK)
5099  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5100  return r;
5101  }
5102 
5103  public static Z3_probe Z3_probe_const(Z3_context a0, double a1) {
5104  Z3_probe r = LIB.Z3_probe_const(a0, a1);
5106  if (err != Z3_error_code.Z3_OK)
5107  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5108  return r;
5109  }
5110 
5111  public static Z3_probe Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2) {
5112  Z3_probe r = LIB.Z3_probe_lt(a0, a1, a2);
5114  if (err != Z3_error_code.Z3_OK)
5115  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5116  return r;
5117  }
5118 
5119  public static Z3_probe Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2) {
5120  Z3_probe r = LIB.Z3_probe_gt(a0, a1, a2);
5122  if (err != Z3_error_code.Z3_OK)
5123  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5124  return r;
5125  }
5126 
5127  public static Z3_probe Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2) {
5128  Z3_probe r = LIB.Z3_probe_le(a0, a1, a2);
5130  if (err != Z3_error_code.Z3_OK)
5131  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5132  return r;
5133  }
5134 
5135  public static Z3_probe Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2) {
5136  Z3_probe r = LIB.Z3_probe_ge(a0, a1, a2);
5138  if (err != Z3_error_code.Z3_OK)
5139  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5140  return r;
5141  }
5142 
5143  public static Z3_probe Z3_probe_eq(Z3_context a0, Z3_probe a1, Z3_probe a2) {
5144  Z3_probe r = LIB.Z3_probe_eq(a0, a1, a2);
5146  if (err != Z3_error_code.Z3_OK)
5147  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5148  return r;
5149  }
5150 
5151  public static Z3_probe Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2) {
5152  Z3_probe r = LIB.Z3_probe_and(a0, a1, a2);
5154  if (err != Z3_error_code.Z3_OK)
5155  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5156  return r;
5157  }
5158 
5159  public static Z3_probe Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2) {
5160  Z3_probe r = LIB.Z3_probe_or(a0, a1, a2);
5162  if (err != Z3_error_code.Z3_OK)
5163  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5164  return r;
5165  }
5166 
5167  public static Z3_probe Z3_probe_not(Z3_context a0, Z3_probe a1) {
5168  Z3_probe r = LIB.Z3_probe_not(a0, a1);
5170  if (err != Z3_error_code.Z3_OK)
5171  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5172  return r;
5173  }
5174 
5175  public static uint Z3_get_num_tactics(Z3_context a0) {
5176  uint r = LIB.Z3_get_num_tactics(a0);
5178  if (err != Z3_error_code.Z3_OK)
5179  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5180  return r;
5181  }
5182 
5183  public static string Z3_get_tactic_name(Z3_context a0, uint a1) {
5184  IntPtr r = LIB.Z3_get_tactic_name(a0, a1);
5186  if (err != Z3_error_code.Z3_OK)
5187  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5188  return Marshal.PtrToStringAnsi(r);
5189  }
5190 
5191  public static uint Z3_get_num_probes(Z3_context a0) {
5192  uint r = LIB.Z3_get_num_probes(a0);
5194  if (err != Z3_error_code.Z3_OK)
5195  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5196  return r;
5197  }
5198 
5199  public static string Z3_get_probe_name(Z3_context a0, uint a1) {
5200  IntPtr r = LIB.Z3_get_probe_name(a0, a1);
5202  if (err != Z3_error_code.Z3_OK)
5203  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5204  return Marshal.PtrToStringAnsi(r);
5205  }
5206 
5207  public static string Z3_tactic_get_help(Z3_context a0, Z3_tactic a1) {
5208  IntPtr r = LIB.Z3_tactic_get_help(a0, a1);
5210  if (err != Z3_error_code.Z3_OK)
5211  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5212  return Marshal.PtrToStringAnsi(r);
5213  }
5214 
5218  if (err != Z3_error_code.Z3_OK)
5219  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5220  return r;
5221  }
5222 
5223  public static string Z3_tactic_get_descr(Z3_context a0, string a1) {
5224  IntPtr r = LIB.Z3_tactic_get_descr(a0, a1);
5226  if (err != Z3_error_code.Z3_OK)
5227  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5228  return Marshal.PtrToStringAnsi(r);
5229  }
5230 
5231  public static string Z3_probe_get_descr(Z3_context a0, string a1) {
5232  IntPtr r = LIB.Z3_probe_get_descr(a0, a1);
5234  if (err != Z3_error_code.Z3_OK)
5235  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5236  return Marshal.PtrToStringAnsi(r);
5237  }
5238 
5239  public static double Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2) {
5240  double r = LIB.Z3_probe_apply(a0, a1, a2);
5242  if (err != Z3_error_code.Z3_OK)
5243  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5244  return r;
5245  }
5246 
5248  Z3_apply_result r = LIB.Z3_tactic_apply(a0, a1, a2);
5250  if (err != Z3_error_code.Z3_OK)
5251  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5252  return r;
5253  }
5254 
5256  Z3_apply_result r = LIB.Z3_tactic_apply_ex(a0, a1, a2, a3);
5258  if (err != Z3_error_code.Z3_OK)
5259  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5260  return r;
5261  }
5262 
5264  LIB.Z3_apply_result_inc_ref(a0, a1);
5266  if (err != Z3_error_code.Z3_OK)
5267  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5268  }
5269 
5271  LIB.Z3_apply_result_dec_ref(a0, a1);
5273  if (err != Z3_error_code.Z3_OK)
5274  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5275  }
5276 
5278  IntPtr r = LIB.Z3_apply_result_to_string(a0, a1);
5280  if (err != Z3_error_code.Z3_OK)
5281  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5282  return Marshal.PtrToStringAnsi(r);
5283  }
5284 
5286  uint r = LIB.Z3_apply_result_get_num_subgoals(a0, a1);
5288  if (err != Z3_error_code.Z3_OK)
5289  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5290  return r;
5291  }
5292 
5294  Z3_goal r = LIB.Z3_apply_result_get_subgoal(a0, a1, a2);
5296  if (err != Z3_error_code.Z3_OK)
5297  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5298  return r;
5299  }
5300 
5302  Z3_model r = LIB.Z3_apply_result_convert_model(a0, a1, a2, a3);
5304  if (err != Z3_error_code.Z3_OK)
5305  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5306  return r;
5307  }
5308 
5309  public static Z3_solver Z3_mk_solver(Z3_context a0) {
5310  Z3_solver r = LIB.Z3_mk_solver(a0);
5312  if (err != Z3_error_code.Z3_OK)
5313  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5314  return r;
5315  }
5316 
5320  if (err != Z3_error_code.Z3_OK)
5321  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5322  return r;
5323  }
5324 
5325  public static Z3_solver Z3_mk_solver_for_logic(Z3_context a0, IntPtr a1) {
5326  Z3_solver r = LIB.Z3_mk_solver_for_logic(a0, a1);
5328  if (err != Z3_error_code.Z3_OK)
5329  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5330  return r;
5331  }
5332 
5336  if (err != Z3_error_code.Z3_OK)
5337  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5338  return r;
5339  }
5340 
5341  public static string Z3_solver_get_help(Z3_context a0, Z3_solver a1) {
5342  IntPtr r = LIB.Z3_solver_get_help(a0, a1);
5344  if (err != Z3_error_code.Z3_OK)
5345  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5346  return Marshal.PtrToStringAnsi(r);
5347  }
5348 
5352  if (err != Z3_error_code.Z3_OK)
5353  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5354  return r;
5355  }
5356 
5357  public static void Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2) {
5358  LIB.Z3_solver_set_params(a0, a1, a2);
5360  if (err != Z3_error_code.Z3_OK)
5361  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5362  }
5363 
5364  public static void Z3_solver_inc_ref(Z3_context a0, Z3_solver a1) {
5365  LIB.Z3_solver_inc_ref(a0, a1);
5367  if (err != Z3_error_code.Z3_OK)
5368  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5369  }
5370 
5371  public static void Z3_solver_dec_ref(Z3_context a0, Z3_solver a1) {
5372  LIB.Z3_solver_dec_ref(a0, a1);
5374  if (err != Z3_error_code.Z3_OK)
5375  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5376  }
5377 
5378  public static void Z3_solver_push(Z3_context a0, Z3_solver a1) {
5379  LIB.Z3_solver_push(a0, a1);
5381  if (err != Z3_error_code.Z3_OK)
5382  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5383  }
5384 
5385  public static void Z3_solver_pop(Z3_context a0, Z3_solver a1, uint a2) {
5386  LIB.Z3_solver_pop(a0, a1, a2);
5388  if (err != Z3_error_code.Z3_OK)
5389  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5390  }
5391 
5392  public static void Z3_solver_reset(Z3_context a0, Z3_solver a1) {
5393  LIB.Z3_solver_reset(a0, a1);
5395  if (err != Z3_error_code.Z3_OK)
5396  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5397  }
5398 
5399  public static uint Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1) {
5400  uint r = LIB.Z3_solver_get_num_scopes(a0, a1);
5402  if (err != Z3_error_code.Z3_OK)
5403  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5404  return r;
5405  }
5406 
5407  public static void Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2) {
5408  LIB.Z3_solver_assert(a0, a1, a2);
5410  if (err != Z3_error_code.Z3_OK)
5411  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5412  }
5413 
5414  public static void Z3_solver_assert_and_track(Z3_context a0, Z3_solver a1, Z3_ast a2, Z3_ast a3) {
5415  LIB.Z3_solver_assert_and_track(a0, a1, a2, a3);
5417  if (err != Z3_error_code.Z3_OK)
5418  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5419  }
5420 
5424  if (err != Z3_error_code.Z3_OK)
5425  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5426  return r;
5427  }
5428 
5429  public static int Z3_solver_check(Z3_context a0, Z3_solver a1) {
5430  int r = LIB.Z3_solver_check(a0, a1);
5432  if (err != Z3_error_code.Z3_OK)
5433  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5434  return r;
5435  }
5436 
5437  public static int Z3_solver_check_assumptions(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3) {
5438  int r = LIB.Z3_solver_check_assumptions(a0, a1, a2, a3);
5440  if (err != Z3_error_code.Z3_OK)
5441  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5442  return r;
5443  }
5444 
5446  Z3_model r = LIB.Z3_solver_get_model(a0, a1);
5448  if (err != Z3_error_code.Z3_OK)
5449  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5450  return r;
5451  }
5452 
5454  Z3_ast r = LIB.Z3_solver_get_proof(a0, a1);
5456  if (err != Z3_error_code.Z3_OK)
5457  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5458  return r;
5459  }
5460 
5464  if (err != Z3_error_code.Z3_OK)
5465  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5466  return r;
5467  }
5468 
5469  public static string Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1) {
5470  IntPtr r = LIB.Z3_solver_get_reason_unknown(a0, a1);
5472  if (err != Z3_error_code.Z3_OK)
5473  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5474  return Marshal.PtrToStringAnsi(r);
5475  }
5476 
5480  if (err != Z3_error_code.Z3_OK)
5481  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5482  return r;
5483  }
5484 
5485  public static string Z3_solver_to_string(Z3_context a0, Z3_solver a1) {
5486  IntPtr r = LIB.Z3_solver_to_string(a0, a1);
5488  if (err != Z3_error_code.Z3_OK)
5489  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5490  return Marshal.PtrToStringAnsi(r);
5491  }
5492 
5493  public static string Z3_stats_to_string(Z3_context a0, Z3_stats a1) {
5494  IntPtr r = LIB.Z3_stats_to_string(a0, a1);
5496  if (err != Z3_error_code.Z3_OK)
5497  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5498  return Marshal.PtrToStringAnsi(r);
5499  }
5500 
5501  public static void Z3_stats_inc_ref(Z3_context a0, Z3_stats a1) {
5502  LIB.Z3_stats_inc_ref(a0, a1);
5504  if (err != Z3_error_code.Z3_OK)
5505  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5506  }
5507 
5508  public static void Z3_stats_dec_ref(Z3_context a0, Z3_stats a1) {
5509  LIB.Z3_stats_dec_ref(a0, a1);
5511  if (err != Z3_error_code.Z3_OK)
5512  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5513  }
5514 
5515  public static uint Z3_stats_size(Z3_context a0, Z3_stats a1) {
5516  uint r = LIB.Z3_stats_size(a0, a1);
5518  if (err != Z3_error_code.Z3_OK)
5519  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5520  return r;
5521  }
5522 
5523  public static string Z3_stats_get_key(Z3_context a0, Z3_stats a1, uint a2) {
5524  IntPtr r = LIB.Z3_stats_get_key(a0, a1, a2);
5526  if (err != Z3_error_code.Z3_OK)
5527  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5528  return Marshal.PtrToStringAnsi(r);
5529  }
5530 
5531  public static int Z3_stats_is_uint(Z3_context a0, Z3_stats a1, uint a2) {
5532  int r = LIB.Z3_stats_is_uint(a0, a1, a2);
5534  if (err != Z3_error_code.Z3_OK)
5535  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5536  return r;
5537  }
5538 
5539  public static int Z3_stats_is_double(Z3_context a0, Z3_stats a1, uint a2) {
5540  int r = LIB.Z3_stats_is_double(a0, a1, a2);
5542  if (err != Z3_error_code.Z3_OK)
5543  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5544  return r;
5545  }
5546 
5547  public static uint Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, uint a2) {
5548  uint r = LIB.Z3_stats_get_uint_value(a0, a1, a2);
5550  if (err != Z3_error_code.Z3_OK)
5551  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5552  return r;
5553  }
5554 
5555  public static double Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, uint a2) {
5556  double r = LIB.Z3_stats_get_double_value(a0, a1, a2);
5558  if (err != Z3_error_code.Z3_OK)
5559  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5560  return r;
5561  }
5562 
5563  public static Z3_func_decl Z3_mk_injective_function(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4) {
5564  Z3_func_decl r = LIB.Z3_mk_injective_function(a0, a1, a2, a3, a4);
5566  if (err != Z3_error_code.Z3_OK)
5567  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5568  return r;
5569  }
5570 
5571  public static void Z3_set_logic(Z3_context a0, string a1) {
5572  LIB.Z3_set_logic(a0, a1);
5574  if (err != Z3_error_code.Z3_OK)
5575  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5576  }
5577 
5578  public static void Z3_push(Z3_context a0) {
5579  LIB.Z3_push(a0);
5581  if (err != Z3_error_code.Z3_OK)
5582  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5583  }
5584 
5585  public static void Z3_pop(Z3_context a0, uint a1) {
5586  LIB.Z3_pop(a0, a1);
5588  if (err != Z3_error_code.Z3_OK)
5589  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5590  }
5591 
5592  public static uint Z3_get_num_scopes(Z3_context a0) {
5593  uint r = LIB.Z3_get_num_scopes(a0);
5595  if (err != Z3_error_code.Z3_OK)
5596  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5597  return r;
5598  }
5599 
5600  public static void Z3_persist_ast(Z3_context a0, Z3_ast a1, uint a2) {
5601  LIB.Z3_persist_ast(a0, a1, a2);
5603  if (err != Z3_error_code.Z3_OK)
5604  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5605  }
5606 
5607  public static void Z3_assert_cnstr(Z3_context a0, Z3_ast a1) {
5608  LIB.Z3_assert_cnstr(a0, a1);
5610  if (err != Z3_error_code.Z3_OK)
5611  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5612  }
5613 
5614  public static int Z3_check_and_get_model(Z3_context a0, [In, Out] ref Z3_model a1) {
5615  int r = LIB.Z3_check_and_get_model(a0, ref a1);
5617  if (err != Z3_error_code.Z3_OK)
5618  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5619  return r;
5620  }
5621 
5622  public static int Z3_check(Z3_context a0) {
5623  int r = LIB.Z3_check(a0);
5625  if (err != Z3_error_code.Z3_OK)
5626  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5627  return r;
5628  }
5629 
5630  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) {
5631  int r = LIB.Z3_check_assumptions(a0, a1, a2, ref a3, ref a4, ref a5, a6);
5633  if (err != Z3_error_code.Z3_OK)
5634  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5635  return r;
5636  }
5637 
5638  public static uint Z3_get_implied_equalities(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3, [Out] uint[] a4) {
5639  uint r = LIB.Z3_get_implied_equalities(a0, a1, a2, a3, a4);
5641  if (err != Z3_error_code.Z3_OK)
5642  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5643  return r;
5644  }
5645 
5646  public static void Z3_del_model(Z3_context a0, Z3_model a1) {
5647  LIB.Z3_del_model(a0, a1);
5649  if (err != Z3_error_code.Z3_OK)
5650  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5651  }
5652 
5653  public static void Z3_soft_check_cancel(Z3_context a0) {
5656  if (err != Z3_error_code.Z3_OK)
5657  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5658  }
5659 
5660  public static uint Z3_get_search_failure(Z3_context a0) {
5661  uint r = LIB.Z3_get_search_failure(a0);
5663  if (err != Z3_error_code.Z3_OK)
5664  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5665  return r;
5666  }
5667 
5668  public static Z3_ast Z3_mk_label(Z3_context a0, IntPtr a1, int a2, Z3_ast a3) {
5669  Z3_ast r = LIB.Z3_mk_label(a0, a1, a2, a3);
5671  if (err != Z3_error_code.Z3_OK)
5672  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5673  return r;
5674  }
5675 
5679  if (err != Z3_error_code.Z3_OK)
5680  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5681  return r;
5682  }
5683 
5687  if (err != Z3_error_code.Z3_OK)
5688  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5689  return r;
5690  }
5691 
5695  if (err != Z3_error_code.Z3_OK)
5696  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5697  return r;
5698  }
5699 
5700  public static void Z3_del_literals(Z3_context a0, Z3_literals a1) {
5701  LIB.Z3_del_literals(a0, a1);
5703  if (err != Z3_error_code.Z3_OK)
5704  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5705  }
5706 
5707  public static uint Z3_get_num_literals(Z3_context a0, Z3_literals a1) {
5708  uint r = LIB.Z3_get_num_literals(a0, a1);
5710  if (err != Z3_error_code.Z3_OK)
5711  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5712  return r;
5713  }
5714 
5715  public static IntPtr Z3_get_label_symbol(Z3_context a0, Z3_literals a1, uint a2) {
5716  IntPtr r = LIB.Z3_get_label_symbol(a0, a1, a2);
5718  if (err != Z3_error_code.Z3_OK)
5719  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5720  return r;
5721  }
5722 
5723  public static Z3_ast Z3_get_literal(Z3_context a0, Z3_literals a1, uint a2) {
5724  Z3_ast r = LIB.Z3_get_literal(a0, a1, a2);
5726  if (err != Z3_error_code.Z3_OK)
5727  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5728  return r;
5729  }
5730 
5731  public static void Z3_disable_literal(Z3_context a0, Z3_literals a1, uint a2) {
5732  LIB.Z3_disable_literal(a0, a1, a2);
5734  if (err != Z3_error_code.Z3_OK)
5735  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5736  }
5737 
5738  public static void Z3_block_literals(Z3_context a0, Z3_literals a1) {
5739  LIB.Z3_block_literals(a0, a1);
5741  if (err != Z3_error_code.Z3_OK)
5742  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5743  }
5744 
5745  public static uint Z3_get_model_num_constants(Z3_context a0, Z3_model a1) {
5746  uint r = LIB.Z3_get_model_num_constants(a0, a1);
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 r;
5751  }
5752 
5753  public static Z3_func_decl Z3_get_model_constant(Z3_context a0, Z3_model a1, uint a2) {
5754  Z3_func_decl r = LIB.Z3_get_model_constant(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 r;
5759  }
5760 
5761  public static uint Z3_get_model_num_funcs(Z3_context a0, Z3_model a1) {
5762  uint r = LIB.Z3_get_model_num_funcs(a0, a1);
5764  if (err != Z3_error_code.Z3_OK)
5765  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5766  return r;
5767  }
5768 
5769  public static Z3_func_decl Z3_get_model_func_decl(Z3_context a0, Z3_model a1, uint a2) {
5770  Z3_func_decl r = LIB.Z3_get_model_func_decl(a0, a1, a2);
5772  if (err != Z3_error_code.Z3_OK)
5773  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5774  return r;
5775  }
5776 
5777  public static int Z3_eval_func_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, [In, Out] ref Z3_ast a3) {
5778  int r = LIB.Z3_eval_func_decl(a0, a1, a2, ref a3);
5780  if (err != Z3_error_code.Z3_OK)
5781  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5782  return r;
5783  }
5784 
5785  public static int Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref uint a3) {
5786  int r = LIB.Z3_is_array_value(a0, a1, a2, ref a3);
5788  if (err != Z3_error_code.Z3_OK)
5789  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5790  return r;
5791  }
5792 
5793  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) {
5794  LIB.Z3_get_array_value(a0, a1, a2, a3, a4, a5, ref a6);
5796  if (err != Z3_error_code.Z3_OK)
5797  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5798  }
5799 
5800  public static Z3_ast Z3_get_model_func_else(Z3_context a0, Z3_model a1, uint a2) {
5801  Z3_ast r = LIB.Z3_get_model_func_else(a0, a1, a2);
5803  if (err != Z3_error_code.Z3_OK)
5804  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5805  return r;
5806  }
5807 
5808  public static uint Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, uint a2) {
5809  uint r = LIB.Z3_get_model_func_num_entries(a0, a1, a2);
5811  if (err != Z3_error_code.Z3_OK)
5812  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5813  return r;
5814  }
5815 
5816  public static uint Z3_get_model_func_entry_num_args(Z3_context a0, Z3_model a1, uint a2, uint a3) {
5817  uint r = LIB.Z3_get_model_func_entry_num_args(a0, a1, a2, a3);
5819  if (err != Z3_error_code.Z3_OK)
5820  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5821  return r;
5822  }
5823 
5824  public static Z3_ast Z3_get_model_func_entry_arg(Z3_context a0, Z3_model a1, uint a2, uint a3, uint a4) {
5825  Z3_ast r = LIB.Z3_get_model_func_entry_arg(a0, a1, a2, a3, a4);
5827  if (err != Z3_error_code.Z3_OK)
5828  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5829  return r;
5830  }
5831 
5832  public static Z3_ast Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, uint a2, uint a3) {
5833  Z3_ast r = LIB.Z3_get_model_func_entry_value(a0, a1, a2, a3);
5835  if (err != Z3_error_code.Z3_OK)
5836  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5837  return r;
5838  }
5839 
5840  public static int Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref Z3_ast a3) {
5841  int r = LIB.Z3_eval(a0, a1, a2, ref a3);
5843  if (err != Z3_error_code.Z3_OK)
5844  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5845  return r;
5846  }
5847 
5848  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) {
5849  int r = LIB.Z3_eval_decl(a0, a1, a2, a3, a4, ref a5);
5851  if (err != Z3_error_code.Z3_OK)
5852  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5853  return r;
5854  }
5855 
5856  public static string Z3_context_to_string(Z3_context a0) {
5857  IntPtr r = LIB.Z3_context_to_string(a0);
5859  if (err != Z3_error_code.Z3_OK)
5860  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5861  return Marshal.PtrToStringAnsi(r);
5862  }
5863 
5864  public static string Z3_statistics_to_string(Z3_context a0) {
5865  IntPtr r = LIB.Z3_statistics_to_string(a0);
5867  if (err != Z3_error_code.Z3_OK)
5868  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5869  return Marshal.PtrToStringAnsi(r);
5870  }
5871 
5875  if (err != Z3_error_code.Z3_OK)
5876  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5877  return r;
5878  }
5879 
5880  public static int Z3_algebraic_is_value(Z3_context a0, Z3_ast a1) {
5881  int r = LIB.Z3_algebraic_is_value(a0, a1);
5883  if (err != Z3_error_code.Z3_OK)
5884  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5885  return r;
5886  }
5887 
5888  public static int Z3_algebraic_is_pos(Z3_context a0, Z3_ast a1) {
5889  int r = LIB.Z3_algebraic_is_pos(a0, a1);
5891  if (err != Z3_error_code.Z3_OK)
5892  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5893  return r;
5894  }
5895 
5896  public static int Z3_algebraic_is_neg(Z3_context a0, Z3_ast a1) {
5897  int r = LIB.Z3_algebraic_is_neg(a0, a1);
5899  if (err != Z3_error_code.Z3_OK)
5900  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5901  return r;
5902  }
5903 
5904  public static int Z3_algebraic_is_zero(Z3_context a0, Z3_ast a1) {
5905  int r = LIB.Z3_algebraic_is_zero(a0, a1);
5907  if (err != Z3_error_code.Z3_OK)
5908  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5909  return r;
5910  }
5911 
5912  public static int Z3_algebraic_sign(Z3_context a0, Z3_ast a1) {
5913  int r = LIB.Z3_algebraic_sign(a0, a1);
5915  if (err != Z3_error_code.Z3_OK)
5916  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5917  return r;
5918  }
5919 
5920  public static Z3_ast Z3_algebraic_add(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5921  Z3_ast r = LIB.Z3_algebraic_add(a0, a1, a2);
5923  if (err != Z3_error_code.Z3_OK)
5924  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5925  return r;
5926  }
5927 
5928  public static Z3_ast Z3_algebraic_sub(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5929  Z3_ast r = LIB.Z3_algebraic_sub(a0, a1, a2);
5931  if (err != Z3_error_code.Z3_OK)
5932  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5933  return r;
5934  }
5935 
5936  public static Z3_ast Z3_algebraic_mul(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5937  Z3_ast r = LIB.Z3_algebraic_mul(a0, a1, a2);
5939  if (err != Z3_error_code.Z3_OK)
5940  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5941  return r;
5942  }
5943 
5944  public static Z3_ast Z3_algebraic_div(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5945  Z3_ast r = LIB.Z3_algebraic_div(a0, a1, a2);
5947  if (err != Z3_error_code.Z3_OK)
5948  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5949  return r;
5950  }
5951 
5952  public static Z3_ast Z3_algebraic_root(Z3_context a0, Z3_ast a1, uint a2) {
5953  Z3_ast r = LIB.Z3_algebraic_root(a0, a1, a2);
5955  if (err != Z3_error_code.Z3_OK)
5956  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5957  return r;
5958  }
5959 
5960  public static Z3_ast Z3_algebraic_power(Z3_context a0, Z3_ast a1, uint a2) {
5961  Z3_ast r = LIB.Z3_algebraic_power(a0, a1, a2);
5963  if (err != Z3_error_code.Z3_OK)
5964  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5965  return r;
5966  }
5967 
5968  public static int Z3_algebraic_lt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5969  int r = LIB.Z3_algebraic_lt(a0, a1, a2);
5971  if (err != Z3_error_code.Z3_OK)
5972  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5973  return r;
5974  }
5975 
5976  public static int Z3_algebraic_gt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5977  int r = LIB.Z3_algebraic_gt(a0, a1, a2);
5979  if (err != Z3_error_code.Z3_OK)
5980  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5981  return r;
5982  }
5983 
5984  public static int Z3_algebraic_le(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5985  int r = LIB.Z3_algebraic_le(a0, a1, a2);
5987  if (err != Z3_error_code.Z3_OK)
5988  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5989  return r;
5990  }
5991 
5992  public static int Z3_algebraic_ge(Z3_context a0, Z3_ast a1, Z3_ast a2) {
5993  int r = LIB.Z3_algebraic_ge(a0, a1, a2);
5995  if (err != Z3_error_code.Z3_OK)
5996  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
5997  return r;
5998  }
5999 
6000  public static int Z3_algebraic_eq(Z3_context a0, Z3_ast a1, Z3_ast a2) {
6001  int r = LIB.Z3_algebraic_eq(a0, a1, a2);
6003  if (err != Z3_error_code.Z3_OK)
6004  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6005  return r;
6006  }
6007 
6008  public static int Z3_algebraic_neq(Z3_context a0, Z3_ast a1, Z3_ast a2) {
6009  int r = LIB.Z3_algebraic_neq(a0, a1, a2);
6011  if (err != Z3_error_code.Z3_OK)
6012  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6013  return r;
6014  }
6015 
6016  public static Z3_ast_vector Z3_algebraic_roots(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3) {
6017  Z3_ast_vector r = LIB.Z3_algebraic_roots(a0, a1, a2, a3);
6019  if (err != Z3_error_code.Z3_OK)
6020  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6021  return r;
6022  }
6023 
6024  public static int Z3_algebraic_eval(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3) {
6025  int r = LIB.Z3_algebraic_eval(a0, a1, a2, a3);
6027  if (err != Z3_error_code.Z3_OK)
6028  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6029  return r;
6030  }
6031 
6033  Z3_ast_vector r = LIB.Z3_polynomial_subresultants(a0, a1, a2, a3);
6035  if (err != Z3_error_code.Z3_OK)
6036  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6037  return r;
6038  }
6039 
6040  public static void Z3_rcf_del(Z3_context a0, Z3_rcf_num a1) {
6041  LIB.Z3_rcf_del(a0, a1);
6043  if (err != Z3_error_code.Z3_OK)
6044  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6045  }
6046 
6047  public static Z3_rcf_num Z3_rcf_mk_rational(Z3_context a0, string a1) {
6048  Z3_rcf_num r = LIB.Z3_rcf_mk_rational(a0, a1);
6050  if (err != Z3_error_code.Z3_OK)
6051  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6052  return r;
6053  }
6054 
6055  public static Z3_rcf_num Z3_rcf_mk_small_int(Z3_context a0, int a1) {
6056  Z3_rcf_num r = LIB.Z3_rcf_mk_small_int(a0, a1);
6058  if (err != Z3_error_code.Z3_OK)
6059  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6060  return r;
6061  }
6062 
6063  public static Z3_rcf_num Z3_rcf_mk_pi(Z3_context a0) {
6064  Z3_rcf_num r = LIB.Z3_rcf_mk_pi(a0);
6066  if (err != Z3_error_code.Z3_OK)
6067  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6068  return r;
6069  }
6070 
6071  public static Z3_rcf_num Z3_rcf_mk_e(Z3_context a0) {
6072  Z3_rcf_num r = LIB.Z3_rcf_mk_e(a0);
6074  if (err != Z3_error_code.Z3_OK)
6075  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6076  return r;
6077  }
6078 
6082  if (err != Z3_error_code.Z3_OK)
6083  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6084  return r;
6085  }
6086 
6087  public static uint Z3_rcf_mk_roots(Z3_context a0, uint a1, [In] Z3_rcf_num[] a2, [Out] Z3_rcf_num[] a3) {
6088  uint r = LIB.Z3_rcf_mk_roots(a0, a1, a2, a3);
6090  if (err != Z3_error_code.Z3_OK)
6091  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6092  return r;
6093  }
6094 
6096  Z3_rcf_num r = LIB.Z3_rcf_add(a0, a1, a2);
6098  if (err != Z3_error_code.Z3_OK)
6099  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6100  return r;
6101  }
6102 
6104  Z3_rcf_num r = LIB.Z3_rcf_sub(a0, a1, a2);
6106  if (err != Z3_error_code.Z3_OK)
6107  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6108  return r;
6109  }
6110 
6112  Z3_rcf_num r = LIB.Z3_rcf_mul(a0, a1, a2);
6114  if (err != Z3_error_code.Z3_OK)
6115  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6116  return r;
6117  }
6118 
6120  Z3_rcf_num r = LIB.Z3_rcf_div(a0, a1, a2);
6122  if (err != Z3_error_code.Z3_OK)
6123  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6124  return r;
6125  }
6126 
6127  public static Z3_rcf_num Z3_rcf_neg(Z3_context a0, Z3_rcf_num a1) {
6128  Z3_rcf_num r = LIB.Z3_rcf_neg(a0, a1);
6130  if (err != Z3_error_code.Z3_OK)
6131  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6132  return r;
6133  }
6134 
6135  public static Z3_rcf_num Z3_rcf_inv(Z3_context a0, Z3_rcf_num a1) {
6136  Z3_rcf_num r = LIB.Z3_rcf_inv(a0, a1);
6138  if (err != Z3_error_code.Z3_OK)
6139  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6140  return r;
6141  }
6142 
6143  public static Z3_rcf_num Z3_rcf_power(Z3_context a0, Z3_rcf_num a1, uint a2) {
6144  Z3_rcf_num r = LIB.Z3_rcf_power(a0, a1, a2);
6146  if (err != Z3_error_code.Z3_OK)
6147  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6148  return r;
6149  }
6150 
6151  public static int Z3_rcf_lt(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2) {
6152  int r = LIB.Z3_rcf_lt(a0, a1, a2);
6154  if (err != Z3_error_code.Z3_OK)
6155  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6156  return r;
6157  }
6158 
6159  public static int Z3_rcf_gt(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2) {
6160  int r = LIB.Z3_rcf_gt(a0, a1, a2);
6162  if (err != Z3_error_code.Z3_OK)
6163  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6164  return r;
6165  }
6166 
6167  public static int Z3_rcf_le(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2) {
6168  int r = LIB.Z3_rcf_le(a0, a1, a2);
6170  if (err != Z3_error_code.Z3_OK)
6171  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6172  return r;
6173  }
6174 
6175  public static int Z3_rcf_ge(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2) {
6176  int r = LIB.Z3_rcf_ge(a0, a1, a2);
6178  if (err != Z3_error_code.Z3_OK)
6179  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6180  return r;
6181  }
6182 
6183  public static int Z3_rcf_eq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2) {
6184  int r = LIB.Z3_rcf_eq(a0, a1, a2);
6186  if (err != Z3_error_code.Z3_OK)
6187  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6188  return r;
6189  }
6190 
6191  public static int Z3_rcf_neq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2) {
6192  int r = LIB.Z3_rcf_neq(a0, a1, a2);
6194  if (err != Z3_error_code.Z3_OK)
6195  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6196  return r;
6197  }
6198 
6199  public static string Z3_rcf_num_to_string(Z3_context a0, Z3_rcf_num a1, int a2, int a3) {
6200  IntPtr r = LIB.Z3_rcf_num_to_string(a0, a1, a2, a3);
6202  if (err != Z3_error_code.Z3_OK)
6203  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6204  return Marshal.PtrToStringAnsi(r);
6205  }
6206 
6207  public static string Z3_rcf_num_to_decimal_string(Z3_context a0, Z3_rcf_num a1, uint a2) {
6208  IntPtr r = LIB.Z3_rcf_num_to_decimal_string(a0, a1, a2);
6210  if (err != Z3_error_code.Z3_OK)
6211  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6212  return Marshal.PtrToStringAnsi(r);
6213  }
6214 
6215  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) {
6216  LIB.Z3_rcf_get_numerator_denominator(a0, a1, ref a2, ref a3);
6218  if (err != Z3_error_code.Z3_OK)
6219  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6220  }
6221 
6222  public static Z3_ast Z3_mk_interpolant(Z3_context a0, Z3_ast a1) {
6223  Z3_ast r = LIB.Z3_mk_interpolant(a0, a1);
6225  if (err != Z3_error_code.Z3_OK)
6226  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6227  return r;
6228  }
6229 
6232  return r;
6233  }
6234 
6236  Z3_ast_vector r = LIB.Z3_get_interpolant(a0, a1, a2, a3);
6238  if (err != Z3_error_code.Z3_OK)
6239  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6240  return r;
6241  }
6242 
6243  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) {
6244  int r = LIB.Z3_compute_interpolant(a0, a1, a2, ref a3, ref a4);
6246  if (err != Z3_error_code.Z3_OK)
6247  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6248  return r;
6249  }
6250 
6251  public static string Z3_interpolation_profile(Z3_context a0) {
6252  IntPtr r = LIB.Z3_interpolation_profile(a0);
6254  if (err != Z3_error_code.Z3_OK)
6255  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6256  return Marshal.PtrToStringAnsi(r);
6257  }
6258 
6259  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) {
6260  int r = LIB.Z3_read_interpolation_problem(a0, ref a1, out a2, out a3, a4, out a5, ref a6, out a7);
6262  if (err != Z3_error_code.Z3_OK)
6263  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6264  return r;
6265  }
6266 
6267  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) {
6268  int r = LIB.Z3_check_interpolant(a0, a1, a2, a3, a4, out a5, a6, a7);
6270  if (err != Z3_error_code.Z3_OK)
6271  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6272  return r;
6273  }
6274 
6275  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) {
6276  LIB.Z3_write_interpolation_problem(a0, a1, a2, a3, a4, a5, a6);
6278  if (err != Z3_error_code.Z3_OK)
6279  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6280  }
6281 
6285  if (err != Z3_error_code.Z3_OK)
6286  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6287  return r;
6288  }
6289 
6293  if (err != Z3_error_code.Z3_OK)
6294  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6295  return r;
6296  }
6297 
6298  public static Z3_ast Z3_mk_fpa_rne(Z3_context a0) {
6299  Z3_ast r = LIB.Z3_mk_fpa_rne(a0);
6301  if (err != Z3_error_code.Z3_OK)
6302  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6303  return r;
6304  }
6305 
6309  if (err != Z3_error_code.Z3_OK)
6310  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6311  return r;
6312  }
6313 
6314  public static Z3_ast Z3_mk_fpa_rna(Z3_context a0) {
6315  Z3_ast r = LIB.Z3_mk_fpa_rna(a0);
6317  if (err != Z3_error_code.Z3_OK)
6318  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6319  return r;
6320  }
6321 
6325  if (err != Z3_error_code.Z3_OK)
6326  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6327  return r;
6328  }
6329 
6330  public static Z3_ast Z3_mk_fpa_rtp(Z3_context a0) {
6331  Z3_ast r = LIB.Z3_mk_fpa_rtp(a0);
6333  if (err != Z3_error_code.Z3_OK)
6334  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6335  return r;
6336  }
6337 
6341  if (err != Z3_error_code.Z3_OK)
6342  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6343  return r;
6344  }
6345 
6346  public static Z3_ast Z3_mk_fpa_rtn(Z3_context a0) {
6347  Z3_ast r = LIB.Z3_mk_fpa_rtn(a0);
6349  if (err != Z3_error_code.Z3_OK)
6350  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6351  return r;
6352  }
6353 
6357  if (err != Z3_error_code.Z3_OK)
6358  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6359  return r;
6360  }
6361 
6362  public static Z3_ast Z3_mk_fpa_rtz(Z3_context a0) {
6363  Z3_ast r = LIB.Z3_mk_fpa_rtz(a0);
6365  if (err != Z3_error_code.Z3_OK)
6366  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6367  return r;
6368  }
6369 
6370  public static Z3_sort Z3_mk_fpa_sort(Z3_context a0, uint a1, uint a2) {
6371  Z3_sort r = LIB.Z3_mk_fpa_sort(a0, a1, a2);
6373  if (err != Z3_error_code.Z3_OK)
6374  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6375  return r;
6376  }
6377 
6381  if (err != Z3_error_code.Z3_OK)
6382  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6383  return r;
6384  }
6385 
6387  Z3_sort r = LIB.Z3_mk_fpa_sort_16(a0);
6389  if (err != Z3_error_code.Z3_OK)
6390  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6391  return r;
6392  }
6393 
6397  if (err != Z3_error_code.Z3_OK)
6398  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6399  return r;
6400  }
6401 
6403  Z3_sort r = LIB.Z3_mk_fpa_sort_32(a0);
6405  if (err != Z3_error_code.Z3_OK)
6406  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6407  return r;
6408  }
6409 
6413  if (err != Z3_error_code.Z3_OK)
6414  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6415  return r;
6416  }
6417 
6419  Z3_sort r = LIB.Z3_mk_fpa_sort_64(a0);
6421  if (err != Z3_error_code.Z3_OK)
6422  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6423  return r;
6424  }
6425 
6429  if (err != Z3_error_code.Z3_OK)
6430  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6431  return r;
6432  }
6433 
6435  Z3_sort r = LIB.Z3_mk_fpa_sort_128(a0);
6437  if (err != Z3_error_code.Z3_OK)
6438  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6439  return r;
6440  }
6441 
6442  public static Z3_ast Z3_mk_fpa_nan(Z3_context a0, Z3_sort a1) {
6443  Z3_ast r = LIB.Z3_mk_fpa_nan(a0, a1);
6445  if (err != Z3_error_code.Z3_OK)
6446  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6447  return r;
6448  }
6449 
6450  public static Z3_ast Z3_mk_fpa_inf(Z3_context a0, Z3_sort a1, int a2) {
6451  Z3_ast r = LIB.Z3_mk_fpa_inf(a0, a1, a2);
6453  if (err != Z3_error_code.Z3_OK)
6454  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6455  return r;
6456  }
6457 
6458  public static Z3_ast Z3_mk_fpa_zero(Z3_context a0, Z3_sort a1, int a2) {
6459  Z3_ast r = LIB.Z3_mk_fpa_zero(a0, a1, a2);
6461  if (err != Z3_error_code.Z3_OK)
6462  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6463  return r;
6464  }
6465 
6466  public static Z3_ast Z3_mk_fpa_fp(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) {
6467  Z3_ast r = LIB.Z3_mk_fpa_fp(a0, a1, a2, a3);
6469  if (err != Z3_error_code.Z3_OK)
6470  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6471  return r;
6472  }
6473 
6474  public static Z3_ast Z3_mk_fpa_numeral_float(Z3_context a0, float a1, Z3_sort a2) {
6475  Z3_ast r = LIB.Z3_mk_fpa_numeral_float(a0, a1, a2);
6477  if (err != Z3_error_code.Z3_OK)
6478  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6479  return r;
6480  }
6481 
6482  public static Z3_ast Z3_mk_fpa_numeral_double(Z3_context a0, double a1, Z3_sort a2) {
6483  Z3_ast r = LIB.Z3_mk_fpa_numeral_double(a0, a1, a2);
6485  if (err != Z3_error_code.Z3_OK)
6486  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6487  return r;
6488  }
6489 
6490  public static Z3_ast Z3_mk_fpa_numeral_int(Z3_context a0, int a1, Z3_sort a2) {
6491  Z3_ast r = LIB.Z3_mk_fpa_numeral_int(a0, a1, a2);
6493  if (err != Z3_error_code.Z3_OK)
6494  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6495  return r;
6496  }
6497 
6498  public static Z3_ast Z3_mk_fpa_numeral_int_uint(Z3_context a0, int a1, int a2, uint a3, Z3_sort a4) {
6499  Z3_ast r = LIB.Z3_mk_fpa_numeral_int_uint(a0, a1, a2, a3, a4);
6501  if (err != Z3_error_code.Z3_OK)
6502  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6503  return r;
6504  }
6505 
6506  public static Z3_ast Z3_mk_fpa_numeral_int64_uint64(Z3_context a0, int a1, Int64 a2, UInt64 a3, Z3_sort a4) {
6507  Z3_ast r = LIB.Z3_mk_fpa_numeral_int64_uint64(a0, a1, a2, a3, a4);
6509  if (err != Z3_error_code.Z3_OK)
6510  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6511  return r;
6512  }
6513 
6514  public static Z3_ast Z3_mk_fpa_abs(Z3_context a0, Z3_ast a1) {
6515  Z3_ast r = LIB.Z3_mk_fpa_abs(a0, a1);
6517  if (err != Z3_error_code.Z3_OK)
6518  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6519  return r;
6520  }
6521 
6522  public static Z3_ast Z3_mk_fpa_neg(Z3_context a0, Z3_ast a1) {
6523  Z3_ast r = LIB.Z3_mk_fpa_neg(a0, a1);
6525  if (err != Z3_error_code.Z3_OK)
6526  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6527  return r;
6528  }
6529 
6530  public static Z3_ast Z3_mk_fpa_add(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) {
6531  Z3_ast r = LIB.Z3_mk_fpa_add(a0, a1, a2, a3);
6533  if (err != Z3_error_code.Z3_OK)
6534  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6535  return r;
6536  }
6537 
6538  public static Z3_ast Z3_mk_fpa_sub(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) {
6539  Z3_ast r = LIB.Z3_mk_fpa_sub(a0, a1, a2, a3);
6541  if (err != Z3_error_code.Z3_OK)
6542  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6543  return r;
6544  }
6545 
6546  public static Z3_ast Z3_mk_fpa_mul(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) {
6547  Z3_ast r = LIB.Z3_mk_fpa_mul(a0, a1, a2, a3);
6549  if (err != Z3_error_code.Z3_OK)
6550  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6551  return r;
6552  }
6553 
6554  public static Z3_ast Z3_mk_fpa_div(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) {
6555  Z3_ast r = LIB.Z3_mk_fpa_div(a0, a1, a2, a3);
6557  if (err != Z3_error_code.Z3_OK)
6558  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6559  return r;
6560  }
6561 
6562  public static Z3_ast Z3_mk_fpa_fma(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3, Z3_ast a4) {
6563  Z3_ast r = LIB.Z3_mk_fpa_fma(a0, a1, a2, a3, a4);
6565  if (err != Z3_error_code.Z3_OK)
6566  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6567  return r;
6568  }
6569 
6570  public static Z3_ast Z3_mk_fpa_sqrt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
6571  Z3_ast r = LIB.Z3_mk_fpa_sqrt(a0, a1, a2);
6573  if (err != Z3_error_code.Z3_OK)
6574  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6575  return r;
6576  }
6577 
6578  public static Z3_ast Z3_mk_fpa_rem(Z3_context a0, Z3_ast a1, Z3_ast a2) {
6579  Z3_ast r = LIB.Z3_mk_fpa_rem(a0, a1, a2);
6581  if (err != Z3_error_code.Z3_OK)
6582  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6583  return r;
6584  }
6585 
6587  Z3_ast r = LIB.Z3_mk_fpa_round_to_integral(a0, a1, a2);
6589  if (err != Z3_error_code.Z3_OK)
6590  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6591  return r;
6592  }
6593 
6594  public static Z3_ast Z3_mk_fpa_min(Z3_context a0, Z3_ast a1, Z3_ast a2) {
6595  Z3_ast r = LIB.Z3_mk_fpa_min(a0, a1, a2);
6597  if (err != Z3_error_code.Z3_OK)
6598  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6599  return r;
6600  }
6601 
6602  public static Z3_ast Z3_mk_fpa_max(Z3_context a0, Z3_ast a1, Z3_ast a2) {
6603  Z3_ast r = LIB.Z3_mk_fpa_max(a0, a1, a2);
6605  if (err != Z3_error_code.Z3_OK)
6606  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6607  return r;
6608  }
6609 
6610  public static Z3_ast Z3_mk_fpa_leq(Z3_context a0, Z3_ast a1, Z3_ast a2) {
6611  Z3_ast r = LIB.Z3_mk_fpa_leq(a0, a1, a2);
6613  if (err != Z3_error_code.Z3_OK)
6614  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6615  return r;
6616  }
6617 
6618  public static Z3_ast Z3_mk_fpa_lt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
6619  Z3_ast r = LIB.Z3_mk_fpa_lt(a0, a1, a2);
6621  if (err != Z3_error_code.Z3_OK)
6622  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6623  return r;
6624  }
6625 
6626  public static Z3_ast Z3_mk_fpa_geq(Z3_context a0, Z3_ast a1, Z3_ast a2) {
6627  Z3_ast r = LIB.Z3_mk_fpa_geq(a0, a1, a2);
6629  if (err != Z3_error_code.Z3_OK)
6630  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6631  return r;
6632  }
6633 
6634  public static Z3_ast Z3_mk_fpa_gt(Z3_context a0, Z3_ast a1, Z3_ast a2) {
6635  Z3_ast r = LIB.Z3_mk_fpa_gt(a0, a1, a2);
6637  if (err != Z3_error_code.Z3_OK)
6638  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6639  return r;
6640  }
6641 
6642  public static Z3_ast Z3_mk_fpa_eq(Z3_context a0, Z3_ast a1, Z3_ast a2) {
6643  Z3_ast r = LIB.Z3_mk_fpa_eq(a0, a1, a2);
6645  if (err != Z3_error_code.Z3_OK)
6646  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6647  return r;
6648  }
6649 
6651  Z3_ast r = LIB.Z3_mk_fpa_is_normal(a0, a1);
6653  if (err != Z3_error_code.Z3_OK)
6654  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6655  return r;
6656  }
6657 
6659  Z3_ast r = LIB.Z3_mk_fpa_is_subnormal(a0, a1);
6661  if (err != Z3_error_code.Z3_OK)
6662  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6663  return r;
6664  }
6665 
6666  public static Z3_ast Z3_mk_fpa_is_zero(Z3_context a0, Z3_ast a1) {
6667  Z3_ast r = LIB.Z3_mk_fpa_is_zero(a0, a1);
6669  if (err != Z3_error_code.Z3_OK)
6670  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6671  return r;
6672  }
6673 
6675  Z3_ast r = LIB.Z3_mk_fpa_is_infinite(a0, a1);
6677  if (err != Z3_error_code.Z3_OK)
6678  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6679  return r;
6680  }
6681 
6682  public static Z3_ast Z3_mk_fpa_is_nan(Z3_context a0, Z3_ast a1) {
6683  Z3_ast r = LIB.Z3_mk_fpa_is_nan(a0, a1);
6685  if (err != Z3_error_code.Z3_OK)
6686  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6687  return r;
6688  }
6689 
6691  Z3_ast r = LIB.Z3_mk_fpa_is_negative(a0, a1);
6693  if (err != Z3_error_code.Z3_OK)
6694  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6695  return r;
6696  }
6697 
6699  Z3_ast r = LIB.Z3_mk_fpa_is_positive(a0, a1);
6701  if (err != Z3_error_code.Z3_OK)
6702  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6703  return r;
6704  }
6705 
6706  public static Z3_ast Z3_mk_fpa_to_fp_bv(Z3_context a0, Z3_ast a1, Z3_sort a2) {
6707  Z3_ast r = LIB.Z3_mk_fpa_to_fp_bv(a0, a1, a2);
6709  if (err != Z3_error_code.Z3_OK)
6710  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6711  return r;
6712  }
6713 
6715  Z3_ast r = LIB.Z3_mk_fpa_to_fp_float(a0, a1, a2, a3);
6717  if (err != Z3_error_code.Z3_OK)
6718  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6719  return r;
6720  }
6721 
6722  public static Z3_ast Z3_mk_fpa_to_fp_real(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_sort a3) {
6723  Z3_ast r = LIB.Z3_mk_fpa_to_fp_real(a0, a1, a2, a3);
6725  if (err != Z3_error_code.Z3_OK)
6726  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6727  return r;
6728  }
6729 
6731  Z3_ast r = LIB.Z3_mk_fpa_to_fp_signed(a0, a1, a2, a3);
6733  if (err != Z3_error_code.Z3_OK)
6734  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6735  return r;
6736  }
6737 
6739  Z3_ast r = LIB.Z3_mk_fpa_to_fp_unsigned(a0, a1, a2, a3);
6741  if (err != Z3_error_code.Z3_OK)
6742  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6743  return r;
6744  }
6745 
6746  public static Z3_ast Z3_mk_fpa_to_ubv(Z3_context a0, Z3_ast a1, Z3_ast a2, uint a3) {
6747  Z3_ast r = LIB.Z3_mk_fpa_to_ubv(a0, a1, a2, a3);
6749  if (err != Z3_error_code.Z3_OK)
6750  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6751  return r;
6752  }
6753 
6754  public static Z3_ast Z3_mk_fpa_to_sbv(Z3_context a0, Z3_ast a1, Z3_ast a2, uint a3) {
6755  Z3_ast r = LIB.Z3_mk_fpa_to_sbv(a0, a1, a2, a3);
6757  if (err != Z3_error_code.Z3_OK)
6758  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6759  return r;
6760  }
6761 
6762  public static Z3_ast Z3_mk_fpa_to_real(Z3_context a0, Z3_ast a1) {
6763  Z3_ast r = LIB.Z3_mk_fpa_to_real(a0, a1);
6765  if (err != Z3_error_code.Z3_OK)
6766  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6767  return r;
6768  }
6769 
6770  public static uint Z3_fpa_get_ebits(Z3_context a0, Z3_sort a1) {
6771  uint r = LIB.Z3_fpa_get_ebits(a0, a1);
6773  if (err != Z3_error_code.Z3_OK)
6774  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6775  return r;
6776  }
6777 
6778  public static uint Z3_fpa_get_sbits(Z3_context a0, Z3_sort a1) {
6779  uint r = LIB.Z3_fpa_get_sbits(a0, a1);
6781  if (err != Z3_error_code.Z3_OK)
6782  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6783  return r;
6784  }
6785 
6786  public static int Z3_fpa_get_numeral_sign(Z3_context a0, Z3_ast a1, [In, Out] ref int a2) {
6787  int r = LIB.Z3_fpa_get_numeral_sign(a0, a1, ref a2);
6789  if (err != Z3_error_code.Z3_OK)
6790  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6791  return r;
6792  }
6793 
6795  IntPtr r = LIB.Z3_fpa_get_numeral_significand_string(a0, a1);
6797  if (err != Z3_error_code.Z3_OK)
6798  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6799  return Marshal.PtrToStringAnsi(r);
6800  }
6801 
6802  public static int Z3_fpa_get_numeral_significand_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2) {
6803  int r = LIB.Z3_fpa_get_numeral_significand_uint64(a0, a1, ref a2);
6805  if (err != Z3_error_code.Z3_OK)
6806  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6807  return r;
6808  }
6809 
6811  IntPtr r = LIB.Z3_fpa_get_numeral_exponent_string(a0, a1);
6813  if (err != Z3_error_code.Z3_OK)
6814  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6815  return Marshal.PtrToStringAnsi(r);
6816  }
6817 
6818  public static int Z3_fpa_get_numeral_exponent_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2) {
6819  int r = LIB.Z3_fpa_get_numeral_exponent_int64(a0, a1, ref a2);
6821  if (err != Z3_error_code.Z3_OK)
6822  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6823  return r;
6824  }
6825 
6827  Z3_ast r = LIB.Z3_mk_fpa_to_ieee_bv(a0, a1);
6829  if (err != Z3_error_code.Z3_OK)
6830  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6831  return r;
6832  }
6833 
6835  Z3_ast r = LIB.Z3_mk_fpa_to_fp_int_real(a0, a1, a2, a3, a4);
6837  if (err != Z3_error_code.Z3_OK)
6838  throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));
6839  return r;
6840  }
6841 
6842  }
6843 
6844 }
6845 
Z3_probe Z3_API Z3_probe_and(Z3_context x, Z3_probe p1, Z3_probe p2)
Return a probe that evaluates to "true" when p1 and p2 evaluates to true.
static uint Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1)
Definition: Native.cs:2114
static string Z3_rcf_num_to_decimal_string(Z3_context a0, Z3_rcf_num a1, uint a2)
Definition: Native.cs:6207
Z3_sort Z3_API Z3_mk_fpa_sort_32(Z3_context c)
Create the single-precision (32-bit) FloatingPoint sort.
static Z3_ast Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2630
void Z3_API Z3_solver_push(Z3_context c, Z3_solver s)
Create a backtracking point.
static void Z3_params_set_uint(Z3_context a0, Z3_params a1, IntPtr a2, uint a3)
Definition: Native.cs:2056
Z3_param_descrs Z3_API Z3_optimize_get_param_descrs(Z3_context c, Z3_optimize o)
Return the parameter description set for the given optimize object.
static void Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4346
static IntPtr Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3470
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:5437
Z3_ast Z3_API Z3_mk_unsigned_int(Z3_context c, unsigned v, Z3_sort ty)
Create a numeral of a int, bit-vector, or finite-domain sort.
Z3_ast Z3_API Z3_mk_fpa_numeral_int64_uint64(Z3_context c, Z3_bool sgn, __int64 exp, __uint64 sig, Z3_sort ty)
Create a numeral of FloatingPoint sort from a sign bit and two 64-bit integers.
static Z3_ast Z3_mk_fpa_zero(Z3_context a0, Z3_sort a1, int a2)
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:2310
Z3_string Z3_API Z3_get_probe_name(Z3_context c, unsigned i)
Return the name of the i probe.
static Z3_solver Z3_mk_solver_from_tactic(Z3_context a0, Z3_tactic a1)
Definition: Native.cs:5333
static void Z3_goal_dec_ref(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4854
void Z3_API Z3_rcf_del(Z3_context c, Z3_rcf_num a)
Delete a RCF numeral created using the RCF API.
static int Z3_open_log(string a0)
Definition: Native.cs:4112
static Z3_ast Z3_mk_bv2int(Z3_context a0, Z3_ast a1, int a2)
static Z3_sort Z3_mk_fpa_sort_16(Z3_context a0)
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()
static Z3_sort Z3_mk_fpa_sort_64(Z3_context a0)
Definition: Native.cs:6418
Z3_ast Z3_API Z3_mk_fpa_fma(Z3_context c, Z3_ast rm, Z3_ast t1, Z3_ast t2, Z3_ast t3)
Floating-point fused multiply-add.
void Z3_API Z3_stats_inc_ref(Z3_context c, Z3_stats s)
Increment the reference counter of the given statistics object.
static Z3_param_descrs Z3_fixedpoint_get_param_descrs(Z3_context a0, Z3_fixedpoint a1)
Z3_ast Z3_API Z3_mk_true(Z3_context c)
Create an AST node representing true.
static Z3_ast Z3_mk_fpa_div(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Z3_ast Z3_API Z3_mk_distinct(Z3_context c, unsigned num_args, Z3_ast const args[])
Create an AST node representing distinct(args[0], ..., args[num_args-1]).The distinct construct is us...
Z3_fixedpoint Z3_API Z3_mk_fixedpoint(Z3_context c)
Create a new fixedpoint context.
Z3_string Z3_API Z3_context_to_string(Z3_context c)
Convert the given logical context into a string.
Z3_probe Z3_API Z3_probe_le(Z3_context x, Z3_probe p1, 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 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:2210
Z3_symbol Z3_API Z3_get_label_symbol(Z3_context c, Z3_literals lbls, unsigned idx)
Retrieve label symbol at idx.
static Z3_ast Z3_mk_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3)
Definition: Native.cs:2854
Z3_ast Z3_API Z3_mk_real2int(Z3_context c, Z3_ast t1)
Coerce a real to an integer.
Z3_sort Z3_API Z3_mk_bv_sort(Z3_context c, unsigned sz)
Create a bit-vector type of the given size.
static Z3_sort Z3_mk_uninterpreted_sort(Z3_context a0, IntPtr a1)
Definition: Native.cs:2154
static string Z3_get_tactic_name(Z3_context a0, uint a1)
Definition: Native.cs:5183
static void Z3_solver_pop(Z3_context a0, Z3_solver a1, uint a2)
Definition: Native.cs:5385
static Z3_ast Z3_mk_fpa_abs(Z3_context a0, Z3_ast a1)
Definition: Native.cs:6514
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:4521
Z3_bool Z3_API Z3_open_log(Z3_string filename)
Log interaction to a file.
Z3_func_decl Z3_API Z3_mk_fresh_func_decl(Z3_context c, Z3_string prefix, unsigned domain_size, Z3_sort const domain[], Z3_sort range)
Declare a fresh constant or function.
static Z3_ast Z3_mk_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_ast Z3_API Z3_mk_bvnor(Z3_context c, Z3_ast t1, Z3_ast t2)
Bitwise nor.
static Z3_sort Z3_mk_fpa_sort_half(Z3_context a0)
static uint Z3_goal_num_exprs(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4915
static Z3_ast Z3_mk_fpa_rna(Z3_context a0)
static void Z3_model_inc_ref(Z3_context a0, Z3_model a1)
Definition: Native.cs:3910
static Z3_tactic Z3_tactic_or_else(Z3_context a0, Z3_tactic a1, Z3_tactic a2)
Definition: Native.cs:5007
void Z3_API Z3_global_param_set(Z3_string param_id, Z3_string param_value)
Set a global (or module) parameter. This setting is shared by all Z3 contexts.
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:3198
static Z3_ast Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, uint a2)
Definition: Native.cs:4711
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:2226
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:5493
Z3_literals Z3_API Z3_get_guessed_literals(Z3_context c)
Retrieve the set of literals that whose assignment were guess, but not propagated during the search...
static Z3_ast Z3_mk_fpa_round_to_integral(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:6586
static Z3_func_decl Z3_mk_injective_function(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4)
void Z3_API Z3_solver_set_params(Z3_context c, Z3_solver s, Z3_params p)
Set the given solver using the given parameters.
static double Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, uint a2)
Definition: Native.cs:5555
static Z3_func_decl Z3_get_model_constant(Z3_context a0, Z3_model a1, uint a2)
Definition: Native.cs:5753
Z3_func_decl Z3_API Z3_get_model_func_decl(Z3_context c, Z3_model m, unsigned i)
Return the declaration of the i-th function in the given model.
static Z3_ast Z3_get_smtlib_formula(Z3_context a0, uint a1)
Definition: Native.cs:4222
static Z3_ast Z3_mk_pble(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In] int[] a3, int a4)
Definition: Native.cs:3358
static Z3_ast Z3_mk_fpa_nan(Z3_context a0, Z3_sort a1)
static Z3_ast Z3_mk_bvneg_no_overflow(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2894
Z3_string Z3_API Z3_apply_result_to_string(Z3_context c, Z3_apply_result r)
Convert the Z3_apply_result object returned by Z3_tactic_apply into a string.
static Z3_sort Z3_get_array_sort_range(Z3_context a0, Z3_sort a1)
Definition: Native.cs:3262
static Z3_ast Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2)
static Z3_sort Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, uint a2)
Z3_string Z3_API Z3_get_decl_rational_parameter(Z3_context c, Z3_func_decl d, unsigned idx)
Return the rational value, as a string, associated with a rational parameter.
static Z3_tactic Z3_tactic_par_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2)
Definition: Native.cs:5023
static void Z3_push(Z3_context a0)
Z3_bool Z3_API Z3_goal_inconsistent(Z3_context c, Z3_goal g)
Return true if the given goal contains the formula false.
void Z3_API Z3_fixedpoint_add_rule(Z3_context c, Z3_fixedpoint d, Z3_ast rule, Z3_symbol name)
Add a universal Horn clause as a named rule. The horn_rule should be of the form: ...
static Z3_rcf_num Z3_rcf_div(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
void Z3_API Z3_ast_map_inc_ref(Z3_context c, Z3_ast_map m)
Increment the reference counter of the given AST map.
static uint Z3_optimize_minimize(Z3_context a0, Z3_optimize a1, Z3_ast a2)
static int Z3_algebraic_is_zero(Z3_context a0, Z3_ast a1)
Definition: Native.cs:5904
Z3_ast Z3_API Z3_mk_quantifier_const_ex(Z3_context c, Z3_bool is_forall, unsigned weight, Z3_symbol quantifier_id, Z3_symbol skolem_id, unsigned num_bound, Z3_app const bound[], unsigned num_patterns, Z3_pattern const patterns[], unsigned num_no_patterns, Z3_ast const no_patterns[], Z3_ast body)
Create a universal or existential quantifier using a list of constants that will form the set of boun...
static void Z3_block_literals(Z3_context a0, Z3_literals a1)
Definition: Native.cs:5738
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:5761
Z3_sort Z3_API Z3_model_get_sort(Z3_context c, Z3_model m, unsigned i)
Return a uninterpreted sort that m assigns an interpretation.
static Z3_ast Z3_update_term(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3)
Definition: Native.cs:3878
Z3_ast Z3_API Z3_mk_fpa_rtz(Z3_context c)
Create a numeral of RoundingMode sort which represents the TowardZero rounding mode.
Z3_ast Z3_API Z3_mk_bvredand(Z3_context c, Z3_ast t1)
Take conjunction of bits in vector, return vector of length 1.
Z3_rcf_num Z3_API Z3_rcf_add(Z3_context c, Z3_rcf_num a, Z3_rcf_num b)
Return the value a + b.
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:6095
Z3_ast Z3_API Z3_mk_false(Z3_context c)
Create an AST node representing false.
Z3_ast_vector Z3_API Z3_solver_get_assertions(Z3_context c, Z3_solver s)
Return the set of asserted formulas as a goal object.
Z3_ast Z3_API Z3_mk_mod(Z3_context c, Z3_ast arg1, Z3_ast arg2)
Create an AST node representing arg1 mod arg2.The arguments must have int type.
static Z3_ast Z3_mk_fpa_to_real(Z3_context a0, Z3_ast a1)
Definition: Native.cs:6762
Z3_probe Z3_API Z3_probe_ge(Z3_context x, Z3_probe p1, Z3_probe p2)
Return a probe that evaluates to "true" when the value returned by p1 is greater than or equal to the...
Z3_sort Z3_API Z3_mk_fpa_sort_quadruple(Z3_context c)
Create the quadruple-precision (128-bit) FloatingPoint sort.
unsigned Z3_API Z3_func_interp_get_arity(Z3_context c, Z3_func_interp f)
Return the arity (number of arguments) of the given function interpretation.
static IntPtr Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3)
void Z3_API Z3_del_constructor(Z3_context c, Z3_constructor constr)
Reclaim memory allocated to constructor.
static Z3_ast Z3_mk_real2int(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2518
static Z3_ast_vector Z3_model_get_sort_universe(Z3_context a0, Z3_model a1, Z3_sort a2)
Definition: Native.cs:4004
static Z3_ast Z3_get_literal(Z3_context a0, Z3_literals a1, uint a2)
Definition: Native.cs:5723
static Z3_sort Z3_mk_datatype(Z3_context a0, IntPtr a1, uint a2, [In, Out] Z3_constructor[] a3)
static Z3_ast Z3_optimize_get_lower(Z3_context a0, Z3_optimize a1, uint a2)
Z3_param_descrs Z3_API Z3_tactic_get_param_descrs(Z3_context c, Z3_tactic t)
Return the parameter description set for the given tactic object.
static Z3_ast_vector Z3_polynomial_subresultants(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Definition: Native.cs:6032
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)
void Z3_API Z3_goal_reset(Z3_context c, Z3_goal g)
Erase all formulas from the given goal.
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:5638
Z3_ast Z3_API Z3_mk_fpa_fp(Z3_context c, Z3_ast sgn, Z3_ast exp, Z3_ast sig)
Create an expression of FloatingPoint sort from three bit-vector expressions.
Z3_ast_vector Z3_API Z3_algebraic_roots(Z3_context c, Z3_ast p, unsigned n, Z3_ast a[])
Given a multivariate polynomial p(x_0, ..., x_{n-1}, x_n), returns the roots of the univariate polyno...
Z3_sort Z3_API Z3_mk_tuple_sort(Z3_context c, Z3_symbol mk_tuple_name, unsigned num_fields, Z3_symbol const field_names[], Z3_sort const field_sorts[], Z3_func_decl *mk_tuple_decl, Z3_func_decl proj_decl[])
Create a tuple type.
static Z3_ast Z3_mk_fpa_to_ubv(Z3_context a0, Z3_ast a1, Z3_ast a2, uint a3)
Definition: Native.cs:6746
static Z3_ast Z3_mk_set_intersect(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:3006
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:2710
Z3_string Z3_API Z3_rcf_num_to_string(Z3_context c, Z3_rcf_num a, Z3_bool compact, Z3_bool html)
Convert the RCF numeral into a string.
static uint Z3_get_relation_arity(Z3_context a0, Z3_sort a1)
Definition: Native.cs:3334
static IntPtr Z3_get_decl_name(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3390
Z3_func_decl Z3_API Z3_get_datatype_sort_constructor_accessor(Z3_context c, Z3_sort t, unsigned idx_c, unsigned idx_a)
Return idx_a'th accessor for the idx_c'th constructor.
Z3_tactic Z3_API Z3_tactic_when(Z3_context c, Z3_probe p, 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...
Z3_ast Z3_API Z3_mk_bound(Z3_context c, unsigned index, Z3_sort ty)
Create a bound variable.
static void Z3_rcf_del(Z3_context a0, Z3_rcf_num a1)
Definition: Native.cs:6040
void Z3_API Z3_rcf_get_numerator_denominator(Z3_context c, Z3_rcf_num a, Z3_rcf_num *n, Z3_rcf_num *d)
Extract the "numerator" and "denominator" of the given RCF numeral. We have that a = n/d...
static int Z3_algebraic_eq(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_ast Z3_API Z3_mk_interpolant(Z3_context c, Z3_ast a)
Create an AST node marking a formula position for interpolation.
static Z3_ast Z3_fixedpoint_get_answer(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4390
static Z3_ast Z3_mk_mul(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2422
static void Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1)
void Z3_API Z3_ast_map_erase(Z3_context c, Z3_ast_map m, Z3_ast k)
Erase a key from the map.
static Z3_ast Z3_mk_mod(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2454
Z3_ast Z3_API Z3_mk_fpa_to_ubv(Z3_context c, Z3_ast rm, Z3_ast t, unsigned sz)
Conversion of a floating-point term into an unsigned bit-vector.
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)
Z3_lbool Z3_API Z3_get_implied_equalities(Z3_context c, Z3_solver s, unsigned num_terms, Z3_ast const terms[], unsigned class_ids[])
Retrieve congruence class representatives for terms.
Z3_ast Z3_API Z3_mk_mul(Z3_context c, unsigned 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_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:4884
static Z3_func_decl Z3_get_model_constant(Z3_context a0, Z3_model a1, uint a2)
static void Z3_interrupt(Z3_context a0)
using System
static string Z3_fpa_get_numeral_exponent_string(Z3_context a0, Z3_ast a1)
Definition: Native.cs:6810
void Z3_API Z3_tactic_inc_ref(Z3_context c, Z3_tactic t)
Increment the reference counter of the given tactic.
Z3_ast Z3_API Z3_pattern_to_ast(Z3_context c, Z3_pattern p)
Convert a Z3_pattern into Z3_ast. This is just type casting.
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)
static Z3_apply_result Z3_tactic_apply_ex(Z3_context a0, Z3_tactic a1, Z3_goal a2, Z3_params a3)
void Z3_API Z3_solver_pop(Z3_context c, Z3_solver s, unsigned n)
Backtrack n backtracking points.
static void Z3_goal_reset(Z3_context a0, Z3_goal a1)
Z3_symbol Z3_API Z3_get_decl_name(Z3_context c, Z3_func_decl d)
Return the constant declaration name as a symbol.
static Z3_sort Z3_mk_bv_sort(Z3_context a0, uint a1)
Z3_literals Z3_API Z3_get_relevant_labels(Z3_context c)
Retrieve the set of labels that were relevant in the context of the current satisfied context...
static int Z3_goal_inconsistent(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4876
Z3_sort Z3_API Z3_mk_fpa_sort(Z3_context c, unsigned ebits, unsigned sbits)
Create a FloatingPoint sort.
Z3_ast Z3_API Z3_mk_fpa_to_real(Z3_context c, Z3_ast t)
Conversion of a floating-point term into a real-numbered term.
void Z3_API Z3_func_interp_inc_ref(Z3_context c, Z3_func_interp f)
Increment the reference counter of the given Z3_func_interp object.
static Z3_ast Z3_mk_bvneg_no_overflow(Z3_context a0, Z3_ast a1)
static Z3_ast Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2)
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:2966
static uint Z3_model_get_num_sorts(Z3_context a0, Z3_model a1)
Definition: Native.cs:3988
void Z3_API Z3_disable_trace(Z3_string tag)
Disable tracing messages tagged as tag when Z3 is compiled in debug mode. It is a NOOP otherwise...
static Z3_ast Z3_mk_fpa_eq(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:6642
static IntPtr Z3_mk_int_symbol(Z3_context a0, int a1)
Z3_ast Z3_API Z3_mk_full_set(Z3_context c, Z3_sort domain)
Create the full set.
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:5539
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:5731
static Z3_ast Z3_mk_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_rcf_num Z3_API Z3_rcf_sub(Z3_context c, Z3_rcf_num a, Z3_rcf_num b)
Return the value a - b.
static Z3_sort Z3_get_sort(Z3_context a0, Z3_ast a1)
static Z3_ast Z3_mk_fpa_to_fp_float(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_sort a3)
Definition: Native.cs:6714
static Z3_apply_result Z3_tactic_apply(Z3_context a0, Z3_tactic a1, Z3_goal a2)
Definition: Native.cs:5247
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:5301
static Z3_sort Z3_mk_real_sort(Z3_context a0)
Definition: Native.cs:2178
Z3_params Z3_API Z3_mk_params(Z3_context c)
Create a Z3 (empty) parameter set. Starting at Z3 4.0, parameter sets are used to configure many comp...
static Z3_literals Z3_get_relevant_labels(Z3_context a0)
static Z3_ast Z3_mk_fpa_round_nearest_ties_to_even(Z3_context a0)
Definition: Native.cs:6290
Z3_tactic Z3_API Z3_tactic_and_then(Z3_context c, Z3_tactic t1, Z3_tactic t2)
Return a tactic that applies t1 to a given goal and t2 to every subgoal produced by t1...
Z3_symbol_kind Z3_API Z3_get_symbol_kind(Z3_context c, Z3_symbol s)
Return Z3_INT_SYMBOL if the symbol was constructed using Z3_mk_int_symbol, and Z3_STRING_SYMBOL if th...
unsigned Z3_API Z3_get_model_num_constants(Z3_context c, Z3_model m)
Return the number of constants assigned by the given model.
void Z3_API Z3_ast_vector_inc_ref(Z3_context c, Z3_ast_vector v)
Increment the reference counter of the given AST vector.
Z3_bool Z3_API Z3_is_eq_sort(Z3_context c, Z3_sort s1, Z3_sort s2)
compare sorts.
static Z3_ast Z3_mk_fpa_to_fp_signed(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_sort a3)
Definition: Native.cs:6730
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:6215
Z3_ast Z3_API Z3_mk_fpa_to_fp_int_real(Z3_context c, Z3_ast rm, Z3_ast exp, Z3_ast sig, Z3_sort s)
Conversion of a real-sorted significand and an integer-sorted exponent into a term of FloatingPoint s...
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_string Z3_API Z3_ast_to_string(Z3_context c, Z3_ast a)
Convert the given AST node into a string.
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:5630
Z3_symbol Z3_API Z3_mk_string_symbol(Z3_context c, Z3_string s)
Create a Z3 symbol using a C string.
Z3_ast Z3_API Z3_mk_fpa_to_sbv(Z3_context c, Z3_ast rm, Z3_ast t, unsigned sz)
Conversion of a floating-point term into a signed bit-vector.
static string Z3_stats_get_key(Z3_context a0, Z3_stats a1, uint a2)
Definition: Native.cs:5523
static Z3_sort Z3_get_array_sort_range(Z3_context a0, Z3_sort a1)
Z3_ast Z3_API Z3_mk_unary_minus(Z3_context c, Z3_ast arg)
Create an AST node representing -arg.The arguments must have int or real type.
Z3_bool Z3_API Z3_get_finite_domain_sort_size(Z3_context c, Z3_sort s, 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) == ...
static void Z3_global_param_reset_all()
Z3_ast_vector Z3_API Z3_model_get_sort_universe(Z3_context c, Z3_model m, Z3_sort s)
Return the finite set of distinct values that represent the interpretation for sort s...
static void Z3_optimize_pop(Z3_context a0, Z3_optimize a1)
Definition: Native.cs:4595
static uint Z3_rcf_mk_roots(Z3_context a0, uint a1, [In] Z3_rcf_num[] a2, [Out] Z3_rcf_num[] a3)
Definition: Native.cs:6087
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)
void Z3_API Z3_params_set_uint(Z3_context c, Z3_params p, Z3_symbol k, unsigned v)
Add a unsigned parameter k with value v to the parameter set p.
static Z3_ast Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2)
void Z3_API Z3_push(Z3_context c)
Create a backtracking point.
Z3_ast Z3_API Z3_mk_bvsgt(Z3_context c, Z3_ast t1, Z3_ast t2)
Two's complement signed greater than.
Z3_model Z3_API Z3_apply_result_convert_model(Z3_context c, Z3_apply_result r, unsigned i, Z3_model m)
Convert a model for the subgoal Z3_apply_result_get_subgoal(c, r, i) into a model for the original go...
Z3_lbool Z3_API Z3_optimize_check(Z3_context c, Z3_optimize o)
Check consistency and produce optimal values.
static Z3_ast Z3_get_model_func_else(Z3_context a0, Z3_model a1, uint a2)
Definition: Native.cs:5800
Z3_ast Z3_API Z3_mk_bvlshr(Z3_context c, Z3_ast t1, Z3_ast t2)
Logical shift right.
Z3_func_decl Z3_API Z3_model_get_func_decl(Z3_context c, Z3_model m, unsigned i)
Return the declaration of the i-th function in the given model.
Z3_ast Z3_API Z3_mk_fpa_is_zero(Z3_context c, Z3_ast t)
Predicate indicating whether t is a floating-point number with zero value, i.e., +zero or -zero...
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:5015
Z3_sort Z3_API Z3_get_smtlib_sort(Z3_context c, unsigned i)
Return the i-th sort parsed by the last call to Z3_parse_smtlib_string or Z3_parse_smtlib_file.
Z3_sort Z3_API Z3_mk_int_sort(Z3_context c)
Create the integer type.
static uint Z3_get_app_num_args(Z3_context a0, Z3_app a1)
Definition: Native.cs:3526
Z3_ast Z3_API Z3_mk_fpa_round_to_integral(Z3_context c, Z3_ast rm, Z3_ast t)
Floating-point roundToIntegral. Rounds a floating-point number to the closest integer, again represented as a floating-point number.
Z3_ast_vector Z3_API Z3_fixedpoint_from_string(Z3_context c, Z3_fixedpoint f, Z3_string s)
Parse an SMT-LIB2 string with fixedpoint rules. Add the rules to the current fixedpoint context...
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:2798
Z3_bool Z3_API Z3_algebraic_ge(Z3_context c, Z3_ast a, Z3_ast b)
Return Z3_TRUE if a >= b, and Z3_FALSE otherwise.
static int Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2)
Definition: Native.cs:3702
static Z3_rcf_num Z3_rcf_neg(Z3_context a0, Z3_rcf_num a1)
static Z3_func_decl Z3_get_model_func_decl(Z3_context a0, Z3_model a1, uint a2)
static void Z3_apply_result_dec_ref(Z3_context a0, Z3_apply_result a1)
Definition: Native.cs:5270
Z3_ast Z3_API Z3_mk_bvashr(Z3_context c, Z3_ast t1, Z3_ast t2)
Arithmetic shift right.
Z3_ast Z3_API Z3_mk_xor(Z3_context c, Z3_ast t1, Z3_ast t2)
Create an AST node representing t1 xor t2.
static Z3_ast Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_probe Z3_API Z3_probe_gt(Z3_context x, Z3_probe p1, Z3_probe p2)
Return a probe that evaluates to "true" when the value returned by p1 is greater than the value retur...
Z3_bool Z3_API Z3_rcf_neq(Z3_context c, Z3_rcf_num a, Z3_rcf_num b)
Return Z3_TRUE if a != b.
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:4200
static uint Z3_get_num_scopes(Z3_context a0)
Definition: Native.cs:5592
Z3_string Z3_API Z3_fpa_get_numeral_exponent_string(Z3_context c, Z3_ast t)
Return the exponent value of a floating-point numeral as a string.
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:3670
Z3_ast Z3_API Z3_mk_store(Z3_context c, Z3_ast a, Z3_ast i, Z3_ast v)
Array update.
static uint Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1)
Definition: Native.cs:3238
Z3_ast Z3_API Z3_mk_const(Z3_context c, Z3_symbol s, Z3_sort ty)
Declare and create a constant.
static Z3_ast Z3_mk_bv2int(Z3_context a0, Z3_ast a1, int a2)
Definition: Native.cs:2846
Z3_ast Z3_API Z3_ast_vector_get(Z3_context c, Z3_ast_vector v, unsigned i)
Return the AST at position i in the AST vector v.
static int Z3_algebraic_is_neg(Z3_context a0, Z3_ast a1)
Definition: Native.cs:5896
Z3_ast Z3_API Z3_mk_quantifier_const(Z3_context c, Z3_bool is_forall, unsigned weight, unsigned num_bound, Z3_app const bound[], unsigned num_patterns, Z3_pattern const patterns[], Z3_ast body)
Create a universal or existential quantifier using a list of constants that will form the set of boun...
static string Z3_tactic_get_descr(Z3_context a0, string a1)
Definition: Native.cs:5223
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:2218
static Z3_probe Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2)
Z3_tactic Z3_API Z3_mk_tactic(Z3_context c, Z3_string name)
Return a tactic associated with the given name. The complete list of tactics may be obtained using th...
static int Z3_algebraic_is_value(Z3_context a0, Z3_ast a1)
Definition: Native.cs:5880
Z3_ast Z3_API Z3_get_model_func_else(Z3_context c, Z3_model m, unsigned i)
Return the 'else' value of the i-th function interpretation in the given model.
unsigned Z3_API Z3_get_tuple_sort_num_fields(Z3_context c, Z3_sort t)
Return the number of fields of the given tuple sort.
Z3_probe Z3_API Z3_probe_const(Z3_context x, double val)
Return a probe that always evaluates to val.
static void Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1)
static Z3_ast Z3_mk_atmost(Z3_context a0, uint a1, [In] Z3_ast[] a2, uint a3)
Definition: Native.cs:3350
static void Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1)
Definition: Native.cs:4771
static IntPtr Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1)
static Z3_ast Z3_mk_fpa_is_normal(Z3_context a0, Z3_ast a1)
Definition: Native.cs:6650
static IntPtr Z3_get_smtlib_error(Z3_context a0)
void Z3_API Z3_stats_dec_ref(Z3_context c, Z3_stats s)
Decrement the reference counter of the given statistics object.
Z3_sort Z3_API Z3_get_array_sort_range(Z3_context c, Z3_sort t)
Return the range of the given array sort.
static Z3_ast Z3_get_numerator(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3654
Z3_ast Z3_API Z3_algebraic_mul(Z3_context c, Z3_ast a, Z3_ast b)
Return the value a * b.
void Z3_API Z3_set_error(Z3_context c, Z3_error_code e)
Set an error.
static Z3_ast Z3_mk_fpa_numeral_int_uint(Z3_context a0, int a1, int a2, uint a3, Z3_sort a4)
Definition: Native.cs:6498
static Z3_ast Z3_mk_fpa_is_infinite(Z3_context a0, Z3_ast a1)
Z3_probe Z3_API Z3_probe_eq(Z3_context x, Z3_probe p1, Z3_probe p2)
Return a probe that evaluates to "true" when the value returned by p1 is equal to the value returned ...
Z3_ast Z3_API Z3_mk_concat(Z3_context c, Z3_ast t1, Z3_ast t2)
Concatenate the given bit-vectors.
Z3_string Z3_API Z3_interpolation_profile(Z3_context ctx)
Z3_ast Z3_API Z3_mk_int64(Z3_context c, __int64 v, Z3_sort ty)
Create a numeral of a int, bit-vector, or finite-domain sort.
static Z3_func_decl Z3_get_tuple_sort_mk_decl(Z3_context a0, Z3_sort a1)
Definition: Native.cs:3270
static void Z3_model_dec_ref(Z3_context a0, Z3_model a1)
Definition: Native.cs:3917
static void Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3)
static int Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2)
Z3_solver Z3_API Z3_mk_solver(Z3_context c)
Create a new (incremental) solver. This solver also uses a set of builtin tactics for handling the fi...
Z3_rcf_num Z3_API Z3_rcf_mk_infinitesimal(Z3_context c)
Return a new infinitesimal that is smaller than all elements in the Z3 field.
static Z3_ast Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2)
Z3_ast Z3_API Z3_substitute(Z3_context c, Z3_ast a, unsigned num_exprs, Z3_ast const from[], 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_ast Z3_API Z3_mk_bvuge(Z3_context c, Z3_ast t1, Z3_ast t2)
Unsigned greater than or equal to.
static Z3_config Z3_mk_config()
static string Z3_tactic_get_help(Z3_context a0, Z3_tactic a1)
Definition: Native.cs:5207
Z3_ast Z3_API Z3_mk_bvugt(Z3_context c, Z3_ast t1, Z3_ast t2)
Unsigned greater than.
Z3_error_code
Z3_error_code
Z3_optimize Z3_API Z3_mk_optimize(Z3_context c)
Create a new optimize context.
void Z3_API Z3_optimize_assert(Z3_context c, Z3_optimize o, Z3_ast a)
Assert hard constraint to the optimization context.
static Z3_sort Z3_get_decl_sort_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3478
static uint Z3_get_sort_kind(Z3_context a0, Z3_sort a1)
Definition: Native.cs:3230
static uint Z3_model_get_num_consts(Z3_context a0, Z3_model a1)
Definition: Native.cs:3956
Z3_bool Z3_API Z3_rcf_lt(Z3_context c, Z3_rcf_num a, Z3_rcf_num b)
Return Z3_TRUE if a < b.
static uint Z3_get_bool_value(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3582
static Z3_ast Z3_mk_fpa_max(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:6602
static Z3_probe Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2)
Definition: Native.cs:5159
static Z3_ast Z3_mk_fpa_inf(Z3_context a0, Z3_sort a1, int a2)
Z3_sort Z3_API Z3_mk_fpa_sort_single(Z3_context c)
Create the single-precision (32-bit) FloatingPoint sort.
static Z3_ast Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2)
static uint Z3_get_sort_id(Z3_context a0, Z3_sort a1)
Definition: Native.cs:3206
void Z3_API Z3_del_context(Z3_context c)
Delete the given logical context.
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:2318
Z3_ast Z3_API Z3_mk_app(Z3_context c, Z3_func_decl d, unsigned num_args, Z3_ast const args[])
Create a constant or function application.
Z3_sort Z3_API Z3_mk_datatype(Z3_context c, Z3_symbol name, unsigned 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.
Z3_ast Z3_API Z3_mk_set_del(Z3_context c, Z3_ast set, Z3_ast elem)
Remove an element to a set.
static uint Z3_get_model_num_funcs(Z3_context a0, Z3_model a1)
static Z3_ast Z3_mk_fpa_geq(Z3_context a0, Z3_ast a1, Z3_ast a2)
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:2265
Z3_goal Z3_API Z3_mk_goal(Z3_context c, Z3_bool models, Z3_bool unsat_cores, 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_optimize Z3_mk_optimize(Z3_context a0)
Definition: Native.cs:4535
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:3638
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:5191
Z3_bool Z3_API Z3_ast_map_contains(Z3_context c, Z3_ast_map m, Z3_ast k)
Return true if the map m contains the AST key k.
Z3_ast Z3_API Z3_mk_set_union(Z3_context c, unsigned num_args, Z3_ast const args[])
Take the union of a list of sets.
static void Z3_dec_ref(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2006
Z3_func_decl Z3_API Z3_model_get_const_decl(Z3_context c, Z3_model m, unsigned i)
Return the i-th constant in the given model.
static void Z3_fixedpoint_register_relation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2)
Definition: Native.cs:4444
static Z3_ast Z3_mk_bvmul_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2910
static Z3_ast Z3_mk_fpa_geq(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:6626
static Z3_ast Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2782
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:3710
static void Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1)
Definition: Native.cs:4696
static uint Z3_get_smtlib_num_assumptions(Z3_context a0)
Z3_sort Z3_API Z3_get_relation_column(Z3_context c, Z3_sort s, unsigned col)
Return sort at i&#39;th column of relation sort.
Z3_ast Z3_API Z3_mk_le(Z3_context c, Z3_ast t1, Z3_ast t2)
Create less than or equal to.
static Z3_ast Z3_optimize_get_lower(Z3_context a0, Z3_optimize a1, uint a2)
Definition: Native.cs:4641
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)
Z3_bool Z3_API Z3_set_logic(Z3_context c, Z3_string logic)
Set the SMTLIB logic to be used in the given logical context. It is incorrect to invoke this function...
Z3_symbol Z3_API Z3_param_descrs_get_name(Z3_context c, Z3_param_descrs p, unsigned i)
Return the number of parameters in the given parameter description set.
Z3_ast Z3_API Z3_mk_bvmul_no_underflow(Z3_context c, Z3_ast t1, Z3_ast t2)
Create a predicate that checks that the bit-wise signed multiplication of t1 and t2 does not underflo...
static Z3_sort Z3_mk_fpa_sort_128(Z3_context a0)
Definition: Native.cs:6434
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:5816
static Z3_probe Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2)
Definition: Native.cs:5127
static Z3_ast Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, uint a2)
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:3150
static Z3_ast Z3_mk_fpa_numeral_float(Z3_context a0, float a1, Z3_sort a2)
Z3_literals Z3_API Z3_get_relevant_literals(Z3_context c)
Retrieve the set of literals that satisfy the current context.
Z3_lbool Z3_API Z3_check_and_get_model(Z3_context c, Z3_model *m)
Check whether the given logical context is consistent or not.
static Z3_ast Z3_mk_bvsub_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_error_code
Z3 error codes (See Z3_get_error_code).
Definition: z3_api.h:1311
static Z3_ast_vector Z3_solver_get_assertions(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5421
static int Z3_algebraic_is_pos(Z3_context a0, Z3_ast a1)
Definition: Native.cs:5888
static int Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2)
Definition: Native.cs:3374
static Z3_ast Z3_mk_real(Z3_context a0, int a1, int a2)
Definition: Native.cs:3054
static uint Z3_stats_size(Z3_context a0, Z3_stats a1)
Definition: Native.cs:5515
Z3_ast Z3_API Z3_mk_or(Z3_context c, unsigned 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 Z3_ast Z3_mk_fpa_numeral_float(Z3_context a0, float a1, Z3_sort a2)
Definition: Native.cs:6474
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)
Z3_ast Z3_API Z3_parse_smtlib2_file(Z3_context c, Z3_string file_name, unsigned num_sorts, Z3_symbol const sort_names[], Z3_sort const sorts[], unsigned num_decls, Z3_symbol const decl_names[], Z3_func_decl const decls[])
Similar to Z3_parse_smtlib2_string, but reads the benchmark from a file.
static uint Z3_get_quantifier_num_no_patterns(Z3_context a0, Z3_ast a1)
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:2099
static Z3_ast Z3_mk_add(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Z3_ast Z3_API Z3_func_entry_get_arg(Z3_context c, Z3_func_entry e, unsigned i)
Return an argument of a Z3_func_entry object.
Z3_func_decl Z3_API Z3_get_as_array_func_decl(Z3_context c, Z3_ast a)
Return the function declaration f associated with a (_ as_array f) node.
int Z3_API Z3_check_interpolant(Z3_context ctx, unsigned num, Z3_ast cnsts[], unsigned parents[], Z3_ast *interps, Z3_string_ptr error, unsigned num_theory, Z3_ast theory[])
static Z3_ast Z3_substitute(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3, [In] Z3_ast[] a4)
Definition: Native.cs:3886
static Z3_rcf_num Z3_rcf_inv(Z3_context a0, Z3_rcf_num a1)
Definition: Native.cs:6135
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:2326
unsigned Z3_API Z3_get_decl_num_parameters(Z3_context c, Z3_func_decl d)
Return the number of parameters associated with a declaration.
static Z3_sort Z3_mk_real_sort(Z3_context a0)
static Z3_tactic Z3_tactic_cond(Z3_context a0, Z3_probe a1, Z3_tactic a2, Z3_tactic a3)
Definition: Native.cs:5047
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:1999
Z3_bool Z3_API Z3_is_eq_ast(Z3_context c, Z3_ast t1, Z3_ast t2)
compare terms.
Z3_ast Z3_API Z3_mk_bvule(Z3_context c, Z3_ast t1, Z3_ast t2)
Unsigned less than or equal to.
Z3_tactic Z3_API Z3_tactic_skip(Z3_context c)
Return a tactic that just return the given goal.
static Z3_app Z3_to_app(Z3_context a0, Z3_ast a1)
Z3_probe Z3_API Z3_mk_probe(Z3_context c, Z3_string name)
Return a probe associated with the given name. The complete list of probes may be obtained using the ...
static void Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1)
Definition: Native.cs:4689
static Z3_ast Z3_mk_false(Z3_context a0)
static uint Z3_get_decl_num_parameters(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3438
static string Z3_ast_to_string(Z3_context a0, Z3_ast a1)
Definition: Native.cs:4136
static void Z3_finalize_memory()
static Z3_func_decl Z3_to_func_decl(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3630
Z3_string Z3_API Z3_ast_vector_to_string(Z3_context c, Z3_ast_vector v)
Convert AST vector into a string.
static uint Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, uint a2)
unsigned Z3_API Z3_model_get_num_sorts(Z3_context c, Z3_model m)
Return the number of uninterpreted sorts that m assigs an interpretation to.
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:3924
static Z3_ast Z3_mk_or(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2406
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:3980
static uint Z3_goal_size(Z3_context a0, Z3_goal a1)
static void Z3_del_constructor(Z3_context a0, Z3_constructor a1)
static Z3_sort Z3_get_array_sort_domain(Z3_context a0, Z3_sort a1)
Z3_solver Z3_API Z3_mk_solver_for_logic(Z3_context c, 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_rcf_num Z3_rcf_mk_pi(Z3_context a0)
static void Z3_del_literals(Z3_context a0, Z3_literals a1)
Definition: Native.cs:5700
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:3798
static Z3_ast Z3_mk_interpolant(Z3_context a0, Z3_ast a1)
Definition: Native.cs:6222
Z3_decl_kind Z3_API Z3_get_decl_kind(Z3_context c, Z3_func_decl d)
Return declaration kind corresponding to declaration.
static Z3_stats Z3_solver_get_statistics(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5477
static Z3_ast Z3_mk_fpa_to_fp_int_real(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3, Z3_sort a4)
Definition: Native.cs:6834
static Z3_ast Z3_get_numerator(Z3_context a0, Z3_ast a1)
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:5143
Z3_string Z3_API Z3_get_tactic_name(Z3_context c, unsigned i)
Return the name of the idx tactic.
Z3_ast Z3_API Z3_mk_fpa_round_nearest_ties_to_even(Z3_context c)
Create a numeral of RoundingMode sort which represents the NearestTiesToEven rounding mode...
static void Z3_soft_check_cancel(Z3_context a0)
static void Z3_apply_result_inc_ref(Z3_context a0, Z3_apply_result a1)
Z3_ast Z3_API Z3_algebraic_root(Z3_context c, Z3_ast a, unsigned k)
Return the a^(1/k)
static uint Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1)
static Z3_ast Z3_mk_fpa_is_negative(Z3_context a0, Z3_ast a1)
Definition: Native.cs:6690
static Z3_ast Z3_mk_fpa_round_nearest_ties_to_away(Z3_context a0)
Definition: Native.cs:6306
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)
void Z3_API Z3_optimize_inc_ref(Z3_context c, Z3_optimize d)
Increment the reference counter of the given optimize context.
static Z3_ast Z3_mk_bvredand(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2542
static Z3_ast Z3_substitute_vars(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3)
Definition: Native.cs:3894
Z3_ast Z3_API Z3_solver_get_proof(Z3_context c, Z3_solver s)
Retrieve the proof for the last Z3_solver_check or Z3_solver_check_assumptions.
static int Z3_rcf_eq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Z3_lbool Z3_API Z3_solver_check_assumptions(Z3_context c, Z3_solver s, unsigned num_assumptions, Z3_ast const assumptions[])
Check whether the assertions in the given solver and optional assumptions are consistent or not...
unsigned Z3_API Z3_fpa_get_ebits(Z3_context c, Z3_sort s)
Retrieves the number of bits reserved for the exponent in a FloatingPoint sort.
Z3_goal Z3_API Z3_goal_translate(Z3_context source, Z3_goal g, Z3_context target)
Copy a goal g from the context source to a the context target.
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_func_decl_to_ast(Z3_context c, Z3_func_decl f)
Convert a Z3_func_decl into Z3_ast. This is just type casting.
Z3_ast Z3_API Z3_mk_const_array(Z3_context c, Z3_sort domain, Z3_ast v)
Create the constant array.
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:6243
Z3_ast Z3_API Z3_mk_add(Z3_context c, unsigned 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 void Z3_global_param_set(string a0, string a1)
static Z3_ast Z3_mk_fpa_fp(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Definition: Native.cs:6466
static uint Z3_get_num_literals(Z3_context a0, Z3_literals a1)
Z3_stats Z3_API Z3_fixedpoint_get_statistics(Z3_context c, Z3_fixedpoint d)
Retrieve statistics information from the last call to Z3_fixedpoint_query.
Z3_ast Z3_API Z3_simplify_ex(Z3_context c, Z3_ast a, Z3_params p)
Interface to simplifier.
static void Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1)
Definition: Native.cs:4970
Z3_ast Z3_API Z3_parse_smtlib2_string(Z3_context c, Z3_string str, unsigned num_sorts, Z3_symbol const sort_names[], Z3_sort const sorts[], unsigned num_decls, Z3_symbol const decl_names[], Z3_func_decl const decls[])
Parse the given string using the SMT-LIB2 parser.
static int Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_func_decl[] a3)
unsigned Z3_API Z3_get_sort_id(Z3_context c, Z3_sort s)
Return a unique identifier for s.
Z3_context Z3_API Z3_mk_context_rc(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 uint Z3_goal_precision(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4861
static Z3_ast Z3_goal_formula(Z3_context a0, Z3_goal a1, uint a2)
Definition: Native.cs:4907
Z3_apply_result Z3_API Z3_tactic_apply(Z3_context c, Z3_tactic t, Z3_goal g)
Apply tactic t to the goal g.
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)
void Z3_API Z3_update_param_value(Z3_context c, Z3_string param_id, Z3_string param_value)
Set a value of a context parameter.
static uint Z3_get_ast_hash(Z3_context a0, Z3_ast a1)
Z3_string Z3_API Z3_sort_to_string(Z3_context c, Z3_sort s)
static Z3_ast Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_ast Z3_API Z3_mk_empty_set(Z3_context c, Z3_sort domain)
Create the empty set.
Z3_ast Z3_API Z3_mk_ext_rotate_right(Z3_context c, Z3_ast t1, Z3_ast t2)
Rotate bits of t1 to the right t2 times.
static Z3_ast Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
unsigned Z3_API Z3_fpa_get_sbits(Z3_context c, Z3_sort s)
Retrieves the number of bits reserved for the significand in a FloatingPoint sort.
static Z3_ast Z3_mk_fpa_leq(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:6610
static Z3_ast Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2)
Definition: Native.cs:3902
static Z3_tactic Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, uint a2)
Definition: Native.cs:5031
static void Z3_persist_ast(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:5600
void Z3_API Z3_solver_reset(Z3_context c, Z3_solver s)
Remove all assertions from the solver.
Z3_ast Z3_API Z3_mk_fpa_is_subnormal(Z3_context c, Z3_ast t)
Predicate indicating whether t is a subnormal floating-point number.
Z3_bool Z3_API Z3_eval(Z3_context c, Z3_model m, Z3_ast t, Z3_ast *v)
Evaluate the AST node t in the given model. Return Z3_TRUE if succeeded, and store the result in v...
static void Z3_disable_literal(Z3_context a0, Z3_literals a1, uint a2)
Z3_string Z3_API Z3_statistics_to_string(Z3_context c)
Return runtime statistics as a string.
static Z3_tactic Z3_tactic_fail(Z3_context a0)
Definition: Native.cs:5071
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)
Z3_sort Z3_API Z3_get_quantifier_bound_sort(Z3_context c, Z3_ast a, unsigned i)
Return sort of the i&#39;th bound variable.
static Z3_ast Z3_mk_app(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3)
Definition: Native.cs:2294
static uint Z3_func_interp_get_num_entries(Z3_context a0, Z3_func_interp a1)
void Z3_API Z3_ast_vector_resize(Z3_context c, Z3_ast_vector v, unsigned n)
Resize the AST vector v.
static Z3_tactic Z3_tactic_par_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2)
static void Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1)
Definition: Native.cs:4074
unsigned Z3_API Z3_get_smtlib_num_decls(Z3_context c)
Return the number of declarations parsed by Z3_parse_smtlib_string or Z3_parse_smtlib_file.
static Z3_ast Z3_mk_fpa_round_toward_negative(Z3_context a0)
Definition: Native.cs:6338
static string Z3_solver_to_string(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5485
static Z3_ast Z3_mk_implies(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2382
static int Z3_rcf_lt(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:6151
Z3_parameter_kind Z3_API Z3_get_decl_parameter_kind(Z3_context c, Z3_func_decl d, unsigned idx)
Return the parameter type associated with a declaration.
static void Z3_param_descrs_inc_ref(Z3_context a0, Z3_param_descrs a1)
static uint Z3_model_get_num_sorts(Z3_context a0, Z3_model a1)
Z3_string Z3_API Z3_stats_get_key(Z3_context c, Z3_stats s, unsigned idx)
Return the key (a string) for a particular statistical data.
Z3_bool Z3_API Z3_fpa_get_numeral_exponent_int64(Z3_context c, Z3_ast t, __int64 *n)
Return the exponent value of a floating-point numeral as a signed 64-bit integer. ...
Z3_bool Z3_API Z3_algebraic_is_pos(Z3_context c, Z3_ast a)
Return the Z3_TRUE if a is positive, and Z3_FALSE otherwise.
static void Z3_mk_datatypes(Z3_context a0, uint a1, [In] IntPtr[] a2, [Out] Z3_sort[] a3, [In, Out] Z3_constructor_list[] a4)
Z3_ast Z3_API Z3_get_app_arg(Z3_context c, Z3_app a, unsigned i)
Return the i-th argument of the given application.
Z3_string Z3_API Z3_solver_get_help(Z3_context c, Z3_solver s)
Return a string describing all solver available parameters.
Z3_ast Z3_API Z3_mk_fpa_rne(Z3_context c)
Create a numeral of RoundingMode sort which represents the NearestTiesToEven rounding mode...
static void Z3_solver_reset(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5392
static int Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3454
Z3_func_decl Z3_API Z3_get_datatype_sort_recognizer(Z3_context c, Z3_sort t, unsigned idx)
Return idx&#39;th recognizer.
static IntPtr Z3_probe_get_descr(Z3_context a0, string a1)
static uint Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, uint a2)
Z3_sort Z3_API Z3_mk_list_sort(Z3_context c, Z3_symbol name, Z3_sort elem_sort, Z3_func_decl *nil_decl, Z3_func_decl *is_nil_decl, Z3_func_decl *cons_decl, Z3_func_decl *is_cons_decl, Z3_func_decl *head_decl, Z3_func_decl *tail_decl)
Create a list sort.
Z3_bool Z3_API Z3_is_app(Z3_context c, Z3_ast a)
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:5349
static int Z3_solver_check(Z3_context a0, Z3_solver a1)
static void Z3_rcf_del(Z3_context a0, Z3_rcf_num a1)
static Z3_solver Z3_mk_solver(Z3_context a0)
Definition: Native.cs:5309
static Z3_goal Z3_goal_translate(Z3_context a0, Z3_goal a1, Z3_context a2)
static Z3_ast Z3_mk_fpa_numeral_int64_uint64(Z3_context a0, int a1, Int64 a2, UInt64 a3, Z3_sort a4)
Definition: Native.cs:6506
static Z3_rcf_num Z3_rcf_mk_pi(Z3_context a0)
Definition: Native.cs:6063
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:3862
static Z3_ast Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2982
static IntPtr Z3_interpolation_profile(Z3_context a0)
void Z3_API Z3_func_interp_dec_ref(Z3_context c, Z3_func_interp f)
Decrement the reference counter of the given Z3_func_interp object.
static uint Z3_get_search_failure(Z3_context a0)
Definition: Native.cs:5660
void Z3_API Z3_persist_ast(Z3_context c, Z3_ast a, unsigned num_scopes)
Persist AST through num_scopes pops. This function is only relevant if c was created using Z3_mk_cont...
Z3_func_decl Z3_API Z3_get_tuple_sort_field_decl(Z3_context c, Z3_sort t, unsigned i)
Return the i-th field declaration (i.e., projection function declaration) of the given tuple sort...
static int Z3_algebraic_le(Z3_context a0, Z3_ast a1, Z3_ast a2)
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_stats Z3_API Z3_solver_get_statistics(Z3_context c, Z3_solver s)
Return statistics for the given solver.
void Z3_API Z3_ast_vector_dec_ref(Z3_context c, Z3_ast_vector v)
Decrement the reference counter of the given AST vector.
Z3_ast Z3_API Z3_mk_fpa_is_negative(Z3_context c, Z3_ast t)
Predicate indicating whether t is a negative floating-point number.
static Z3_ast Z3_mk_zero_ext(Z3_context a0, uint a1, Z3_ast a2)
Definition: Native.cs:2766
Z3_ast Z3_API Z3_mk_fpa_round_toward_zero(Z3_context c)
Create a numeral of RoundingMode sort which represents the TowardZero rounding mode.
static Z3_ast Z3_get_quantifier_no_pattern_ast(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:3806
static Z3_func_interp Z3_model_get_func_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2)
Definition: Native.cs:3948
static void Z3_solver_inc_ref(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5364
Z3_symbol Z3_API Z3_get_decl_symbol_parameter(Z3_context c, Z3_func_decl d, unsigned idx)
Return the double value associated with an double parameter.
static Z3_ast Z3_mk_fpa_rne(Z3_context a0)
static void Z3_dec_ref(Z3_context a0, Z3_ast a1)
Z3_ast Z3_API Z3_mk_set_intersect(Z3_context c, unsigned num_args, Z3_ast const args[])
Take the intersection of a list of sets.
static uint Z3_get_symbol_kind(Z3_context a0, IntPtr a1)
Definition: Native.cs:3174
Z3_ast Z3_API Z3_mk_array_default(Z3_context c, Z3_ast array)
Access the array default value. Produces the default range value, for arrays that can be represented ...
static uint Z3_get_num_tactics(Z3_context a0)
Z3_string Z3_API Z3_pattern_to_string(Z3_context c, Z3_pattern p)
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:2486
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:4992
static void Z3_fixedpoint_set_params(Z3_context a0, Z3_fixedpoint a1, Z3_params a2)
Definition: Native.cs:4474
static void Z3_set_logic(Z3_context a0, string a1)
Definition: Native.cs:5571
static Z3_probe Z3_probe_const(Z3_context a0, double a1)
Definition: Native.cs:5103
static Z3_ast Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:3038
Z3_ast Z3_API Z3_mk_bv2int(Z3_context c, 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...
Z3_func_decl Z3_API Z3_get_app_decl(Z3_context c, Z3_app a)
Return the declaration of a constant or function application.
static void Z3_del_config(Z3_config a0)
Z3_string Z3_API Z3_param_descrs_to_string(Z3_context c, Z3_param_descrs p)
Convert a parameter description set into a string. This function is mainly used for printing the cont...
static void Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] IntPtr[] a4)
static int Z3_fpa_get_numeral_sign(Z3_context a0, Z3_ast a1, [In, Out] ref int a2)
static Z3_ast Z3_mk_fpa_fma(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3, Z3_ast a4)
Definition: Native.cs:6562
static uint Z3_get_bool_value(Z3_context a0, Z3_ast a1)
void Z3_API Z3_fixedpoint_assert(Z3_context c, Z3_fixedpoint d, Z3_ast axiom)
Assert a constraint to the fixedpoint context.
Z3_bool Z3_API Z3_fpa_get_numeral_sign(Z3_context c, Z3_ast t, int *sgn)
Retrieves the sign of a floating-point literal.
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:4436
static IntPtr Z3_fpa_get_numeral_exponent_string(Z3_context a0, Z3_ast a1)
unsigned Z3_API Z3_ast_vector_size(Z3_context c, Z3_ast_vector v)
Return the size of the given AST vector.
static void Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2)
Definition: Native.cs:4801
static uint Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3774
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 Z3_ast Z3_mk_fpa_round_to_integral(Z3_context a0, Z3_ast a1, Z3_ast a2)
static int Z3_is_well_sorted(Z3_context a0, Z3_ast a1)
static int Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2)
Definition: Native.cs:4374
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:3166
static IntPtr Z3_rcf_num_to_string(Z3_context a0, Z3_rcf_num a1, int a2, int a3)
static void Z3_optimize_inc_ref(Z3_context a0, Z3_optimize a1)
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:4311
void Z3_API Z3_fixedpoint_pop(Z3_context c, Z3_fixedpoint d)
Backtrack one backtracking point.
Z3_ast Z3_API Z3_mk_fpa_rtn(Z3_context c)
Create a numeral of RoundingMode sort which represents the TowardNegative rounding mode...
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_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.
static int Z3_fpa_get_numeral_exponent_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2)
void Z3_API Z3_append_log(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:4012
static string Z3_get_smtlib_error(Z3_context a0)
Definition: Native.cs:4278
static Z3_probe Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2)
unsigned Z3_API Z3_get_index_value(Z3_context c, Z3_ast a)
Return index of de-Brujin bound variable.
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)
unsigned Z3_API Z3_get_pattern_num_terms(Z3_context c, Z3_pattern p)
Return number of terms in pattern.
Z3_ast Z3_API Z3_mk_fpa_abs(Z3_context c, Z3_ast t)
Floating-point absolute value.
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:5777
Z3_error_code Z3_API Z3_get_error_code(Z3_context c)
Return the error code for the last API call.
static Z3_sort Z3_mk_fpa_rounding_mode_sort(Z3_context a0)
Definition: Native.cs:6282
Z3_ast Z3_API Z3_mk_bvmul_no_overflow(Z3_context c, Z3_ast t1, Z3_ast t2, Z3_bool is_signed)
Create a predicate that checks that the bit-wise multiplication of t1 and t2 does not overflow...
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:6259
Z3_ast Z3_API Z3_mk_bvnand(Z3_context c, Z3_ast t1, Z3_ast t2)
Bitwise nand.
static Z3_ast Z3_mk_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2638
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:6199
unsigned Z3_API Z3_get_model_func_num_entries(Z3_context c, Z3_model m, unsigned i)
Return the number of entries of the i-th function interpretation in the given model.
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 uint Z3_fpa_get_ebits(Z3_context a0, Z3_sort a1)
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:3406
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:4528
static Z3_ast Z3_get_quantifier_body(Z3_context a0, Z3_ast a1)
Z3_ast Z3_API Z3_mk_bvslt(Z3_context c, Z3_ast t1, Z3_ast t2)
Two&#39;s complement signed less than.
static Z3_ast Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_sort Z3_API Z3_mk_fpa_sort_half(Z3_context c)
Create the half-precision (16-bit) FloatingPoint sort.
static uint Z3_apply_result_get_num_subgoals(Z3_context a0, Z3_apply_result a1)
Definition: Native.cs:5285
static Z3_probe Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2)
void Z3_API Z3_optimize_set_params(Z3_context c, Z3_optimize o, Z3_params p)
Set parameters on optimization context.
static Z3_func_entry Z3_func_interp_get_entry(Z3_context a0, Z3_func_interp a1, uint a2)
Z3_ast Z3_API Z3_mk_fpa_max(Z3_context c, Z3_ast t1, Z3_ast t2)
Maximum of floating-point numbers.
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:4303
static Z3_func_decl Z3_model_get_const_decl(Z3_context a0, Z3_model a1, uint a2)
void Z3_API Z3_solver_assert(Z3_context c, Z3_solver s, Z3_ast a)
Assert a constraint into the solver.
static Z3_ast Z3_mk_fpa_inf(Z3_context a0, Z3_sort a1, int a2)
Definition: Native.cs:6450
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)
Z3_ast Z3_API Z3_get_model_func_entry_value(Z3_context c, Z3_model m, unsigned i, unsigned j)
Return the return value of the j-th entry of the i-th function interpretation in the given model...
Z3_rcf_num Z3_API Z3_rcf_div(Z3_context c, Z3_rcf_num a, Z3_rcf_num b)
Return the value a / b.
Z3_tactic Z3_API Z3_tactic_or_else(Z3_context c, Z3_tactic t1, 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_ast Z3_mk_label(Z3_context a0, IntPtr a1, int a2, Z3_ast a3)
Definition: Native.cs:5668
static Z3_ast Z3_mk_fpa_is_infinite(Z3_context a0, Z3_ast a1)
Definition: Native.cs:6674
static void Z3_optimize_push(Z3_context a0, Z3_optimize a1)
Definition: Native.cs:4588
static Z3_sort Z3_mk_fpa_sort_double(Z3_context a0)
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:3142
static Z3_sort Z3_mk_set_sort(Z3_context a0, Z3_sort a1)
static Z3_pattern Z3_get_quantifier_pattern_ast(Z3_context a0, Z3_ast a1, uint a2)
Z3_model Z3_API Z3_solver_get_model(Z3_context c, Z3_solver s)
Retrieve the model for the last Z3_solver_check or Z3_solver_check_assumptions.
static void Z3_goal_inc_ref(Z3_context a0, Z3_goal a1)
Z3_ast Z3_API Z3_optimize_get_upper(Z3_context c, Z3_optimize o, unsigned idx)
Retrieve upper bound value or approximation for the i&#39;th optimization objective.
void Z3_API Z3_del_constructor_list(Z3_context c, Z3_constructor_list clist)
Reclaim memory allocated for constructor list.
static void Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1)
Definition: Native.cs:4764
static Z3_ast Z3_app_to_ast(Z3_context a0, Z3_app a1)
Definition: Native.cs:3510
static uint Z3_func_entry_get_num_args(Z3_context a0, Z3_func_entry a1)
Z3_bool Z3_API Z3_get_numeral_uint64(Z3_context c, Z3_ast v, unsigned __int64 *u)
Similar to Z3_get_numeral_string, but only succeeds if the value can fit in a machine unsigned __int6...
Z3_ast Z3_API Z3_mk_set_difference(Z3_context c, Z3_ast arg1, Z3_ast arg2)
Take the set difference between two sets.
static int Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2)
Z3_ast_kind Z3_API Z3_get_ast_kind(Z3_context c, Z3_ast a)
Return the kind of the given AST.
static void Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2)
static Z3_ast Z3_mk_fpa_to_sbv(Z3_context a0, Z3_ast a1, Z3_ast a2, uint a3)
Definition: Native.cs:6754
BEGIN_MLAPI_EXCLUDE Z3_string Z3_API Z3_get_smtlib_error(Z3_context c)
Retrieve that last error message information generated from parsing.
static void Z3_stats_dec_ref(Z3_context a0, Z3_stats a1)
Definition: Native.cs:5508
static Z3_ast Z3_mk_is_int(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2526
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:3694
void Z3_API Z3_set_ast_print_mode(Z3_context c, Z3_ast_print_mode mode)
Select mode for the format used for pretty-printing AST nodes.
void Z3_API Z3_solver_inc_ref(Z3_context c, Z3_solver s)
Increment the reference counter of the given solver.
static uint Z3_get_ast_id(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3550
static Z3_sort Z3_mk_fpa_sort(Z3_context a0, uint a1, uint a2)
Definition: Native.cs:6370
Z3_sort Z3_API Z3_mk_finite_domain_sort(Z3_context c, Z3_symbol name, unsigned __int64 size)
Create a named finite domain sort.
Z3_context Z3_API Z3_mk_context(Z3_config c)
Create a context using the given configuration.
static Z3_ast Z3_algebraic_root(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:5952
Z3_ast Z3_API Z3_mk_bvsrem(Z3_context c, Z3_ast t1, Z3_ast t2)
Two&#39;s complement signed remainder (sign follows dividend).
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_func_decl Z3_API Z3_mk_injective_function(Z3_context c, Z3_symbol s, unsigned domain_size, Z3_sort const domain[], Z3_sort range)
Create injective function declaration.
static void Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2)
Definition: Native.cs:4367
static Z3_ast Z3_mk_not(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2358
static string Z3_goal_to_string(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4947
Z3_ast Z3_API Z3_mk_bvsdiv(Z3_context c, Z3_ast t1, Z3_ast t2)
Two&#39;s complement signed division.
static Z3_ast Z3_mk_extract(Z3_context a0, uint a1, uint a2, Z3_ast a3)
Z3_probe Z3_API Z3_probe_not(Z3_context x, Z3_probe p)
Return a probe that evaluates to "true" when p does not evaluate to true.
static Z3_solver Z3_mk_solver_from_tactic(Z3_context a0, Z3_tactic a1)
Z3_ast Z3_API Z3_mk_fpa_to_fp_bv(Z3_context c, Z3_ast bv, Z3_sort s)
Conversion of a single IEEE 754-2008 bit-vector into a floating-point number.
Z3_param_descrs Z3_API Z3_simplify_get_param_descrs(Z3_context c)
Return the parameter description set for the simplify procedure.
static void Z3_disable_trace(string a0)
Definition: Native.cs:4319
static int Z3_algebraic_neq(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:6008
static Z3_ast Z3_mk_fpa_is_zero(Z3_context a0, Z3_ast a1)
static Z3_ast Z3_mk_bvredor(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2550
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_func_decl Z3_API Z3_to_func_decl(Z3_context c, Z3_ast a)
Convert an AST into a FUNC_DECL_AST. This is just type casting.
static int Z3_algebraic_ge(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_bool Z3_API Z3_is_eq_func_decl(Z3_context c, Z3_func_decl f1, Z3_func_decl f2)
compare terms.
static uint Z3_fpa_get_ebits(Z3_context a0, Z3_sort a1)
Definition: Native.cs:6770
void Z3_API Z3_fixedpoint_push(Z3_context c, Z3_fixedpoint d)
Create a backtracking point.
static Z3_ast Z3_mk_fpa_min(Z3_context a0, Z3_ast a1, Z3_ast a2)
static void Z3_interrupt(Z3_context a0)
Definition: Native.cs:2020
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:2194
Z3_func_decl Z3_API Z3_mk_func_decl(Z3_context c, Z3_symbol s, unsigned domain_size, Z3_sort const domain[], Z3_sort range)
Declare a constant or function.
Z3_ast Z3_API Z3_mk_fpa_rtp(Z3_context c)
Create a numeral of RoundingMode sort which represents the TowardPositive rounding mode...
static string Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:4160
static Z3_ast Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2558
Z3_bool Z3_API Z3_algebraic_lt(Z3_context c, Z3_ast a, Z3_ast b)
Return Z3_TRUE if a < b, and Z3_FALSE otherwise.
static Z3_ast Z3_mk_is_int(Z3_context a0, Z3_ast a1)
unsigned Z3_API Z3_get_relation_arity(Z3_context c, Z3_sort s)
Return arity of relation.
Z3_bool Z3_API Z3_algebraic_is_value(Z3_context c, Z3_ast a)
Return Z3_TRUE if can be used as value in the Z3 real algebraic number package.
static void Z3_stats_inc_ref(Z3_context a0, Z3_stats a1)
Definition: Native.cs:5501
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:3932
static Z3_ast Z3_algebraic_mul(Z3_context a0, Z3_ast a1, Z3_ast a2)
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)
static Z3_solver Z3_mk_simple_solver(Z3_context a0)
Z3_ast Z3_API Z3_mk_forall(Z3_context c, unsigned weight, unsigned num_patterns, Z3_pattern const patterns[], unsigned num_decls, Z3_sort const sorts[], Z3_symbol const decl_names[], Z3_ast body)
Create a forall formula. It takes an expression body that contains bound variables of the same sorts ...
static Z3_probe Z3_probe_not(Z3_context a0, Z3_probe a1)
static string Z3_statistics_to_string(Z3_context a0)
Definition: Native.cs:5864
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:4451
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)
void Z3_API Z3_param_descrs_inc_ref(Z3_context c, Z3_param_descrs p)
Increment the reference counter of the given parameter description set.
static Z3_ast Z3_mk_sub(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2430
Z3_ast Z3_API Z3_func_interp_get_else(Z3_context c, Z3_func_interp f)
Return the &#39;else&#39; value of the given function interpretation.
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)
Z3_ast Z3_API Z3_mk_ext_rotate_left(Z3_context c, Z3_ast t1, Z3_ast t2)
Rotate bits of t1 to the left t2 times.
Z3_ast Z3_API Z3_mk_div(Z3_context c, Z3_ast arg1, Z3_ast arg2)
Create an AST node representing arg1 div arg2.The arguments must either both have int type or both ha...
static Z3_func_decl Z3_get_smtlib_decl(Z3_context a0, uint a1)
Definition: Native.cs:4254
void Z3_API Z3_fixedpoint_inc_ref(Z3_context c, Z3_fixedpoint d)
Increment the reference counter of the given fixedpoint context.
Z3_ast Z3_API Z3_mk_unsigned_int64(Z3_context c, unsigned __int64 v, Z3_sort ty)
Create a numeral of a int, bit-vector, or finite-domain sort.
void Z3_API Z3_probe_inc_ref(Z3_context c, Z3_probe p)
Increment the reference counter of the given probe.
Z3_ast Z3_API Z3_update_term(Z3_context c, Z3_ast a, unsigned 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_sort Z3_mk_datatype(Z3_context a0, IntPtr a1, uint a2, [In, Out] Z3_constructor[] a3)
Definition: Native.cs:2249
static Z3_ast Z3_mk_fpa_to_fp_unsigned(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_sort a3)
static Z3_sort Z3_mk_bv_sort(Z3_context a0, uint a1)
Definition: Native.cs:2186
static int Z3_algebraic_is_zero(Z3_context a0, Z3_ast a1)
unsigned Z3_API Z3_get_quantifier_num_bound(Z3_context c, Z3_ast a)
Return number of bound variables of quantifier.
static void Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2)
Z3_ast_vector Z3_API Z3_mk_ast_vector(Z3_context c)
Return an empty AST vector.
static IntPtr Z3_optimize_to_string(Z3_context a0, Z3_optimize a1)
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)
static void Z3_probe_inc_ref(Z3_context a0, Z3_probe a1)
Definition: Native.cs:4985
Z3_bool Z3_API Z3_goal_is_decided_sat(Z3_context c, 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_le(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_func_decl Z3_API Z3_get_decl_func_decl_parameter(Z3_context c, Z3_func_decl d, unsigned idx)
Return the expresson value associated with an expression parameter.
Z3_ast Z3_API Z3_mk_fpa_to_fp_unsigned(Z3_context c, Z3_ast rm, Z3_ast t, Z3_sort s)
Conversion of a 2&#39;s complement unsigned bit-vector term into a term of FloatingPoint sort...
static void Z3_append_log(string a0)
Definition: Native.cs:4117
static Z3_ast Z3_mk_fpa_to_fp_int_real(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3, Z3_sort a4)
Z3_ast Z3_API Z3_mk_int2real(Z3_context c, Z3_ast t1)
Coerce an integer to a real.
Z3_rcf_num Z3_API Z3_rcf_power(Z3_context c, Z3_rcf_num a, unsigned k)
Return the value a^k.
Z3_ast Z3_API Z3_mk_fpa_rem(Z3_context c, Z3_ast t1, Z3_ast t2)
Floating-point remainder.
static string Z3_probe_get_descr(Z3_context a0, string a1)
Definition: Native.cs:5231
static Z3_context Z3_mk_context_rc(Z3_config a0)
Z3_ast Z3_API Z3_mk_bvshl(Z3_context c, Z3_ast t1, Z3_ast t2)
Shift left.
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:6159
static uint Z3_optimize_assert_soft(Z3_context a0, Z3_optimize a1, Z3_ast a2, string a3, IntPtr a4)
static void Z3_set_ast_print_mode(Z3_context a0, uint a1)
Definition: Native.cs:4129
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:5676
static Z3_ast Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_tactic Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, uint a2)
static Z3_ast Z3_mk_fpa_to_real(Z3_context a0, Z3_ast a1)
Z3_sort Z3_API Z3_mk_uninterpreted_sort(Z3_context c, Z3_symbol s)
Create a free (uninterpreted) type using the given name (symbol).
Z3_ast Z3_API Z3_mk_fpa_to_fp_real(Z3_context c, Z3_ast rm, Z3_ast t, Z3_sort s)
Conversion of a term of real sort into a term of FloatingPoint sort.
static uint Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3398
static int Z3_is_well_sorted(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3574
static Z3_ast Z3_mk_fpa_lt(Z3_context a0, Z3_ast a1, Z3_ast a2)
static uint Z3_apply_result_get_num_subgoals(Z3_context a0, Z3_apply_result a1)
Z3_ast Z3_API Z3_mk_lt(Z3_context c, Z3_ast t1, Z3_ast t2)
Create less than.
static Z3_ast Z3_mk_fpa_to_fp_bv(Z3_context a0, Z3_ast a1, Z3_sort a2)
unsigned Z3_API Z3_goal_depth(Z3_context c, Z3_goal g)
Return the depth of the given goal. It tracks how many transformations were applied to it...
void Z3_API Z3_apply_result_inc_ref(Z3_context c, Z3_apply_result r)
Increment the reference counter of the given Z3_apply_result object.
static string Z3_get_probe_name(Z3_context a0, uint a1)
Definition: Native.cs:5199
static Z3_tactic Z3_tactic_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2)
static void Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3)
Definition: Native.cs:4353
static Z3_ast Z3_datatype_update_field(Z3_context a0, Z3_func_decl a1, Z3_ast a2, Z3_ast a3)
Definition: Native.cs:3326
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:2758
void Z3_API Z3_func_entry_inc_ref(Z3_context c, Z3_func_entry e)
Increment the reference counter of the given Z3_func_entry object.
void Z3_API Z3_dec_ref(Z3_context c, Z3_ast a)
Decrement the reference counter of the given AST. The context c should have been created using Z3_mk_...
static Z3_tactic Z3_tactic_fail_if(Z3_context a0, Z3_probe a1)
static Z3_ast Z3_goal_formula(Z3_context a0, Z3_goal a1, uint a2)
Z3_ast Z3_API Z3_mk_fpa_to_fp_signed(Z3_context c, Z3_ast rm, Z3_ast t, Z3_sort s)
Conversion of a 2&#39;s complement signed bit-vector term into a term of FloatingPoint sort...
static Z3_stats Z3_optimize_get_statistics(Z3_context a0, Z3_optimize a1)
void Z3_API Z3_del_config(Z3_config c)
Delete the given configuration object.
Z3_bool Z3_API Z3_get_numeral_uint(Z3_context c, Z3_ast v, unsigned *u)
Similar to Z3_get_numeral_string, but only succeeds if the value can fit in a machine unsigned int...
Z3_ast Z3_API Z3_get_context_assignment(Z3_context c)
Extract satisfying assignment from context as a conjunction.
static Z3_ast Z3_optimize_get_upper(Z3_context a0, Z3_optimize a1, uint a2)
static IntPtr Z3_get_label_symbol(Z3_context a0, Z3_literals a1, uint a2)
Definition: Native.cs:5715
static Z3_rcf_num Z3_rcf_div(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:6119
static Z3_rcf_num Z3_rcf_mk_e(Z3_context a0)
static string Z3_get_error_msg(uint a0)
Definition: Native.cs:4298
Z3_ast_map Z3_API Z3_mk_ast_map(Z3_context c)
Return an empty mapping from AST to AST.
static string Z3_optimize_to_string(Z3_context a0, Z3_optimize a1)
Definition: Native.cs:4657
BEGIN_MLAPI_EXCLUDE Z3_string Z3_API Z3_get_error_msg_ex(Z3_context c, Z3_error_code err)
Return a string describing the given error code.
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:2286
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)
static Z3_ast Z3_mk_fpa_is_nan(Z3_context a0, Z3_ast a1)
static void Z3_optimize_pop(Z3_context a0, Z3_optimize a1)
Z3_lbool Z3_API Z3_compute_interpolant(Z3_context c, Z3_ast pat, Z3_params p, Z3_ast_vector *interp, Z3_model *model)
static void Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1)
void Z3_API Z3_optimize_push(Z3_context c, Z3_optimize d)
Create a backtracking point.
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:4406
Z3_ast Z3_API Z3_mk_not(Z3_context c, Z3_ast a)
Create an AST node representing not(a).
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)
static Z3_rcf_num Z3_rcf_mk_small_int(Z3_context a0, int a1)
Z3_ast Z3_API Z3_mk_and(Z3_context c, unsigned 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...
Z3_bool Z3_API Z3_algebraic_gt(Z3_context c, Z3_ast a, Z3_ast b)
Return Z3_TRUE if a > b, and Z3_FALSE otherwise.
Z3_ast Z3_API Z3_substitute_vars(Z3_context c, Z3_ast a, unsigned 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 uint Z3_func_entry_get_num_args(Z3_context a0, Z3_func_entry a1)
Definition: Native.cs:4096
static Z3_ast Z3_mk_fpa_numeral_double(Z3_context a0, double a1, Z3_sort a2)
Z3_ast Z3_API Z3_get_quantifier_no_pattern_ast(Z3_context c, Z3_ast a, unsigned i)
Return i&#39;th no_pattern.
Z3_ast Z3_API Z3_mk_ge(Z3_context c, Z3_ast t1, Z3_ast t2)
Create greater than or equal to.
unsigned Z3_API Z3_get_bv_sort_size(Z3_context c, Z3_sort t)
Return the size of the given bit-vector sort.
static uint Z3_get_relation_arity(Z3_context a0, Z3_sort a1)
Z3_ast Z3_API Z3_optimize_get_lower(Z3_context c, Z3_optimize o, unsigned idx)
Retrieve lower bound value or approximation for the i&#39;th optimization objective.
static Z3_ast Z3_mk_fpa_to_fp_unsigned(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_sort a3)
Definition: Native.cs:6738
Z3_sort Z3_API Z3_mk_array_sort(Z3_context c, Z3_sort domain, Z3_sort range)
Create an array type.
static Z3_ast Z3_mk_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2662
static Z3_literals Z3_get_guessed_literals(Z3_context a0)
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:5707
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:4184
static uint Z3_optimize_maximize(Z3_context a0, Z3_optimize a1, Z3_ast a2)
unsigned Z3_API Z3_stats_size(Z3_context c, Z3_stats s)
Return the number of statistical data in s.
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:4066
static uint Z3_get_index_value(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3758
Z3_ast Z3_API Z3_algebraic_add(Z3_context c, Z3_ast a, Z3_ast b)
Return the value a + b.
static Z3_ast_vector Z3_solver_get_assertions(Z3_context a0, Z3_solver a1)
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:2774
static void Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2)
Definition: Native.cs:4733
Z3_ast Z3_API Z3_mk_set_subset(Z3_context c, Z3_ast arg1, Z3_ast arg2)
Check for subsetness of sets.
static Z3_pattern Z3_get_quantifier_pattern_ast(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:3790
unsigned Z3_API Z3_get_smtlib_num_formulas(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_get_model_func_entry_num_args(Z3_context c, Z3_model m, unsigned i, unsigned j)
Return the number of arguments of the j-th entry of the i-th function interpretation in the given mod...
Z3_string Z3_API Z3_fpa_get_numeral_significand_string(Z3_context c, Z3_ast t)
Return the significand value of a floating-point numeral as a string.
static void Z3_param_descrs_dec_ref(Z3_context a0, Z3_param_descrs a1)
Z3_goal_prec Z3_API Z3_goal_precision(Z3_context c, Z3_goal g)
Return the "precision" of the given goal. Goals can be transformed using over and under approximation...
static int Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_func_decl[] a3)
Definition: Native.cs:4382
Z3_ast Z3_API Z3_mk_bvsge(Z3_context c, Z3_ast t1, Z3_ast t2)
Two&#39;s complement signed greater than or equal to.
Z3_pattern Z3_API Z3_get_quantifier_pattern_ast(Z3_context c, Z3_ast a, unsigned i)
Return i&#39;th pattern.
static Z3_ast Z3_mk_fpa_rtn(Z3_context a0)
Definition: Native.cs:6346
Z3_ast Z3_API Z3_mk_set_add(Z3_context c, Z3_ast set, Z3_ast elem)
Add an element to a set.
double Z3_API Z3_get_decl_double_parameter(Z3_context c, Z3_func_decl d, unsigned idx)
Return the double value associated with an double parameter.
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)
static Z3_tactic Z3_mk_tactic(Z3_context a0, string a1)
Definition: Native.cs:4955
static string Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4481
Z3_ast Z3_API Z3_mk_real(Z3_context c, int num, int den)
Create a real from a fraction.
Z3_ast Z3_API Z3_mk_set_complement(Z3_context c, Z3_ast arg)
Take the complement of a set.
static int Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, [In, Out] ref UInt64 a2)
Definition: Native.cs:3246
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:2138
static IntPtr Z3_sort_to_string(Z3_context a0, Z3_sort a1)
static Z3_sort Z3_mk_fpa_sort_half(Z3_context a0)
Definition: Native.cs:6378
static Z3_ast Z3_mk_unsigned_int(Z3_context a0, uint a1, Z3_sort a2)
Definition: Native.cs:3070
static Z3_ast Z3_mk_eq(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2342
static Z3_func_decl Z3_get_as_array_func_decl(Z3_context a0, Z3_ast a1)
Definition: Native.cs:4020
unsigned Z3_API Z3_get_ast_hash(Z3_context c, Z3_ast a)
Return a hash code for the given AST. The hash code is structural. You can use Z3_get_ast_id intercha...
Z3_bool Z3_API Z3_algebraic_le(Z3_context c, Z3_ast a, Z3_ast b)
Return Z3_TRUE if a <= b, and Z3_FALSE otherwise.
static void Z3_optimize_dec_ref(Z3_context a0, Z3_optimize a1)
Z3_string Z3_API Z3_params_to_string(Z3_context c, Z3_params p)
Convert a parameter set into a string. This function is mainly used for printing the contents of a pa...
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:1963
Z3_ast Z3_API Z3_mk_bvsle(Z3_context c, Z3_ast t1, Z3_ast t2)
Two&#39;s complement signed less than or equal to.
static Z3_ast Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2598
static void Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] uint[] a4)
Definition: Native.cs:4360
static Z3_context Z3_mk_context_rc(Z3_config a0)
Definition: Native.cs:1988
static int Z3_rcf_lt(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Z3_string Z3_API Z3_optimize_to_string(Z3_context c, Z3_optimize o)
Print the current context as a string.
Z3_ast Z3_API Z3_mk_exists_const(Z3_context c, unsigned weight, unsigned num_bound, Z3_app const bound[], unsigned num_patterns, Z3_pattern const patterns[], Z3_ast body)
Similar to Z3_mk_forall_const.
static Z3_ast Z3_mk_fpa_sqrt(Z3_context a0, Z3_ast a1, Z3_ast a2)
static void Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4)
Definition: Native.cs:4429
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:4931
static Z3_ast Z3_mk_bvadd_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2862
static Z3_ast Z3_mk_fpa_rtz(Z3_context a0)
static void Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1)
Definition: Native.cs:4963
Z3_ast_vector Z3_API Z3_fixedpoint_from_file(Z3_context c, Z3_fixedpoint f, Z3_string s)
Parse an SMT-LIB2 file with fixedpoint rules. Add the rules to the current fixedpoint context...
Z3_sort Z3_API Z3_mk_fpa_rounding_mode_sort(Z3_context c)
Create the RoundingMode sort.
Z3_app Z3_API Z3_to_app(Z3_context c, Z3_ast a)
Convert an ast into an APP_AST. This is just type casting.
static Z3_ast Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2990
unsigned Z3_API Z3_get_app_num_args(Z3_context c, Z3_app a)
Return the number of argument of an application. If t is an constant, then the number of arguments is...
static uint Z3_optimize_assert_soft(Z3_context a0, Z3_optimize a1, Z3_ast a2, string a3, IntPtr a4)
Definition: Native.cs:4564
static void Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1)
Definition: Native.cs:4081
static uint Z3_get_model_num_constants(Z3_context a0, Z3_model a1)
Definition: Native.cs:5745
static int Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1)
Z3_tactic Z3_API Z3_tactic_par_and_then(Z3_context c, Z3_tactic t1, Z3_tactic t2)
Return a tactic that applies t1 to a given goal and then t2 to every subgoal produced by t1...
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:2822
static int Z3_check_and_get_model(Z3_context a0, [In, Out] ref Z3_model a1)
Definition: Native.cs:5614
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:4176
static uint Z3_model_get_num_funcs(Z3_context a0, Z3_model a1)
Definition: Native.cs:3972
static Z3_ast Z3_mk_fpa_numeral_int(Z3_context a0, int a1, Z3_sort a2)
static Z3_func_decl Z3_get_tuple_sort_field_decl(Z3_context a0, Z3_sort a1, uint a2)
Definition: Native.cs:3286
Z3_bool Z3_API Z3_rcf_gt(Z3_context c, Z3_rcf_num a, Z3_rcf_num b)
Return Z3_TRUE if a > b.
static Z3_ast Z3_mk_bvsdiv_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2886
Z3_rcf_num Z3_API Z3_rcf_mk_small_int(Z3_context c, int val)
Return a RCF small integer.
static Z3_ast Z3_sort_to_ast(Z3_context a0, Z3_sort a1)
void Z3_API Z3_goal_dec_ref(Z3_context c, Z3_goal g)
Decrement the reference counter of the given goal.
Z3_string Z3_API Z3_fixedpoint_get_reason_unknown(Z3_context c, Z3_fixedpoint d)
Retrieve a string that describes the last status returned by Z3_fixedpoint_query. ...
unsigned Z3_API Z3_get_domain_size(Z3_context c, Z3_func_decl d)
Return the number of parameters of the given declaration.
static int Z3_fpa_get_numeral_significand_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2)
Definition: Native.cs:6802
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 Z3_ast Z3_mk_atmost(Z3_context a0, uint a1, [In] Z3_ast[] a2, uint a3)
static int Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1)
Z3_ast Z3_API Z3_mk_fpa_is_infinite(Z3_context c, Z3_ast t)
Predicate indicating whether t is a floating-point number representing +oo or -oo.
Z3_ast Z3_API Z3_sort_to_ast(Z3_context c, Z3_sort s)
Convert a Z3_sort into Z3_ast. This is just type casting.
static int Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref Z3_ast a3)
Definition: Native.cs:5840
static Z3_ast Z3_mk_fpa_neg(Z3_context a0, Z3_ast a1)
static Z3_ast Z3_mk_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2694
static Z3_ast Z3_mk_fpa_sub(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Definition: Native.cs:6538
Z3_ast Z3_API Z3_mk_fpa_round_toward_positive(Z3_context c)
Create a numeral of RoundingMode sort which represents the TowardPositive rounding mode...
static Z3_ast Z3_mk_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2686
void Z3_API Z3_block_literals(Z3_context c, Z3_literals lbls)
Block subsequent checks using the remaining enabled labels.
static IntPtr Z3_simplify_get_help(Z3_context a0)
unsigned Z3_API Z3_get_smtlib_num_assumptions(Z3_context c)
Return the number of SMTLIB assumptions parsed by Z3_parse_smtlib_string or Z3_parse_smtlib_file.
Z3_ast Z3_API Z3_get_numerator(Z3_context c, Z3_ast a)
Return the numerator (as a numeral AST) of a numeral AST of sort Real.
void Z3_API Z3_set_error_handler(Z3_context c, Z3_error_handler h)
Register a Z3 error handler.
static Z3_ast Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2470
static Z3_sort Z3_get_sort(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3566
static Z3_ast Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3)
Definition: Native.cs:2902
void Z3_API Z3_enable_trace(Z3_string tag)
Enable tracing messages tagged as tag when Z3 is compiled in debug mode. It is a NOOP otherwise...
static Z3_ast Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3)
static Z3_tactic Z3_tactic_fail_if_not_decided(Z3_context a0)
Z3_ast Z3_API Z3_get_model_func_entry_arg(Z3_context c, Z3_model m, unsigned i, unsigned j, unsigned k)
Return the k-th argument of the j-th entry of the i-th function interpretation in the given model...
Z3_ast Z3_API Z3_mk_sign_ext(Z3_context c, unsigned i, 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 Z3_sort Z3_model_get_sort(Z3_context a0, Z3_model a1, uint a2)
Definition: Native.cs:3996
static Z3_ast Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:3726
static Z3_ast Z3_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2)
Definition: Native.cs:2934
static Z3_ast Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2494
Z3_func_interp Z3_API Z3_model_get_func_interp(Z3_context c, Z3_model m, Z3_func_decl f)
Return the interpretation of the function f in the model m. Return NULL, if the model does not assign...
static uint Z3_get_sort_id(Z3_context a0, Z3_sort a1)
void Z3_API Z3_model_dec_ref(Z3_context c, Z3_model m)
Decrement the reference counter of the given model.
static void Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3)
static Z3_ast Z3_mk_xor(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2390
static Z3_goal Z3_goal_translate(Z3_context a0, Z3_goal a1, Z3_context a2)
Definition: Native.cs:4939
static Z3_probe Z3_probe_const(Z3_context a0, double a1)
Z3_ast Z3_API Z3_mk_rotate_right(Z3_context c, unsigned i, Z3_ast t1)
Rotate bits of t1 to the right i times.
unsigned Z3_API Z3_param_descrs_size(Z3_context c, Z3_param_descrs p)
Return the number of parameters in the given parameter description set.
static int Z3_model_has_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2)
Definition: Native.cs:3940
unsigned Z3_API Z3_model_get_num_consts(Z3_context c, Z3_model m)
Return the number of constants assigned by the given model.
Z3_bool Z3_API Z3_algebraic_neq(Z3_context c, Z3_ast a, Z3_ast b)
Return Z3_TRUE if a != b, and Z3_FALSE otherwise.
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:3254
static Z3_ast Z3_mk_fpa_to_fp_signed(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_sort a3)
static Z3_ast Z3_mk_bvredand(Z3_context a0, Z3_ast a1)
Z3_ast Z3_API Z3_model_get_const_interp(Z3_context c, Z3_model m, Z3_func_decl a)
Return the interpretation (i.e., assignment) of constant a in the model m. Return NULL...
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:3278
void Z3_API Z3_fixedpoint_dec_ref(Z3_context c, Z3_fixedpoint d)
Decrement the reference counter of the given fixedpoint context.
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)
Z3_ast Z3_API Z3_mk_quantifier_ex(Z3_context c, Z3_bool is_forall, unsigned weight, Z3_symbol quantifier_id, Z3_symbol skolem_id, unsigned num_patterns, Z3_pattern const patterns[], unsigned num_no_patterns, Z3_ast const no_patterns[], unsigned num_decls, Z3_sort const sorts[], Z3_symbol const decl_names[], Z3_ast body)
Create a quantifier - universal or existential, with pattern hints, no patterns, and attributes...
Z3_bool Z3_API Z3_fpa_get_numeral_significand_uint64(Z3_context c, Z3_ast t, __uint64 *n)
Return the significand value of a floating-point numeral as a uint64.
static int Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3766
static Z3_ast Z3_mk_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Definition: Native.cs:2366
Z3_ast Z3_API Z3_mk_fpa_to_ieee_bv(Z3_context c, Z3_ast t)
Conversion of a floating-point term into a bit-vector term in IEEE 754-2008 format.
static Z3_ast Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2614
Z3_ast Z3_API Z3_mk_fpa_mul(Z3_context c, Z3_ast rm, Z3_ast t1, Z3_ast t2)
Floating-point multiplication.
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:3814
unsigned Z3_API Z3_goal_size(Z3_context c, Z3_goal g)
Return the number of formulas in the given goal.
static void Z3_optimize_inc_ref(Z3_context a0, Z3_optimize a1)
Definition: Native.cs:4543
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 Z3_ast Z3_mk_fpa_rem(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:6578
Z3_ast Z3_API Z3_mk_fpa_is_normal(Z3_context c, Z3_ast t)
Predicate indicating whether t is a normal floating-point number.
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:4207
static void Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1)
Z3_ast Z3_API Z3_mk_bvxnor(Z3_context c, Z3_ast t1, Z3_ast t2)
Bitwise xnor.
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:6127
static Z3_ast Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, uint a2, uint a3)
Definition: Native.cs:5832
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)
static int Z3_optimize_check(Z3_context a0, Z3_optimize a1)
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:2374
static int Z3_algebraic_lt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5968
Z3_func_decl Z3_API Z3_get_tuple_sort_mk_decl(Z3_context c, Z3_sort t)
Return the constructor declaration of the given tuple sort.
Z3_sort Z3_API Z3_get_array_sort_domain(Z3_context c, Z3_sort t)
Return the domain of the given array sort.
static Z3_sort Z3_get_relation_column(Z3_context a0, Z3_sort a1, uint a2)
Definition: Native.cs:3342
static Z3_ast Z3_get_app_arg(Z3_context a0, Z3_app a1, uint a2)
Definition: Native.cs:3534
Z3_bool Z3_API Z3_stats_is_uint(Z3_context c, Z3_stats s, unsigned idx)
Return Z3_TRUE if the given statistical data is a unsigned integer.
static Z3_ast Z3_mk_and(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2398
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)
static Z3_ast Z3_mk_unsigned_int64(Z3_context a0, UInt64 a1, Z3_sort a2)
Definition: Native.cs:3086
Z3_func_decl Z3_API Z3_get_smtlib_decl(Z3_context c, unsigned i)
Return the i-th declaration parsed by the last call to Z3_parse_smtlib_string or Z3_parse_smtlib_file...
static Z3_ast Z3_mk_distinct(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2350
static Z3_rcf_num Z3_rcf_power(Z3_context a0, Z3_rcf_num a1, uint a2)
Z3_ast_vector Z3_API Z3_fixedpoint_get_rules(Z3_context c, Z3_fixedpoint f)
Retrieve set of rules from fixedpoint context.
static void Z3_param_descrs_inc_ref(Z3_context a0, Z3_param_descrs a1)
Definition: Native.cs:2092
static Z3_sort Z3_mk_fpa_sort_128(Z3_context a0)
static string Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1)
Definition: Native.cs:4831
static Z3_ast Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2918
static Z3_ast_vector Z3_fixedpoint_get_rules(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4458
Z3_ast Z3_API Z3_mk_pble(Z3_context c, unsigned num_args, Z3_ast const args[], int coeffs[], int k)
Pseudo-Boolean relations.
static Z3_ast Z3_mk_int2bv(Z3_context a0, uint a1, Z3_ast a2)
Definition: Native.cs:2838
static Z3_ast Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, uint a2)
Definition: Native.cs:4104
static Z3_ast Z3_get_denominator(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3662
static string Z3_apply_result_to_string(Z3_context a0, Z3_apply_result a1)
Definition: Native.cs:5277
static int Z3_open_log(string a0)
Z3_rcf_num Z3_API Z3_rcf_inv(Z3_context c, Z3_rcf_num a)
Return the value 1/a.
static Z3_sort Z3_mk_fpa_sort_single(Z3_context a0)
int Z3_API Z3_get_symbol_int(Z3_context c, Z3_symbol s)
Return the symbol int value.
void Z3_API Z3_params_dec_ref(Z3_context c, Z3_params p)
Decrement the reference counter of the given parameter set.
void Z3_API Z3_optimize_dec_ref(Z3_context c, Z3_optimize d)
Decrement the reference counter of the given optimize context.
static Z3_ast Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2)
double Z3_API Z3_probe_apply(Z3_context c, Z3_probe p, Z3_goal g)
Execute the probe over the goal. The probe always produce a double value. "Boolean" probes return 0...
static Z3_ast Z3_algebraic_root(Z3_context a0, Z3_ast a1, uint a2)
Z3_ast_vector Z3_API Z3_solver_get_unsat_core(Z3_context c, Z3_solver s)
Retrieve the unsat core for the last Z3_solver_check_assumptions The unsat core is a subset of the as...
static IntPtr Z3_mk_string_symbol(Z3_context a0, string a1)
Definition: Native.cs:2146
static Z3_param_descrs Z3_simplify_get_param_descrs(Z3_context a0)
Definition: Native.cs:3870
static uint Z3_goal_size(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4899
static void Z3_set_error(Z3_context a0, uint a1)
Definition: Native.cs:4291
static Z3_tactic Z3_tactic_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2)
Definition: Native.cs:4999
static Z3_sort Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2)
Definition: Native.cs:2202
void Z3_API Z3_toggle_warning_messages(Z3_bool enabled)
Enable/disable printing warning messages to the console.
static int Z3_rcf_le(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:6167
static uint Z3_get_error_code(Z3_context a0)
Definition: Native.cs:4286
static void Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, uint a2)
Definition: Native.cs:4726
Z3_ast Z3_API Z3_mk_bvsmod(Z3_context c, Z3_ast t1, Z3_ast t2)
Two&#39;s complement signed remainder (sign follows divisor).
static uint Z3_get_arity(Z3_context a0, Z3_func_decl 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)
Z3_ast Z3_API Z3_get_literal(Z3_context c, Z3_literals lbls, unsigned idx)
Retrieve literal expression at idx.
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:3734
static Z3_context Z3_mk_interpolation_context(Z3_config a0)
Definition: Native.cs:6230
Z3_ast Z3_API Z3_mk_exists(Z3_context c, unsigned weight, unsigned num_patterns, Z3_pattern const patterns[], unsigned num_decls, Z3_sort const sorts[], Z3_symbol const decl_names[], Z3_ast body)
Create an exists formula. Similar to Z3_mk_forall.
Z3_bool Z3_API Z3_get_numeral_small(Z3_context c, Z3_ast a, __int64 *num, __int64 *den)
Return numeral value, as a pair of 64 bit numbers if the representation fits.
Z3_ast Z3_API Z3_func_entry_get_value(Z3_context c, Z3_func_entry e)
Return the value of this point.
static Z3_sort Z3_mk_int_sort(Z3_context a0)
Definition: Native.cs:2170
static void Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1)
unsigned Z3_API Z3_stats_get_uint_value(Z3_context c, Z3_stats s, unsigned idx)
Return the unsigned value of the given statistical data.
static uint Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, IntPtr a2)
Definition: Native.cs:2106
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:5414
static Z3_ast_vector Z3_fixedpoint_get_assertions(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4466
unsigned Z3_API Z3_optimize_assert_soft(Z3_context c, Z3_optimize o, Z3_ast a, Z3_string weight, Z3_symbol id)
Assert soft constraint to the optimization context.
static Z3_ast Z3_mk_fpa_rtp(Z3_context a0)
Definition: Native.cs:6330
static uint Z3_get_smtlib_num_sorts(Z3_context a0)
Z3_ast Z3_API Z3_mk_bvult(Z3_context c, Z3_ast t1, Z3_ast t2)
Unsigned less than.
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 Z3_sort Z3_mk_fpa_sort_16(Z3_context a0)
Definition: Native.cs:6386
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:4719
static Z3_sort Z3_mk_fpa_rounding_mode_sort(Z3_context a0)
Z3_string Z3_API Z3_goal_to_string(Z3_context c, Z3_goal g)
Convert a goal into a string.
Z3_rcf_num Z3_API Z3_rcf_mk_pi(Z3_context c)
Return Pi.
static Z3_sort Z3_mk_fpa_sort_32(Z3_context a0)
static Z3_ast Z3_mk_pble(Z3_context a0, uint a1, [In] Z3_ast[] a2, [In] int[] a3, int a4)
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:3558
unsigned Z3_API Z3_model_get_num_funcs(Z3_context c, Z3_model m)
Return the number of function interpretations in the given model.
static void Z3_assert_cnstr(Z3_context a0, Z3_ast a1)
Z3_bool Z3_API Z3_rcf_le(Z3_context c, Z3_rcf_num a, Z3_rcf_num b)
Return Z3_TRUE if a <= b.
static Z3_ast Z3_mk_bvmul_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_ast Z3_API Z3_mk_int2bv(Z3_context c, unsigned n, Z3_ast t1)
Create an n bit bit-vector from the integer argument t1.
Z3_ast Z3_API Z3_ast_map_find(Z3_context c, Z3_ast_map m, Z3_ast k)
Return the value associated with the key k.
static IntPtr Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1)
static Z3_ast Z3_mk_fpa_round_toward_positive(Z3_context a0)
static IntPtr Z3_fpa_get_numeral_significand_string(Z3_context a0, Z3_ast a1)
unsigned Z3_API Z3_get_num_tactics(Z3_context c)
Return the number of builtin tactics available in Z3.
static Z3_ast Z3_simplify(Z3_context a0, Z3_ast a1)
static void Z3_del_model(Z3_context a0, Z3_model a1)
static Z3_ast Z3_mk_false(Z3_context a0)
Definition: Native.cs:2334
Z3_string Z3_API Z3_get_numeral_string(Z3_context c, Z3_ast a)
Return numeral value, as a string of a numeric constant term.
static uint Z3_get_domain_size(Z3_context a0, Z3_func_decl a1)
Z3_ast Z3_API Z3_mk_rem(Z3_context c, Z3_ast arg1, Z3_ast arg2)
Create an AST node representing arg1 rem arg2.The arguments must have int type.
static Z3_sort Z3_mk_bool_sort(Z3_context a0)
Z3_ast Z3_API Z3_get_smtlib_assumption(Z3_context c, unsigned i)
Return the i-th assumption parsed by the last call to Z3_parse_smtlib_string or Z3_parse_smtlib_file...
static void Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1)
Z3_bool Z3_API Z3_model_eval(Z3_context c, Z3_model m, Z3_ast t, Z3_bool model_completion, Z3_ast *v)
Evaluate the AST node t in the given model. Return Z3_TRUE if succeeded, and store the result in v...
static Z3_rcf_num Z3_rcf_mk_rational(Z3_context a0, string a1)
Definition: Native.cs:6047
static Z3_ast Z3_get_smtlib_assumption(Z3_context a0, uint a1)
unsigned Z3_API Z3_func_entry_get_num_args(Z3_context c, Z3_func_entry e)
Return the number of arguments in a Z3_func_entry object.
static uint Z3_fpa_get_sbits(Z3_context a0, Z3_sort a1)
void Z3_API Z3_parse_smtlib_string(Z3_context c, Z3_string str, unsigned num_sorts, Z3_symbol const sort_names[], Z3_sort const sorts[], unsigned num_decls, Z3_symbol const decl_names[], Z3_func_decl const decls[])
Parse the given string using the SMT-LIB parser.
static uint Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3382
static Z3_ast Z3_mk_bound(Z3_context a0, uint a1, Z3_sort a2)
Definition: Native.cs:3102
int Z3_API Z3_algebraic_eval(Z3_context c, Z3_ast p, unsigned n, Z3_ast a[])
Given a multivariate polynomial p(x_0, ..., x_{n-1}), return the sign of p(a[0], ..., a[n-1]).
static Z3_ast Z3_mk_fpa_rtz(Z3_context a0)
Definition: Native.cs:6362
static int Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2)
Definition: Native.cs:3222
static double Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2)
Definition: Native.cs:5239
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:6267
static int Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:3542
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:4028
static Z3_tactic Z3_tactic_when(Z3_context a0, Z3_probe a1, Z3_tactic a2)
Z3_ast Z3_API Z3_mk_fpa_eq(Z3_context c, Z3_ast t1, Z3_ast t2)
Floating-point equality.
static Z3_ast Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2590
Z3_bool Z3_API Z3_model_has_interp(Z3_context c, Z3_model m, Z3_func_decl a)
Test if there exists an interpretation (i.e., assignment) for a in the model m.
Z3_ast Z3_API Z3_simplify(Z3_context c, Z3_ast a)
Interface to simplifier.
static Z3_ast Z3_mk_unsigned_int64(Z3_context a0, UInt64 a1, Z3_sort a2)
Z3_model Z3_API Z3_optimize_get_model(Z3_context c, Z3_optimize o)
Retrieve the model for the last Z3_optimize_check.
void Z3_API Z3_del_literals(Z3_context c, Z3_literals lbls)
Delete a labels context.
static int Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2)
Definition: Native.cs:4778
static int Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, [In, Out] ref uint a2)
Definition: Native.cs:3686
static Z3_constructor_list Z3_mk_constructor_list(Z3_context a0, uint a1, [In] Z3_constructor[] a2)
Definition: Native.cs:2257
Z3_ast Z3_API Z3_get_pattern(Z3_context c, Z3_pattern p, unsigned idx)
Return i&#39;th ast in pattern.
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:2279
static Z3_probe Z3_probe_not(Z3_context a0, Z3_probe a1)
Definition: Native.cs:5167
unsigned Z3_API Z3_get_smtlib_num_sorts(Z3_context c)
Return the number of sorts parsed by Z3_parse_smtlib_string or Z3_parse_smtlib_file.
static Z3_ast Z3_mk_fpa_fp(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Z3_ast_vector Z3_API Z3_polynomial_subresultants(Z3_context c, Z3_ast p, Z3_ast q, Z3_ast x)
Return the nonzero subresultants of p and q with respect to the "variable" x.
static IntPtr Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
static void Z3_optimize_assert(Z3_context a0, Z3_optimize a1, Z3_ast a2)
static Z3_ast Z3_mk_fpa_numeral_int_uint(Z3_context a0, int a1, int a2, uint a3, Z3_sort a4)
static Z3_func_decl Z3_get_model_func_decl(Z3_context a0, Z3_model a1, uint a2)
Definition: Native.cs:5769
static IntPtr Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:3822
static Z3_ast Z3_mk_fpa_nan(Z3_context a0, Z3_sort a1)
Definition: Native.cs:6442
static int Z3_rcf_eq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:6183
static int Z3_algebraic_le(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5984
static string Z3_params_to_string(Z3_context a0, Z3_params a1)
Definition: Native.cs:2077
Z3_bool Z3_API Z3_algebraic_eq(Z3_context c, Z3_ast a, Z3_ast b)
Return Z3_TRUE if a == b, and Z3_FALSE otherwise.
static Z3_tactic Z3_tactic_fail_if(Z3_context a0, Z3_probe a1)
Definition: Native.cs:5079
static Z3_context Z3_mk_context(Z3_config a0)
static Z3_sort Z3_mk_fpa_sort_quadruple(Z3_context a0)
unsigned Z3_API Z3_get_quantifier_num_patterns(Z3_context c, Z3_ast a)
Return number of patterns used in quantifier.
static Z3_ast Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2)
Definition: Native.cs:4786
static void Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4339
static int Z3_get_symbol_int(Z3_context a0, IntPtr a1)
Definition: Native.cs:3182
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)
void Z3_API Z3_interrupt(Z3_context c)
Interrupt the execution of a Z3 procedure. This procedure can be used to interrupt: solvers...
static Z3_ast Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2734
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_bvsub_no_underflow(Z3_context c, Z3_ast t1, 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_bool Z3_API Z3_is_array_value(Z3_context c, Z3_model m, Z3_ast v, unsigned *num_entries)
Determine whether the term encodes an array value. A term encodes an array value if it is a nested se...
static Z3_probe Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2)
Definition: Native.cs:5135
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_ast Z3_mk_fpa_to_fp_float(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_sort a3)
static Z3_func_decl Z3_model_get_const_decl(Z3_context a0, Z3_model a1, uint a2)
Definition: Native.cs:3964
Z3_rcf_num Z3_API Z3_rcf_mk_e(Z3_context c)
Return e (Euler&#39;s constant)
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:5429
static Z3_sort Z3_mk_uninterpreted_sort(Z3_context a0, IntPtr a1)
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_param_descrs Z3_API Z3_fixedpoint_get_param_descrs(Z3_context c, Z3_fixedpoint f)
Return the parameter description set for the given fixedpoint object.
static string Z3_fpa_get_numeral_significand_string(Z3_context a0, Z3_ast a1)
Definition: Native.cs:6794
static Z3_ast Z3_mk_fpa_numeral_double(Z3_context a0, double a1, Z3_sort a2)
Definition: Native.cs:6482
static Z3_ast Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2574
static void Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1)
Definition: Native.cs:4808
static uint Z3_func_interp_get_num_entries(Z3_context a0, Z3_func_interp a1)
Definition: Native.cs:4042
static Z3_probe Z3_mk_probe(Z3_context a0, string a1)
static void Z3_pop(Z3_context a0, uint a1)
Definition: Native.cs:5585
static Z3_apply_result Z3_tactic_apply_ex(Z3_context a0, Z3_tactic a1, Z3_goal a2, Z3_params a3)
Definition: Native.cs:5255
static uint Z3_get_smtlib_num_decls(Z3_context a0)
Definition: Native.cs:4246
static Z3_context Z3_mk_context(Z3_config a0)
Definition: Native.cs:1981
static void Z3_push(Z3_context a0)
Definition: Native.cs:5578
static Z3_ast Z3_mk_unary_minus(Z3_context a0, Z3_ast a1)
Z3_ast Z3_API Z3_mk_fpa_is_nan(Z3_context c, Z3_ast t)
Predicate indicating whether t is a NaN.
Z3_ast Z3_API Z3_mk_bvor(Z3_context c, Z3_ast t1, Z3_ast t2)
Bitwise or.
Z3_ast Z3_API Z3_mk_bvsdiv_no_overflow(Z3_context c, Z3_ast t1, Z3_ast t2)
Create a predicate that checks that the bit-wise signed division of t1 and t2 does not overflow...
static Z3_ast Z3_mk_unary_minus(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2438
static Z3_sort Z3_mk_fpa_sort_quadruple(Z3_context a0)
Definition: Native.cs:6426
static Z3_ast Z3_algebraic_mul(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5936
static int Z3_is_algebraic_number(Z3_context a0, Z3_ast a1)
static int Z3_algebraic_eq(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:6000
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:2958
static Z3_sort Z3_get_range(Z3_context a0, Z3_func_decl a1)
static Z3_ast Z3_mk_fpa_lt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:6618
static Z3_ast Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:3030
Z3_lbool Z3_API Z3_check_assumptions(Z3_context c, unsigned num_assumptions, Z3_ast const assumptions[], Z3_model *m, Z3_ast *proof, unsigned *core_size, Z3_ast core[])
Check whether the given logical context and optional assumptions is consistent or not...
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)
static Z3_ast Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2)
Definition: Native.cs:3854
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)
static Z3_ast Z3_mk_fpa_is_zero(Z3_context a0, Z3_ast a1)
Definition: Native.cs:6666
static Z3_ast Z3_mk_fpa_to_sbv(Z3_context a0, Z3_ast a1, Z3_ast a2, uint a3)
Z3_ast Z3_API Z3_mk_repeat(Z3_context c, unsigned i, Z3_ast t1)
Repeat the given bit-vector up length i.
static string Z3_fixedpoint_get_reason_unknown(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4398
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. ...
Z3_ast Z3_API Z3_get_decl_ast_parameter(Z3_context c, Z3_func_decl d, unsigned idx)
Return the expresson value associated with an expression parameter.
static Z3_ast Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2790
static IntPtr Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1)
Z3_tactic Z3_API Z3_tactic_using_params(Z3_context c, Z3_tactic t, Z3_params p)
Return a tactic that applies t using the given set of parameters.
Z3_ast Z3_API Z3_mk_bvneg_no_overflow(Z3_context c, Z3_ast t1)
Check that bit-wise negation does not overflow when t1 is interpreted as a signed bit-vector...
static Z3_pattern Z3_mk_pattern(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:3094
Z3_string Z3_API Z3_solver_to_string(Z3_context c, Z3_solver s)
Convert a solver into a string.
static Z3_ast Z3_mk_add(Z3_context a0, uint a1, [In] Z3_ast[] a2)
Definition: Native.cs:2414
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:2234
Z3_bool Z3_API Z3_is_algebraic_number(Z3_context c, Z3_ast a)
Return true if the give AST is a real algebraic number.
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:2272
Z3_lbool Z3_API Z3_solver_check(Z3_context c, Z3_solver s)
Check whether the assertions in a given solver are consistent or not.
Z3_ast_vector Z3_API Z3_ast_vector_translate(Z3_context s, Z3_ast_vector v, Z3_context t)
Translate the AST vector v from context s into an AST vector in context t.
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)
void Z3_API Z3_pop(Z3_context c, unsigned num_scopes)
Backtrack.
static uint Z3_stats_size(Z3_context a0, Z3_stats a1)
Z3_sort Z3_API Z3_get_domain(Z3_context c, Z3_func_decl d, unsigned i)
Return the sort of the i-th parameter of the given function declaration.
Z3_ast Z3_API Z3_mk_fpa_to_fp_float(Z3_context c, Z3_ast rm, Z3_ast t, Z3_sort s)
Conversion of a FloatingPoint term into another term of different FloatingPoint sort.
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...
void Z3_API Z3_optimize_pop(Z3_context c, Z3_optimize d)
Backtrack one level.
static Z3_model Z3_optimize_get_model(Z3_context a0, Z3_optimize a1)
Definition: Native.cs:4618
static uint Z3_get_tuple_sort_num_fields(Z3_context a0, Z3_sort a1)
static Z3_ast Z3_mk_fpa_to_fp_real(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_sort a3)
Definition: Native.cs:6722
static uint Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3782
Z3_ast Z3_API Z3_mk_fpa_neg(Z3_context c, Z3_ast t)
Floating-point negation.
static uint Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, uint a2)
Z3_ast Z3_API Z3_mk_is_int(Z3_context c, Z3_ast t1)
Check if a real number is an integer.
Z3_sort Z3_API Z3_mk_real_sort(Z3_context c)
Create the real type.
static string Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3502
unsigned Z3_API Z3_get_ast_id(Z3_context c, Z3_ast t)
Return a unique identifier for t. The identifier is unique up to structural equality. Thus, two ast nodes created by the same context and having the same children and same function symbols have the same identifiers. Ast nodes created in the same context, but having different children or different functions have different identifiers. Variables and quantifiers are also assigned different identifiers according to their structure.
static Z3_model Z3_solver_get_model(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5445
static Z3_tactic Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, uint a2)
Z3_string Z3_API Z3_get_numeral_decimal_string(Z3_context c, Z3_ast a, unsigned precision)
Return numeral as a string in decimal notation. The result has at most precision decimal places...
Z3_ast Z3_API Z3_mk_set_member(Z3_context c, Z3_ast elem, Z3_ast set)
Check for set membership.
static void Z3_del_constructor_list(Z3_context a0, Z3_constructor_list a1)
static void Z3_del_context(Z3_context a0)
Definition: Native.cs:1995
unsigned Z3_API Z3_get_quantifier_weight(Z3_context c, Z3_ast a)
Obtain weight of quantifier.
Z3_symbol Z3_API Z3_get_quantifier_bound_name(Z3_context c, Z3_ast a, unsigned i)
Return symbol of the i&#39;th bound variable.
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:2085
Z3_ast Z3_API Z3_app_to_ast(Z3_context c, Z3_app a)
Convert a Z3_app into Z3_ast. This is just type casting.
static int Z3_rcf_ge(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:6175
static IntPtr Z3_context_to_string(Z3_context a0)
void Z3_API Z3_del_model(Z3_context c, Z3_model m)
Delete a model object.
static int Z3_check(Z3_context a0)
Definition: Native.cs:5622
static void Z3_block_literals(Z3_context a0, Z3_literals a1)
Z3_ast Z3_API Z3_mk_fpa_rna(Z3_context c)
Create a numeral of RoundingMode sort which represents the NearestTiesToAway rounding mode...
static Z3_ast Z3_func_interp_get_else(Z3_context a0, Z3_func_interp a1)
Definition: Native.cs:4058
static void Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2)
Definition: Native.cs:4869
static Z3_ast Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:3718
static uint Z3_get_symbol_kind(Z3_context a0, IntPtr a1)
static Z3_ast Z3_mk_fpa_sqrt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:6570
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)
static uint Z3_model_get_num_funcs(Z3_context a0, Z3_model a1)
static int Z3_fpa_get_numeral_exponent_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2)
Definition: Native.cs:6818
static string Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:3646
static Z3_ast Z3_mk_full_set(Z3_context a0, Z3_sort a1)
Definition: Native.cs:2974
static Z3_ast Z3_mk_int2real(Z3_context a0, Z3_ast a1)
Z3_ast Z3_API Z3_mk_fpa_add(Z3_context c, Z3_ast rm, Z3_ast t1, Z3_ast t2)
Floating-point addition.
Z3_config Z3_API Z3_mk_config(void)
Create a configuration object for the Z3 context object.
static IntPtr Z3_get_probe_name(Z3_context a0, uint a1)
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:5607
static Z3_ast Z3_mk_fpa_round_toward_zero(Z3_context a0)
Definition: Native.cs:6354
static void Z3_solver_dec_ref(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5371
static int Z3_is_algebraic_number(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3614
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:6191
static Z3_ast Z3_mk_fpa_neg(Z3_context a0, Z3_ast a1)
Definition: Native.cs:6522
unsigned Z3_API Z3_goal_num_exprs(Z3_context c, Z3_goal g)
Return the number of formulas, subformulas and terms in the given goal.
static Z3_tactic Z3_tactic_when(Z3_context a0, Z3_probe a1, Z3_tactic a2)
Definition: Native.cs:5039
static Z3_ast Z3_mk_not(Z3_context a0, Z3_ast a1)
Z3_bool Z3_API Z3_is_quantifier_forall(Z3_context c, Z3_ast a)
Determine if quantifier is universal.
static Z3_ast Z3_mk_set_difference(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:3014
static IntPtr Z3_get_label_symbol(Z3_context a0, Z3_literals a1, uint a2)
static void Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1)
Z3_sort Z3_API Z3_get_range(Z3_context c, Z3_func_decl d)
Return the range of the given declaration.
static Z3_ast Z3_algebraic_sub(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5928
static void Z3_apply_result_inc_ref(Z3_context a0, Z3_apply_result a1)
Definition: Native.cs:5263
static uint Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3446
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:2534
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)
void Z3_API Z3_fixedpoint_update_rule(Z3_context c, Z3_fixedpoint d, Z3_ast a, Z3_symbol name)
Update a named rule. A rule with the same name must have been previously created. ...
static uint Z3_goal_depth(Z3_context a0, Z3_goal a1)
Z3_string Z3_API Z3_stats_to_string(Z3_context c, Z3_stats s)
Convert a statistics into a string.
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:1973
Z3_bool Z3_API Z3_get_numeral_int(Z3_context c, Z3_ast v, int *i)
Similar to Z3_get_numeral_string, but only succeeds if the value can fit in a machine int...
Z3_tactic Z3_API Z3_tactic_repeat(Z3_context c, 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 void Z3_del_context(Z3_context a0)
void Z3_API Z3_params_validate(Z3_context c, Z3_params p, Z3_param_descrs d)
Validate the parameter set p against the parameter description set d.
unsigned Z3_API Z3_get_num_scopes(Z3_context c)
Retrieve the current scope level.
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:5469
static IntPtr Z3_solver_to_string(Z3_context a0, Z3_solver a1)
static Z3_config Z3_mk_config()
Definition: Native.cs:1968
static void Z3_params_set_symbol(Z3_context a0, Z3_params a1, IntPtr a2, IntPtr a3)
Definition: Native.cs:2070
static Z3_ast_vector Z3_fixedpoint_from_file(Z3_context a0, Z3_fixedpoint a1, string a2)
Definition: Native.cs:4513
static Z3_ast_map Z3_mk_ast_map(Z3_context a0)
Definition: Native.cs:4756
static Z3_ast Z3_mk_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2622
void Z3_API Z3_mk_datatypes(Z3_context c, unsigned num_sorts, Z3_symbol const sort_names[], Z3_sort sorts[], Z3_constructor_list constructor_lists[])
Create mutually recursive datatypes.
static IntPtr Z3_goal_to_string(Z3_context a0, Z3_goal a1)
Z3_stats Z3_API Z3_optimize_get_statistics(Z3_context c, Z3_optimize d)
Retrieve statistics information from the last call to Z3_optimize_check.
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)
Z3_ast Z3_API Z3_mk_gt(Z3_context c, Z3_ast t1, Z3_ast t2)
Create greater than.
void Z3_API Z3_ast_map_dec_ref(Z3_context c, Z3_ast_map m)
Decrement the reference counter of the given AST map.
static Z3_ast Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2718
static uint Z3_get_smtlib_num_formulas(Z3_context a0)
static Z3_rcf_num Z3_rcf_sub(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
static Z3_stats Z3_optimize_get_statistics(Z3_context a0, Z3_optimize a1)
Definition: Native.cs:4673
void Z3_API Z3_solver_assert_and_track(Z3_context c, Z3_solver s, Z3_ast a, Z3_ast p)
Assert a constraint a into the solver, and track it (in the unsat) core using the Boolean constant p...
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)
Z3_string Z3_API Z3_rcf_num_to_decimal_string(Z3_context c, Z3_rcf_num a, unsigned prec)
Convert the RCF numeral into a string in decimal notation.
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_ast Z3_API Z3_mk_fpa_numeral_double(Z3_context c, double v, Z3_sort ty)
Create a numeral of FloatingPoint sort from a double.
Z3_tactic Z3_API Z3_tactic_cond(Z3_context c, Z3_probe p, Z3_tactic t1, 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 Z3_ast Z3_mk_fpa_rem(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_ast Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Definition: Native.cs:2926
Z3_ast Z3_API Z3_mk_sub(Z3_context c, unsigned num_args, Z3_ast const args[])
Create an AST node representing args[0] - ... - args[num_args - 1].The array args must have num_args ...
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)
Z3_tactic Z3_API Z3_tactic_par_or(Z3_context c, unsigned num, Z3_tactic const ts[])
Return a tactic that applies the given tactics in parallel.
static double Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3462
static Z3_ast_map Z3_mk_ast_map(Z3_context a0)
static uint Z3_optimize_maximize(Z3_context a0, Z3_optimize a1, Z3_ast a2)
Definition: Native.cs:4572
Z3_rcf_num Z3_API Z3_rcf_mul(Z3_context c, Z3_rcf_num a, Z3_rcf_num b)
Return the value a * b.
Z3_solver Z3_API Z3_mk_simple_solver(Z3_context c)
Create a new (incremental) solver.
Z3_ast Z3_API Z3_mk_power(Z3_context c, Z3_ast arg1, Z3_ast arg2)
Create an AST node representing arg1^arg2.
Z3_ast Z3_API Z3_mk_implies(Z3_context c, Z3_ast t1, Z3_ast t2)
Create an AST node representing t1 implies t2.
static uint Z3_get_ast_kind(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3590
static Z3_ast Z3_mk_ext_rotate_right(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2830
Z3_tactic Z3_API Z3_tactic_try_for(Z3_context c, Z3_tactic t, unsigned ms)
Return a tactic that applies t to a given goal for ms milliseconds. If t does not terminate in ms mil...
static void Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1)
static string Z3_interpolation_profile(Z3_context a0)
Definition: Native.cs:6251
static Z3_ast Z3_mk_fpa_is_subnormal(Z3_context a0, Z3_ast a1)
Definition: Native.cs:6658
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.
void Z3_API Z3_set_param_value(Z3_config c, Z3_string param_id, Z3_string param_value)
Set a configuration parameter.
static Z3_ast Z3_mk_fpa_is_positive(Z3_context a0, Z3_ast a1)
Definition: Native.cs:6698
static Z3_ast Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_ast Z3_substitute(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3, [In] Z3_ast[] a4)
Z3_string Z3_API Z3_solver_get_reason_unknown(Z3_context c, Z3_solver s)
Return a brief justification for an "unknown" result (i.e., Z3_L_UNDEF) for the commands Z3_solver_ch...
static Z3_ast Z3_pattern_to_ast(Z3_context a0, Z3_pattern a1)
Z3_ast Z3_API Z3_mk_fpa_div(Z3_context c, Z3_ast rm, Z3_ast t1, Z3_ast t2)
Floating-point division.
Z3_ast Z3_API Z3_mk_bvnot(Z3_context c, Z3_ast t1)
Bitwise negation.
static void Z3_optimize_dec_ref(Z3_context a0, Z3_optimize a1)
Definition: Native.cs:4550
static void Z3_close_log()
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:2462
static int Z3_get_numeral_int(Z3_context a0, Z3_ast a1, [In, Out] ref int a2)
Definition: Native.cs:3678
static int Z3_algebraic_ge(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5992
static Z3_func_decl Z3_get_datatype_sort_recognizer(Z3_context a0, Z3_sort a1, uint a2)
Definition: Native.cs:3310
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:2502
static Z3_ast_vector Z3_mk_ast_vector(Z3_context a0)
static Z3_sort Z3_mk_fpa_sort_64(Z3_context a0)
Z3_ast_vector Z3_API Z3_ast_map_keys(Z3_context c, Z3_ast_map m)
Return the keys stored in the given map.
static Z3_tactic Z3_tactic_fail_if_not_decided(Z3_context a0)
Definition: Native.cs:5087
static Z3_ast Z3_mk_fpa_add(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
static Z3_ast Z3_mk_fpa_zero(Z3_context a0, Z3_sort a1, int a2)
Definition: Native.cs:6458
Z3_probe Z3_API Z3_probe_lt(Z3_context x, Z3_probe p1, 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_mk_fpa_to_fp_real(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_sort a3)
static Z3_ast Z3_mk_fpa_round_nearest_ties_to_away(Z3_context a0)
static Z3_rcf_num Z3_rcf_power(Z3_context a0, Z3_rcf_num a1, uint a2)
Definition: Native.cs:6143
Z3_string Z3_API Z3_fixedpoint_get_help(Z3_context c, Z3_fixedpoint f)
Return a string describing all fixedpoint available parameters.
static Z3_solver Z3_mk_simple_solver(Z3_context a0)
Definition: Native.cs:5317
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)
void Z3_API Z3_params_set_double(Z3_context c, Z3_params p, Z3_symbol k, double v)
Add a double parameter k with value v to the parameter set p.
static Z3_ast Z3_get_pattern(Z3_context a0, Z3_pattern a1, uint a2)
Definition: Native.cs:3750
void Z3_API Z3_goal_assert(Z3_context c, Z3_goal g, Z3_ast a)
Add a new formula a to the given goal.
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)
Z3_ast Z3_API Z3_mk_fpa_round_toward_negative(Z3_context c)
Create a numeral of RoundingMode sort which represents the TowardNegative rounding mode...
static Z3_param_descrs Z3_optimize_get_param_descrs(Z3_context a0, Z3_optimize a1)
static Z3_param_descrs Z3_tactic_get_param_descrs(Z3_context a0, Z3_tactic a1)
Z3_tactic Z3_API Z3_tactic_fail_if(Z3_context c, Z3_probe p)
Return a tactic that fails if the probe p evaluates to false.
static Z3_ast Z3_solver_get_proof(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5453
static Z3_ast Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_sort Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:3830
Z3_string Z3_API Z3_optimize_get_help(Z3_context c, Z3_optimize t)
Return a string containing a description of parameters accepted by optimize.
Z3_string Z3_API Z3_get_symbol_string(Z3_context c, Z3_symbol s)
Return the symbol name.
unsigned Z3_API Z3_get_datatype_sort_num_constructors(Z3_context c, Z3_sort t)
Return number of constructors for datatype.
static int Z3_fpa_get_numeral_sign(Z3_context a0, Z3_ast a1, [In, Out] ref int a2)
Definition: Native.cs:6786
Z3_ast Z3_API Z3_algebraic_power(Z3_context c, Z3_ast a, unsigned k)
Return the a^k.
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:4740
Z3_pattern Z3_API Z3_mk_pattern(Z3_context c, unsigned num_patterns, Z3_ast const terms[])
Create a pattern for quantifier instantiation.
Z3_ast Z3_API Z3_get_smtlib_formula(Z3_context c, unsigned i)
Return the i-th formula parsed by the last call to Z3_parse_smtlib_string or Z3_parse_smtlib_file.
static int Z3_algebraic_gt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5976
static Z3_rcf_num Z3_rcf_mk_e(Z3_context a0)
Definition: Native.cs:6071
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:5357
static void Z3_fixedpoint_set_params(Z3_context a0, Z3_fixedpoint a1, Z3_params a2)
void Z3_API Z3_ast_map_insert(Z3_context c, Z3_ast_map m, Z3_ast k, Z3_ast v)
Store/Replace a new key, value pair in the given map.
static void Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2)
static Z3_ast Z3_mk_fpa_to_ieee_bv(Z3_context a0, Z3_ast a1)
Definition: Native.cs:6826
Z3_goal Z3_API Z3_apply_result_get_subgoal(Z3_context c, Z3_apply_result r, unsigned i)
Return one of the subgoals in the Z3_apply_result object returned by Z3_tactic_apply.
static Z3_sort Z3_get_smtlib_sort(Z3_context a0, uint a1)
Definition: Native.cs:4270
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_sort_kind Z3_API Z3_get_sort_kind(Z3_context c, Z3_sort t)
Return the sort kind (e.g., array, tuple, int, bool, etc).
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 string Z3_optimize_get_reason_unknown(Z3_context a0, Z3_optimize a1)
Definition: Native.cs:4610
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:2678
static Z3_tactic Z3_tactic_skip(Z3_context a0)
Definition: Native.cs:5063
static Z3_ast Z3_mk_fpa_round_toward_zero(Z3_context a0)
static Z3_rcf_num Z3_rcf_mk_small_int(Z3_context a0, int a1)
Definition: Native.cs:6055
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)
Z3_lbool Z3_API Z3_get_bool_value(Z3_context c, Z3_ast a)
Return Z3_L_TRUE if a is true, Z3_L_FALSE if it is false, and Z3_L_UNDEF otherwise.
static Z3_ast Z3_algebraic_power(Z3_context a0, Z3_ast a1, uint a2)
Definition: Native.cs:5960
static uint Z3_get_num_tactics(Z3_context a0)
Definition: Native.cs:5175
static void Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1)
Definition: Native.cs:4035
static void Z3_close_log()
Definition: Native.cs:4121
static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1)
Definition: Native.cs:1948
static IntPtr Z3_optimize_get_help(Z3_context a0, Z3_optimize a1)
Z3_bool Z3_API Z3_is_numeral_ast(Z3_context c, Z3_ast a)
static Z3_ast Z3_mk_fpa_rtp(Z3_context a0)
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:2878
Z3_param_kind Z3_API Z3_param_descrs_get_kind(Z3_context c, Z3_param_descrs p, Z3_symbol n)
Return the kind associated with the given parameter name n.
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:5793
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:3366
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:2654
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:4847
Z3_ast Z3_API Z3_mk_bvredor(Z3_context c, Z3_ast t1)
Take disjunction of bits in vector, return vector of length 1.
static Z3_ast Z3_mk_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2646
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)
Z3_sort Z3_API Z3_mk_set_sort(Z3_context c, Z3_sort ty)
Create Set type.
unsigned Z3_API Z3_get_quantifier_num_no_patterns(Z3_context c, Z3_ast a)
Return number of no_patterns used in quantifier.
static string Z3_context_to_string(Z3_context a0)
Definition: Native.cs:5856
void Z3_API Z3_write_interpolation_problem(Z3_context ctx, unsigned num, Z3_ast cnsts[], unsigned parents[], Z3_string filename, unsigned num_theory, Z3_ast theory[])
unsigned Z3_API Z3_get_func_decl_id(Z3_context c, Z3_func_decl f)
Return a unique identifier for f.
static Z3_literals Z3_get_relevant_literals(Z3_context a0)
void Z3_API Z3_apply_result_dec_ref(Z3_context c, Z3_apply_result r)
Decrement the reference counter of the given Z3_apply_result object.
Z3_ast Z3_API Z3_mk_fpa_zero(Z3_context c, Z3_sort s, Z3_bool negative)
Create a floating-point zero of sort s.
static Z3_rcf_num Z3_rcf_mul(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:6111
static Z3_probe Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2)
Definition: Native.cs:5151
static int Z3_algebraic_neq(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_ast Z3_algebraic_div(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5944
Z3_ast Z3_API Z3_mk_bvsub(Z3_context c, Z3_ast t1, Z3_ast t2)
Standard two&#39;s complement subtraction.
Z3_ast Z3_API Z3_mk_fpa_round_nearest_ties_to_away(Z3_context c)
Create a numeral of RoundingMode sort which represents the NearestTiesToAway rounding mode...
Z3_ast Z3_API Z3_algebraic_sub(Z3_context c, Z3_ast a, Z3_ast b)
Return the value a - b.
Z3_lbool Z3_API Z3_check(Z3_context c)
Check whether the given logical context is consistent or not.
Z3_ast Z3_API Z3_mk_bvand(Z3_context c, Z3_ast t1, Z3_ast t2)
Bitwise and.
Z3_ast_vector Z3_API Z3_fixedpoint_get_assertions(Z3_context c, Z3_fixedpoint f)
Retrieve set of background assertions from fixedpoint context.
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)
Z3_ast Z3_API Z3_mk_int(Z3_context c, int v, Z3_sort ty)
Create a numeral of an int, bit-vector, or finite-domain sort.
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:5848
static void Z3_del_model(Z3_context a0, Z3_model a1)
Definition: Native.cs:5646
static void Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2)
Z3_ast Z3_API Z3_mk_fpa_numeral_int_uint(Z3_context c, Z3_bool sgn, signed exp, unsigned sig, Z3_sort ty)
Create a numeral of FloatingPoint sort from a sign bit and two integers.
static uint Z3_get_smtlib_num_formulas(Z3_context a0)
Definition: Native.cs:4214
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)
Z3_string Z3_API Z3_get_error_msg(Z3_error_code err)
Return a string describing the given error code.
static void Z3_enable_trace(string a0)
static Z3_fixedpoint Z3_mk_fixedpoint(Z3_context a0)
Definition: Native.cs:4331
static Z3_ast Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2670
Z3_bool Z3_API Z3_eval_decl(Z3_context c, Z3_model m, Z3_func_decl d, unsigned num_args, Z3_ast const args[], Z3_ast *v)
Evaluate declaration given values.
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)
void Z3_API Z3_goal_inc_ref(Z3_context c, Z3_goal g)
Increment the reference counter of the given goal.
Z3_ast Z3_API Z3_fixedpoint_get_cover_delta(Z3_context c, Z3_fixedpoint d, int level, Z3_func_decl pred)
static void Z3_optimize_push(Z3_context a0, Z3_optimize a1)
static Z3_ast Z3_mk_rotate_right(Z3_context a0, uint a1, Z3_ast a2)
Definition: Native.cs:2814
static int Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1)
Definition: Native.cs:4923
static Z3_ast Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, uint a2, uint a3)
Z3_bool Z3_API Z3_goal_is_decided_unsat(Z3_context c, Z3_goal g)
Return true if the goal contains false, and it is precise or the product of an over approximation...
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:6275
Z3_ast Z3_API Z3_get_quantifier_body(Z3_context c, Z3_ast a)
Return body of quantifier.
BEGIN_MLAPI_EXCLUDE Z3_constructor Z3_API Z3_mk_constructor(Z3_context c, Z3_symbol name, Z3_symbol recognizer, unsigned num_fields, Z3_symbol const field_names[], Z3_sort_opt const sorts[], unsigned sort_refs[])
Create a constructor.
static Z3_params Z3_mk_params(Z3_context a0)
Definition: Native.cs:2027
static void Z3_reset_memory()
Definition: Native.cs:4323
Z3_ast Z3_API Z3_mk_fpa_geq(Z3_context c, Z3_ast t1, Z3_ast t2)
Floating-point greater than or equal.
static Z3_ast Z3_mk_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2702
unsigned Z3_API Z3_get_num_probes(Z3_context c)
Return the number of builtin probes available in Z3.
Z3_ast Z3_API Z3_translate(Z3_context source, Z3_ast a, Z3_context target)
Translate/Copy the AST a from context source to context target. AST a must have been created using co...
void Z3_API Z3_get_version(unsigned *major, unsigned *minor, unsigned *build_number, unsigned *revision_number)
Return Z3 version number information.
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:5808
static Z3_ast Z3_mk_int2real(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2510
Z3_lbool Z3_API Z3_fixedpoint_query(Z3_context c, Z3_fixedpoint d, Z3_ast query)
Pose a query against the asserted rules.
static Z3_ast Z3_get_denominator(Z3_context a0, Z3_ast a1)
Z3_sort Z3_API Z3_mk_bool_sort(Z3_context c)
Create the Boolean type.
static Z3_model Z3_optimize_get_model(Z3_context a0, Z3_optimize a1)
void Z3_API Z3_assert_cnstr(Z3_context c, Z3_ast a)
Assert a constraint into the logical context.
Z3_ast Z3_API Z3_mk_bvsub_no_overflow(Z3_context c, Z3_ast t1, Z3_ast t2)
Create a predicate that checks that the bit-wise signed subtraction of t1 and t2 does not overflow...
Z3_string Z3_API Z3_optimize_get_reason_unknown(Z3_context c, Z3_optimize d)
Retrieve a string that describes the last status returned by Z3_optimize_check.
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:3846
static Z3_ast Z3_mk_rotate_left(Z3_context a0, uint a1, Z3_ast a2)
Definition: Native.cs:2806
static int Z3_algebraic_sign(Z3_context a0, Z3_ast a1)
Definition: Native.cs:5912
static Z3_probe Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2)
Definition: Native.cs:5119
Z3_ast Z3_API Z3_mk_quantifier(Z3_context c, Z3_bool is_forall, unsigned weight, unsigned num_patterns, Z3_pattern const patterns[], unsigned num_decls, Z3_sort const sorts[], Z3_symbol const decl_names[], Z3_ast body)
Create a quantifier - universal or existential, with pattern hints. See the documentation for Z3_mk_f...
static Z3_ast_vector Z3_fixedpoint_from_string(Z3_context a0, Z3_fixedpoint a1, string a2)
Definition: Native.cs:4505
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:5824
static Z3_func_decl Z3_get_decl_func_decl_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3494
Z3_ast Z3_API Z3_mk_fpa_sub(Z3_context c, Z3_ast rm, Z3_ast t1, Z3_ast t2)
Floating-point subtraction.
unsigned Z3_API Z3_rcf_mk_roots(Z3_context c, unsigned n, Z3_rcf_num const a[], 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 Z3_ast Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_ast Z3_API Z3_mk_bvudiv(Z3_context c, Z3_ast t1, Z3_ast t2)
Unsigned division.
Z3_bool Z3_API Z3_rcf_ge(Z3_context c, Z3_rcf_num a, Z3_rcf_num b)
Return Z3_TRUE if a >= b.
Z3_rcf_num Z3_API Z3_rcf_mk_rational(Z3_context c, Z3_string val)
Return a RCF rational using the given string.
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:3126
static Z3_ast Z3_func_decl_to_ast(Z3_context a0, Z3_func_decl a1)
Z3_context Z3_API Z3_mk_interpolation_context(Z3_config cfg)
This function generates a Z3 context suitable for generation of interpolants. Formulas can be generat...
static uint Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1)
Definition: Native.cs:4703
static Z3_ast Z3_mk_fpa_leq(Z3_context a0, Z3_ast a1, Z3_ast a2)
static uint Z3_fixedpoint_get_num_levels(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2)
static void Z3_optimize_set_params(Z3_context a0, Z3_optimize a1, Z3_params a2)
Definition: Native.cs:4626
static Z3_literals Z3_get_relevant_literals(Z3_context a0)
Definition: Native.cs:5684
static uint Z3_get_smtlib_num_sorts(Z3_context a0)
Definition: Native.cs:4262
static Z3_ast Z3_mk_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2726
Z3_search_failure Z3_API Z3_get_search_failure(Z3_context c)
Retrieve reason for search failure.
static Z3_ast Z3_get_context_assignment(Z3_context a0)
Definition: Native.cs:5872
static Z3_ast Z3_mk_fpa_min(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:6594
static Z3_ast Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, uint a2)
void Z3_API Z3_params_inc_ref(Z3_context c, Z3_params p)
Increment the reference counter of the given parameter set.
static void Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1)
static Z3_param_descrs Z3_optimize_get_param_descrs(Z3_context a0, Z3_optimize a1)
Definition: Native.cs:4633
Z3_ast Z3_API Z3_mk_forall_const(Z3_context c, unsigned weight, unsigned num_bound, Z3_app const bound[], unsigned num_patterns, Z3_pattern const patterns[], Z3_ast body)
Create a universal quantifier using a list of constants that will form the set of bound variables...
static uint Z3_get_datatype_sort_num_constructors(Z3_context a0, Z3_sort a1)
Definition: Native.cs:3294
static Z3_ast Z3_mk_lt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2478
static Z3_ast Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2)
Z3_string Z3_API Z3_tactic_get_help(Z3_context c, Z3_tactic t)
Return a string containing a description of parameters accepted by the given tactic.
void Z3_API Z3_params_set_symbol(Z3_context c, Z3_params p, Z3_symbol k, Z3_symbol v)
Add a symbol parameter k with value v to the parameter set p.
static void Z3_apply_result_dec_ref(Z3_context a0, Z3_apply_result a1)
static Z3_ast Z3_mk_fpa_round_nearest_ties_to_even(Z3_context a0)
static Z3_rcf_num Z3_rcf_inv(Z3_context a0, Z3_rcf_num a1)
static void Z3_enable_trace(string a0)
Definition: Native.cs:4315
static Z3_ast_vector Z3_mk_ast_vector(Z3_context a0)
Definition: Native.cs:4681
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_string Z3_API Z3_ast_map_to_string(Z3_context c, Z3_ast_map m)
Convert the given map into a string.
static IntPtr Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1)
static int Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2)
void Z3_API Z3_model_inc_ref(Z3_context c, Z3_model m)
Increment the reference counter of the given model.
unsigned Z3_API Z3_optimize_minimize(Z3_context c, Z3_optimize o, Z3_ast t)
Add a minimization constraint.
static Z3_rcf_num Z3_rcf_mk_infinitesimal(Z3_context a0)
Z3_string Z3_API Z3_simplify_get_help(Z3_context c)
Return a string describing all available parameters.
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)
static string Z3_pattern_to_string(Z3_context a0, Z3_pattern a1)
Definition: Native.cs:4144
Z3_ast Z3_API Z3_mk_eq(Z3_context c, Z3_ast l, Z3_ast r)
Create an AST node representing l = r.
static Z3_ast Z3_mk_fpa_mul(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Definition: Native.cs:6546
static Z3_ast Z3_mk_fpa_is_nan(Z3_context a0, Z3_ast a1)
Definition: Native.cs:6682
static Z3_sort Z3_get_range(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3430
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_fpa_add(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Definition: Native.cs:6530
static Z3_ast Z3_mk_int(Z3_context a0, int a1, Z3_sort a2)
Definition: Native.cs:3062
static uint Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1)
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:1367
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:2013
unsigned Z3_API Z3_ast_map_size(Z3_context c, Z3_ast_map m)
Return the size of the given map.
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:3158
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:4892
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)
Z3_ast Z3_API Z3_mk_atmost(Z3_context c, unsigned num_args, Z3_ast const args[], unsigned k)
Pseudo-Boolean relations.
static Z3_ast Z3_get_pattern(Z3_context a0, Z3_pattern a1, uint a2)
void Z3_API Z3_finalize_memory(void)
Destroy all allocated resources.
Z3_symbol Z3_API Z3_mk_int_symbol(Z3_context c, int i)
Create a Z3 symbol using an integer.
Z3_sort Z3_API Z3_mk_fpa_sort_64(Z3_context c)
Create the double-precision (64-bit) FloatingPoint sort.
Z3_bool Z3_API Z3_is_as_array(Z3_context c, Z3_ast a)
The (_ as-array f) AST node is a construct for assigning interpretations for arrays in Z3...
Z3_ast Z3_API Z3_mk_bvmul(Z3_context c, Z3_ast t1, Z3_ast t2)
Standard two&#39;s complement multiplication.
static Z3_ast Z3_mk_fpa_to_ubv(Z3_context a0, Z3_ast a1, Z3_ast a2, uint a3)
static void Z3_params_set_double(Z3_context a0, Z3_params a1, IntPtr a2, double a3)
Definition: Native.cs:2063
Z3_ast Z3_API Z3_mk_fpa_inf(Z3_context c, Z3_sort s, Z3_bool negative)
Create a floating-point infinity of sort s.
static void Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4)
static uint Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1)
Z3_bool Z3_API Z3_algebraic_is_neg(Z3_context c, Z3_ast a)
Return the Z3_TRUE if a is negative, and Z3_FALSE otherwise.
static Z3_ast Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_ast Z3_mk_fpa_is_negative(Z3_context a0, Z3_ast a1)
Z3_param_descrs Z3_API Z3_solver_get_param_descrs(Z3_context c, Z3_solver s)
Return the parameter description set for the given solver object.
static Z3_goal Z3_apply_result_get_subgoal(Z3_context a0, Z3_apply_result a1, uint a2)
unsigned Z3_API Z3_func_interp_get_num_entries(Z3_context c, Z3_func_interp f)
Return the number of entries in the given function interpretation.
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)
static Z3_optimize Z3_mk_optimize(Z3_context a0)
static void Z3_finalize_memory()
Definition: Native.cs:4327
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:2130
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:5341
Z3_ast Z3_API Z3_mk_extract(Z3_context c, unsigned high, unsigned low, Z3_ast t1)
Extract the bits high down to low from a bitvector of size m to yield a new bitvector of size n...
void Z3_API Z3_ast_map_reset(Z3_context c, Z3_ast_map m)
Remove all keys from the given map.
static Z3_ast Z3_mk_fpa_is_normal(Z3_context a0, Z3_ast a1)
Z3_bool Z3_API Z3_algebraic_is_zero(Z3_context c, Z3_ast a)
Return the Z3_TRUE if a is zero, and Z3_FALSE otherwise.
static void Z3_del_constructor(Z3_context a0, Z3_constructor a1)
Definition: Native.cs:2242
static int Z3_stats_is_uint(Z3_context a0, Z3_stats a1, uint a2)
Definition: Native.cs:5531
static Z3_ast Z3_mk_fpa_max(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_ast_vector Z3_algebraic_roots(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3)
Definition: Native.cs:6016
Z3_ast Z3_API Z3_mk_bvneg(Z3_context c, Z3_ast t1)
Standard two&#39;s complement unary minus.
static Z3_rcf_num Z3_rcf_mk_infinitesimal(Z3_context a0)
Definition: Native.cs:6079
static Z3_tactic Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, uint a2)
Definition: Native.cs:5055
double Z3_API Z3_stats_get_double_value(Z3_context c, Z3_stats s, unsigned idx)
Return the double value of the given statistical data.
static string Z3_get_symbol_string(Z3_context a0, IntPtr a1)
Definition: Native.cs:3190
void Z3_API Z3_fixedpoint_add_fact(Z3_context c, Z3_fixedpoint d, Z3_func_decl r, unsigned num_args, unsigned args[])
Add a Database fact.
static void Z3_solver_push(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5378
static Z3_ast Z3_mk_int2bv(Z3_context a0, uint a1, Z3_ast a2)
Z3_sort Z3_API Z3_mk_fpa_sort_double(Z3_context c)
Create the double-precision (64-bit) FloatingPoint sort.
int Z3_API Z3_algebraic_sign(Z3_context c, Z3_ast a)
Return 1 if a is positive, 0 if a is zero, and -1 if a is negative.
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)
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:2998
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:5293
static uint Z3_ast_map_size(Z3_context a0, Z3_ast_map a1)
Definition: Native.cs:4815
Z3_ast Z3_API Z3_mk_bvurem(Z3_context c, Z3_ast t1, Z3_ast t2)
Unsigned remainder.
static int Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref uint a3)
Definition: Native.cs:5785
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)
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)
static Z3_ast Z3_mk_fpa_to_ieee_bv(Z3_context a0, Z3_ast a1)
static int Z3_global_param_get(string a0, out IntPtr a1)
Z3_ast Z3_API Z3_mk_fpa_sqrt(Z3_context c, Z3_ast rm, Z3_ast t)
Floating-point square root.
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:2950
Z3_ast Z3_API Z3_mk_bvxor(Z3_context c, Z3_ast t1, Z3_ast t2)
Bitwise exclusive-or.
static Z3_ast Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2582
static uint Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1)
Definition: Native.cs:3742
static Z3_context Z3_mk_interpolation_context(Z3_config a0)
Z3_ast Z3_API Z3_get_algebraic_number_lower(Z3_context c, Z3_ast a, 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_ite(Z3_context c, Z3_ast t1, Z3_ast t2, Z3_ast t3)
Create an AST node representing an if-then-else: ite(t1, t2, t3).
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:4088
static Z3_ast Z3_mk_fpa_fma(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3, Z3_ast a4)
Z3_solver Z3_API Z3_mk_solver_from_tactic(Z3_context c, Z3_tactic t)
Create a new solver that is implemented using the given tactic. The solver supports the commands Z3_s...
static int Z3_is_app(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3598
static Z3_ast Z3_mk_real2int(Z3_context a0, Z3_ast a1)
Z3_func_entry Z3_API Z3_func_interp_get_entry(Z3_context c, Z3_func_interp f, unsigned i)
Return a "point" of the given function intepretation. It represents the value of f in a particular po...
Z3_string Z3_API Z3_benchmark_to_smtlib_string(Z3_context c, Z3_string name, Z3_string logic, Z3_string status, Z3_string attributes, unsigned num_assumptions, Z3_ast const assumptions[], Z3_ast formula)
Convert the given benchmark into SMT-LIB formatted string.
static Z3_goal Z3_mk_goal(Z3_context a0, int a1, int a2, int a3)
Definition: Native.cs:4839
static Z3_ast_vector Z3_algebraic_roots(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3)
static string Z3_optimize_get_help(Z3_context a0, Z3_optimize a1)
Definition: Native.cs:4665
int Z3_API Z3_get_decl_int_parameter(Z3_context c, Z3_func_decl d, unsigned idx)
Return the integer value associated with an integer parameter.
static int Z3_rcf_neq(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
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)
static IntPtr Z3_apply_result_to_string(Z3_context a0, Z3_apply_result a1)
unsigned Z3_API Z3_get_arity(Z3_context c, Z3_func_decl d)
Alias for Z3_get_domain_size.
static IntPtr Z3_param_descrs_to_string(Z3_context a0, Z3_param_descrs a1)
Z3_sort Z3_API Z3_get_sort(Z3_context c, Z3_ast a)
Return the sort of an AST node.
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:3118
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_fpa_round_toward_positive(Z3_context a0)
Definition: Native.cs:6322
Z3_ast Z3_API Z3_mk_bvadd_no_overflow(Z3_context c, Z3_ast t1, 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_ast Z3_mk_const(Z3_context a0, IntPtr a1, Z3_sort a2)
Z3_ast Z3_API Z3_mk_rotate_left(Z3_context c, unsigned i, Z3_ast t1)
Rotate bits of t1 to the left i times.
static void Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2)
Z3_string Z3_API Z3_func_decl_to_string(Z3_context c, Z3_func_decl d)
static uint Z3_fixedpoint_get_num_levels(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2)
Definition: Native.cs:4413
void Z3_API Z3_get_array_value(Z3_context c, Z3_model m, Z3_ast v, unsigned num_entries, Z3_ast indices[], Z3_ast values[], Z3_ast *else_value)
An array values is represented as a dictionary plus a default (else) value. This function returns the...
static Z3_sort Z3_get_domain(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3422
static Z3_ast Z3_mk_fpa_div(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
Definition: Native.cs:6554
static Z3_func_decl Z3_get_datatype_sort_constructor(Z3_context a0, Z3_sort a1, uint a2)
Definition: Native.cs:3302
static Z3_ast Z3_mk_int64(Z3_context a0, Int64 a1, Z3_sort a2)
Definition: Native.cs:3078
void Z3_API Z3_params_set_bool(Z3_context c, Z3_params p, Z3_symbol k, Z3_bool v)
Add a Boolean parameter k with value v to the parameter set p.
static Z3_ast Z3_mk_fpa_abs(Z3_context a0, Z3_ast a1)
static Z3_ast Z3_datatype_update_field(Z3_context a0, Z3_func_decl a1, Z3_ast a2, Z3_ast a3)
static uint Z3_goal_num_exprs(Z3_context a0, Z3_goal a1)
void Z3_API Z3_probe_dec_ref(Z3_context c, Z3_probe p)
Decrement the reference counter of the given probe.
static Z3_ast Z3_mk_numeral(Z3_context a0, string a1, Z3_sort a2)
Definition: Native.cs:3046
static void Z3_global_param_reset_all()
Definition: Native.cs:1959
static string Z3_sort_to_string(Z3_context a0, Z3_sort a1)
Definition: Native.cs:4152
static uint Z3_get_sort_kind(Z3_context a0, Z3_sort a1)
Z3_ast Z3_API Z3_mk_fpa_is_positive(Z3_context c, Z3_ast t)
Predicate indicating whether t is a positive floating-point number.
Z3_constructor_list Z3_API Z3_mk_constructor_list(Z3_context c, unsigned num_constructors, Z3_constructor const constructors[])
Create list of constructors.
static int Z3_check(Z3_context a0)
static Z3_sort Z3_mk_fpa_sort(Z3_context a0, uint a1, uint a2)
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:4794
static void Z3_toggle_warning_messages(int a0)
Definition: Native.cs:4125
static void Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2)
Definition: Native.cs:5407
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_ast Z3_API Z3_goal_formula(Z3_context c, Z3_goal g, unsigned idx)
Return a formula from the given goal.
static IntPtr Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1)
Z3_symbol Z3_API Z3_get_sort_name(Z3_context c, Z3_sort d)
Return the sort name as a symbol.
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:2302
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:4497
static uint Z3_model_get_num_consts(Z3_context a0, Z3_model a1)
void Z3_API Z3_fixedpoint_set_params(Z3_context c, Z3_fixedpoint f, Z3_params p)
Set parameters on fixedpoint context.
static Z3_tactic Z3_mk_tactic(Z3_context a0, string a1)
static Z3_ast Z3_get_quantifier_no_pattern_ast(Z3_context a0, Z3_ast a1, uint a2)
Z3_ast Z3_API Z3_mk_fpa_nan(Z3_context c, Z3_sort s)
Create a floating-point NaN of sort s.
Z3_bool Z3_API Z3_get_numeral_rational_int64(Z3_context c, Z3_ast v, __int64 *num, __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_query_constructor(Z3_context c, Z3_constructor constr, unsigned num_fields, Z3_func_decl *constructor, Z3_func_decl *tester, Z3_func_decl accessors[])
Query constructor for declared functions.
static Z3_ast Z3_mk_bvneg(Z3_context a0, Z3_ast a1)
Definition: Native.cs:2606
static Z3_ast Z3_mk_fpa_numeral_int64_uint64(Z3_context a0, int a1, Int64 a2, UInt64 a3, Z3_sort a4)
static Z3_ast Z3_mk_set_complement(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3022
static Z3_rcf_num Z3_rcf_mk_rational(Z3_context a0, string a1)
void Z3_API Z3_disable_literal(Z3_context c, Z3_literals lbls, unsigned idx)
Disable label.
static int Z3_fpa_get_numeral_significand_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2)
static Z3_tactic Z3_tactic_using_params(Z3_context a0, Z3_tactic a1, Z3_params a2)
Definition: Native.cs:5095
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)
static IntPtr Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, uint a2)
Definition: Native.cs:2122
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)
Z3_ast Z3_API Z3_mk_fpa_numeral_float(Z3_context c, float v, Z3_sort ty)
Create a numeral of FloatingPoint sort from a float.
static Z3_ast Z3_sort_to_ast(Z3_context a0, Z3_sort a1)
Definition: Native.cs:3214
static int Z3_algebraic_eval(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3)
Definition: Native.cs:6024
Z3_bool Z3_API Z3_rcf_eq(Z3_context c, Z3_rcf_num a, Z3_rcf_num b)
Return Z3_TRUE if a == b.
static Z3_ast Z3_mk_fpa_gt(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:6634
static Z3_app Z3_to_app(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3622
static Z3_ast Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, uint a2)
void Z3_API Z3_fixedpoint_set_predicate_representation(Z3_context c, Z3_fixedpoint d, Z3_func_decl f, unsigned num_relations, Z3_symbol const relation_kinds[])
Configure the predicate representation.
static uint Z3_get_smtlib_num_assumptions(Z3_context a0)
Definition: Native.cs:4230
static Z3_ast Z3_algebraic_power(Z3_context a0, Z3_ast a1, uint a2)
static Z3_ast_vector Z3_get_interpolant(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_params a3)
Definition: Native.cs:6235
static Z3_param_descrs Z3_tactic_get_param_descrs(Z3_context a0, Z3_tactic a1)
Definition: Native.cs:5215
static Z3_ast Z3_mk_fpa_rne(Z3_context a0)
Definition: Native.cs:6298
Z3_string Z3_API Z3_probe_get_descr(Z3_context c, Z3_string name)
Return a string containing a description of the probe with the given name.
static int Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2)
Z3_ast_vector Z3_API Z3_get_interpolant(Z3_context c, Z3_ast pf, Z3_ast pat, Z3_params p)
Z3_ast Z3_API Z3_mk_map(Z3_context c, Z3_func_decl f, unsigned n, Z3_ast const *args)
map f on the the argument arrays.
Z3_ast Z3_API Z3_mk_bvadd(Z3_context c, Z3_ast t1, Z3_ast t2)
Standard two&#39;s complement addition.
Z3_sort Z3_API Z3_mk_fpa_sort_16(Z3_context c)
Create the half-precision (16-bit) FloatingPoint sort.
static Z3_ast Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2)
static uint Z3_fpa_get_sbits(Z3_context a0, Z3_sort a1)
Definition: Native.cs:6778
Z3_bool Z3_API Z3_global_param_get(Z3_string param_id, Z3_string_ptr param_value)
Get a global (or module) parameter.
void Z3_API Z3_fixedpoint_register_relation(Z3_context c, Z3_fixedpoint d, Z3_func_decl f)
Register relation as Fixedpoint defined. Fixedpoint defined relations have least-fixedpoint semantics...
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:2049
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:2742
static Z3_probe Z3_mk_probe(Z3_context a0, string a1)
Definition: Native.cs:4977
Z3_sort Z3_API Z3_mk_fpa_sort_128(Z3_context c)
Create the quadruple-precision (128-bit) FloatingPoint sort.
static void Z3_goal_dec_ref(Z3_context a0, Z3_goal a1)
static Z3_ast Z3_mk_fpa_round_toward_negative(Z3_context a0)
static uint Z3_get_smtlib_num_decls(Z3_context a0)
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:3110
static Z3_func_decl Z3_get_app_decl(Z3_context a0, Z3_app a1)
Definition: Native.cs:3518
static IntPtr Z3_optimize_get_reason_unknown(Z3_context a0, Z3_optimize a1)
static Z3_ast Z3_mk_fpa_numeral_int(Z3_context a0, int a1, Z3_sort a2)
Definition: Native.cs:6490
Z3_ast Z3_API Z3_mk_fpa_numeral_int(Z3_context c, signed v, Z3_sort ty)
Create a numeral of FloatingPoint sort from a signed integer.
Z3_bool Z3_API Z3_is_well_sorted(Z3_context c, Z3_ast t)
Return true if the given expression t is well sorted.
static int Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref Z3_ast a3)
void Z3_API Z3_solver_dec_ref(Z3_context c, Z3_solver s)
Decrement the reference counter of the given solver.
void Z3_API Z3_inc_ref(Z3_context c, Z3_ast a)
Increment the reference counter of the given AST. The context c should have been created using Z3_mk_...
Z3_bool Z3_API Z3_get_numeral_int64(Z3_context c, Z3_ast v, __int64 *i)
Similar to Z3_get_numeral_string, but only succeeds if the value can fit in a machine __int64 int...
static Z3_solver Z3_mk_solver_for_logic(Z3_context a0, IntPtr a1)
Definition: Native.cs:5325
Z3_rcf_num Z3_API Z3_rcf_neg(Z3_context c, Z3_rcf_num a)
Return the value -a.
Z3_ast Z3_API Z3_datatype_update_field(Z3_context c, Z3_func_decl field_access, Z3_ast t, Z3_ast value)
Update record field with a value.
Z3_ast Z3_API Z3_mk_numeral(Z3_context c, Z3_string numeral, Z3_sort ty)
Create a numeral of a given sort.
static void Z3_params_set_bool(Z3_context a0, Z3_params a1, IntPtr a2, int a3)
static void Z3_optimize_assert(Z3_context a0, Z3_optimize a1, Z3_ast a2)
Definition: Native.cs:4557
Z3_ast Z3_API Z3_mk_fpa_min(Z3_context c, Z3_ast t1, Z3_ast t2)
Minimum of floating-point numbers.
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:3134
static Z3_ast Z3_fixedpoint_get_cover_delta(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3)
Definition: Native.cs:4421
int Z3_API Z3_read_interpolation_problem(Z3_context ctx, unsigned *num, Z3_ast *cnsts[], unsigned *parents[], Z3_string filename, Z3_string_ptr error, unsigned *num_theory, Z3_ast *theory[])
Read an interpolation problem from file.
void Z3_API Z3_func_entry_dec_ref(Z3_context c, Z3_func_entry e)
Decrement the reference counter of the given Z3_func_entry object.
static Z3_ast Z3_mk_fpa_to_fp_bv(Z3_context a0, Z3_ast a1, Z3_sort a2)
Definition: Native.cs:6706
unsigned Z3_API Z3_get_num_literals(Z3_context c, Z3_literals lbls)
Retrieve the number of label symbols that were returned.
Z3_bool Z3_API Z3_stats_is_double(Z3_context c, Z3_stats s, unsigned idx)
Return Z3_TRUE if the given statistical data is a double.
Z3_string Z3_API Z3_tactic_get_descr(Z3_context c, Z3_string name)
Return a string containing a description of the tactic with the given name.
static Z3_ast Z3_mk_fpa_eq(Z3_context a0, Z3_ast a1, Z3_ast a2)
unsigned Z3_API Z3_optimize_maximize(Z3_context c, Z3_optimize o, Z3_ast t)
Add a maximization constraint.
Z3_ast Z3_API Z3_mk_select(Z3_context c, Z3_ast a, Z3_ast i)
Array read. The argument a is the array and i is the index of the array that gets read...
Z3_ast Z3_API Z3_mk_fpa_leq(Z3_context c, Z3_ast t1, Z3_ast t2)
Floating-point less than or equal.
static Z3_ast Z3_algebraic_add(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:5920
static Z3_ast_vector Z3_fixedpoint_from_string(Z3_context a0, Z3_fixedpoint a1, string a2)
static Z3_ast Z3_mk_fpa_is_positive(Z3_context a0, Z3_ast a1)
static Z3_ast Z3_mk_fpa_is_subnormal(Z3_context a0, Z3_ast a1)
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)
static uint Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1)
static Z3_ast Z3_optimize_get_upper(Z3_context a0, Z3_optimize a1, uint a2)
Definition: Native.cs:4649
static Z3_param_descrs Z3_fixedpoint_get_param_descrs(Z3_context a0, Z3_fixedpoint a1)
Definition: Native.cs:4489
static void Z3_soft_check_cancel(Z3_context a0)
Definition: Native.cs:5653
unsigned Z3_API Z3_get_model_num_funcs(Z3_context c, Z3_model m)
Return the number of function interpretations in the given model.
unsigned Z3_API Z3_apply_result_get_num_subgoals(Z3_context c, Z3_apply_result r)
Return the number of subgoals in the Z3_apply_result object returned by Z3_tactic_apply.
Z3_ast Z3_API Z3_fixedpoint_get_answer(Z3_context c, Z3_fixedpoint d)
Retrieve a formula that encodes satisfying answers to the query.
Z3_func_decl Z3_API Z3_get_model_constant(Z3_context c, Z3_model m, unsigned i)
Return the i-th constant in the given model.
void Z3_API Z3_ast_vector_set(Z3_context c, Z3_ast_vector v, unsigned i, Z3_ast a)
Update position i of the AST vector v with the AST a.
Z3_string Z3_API Z3_fixedpoint_to_string(Z3_context c, Z3_fixedpoint f, unsigned num_queries, Z3_ast queries[])
Print the current rules and background axioms as a string.
Z3_lbool Z3_API Z3_fixedpoint_query_relations(Z3_context c, Z3_fixedpoint d, unsigned num_relations, Z3_func_decl const relations[])
Pose multiple queries against the asserted rules.
static Z3_ast Z3_mk_div(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2446
static Z3_ast_vector Z3_ast_map_keys(Z3_context a0, Z3_ast_map a1)
Definition: Native.cs:4823
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_ast Z3_API Z3_mk_fpa_lt(Z3_context c, Z3_ast t1, Z3_ast t2)
Floating-point less than.
static int Z3_algebraic_sign(Z3_context a0, Z3_ast a1)
Z3_ast Z3_API Z3_algebraic_div(Z3_context c, Z3_ast a, Z3_ast b)
Return the value a / b.
Z3_ast Z3_API Z3_get_denominator(Z3_context c, Z3_ast a)
Return the denominator (as a numeral AST) of a numeral AST of sort Real.
Z3_tactic Z3_API Z3_tactic_fail_if_not_decided(Z3_context c)
Return a tactic that fails if the goal is not trivially satisfiable (i.e., empty) or trivially unsati...
static void Z3_set_param_value(Z3_config a0, string a1, string a2)
Z3_probe Z3_API Z3_probe_or(Z3_context x, Z3_probe p1, Z3_probe p2)
Return a probe that evaluates to "true" when p1 or p2 evaluates to true.
static Z3_ast Z3_mk_fpa_rtn(Z3_context a0)
static Z3_sort Z3_mk_bool_sort(Z3_context a0)
Definition: Native.cs:2162
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)
void Z3_API Z3_parse_smtlib_file(Z3_context c, Z3_string file_name, unsigned num_sorts, Z3_symbol const sort_names[], Z3_sort const sorts[], unsigned num_decls, Z3_symbol const decl_names[], Z3_func_decl const decls[])
Similar to Z3_parse_smtlib_string, but reads the benchmark from a file.
static uint Z3_get_arity(Z3_context a0, Z3_func_decl a1)
Definition: Native.cs:3414
Z3_ast Z3_API Z3_mk_bvadd_no_underflow(Z3_context c, Z3_ast t1, Z3_ast t2)
Create a predicate that checks that the bit-wise signed addition of t1 and t2 does not underflow...
static uint Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1)
Z3_tactic Z3_API Z3_tactic_fail(Z3_context c)
Return a tactic that always fails.
static Z3_ast Z3_get_smtlib_assumption(Z3_context a0, uint a1)
Definition: Native.cs:4238
Z3_ast Z3_API Z3_mk_iff(Z3_context c, Z3_ast t1, Z3_ast t2)
Create an AST node representing t1 iff t2.
Z3_func_decl Z3_API Z3_get_datatype_sort_constructor(Z3_context c, Z3_sort t, unsigned idx)
Return idx&#39;th constructor.
unsigned Z3_API Z3_solver_get_num_scopes(Z3_context c, Z3_solver s)
Return the number of backtracking points.
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:4192
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:4748
static Z3_ast Z3_mk_fpa_rna(Z3_context a0)
Definition: Native.cs:6314
static Z3_rcf_num Z3_rcf_mul(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
static Z3_sort Z3_mk_fpa_sort_32(Z3_context a0)
Definition: Native.cs:6402
static void Z3_global_param_set(string a0, string a1)
Definition: Native.cs:1955
void Z3_API Z3_tactic_dec_ref(Z3_context c, Z3_tactic g)
Decrement the reference counter of the given tactic.
static Z3_ast_vector Z3_polynomial_subresultants(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
static Z3_ast Z3_get_quantifier_body(Z3_context a0, Z3_ast a1)
Definition: Native.cs:3838
Z3_sort Z3_API Z3_mk_enumeration_sort(Z3_context c, Z3_symbol name, unsigned n, Z3_symbol const enum_names[], Z3_func_decl enum_consts[], Z3_func_decl enum_testers[])
Create a enumeration sort.
static string Z3_model_to_string(Z3_context a0, Z3_model a1)
Definition: Native.cs:4168
static int Z3_optimize_check(Z3_context a0, Z3_optimize a1)
Definition: Native.cs:4602
static Z3_ast Z3_get_model_func_else(Z3_context a0, Z3_model a1, uint a2)
static Z3_ast Z3_mk_fpa_gt(Z3_context a0, Z3_ast a1, Z3_ast a2)
void Z3_API Z3_soft_check_cancel(Z3_context c)
Cancel an ongoing check.
static Z3_ast Z3_mk_fpa_sub(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
static Z3_ast Z3_mk_extract(Z3_context a0, uint a1, uint a2, Z3_ast a3)
Definition: Native.cs:2750
static Z3_tactic Z3_tactic_skip(Z3_context a0)
Z3_ast Z3_API Z3_mk_label(Z3_context c, Z3_symbol s, Z3_bool is_pos, Z3_ast f)
Create a labeled formula.
void Z3_API Z3_ast_vector_push(Z3_context c, Z3_ast_vector v, Z3_ast a)
Add the AST a in the end of the AST vector v. The size of v is increased by one.
static Z3_ast_vector Z3_solver_get_unsat_core(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5461
static void Z3_params_inc_ref(Z3_context a0, Z3_params a1)
Definition: Native.cs:2035
static Z3_param_descrs Z3_simplify_get_param_descrs(Z3_context a0)
static Z3_rcf_num Z3_rcf_sub(Z3_context a0, Z3_rcf_num a1, Z3_rcf_num a2)
Definition: Native.cs:6103
static uint Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, uint a2)
Definition: Native.cs:5547
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:5563
static Z3_ast Z3_mk_bvsub_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2870
static Z3_ast Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2)
static Z3_ast Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, uint a2)
Definition: Native.cs:3486
static Z3_literals Z3_get_guessed_literals(Z3_context a0)
Definition: Native.cs:5692
static Z3_func_entry Z3_func_interp_get_entry(Z3_context a0, Z3_func_interp a1, uint a2)
Definition: Native.cs:4050
void Z3_API Z3_param_descrs_dec_ref(Z3_context c, Z3_param_descrs p)
Decrement the reference counter of the given parameter description set.
static Z3_func_decl Z3_get_as_array_func_decl(Z3_context a0, Z3_ast a1)
static Z3_ast Z3_mk_fpa_mul(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3)
static void Z3_params_dec_ref(Z3_context a0, Z3_params a1)
Definition: Native.cs:2042
Z3_sort Z3_API Z3_get_decl_sort_parameter(Z3_context c, Z3_func_decl d, unsigned idx)
Return the sort value associated with a sort parameter.
static uint Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1)
Definition: Native.cs:5399
static Z3_ast Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2)
Definition: Native.cs:2566
static Z3_func_decl Z3_get_datatype_sort_constructor_accessor(Z3_context a0, Z3_sort a1, uint a2, uint a3)
Definition: Native.cs:3318
static Z3_ast Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2)
static uint Z3_optimize_minimize(Z3_context a0, Z3_optimize a1, Z3_ast a2)
Definition: Native.cs:4580
static void Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1)
Z3_ast Z3_API Z3_mk_fpa_gt(Z3_context c, Z3_ast t1, Z3_ast t2)
Floating-point greater than.
Z3_bool Z3_API Z3_eval_func_decl(Z3_context c, Z3_model m, Z3_func_decl decl, Z3_ast *v)
Return the value of the given constant or function in the given model.
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:1977
static Z3_apply_result Z3_tactic_apply(Z3_context a0, Z3_tactic a1, Z3_goal a2)
static IntPtr Z3_get_sort_name(Z3_context a0, Z3_sort a1)
static void Z3_optimize_set_params(Z3_context a0, Z3_optimize a1, Z3_params a2)
static Z3_sort Z3_mk_fpa_sort_single(Z3_context a0)
Definition: Native.cs:6394
Z3_ast Z3_API Z3_mk_zero_ext(Z3_context c, unsigned i, Z3_ast t1)
Extend the given bit-vector with zeros to the (unsigned) equivalent bitvector of size m+i...
Z3_string Z3_API Z3_model_to_string(Z3_context c, Z3_model m)
Convert the given model into a string.
static Z3_sort Z3_mk_fpa_sort_double(Z3_context a0)
Definition: Native.cs:6410
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:3606
static Z3_probe Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2)
Definition: Native.cs:5111
static Z3_ast Z3_mk_map(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3)
Definition: Native.cs:2942
Z3_ast Z3_API Z3_mk_fresh_const(Z3_context c, Z3_string prefix, Z3_sort ty)
Declare and create a fresh constant.
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)