diff --git a/Microsoft.Z3/Enumerations.cs b/Microsoft.Z3/Enumerations.cs index b8bbc3911..36f49005e 100644 --- a/Microsoft.Z3/Enumerations.cs +++ b/Microsoft.Z3/Enumerations.cs @@ -1,258 +1,258 @@ -// Automatically generated file, generator: mk_z3consts.py - -using System; - -#pragma warning disable 1591 - -namespace Microsoft.Z3 -{ - /// Z3_lbool - public enum Z3_lbool { - Z3_L_TRUE = 1, - Z3_L_UNDEF = 0, - Z3_L_FALSE = -1, - } - - /// Z3_symbol_kind - public enum Z3_symbol_kind { - Z3_INT_SYMBOL = 0, - Z3_STRING_SYMBOL = 1, - } - - /// Z3_parameter_kind - public enum Z3_parameter_kind { - Z3_PARAMETER_FUNC_DECL = 6, - Z3_PARAMETER_DOUBLE = 1, - Z3_PARAMETER_SYMBOL = 3, - Z3_PARAMETER_INT = 0, - Z3_PARAMETER_AST = 5, - Z3_PARAMETER_SORT = 4, - Z3_PARAMETER_RATIONAL = 2, - } - - /// Z3_sort_kind - public enum Z3_sort_kind { - Z3_BV_SORT = 4, - Z3_FINITE_DOMAIN_SORT = 8, - Z3_ARRAY_SORT = 5, - Z3_UNKNOWN_SORT = 1000, - Z3_RELATION_SORT = 7, - Z3_REAL_SORT = 3, - Z3_INT_SORT = 2, - Z3_UNINTERPRETED_SORT = 0, - Z3_BOOL_SORT = 1, - Z3_DATATYPE_SORT = 6, - } - - /// Z3_ast_kind - public enum Z3_ast_kind { - Z3_VAR_AST = 2, - Z3_SORT_AST = 4, - Z3_QUANTIFIER_AST = 3, - Z3_UNKNOWN_AST = 1000, - Z3_FUNC_DECL_AST = 5, - Z3_NUMERAL_AST = 0, - Z3_APP_AST = 1, - } - - /// Z3_decl_kind - public enum Z3_decl_kind { - Z3_OP_LABEL = 1792, - Z3_OP_PR_REWRITE = 1294, - Z3_OP_UNINTERPRETED = 2051, - Z3_OP_SUB = 519, - Z3_OP_ZERO_EXT = 1058, - Z3_OP_ADD = 518, - Z3_OP_IS_INT = 528, - Z3_OP_BREDOR = 1061, - Z3_OP_BNOT = 1051, - Z3_OP_BNOR = 1054, - Z3_OP_PR_CNF_STAR = 1315, - Z3_OP_RA_JOIN = 1539, - Z3_OP_LE = 514, - Z3_OP_SET_UNION = 773, - Z3_OP_PR_UNDEF = 1280, - Z3_OP_BREDAND = 1062, - Z3_OP_LT = 516, - Z3_OP_RA_UNION = 1540, - Z3_OP_BADD = 1028, - Z3_OP_BUREM0 = 1039, - Z3_OP_OEQ = 267, - Z3_OP_PR_MODUS_PONENS = 1284, - Z3_OP_RA_CLONE = 1548, - Z3_OP_REPEAT = 1060, - Z3_OP_RA_NEGATION_FILTER = 1544, - Z3_OP_BSMOD0 = 1040, - Z3_OP_BLSHR = 1065, - Z3_OP_BASHR = 1066, - Z3_OP_PR_UNIT_RESOLUTION = 1304, - Z3_OP_ROTATE_RIGHT = 1068, - Z3_OP_ARRAY_DEFAULT = 772, - Z3_OP_PR_PULL_QUANT = 1296, - Z3_OP_PR_APPLY_DEF = 1310, - Z3_OP_PR_REWRITE_STAR = 1295, - Z3_OP_IDIV = 523, - Z3_OP_PR_GOAL = 1283, - Z3_OP_PR_IFF_TRUE = 1305, - Z3_OP_LABEL_LIT = 1793, - Z3_OP_BOR = 1050, - Z3_OP_PR_SYMMETRY = 1286, - Z3_OP_TRUE = 256, - Z3_OP_SET_COMPLEMENT = 776, - Z3_OP_CONCAT = 1056, - Z3_OP_PR_NOT_OR_ELIM = 1293, - Z3_OP_IFF = 263, - Z3_OP_BSHL = 1064, - Z3_OP_PR_TRANSITIVITY = 1287, - Z3_OP_SGT = 1048, - Z3_OP_RA_WIDEN = 1541, - Z3_OP_PR_DEF_INTRO = 1309, - Z3_OP_NOT = 265, - Z3_OP_PR_QUANT_INTRO = 1290, - Z3_OP_UGT = 1047, - Z3_OP_DT_RECOGNISER = 2049, - Z3_OP_SET_INTERSECT = 774, - Z3_OP_BSREM = 1033, - Z3_OP_RA_STORE = 1536, - Z3_OP_SLT = 1046, - Z3_OP_ROTATE_LEFT = 1067, - Z3_OP_PR_NNF_NEG = 1313, - Z3_OP_PR_REFLEXIVITY = 1285, - Z3_OP_ULEQ = 1041, - Z3_OP_BIT1 = 1025, - Z3_OP_BIT0 = 1026, - Z3_OP_EQ = 258, - Z3_OP_BMUL = 1030, - Z3_OP_ARRAY_MAP = 771, - Z3_OP_STORE = 768, - Z3_OP_PR_HYPOTHESIS = 1302, - Z3_OP_RA_RENAME = 1545, - Z3_OP_AND = 261, - Z3_OP_TO_REAL = 526, - Z3_OP_PR_NNF_POS = 1312, - Z3_OP_PR_AND_ELIM = 1292, - Z3_OP_MOD = 525, - Z3_OP_BUDIV0 = 1037, - Z3_OP_PR_TRUE = 1281, - Z3_OP_BNAND = 1053, - Z3_OP_PR_ELIM_UNUSED_VARS = 1299, - Z3_OP_RA_FILTER = 1543, - Z3_OP_FD_LT = 1549, - Z3_OP_RA_EMPTY = 1537, - Z3_OP_DIV = 522, - Z3_OP_ANUM = 512, - Z3_OP_MUL = 521, - Z3_OP_UGEQ = 1043, - Z3_OP_BSREM0 = 1038, - Z3_OP_PR_TH_LEMMA = 1318, - Z3_OP_BXOR = 1052, - Z3_OP_DISTINCT = 259, - Z3_OP_PR_IFF_FALSE = 1306, - Z3_OP_BV2INT = 1072, - Z3_OP_EXT_ROTATE_LEFT = 1069, - Z3_OP_PR_PULL_QUANT_STAR = 1297, - Z3_OP_BSUB = 1029, - Z3_OP_PR_ASSERTED = 1282, - Z3_OP_BXNOR = 1055, - Z3_OP_EXTRACT = 1059, - Z3_OP_PR_DER = 1300, - Z3_OP_DT_CONSTRUCTOR = 2048, - Z3_OP_GT = 517, - Z3_OP_BUREM = 1034, - Z3_OP_IMPLIES = 266, - Z3_OP_SLEQ = 1042, - Z3_OP_GE = 515, - Z3_OP_BAND = 1049, - Z3_OP_ITE = 260, - Z3_OP_AS_ARRAY = 778, - Z3_OP_RA_SELECT = 1547, - Z3_OP_CONST_ARRAY = 770, - Z3_OP_BSDIV = 1031, - Z3_OP_OR = 262, - Z3_OP_PR_HYPER_RESOLVE = 1319, - Z3_OP_AGNUM = 513, - Z3_OP_PR_PUSH_QUANT = 1298, - Z3_OP_BSMOD = 1035, - Z3_OP_PR_IFF_OEQ = 1311, - Z3_OP_PR_LEMMA = 1303, - Z3_OP_SET_SUBSET = 777, - Z3_OP_SELECT = 769, - Z3_OP_RA_PROJECT = 1542, - Z3_OP_BNEG = 1027, - Z3_OP_UMINUS = 520, - Z3_OP_REM = 524, - Z3_OP_TO_INT = 527, - Z3_OP_PR_QUANT_INST = 1301, - Z3_OP_SGEQ = 1044, - Z3_OP_POWER = 529, - Z3_OP_XOR3 = 1074, - Z3_OP_RA_IS_EMPTY = 1538, - Z3_OP_CARRY = 1073, - Z3_OP_DT_ACCESSOR = 2050, - Z3_OP_PR_TRANSITIVITY_STAR = 1288, - Z3_OP_PR_NNF_STAR = 1314, - Z3_OP_PR_COMMUTATIVITY = 1307, - Z3_OP_ULT = 1045, - Z3_OP_BSDIV0 = 1036, - Z3_OP_SET_DIFFERENCE = 775, - Z3_OP_INT2BV = 1071, - Z3_OP_XOR = 264, - Z3_OP_PR_MODUS_PONENS_OEQ = 1317, - Z3_OP_BNUM = 1024, - Z3_OP_BUDIV = 1032, - Z3_OP_PR_MONOTONICITY = 1289, - Z3_OP_PR_DEF_AXIOM = 1308, - Z3_OP_FALSE = 257, - Z3_OP_EXT_ROTATE_RIGHT = 1070, - Z3_OP_PR_DISTRIBUTIVITY = 1291, - Z3_OP_SIGN_EXT = 1057, - Z3_OP_PR_SKOLEMIZE = 1316, - Z3_OP_BCOMP = 1063, - Z3_OP_RA_COMPLEMENT = 1546, - } - - /// Z3_param_kind - public enum Z3_param_kind { - Z3_PK_BOOL = 1, - Z3_PK_SYMBOL = 3, - Z3_PK_OTHER = 5, - Z3_PK_INVALID = 6, - Z3_PK_UINT = 0, - Z3_PK_STRING = 4, - Z3_PK_DOUBLE = 2, - } - - /// Z3_ast_print_mode - public enum Z3_ast_print_mode { - Z3_PRINT_SMTLIB2_COMPLIANT = 3, - Z3_PRINT_SMTLIB_COMPLIANT = 2, - Z3_PRINT_SMTLIB_FULL = 0, - Z3_PRINT_LOW_LEVEL = 1, - } - - /// Z3_error_code - public enum Z3_error_code { - Z3_INVALID_PATTERN = 6, - Z3_MEMOUT_FAIL = 7, - Z3_NO_PARSER = 5, - Z3_OK = 0, - Z3_INVALID_ARG = 3, - Z3_EXCEPTION = 12, - Z3_IOB = 2, - Z3_INTERNAL_FATAL = 9, - Z3_INVALID_USAGE = 10, - Z3_FILE_ACCESS_ERROR = 8, - Z3_SORT_ERROR = 1, - Z3_PARSER_ERROR = 4, - Z3_DEC_REF_ERROR = 11, - } - - /// Z3_goal_prec - public enum Z3_goal_prec { - Z3_GOAL_UNDER = 1, - Z3_GOAL_PRECISE = 0, - Z3_GOAL_UNDER_OVER = 3, - Z3_GOAL_OVER = 2, - } - -} +// Automatically generated file, generator: update_api.py + +using System; + +#pragma warning disable 1591 + +namespace Microsoft.Z3 +{ + /// Z3_lbool + public enum Z3_lbool { + Z3_L_TRUE = 1, + Z3_L_UNDEF = 0, + Z3_L_FALSE = -1, + } + + /// Z3_symbol_kind + public enum Z3_symbol_kind { + Z3_INT_SYMBOL = 0, + Z3_STRING_SYMBOL = 1, + } + + /// Z3_parameter_kind + public enum Z3_parameter_kind { + Z3_PARAMETER_FUNC_DECL = 6, + Z3_PARAMETER_DOUBLE = 1, + Z3_PARAMETER_SYMBOL = 3, + Z3_PARAMETER_INT = 0, + Z3_PARAMETER_AST = 5, + Z3_PARAMETER_SORT = 4, + Z3_PARAMETER_RATIONAL = 2, + } + + /// Z3_sort_kind + public enum Z3_sort_kind { + Z3_BV_SORT = 4, + Z3_FINITE_DOMAIN_SORT = 8, + Z3_ARRAY_SORT = 5, + Z3_UNKNOWN_SORT = 1000, + Z3_RELATION_SORT = 7, + Z3_REAL_SORT = 3, + Z3_INT_SORT = 2, + Z3_UNINTERPRETED_SORT = 0, + Z3_BOOL_SORT = 1, + Z3_DATATYPE_SORT = 6, + } + + /// Z3_ast_kind + public enum Z3_ast_kind { + Z3_VAR_AST = 2, + Z3_SORT_AST = 4, + Z3_QUANTIFIER_AST = 3, + Z3_UNKNOWN_AST = 1000, + Z3_FUNC_DECL_AST = 5, + Z3_NUMERAL_AST = 0, + Z3_APP_AST = 1, + } + + /// Z3_decl_kind + public enum Z3_decl_kind { + Z3_OP_LABEL = 1792, + Z3_OP_PR_REWRITE = 1294, + Z3_OP_UNINTERPRETED = 2051, + Z3_OP_SUB = 519, + Z3_OP_ZERO_EXT = 1058, + Z3_OP_ADD = 518, + Z3_OP_IS_INT = 528, + Z3_OP_BREDOR = 1061, + Z3_OP_BNOT = 1051, + Z3_OP_BNOR = 1054, + Z3_OP_PR_CNF_STAR = 1315, + Z3_OP_RA_JOIN = 1539, + Z3_OP_LE = 514, + Z3_OP_SET_UNION = 773, + Z3_OP_PR_UNDEF = 1280, + Z3_OP_BREDAND = 1062, + Z3_OP_LT = 516, + Z3_OP_RA_UNION = 1540, + Z3_OP_BADD = 1028, + Z3_OP_BUREM0 = 1039, + Z3_OP_OEQ = 267, + Z3_OP_PR_MODUS_PONENS = 1284, + Z3_OP_RA_CLONE = 1548, + Z3_OP_REPEAT = 1060, + Z3_OP_RA_NEGATION_FILTER = 1544, + Z3_OP_BSMOD0 = 1040, + Z3_OP_BLSHR = 1065, + Z3_OP_BASHR = 1066, + Z3_OP_PR_UNIT_RESOLUTION = 1304, + Z3_OP_ROTATE_RIGHT = 1068, + Z3_OP_ARRAY_DEFAULT = 772, + Z3_OP_PR_PULL_QUANT = 1296, + Z3_OP_PR_APPLY_DEF = 1310, + Z3_OP_PR_REWRITE_STAR = 1295, + Z3_OP_IDIV = 523, + Z3_OP_PR_GOAL = 1283, + Z3_OP_PR_IFF_TRUE = 1305, + Z3_OP_LABEL_LIT = 1793, + Z3_OP_BOR = 1050, + Z3_OP_PR_SYMMETRY = 1286, + Z3_OP_TRUE = 256, + Z3_OP_SET_COMPLEMENT = 776, + Z3_OP_CONCAT = 1056, + Z3_OP_PR_NOT_OR_ELIM = 1293, + Z3_OP_IFF = 263, + Z3_OP_BSHL = 1064, + Z3_OP_PR_TRANSITIVITY = 1287, + Z3_OP_SGT = 1048, + Z3_OP_RA_WIDEN = 1541, + Z3_OP_PR_DEF_INTRO = 1309, + Z3_OP_NOT = 265, + Z3_OP_PR_QUANT_INTRO = 1290, + Z3_OP_UGT = 1047, + Z3_OP_DT_RECOGNISER = 2049, + Z3_OP_SET_INTERSECT = 774, + Z3_OP_BSREM = 1033, + Z3_OP_RA_STORE = 1536, + Z3_OP_SLT = 1046, + Z3_OP_ROTATE_LEFT = 1067, + Z3_OP_PR_NNF_NEG = 1313, + Z3_OP_PR_REFLEXIVITY = 1285, + Z3_OP_ULEQ = 1041, + Z3_OP_BIT1 = 1025, + Z3_OP_BIT0 = 1026, + Z3_OP_EQ = 258, + Z3_OP_BMUL = 1030, + Z3_OP_ARRAY_MAP = 771, + Z3_OP_STORE = 768, + Z3_OP_PR_HYPOTHESIS = 1302, + Z3_OP_RA_RENAME = 1545, + Z3_OP_AND = 261, + Z3_OP_TO_REAL = 526, + Z3_OP_PR_NNF_POS = 1312, + Z3_OP_PR_AND_ELIM = 1292, + Z3_OP_MOD = 525, + Z3_OP_BUDIV0 = 1037, + Z3_OP_PR_TRUE = 1281, + Z3_OP_BNAND = 1053, + Z3_OP_PR_ELIM_UNUSED_VARS = 1299, + Z3_OP_RA_FILTER = 1543, + Z3_OP_FD_LT = 1549, + Z3_OP_RA_EMPTY = 1537, + Z3_OP_DIV = 522, + Z3_OP_ANUM = 512, + Z3_OP_MUL = 521, + Z3_OP_UGEQ = 1043, + Z3_OP_BSREM0 = 1038, + Z3_OP_PR_TH_LEMMA = 1318, + Z3_OP_BXOR = 1052, + Z3_OP_DISTINCT = 259, + Z3_OP_PR_IFF_FALSE = 1306, + Z3_OP_BV2INT = 1072, + Z3_OP_EXT_ROTATE_LEFT = 1069, + Z3_OP_PR_PULL_QUANT_STAR = 1297, + Z3_OP_BSUB = 1029, + Z3_OP_PR_ASSERTED = 1282, + Z3_OP_BXNOR = 1055, + Z3_OP_EXTRACT = 1059, + Z3_OP_PR_DER = 1300, + Z3_OP_DT_CONSTRUCTOR = 2048, + Z3_OP_GT = 517, + Z3_OP_BUREM = 1034, + Z3_OP_IMPLIES = 266, + Z3_OP_SLEQ = 1042, + Z3_OP_GE = 515, + Z3_OP_BAND = 1049, + Z3_OP_ITE = 260, + Z3_OP_AS_ARRAY = 778, + Z3_OP_RA_SELECT = 1547, + Z3_OP_CONST_ARRAY = 770, + Z3_OP_BSDIV = 1031, + Z3_OP_OR = 262, + Z3_OP_PR_HYPER_RESOLVE = 1319, + Z3_OP_AGNUM = 513, + Z3_OP_PR_PUSH_QUANT = 1298, + Z3_OP_BSMOD = 1035, + Z3_OP_PR_IFF_OEQ = 1311, + Z3_OP_PR_LEMMA = 1303, + Z3_OP_SET_SUBSET = 777, + Z3_OP_SELECT = 769, + Z3_OP_RA_PROJECT = 1542, + Z3_OP_BNEG = 1027, + Z3_OP_UMINUS = 520, + Z3_OP_REM = 524, + Z3_OP_TO_INT = 527, + Z3_OP_PR_QUANT_INST = 1301, + Z3_OP_SGEQ = 1044, + Z3_OP_POWER = 529, + Z3_OP_XOR3 = 1074, + Z3_OP_RA_IS_EMPTY = 1538, + Z3_OP_CARRY = 1073, + Z3_OP_DT_ACCESSOR = 2050, + Z3_OP_PR_TRANSITIVITY_STAR = 1288, + Z3_OP_PR_NNF_STAR = 1314, + Z3_OP_PR_COMMUTATIVITY = 1307, + Z3_OP_ULT = 1045, + Z3_OP_BSDIV0 = 1036, + Z3_OP_SET_DIFFERENCE = 775, + Z3_OP_INT2BV = 1071, + Z3_OP_XOR = 264, + Z3_OP_PR_MODUS_PONENS_OEQ = 1317, + Z3_OP_BNUM = 1024, + Z3_OP_BUDIV = 1032, + Z3_OP_PR_MONOTONICITY = 1289, + Z3_OP_PR_DEF_AXIOM = 1308, + Z3_OP_FALSE = 257, + Z3_OP_EXT_ROTATE_RIGHT = 1070, + Z3_OP_PR_DISTRIBUTIVITY = 1291, + Z3_OP_SIGN_EXT = 1057, + Z3_OP_PR_SKOLEMIZE = 1316, + Z3_OP_BCOMP = 1063, + Z3_OP_RA_COMPLEMENT = 1546, + } + + /// Z3_param_kind + public enum Z3_param_kind { + Z3_PK_BOOL = 1, + Z3_PK_SYMBOL = 3, + Z3_PK_OTHER = 5, + Z3_PK_INVALID = 6, + Z3_PK_UINT = 0, + Z3_PK_STRING = 4, + Z3_PK_DOUBLE = 2, + } + + /// Z3_ast_print_mode + public enum Z3_ast_print_mode { + Z3_PRINT_SMTLIB2_COMPLIANT = 3, + Z3_PRINT_SMTLIB_COMPLIANT = 2, + Z3_PRINT_SMTLIB_FULL = 0, + Z3_PRINT_LOW_LEVEL = 1, + } + + /// Z3_error_code + public enum Z3_error_code { + Z3_INVALID_PATTERN = 6, + Z3_MEMOUT_FAIL = 7, + Z3_NO_PARSER = 5, + Z3_OK = 0, + Z3_INVALID_ARG = 3, + Z3_EXCEPTION = 12, + Z3_IOB = 2, + Z3_INTERNAL_FATAL = 9, + Z3_INVALID_USAGE = 10, + Z3_FILE_ACCESS_ERROR = 8, + Z3_SORT_ERROR = 1, + Z3_PARSER_ERROR = 4, + Z3_DEC_REF_ERROR = 11, + } + + /// Z3_goal_prec + public enum Z3_goal_prec { + Z3_GOAL_UNDER = 1, + Z3_GOAL_PRECISE = 0, + Z3_GOAL_UNDER_OVER = 3, + Z3_GOAL_OVER = 2, + } + +} diff --git a/Microsoft.Z3/Native.cs b/Microsoft.Z3/Native.cs index 0c0349a78..687486085 100644 --- a/Microsoft.Z3/Native.cs +++ b/Microsoft.Z3/Native.cs @@ -1,5221 +1,5199 @@ -// Automatically generated file, generator: api.py -using System; -using System.Collections.Generic; -using System.Text; -using System.Runtime.InteropServices; - -#pragma warning disable 1591 - -namespace Microsoft.Z3 -{ - using Z3_config = System.IntPtr; - using Z3_context = System.IntPtr; - using Z3_ast = System.IntPtr; - using Z3_app = System.IntPtr; - using Z3_sort = System.IntPtr; - using Z3_func_decl = System.IntPtr; - using Z3_pattern = System.IntPtr; - using Z3_model = System.IntPtr; - using Z3_literals = System.IntPtr; - using Z3_constructor = System.IntPtr; - using Z3_constructor_list = System.IntPtr; - using Z3_theory = System.IntPtr; - using Z3_theory_data = System.IntPtr; - using Z3_solver = System.IntPtr; - using Z3_goal = System.IntPtr; - using Z3_tactic = System.IntPtr; - using Z3_params = System.IntPtr; - using Z3_probe = System.IntPtr; - using Z3_stats = System.IntPtr; - using Z3_ast_vector = System.IntPtr; - using Z3_ast_map = System.IntPtr; - using Z3_apply_result = System.IntPtr; - using Z3_func_interp = System.IntPtr; - using Z3_func_entry = System.IntPtr; - using Z3_fixedpoint = System.IntPtr; - using Z3_param_descrs = System.IntPtr; - - public class Native - { - - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public delegate void Z3_error_handler(Z3_context c, Z3_error_code e); - - public unsafe class LIB - { - #if DEBUG - const string Z3_DLL_NAME = "z3_dbg.dll"; - #else - const string Z3_DLL_NAME = "z3.dll"; - #endif - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_config Z3_mk_config(); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_del_config(Z3_config a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_set_param_value(Z3_config a0, string a1, string a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_context Z3_mk_context(Z3_config a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_context Z3_mk_context_rc(Z3_config a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_set_logic(Z3_context a0, string a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_del_context(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_inc_ref(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_dec_ref(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_toggle_warning_messages(int a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_update_param_value(Z3_context a0, string a1, string a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_get_param_value(Z3_context a0, string a1, out IntPtr a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_mk_int_symbol(Z3_context a0, int a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_mk_string_symbol(Z3_context a0, string a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_mk_uninterpreted_sort(Z3_context a0, IntPtr a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_mk_bool_sort(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_mk_int_sort(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_mk_real_sort(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_mk_bv_sort(Z3_context a0, uint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_del_constructor(Z3_context a0, Z3_constructor a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_mk_datatype(Z3_context a0, IntPtr a1, uint a2, [In, Out] Z3_constructor[] a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_constructor_list Z3_mk_constructor_list(Z3_context a0, uint a1, [In] Z3_constructor[] a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_del_constructor_list(Z3_context a0, Z3_constructor_list a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_mk_func_decl(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_app(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_const(Z3_context a0, IntPtr a1, Z3_sort a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_label(Z3_context a0, IntPtr a1, int a2, Z3_ast a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_fresh_const(Z3_context a0, string a1, Z3_sort a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_true(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_false(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_eq(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_distinct(Z3_context a0, uint a1, [In] Z3_ast[] a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_not(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_iff(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_implies(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_xor(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_and(Z3_context a0, uint a1, [In] Z3_ast[] a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_or(Z3_context a0, uint a1, [In] Z3_ast[] a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_add(Z3_context a0, uint a1, [In] Z3_ast[] a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_mul(Z3_context a0, uint a1, [In] Z3_ast[] a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_sub(Z3_context a0, uint a1, [In] Z3_ast[] a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_unary_minus(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_div(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_mod(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_rem(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_is_algebraic_number(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_lt(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_le(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_ge(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_int2real(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_real2int(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_is_int(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvnot(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvredand(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvredor(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvneg(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvurem(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_extract(Z3_context a0, uint a1, uint a2, Z3_ast a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_sign_ext(Z3_context a0, uint a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_zero_ext(Z3_context a0, uint a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_repeat(Z3_context a0, uint a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_rotate_left(Z3_context a0, uint a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_rotate_right(Z3_context a0, uint a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_ext_rotate_left(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_ext_rotate_right(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_int2bv(Z3_context a0, uint a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bv2int(Z3_context a0, Z3_ast a1, int a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvadd_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvsub_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvsub_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvsdiv_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvneg_no_overflow(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bvmul_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_map(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_array_default(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_mk_set_sort(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_empty_set(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_full_set(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_set_union(Z3_context a0, uint a1, [In] Z3_ast[] a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_set_intersect(Z3_context a0, uint a1, [In] Z3_ast[] a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_set_difference(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_set_complement(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_numeral(Z3_context a0, string a1, Z3_sort a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_real(Z3_context a0, int a1, int a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_int(Z3_context a0, int a1, Z3_sort a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_unsigned_int(Z3_context a0, uint a1, Z3_sort a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_int64(Z3_context a0, Int64 a1, Z3_sort a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_unsigned_int64(Z3_context a0, UInt64 a1, Z3_sort a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_pattern Z3_mk_pattern(Z3_context a0, uint a1, [In] Z3_ast[] a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_mk_bound(Z3_context a0, uint a1, Z3_sort a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_ast_id(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_sort_id(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_is_well_sorted(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_symbol_kind(Z3_context a0, IntPtr a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_get_symbol_int(Z3_context a0, IntPtr a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_get_symbol_string(Z3_context a0, IntPtr a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_ast_kind(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_ast_hash(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_get_numeral_string(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_numerator(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_denominator(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_get_numeral_small(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_get_numeral_int(Z3_context a0, Z3_ast a1, [In, Out] ref int a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, [In, Out] ref uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_bool_value(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_get_app_decl(Z3_context a0, Z3_app a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_app_num_args(Z3_context a0, Z3_app a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_app_arg(Z3_context a0, Z3_app a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_index_value(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_pattern Z3_get_quantifier_pattern_ast(Z3_context a0, Z3_ast a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_quantifier_num_no_patterns(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_quantifier_no_pattern_ast(Z3_context a0, Z3_ast a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_quantifier_body(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_quantifier_num_bound(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_get_decl_name(Z3_context a0, Z3_func_decl a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_decl_num_parameters(Z3_context a0, Z3_func_decl a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static double Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_get_decl_sort_parameter(Z3_context a0, Z3_func_decl a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_get_decl_func_decl_parameter(Z3_context a0, Z3_func_decl a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_get_sort_name(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_get_sort(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_domain_size(Z3_context a0, Z3_func_decl a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_get_domain(Z3_context a0, Z3_func_decl a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_get_range(Z3_context a0, Z3_func_decl a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_sort_kind(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_get_array_sort_domain(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_get_array_sort_range(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_get_tuple_sort_mk_decl(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_tuple_sort_num_fields(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_get_tuple_sort_field_decl(Z3_context a0, Z3_sort a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_datatype_sort_num_constructors(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_get_datatype_sort_constructor(Z3_context a0, Z3_sort a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_get_datatype_sort_recognizer(Z3_context a0, Z3_sort a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_get_datatype_sort_constructor_accessor(Z3_context a0, Z3_sort a1, uint a2, uint a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_relation_arity(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_get_relation_column(Z3_context a0, Z3_sort a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, [In, Out] ref UInt64 a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_mk_finite_domain_sort(Z3_context a0, IntPtr a1, UInt64 a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_pattern(Z3_context a0, Z3_pattern a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_simplify(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_simplify_get_help(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_param_descrs Z3_simplify_get_param_descrs(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_update_term(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_substitute(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3, [In] Z3_ast[] a4); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_substitute_vars(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_sort_to_ast(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_func_decl_to_ast(Z3_context a0, Z3_func_decl a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_pattern_to_ast(Z3_context a0, Z3_pattern a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_app_to_ast(Z3_context a0, Z3_app a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_app Z3_to_app(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_to_func_decl(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_push(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_pop(Z3_context a0, uint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_num_scopes(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_persist_ast(Z3_context a0, Z3_ast a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_assert_cnstr(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_check_and_get_model(Z3_context a0, [In, Out] ref Z3_model a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_check(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_implied_equalities(Z3_context a0, uint a1, [In] Z3_ast[] a2, [Out] uint[] a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_del_model(Z3_context a0, Z3_model a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_soft_check_cancel(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_search_failure(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_literals Z3_get_relevant_labels(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_literals Z3_get_relevant_literals(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_literals Z3_get_guessed_literals(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_del_literals(Z3_context a0, Z3_literals a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_num_literals(Z3_context a0, Z3_literals a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_get_label_symbol(Z3_context a0, Z3_literals a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_literal(Z3_context a0, Z3_literals a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_disable_literal(Z3_context a0, Z3_literals a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_block_literals(Z3_context a0, Z3_literals a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_model_inc_ref(Z3_context a0, Z3_model a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_model_dec_ref(Z3_context a0, Z3_model a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_model_get_const_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_interp Z3_model_get_func_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_model_get_num_consts(Z3_context a0, Z3_model a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_model_get_const_decl(Z3_context a0, Z3_model a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_model_get_num_funcs(Z3_context a0, Z3_model a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_model_get_func_decl(Z3_context a0, Z3_model a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_model_eval(Z3_context a0, Z3_model a1, Z3_ast a2, int a3, [In, Out] ref Z3_ast a4); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_model_get_num_sorts(Z3_context a0, Z3_model a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_model_get_sort(Z3_context a0, Z3_model a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast_vector Z3_model_get_sort_universe(Z3_context a0, Z3_model a1, Z3_sort a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_is_as_array(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_get_as_array_func_decl(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_func_interp_inc_ref(Z3_context a0, Z3_func_interp a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_func_interp_get_num_entries(Z3_context a0, Z3_func_interp a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_entry Z3_func_interp_get_entry(Z3_context a0, Z3_func_interp a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_func_interp_get_else(Z3_context a0, Z3_func_interp a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_func_interp_get_arity(Z3_context a0, Z3_func_interp a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_func_entry_get_value(Z3_context a0, Z3_func_entry a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_func_entry_get_num_args(Z3_context a0, Z3_func_entry a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_model_num_constants(Z3_context a0, Z3_model a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_get_model_constant(Z3_context a0, Z3_model a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_eval_func_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, [In, Out] ref Z3_ast a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref uint a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_model_num_funcs(Z3_context a0, Z3_model a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_get_model_func_decl(Z3_context a0, Z3_model a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_model_func_else(Z3_context a0, Z3_model a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_model_func_entry_num_args(Z3_context a0, Z3_model a1, uint a2, uint a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_model_func_entry_arg(Z3_context a0, Z3_model a1, uint a2, uint a3, uint a4); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, uint a2, uint a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref Z3_ast a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_set_ast_print_mode(Z3_context a0, uint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_ast_to_string(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_pattern_to_string(Z3_context a0, Z3_pattern a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_sort_to_string(Z3_context a0, Z3_sort a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_model_to_string(Z3_context a0, Z3_model a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_context_to_string(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_statistics_to_string(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_context_assignment(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_smtlib_num_formulas(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_smtlib_formula(Z3_context a0, uint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_smtlib_num_assumptions(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_get_smtlib_assumption(Z3_context a0, uint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_smtlib_num_decls(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_get_smtlib_decl(Z3_context a0, uint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_smtlib_num_sorts(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_sort Z3_get_smtlib_sort(Z3_context a0, uint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_get_smtlib_error(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_parse_z3_string(Z3_context a0, string a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_parse_z3_file(Z3_context a0, string a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_error_code(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_set_error(Z3_context a0, uint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_get_error_msg(uint a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - 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); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_reset_memory(); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_is_app(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_is_numeral_ast(Z3_context a0, Z3_ast a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_arity(Z3_context a0, Z3_func_decl a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_func_decl Z3_mk_injective_function(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_fixedpoint Z3_mk_fixedpoint(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_fixedpoint_register_relation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] uint[] a4); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_func_decl[] a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_fixedpoint_get_answer(Z3_context a0, Z3_fixedpoint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_fixedpoint_update_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_fixedpoint_get_num_levels(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_fixedpoint_get_cover_delta(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_stats Z3_fixedpoint_get_statistics(Z3_context a0, Z3_fixedpoint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_param_descrs Z3_fixedpoint_get_param_descrs(Z3_context a0, Z3_fixedpoint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_fixedpoint_set_params(Z3_context a0, Z3_fixedpoint a1, Z3_params a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_fixedpoint_get_reason_unknown(Z3_context a0, Z3_fixedpoint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] IntPtr[] a4); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast_vector Z3_fixedpoint_simplify_rules(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3, uint a4, [In] Z3_func_decl[] a5); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_params Z3_mk_params(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_params_inc_ref(Z3_context a0, Z3_params a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_params_dec_ref(Z3_context a0, Z3_params a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_params_set_bool(Z3_context a0, Z3_params a1, IntPtr a2, int a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_params_set_uint(Z3_context a0, Z3_params a1, IntPtr a2, uint a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_params_set_double(Z3_context a0, Z3_params a1, IntPtr a2, double a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_params_set_symbol(Z3_context a0, Z3_params a1, IntPtr a2, IntPtr a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_params_to_string(Z3_context a0, Z3_params a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_params_validate(Z3_context a0, Z3_params a1, Z3_param_descrs a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_param_descrs_inc_ref(Z3_context a0, Z3_param_descrs a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_param_descrs_dec_ref(Z3_context a0, Z3_param_descrs a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, IntPtr a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_param_descrs_to_string(Z3_context a0, Z3_param_descrs a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_interrupt(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_get_error_msg_ex(Z3_context a0, uint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_goal Z3_mk_goal(Z3_context a0, int a1, int a2, int a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_goal_inc_ref(Z3_context a0, Z3_goal a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_goal_dec_ref(Z3_context a0, Z3_goal a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_goal_precision(Z3_context a0, Z3_goal a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_goal_inconsistent(Z3_context a0, Z3_goal a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_goal_depth(Z3_context a0, Z3_goal a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_goal_reset(Z3_context a0, Z3_goal a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_goal_size(Z3_context a0, Z3_goal a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_goal_formula(Z3_context a0, Z3_goal a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_goal_num_exprs(Z3_context a0, Z3_goal a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_goal Z3_goal_translate(Z3_context a0, Z3_goal a1, Z3_context a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_goal_to_string(Z3_context a0, Z3_goal a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_tactic Z3_mk_tactic(Z3_context a0, string a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_probe Z3_mk_probe(Z3_context a0, string a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_probe_inc_ref(Z3_context a0, Z3_probe a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_probe_dec_ref(Z3_context a0, Z3_probe a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_tactic Z3_tactic_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_tactic Z3_tactic_or_else(Z3_context a0, Z3_tactic a1, Z3_tactic a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_tactic Z3_tactic_par_or(Z3_context a0, uint a1, [In] Z3_tactic[] a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_tactic Z3_tactic_par_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_tactic Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_tactic Z3_tactic_when(Z3_context a0, Z3_probe a1, Z3_tactic a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_tactic Z3_tactic_cond(Z3_context a0, Z3_probe a1, Z3_tactic a2, Z3_tactic a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_tactic Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_tactic Z3_tactic_skip(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_tactic Z3_tactic_fail(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_tactic Z3_tactic_fail_if(Z3_context a0, Z3_probe a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_tactic Z3_tactic_fail_if_not_decided(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_tactic Z3_tactic_using_params(Z3_context a0, Z3_tactic a1, Z3_params a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_probe Z3_probe_const(Z3_context a0, double a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_probe Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_probe Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_probe Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_probe Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_probe Z3_probe_eq(Z3_context a0, Z3_probe a1, Z3_probe a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_probe Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_probe Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_probe Z3_probe_not(Z3_context a0, Z3_probe a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_num_tactics(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_get_tactic_name(Z3_context a0, uint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_get_num_probes(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_get_probe_name(Z3_context a0, uint a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_tactic_get_help(Z3_context a0, Z3_tactic a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_param_descrs Z3_tactic_get_param_descrs(Z3_context a0, Z3_tactic a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_tactic_get_descr(Z3_context a0, string a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_probe_get_descr(Z3_context a0, string a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static double Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_apply_result Z3_tactic_apply(Z3_context a0, Z3_tactic a1, Z3_goal a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_apply_result Z3_tactic_apply_ex(Z3_context a0, Z3_tactic a1, Z3_goal a2, Z3_params a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_apply_result_inc_ref(Z3_context a0, Z3_apply_result a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_apply_result_dec_ref(Z3_context a0, Z3_apply_result a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_apply_result_to_string(Z3_context a0, Z3_apply_result a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_apply_result_get_num_subgoals(Z3_context a0, Z3_apply_result a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_goal Z3_apply_result_get_subgoal(Z3_context a0, Z3_apply_result a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_model Z3_apply_result_convert_model(Z3_context a0, Z3_apply_result a1, uint a2, Z3_model a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_solver Z3_mk_solver(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_solver Z3_mk_simple_solver(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_solver Z3_mk_solver_for_logic(Z3_context a0, IntPtr a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_solver Z3_mk_solver_from_tactic(Z3_context a0, Z3_tactic a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_solver_get_help(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_param_descrs Z3_solver_get_param_descrs(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_solver_inc_ref(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_solver_dec_ref(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_solver_push(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_solver_pop(Z3_context a0, Z3_solver a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_solver_reset(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast_vector Z3_solver_get_assertions(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_solver_check(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_solver_check_assumptions(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_model Z3_solver_get_model(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_solver_get_proof(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast_vector Z3_solver_get_unsat_core(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_stats Z3_solver_get_statistics(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_solver_to_string(Z3_context a0, Z3_solver a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_stats_to_string(Z3_context a0, Z3_stats a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_stats_inc_ref(Z3_context a0, Z3_stats a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_stats_dec_ref(Z3_context a0, Z3_stats a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_stats_size(Z3_context a0, Z3_stats a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_stats_get_key(Z3_context a0, Z3_stats a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_stats_is_uint(Z3_context a0, Z3_stats a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_stats_is_double(Z3_context a0, Z3_stats a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static double Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast_vector Z3_mk_ast_vector(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_ast_vector_set(Z3_context a0, Z3_ast_vector a1, uint a2, Z3_ast a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, uint a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast_vector Z3_ast_vector_translate(Z3_context a0, Z3_ast_vector a1, Z3_context a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast_map Z3_mk_ast_map(Z3_context a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static uint Z3_ast_map_size(Z3_context a0, Z3_ast_map a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static Z3_ast_vector Z3_ast_map_keys(Z3_context a0, Z3_ast_map a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static IntPtr Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static int Z3_open_log(string a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_append_log(string a0); - - [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] - public extern static void Z3_close_log(); - - } - - public static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1) { - LIB.Z3_set_error_handler(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static Z3_config Z3_mk_config() { - Z3_config r = LIB.Z3_mk_config(); - return r; - } - - public static void Z3_del_config(Z3_config a0) { - LIB.Z3_del_config(a0); - } - - public static void Z3_set_param_value(Z3_config a0, string a1, string a2) { - LIB.Z3_set_param_value(a0, a1, a2); - } - - public static Z3_context Z3_mk_context(Z3_config a0) { - Z3_context r = LIB.Z3_mk_context(a0); - return r; - } - - public static Z3_context Z3_mk_context_rc(Z3_config a0) { - Z3_context r = LIB.Z3_mk_context_rc(a0); - return r; - } - - public static void Z3_set_logic(Z3_context a0, string a1) { - LIB.Z3_set_logic(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_del_context(Z3_context a0) { - LIB.Z3_del_context(a0); - } - - public static void Z3_inc_ref(Z3_context a0, Z3_ast a1) { - LIB.Z3_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_dec_ref(Z3_context a0, Z3_ast a1) { - LIB.Z3_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_toggle_warning_messages(int a0) { - LIB.Z3_toggle_warning_messages(a0); - } - - public static void Z3_update_param_value(Z3_context a0, string a1, string a2) { - LIB.Z3_update_param_value(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static int Z3_get_param_value(Z3_context a0, string a1, out IntPtr a2) { - int r = LIB.Z3_get_param_value(a0, a1, out a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static IntPtr Z3_mk_int_symbol(Z3_context a0, int a1) { - IntPtr r = LIB.Z3_mk_int_symbol(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static IntPtr Z3_mk_string_symbol(Z3_context a0, string a1) { - IntPtr r = LIB.Z3_mk_string_symbol(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2) { - int r = LIB.Z3_is_eq_sort(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_mk_uninterpreted_sort(Z3_context a0, IntPtr a1) { - Z3_sort r = LIB.Z3_mk_uninterpreted_sort(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_mk_bool_sort(Z3_context a0) { - Z3_sort r = LIB.Z3_mk_bool_sort(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_mk_int_sort(Z3_context a0) { - Z3_sort r = LIB.Z3_mk_int_sort(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_mk_real_sort(Z3_context a0) { - Z3_sort r = LIB.Z3_mk_real_sort(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_mk_bv_sort(Z3_context a0, uint a1) { - Z3_sort r = LIB.Z3_mk_bv_sort(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2) { - Z3_sort r = LIB.Z3_mk_array_sort(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - Z3_sort r = LIB.Z3_mk_tuple_sort(a0, a1, a2, a3, a4, ref a5, a6); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - Z3_sort r = LIB.Z3_mk_enumeration_sort(a0, a1, a2, a3, a4, a5); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - Z3_sort r = LIB.Z3_mk_list_sort(a0, a1, a2, ref a3, ref a4, ref a5, ref a6, ref a7, ref a8); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - Z3_constructor r = LIB.Z3_mk_constructor(a0, a1, a2, a3, a4, a5, a6); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - LIB.Z3_query_constructor(a0, a1, a2, ref a3, ref a4, a5); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_del_constructor(Z3_context a0, Z3_constructor a1) { - LIB.Z3_del_constructor(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static Z3_sort Z3_mk_datatype(Z3_context a0, IntPtr a1, uint a2, [In, Out] Z3_constructor[] a3) { - Z3_sort r = LIB.Z3_mk_datatype(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_constructor_list Z3_mk_constructor_list(Z3_context a0, uint a1, [In] Z3_constructor[] a2) { - Z3_constructor_list r = LIB.Z3_mk_constructor_list(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_del_constructor_list(Z3_context a0, Z3_constructor_list a1) { - LIB.Z3_del_constructor_list(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_mk_datatypes(Z3_context a0, uint a1, [In] IntPtr[] a2, [Out] Z3_sort[] a3, [In, Out] Z3_constructor_list[] a4) { - LIB.Z3_mk_datatypes(a0, a1, a2, a3, a4); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static int Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2) { - int r = LIB.Z3_is_eq_ast(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2) { - int r = LIB.Z3_is_eq_func_decl(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_mk_func_decl(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4) { - Z3_func_decl r = LIB.Z3_mk_func_decl(a0, a1, a2, a3, a4); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_app(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3) { - Z3_ast r = LIB.Z3_mk_app(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_const(Z3_context a0, IntPtr a1, Z3_sort a2) { - Z3_ast r = LIB.Z3_mk_const(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_label(Z3_context a0, IntPtr a1, int a2, Z3_ast a3) { - Z3_ast r = LIB.Z3_mk_label(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_mk_fresh_func_decl(Z3_context a0, string a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4) { - Z3_func_decl r = LIB.Z3_mk_fresh_func_decl(a0, a1, a2, a3, a4); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_fresh_const(Z3_context a0, string a1, Z3_sort a2) { - Z3_ast r = LIB.Z3_mk_fresh_const(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_true(Z3_context a0) { - Z3_ast r = LIB.Z3_mk_true(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_false(Z3_context a0) { - Z3_ast r = LIB.Z3_mk_false(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_eq(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_eq(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_distinct(Z3_context a0, uint a1, [In] Z3_ast[] a2) { - Z3_ast r = LIB.Z3_mk_distinct(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_not(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_mk_not(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) { - Z3_ast r = LIB.Z3_mk_ite(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_iff(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_iff(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_implies(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_implies(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_xor(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_xor(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_and(Z3_context a0, uint a1, [In] Z3_ast[] a2) { - Z3_ast r = LIB.Z3_mk_and(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_or(Z3_context a0, uint a1, [In] Z3_ast[] a2) { - Z3_ast r = LIB.Z3_mk_or(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_add(Z3_context a0, uint a1, [In] Z3_ast[] a2) { - Z3_ast r = LIB.Z3_mk_add(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_mul(Z3_context a0, uint a1, [In] Z3_ast[] a2) { - Z3_ast r = LIB.Z3_mk_mul(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_sub(Z3_context a0, uint a1, [In] Z3_ast[] a2) { - Z3_ast r = LIB.Z3_mk_sub(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_unary_minus(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_mk_unary_minus(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_div(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_div(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_mod(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_mod(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_rem(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_rem(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_power(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_is_algebraic_number(Z3_context a0, Z3_ast a1) { - int r = LIB.Z3_is_algebraic_number(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, uint a2) { - Z3_ast r = LIB.Z3_get_algebraic_number_lower(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, uint a2) { - Z3_ast r = LIB.Z3_get_algebraic_number_upper(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_lt(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_lt(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_le(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_le(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_gt(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_ge(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_ge(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_int2real(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_mk_int2real(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_real2int(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_mk_real2int(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_is_int(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_mk_is_int(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvnot(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_mk_bvnot(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvredand(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_mk_bvredand(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvredor(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_mk_bvredor(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvand(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvor(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvxor(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvnand(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvnor(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvxnor(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvneg(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_mk_bvneg(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvadd(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvsub(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvmul(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvudiv(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvsdiv(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvurem(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvurem(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvsrem(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvsmod(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvult(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvslt(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvule(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvsle(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvuge(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvsge(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvugt(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvsgt(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_concat(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_extract(Z3_context a0, uint a1, uint a2, Z3_ast a3) { - Z3_ast r = LIB.Z3_mk_extract(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_sign_ext(Z3_context a0, uint a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_sign_ext(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_zero_ext(Z3_context a0, uint a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_zero_ext(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_repeat(Z3_context a0, uint a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_repeat(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvshl(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvlshr(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvashr(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_rotate_left(Z3_context a0, uint a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_rotate_left(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_rotate_right(Z3_context a0, uint a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_rotate_right(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_ext_rotate_left(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_ext_rotate_left(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_ext_rotate_right(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_ext_rotate_right(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_int2bv(Z3_context a0, uint a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_int2bv(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bv2int(Z3_context a0, Z3_ast a1, int a2) { - Z3_ast r = LIB.Z3_mk_bv2int(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3) { - Z3_ast r = LIB.Z3_mk_bvadd_no_overflow(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvadd_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvadd_no_underflow(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvsub_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvsub_no_overflow(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvsub_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3) { - Z3_ast r = LIB.Z3_mk_bvsub_no_underflow(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvsdiv_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvsdiv_no_overflow(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvneg_no_overflow(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_mk_bvneg_no_overflow(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3) { - Z3_ast r = LIB.Z3_mk_bvmul_no_overflow(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bvmul_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_bvmul_no_underflow(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_select(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) { - Z3_ast r = LIB.Z3_mk_store(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_const_array(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_map(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3) { - Z3_ast r = LIB.Z3_mk_map(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_array_default(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_mk_array_default(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_mk_set_sort(Z3_context a0, Z3_sort a1) { - Z3_sort r = LIB.Z3_mk_set_sort(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_empty_set(Z3_context a0, Z3_sort a1) { - Z3_ast r = LIB.Z3_mk_empty_set(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_full_set(Z3_context a0, Z3_sort a1) { - Z3_ast r = LIB.Z3_mk_full_set(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_set_add(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_set_del(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_set_union(Z3_context a0, uint a1, [In] Z3_ast[] a2) { - Z3_ast r = LIB.Z3_mk_set_union(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_set_intersect(Z3_context a0, uint a1, [In] Z3_ast[] a2) { - Z3_ast r = LIB.Z3_mk_set_intersect(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_set_difference(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_set_difference(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_set_complement(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_mk_set_complement(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_set_member(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_mk_set_subset(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_numeral(Z3_context a0, string a1, Z3_sort a2) { - Z3_ast r = LIB.Z3_mk_numeral(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_real(Z3_context a0, int a1, int a2) { - Z3_ast r = LIB.Z3_mk_real(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_int(Z3_context a0, int a1, Z3_sort a2) { - Z3_ast r = LIB.Z3_mk_int(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_unsigned_int(Z3_context a0, uint a1, Z3_sort a2) { - Z3_ast r = LIB.Z3_mk_unsigned_int(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_int64(Z3_context a0, Int64 a1, Z3_sort a2) { - Z3_ast r = LIB.Z3_mk_int64(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_unsigned_int64(Z3_context a0, UInt64 a1, Z3_sort a2) { - Z3_ast r = LIB.Z3_mk_unsigned_int64(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_pattern Z3_mk_pattern(Z3_context a0, uint a1, [In] Z3_ast[] a2) { - Z3_pattern r = LIB.Z3_mk_pattern(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_mk_bound(Z3_context a0, uint a1, Z3_sort a2) { - Z3_ast r = LIB.Z3_mk_bound(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - Z3_ast r = LIB.Z3_mk_forall(a0, a1, a2, a3, a4, a5, a6, a7); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - Z3_ast r = LIB.Z3_mk_exists(a0, a1, a2, a3, a4, a5, a6, a7); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - Z3_ast r = LIB.Z3_mk_quantifier(a0, a1, a2, a3, a4, a5, a6, a7, a8); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - Z3_ast r = LIB.Z3_mk_quantifier_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - Z3_ast r = LIB.Z3_mk_forall_const(a0, a1, a2, a3, a4, a5, a6); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - Z3_ast r = LIB.Z3_mk_exists_const(a0, a1, a2, a3, a4, a5, a6); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - Z3_ast r = LIB.Z3_mk_quantifier_const(a0, a1, a2, a3, a4, a5, a6, a7); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - Z3_ast r = LIB.Z3_mk_quantifier_const_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_ast_id(Z3_context a0, Z3_ast a1) { - uint r = LIB.Z3_get_ast_id(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1) { - uint r = LIB.Z3_get_func_decl_id(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_sort_id(Z3_context a0, Z3_sort a1) { - uint r = LIB.Z3_get_sort_id(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_is_well_sorted(Z3_context a0, Z3_ast a1) { - int r = LIB.Z3_is_well_sorted(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_symbol_kind(Z3_context a0, IntPtr a1) { - uint r = LIB.Z3_get_symbol_kind(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_get_symbol_int(Z3_context a0, IntPtr a1) { - int r = LIB.Z3_get_symbol_int(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_get_symbol_string(Z3_context a0, IntPtr a1) { - IntPtr r = LIB.Z3_get_symbol_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static uint Z3_get_ast_kind(Z3_context a0, Z3_ast a1) { - uint r = LIB.Z3_get_ast_kind(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_ast_hash(Z3_context a0, Z3_ast a1) { - uint r = LIB.Z3_get_ast_hash(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_get_numeral_string(Z3_context a0, Z3_ast a1) { - IntPtr r = LIB.Z3_get_numeral_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static string Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, uint a2) { - IntPtr r = LIB.Z3_get_numeral_decimal_string(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static Z3_ast Z3_get_numerator(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_get_numerator(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_get_denominator(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_get_denominator(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_get_numeral_small(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3) { - int r = LIB.Z3_get_numeral_small(a0, a1, ref a2, ref a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_get_numeral_int(Z3_context a0, Z3_ast a1, [In, Out] ref int a2) { - int r = LIB.Z3_get_numeral_int(a0, a1, ref a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, [In, Out] ref uint a2) { - int r = LIB.Z3_get_numeral_uint(a0, a1, ref a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2) { - int r = LIB.Z3_get_numeral_uint64(a0, a1, ref a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2) { - int r = LIB.Z3_get_numeral_int64(a0, a1, ref a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_get_numeral_rational_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3) { - int r = LIB.Z3_get_numeral_rational_int64(a0, a1, ref a2, ref a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_bool_value(Z3_context a0, Z3_ast a1) { - uint r = LIB.Z3_get_bool_value(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_get_app_decl(Z3_context a0, Z3_app a1) { - Z3_func_decl r = LIB.Z3_get_app_decl(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_app_num_args(Z3_context a0, Z3_app a1) { - uint r = LIB.Z3_get_app_num_args(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_get_app_arg(Z3_context a0, Z3_app a1, uint a2) { - Z3_ast r = LIB.Z3_get_app_arg(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_index_value(Z3_context a0, Z3_ast a1) { - uint r = LIB.Z3_get_index_value(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1) { - int r = LIB.Z3_is_quantifier_forall(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1) { - uint r = LIB.Z3_get_quantifier_weight(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1) { - uint r = LIB.Z3_get_quantifier_num_patterns(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_pattern Z3_get_quantifier_pattern_ast(Z3_context a0, Z3_ast a1, uint a2) { - Z3_pattern r = LIB.Z3_get_quantifier_pattern_ast(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_quantifier_num_no_patterns(Z3_context a0, Z3_ast a1) { - uint r = LIB.Z3_get_quantifier_num_no_patterns(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_get_quantifier_no_pattern_ast(Z3_context a0, Z3_ast a1, uint a2) { - Z3_ast r = LIB.Z3_get_quantifier_no_pattern_ast(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static IntPtr Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, uint a2) { - IntPtr r = LIB.Z3_get_quantifier_bound_name(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, uint a2) { - Z3_sort r = LIB.Z3_get_quantifier_bound_sort(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_get_quantifier_body(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_get_quantifier_body(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_quantifier_num_bound(Z3_context a0, Z3_ast a1) { - uint r = LIB.Z3_get_quantifier_num_bound(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static IntPtr Z3_get_decl_name(Z3_context a0, Z3_func_decl a1) { - IntPtr r = LIB.Z3_get_decl_name(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_decl_num_parameters(Z3_context a0, Z3_func_decl a1) { - uint r = LIB.Z3_get_decl_num_parameters(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, uint a2) { - uint r = LIB.Z3_get_decl_parameter_kind(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, uint a2) { - int r = LIB.Z3_get_decl_int_parameter(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static double Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, uint a2) { - double r = LIB.Z3_get_decl_double_parameter(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static IntPtr Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, uint a2) { - IntPtr r = LIB.Z3_get_decl_symbol_parameter(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_get_decl_sort_parameter(Z3_context a0, Z3_func_decl a1, uint a2) { - Z3_sort r = LIB.Z3_get_decl_sort_parameter(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, uint a2) { - Z3_ast r = LIB.Z3_get_decl_ast_parameter(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_get_decl_func_decl_parameter(Z3_context a0, Z3_func_decl a1, uint a2) { - Z3_func_decl r = LIB.Z3_get_decl_func_decl_parameter(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, uint a2) { - IntPtr r = LIB.Z3_get_decl_rational_parameter(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static IntPtr Z3_get_sort_name(Z3_context a0, Z3_sort a1) { - IntPtr r = LIB.Z3_get_sort_name(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_get_sort(Z3_context a0, Z3_ast a1) { - Z3_sort r = LIB.Z3_get_sort(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_domain_size(Z3_context a0, Z3_func_decl a1) { - uint r = LIB.Z3_get_domain_size(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_get_domain(Z3_context a0, Z3_func_decl a1, uint a2) { - Z3_sort r = LIB.Z3_get_domain(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_get_range(Z3_context a0, Z3_func_decl a1) { - Z3_sort r = LIB.Z3_get_range(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_sort_kind(Z3_context a0, Z3_sort a1) { - uint r = LIB.Z3_get_sort_kind(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1) { - uint r = LIB.Z3_get_bv_sort_size(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_get_array_sort_domain(Z3_context a0, Z3_sort a1) { - Z3_sort r = LIB.Z3_get_array_sort_domain(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_get_array_sort_range(Z3_context a0, Z3_sort a1) { - Z3_sort r = LIB.Z3_get_array_sort_range(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_get_tuple_sort_mk_decl(Z3_context a0, Z3_sort a1) { - Z3_func_decl r = LIB.Z3_get_tuple_sort_mk_decl(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1) { - uint r = LIB.Z3_get_decl_kind(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_tuple_sort_num_fields(Z3_context a0, Z3_sort a1) { - uint r = LIB.Z3_get_tuple_sort_num_fields(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_get_tuple_sort_field_decl(Z3_context a0, Z3_sort a1, uint a2) { - Z3_func_decl r = LIB.Z3_get_tuple_sort_field_decl(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_datatype_sort_num_constructors(Z3_context a0, Z3_sort a1) { - uint r = LIB.Z3_get_datatype_sort_num_constructors(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_get_datatype_sort_constructor(Z3_context a0, Z3_sort a1, uint a2) { - Z3_func_decl r = LIB.Z3_get_datatype_sort_constructor(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_get_datatype_sort_recognizer(Z3_context a0, Z3_sort a1, uint a2) { - Z3_func_decl r = LIB.Z3_get_datatype_sort_recognizer(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_get_datatype_sort_constructor_accessor(Z3_context a0, Z3_sort a1, uint a2, uint a3) { - Z3_func_decl r = LIB.Z3_get_datatype_sort_constructor_accessor(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_relation_arity(Z3_context a0, Z3_sort a1) { - uint r = LIB.Z3_get_relation_arity(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_get_relation_column(Z3_context a0, Z3_sort a1, uint a2) { - Z3_sort r = LIB.Z3_get_relation_column(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, [In, Out] ref UInt64 a2) { - int r = LIB.Z3_get_finite_domain_sort_size(a0, a1, ref a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_mk_finite_domain_sort(Z3_context a0, IntPtr a1, UInt64 a2) { - Z3_sort r = LIB.Z3_mk_finite_domain_sort(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1) { - uint r = LIB.Z3_get_pattern_num_terms(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_get_pattern(Z3_context a0, Z3_pattern a1, uint a2) { - Z3_ast r = LIB.Z3_get_pattern(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_simplify(Z3_context a0, Z3_ast a1) { - Z3_ast r = LIB.Z3_simplify(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2) { - Z3_ast r = LIB.Z3_simplify_ex(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_simplify_get_help(Z3_context a0) { - IntPtr r = LIB.Z3_simplify_get_help(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static Z3_param_descrs Z3_simplify_get_param_descrs(Z3_context a0) { - Z3_param_descrs r = LIB.Z3_simplify_get_param_descrs(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_update_term(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3) { - Z3_ast r = LIB.Z3_update_term(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_substitute(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3, [In] Z3_ast[] a4) { - Z3_ast r = LIB.Z3_substitute(a0, a1, a2, a3, a4); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_substitute_vars(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3) { - Z3_ast r = LIB.Z3_substitute_vars(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_sort_to_ast(Z3_context a0, Z3_sort a1) { - Z3_ast r = LIB.Z3_sort_to_ast(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_func_decl_to_ast(Z3_context a0, Z3_func_decl a1) { - Z3_ast r = LIB.Z3_func_decl_to_ast(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_pattern_to_ast(Z3_context a0, Z3_pattern a1) { - Z3_ast r = LIB.Z3_pattern_to_ast(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_app_to_ast(Z3_context a0, Z3_app a1) { - Z3_ast r = LIB.Z3_app_to_ast(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_app Z3_to_app(Z3_context a0, Z3_ast a1) { - Z3_app r = LIB.Z3_to_app(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_to_func_decl(Z3_context a0, Z3_ast a1) { - Z3_func_decl r = LIB.Z3_to_func_decl(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_push(Z3_context a0) { - LIB.Z3_push(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_pop(Z3_context a0, uint a1) { - LIB.Z3_pop(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static uint Z3_get_num_scopes(Z3_context a0) { - uint r = LIB.Z3_get_num_scopes(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_persist_ast(Z3_context a0, Z3_ast a1, uint a2) { - LIB.Z3_persist_ast(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_assert_cnstr(Z3_context a0, Z3_ast a1) { - LIB.Z3_assert_cnstr(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static int Z3_check_and_get_model(Z3_context a0, [In, Out] ref Z3_model a1) { - int r = LIB.Z3_check_and_get_model(a0, ref a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_check(Z3_context a0) { - int r = LIB.Z3_check(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - int r = LIB.Z3_check_assumptions(a0, a1, a2, ref a3, ref a4, ref a5, a6); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_implied_equalities(Z3_context a0, uint a1, [In] Z3_ast[] a2, [Out] uint[] a3) { - uint r = LIB.Z3_get_implied_equalities(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_del_model(Z3_context a0, Z3_model a1) { - LIB.Z3_del_model(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_soft_check_cancel(Z3_context a0) { - LIB.Z3_soft_check_cancel(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static uint Z3_get_search_failure(Z3_context a0) { - uint r = LIB.Z3_get_search_failure(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_literals Z3_get_relevant_labels(Z3_context a0) { - Z3_literals r = LIB.Z3_get_relevant_labels(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_literals Z3_get_relevant_literals(Z3_context a0) { - Z3_literals r = LIB.Z3_get_relevant_literals(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_literals Z3_get_guessed_literals(Z3_context a0) { - Z3_literals r = LIB.Z3_get_guessed_literals(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_del_literals(Z3_context a0, Z3_literals a1) { - LIB.Z3_del_literals(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static uint Z3_get_num_literals(Z3_context a0, Z3_literals a1) { - uint r = LIB.Z3_get_num_literals(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static IntPtr Z3_get_label_symbol(Z3_context a0, Z3_literals a1, uint a2) { - IntPtr r = LIB.Z3_get_label_symbol(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_get_literal(Z3_context a0, Z3_literals a1, uint a2) { - Z3_ast r = LIB.Z3_get_literal(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_disable_literal(Z3_context a0, Z3_literals a1, uint a2) { - LIB.Z3_disable_literal(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_block_literals(Z3_context a0, Z3_literals a1) { - LIB.Z3_block_literals(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_model_inc_ref(Z3_context a0, Z3_model a1) { - LIB.Z3_model_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_model_dec_ref(Z3_context a0, Z3_model a1) { - LIB.Z3_model_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static Z3_ast Z3_model_get_const_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2) { - Z3_ast r = LIB.Z3_model_get_const_interp(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_interp Z3_model_get_func_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2) { - Z3_func_interp r = LIB.Z3_model_get_func_interp(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_model_get_num_consts(Z3_context a0, Z3_model a1) { - uint r = LIB.Z3_model_get_num_consts(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_model_get_const_decl(Z3_context a0, Z3_model a1, uint a2) { - Z3_func_decl r = LIB.Z3_model_get_const_decl(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_model_get_num_funcs(Z3_context a0, Z3_model a1) { - uint r = LIB.Z3_model_get_num_funcs(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_model_get_func_decl(Z3_context a0, Z3_model a1, uint a2) { - Z3_func_decl r = LIB.Z3_model_get_func_decl(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_model_eval(Z3_context a0, Z3_model a1, Z3_ast a2, int a3, [In, Out] ref Z3_ast a4) { - int r = LIB.Z3_model_eval(a0, a1, a2, a3, ref a4); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_model_get_num_sorts(Z3_context a0, Z3_model a1) { - uint r = LIB.Z3_model_get_num_sorts(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_model_get_sort(Z3_context a0, Z3_model a1, uint a2) { - Z3_sort r = LIB.Z3_model_get_sort(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast_vector Z3_model_get_sort_universe(Z3_context a0, Z3_model a1, Z3_sort a2) { - Z3_ast_vector r = LIB.Z3_model_get_sort_universe(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_is_as_array(Z3_context a0, Z3_ast a1) { - int r = LIB.Z3_is_as_array(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_get_as_array_func_decl(Z3_context a0, Z3_ast a1) { - Z3_func_decl r = LIB.Z3_get_as_array_func_decl(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_func_interp_inc_ref(Z3_context a0, Z3_func_interp a1) { - LIB.Z3_func_interp_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1) { - LIB.Z3_func_interp_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static uint Z3_func_interp_get_num_entries(Z3_context a0, Z3_func_interp a1) { - uint r = LIB.Z3_func_interp_get_num_entries(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_entry Z3_func_interp_get_entry(Z3_context a0, Z3_func_interp a1, uint a2) { - Z3_func_entry r = LIB.Z3_func_interp_get_entry(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_func_interp_get_else(Z3_context a0, Z3_func_interp a1) { - Z3_ast r = LIB.Z3_func_interp_get_else(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_func_interp_get_arity(Z3_context a0, Z3_func_interp a1) { - uint r = LIB.Z3_func_interp_get_arity(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1) { - LIB.Z3_func_entry_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1) { - LIB.Z3_func_entry_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static Z3_ast Z3_func_entry_get_value(Z3_context a0, Z3_func_entry a1) { - Z3_ast r = LIB.Z3_func_entry_get_value(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_func_entry_get_num_args(Z3_context a0, Z3_func_entry a1) { - uint r = LIB.Z3_func_entry_get_num_args(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, uint a2) { - Z3_ast r = LIB.Z3_func_entry_get_arg(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_model_num_constants(Z3_context a0, Z3_model a1) { - uint r = LIB.Z3_get_model_num_constants(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_get_model_constant(Z3_context a0, Z3_model a1, uint a2) { - Z3_func_decl r = LIB.Z3_get_model_constant(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_eval_func_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, [In, Out] ref Z3_ast a3) { - int r = LIB.Z3_eval_func_decl(a0, a1, a2, ref a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref uint a3) { - int r = LIB.Z3_is_array_value(a0, a1, a2, ref a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - LIB.Z3_get_array_value(a0, a1, a2, a3, a4, a5, ref a6); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static uint Z3_get_model_num_funcs(Z3_context a0, Z3_model a1) { - uint r = LIB.Z3_get_model_num_funcs(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_get_model_func_decl(Z3_context a0, Z3_model a1, uint a2) { - Z3_func_decl r = LIB.Z3_get_model_func_decl(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_get_model_func_else(Z3_context a0, Z3_model a1, uint a2) { - Z3_ast r = LIB.Z3_get_model_func_else(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, uint a2) { - uint r = LIB.Z3_get_model_func_num_entries(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_model_func_entry_num_args(Z3_context a0, Z3_model a1, uint a2, uint a3) { - uint r = LIB.Z3_get_model_func_entry_num_args(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_get_model_func_entry_arg(Z3_context a0, Z3_model a1, uint a2, uint a3, uint a4) { - Z3_ast r = LIB.Z3_get_model_func_entry_arg(a0, a1, a2, a3, a4); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, uint a2, uint a3) { - Z3_ast r = LIB.Z3_get_model_func_entry_value(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref Z3_ast a3) { - int r = LIB.Z3_eval(a0, a1, a2, ref a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - int r = LIB.Z3_eval_decl(a0, a1, a2, a3, a4, ref a5); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_set_ast_print_mode(Z3_context a0, uint a1) { - LIB.Z3_set_ast_print_mode(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static string Z3_ast_to_string(Z3_context a0, Z3_ast a1) { - IntPtr r = LIB.Z3_ast_to_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static string Z3_pattern_to_string(Z3_context a0, Z3_pattern a1) { - IntPtr r = LIB.Z3_pattern_to_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static string Z3_sort_to_string(Z3_context a0, Z3_sort a1) { - IntPtr r = LIB.Z3_sort_to_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static string Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1) { - IntPtr r = LIB.Z3_func_decl_to_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static string Z3_model_to_string(Z3_context a0, Z3_model a1) { - IntPtr r = LIB.Z3_model_to_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - 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) { - IntPtr r = LIB.Z3_benchmark_to_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static string Z3_context_to_string(Z3_context a0) { - IntPtr r = LIB.Z3_context_to_string(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static string Z3_statistics_to_string(Z3_context a0) { - IntPtr r = LIB.Z3_statistics_to_string(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static Z3_ast Z3_get_context_assignment(Z3_context a0) { - Z3_ast r = LIB.Z3_get_context_assignment(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - LIB.Z3_parse_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - 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) { - LIB.Z3_parse_smtlib_file(a0, a1, a2, a3, a4, a5, a6, a7); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static uint Z3_get_smtlib_num_formulas(Z3_context a0) { - uint r = LIB.Z3_get_smtlib_num_formulas(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_get_smtlib_formula(Z3_context a0, uint a1) { - Z3_ast r = LIB.Z3_get_smtlib_formula(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_smtlib_num_assumptions(Z3_context a0) { - uint r = LIB.Z3_get_smtlib_num_assumptions(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_get_smtlib_assumption(Z3_context a0, uint a1) { - Z3_ast r = LIB.Z3_get_smtlib_assumption(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_smtlib_num_decls(Z3_context a0) { - uint r = LIB.Z3_get_smtlib_num_decls(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_get_smtlib_decl(Z3_context a0, uint a1) { - Z3_func_decl r = LIB.Z3_get_smtlib_decl(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_smtlib_num_sorts(Z3_context a0) { - uint r = LIB.Z3_get_smtlib_num_sorts(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_sort Z3_get_smtlib_sort(Z3_context a0, uint a1) { - Z3_sort r = LIB.Z3_get_smtlib_sort(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_get_smtlib_error(Z3_context a0) { - IntPtr r = LIB.Z3_get_smtlib_error(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static Z3_ast Z3_parse_z3_string(Z3_context a0, string a1) { - Z3_ast r = LIB.Z3_parse_z3_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_parse_z3_file(Z3_context a0, string a1) { - Z3_ast r = LIB.Z3_parse_z3_file(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - Z3_ast r = LIB.Z3_parse_smtlib2_string(a0, a1, a2, a3, a4, a5, a6, a7); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - 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) { - Z3_ast r = LIB.Z3_parse_smtlib2_file(a0, a1, a2, a3, a4, a5, a6, a7); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_error_code(Z3_context a0) { - uint r = LIB.Z3_get_error_code(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_set_error(Z3_context a0, uint a1) { - LIB.Z3_set_error(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static string Z3_get_error_msg(uint a0) { - IntPtr r = LIB.Z3_get_error_msg(a0); - return Marshal.PtrToStringAnsi(r); - } - - 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) { - LIB.Z3_get_version(ref a0, ref a1, ref a2, ref a3); - } - - public static void Z3_reset_memory() { - LIB.Z3_reset_memory(); - } - - public static int Z3_is_app(Z3_context a0, Z3_ast a1) { - int r = LIB.Z3_is_app(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_is_numeral_ast(Z3_context a0, Z3_ast a1) { - int r = LIB.Z3_is_numeral_ast(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_arity(Z3_context a0, Z3_func_decl a1) { - uint r = LIB.Z3_get_arity(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_func_decl Z3_mk_injective_function(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4) { - Z3_func_decl r = LIB.Z3_mk_injective_function(a0, a1, a2, a3, a4); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_fixedpoint Z3_mk_fixedpoint(Z3_context a0) { - Z3_fixedpoint r = LIB.Z3_mk_fixedpoint(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1) { - LIB.Z3_fixedpoint_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1) { - LIB.Z3_fixedpoint_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1) { - LIB.Z3_fixedpoint_push(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1) { - LIB.Z3_fixedpoint_pop(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_fixedpoint_register_relation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2) { - LIB.Z3_fixedpoint_register_relation(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2) { - LIB.Z3_fixedpoint_assert(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3) { - LIB.Z3_fixedpoint_add_rule(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] uint[] a4) { - LIB.Z3_fixedpoint_add_fact(a0, a1, a2, a3, a4); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static int Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2) { - int r = LIB.Z3_fixedpoint_query(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_func_decl[] a3) { - int r = LIB.Z3_fixedpoint_query_relations(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_fixedpoint_get_answer(Z3_context a0, Z3_fixedpoint a1) { - Z3_ast r = LIB.Z3_fixedpoint_get_answer(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_fixedpoint_update_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3) { - LIB.Z3_fixedpoint_update_rule(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static uint Z3_fixedpoint_get_num_levels(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2) { - uint r = LIB.Z3_fixedpoint_get_num_levels(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_fixedpoint_get_cover_delta(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3) { - Z3_ast r = LIB.Z3_fixedpoint_get_cover_delta(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4) { - LIB.Z3_fixedpoint_add_cover(a0, a1, a2, a3, a4); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static Z3_stats Z3_fixedpoint_get_statistics(Z3_context a0, Z3_fixedpoint a1) { - Z3_stats r = LIB.Z3_fixedpoint_get_statistics(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1) { - IntPtr r = LIB.Z3_fixedpoint_get_help(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static Z3_param_descrs Z3_fixedpoint_get_param_descrs(Z3_context a0, Z3_fixedpoint a1) { - Z3_param_descrs r = LIB.Z3_fixedpoint_get_param_descrs(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_fixedpoint_set_params(Z3_context a0, Z3_fixedpoint a1, Z3_params a2) { - LIB.Z3_fixedpoint_set_params(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static string Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3) { - IntPtr r = LIB.Z3_fixedpoint_to_string(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static string Z3_fixedpoint_get_reason_unknown(Z3_context a0, Z3_fixedpoint a1) { - IntPtr r = LIB.Z3_fixedpoint_get_reason_unknown(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static void Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] IntPtr[] a4) { - LIB.Z3_fixedpoint_set_predicate_representation(a0, a1, a2, a3, a4); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static Z3_ast_vector Z3_fixedpoint_simplify_rules(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3, uint a4, [In] Z3_func_decl[] a5) { - Z3_ast_vector r = LIB.Z3_fixedpoint_simplify_rules(a0, a1, a2, a3, a4, a5); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_params Z3_mk_params(Z3_context a0) { - Z3_params r = LIB.Z3_mk_params(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_params_inc_ref(Z3_context a0, Z3_params a1) { - LIB.Z3_params_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_params_dec_ref(Z3_context a0, Z3_params a1) { - LIB.Z3_params_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_params_set_bool(Z3_context a0, Z3_params a1, IntPtr a2, int a3) { - LIB.Z3_params_set_bool(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_params_set_uint(Z3_context a0, Z3_params a1, IntPtr a2, uint a3) { - LIB.Z3_params_set_uint(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_params_set_double(Z3_context a0, Z3_params a1, IntPtr a2, double a3) { - LIB.Z3_params_set_double(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_params_set_symbol(Z3_context a0, Z3_params a1, IntPtr a2, IntPtr a3) { - LIB.Z3_params_set_symbol(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static string Z3_params_to_string(Z3_context a0, Z3_params a1) { - IntPtr r = LIB.Z3_params_to_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static void Z3_params_validate(Z3_context a0, Z3_params a1, Z3_param_descrs a2) { - LIB.Z3_params_validate(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_param_descrs_inc_ref(Z3_context a0, Z3_param_descrs a1) { - LIB.Z3_param_descrs_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_param_descrs_dec_ref(Z3_context a0, Z3_param_descrs a1) { - LIB.Z3_param_descrs_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static uint Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, IntPtr a2) { - uint r = LIB.Z3_param_descrs_get_kind(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1) { - uint r = LIB.Z3_param_descrs_size(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static IntPtr Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, uint a2) { - IntPtr r = LIB.Z3_param_descrs_get_name(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_param_descrs_to_string(Z3_context a0, Z3_param_descrs a1) { - IntPtr r = LIB.Z3_param_descrs_to_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static void Z3_interrupt(Z3_context a0) { - LIB.Z3_interrupt(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static string Z3_get_error_msg_ex(Z3_context a0, uint a1) { - IntPtr r = LIB.Z3_get_error_msg_ex(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static Z3_ast Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2) { - Z3_ast r = LIB.Z3_translate(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_goal Z3_mk_goal(Z3_context a0, int a1, int a2, int a3) { - Z3_goal r = LIB.Z3_mk_goal(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_goal_inc_ref(Z3_context a0, Z3_goal a1) { - LIB.Z3_goal_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_goal_dec_ref(Z3_context a0, Z3_goal a1) { - LIB.Z3_goal_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static uint Z3_goal_precision(Z3_context a0, Z3_goal a1) { - uint r = LIB.Z3_goal_precision(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2) { - LIB.Z3_goal_assert(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static int Z3_goal_inconsistent(Z3_context a0, Z3_goal a1) { - int r = LIB.Z3_goal_inconsistent(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_goal_depth(Z3_context a0, Z3_goal a1) { - uint r = LIB.Z3_goal_depth(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_goal_reset(Z3_context a0, Z3_goal a1) { - LIB.Z3_goal_reset(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static uint Z3_goal_size(Z3_context a0, Z3_goal a1) { - uint r = LIB.Z3_goal_size(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_goal_formula(Z3_context a0, Z3_goal a1, uint a2) { - Z3_ast r = LIB.Z3_goal_formula(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_goal_num_exprs(Z3_context a0, Z3_goal a1) { - uint r = LIB.Z3_goal_num_exprs(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1) { - int r = LIB.Z3_goal_is_decided_sat(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1) { - int r = LIB.Z3_goal_is_decided_unsat(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_goal Z3_goal_translate(Z3_context a0, Z3_goal a1, Z3_context a2) { - Z3_goal r = LIB.Z3_goal_translate(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_goal_to_string(Z3_context a0, Z3_goal a1) { - IntPtr r = LIB.Z3_goal_to_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static Z3_tactic Z3_mk_tactic(Z3_context a0, string a1) { - Z3_tactic r = LIB.Z3_mk_tactic(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_probe Z3_mk_probe(Z3_context a0, string a1) { - Z3_probe r = LIB.Z3_mk_probe(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1) { - LIB.Z3_tactic_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1) { - LIB.Z3_tactic_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_probe_inc_ref(Z3_context a0, Z3_probe a1) { - LIB.Z3_probe_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_probe_dec_ref(Z3_context a0, Z3_probe a1) { - LIB.Z3_probe_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static Z3_tactic Z3_tactic_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2) { - Z3_tactic r = LIB.Z3_tactic_and_then(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_tactic Z3_tactic_or_else(Z3_context a0, Z3_tactic a1, Z3_tactic a2) { - Z3_tactic r = LIB.Z3_tactic_or_else(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_tactic Z3_tactic_par_or(Z3_context a0, uint a1, [In] Z3_tactic[] a2) { - Z3_tactic r = LIB.Z3_tactic_par_or(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_tactic Z3_tactic_par_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2) { - Z3_tactic r = LIB.Z3_tactic_par_and_then(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_tactic Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, uint a2) { - Z3_tactic r = LIB.Z3_tactic_try_for(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_tactic Z3_tactic_when(Z3_context a0, Z3_probe a1, Z3_tactic a2) { - Z3_tactic r = LIB.Z3_tactic_when(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_tactic Z3_tactic_cond(Z3_context a0, Z3_probe a1, Z3_tactic a2, Z3_tactic a3) { - Z3_tactic r = LIB.Z3_tactic_cond(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_tactic Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, uint a2) { - Z3_tactic r = LIB.Z3_tactic_repeat(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_tactic Z3_tactic_skip(Z3_context a0) { - Z3_tactic r = LIB.Z3_tactic_skip(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_tactic Z3_tactic_fail(Z3_context a0) { - Z3_tactic r = LIB.Z3_tactic_fail(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_tactic Z3_tactic_fail_if(Z3_context a0, Z3_probe a1) { - Z3_tactic r = LIB.Z3_tactic_fail_if(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_tactic Z3_tactic_fail_if_not_decided(Z3_context a0) { - Z3_tactic r = LIB.Z3_tactic_fail_if_not_decided(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_tactic Z3_tactic_using_params(Z3_context a0, Z3_tactic a1, Z3_params a2) { - Z3_tactic r = LIB.Z3_tactic_using_params(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_probe Z3_probe_const(Z3_context a0, double a1) { - Z3_probe r = LIB.Z3_probe_const(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_probe Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2) { - Z3_probe r = LIB.Z3_probe_lt(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_probe Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2) { - Z3_probe r = LIB.Z3_probe_le(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_probe Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2) { - Z3_probe r = LIB.Z3_probe_gt(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_probe Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2) { - Z3_probe r = LIB.Z3_probe_ge(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_probe Z3_probe_eq(Z3_context a0, Z3_probe a1, Z3_probe a2) { - Z3_probe r = LIB.Z3_probe_eq(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_probe Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2) { - Z3_probe r = LIB.Z3_probe_and(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_probe Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2) { - Z3_probe r = LIB.Z3_probe_or(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_probe Z3_probe_not(Z3_context a0, Z3_probe a1) { - Z3_probe r = LIB.Z3_probe_not(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_get_num_tactics(Z3_context a0) { - uint r = LIB.Z3_get_num_tactics(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_get_tactic_name(Z3_context a0, uint a1) { - IntPtr r = LIB.Z3_get_tactic_name(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static uint Z3_get_num_probes(Z3_context a0) { - uint r = LIB.Z3_get_num_probes(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_get_probe_name(Z3_context a0, uint a1) { - IntPtr r = LIB.Z3_get_probe_name(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static string Z3_tactic_get_help(Z3_context a0, Z3_tactic a1) { - IntPtr r = LIB.Z3_tactic_get_help(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static Z3_param_descrs Z3_tactic_get_param_descrs(Z3_context a0, Z3_tactic a1) { - Z3_param_descrs r = LIB.Z3_tactic_get_param_descrs(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_tactic_get_descr(Z3_context a0, string a1) { - IntPtr r = LIB.Z3_tactic_get_descr(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static string Z3_probe_get_descr(Z3_context a0, string a1) { - IntPtr r = LIB.Z3_probe_get_descr(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static double Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2) { - double r = LIB.Z3_probe_apply(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_apply_result Z3_tactic_apply(Z3_context a0, Z3_tactic a1, Z3_goal a2) { - Z3_apply_result r = LIB.Z3_tactic_apply(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_apply_result Z3_tactic_apply_ex(Z3_context a0, Z3_tactic a1, Z3_goal a2, Z3_params a3) { - Z3_apply_result r = LIB.Z3_tactic_apply_ex(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_apply_result_inc_ref(Z3_context a0, Z3_apply_result a1) { - LIB.Z3_apply_result_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_apply_result_dec_ref(Z3_context a0, Z3_apply_result a1) { - LIB.Z3_apply_result_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static string Z3_apply_result_to_string(Z3_context a0, Z3_apply_result a1) { - IntPtr r = LIB.Z3_apply_result_to_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static uint Z3_apply_result_get_num_subgoals(Z3_context a0, Z3_apply_result a1) { - uint r = LIB.Z3_apply_result_get_num_subgoals(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_goal Z3_apply_result_get_subgoal(Z3_context a0, Z3_apply_result a1, uint a2) { - Z3_goal r = LIB.Z3_apply_result_get_subgoal(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_model Z3_apply_result_convert_model(Z3_context a0, Z3_apply_result a1, uint a2, Z3_model a3) { - Z3_model r = LIB.Z3_apply_result_convert_model(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_solver Z3_mk_solver(Z3_context a0) { - Z3_solver r = LIB.Z3_mk_solver(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_solver Z3_mk_simple_solver(Z3_context a0) { - Z3_solver r = LIB.Z3_mk_simple_solver(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_solver Z3_mk_solver_for_logic(Z3_context a0, IntPtr a1) { - Z3_solver r = LIB.Z3_mk_solver_for_logic(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_solver Z3_mk_solver_from_tactic(Z3_context a0, Z3_tactic a1) { - Z3_solver r = LIB.Z3_mk_solver_from_tactic(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_solver_get_help(Z3_context a0, Z3_solver a1) { - IntPtr r = LIB.Z3_solver_get_help(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static Z3_param_descrs Z3_solver_get_param_descrs(Z3_context a0, Z3_solver a1) { - Z3_param_descrs r = LIB.Z3_solver_get_param_descrs(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2) { - LIB.Z3_solver_set_params(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_solver_inc_ref(Z3_context a0, Z3_solver a1) { - LIB.Z3_solver_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_solver_dec_ref(Z3_context a0, Z3_solver a1) { - LIB.Z3_solver_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_solver_push(Z3_context a0, Z3_solver a1) { - LIB.Z3_solver_push(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_solver_pop(Z3_context a0, Z3_solver a1, uint a2) { - LIB.Z3_solver_pop(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_solver_reset(Z3_context a0, Z3_solver a1) { - LIB.Z3_solver_reset(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static uint Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1) { - uint r = LIB.Z3_solver_get_num_scopes(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2) { - LIB.Z3_solver_assert(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static Z3_ast_vector Z3_solver_get_assertions(Z3_context a0, Z3_solver a1) { - Z3_ast_vector r = LIB.Z3_solver_get_assertions(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_solver_check(Z3_context a0, Z3_solver a1) { - int r = LIB.Z3_solver_check(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_solver_check_assumptions(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3) { - int r = LIB.Z3_solver_check_assumptions(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_model Z3_solver_get_model(Z3_context a0, Z3_solver a1) { - Z3_model r = LIB.Z3_solver_get_model(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_solver_get_proof(Z3_context a0, Z3_solver a1) { - Z3_ast r = LIB.Z3_solver_get_proof(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast_vector Z3_solver_get_unsat_core(Z3_context a0, Z3_solver a1) { - Z3_ast_vector r = LIB.Z3_solver_get_unsat_core(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1) { - IntPtr r = LIB.Z3_solver_get_reason_unknown(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static Z3_stats Z3_solver_get_statistics(Z3_context a0, Z3_solver a1) { - Z3_stats r = LIB.Z3_solver_get_statistics(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_solver_to_string(Z3_context a0, Z3_solver a1) { - IntPtr r = LIB.Z3_solver_to_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static string Z3_stats_to_string(Z3_context a0, Z3_stats a1) { - IntPtr r = LIB.Z3_stats_to_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static void Z3_stats_inc_ref(Z3_context a0, Z3_stats a1) { - LIB.Z3_stats_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_stats_dec_ref(Z3_context a0, Z3_stats a1) { - LIB.Z3_stats_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static uint Z3_stats_size(Z3_context a0, Z3_stats a1) { - uint r = LIB.Z3_stats_size(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_stats_get_key(Z3_context a0, Z3_stats a1, uint a2) { - IntPtr r = LIB.Z3_stats_get_key(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static int Z3_stats_is_uint(Z3_context a0, Z3_stats a1, uint a2) { - int r = LIB.Z3_stats_is_uint(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static int Z3_stats_is_double(Z3_context a0, Z3_stats a1, uint a2) { - int r = LIB.Z3_stats_is_double(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static uint Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, uint a2) { - uint r = LIB.Z3_stats_get_uint_value(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static double Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, uint a2) { - double r = LIB.Z3_stats_get_double_value(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast_vector Z3_mk_ast_vector(Z3_context a0) { - Z3_ast_vector r = LIB.Z3_mk_ast_vector(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1) { - LIB.Z3_ast_vector_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1) { - LIB.Z3_ast_vector_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static uint Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1) { - uint r = LIB.Z3_ast_vector_size(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, uint a2) { - Z3_ast r = LIB.Z3_ast_vector_get(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_ast_vector_set(Z3_context a0, Z3_ast_vector a1, uint a2, Z3_ast a3) { - LIB.Z3_ast_vector_set(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, uint a2) { - LIB.Z3_ast_vector_resize(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2) { - LIB.Z3_ast_vector_push(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static Z3_ast_vector Z3_ast_vector_translate(Z3_context a0, Z3_ast_vector a1, Z3_context a2) { - Z3_ast_vector r = LIB.Z3_ast_vector_translate(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1) { - IntPtr r = LIB.Z3_ast_vector_to_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static Z3_ast_map Z3_mk_ast_map(Z3_context a0) { - Z3_ast_map r = LIB.Z3_mk_ast_map(a0); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1) { - LIB.Z3_ast_map_inc_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1) { - LIB.Z3_ast_map_dec_ref(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static int Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2) { - int r = LIB.Z3_ast_map_contains(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static Z3_ast Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2) { - Z3_ast r = LIB.Z3_ast_map_find(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3) { - LIB.Z3_ast_map_insert(a0, a1, a2, a3); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static void Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2) { - LIB.Z3_ast_map_erase(a0, a1, a2); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static uint Z3_ast_map_size(Z3_context a0, Z3_ast_map a1) { - uint r = LIB.Z3_ast_map_size(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static void Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1) { - LIB.Z3_ast_map_reset(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - } - - public static Z3_ast_vector Z3_ast_map_keys(Z3_context a0, Z3_ast_map a1) { - Z3_ast_vector r = LIB.Z3_ast_map_keys(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return r; - } - - public static string Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1) { - IntPtr r = LIB.Z3_ast_map_to_string(a0, a1); - Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); - if (err != Z3_error_code.Z3_OK) - throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); - return Marshal.PtrToStringAnsi(r); - } - - public static int Z3_open_log(string a0) { - int r = LIB.Z3_open_log(a0); - return r; - } - - public static void Z3_append_log(string a0) { - LIB.Z3_append_log(a0); - } - - public static void Z3_close_log() { - LIB.Z3_close_log(); - } - - } - -} - +// Automatically generated file, generator: api.py +using System; +using System.Collections.Generic; +using System.Text; +using System.Runtime.InteropServices; + +#pragma warning disable 1591 + +namespace Microsoft.Z3 +{ + using Z3_config = System.IntPtr; + using Z3_context = System.IntPtr; + using Z3_ast = System.IntPtr; + using Z3_app = System.IntPtr; + using Z3_sort = System.IntPtr; + using Z3_func_decl = System.IntPtr; + using Z3_pattern = System.IntPtr; + using Z3_model = System.IntPtr; + using Z3_literals = System.IntPtr; + using Z3_constructor = System.IntPtr; + using Z3_constructor_list = System.IntPtr; + using Z3_theory = System.IntPtr; + using Z3_theory_data = System.IntPtr; + using Z3_solver = System.IntPtr; + using Z3_goal = System.IntPtr; + using Z3_tactic = System.IntPtr; + using Z3_params = System.IntPtr; + using Z3_probe = System.IntPtr; + using Z3_stats = System.IntPtr; + using Z3_ast_vector = System.IntPtr; + using Z3_ast_map = System.IntPtr; + using Z3_apply_result = System.IntPtr; + using Z3_func_interp = System.IntPtr; + using Z3_func_entry = System.IntPtr; + using Z3_fixedpoint = System.IntPtr; + using Z3_param_descrs = System.IntPtr; + + public class Native + { + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public delegate void Z3_error_handler(Z3_context c, Z3_error_code e); + + public unsafe class LIB + { + #if DEBUG + const string Z3_DLL_NAME = "z3_dbg.dll"; + #else + const string Z3_DLL_NAME = "z3.dll"; + #endif + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_config Z3_mk_config(); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_del_config(Z3_config a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_set_param_value(Z3_config a0, string a1, string a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_context Z3_mk_context(Z3_config a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_context Z3_mk_context_rc(Z3_config a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_del_context(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_inc_ref(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_dec_ref(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_update_param_value(Z3_context a0, string a1, string a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_get_param_value(Z3_context a0, string a1, out IntPtr a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_interrupt(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_params Z3_mk_params(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_params_inc_ref(Z3_context a0, Z3_params a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_params_dec_ref(Z3_context a0, Z3_params a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_params_set_bool(Z3_context a0, Z3_params a1, IntPtr a2, int a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_params_set_uint(Z3_context a0, Z3_params a1, IntPtr a2, uint a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_params_set_double(Z3_context a0, Z3_params a1, IntPtr a2, double a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_params_set_symbol(Z3_context a0, Z3_params a1, IntPtr a2, IntPtr a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_params_to_string(Z3_context a0, Z3_params a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_params_validate(Z3_context a0, Z3_params a1, Z3_param_descrs a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_param_descrs_inc_ref(Z3_context a0, Z3_param_descrs a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_param_descrs_dec_ref(Z3_context a0, Z3_param_descrs a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, IntPtr a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_param_descrs_to_string(Z3_context a0, Z3_param_descrs a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_mk_int_symbol(Z3_context a0, int a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_mk_string_symbol(Z3_context a0, string a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_mk_uninterpreted_sort(Z3_context a0, IntPtr a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_mk_bool_sort(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_mk_int_sort(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_mk_real_sort(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_mk_bv_sort(Z3_context a0, uint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_mk_finite_domain_sort(Z3_context a0, IntPtr a1, UInt64 a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_del_constructor(Z3_context a0, Z3_constructor a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_mk_datatype(Z3_context a0, IntPtr a1, uint a2, [In, Out] Z3_constructor[] a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_constructor_list Z3_mk_constructor_list(Z3_context a0, uint a1, [In] Z3_constructor[] a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_del_constructor_list(Z3_context a0, Z3_constructor_list a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_mk_func_decl(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_app(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_const(Z3_context a0, IntPtr a1, Z3_sort a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_fresh_const(Z3_context a0, string a1, Z3_sort a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_true(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_false(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_eq(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_distinct(Z3_context a0, uint a1, [In] Z3_ast[] a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_not(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_iff(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_implies(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_xor(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_and(Z3_context a0, uint a1, [In] Z3_ast[] a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_or(Z3_context a0, uint a1, [In] Z3_ast[] a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_add(Z3_context a0, uint a1, [In] Z3_ast[] a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_mul(Z3_context a0, uint a1, [In] Z3_ast[] a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_sub(Z3_context a0, uint a1, [In] Z3_ast[] a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_unary_minus(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_div(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_mod(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_rem(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_lt(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_le(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_ge(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_int2real(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_real2int(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_is_int(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvnot(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvredand(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvredor(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvneg(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvurem(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_extract(Z3_context a0, uint a1, uint a2, Z3_ast a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_sign_ext(Z3_context a0, uint a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_zero_ext(Z3_context a0, uint a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_repeat(Z3_context a0, uint a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_rotate_left(Z3_context a0, uint a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_rotate_right(Z3_context a0, uint a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_ext_rotate_left(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_ext_rotate_right(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_int2bv(Z3_context a0, uint a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bv2int(Z3_context a0, Z3_ast a1, int a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvadd_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvsub_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvsub_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvsdiv_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvneg_no_overflow(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bvmul_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_map(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_array_default(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_mk_set_sort(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_empty_set(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_full_set(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_set_union(Z3_context a0, uint a1, [In] Z3_ast[] a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_set_intersect(Z3_context a0, uint a1, [In] Z3_ast[] a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_set_difference(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_set_complement(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_numeral(Z3_context a0, string a1, Z3_sort a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_real(Z3_context a0, int a1, int a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_int(Z3_context a0, int a1, Z3_sort a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_unsigned_int(Z3_context a0, uint a1, Z3_sort a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_int64(Z3_context a0, Int64 a1, Z3_sort a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_unsigned_int64(Z3_context a0, UInt64 a1, Z3_sort a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_pattern Z3_mk_pattern(Z3_context a0, uint a1, [In] Z3_ast[] a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_bound(Z3_context a0, uint a1, Z3_sort a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_symbol_kind(Z3_context a0, IntPtr a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_get_symbol_int(Z3_context a0, IntPtr a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_get_symbol_string(Z3_context a0, IntPtr a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_get_sort_name(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_sort_id(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_sort_to_ast(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_sort_kind(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, [In, Out] ref UInt64 a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_get_array_sort_domain(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_get_array_sort_range(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_get_tuple_sort_mk_decl(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_tuple_sort_num_fields(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_get_tuple_sort_field_decl(Z3_context a0, Z3_sort a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_datatype_sort_num_constructors(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_get_datatype_sort_constructor(Z3_context a0, Z3_sort a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_get_datatype_sort_recognizer(Z3_context a0, Z3_sort a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_get_datatype_sort_constructor_accessor(Z3_context a0, Z3_sort a1, uint a2, uint a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_relation_arity(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_get_relation_column(Z3_context a0, Z3_sort a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_func_decl_to_ast(Z3_context a0, Z3_func_decl a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_get_decl_name(Z3_context a0, Z3_func_decl a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_domain_size(Z3_context a0, Z3_func_decl a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_arity(Z3_context a0, Z3_func_decl a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_get_domain(Z3_context a0, Z3_func_decl a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_get_range(Z3_context a0, Z3_func_decl a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_decl_num_parameters(Z3_context a0, Z3_func_decl a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static double Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_get_decl_sort_parameter(Z3_context a0, Z3_func_decl a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_get_decl_func_decl_parameter(Z3_context a0, Z3_func_decl a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_app_to_ast(Z3_context a0, Z3_app a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_get_app_decl(Z3_context a0, Z3_app a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_app_num_args(Z3_context a0, Z3_app a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_app_arg(Z3_context a0, Z3_app a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_ast_id(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_ast_hash(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_get_sort(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_is_well_sorted(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_bool_value(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_ast_kind(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_is_app(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_is_numeral_ast(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_is_algebraic_number(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_app Z3_to_app(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_to_func_decl(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_get_numeral_string(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_numerator(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_denominator(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_get_numeral_small(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_get_numeral_int(Z3_context a0, Z3_ast a1, [In, Out] ref int a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, [In, Out] ref uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_pattern_to_ast(Z3_context a0, Z3_pattern a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_pattern(Z3_context a0, Z3_pattern a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_index_value(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_pattern Z3_get_quantifier_pattern_ast(Z3_context a0, Z3_ast a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_quantifier_num_no_patterns(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_quantifier_no_pattern_ast(Z3_context a0, Z3_ast a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_quantifier_num_bound(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_quantifier_body(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_simplify(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_simplify_get_help(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_param_descrs Z3_simplify_get_param_descrs(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_update_term(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_substitute(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3, [In] Z3_ast[] a4); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_substitute_vars(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_model_inc_ref(Z3_context a0, Z3_model a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_model_dec_ref(Z3_context a0, Z3_model a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_model_eval(Z3_context a0, Z3_model a1, Z3_ast a2, int a3, [In, Out] ref Z3_ast a4); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_model_get_const_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_interp Z3_model_get_func_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_model_get_num_consts(Z3_context a0, Z3_model a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_model_get_const_decl(Z3_context a0, Z3_model a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_model_get_num_funcs(Z3_context a0, Z3_model a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_model_get_func_decl(Z3_context a0, Z3_model a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_model_get_num_sorts(Z3_context a0, Z3_model a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_model_get_sort(Z3_context a0, Z3_model a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast_vector Z3_model_get_sort_universe(Z3_context a0, Z3_model a1, Z3_sort a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_is_as_array(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_get_as_array_func_decl(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_func_interp_inc_ref(Z3_context a0, Z3_func_interp a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_func_interp_get_num_entries(Z3_context a0, Z3_func_interp a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_entry Z3_func_interp_get_entry(Z3_context a0, Z3_func_interp a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_func_interp_get_else(Z3_context a0, Z3_func_interp a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_func_interp_get_arity(Z3_context a0, Z3_func_interp a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_func_entry_get_value(Z3_context a0, Z3_func_entry a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_func_entry_get_num_args(Z3_context a0, Z3_func_entry a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_toggle_warning_messages(int a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_set_ast_print_mode(Z3_context a0, uint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_ast_to_string(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_pattern_to_string(Z3_context a0, Z3_pattern a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_sort_to_string(Z3_context a0, Z3_sort a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_model_to_string(Z3_context a0, Z3_model a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_smtlib_num_formulas(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_smtlib_formula(Z3_context a0, uint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_smtlib_num_assumptions(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_smtlib_assumption(Z3_context a0, uint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_smtlib_num_decls(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_get_smtlib_decl(Z3_context a0, uint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_smtlib_num_sorts(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_sort Z3_get_smtlib_sort(Z3_context a0, uint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_get_smtlib_error(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_parse_z3_string(Z3_context a0, string a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_parse_z3_file(Z3_context a0, string a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_error_code(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_set_error(Z3_context a0, uint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_get_error_msg(uint a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_get_error_msg_ex(Z3_context a0, uint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_reset_memory(); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_fixedpoint Z3_mk_fixedpoint(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] uint[] a4); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_func_decl[] a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_fixedpoint_get_answer(Z3_context a0, Z3_fixedpoint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_fixedpoint_get_reason_unknown(Z3_context a0, Z3_fixedpoint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_fixedpoint_update_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_fixedpoint_get_num_levels(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_fixedpoint_get_cover_delta(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_stats Z3_fixedpoint_get_statistics(Z3_context a0, Z3_fixedpoint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_fixedpoint_register_relation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] IntPtr[] a4); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast_vector Z3_fixedpoint_simplify_rules(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3, uint a4, [In] Z3_func_decl[] a5); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_fixedpoint_set_params(Z3_context a0, Z3_fixedpoint a1, Z3_params a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_param_descrs Z3_fixedpoint_get_param_descrs(Z3_context a0, Z3_fixedpoint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast_vector Z3_mk_ast_vector(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_ast_vector_set(Z3_context a0, Z3_ast_vector a1, uint a2, Z3_ast a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast_vector Z3_ast_vector_translate(Z3_context a0, Z3_ast_vector a1, Z3_context a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast_map Z3_mk_ast_map(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_ast_map_size(Z3_context a0, Z3_ast_map a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast_vector Z3_ast_map_keys(Z3_context a0, Z3_ast_map a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_goal Z3_mk_goal(Z3_context a0, int a1, int a2, int a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_goal_inc_ref(Z3_context a0, Z3_goal a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_goal_dec_ref(Z3_context a0, Z3_goal a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_goal_precision(Z3_context a0, Z3_goal a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_goal_inconsistent(Z3_context a0, Z3_goal a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_goal_depth(Z3_context a0, Z3_goal a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_goal_reset(Z3_context a0, Z3_goal a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_goal_size(Z3_context a0, Z3_goal a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_goal_formula(Z3_context a0, Z3_goal a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_goal_num_exprs(Z3_context a0, Z3_goal a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_goal Z3_goal_translate(Z3_context a0, Z3_goal a1, Z3_context a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_goal_to_string(Z3_context a0, Z3_goal a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_tactic Z3_mk_tactic(Z3_context a0, string a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_probe Z3_mk_probe(Z3_context a0, string a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_probe_inc_ref(Z3_context a0, Z3_probe a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_probe_dec_ref(Z3_context a0, Z3_probe a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_tactic Z3_tactic_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_tactic Z3_tactic_or_else(Z3_context a0, Z3_tactic a1, Z3_tactic a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_tactic Z3_tactic_par_or(Z3_context a0, uint a1, [In] Z3_tactic[] a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_tactic Z3_tactic_par_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_tactic Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_tactic Z3_tactic_when(Z3_context a0, Z3_probe a1, Z3_tactic a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_tactic Z3_tactic_cond(Z3_context a0, Z3_probe a1, Z3_tactic a2, Z3_tactic a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_tactic Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_tactic Z3_tactic_skip(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_tactic Z3_tactic_fail(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_tactic Z3_tactic_fail_if(Z3_context a0, Z3_probe a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_tactic Z3_tactic_fail_if_not_decided(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_tactic Z3_tactic_using_params(Z3_context a0, Z3_tactic a1, Z3_params a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_probe Z3_probe_const(Z3_context a0, double a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_probe Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_probe Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_probe Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_probe Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_probe Z3_probe_eq(Z3_context a0, Z3_probe a1, Z3_probe a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_probe Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_probe Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_probe Z3_probe_not(Z3_context a0, Z3_probe a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_num_tactics(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_get_tactic_name(Z3_context a0, uint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_num_probes(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_get_probe_name(Z3_context a0, uint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_tactic_get_help(Z3_context a0, Z3_tactic a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_param_descrs Z3_tactic_get_param_descrs(Z3_context a0, Z3_tactic a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_tactic_get_descr(Z3_context a0, string a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_probe_get_descr(Z3_context a0, string a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static double Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_apply_result Z3_tactic_apply(Z3_context a0, Z3_tactic a1, Z3_goal a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_apply_result Z3_tactic_apply_ex(Z3_context a0, Z3_tactic a1, Z3_goal a2, Z3_params a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_apply_result_inc_ref(Z3_context a0, Z3_apply_result a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_apply_result_dec_ref(Z3_context a0, Z3_apply_result a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_apply_result_to_string(Z3_context a0, Z3_apply_result a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_apply_result_get_num_subgoals(Z3_context a0, Z3_apply_result a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_goal Z3_apply_result_get_subgoal(Z3_context a0, Z3_apply_result a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_model Z3_apply_result_convert_model(Z3_context a0, Z3_apply_result a1, uint a2, Z3_model a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_solver Z3_mk_solver(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_solver Z3_mk_simple_solver(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_solver Z3_mk_solver_for_logic(Z3_context a0, IntPtr a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_solver Z3_mk_solver_from_tactic(Z3_context a0, Z3_tactic a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_solver_get_help(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_param_descrs Z3_solver_get_param_descrs(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_solver_inc_ref(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_solver_dec_ref(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_solver_push(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_solver_pop(Z3_context a0, Z3_solver a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_solver_reset(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast_vector Z3_solver_get_assertions(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_solver_check(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_solver_check_assumptions(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_model Z3_solver_get_model(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_solver_get_proof(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast_vector Z3_solver_get_unsat_core(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_stats Z3_solver_get_statistics(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_solver_to_string(Z3_context a0, Z3_solver a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_stats_to_string(Z3_context a0, Z3_stats a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_stats_inc_ref(Z3_context a0, Z3_stats a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_stats_dec_ref(Z3_context a0, Z3_stats a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_stats_size(Z3_context a0, Z3_stats a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_stats_get_key(Z3_context a0, Z3_stats a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_stats_is_uint(Z3_context a0, Z3_stats a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_stats_is_double(Z3_context a0, Z3_stats a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static double Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_mk_injective_function(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_set_logic(Z3_context a0, string a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_push(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_pop(Z3_context a0, uint a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_num_scopes(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_persist_ast(Z3_context a0, Z3_ast a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_assert_cnstr(Z3_context a0, Z3_ast a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_check_and_get_model(Z3_context a0, [In, Out] ref Z3_model a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_check(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_implied_equalities(Z3_context a0, uint a1, [In] Z3_ast[] a2, [Out] uint[] a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_del_model(Z3_context a0, Z3_model a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_soft_check_cancel(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_search_failure(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_mk_label(Z3_context a0, IntPtr a1, int a2, Z3_ast a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_literals Z3_get_relevant_labels(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_literals Z3_get_relevant_literals(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_literals Z3_get_guessed_literals(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_del_literals(Z3_context a0, Z3_literals a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_num_literals(Z3_context a0, Z3_literals a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_get_label_symbol(Z3_context a0, Z3_literals a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_literal(Z3_context a0, Z3_literals a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_disable_literal(Z3_context a0, Z3_literals a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static void Z3_block_literals(Z3_context a0, Z3_literals a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_model_num_constants(Z3_context a0, Z3_model a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_get_model_constant(Z3_context a0, Z3_model a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_model_num_funcs(Z3_context a0, Z3_model a1); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_func_decl Z3_get_model_func_decl(Z3_context a0, Z3_model a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_eval_func_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, [In, Out] ref Z3_ast a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref uint a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_model_func_else(Z3_context a0, Z3_model a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, uint a2); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static uint Z3_get_model_func_entry_num_args(Z3_context a0, Z3_model a1, uint a2, uint a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_model_func_entry_arg(Z3_context a0, Z3_model a1, uint a2, uint a3, uint a4); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, uint a2, uint a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static int Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref Z3_ast a3); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + 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); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_context_to_string(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static IntPtr Z3_statistics_to_string(Z3_context a0); + + [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] + public extern static Z3_ast Z3_get_context_assignment(Z3_context a0); + + } + + public static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1) { + LIB.Z3_set_error_handler(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static Z3_config Z3_mk_config() { + Z3_config r = LIB.Z3_mk_config(); + return r; + } + + public static void Z3_del_config(Z3_config a0) { + LIB.Z3_del_config(a0); + } + + public static void Z3_set_param_value(Z3_config a0, string a1, string a2) { + LIB.Z3_set_param_value(a0, a1, a2); + } + + public static Z3_context Z3_mk_context(Z3_config a0) { + Z3_context r = LIB.Z3_mk_context(a0); + return r; + } + + public static Z3_context Z3_mk_context_rc(Z3_config a0) { + Z3_context r = LIB.Z3_mk_context_rc(a0); + return r; + } + + public static void Z3_del_context(Z3_context a0) { + LIB.Z3_del_context(a0); + } + + public static void Z3_inc_ref(Z3_context a0, Z3_ast a1) { + LIB.Z3_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_dec_ref(Z3_context a0, Z3_ast a1) { + LIB.Z3_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_update_param_value(Z3_context a0, string a1, string a2) { + LIB.Z3_update_param_value(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static int Z3_get_param_value(Z3_context a0, string a1, out IntPtr a2) { + int r = LIB.Z3_get_param_value(a0, a1, out a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_interrupt(Z3_context a0) { + LIB.Z3_interrupt(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static Z3_params Z3_mk_params(Z3_context a0) { + Z3_params r = LIB.Z3_mk_params(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_params_inc_ref(Z3_context a0, Z3_params a1) { + LIB.Z3_params_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_params_dec_ref(Z3_context a0, Z3_params a1) { + LIB.Z3_params_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_params_set_bool(Z3_context a0, Z3_params a1, IntPtr a2, int a3) { + LIB.Z3_params_set_bool(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_params_set_uint(Z3_context a0, Z3_params a1, IntPtr a2, uint a3) { + LIB.Z3_params_set_uint(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_params_set_double(Z3_context a0, Z3_params a1, IntPtr a2, double a3) { + LIB.Z3_params_set_double(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_params_set_symbol(Z3_context a0, Z3_params a1, IntPtr a2, IntPtr a3) { + LIB.Z3_params_set_symbol(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static string Z3_params_to_string(Z3_context a0, Z3_params a1) { + IntPtr r = LIB.Z3_params_to_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static void Z3_params_validate(Z3_context a0, Z3_params a1, Z3_param_descrs a2) { + LIB.Z3_params_validate(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_param_descrs_inc_ref(Z3_context a0, Z3_param_descrs a1) { + LIB.Z3_param_descrs_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_param_descrs_dec_ref(Z3_context a0, Z3_param_descrs a1) { + LIB.Z3_param_descrs_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static uint Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, IntPtr a2) { + uint r = LIB.Z3_param_descrs_get_kind(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1) { + uint r = LIB.Z3_param_descrs_size(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static IntPtr Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, uint a2) { + IntPtr r = LIB.Z3_param_descrs_get_name(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_param_descrs_to_string(Z3_context a0, Z3_param_descrs a1) { + IntPtr r = LIB.Z3_param_descrs_to_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static IntPtr Z3_mk_int_symbol(Z3_context a0, int a1) { + IntPtr r = LIB.Z3_mk_int_symbol(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static IntPtr Z3_mk_string_symbol(Z3_context a0, string a1) { + IntPtr r = LIB.Z3_mk_string_symbol(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_mk_uninterpreted_sort(Z3_context a0, IntPtr a1) { + Z3_sort r = LIB.Z3_mk_uninterpreted_sort(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_mk_bool_sort(Z3_context a0) { + Z3_sort r = LIB.Z3_mk_bool_sort(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_mk_int_sort(Z3_context a0) { + Z3_sort r = LIB.Z3_mk_int_sort(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_mk_real_sort(Z3_context a0) { + Z3_sort r = LIB.Z3_mk_real_sort(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_mk_bv_sort(Z3_context a0, uint a1) { + Z3_sort r = LIB.Z3_mk_bv_sort(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_mk_finite_domain_sort(Z3_context a0, IntPtr a1, UInt64 a2) { + Z3_sort r = LIB.Z3_mk_finite_domain_sort(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2) { + Z3_sort r = LIB.Z3_mk_array_sort(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + Z3_sort r = LIB.Z3_mk_tuple_sort(a0, a1, a2, a3, a4, ref a5, a6); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + Z3_sort r = LIB.Z3_mk_enumeration_sort(a0, a1, a2, a3, a4, a5); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + Z3_sort r = LIB.Z3_mk_list_sort(a0, a1, a2, ref a3, ref a4, ref a5, ref a6, ref a7, ref a8); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + Z3_constructor r = LIB.Z3_mk_constructor(a0, a1, a2, a3, a4, a5, a6); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_del_constructor(Z3_context a0, Z3_constructor a1) { + LIB.Z3_del_constructor(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static Z3_sort Z3_mk_datatype(Z3_context a0, IntPtr a1, uint a2, [In, Out] Z3_constructor[] a3) { + Z3_sort r = LIB.Z3_mk_datatype(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_constructor_list Z3_mk_constructor_list(Z3_context a0, uint a1, [In] Z3_constructor[] a2) { + Z3_constructor_list r = LIB.Z3_mk_constructor_list(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_del_constructor_list(Z3_context a0, Z3_constructor_list a1) { + LIB.Z3_del_constructor_list(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_mk_datatypes(Z3_context a0, uint a1, [In] IntPtr[] a2, [Out] Z3_sort[] a3, [In, Out] Z3_constructor_list[] a4) { + LIB.Z3_mk_datatypes(a0, a1, a2, a3, a4); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + 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) { + LIB.Z3_query_constructor(a0, a1, a2, ref a3, ref a4, a5); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static Z3_func_decl Z3_mk_func_decl(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4) { + Z3_func_decl r = LIB.Z3_mk_func_decl(a0, a1, a2, a3, a4); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_app(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3) { + Z3_ast r = LIB.Z3_mk_app(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_const(Z3_context a0, IntPtr a1, Z3_sort a2) { + Z3_ast r = LIB.Z3_mk_const(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_mk_fresh_func_decl(Z3_context a0, string a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4) { + Z3_func_decl r = LIB.Z3_mk_fresh_func_decl(a0, a1, a2, a3, a4); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_fresh_const(Z3_context a0, string a1, Z3_sort a2) { + Z3_ast r = LIB.Z3_mk_fresh_const(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_true(Z3_context a0) { + Z3_ast r = LIB.Z3_mk_true(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_false(Z3_context a0) { + Z3_ast r = LIB.Z3_mk_false(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_eq(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_eq(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_distinct(Z3_context a0, uint a1, [In] Z3_ast[] a2) { + Z3_ast r = LIB.Z3_mk_distinct(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_not(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_mk_not(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) { + Z3_ast r = LIB.Z3_mk_ite(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_iff(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_iff(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_implies(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_implies(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_xor(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_xor(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_and(Z3_context a0, uint a1, [In] Z3_ast[] a2) { + Z3_ast r = LIB.Z3_mk_and(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_or(Z3_context a0, uint a1, [In] Z3_ast[] a2) { + Z3_ast r = LIB.Z3_mk_or(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_add(Z3_context a0, uint a1, [In] Z3_ast[] a2) { + Z3_ast r = LIB.Z3_mk_add(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_mul(Z3_context a0, uint a1, [In] Z3_ast[] a2) { + Z3_ast r = LIB.Z3_mk_mul(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_sub(Z3_context a0, uint a1, [In] Z3_ast[] a2) { + Z3_ast r = LIB.Z3_mk_sub(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_unary_minus(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_mk_unary_minus(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_div(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_div(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_mod(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_mod(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_rem(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_rem(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_power(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_lt(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_lt(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_le(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_le(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_gt(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_ge(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_ge(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_int2real(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_mk_int2real(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_real2int(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_mk_real2int(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_is_int(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_mk_is_int(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvnot(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_mk_bvnot(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvredand(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_mk_bvredand(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvredor(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_mk_bvredor(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvand(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvor(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvxor(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvnand(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvnor(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvxnor(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvneg(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_mk_bvneg(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvadd(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvsub(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvmul(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvudiv(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvsdiv(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvurem(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvurem(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvsrem(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvsmod(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvult(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvslt(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvule(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvsle(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvuge(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvsge(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvugt(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvsgt(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_concat(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_extract(Z3_context a0, uint a1, uint a2, Z3_ast a3) { + Z3_ast r = LIB.Z3_mk_extract(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_sign_ext(Z3_context a0, uint a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_sign_ext(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_zero_ext(Z3_context a0, uint a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_zero_ext(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_repeat(Z3_context a0, uint a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_repeat(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvshl(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvlshr(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvashr(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_rotate_left(Z3_context a0, uint a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_rotate_left(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_rotate_right(Z3_context a0, uint a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_rotate_right(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_ext_rotate_left(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_ext_rotate_left(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_ext_rotate_right(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_ext_rotate_right(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_int2bv(Z3_context a0, uint a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_int2bv(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bv2int(Z3_context a0, Z3_ast a1, int a2) { + Z3_ast r = LIB.Z3_mk_bv2int(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3) { + Z3_ast r = LIB.Z3_mk_bvadd_no_overflow(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvadd_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvadd_no_underflow(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvsub_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvsub_no_overflow(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvsub_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3) { + Z3_ast r = LIB.Z3_mk_bvsub_no_underflow(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvsdiv_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvsdiv_no_overflow(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvneg_no_overflow(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_mk_bvneg_no_overflow(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, int a3) { + Z3_ast r = LIB.Z3_mk_bvmul_no_overflow(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bvmul_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_bvmul_no_underflow(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_select(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) { + Z3_ast r = LIB.Z3_mk_store(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_const_array(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_map(Z3_context a0, Z3_func_decl a1, uint a2, [In] Z3_ast[] a3) { + Z3_ast r = LIB.Z3_mk_map(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_array_default(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_mk_array_default(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_mk_set_sort(Z3_context a0, Z3_sort a1) { + Z3_sort r = LIB.Z3_mk_set_sort(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_empty_set(Z3_context a0, Z3_sort a1) { + Z3_ast r = LIB.Z3_mk_empty_set(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_full_set(Z3_context a0, Z3_sort a1) { + Z3_ast r = LIB.Z3_mk_full_set(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_set_add(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_set_del(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_set_union(Z3_context a0, uint a1, [In] Z3_ast[] a2) { + Z3_ast r = LIB.Z3_mk_set_union(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_set_intersect(Z3_context a0, uint a1, [In] Z3_ast[] a2) { + Z3_ast r = LIB.Z3_mk_set_intersect(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_set_difference(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_set_difference(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_set_complement(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_mk_set_complement(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_set_member(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_mk_set_subset(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_numeral(Z3_context a0, string a1, Z3_sort a2) { + Z3_ast r = LIB.Z3_mk_numeral(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_real(Z3_context a0, int a1, int a2) { + Z3_ast r = LIB.Z3_mk_real(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_int(Z3_context a0, int a1, Z3_sort a2) { + Z3_ast r = LIB.Z3_mk_int(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_unsigned_int(Z3_context a0, uint a1, Z3_sort a2) { + Z3_ast r = LIB.Z3_mk_unsigned_int(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_int64(Z3_context a0, Int64 a1, Z3_sort a2) { + Z3_ast r = LIB.Z3_mk_int64(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_unsigned_int64(Z3_context a0, UInt64 a1, Z3_sort a2) { + Z3_ast r = LIB.Z3_mk_unsigned_int64(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_pattern Z3_mk_pattern(Z3_context a0, uint a1, [In] Z3_ast[] a2) { + Z3_pattern r = LIB.Z3_mk_pattern(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_bound(Z3_context a0, uint a1, Z3_sort a2) { + Z3_ast r = LIB.Z3_mk_bound(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + Z3_ast r = LIB.Z3_mk_forall(a0, a1, a2, a3, a4, a5, a6, a7); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + Z3_ast r = LIB.Z3_mk_exists(a0, a1, a2, a3, a4, a5, a6, a7); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + Z3_ast r = LIB.Z3_mk_quantifier(a0, a1, a2, a3, a4, a5, a6, a7, a8); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + Z3_ast r = LIB.Z3_mk_quantifier_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + Z3_ast r = LIB.Z3_mk_forall_const(a0, a1, a2, a3, a4, a5, a6); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + Z3_ast r = LIB.Z3_mk_exists_const(a0, a1, a2, a3, a4, a5, a6); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + Z3_ast r = LIB.Z3_mk_quantifier_const(a0, a1, a2, a3, a4, a5, a6, a7); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + Z3_ast r = LIB.Z3_mk_quantifier_const_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_symbol_kind(Z3_context a0, IntPtr a1) { + uint r = LIB.Z3_get_symbol_kind(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_get_symbol_int(Z3_context a0, IntPtr a1) { + int r = LIB.Z3_get_symbol_int(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_get_symbol_string(Z3_context a0, IntPtr a1) { + IntPtr r = LIB.Z3_get_symbol_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static IntPtr Z3_get_sort_name(Z3_context a0, Z3_sort a1) { + IntPtr r = LIB.Z3_get_sort_name(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_sort_id(Z3_context a0, Z3_sort a1) { + uint r = LIB.Z3_get_sort_id(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_sort_to_ast(Z3_context a0, Z3_sort a1) { + Z3_ast r = LIB.Z3_sort_to_ast(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2) { + int r = LIB.Z3_is_eq_sort(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_sort_kind(Z3_context a0, Z3_sort a1) { + uint r = LIB.Z3_get_sort_kind(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1) { + uint r = LIB.Z3_get_bv_sort_size(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, [In, Out] ref UInt64 a2) { + int r = LIB.Z3_get_finite_domain_sort_size(a0, a1, ref a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_get_array_sort_domain(Z3_context a0, Z3_sort a1) { + Z3_sort r = LIB.Z3_get_array_sort_domain(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_get_array_sort_range(Z3_context a0, Z3_sort a1) { + Z3_sort r = LIB.Z3_get_array_sort_range(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_get_tuple_sort_mk_decl(Z3_context a0, Z3_sort a1) { + Z3_func_decl r = LIB.Z3_get_tuple_sort_mk_decl(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_tuple_sort_num_fields(Z3_context a0, Z3_sort a1) { + uint r = LIB.Z3_get_tuple_sort_num_fields(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_get_tuple_sort_field_decl(Z3_context a0, Z3_sort a1, uint a2) { + Z3_func_decl r = LIB.Z3_get_tuple_sort_field_decl(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_datatype_sort_num_constructors(Z3_context a0, Z3_sort a1) { + uint r = LIB.Z3_get_datatype_sort_num_constructors(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_get_datatype_sort_constructor(Z3_context a0, Z3_sort a1, uint a2) { + Z3_func_decl r = LIB.Z3_get_datatype_sort_constructor(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_get_datatype_sort_recognizer(Z3_context a0, Z3_sort a1, uint a2) { + Z3_func_decl r = LIB.Z3_get_datatype_sort_recognizer(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_get_datatype_sort_constructor_accessor(Z3_context a0, Z3_sort a1, uint a2, uint a3) { + Z3_func_decl r = LIB.Z3_get_datatype_sort_constructor_accessor(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_relation_arity(Z3_context a0, Z3_sort a1) { + uint r = LIB.Z3_get_relation_arity(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_get_relation_column(Z3_context a0, Z3_sort a1, uint a2) { + Z3_sort r = LIB.Z3_get_relation_column(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_func_decl_to_ast(Z3_context a0, Z3_func_decl a1) { + Z3_ast r = LIB.Z3_func_decl_to_ast(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2) { + int r = LIB.Z3_is_eq_func_decl(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1) { + uint r = LIB.Z3_get_func_decl_id(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static IntPtr Z3_get_decl_name(Z3_context a0, Z3_func_decl a1) { + IntPtr r = LIB.Z3_get_decl_name(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1) { + uint r = LIB.Z3_get_decl_kind(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_domain_size(Z3_context a0, Z3_func_decl a1) { + uint r = LIB.Z3_get_domain_size(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_arity(Z3_context a0, Z3_func_decl a1) { + uint r = LIB.Z3_get_arity(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_get_domain(Z3_context a0, Z3_func_decl a1, uint a2) { + Z3_sort r = LIB.Z3_get_domain(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_get_range(Z3_context a0, Z3_func_decl a1) { + Z3_sort r = LIB.Z3_get_range(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_decl_num_parameters(Z3_context a0, Z3_func_decl a1) { + uint r = LIB.Z3_get_decl_num_parameters(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, uint a2) { + uint r = LIB.Z3_get_decl_parameter_kind(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, uint a2) { + int r = LIB.Z3_get_decl_int_parameter(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static double Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, uint a2) { + double r = LIB.Z3_get_decl_double_parameter(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static IntPtr Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, uint a2) { + IntPtr r = LIB.Z3_get_decl_symbol_parameter(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_get_decl_sort_parameter(Z3_context a0, Z3_func_decl a1, uint a2) { + Z3_sort r = LIB.Z3_get_decl_sort_parameter(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, uint a2) { + Z3_ast r = LIB.Z3_get_decl_ast_parameter(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_get_decl_func_decl_parameter(Z3_context a0, Z3_func_decl a1, uint a2) { + Z3_func_decl r = LIB.Z3_get_decl_func_decl_parameter(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, uint a2) { + IntPtr r = LIB.Z3_get_decl_rational_parameter(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static Z3_ast Z3_app_to_ast(Z3_context a0, Z3_app a1) { + Z3_ast r = LIB.Z3_app_to_ast(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_get_app_decl(Z3_context a0, Z3_app a1) { + Z3_func_decl r = LIB.Z3_get_app_decl(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_app_num_args(Z3_context a0, Z3_app a1) { + uint r = LIB.Z3_get_app_num_args(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_get_app_arg(Z3_context a0, Z3_app a1, uint a2) { + Z3_ast r = LIB.Z3_get_app_arg(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2) { + int r = LIB.Z3_is_eq_ast(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_ast_id(Z3_context a0, Z3_ast a1) { + uint r = LIB.Z3_get_ast_id(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_ast_hash(Z3_context a0, Z3_ast a1) { + uint r = LIB.Z3_get_ast_hash(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_get_sort(Z3_context a0, Z3_ast a1) { + Z3_sort r = LIB.Z3_get_sort(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_is_well_sorted(Z3_context a0, Z3_ast a1) { + int r = LIB.Z3_is_well_sorted(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_bool_value(Z3_context a0, Z3_ast a1) { + uint r = LIB.Z3_get_bool_value(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_ast_kind(Z3_context a0, Z3_ast a1) { + uint r = LIB.Z3_get_ast_kind(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_is_app(Z3_context a0, Z3_ast a1) { + int r = LIB.Z3_is_app(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_is_numeral_ast(Z3_context a0, Z3_ast a1) { + int r = LIB.Z3_is_numeral_ast(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_is_algebraic_number(Z3_context a0, Z3_ast a1) { + int r = LIB.Z3_is_algebraic_number(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_app Z3_to_app(Z3_context a0, Z3_ast a1) { + Z3_app r = LIB.Z3_to_app(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_to_func_decl(Z3_context a0, Z3_ast a1) { + Z3_func_decl r = LIB.Z3_to_func_decl(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_get_numeral_string(Z3_context a0, Z3_ast a1) { + IntPtr r = LIB.Z3_get_numeral_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static string Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, uint a2) { + IntPtr r = LIB.Z3_get_numeral_decimal_string(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static Z3_ast Z3_get_numerator(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_get_numerator(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_get_denominator(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_get_denominator(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_get_numeral_small(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3) { + int r = LIB.Z3_get_numeral_small(a0, a1, ref a2, ref a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_get_numeral_int(Z3_context a0, Z3_ast a1, [In, Out] ref int a2) { + int r = LIB.Z3_get_numeral_int(a0, a1, ref a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, [In, Out] ref uint a2) { + int r = LIB.Z3_get_numeral_uint(a0, a1, ref a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, [In, Out] ref UInt64 a2) { + int r = LIB.Z3_get_numeral_uint64(a0, a1, ref a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2) { + int r = LIB.Z3_get_numeral_int64(a0, a1, ref a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_get_numeral_rational_int64(Z3_context a0, Z3_ast a1, [In, Out] ref Int64 a2, [In, Out] ref Int64 a3) { + int r = LIB.Z3_get_numeral_rational_int64(a0, a1, ref a2, ref a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, uint a2) { + Z3_ast r = LIB.Z3_get_algebraic_number_lower(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, uint a2) { + Z3_ast r = LIB.Z3_get_algebraic_number_upper(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_pattern_to_ast(Z3_context a0, Z3_pattern a1) { + Z3_ast r = LIB.Z3_pattern_to_ast(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1) { + uint r = LIB.Z3_get_pattern_num_terms(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_get_pattern(Z3_context a0, Z3_pattern a1, uint a2) { + Z3_ast r = LIB.Z3_get_pattern(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_index_value(Z3_context a0, Z3_ast a1) { + uint r = LIB.Z3_get_index_value(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1) { + int r = LIB.Z3_is_quantifier_forall(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1) { + uint r = LIB.Z3_get_quantifier_weight(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1) { + uint r = LIB.Z3_get_quantifier_num_patterns(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_pattern Z3_get_quantifier_pattern_ast(Z3_context a0, Z3_ast a1, uint a2) { + Z3_pattern r = LIB.Z3_get_quantifier_pattern_ast(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_quantifier_num_no_patterns(Z3_context a0, Z3_ast a1) { + uint r = LIB.Z3_get_quantifier_num_no_patterns(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_get_quantifier_no_pattern_ast(Z3_context a0, Z3_ast a1, uint a2) { + Z3_ast r = LIB.Z3_get_quantifier_no_pattern_ast(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_quantifier_num_bound(Z3_context a0, Z3_ast a1) { + uint r = LIB.Z3_get_quantifier_num_bound(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static IntPtr Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, uint a2) { + IntPtr r = LIB.Z3_get_quantifier_bound_name(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, uint a2) { + Z3_sort r = LIB.Z3_get_quantifier_bound_sort(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_get_quantifier_body(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_get_quantifier_body(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_simplify(Z3_context a0, Z3_ast a1) { + Z3_ast r = LIB.Z3_simplify(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2) { + Z3_ast r = LIB.Z3_simplify_ex(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_simplify_get_help(Z3_context a0) { + IntPtr r = LIB.Z3_simplify_get_help(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static Z3_param_descrs Z3_simplify_get_param_descrs(Z3_context a0) { + Z3_param_descrs r = LIB.Z3_simplify_get_param_descrs(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_update_term(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3) { + Z3_ast r = LIB.Z3_update_term(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_substitute(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3, [In] Z3_ast[] a4) { + Z3_ast r = LIB.Z3_substitute(a0, a1, a2, a3, a4); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_substitute_vars(Z3_context a0, Z3_ast a1, uint a2, [In] Z3_ast[] a3) { + Z3_ast r = LIB.Z3_substitute_vars(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2) { + Z3_ast r = LIB.Z3_translate(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_model_inc_ref(Z3_context a0, Z3_model a1) { + LIB.Z3_model_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_model_dec_ref(Z3_context a0, Z3_model a1) { + LIB.Z3_model_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static int Z3_model_eval(Z3_context a0, Z3_model a1, Z3_ast a2, int a3, [In, Out] ref Z3_ast a4) { + int r = LIB.Z3_model_eval(a0, a1, a2, a3, ref a4); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_model_get_const_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2) { + Z3_ast r = LIB.Z3_model_get_const_interp(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_interp Z3_model_get_func_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2) { + Z3_func_interp r = LIB.Z3_model_get_func_interp(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_model_get_num_consts(Z3_context a0, Z3_model a1) { + uint r = LIB.Z3_model_get_num_consts(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_model_get_const_decl(Z3_context a0, Z3_model a1, uint a2) { + Z3_func_decl r = LIB.Z3_model_get_const_decl(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_model_get_num_funcs(Z3_context a0, Z3_model a1) { + uint r = LIB.Z3_model_get_num_funcs(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_model_get_func_decl(Z3_context a0, Z3_model a1, uint a2) { + Z3_func_decl r = LIB.Z3_model_get_func_decl(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_model_get_num_sorts(Z3_context a0, Z3_model a1) { + uint r = LIB.Z3_model_get_num_sorts(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_model_get_sort(Z3_context a0, Z3_model a1, uint a2) { + Z3_sort r = LIB.Z3_model_get_sort(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast_vector Z3_model_get_sort_universe(Z3_context a0, Z3_model a1, Z3_sort a2) { + Z3_ast_vector r = LIB.Z3_model_get_sort_universe(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_is_as_array(Z3_context a0, Z3_ast a1) { + int r = LIB.Z3_is_as_array(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_get_as_array_func_decl(Z3_context a0, Z3_ast a1) { + Z3_func_decl r = LIB.Z3_get_as_array_func_decl(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_func_interp_inc_ref(Z3_context a0, Z3_func_interp a1) { + LIB.Z3_func_interp_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1) { + LIB.Z3_func_interp_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static uint Z3_func_interp_get_num_entries(Z3_context a0, Z3_func_interp a1) { + uint r = LIB.Z3_func_interp_get_num_entries(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_entry Z3_func_interp_get_entry(Z3_context a0, Z3_func_interp a1, uint a2) { + Z3_func_entry r = LIB.Z3_func_interp_get_entry(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_func_interp_get_else(Z3_context a0, Z3_func_interp a1) { + Z3_ast r = LIB.Z3_func_interp_get_else(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_func_interp_get_arity(Z3_context a0, Z3_func_interp a1) { + uint r = LIB.Z3_func_interp_get_arity(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1) { + LIB.Z3_func_entry_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1) { + LIB.Z3_func_entry_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static Z3_ast Z3_func_entry_get_value(Z3_context a0, Z3_func_entry a1) { + Z3_ast r = LIB.Z3_func_entry_get_value(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_func_entry_get_num_args(Z3_context a0, Z3_func_entry a1) { + uint r = LIB.Z3_func_entry_get_num_args(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, uint a2) { + Z3_ast r = LIB.Z3_func_entry_get_arg(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_toggle_warning_messages(int a0) { + LIB.Z3_toggle_warning_messages(a0); + } + + public static void Z3_set_ast_print_mode(Z3_context a0, uint a1) { + LIB.Z3_set_ast_print_mode(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static string Z3_ast_to_string(Z3_context a0, Z3_ast a1) { + IntPtr r = LIB.Z3_ast_to_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static string Z3_pattern_to_string(Z3_context a0, Z3_pattern a1) { + IntPtr r = LIB.Z3_pattern_to_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static string Z3_sort_to_string(Z3_context a0, Z3_sort a1) { + IntPtr r = LIB.Z3_sort_to_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static string Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1) { + IntPtr r = LIB.Z3_func_decl_to_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static string Z3_model_to_string(Z3_context a0, Z3_model a1) { + IntPtr r = LIB.Z3_model_to_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + 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) { + IntPtr r = LIB.Z3_benchmark_to_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + 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) { + Z3_ast r = LIB.Z3_parse_smtlib2_string(a0, a1, a2, a3, a4, a5, a6, a7); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + Z3_ast r = LIB.Z3_parse_smtlib2_file(a0, a1, a2, a3, a4, a5, a6, a7); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + LIB.Z3_parse_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + 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) { + LIB.Z3_parse_smtlib_file(a0, a1, a2, a3, a4, a5, a6, a7); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static uint Z3_get_smtlib_num_formulas(Z3_context a0) { + uint r = LIB.Z3_get_smtlib_num_formulas(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_get_smtlib_formula(Z3_context a0, uint a1) { + Z3_ast r = LIB.Z3_get_smtlib_formula(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_smtlib_num_assumptions(Z3_context a0) { + uint r = LIB.Z3_get_smtlib_num_assumptions(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_get_smtlib_assumption(Z3_context a0, uint a1) { + Z3_ast r = LIB.Z3_get_smtlib_assumption(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_smtlib_num_decls(Z3_context a0) { + uint r = LIB.Z3_get_smtlib_num_decls(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_get_smtlib_decl(Z3_context a0, uint a1) { + Z3_func_decl r = LIB.Z3_get_smtlib_decl(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_smtlib_num_sorts(Z3_context a0) { + uint r = LIB.Z3_get_smtlib_num_sorts(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_sort Z3_get_smtlib_sort(Z3_context a0, uint a1) { + Z3_sort r = LIB.Z3_get_smtlib_sort(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_get_smtlib_error(Z3_context a0) { + IntPtr r = LIB.Z3_get_smtlib_error(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static Z3_ast Z3_parse_z3_string(Z3_context a0, string a1) { + Z3_ast r = LIB.Z3_parse_z3_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_parse_z3_file(Z3_context a0, string a1) { + Z3_ast r = LIB.Z3_parse_z3_file(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_error_code(Z3_context a0) { + uint r = LIB.Z3_get_error_code(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_set_error(Z3_context a0, uint a1) { + LIB.Z3_set_error(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static string Z3_get_error_msg(uint a0) { + IntPtr r = LIB.Z3_get_error_msg(a0); + return Marshal.PtrToStringAnsi(r); + } + + public static string Z3_get_error_msg_ex(Z3_context a0, uint a1) { + IntPtr r = LIB.Z3_get_error_msg_ex(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + 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) { + LIB.Z3_get_version(ref a0, ref a1, ref a2, ref a3); + } + + public static void Z3_reset_memory() { + LIB.Z3_reset_memory(); + } + + public static Z3_fixedpoint Z3_mk_fixedpoint(Z3_context a0) { + Z3_fixedpoint r = LIB.Z3_mk_fixedpoint(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1) { + LIB.Z3_fixedpoint_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1) { + LIB.Z3_fixedpoint_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3) { + LIB.Z3_fixedpoint_add_rule(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] uint[] a4) { + LIB.Z3_fixedpoint_add_fact(a0, a1, a2, a3, a4); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2) { + LIB.Z3_fixedpoint_assert(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static int Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2) { + int r = LIB.Z3_fixedpoint_query(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_func_decl[] a3) { + int r = LIB.Z3_fixedpoint_query_relations(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_fixedpoint_get_answer(Z3_context a0, Z3_fixedpoint a1) { + Z3_ast r = LIB.Z3_fixedpoint_get_answer(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_fixedpoint_get_reason_unknown(Z3_context a0, Z3_fixedpoint a1) { + IntPtr r = LIB.Z3_fixedpoint_get_reason_unknown(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static void Z3_fixedpoint_update_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, IntPtr a3) { + LIB.Z3_fixedpoint_update_rule(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static uint Z3_fixedpoint_get_num_levels(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2) { + uint r = LIB.Z3_fixedpoint_get_num_levels(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_fixedpoint_get_cover_delta(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3) { + Z3_ast r = LIB.Z3_fixedpoint_get_cover_delta(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4) { + LIB.Z3_fixedpoint_add_cover(a0, a1, a2, a3, a4); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static Z3_stats Z3_fixedpoint_get_statistics(Z3_context a0, Z3_fixedpoint a1) { + Z3_stats r = LIB.Z3_fixedpoint_get_statistics(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_fixedpoint_register_relation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2) { + LIB.Z3_fixedpoint_register_relation(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, uint a3, [In] IntPtr[] a4) { + LIB.Z3_fixedpoint_set_predicate_representation(a0, a1, a2, a3, a4); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static Z3_ast_vector Z3_fixedpoint_simplify_rules(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3, uint a4, [In] Z3_func_decl[] a5) { + Z3_ast_vector r = LIB.Z3_fixedpoint_simplify_rules(a0, a1, a2, a3, a4, a5); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_fixedpoint_set_params(Z3_context a0, Z3_fixedpoint a1, Z3_params a2) { + LIB.Z3_fixedpoint_set_params(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static string Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1) { + IntPtr r = LIB.Z3_fixedpoint_get_help(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static Z3_param_descrs Z3_fixedpoint_get_param_descrs(Z3_context a0, Z3_fixedpoint a1) { + Z3_param_descrs r = LIB.Z3_fixedpoint_get_param_descrs(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, uint a2, [In] Z3_ast[] a3) { + IntPtr r = LIB.Z3_fixedpoint_to_string(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static void Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1) { + LIB.Z3_fixedpoint_push(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1) { + LIB.Z3_fixedpoint_pop(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static Z3_ast_vector Z3_mk_ast_vector(Z3_context a0) { + Z3_ast_vector r = LIB.Z3_mk_ast_vector(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1) { + LIB.Z3_ast_vector_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1) { + LIB.Z3_ast_vector_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static uint Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1) { + uint r = LIB.Z3_ast_vector_size(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, uint a2) { + Z3_ast r = LIB.Z3_ast_vector_get(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_ast_vector_set(Z3_context a0, Z3_ast_vector a1, uint a2, Z3_ast a3) { + LIB.Z3_ast_vector_set(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, uint a2) { + LIB.Z3_ast_vector_resize(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2) { + LIB.Z3_ast_vector_push(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static Z3_ast_vector Z3_ast_vector_translate(Z3_context a0, Z3_ast_vector a1, Z3_context a2) { + Z3_ast_vector r = LIB.Z3_ast_vector_translate(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1) { + IntPtr r = LIB.Z3_ast_vector_to_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static Z3_ast_map Z3_mk_ast_map(Z3_context a0) { + Z3_ast_map r = LIB.Z3_mk_ast_map(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1) { + LIB.Z3_ast_map_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1) { + LIB.Z3_ast_map_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static int Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2) { + int r = LIB.Z3_ast_map_contains(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2) { + Z3_ast r = LIB.Z3_ast_map_find(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3) { + LIB.Z3_ast_map_insert(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2) { + LIB.Z3_ast_map_erase(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1) { + LIB.Z3_ast_map_reset(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static uint Z3_ast_map_size(Z3_context a0, Z3_ast_map a1) { + uint r = LIB.Z3_ast_map_size(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast_vector Z3_ast_map_keys(Z3_context a0, Z3_ast_map a1) { + Z3_ast_vector r = LIB.Z3_ast_map_keys(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1) { + IntPtr r = LIB.Z3_ast_map_to_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static Z3_goal Z3_mk_goal(Z3_context a0, int a1, int a2, int a3) { + Z3_goal r = LIB.Z3_mk_goal(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_goal_inc_ref(Z3_context a0, Z3_goal a1) { + LIB.Z3_goal_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_goal_dec_ref(Z3_context a0, Z3_goal a1) { + LIB.Z3_goal_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static uint Z3_goal_precision(Z3_context a0, Z3_goal a1) { + uint r = LIB.Z3_goal_precision(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2) { + LIB.Z3_goal_assert(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static int Z3_goal_inconsistent(Z3_context a0, Z3_goal a1) { + int r = LIB.Z3_goal_inconsistent(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_goal_depth(Z3_context a0, Z3_goal a1) { + uint r = LIB.Z3_goal_depth(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_goal_reset(Z3_context a0, Z3_goal a1) { + LIB.Z3_goal_reset(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static uint Z3_goal_size(Z3_context a0, Z3_goal a1) { + uint r = LIB.Z3_goal_size(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_goal_formula(Z3_context a0, Z3_goal a1, uint a2) { + Z3_ast r = LIB.Z3_goal_formula(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_goal_num_exprs(Z3_context a0, Z3_goal a1) { + uint r = LIB.Z3_goal_num_exprs(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1) { + int r = LIB.Z3_goal_is_decided_sat(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1) { + int r = LIB.Z3_goal_is_decided_unsat(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_goal Z3_goal_translate(Z3_context a0, Z3_goal a1, Z3_context a2) { + Z3_goal r = LIB.Z3_goal_translate(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_goal_to_string(Z3_context a0, Z3_goal a1) { + IntPtr r = LIB.Z3_goal_to_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static Z3_tactic Z3_mk_tactic(Z3_context a0, string a1) { + Z3_tactic r = LIB.Z3_mk_tactic(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1) { + LIB.Z3_tactic_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1) { + LIB.Z3_tactic_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static Z3_probe Z3_mk_probe(Z3_context a0, string a1) { + Z3_probe r = LIB.Z3_mk_probe(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_probe_inc_ref(Z3_context a0, Z3_probe a1) { + LIB.Z3_probe_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_probe_dec_ref(Z3_context a0, Z3_probe a1) { + LIB.Z3_probe_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static Z3_tactic Z3_tactic_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2) { + Z3_tactic r = LIB.Z3_tactic_and_then(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_tactic Z3_tactic_or_else(Z3_context a0, Z3_tactic a1, Z3_tactic a2) { + Z3_tactic r = LIB.Z3_tactic_or_else(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_tactic Z3_tactic_par_or(Z3_context a0, uint a1, [In] Z3_tactic[] a2) { + Z3_tactic r = LIB.Z3_tactic_par_or(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_tactic Z3_tactic_par_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2) { + Z3_tactic r = LIB.Z3_tactic_par_and_then(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_tactic Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, uint a2) { + Z3_tactic r = LIB.Z3_tactic_try_for(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_tactic Z3_tactic_when(Z3_context a0, Z3_probe a1, Z3_tactic a2) { + Z3_tactic r = LIB.Z3_tactic_when(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_tactic Z3_tactic_cond(Z3_context a0, Z3_probe a1, Z3_tactic a2, Z3_tactic a3) { + Z3_tactic r = LIB.Z3_tactic_cond(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_tactic Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, uint a2) { + Z3_tactic r = LIB.Z3_tactic_repeat(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_tactic Z3_tactic_skip(Z3_context a0) { + Z3_tactic r = LIB.Z3_tactic_skip(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_tactic Z3_tactic_fail(Z3_context a0) { + Z3_tactic r = LIB.Z3_tactic_fail(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_tactic Z3_tactic_fail_if(Z3_context a0, Z3_probe a1) { + Z3_tactic r = LIB.Z3_tactic_fail_if(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_tactic Z3_tactic_fail_if_not_decided(Z3_context a0) { + Z3_tactic r = LIB.Z3_tactic_fail_if_not_decided(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_tactic Z3_tactic_using_params(Z3_context a0, Z3_tactic a1, Z3_params a2) { + Z3_tactic r = LIB.Z3_tactic_using_params(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_probe Z3_probe_const(Z3_context a0, double a1) { + Z3_probe r = LIB.Z3_probe_const(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_probe Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2) { + Z3_probe r = LIB.Z3_probe_lt(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_probe Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2) { + Z3_probe r = LIB.Z3_probe_gt(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_probe Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2) { + Z3_probe r = LIB.Z3_probe_le(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_probe Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2) { + Z3_probe r = LIB.Z3_probe_ge(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_probe Z3_probe_eq(Z3_context a0, Z3_probe a1, Z3_probe a2) { + Z3_probe r = LIB.Z3_probe_eq(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_probe Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2) { + Z3_probe r = LIB.Z3_probe_and(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_probe Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2) { + Z3_probe r = LIB.Z3_probe_or(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_probe Z3_probe_not(Z3_context a0, Z3_probe a1) { + Z3_probe r = LIB.Z3_probe_not(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_num_tactics(Z3_context a0) { + uint r = LIB.Z3_get_num_tactics(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_get_tactic_name(Z3_context a0, uint a1) { + IntPtr r = LIB.Z3_get_tactic_name(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static uint Z3_get_num_probes(Z3_context a0) { + uint r = LIB.Z3_get_num_probes(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_get_probe_name(Z3_context a0, uint a1) { + IntPtr r = LIB.Z3_get_probe_name(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static string Z3_tactic_get_help(Z3_context a0, Z3_tactic a1) { + IntPtr r = LIB.Z3_tactic_get_help(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static Z3_param_descrs Z3_tactic_get_param_descrs(Z3_context a0, Z3_tactic a1) { + Z3_param_descrs r = LIB.Z3_tactic_get_param_descrs(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_tactic_get_descr(Z3_context a0, string a1) { + IntPtr r = LIB.Z3_tactic_get_descr(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static string Z3_probe_get_descr(Z3_context a0, string a1) { + IntPtr r = LIB.Z3_probe_get_descr(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static double Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2) { + double r = LIB.Z3_probe_apply(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_apply_result Z3_tactic_apply(Z3_context a0, Z3_tactic a1, Z3_goal a2) { + Z3_apply_result r = LIB.Z3_tactic_apply(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_apply_result Z3_tactic_apply_ex(Z3_context a0, Z3_tactic a1, Z3_goal a2, Z3_params a3) { + Z3_apply_result r = LIB.Z3_tactic_apply_ex(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_apply_result_inc_ref(Z3_context a0, Z3_apply_result a1) { + LIB.Z3_apply_result_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_apply_result_dec_ref(Z3_context a0, Z3_apply_result a1) { + LIB.Z3_apply_result_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static string Z3_apply_result_to_string(Z3_context a0, Z3_apply_result a1) { + IntPtr r = LIB.Z3_apply_result_to_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static uint Z3_apply_result_get_num_subgoals(Z3_context a0, Z3_apply_result a1) { + uint r = LIB.Z3_apply_result_get_num_subgoals(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_goal Z3_apply_result_get_subgoal(Z3_context a0, Z3_apply_result a1, uint a2) { + Z3_goal r = LIB.Z3_apply_result_get_subgoal(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_model Z3_apply_result_convert_model(Z3_context a0, Z3_apply_result a1, uint a2, Z3_model a3) { + Z3_model r = LIB.Z3_apply_result_convert_model(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_solver Z3_mk_solver(Z3_context a0) { + Z3_solver r = LIB.Z3_mk_solver(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_solver Z3_mk_simple_solver(Z3_context a0) { + Z3_solver r = LIB.Z3_mk_simple_solver(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_solver Z3_mk_solver_for_logic(Z3_context a0, IntPtr a1) { + Z3_solver r = LIB.Z3_mk_solver_for_logic(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_solver Z3_mk_solver_from_tactic(Z3_context a0, Z3_tactic a1) { + Z3_solver r = LIB.Z3_mk_solver_from_tactic(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_solver_get_help(Z3_context a0, Z3_solver a1) { + IntPtr r = LIB.Z3_solver_get_help(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static Z3_param_descrs Z3_solver_get_param_descrs(Z3_context a0, Z3_solver a1) { + Z3_param_descrs r = LIB.Z3_solver_get_param_descrs(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2) { + LIB.Z3_solver_set_params(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_solver_inc_ref(Z3_context a0, Z3_solver a1) { + LIB.Z3_solver_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_solver_dec_ref(Z3_context a0, Z3_solver a1) { + LIB.Z3_solver_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_solver_push(Z3_context a0, Z3_solver a1) { + LIB.Z3_solver_push(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_solver_pop(Z3_context a0, Z3_solver a1, uint a2) { + LIB.Z3_solver_pop(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_solver_reset(Z3_context a0, Z3_solver a1) { + LIB.Z3_solver_reset(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static uint Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1) { + uint r = LIB.Z3_solver_get_num_scopes(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2) { + LIB.Z3_solver_assert(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static Z3_ast_vector Z3_solver_get_assertions(Z3_context a0, Z3_solver a1) { + Z3_ast_vector r = LIB.Z3_solver_get_assertions(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_solver_check(Z3_context a0, Z3_solver a1) { + int r = LIB.Z3_solver_check(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_solver_check_assumptions(Z3_context a0, Z3_solver a1, uint a2, [In] Z3_ast[] a3) { + int r = LIB.Z3_solver_check_assumptions(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_model Z3_solver_get_model(Z3_context a0, Z3_solver a1) { + Z3_model r = LIB.Z3_solver_get_model(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_solver_get_proof(Z3_context a0, Z3_solver a1) { + Z3_ast r = LIB.Z3_solver_get_proof(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast_vector Z3_solver_get_unsat_core(Z3_context a0, Z3_solver a1) { + Z3_ast_vector r = LIB.Z3_solver_get_unsat_core(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1) { + IntPtr r = LIB.Z3_solver_get_reason_unknown(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static Z3_stats Z3_solver_get_statistics(Z3_context a0, Z3_solver a1) { + Z3_stats r = LIB.Z3_solver_get_statistics(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_solver_to_string(Z3_context a0, Z3_solver a1) { + IntPtr r = LIB.Z3_solver_to_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static string Z3_stats_to_string(Z3_context a0, Z3_stats a1) { + IntPtr r = LIB.Z3_stats_to_string(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static void Z3_stats_inc_ref(Z3_context a0, Z3_stats a1) { + LIB.Z3_stats_inc_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_stats_dec_ref(Z3_context a0, Z3_stats a1) { + LIB.Z3_stats_dec_ref(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static uint Z3_stats_size(Z3_context a0, Z3_stats a1) { + uint r = LIB.Z3_stats_size(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_stats_get_key(Z3_context a0, Z3_stats a1, uint a2) { + IntPtr r = LIB.Z3_stats_get_key(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static int Z3_stats_is_uint(Z3_context a0, Z3_stats a1, uint a2) { + int r = LIB.Z3_stats_is_uint(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_stats_is_double(Z3_context a0, Z3_stats a1, uint a2) { + int r = LIB.Z3_stats_is_double(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, uint a2) { + uint r = LIB.Z3_stats_get_uint_value(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static double Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, uint a2) { + double r = LIB.Z3_stats_get_double_value(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_mk_injective_function(Z3_context a0, IntPtr a1, uint a2, [In] Z3_sort[] a3, Z3_sort a4) { + Z3_func_decl r = LIB.Z3_mk_injective_function(a0, a1, a2, a3, a4); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_set_logic(Z3_context a0, string a1) { + LIB.Z3_set_logic(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_push(Z3_context a0) { + LIB.Z3_push(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_pop(Z3_context a0, uint a1) { + LIB.Z3_pop(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static uint Z3_get_num_scopes(Z3_context a0) { + uint r = LIB.Z3_get_num_scopes(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_persist_ast(Z3_context a0, Z3_ast a1, uint a2) { + LIB.Z3_persist_ast(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_assert_cnstr(Z3_context a0, Z3_ast a1) { + LIB.Z3_assert_cnstr(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static int Z3_check_and_get_model(Z3_context a0, [In, Out] ref Z3_model a1) { + int r = LIB.Z3_check_and_get_model(a0, ref a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_check(Z3_context a0) { + int r = LIB.Z3_check(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + int r = LIB.Z3_check_assumptions(a0, a1, a2, ref a3, ref a4, ref a5, a6); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_implied_equalities(Z3_context a0, uint a1, [In] Z3_ast[] a2, [Out] uint[] a3) { + uint r = LIB.Z3_get_implied_equalities(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_del_model(Z3_context a0, Z3_model a1) { + LIB.Z3_del_model(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_soft_check_cancel(Z3_context a0) { + LIB.Z3_soft_check_cancel(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static uint Z3_get_search_failure(Z3_context a0) { + uint r = LIB.Z3_get_search_failure(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_mk_label(Z3_context a0, IntPtr a1, int a2, Z3_ast a3) { + Z3_ast r = LIB.Z3_mk_label(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_literals Z3_get_relevant_labels(Z3_context a0) { + Z3_literals r = LIB.Z3_get_relevant_labels(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_literals Z3_get_relevant_literals(Z3_context a0) { + Z3_literals r = LIB.Z3_get_relevant_literals(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_literals Z3_get_guessed_literals(Z3_context a0) { + Z3_literals r = LIB.Z3_get_guessed_literals(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_del_literals(Z3_context a0, Z3_literals a1) { + LIB.Z3_del_literals(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static uint Z3_get_num_literals(Z3_context a0, Z3_literals a1) { + uint r = LIB.Z3_get_num_literals(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static IntPtr Z3_get_label_symbol(Z3_context a0, Z3_literals a1, uint a2) { + IntPtr r = LIB.Z3_get_label_symbol(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_get_literal(Z3_context a0, Z3_literals a1, uint a2) { + Z3_ast r = LIB.Z3_get_literal(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static void Z3_disable_literal(Z3_context a0, Z3_literals a1, uint a2) { + LIB.Z3_disable_literal(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static void Z3_block_literals(Z3_context a0, Z3_literals a1) { + LIB.Z3_block_literals(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static uint Z3_get_model_num_constants(Z3_context a0, Z3_model a1) { + uint r = LIB.Z3_get_model_num_constants(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_get_model_constant(Z3_context a0, Z3_model a1, uint a2) { + Z3_func_decl r = LIB.Z3_get_model_constant(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_model_num_funcs(Z3_context a0, Z3_model a1) { + uint r = LIB.Z3_get_model_num_funcs(a0, a1); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_func_decl Z3_get_model_func_decl(Z3_context a0, Z3_model a1, uint a2) { + Z3_func_decl r = LIB.Z3_get_model_func_decl(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_eval_func_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, [In, Out] ref Z3_ast a3) { + int r = LIB.Z3_eval_func_decl(a0, a1, a2, ref a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref uint a3) { + int r = LIB.Z3_is_array_value(a0, a1, a2, ref a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + LIB.Z3_get_array_value(a0, a1, a2, a3, a4, a5, ref a6); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + } + + public static Z3_ast Z3_get_model_func_else(Z3_context a0, Z3_model a1, uint a2) { + Z3_ast r = LIB.Z3_get_model_func_else(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, uint a2) { + uint r = LIB.Z3_get_model_func_num_entries(a0, a1, a2); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static uint Z3_get_model_func_entry_num_args(Z3_context a0, Z3_model a1, uint a2, uint a3) { + uint r = LIB.Z3_get_model_func_entry_num_args(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_get_model_func_entry_arg(Z3_context a0, Z3_model a1, uint a2, uint a3, uint a4) { + Z3_ast r = LIB.Z3_get_model_func_entry_arg(a0, a1, a2, a3, a4); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static Z3_ast Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, uint a2, uint a3) { + Z3_ast r = LIB.Z3_get_model_func_entry_value(a0, a1, a2, a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static int Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, [In, Out] ref Z3_ast a3) { + int r = LIB.Z3_eval(a0, a1, a2, ref a3); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + 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) { + int r = LIB.Z3_eval_decl(a0, a1, a2, a3, a4, ref a5); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + public static string Z3_context_to_string(Z3_context a0) { + IntPtr r = LIB.Z3_context_to_string(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static string Z3_statistics_to_string(Z3_context a0) { + IntPtr r = LIB.Z3_statistics_to_string(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return Marshal.PtrToStringAnsi(r); + } + + public static Z3_ast Z3_get_context_assignment(Z3_context a0) { + Z3_ast r = LIB.Z3_get_context_assignment(a0); + Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); + if (err != Z3_error_code.Z3_OK) + throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); + return r; + } + + } + +} + diff --git a/Microsoft.Z3/mk_z3consts.py b/Microsoft.Z3/mk_z3consts.py deleted file mode 100644 index af0b51492..000000000 --- a/Microsoft.Z3/mk_z3consts.py +++ /dev/null @@ -1,86 +0,0 @@ -############################################ -# Copyright (c) 2012 Microsoft Corporation -# -# Extract enumeration types from z3_api.h -# -# Author: Leonardo de Moura (leonardo) -# Christoph M. Wintersteiger (cwinter) -############################################ -import re -import os - -blank_pat = re.compile("^ *$") -comment_pat = re.compile("^ *//.*$") -typedef_pat = re.compile("typedef enum *") -typedef2_pat = re.compile("typedef enum { *") -openbrace_pat = re.compile("{ *") -closebrace_pat = re.compile("}.*;") - -api = open('..%slib%sz3_api.h' % (os.sep, os.sep), 'r') - -DeprecatedEnums = { 'Z3_search_failure' } - -z3consts = open('Enumerations.cs', 'w') -z3consts.write('// Automatically generated file, generator: mk_z3consts.py\n\n') -z3consts.write('using System;\n\n' - '#pragma warning disable 1591\n\n' - 'namespace Microsoft.Z3\n' - '{\n'); - -SEARCHING = 0 -FOUND_ENUM = 1 -IN_ENUM = 2 - -mode = SEARCHING -decls = {} -idx = 0 - -linenum = 1 -for line in api: - m1 = blank_pat.match(line) - m2 = comment_pat.match(line) - if m1 or m2: - # skip blank lines and comments - linenum = linenum + 1 - elif mode == SEARCHING: - m = typedef_pat.match(line) - if m: - mode = FOUND_ENUM - m = typedef2_pat.match(line) - if m: - mode = IN_ENUM - decls = {} - idx = 0 - elif mode == FOUND_ENUM: - m = openbrace_pat.match(line) - if m: - mode = IN_ENUM - decls = {} - idx = 0 - else: - assert False, "Invalid z3_api.h, line: %s" % linenum - else: - assert mode == IN_ENUM - words = re.split('[^\-a-zA-Z0-9_]+', line) - m = closebrace_pat.match(line) - if m: - name = words[1] - if name not in DeprecatedEnums: - z3consts.write(' /// %s\n' % name) - z3consts.write(' public enum %s {\n' % name) - z3consts.write - for k, i in decls.iteritems(): - z3consts.write(' %s = %s,\n' % (k, i)) - z3consts.write(' }\n\n') - mode = SEARCHING - else: - if words[2] != '': - if len(words[2]) > 1 and words[2][1] == 'x': - idx = int(words[2], 16) - else: - idx = int(words[2]) - decls[words[1]] = idx - idx = idx + 1 - linenum = linenum + 1 - -z3consts.write('}\n'); diff --git a/dll/mk_def.py b/dll/mk_def.py deleted file mode 100644 index 2d0822eb0..000000000 --- a/dll/mk_def.py +++ /dev/null @@ -1,25 +0,0 @@ -import re -import os - -pat1 = re.compile(".*Z3_API.*") -api = open('..%slib%sz3_api.h' % (os.sep, os.sep), 'r') - -z3def = open('z3.def', 'w') -z3dbgdef = open('z3_dbg.def', 'w') - -z3def.write('LIBRARY "Z3"\nEXPORTS\n') -z3dbgdef.write('LIBRARY "Z3_DBG"\nEXPORTS\n') - -num = 1 -for line in api: - m = pat1.match(line) - if m: - words = re.split('\W+', line) - i = 0 - for w in words: - if w == 'Z3_API': - f = words[i+1] - z3def.write('\t%s @%s\n' % (f, num)) - z3dbgdef.write('\t%s @%s\n' % (f, num)) - i = i + 1 - num = num + 1 diff --git a/dll/z3.def b/dll/z3.def index e65e8b225..efa434da3 100644 --- a/dll/z3.def +++ b/dll/z3.def @@ -1,522 +1,522 @@ -LIBRARY "Z3" -EXPORTS - Z3_mk_config @1 - Z3_del_config @2 - Z3_set_param_value @3 - Z3_mk_context @4 - Z3_mk_context_rc @5 - Z3_del_context @6 - Z3_inc_ref @7 - Z3_dec_ref @8 - Z3_update_param_value @9 - Z3_get_param_value @10 - Z3_interrupt @11 - Z3_mk_params @12 - Z3_params_inc_ref @13 - Z3_params_dec_ref @14 - Z3_params_set_bool @15 - Z3_params_set_uint @16 - Z3_params_set_double @17 - Z3_params_set_symbol @18 - Z3_params_to_string @19 - Z3_params_validate @20 - Z3_param_descrs_inc_ref @21 - Z3_param_descrs_dec_ref @22 - Z3_param_descrs_get_kind @23 - Z3_param_descrs_size @24 - Z3_param_descrs_get_name @25 - Z3_param_descrs_to_string @26 - Z3_mk_int_symbol @27 - Z3_mk_string_symbol @28 - Z3_mk_uninterpreted_sort @29 - Z3_mk_bool_sort @30 - Z3_mk_int_sort @31 - Z3_mk_real_sort @32 - Z3_mk_bv_sort @33 - Z3_mk_finite_domain_sort @34 - Z3_mk_array_sort @35 - Z3_mk_tuple_sort @36 - Z3_mk_enumeration_sort @37 - Z3_mk_list_sort @38 - Z3_mk_constructor @39 - Z3_del_constructor @40 - Z3_mk_datatype @41 - Z3_mk_constructor_list @42 - Z3_del_constructor_list @43 - Z3_mk_datatypes @44 - Z3_query_constructor @45 - Z3_mk_func_decl @46 - Z3_mk_app @47 - Z3_mk_const @48 - Z3_mk_fresh_func_decl @49 - Z3_mk_fresh_const @50 - Z3_mk_true @51 - Z3_mk_false @52 - Z3_mk_eq @53 - Z3_mk_distinct @54 - Z3_mk_not @55 - Z3_mk_ite @56 - Z3_mk_iff @57 - Z3_mk_implies @58 - Z3_mk_xor @59 - Z3_mk_and @60 - Z3_mk_or @61 - Z3_mk_add @62 - Z3_mk_mul @63 - Z3_mk_sub @64 - Z3_mk_unary_minus @65 - Z3_mk_div @66 - Z3_mk_mod @67 - Z3_mk_rem @68 - Z3_mk_power @69 - Z3_mk_lt @70 - Z3_mk_le @71 - Z3_mk_gt @72 - Z3_mk_ge @73 - Z3_mk_int2real @74 - Z3_mk_real2int @75 - Z3_mk_is_int @76 - Z3_mk_bvnot @77 - Z3_mk_bvredand @78 - Z3_mk_bvredor @79 - Z3_mk_bvand @80 - Z3_mk_bvor @81 - Z3_mk_bvxor @82 - Z3_mk_bvnand @83 - Z3_mk_bvnor @84 - Z3_mk_bvxnor @85 - Z3_mk_bvneg @86 - Z3_mk_bvadd @87 - Z3_mk_bvsub @88 - Z3_mk_bvmul @89 - Z3_mk_bvudiv @90 - Z3_mk_bvsdiv @91 - Z3_mk_bvurem @92 - Z3_mk_bvsrem @93 - Z3_mk_bvsmod @94 - Z3_mk_bvult @95 - Z3_mk_bvslt @96 - Z3_mk_bvule @97 - Z3_mk_bvsle @98 - Z3_mk_bvuge @99 - Z3_mk_bvsge @100 - Z3_mk_bvugt @101 - Z3_mk_bvsgt @102 - Z3_mk_concat @103 - Z3_mk_extract @104 - Z3_mk_sign_ext @105 - Z3_mk_zero_ext @106 - Z3_mk_repeat @107 - Z3_mk_bvshl @108 - Z3_mk_bvlshr @109 - Z3_mk_bvashr @110 - Z3_mk_rotate_left @111 - Z3_mk_rotate_right @112 - Z3_mk_ext_rotate_left @113 - Z3_mk_ext_rotate_right @114 - Z3_mk_int2bv @115 - Z3_mk_bv2int @116 - Z3_mk_bvadd_no_overflow @117 - Z3_mk_bvadd_no_underflow @118 - Z3_mk_bvsub_no_overflow @119 - Z3_mk_bvsub_no_underflow @120 - Z3_mk_bvsdiv_no_overflow @121 - Z3_mk_bvneg_no_overflow @122 - Z3_mk_bvmul_no_overflow @123 - Z3_mk_bvmul_no_underflow @124 - Z3_mk_select @125 - Z3_mk_store @126 - Z3_mk_const_array @127 - Z3_mk_map @128 - Z3_mk_array_default @129 - Z3_mk_set_sort @130 - Z3_mk_empty_set @131 - Z3_mk_full_set @132 - Z3_mk_set_add @133 - Z3_mk_set_del @134 - Z3_mk_set_union @135 - Z3_mk_set_intersect @136 - Z3_mk_set_difference @137 - Z3_mk_set_complement @138 - Z3_mk_set_member @139 - Z3_mk_set_subset @140 - Z3_mk_numeral @141 - Z3_mk_real @142 - Z3_mk_int @143 - Z3_mk_unsigned_int @144 - Z3_mk_int64 @145 - Z3_mk_unsigned_int64 @146 - Z3_mk_pattern @147 - Z3_mk_bound @148 - Z3_mk_forall @149 - Z3_mk_exists @150 - Z3_mk_quantifier @151 - Z3_mk_quantifier_ex @152 - Z3_mk_forall_const @153 - Z3_mk_exists_const @154 - Z3_mk_quantifier_const @155 - Z3_mk_quantifier_const_ex @156 - Z3_get_symbol_kind @157 - Z3_get_symbol_int @158 - Z3_get_symbol_string @159 - Z3_get_sort_name @160 - Z3_get_sort_id @161 - Z3_sort_to_ast @162 - Z3_is_eq_sort @163 - Z3_get_sort_kind @164 - Z3_get_bv_sort_size @165 - Z3_get_finite_domain_sort_size @166 - Z3_get_array_sort_domain @167 - Z3_get_array_sort_range @168 - Z3_get_tuple_sort_mk_decl @169 - Z3_get_tuple_sort_num_fields @170 - Z3_get_tuple_sort_field_decl @171 - Z3_get_datatype_sort_num_constructors @172 - Z3_get_datatype_sort_constructor @173 - Z3_get_datatype_sort_recognizer @174 - Z3_get_datatype_sort_constructor_accessor @175 - Z3_get_relation_arity @176 - Z3_get_relation_column @177 - Z3_func_decl_to_ast @178 - Z3_is_eq_func_decl @179 - Z3_get_func_decl_id @180 - Z3_get_decl_name @181 - Z3_get_decl_kind @182 - Z3_get_domain_size @183 - Z3_get_arity @184 - Z3_get_domain @185 - Z3_get_range @186 - Z3_get_decl_num_parameters @187 - Z3_get_decl_parameter_kind @188 - Z3_get_decl_int_parameter @189 - Z3_get_decl_double_parameter @190 - Z3_get_decl_symbol_parameter @191 - Z3_get_decl_sort_parameter @192 - Z3_get_decl_ast_parameter @193 - Z3_get_decl_func_decl_parameter @194 - Z3_get_decl_rational_parameter @195 - Z3_app_to_ast @196 - Z3_get_app_decl @197 - Z3_get_app_num_args @198 - Z3_get_app_arg @199 - Z3_is_eq_ast @200 - Z3_get_ast_id @201 - Z3_get_ast_hash @202 - Z3_get_sort @203 - Z3_is_well_sorted @204 - Z3_get_bool_value @205 - Z3_get_ast_kind @206 - Z3_is_app @207 - Z3_is_numeral_ast @208 - Z3_is_algebraic_number @209 - Z3_to_app @210 - Z3_to_func_decl @211 - Z3_get_numeral_string @212 - Z3_get_numeral_decimal_string @213 - Z3_get_numerator @214 - Z3_get_denominator @215 - Z3_get_numeral_small @216 - Z3_get_numeral_int @217 - Z3_get_numeral_uint @218 - Z3_get_numeral_uint64 @219 - Z3_get_numeral_int64 @220 - Z3_get_numeral_rational_int64 @221 - Z3_get_algebraic_number_lower @222 - Z3_get_algebraic_number_upper @223 - Z3_pattern_to_ast @224 - Z3_get_pattern_num_terms @225 - Z3_get_pattern @226 - Z3_get_index_value @227 - Z3_is_quantifier_forall @228 - Z3_get_quantifier_weight @229 - Z3_get_quantifier_num_patterns @230 - Z3_get_quantifier_pattern_ast @231 - Z3_get_quantifier_num_no_patterns @232 - Z3_get_quantifier_no_pattern_ast @233 - Z3_get_quantifier_num_bound @234 - Z3_get_quantifier_bound_name @235 - Z3_get_quantifier_bound_sort @236 - Z3_get_quantifier_body @237 - Z3_simplify @238 - Z3_simplify_ex @239 - Z3_simplify_get_help @240 - Z3_simplify_get_param_descrs @241 - Z3_update_term @242 - Z3_substitute @243 - Z3_substitute_vars @244 - Z3_translate @245 - Z3_model_inc_ref @246 - Z3_model_dec_ref @247 - Z3_model_eval @248 - Z3_model_get_const_interp @249 - Z3_model_get_func_interp @250 - Z3_model_get_num_consts @251 - Z3_model_get_const_decl @252 - Z3_model_get_num_funcs @253 - Z3_model_get_func_decl @254 - Z3_model_get_num_sorts @255 - Z3_model_get_sort @256 - Z3_model_get_sort_universe @257 - Z3_is_as_array @258 - Z3_get_as_array_func_decl @259 - Z3_func_interp_inc_ref @260 - Z3_func_interp_dec_ref @261 - Z3_func_interp_get_num_entries @262 - Z3_func_interp_get_entry @263 - Z3_func_interp_get_else @264 - Z3_func_interp_get_arity @265 - Z3_func_entry_inc_ref @266 - Z3_func_entry_dec_ref @267 - Z3_func_entry_get_value @268 - Z3_func_entry_get_num_args @269 - Z3_func_entry_get_arg @270 - Z3_open_log @271 - Z3_append_log @272 - Z3_close_log @273 - Z3_toggle_warning_messages @274 - Z3_set_ast_print_mode @275 - Z3_ast_to_string @276 - Z3_pattern_to_string @277 - Z3_sort_to_string @278 - Z3_func_decl_to_string @279 - Z3_model_to_string @280 - Z3_benchmark_to_smtlib_string @281 - Z3_parse_smtlib2_string @282 - Z3_parse_smtlib2_file @283 - Z3_parse_smtlib_string @284 - Z3_parse_smtlib_file @285 - Z3_get_smtlib_num_formulas @286 - Z3_get_smtlib_formula @287 - Z3_get_smtlib_num_assumptions @288 - Z3_get_smtlib_assumption @289 - Z3_get_smtlib_num_decls @290 - Z3_get_smtlib_decl @291 - Z3_get_smtlib_num_sorts @292 - Z3_get_smtlib_sort @293 - Z3_get_smtlib_error @294 - Z3_parse_z3_string @295 - Z3_parse_z3_file @296 - Z3_get_error_code @297 - Z3_set_error_handler @298 - Z3_set_error @299 - Z3_get_error_msg @300 - Z3_get_error_msg_ex @301 - Z3_get_version @302 - Z3_reset_memory @303 - Z3_mk_theory @304 - Z3_theory_get_ext_data @305 - Z3_theory_mk_sort @306 - Z3_theory_mk_value @307 - Z3_theory_mk_constant @308 - Z3_theory_mk_func_decl @309 - Z3_theory_get_context @310 - Z3_set_delete_callback @311 - Z3_set_reduce_app_callback @312 - Z3_set_reduce_eq_callback @313 - Z3_set_reduce_distinct_callback @314 - Z3_set_new_app_callback @315 - Z3_set_new_elem_callback @316 - Z3_set_init_search_callback @317 - Z3_set_push_callback @318 - Z3_set_pop_callback @319 - Z3_set_restart_callback @320 - Z3_set_reset_callback @321 - Z3_set_final_check_callback @322 - Z3_set_new_eq_callback @323 - Z3_set_new_diseq_callback @324 - Z3_set_new_assignment_callback @325 - Z3_set_new_relevant_callback @326 - Z3_theory_assert_axiom @327 - Z3_theory_assume_eq @328 - Z3_theory_enable_axiom_simplification @329 - Z3_theory_get_eqc_root @330 - Z3_theory_get_eqc_next @331 - Z3_theory_get_num_parents @332 - Z3_theory_get_parent @333 - Z3_theory_is_value @334 - Z3_theory_is_decl @335 - Z3_theory_get_num_elems @336 - Z3_theory_get_elem @337 - Z3_theory_get_num_apps @338 - Z3_theory_get_app @339 - Z3_mk_fixedpoint @340 - Z3_fixedpoint_inc_ref @341 - Z3_fixedpoint_dec_ref @342 - Z3_fixedpoint_add_rule @343 - Z3_fixedpoint_add_fact @344 - Z3_fixedpoint_assert @345 - Z3_fixedpoint_query @346 - Z3_fixedpoint_query_relations @347 - Z3_fixedpoint_get_answer @348 - Z3_fixedpoint_get_reason_unknown @349 - Z3_fixedpoint_update_rule @350 - Z3_fixedpoint_get_num_levels @351 - Z3_fixedpoint_get_cover_delta @352 - Z3_fixedpoint_add_cover @353 - Z3_fixedpoint_get_statistics @354 - Z3_fixedpoint_register_relation @355 - Z3_fixedpoint_set_predicate_representation @356 - Z3_fixedpoint_simplify_rules @357 - Z3_fixedpoint_set_params @358 - Z3_fixedpoint_get_help @359 - Z3_fixedpoint_get_param_descrs @360 - Z3_fixedpoint_to_string @361 - Z3_fixedpoint_push @362 - Z3_fixedpoint_pop @363 - Z3_fixedpoint_init @364 - Z3_fixedpoint_set_reduce_assign_callback @365 - Z3_fixedpoint_set_reduce_app_callback @366 - Z3_mk_ast_vector @367 - Z3_ast_vector_inc_ref @368 - Z3_ast_vector_dec_ref @369 - Z3_ast_vector_size @370 - Z3_ast_vector_get @371 - Z3_ast_vector_set @372 - Z3_ast_vector_resize @373 - Z3_ast_vector_push @374 - Z3_ast_vector_translate @375 - Z3_ast_vector_to_string @376 - Z3_mk_ast_map @377 - Z3_ast_map_inc_ref @378 - Z3_ast_map_dec_ref @379 - Z3_ast_map_contains @380 - Z3_ast_map_find @381 - Z3_ast_map_insert @382 - Z3_ast_map_erase @383 - Z3_ast_map_reset @384 - Z3_ast_map_size @385 - Z3_ast_map_keys @386 - Z3_ast_map_to_string @387 - Z3_mk_goal @388 - Z3_goal_inc_ref @389 - Z3_goal_dec_ref @390 - Z3_goal_precision @391 - Z3_goal_assert @392 - Z3_goal_inconsistent @393 - Z3_goal_depth @394 - Z3_goal_reset @395 - Z3_goal_size @396 - Z3_goal_formula @397 - Z3_goal_num_exprs @398 - Z3_goal_is_decided_sat @399 - Z3_goal_is_decided_unsat @400 - Z3_goal_translate @401 - Z3_goal_to_string @402 - Z3_mk_tactic @403 - Z3_tactic_inc_ref @404 - Z3_tactic_dec_ref @405 - Z3_mk_probe @406 - Z3_probe_inc_ref @407 - Z3_probe_dec_ref @408 - Z3_tactic_and_then @409 - Z3_tactic_or_else @410 - Z3_tactic_par_or @411 - Z3_tactic_par_and_then @412 - Z3_tactic_try_for @413 - Z3_tactic_when @414 - Z3_tactic_cond @415 - Z3_tactic_repeat @416 - Z3_tactic_skip @417 - Z3_tactic_fail @418 - Z3_tactic_fail_if @419 - Z3_tactic_fail_if_not_decided @420 - Z3_tactic_using_params @421 - Z3_probe_const @422 - Z3_probe_lt @423 - Z3_probe_gt @424 - Z3_probe_le @425 - Z3_probe_ge @426 - Z3_probe_eq @427 - Z3_probe_and @428 - Z3_probe_or @429 - Z3_probe_not @430 - Z3_get_num_tactics @431 - Z3_get_tactic_name @432 - Z3_get_num_probes @433 - Z3_get_probe_name @434 - Z3_tactic_get_help @435 - Z3_tactic_get_param_descrs @436 - Z3_tactic_get_descr @437 - Z3_probe_get_descr @438 - Z3_probe_apply @439 - Z3_tactic_apply @440 - Z3_tactic_apply_ex @441 - Z3_apply_result_inc_ref @442 - Z3_apply_result_dec_ref @443 - Z3_apply_result_to_string @444 - Z3_apply_result_get_num_subgoals @445 - Z3_apply_result_get_subgoal @446 - Z3_apply_result_convert_model @447 - Z3_mk_solver @448 - Z3_mk_simple_solver @449 - Z3_mk_solver_for_logic @450 - Z3_mk_solver_from_tactic @451 - Z3_solver_get_help @452 - Z3_solver_get_param_descrs @453 - Z3_solver_set_params @454 - Z3_solver_inc_ref @455 - Z3_solver_dec_ref @456 - Z3_solver_push @457 - Z3_solver_pop @458 - Z3_solver_reset @459 - Z3_solver_get_num_scopes @460 - Z3_solver_assert @461 - Z3_solver_get_assertions @462 - Z3_solver_check @463 - Z3_solver_check_assumptions @464 - Z3_solver_get_model @465 - Z3_solver_get_proof @466 - Z3_solver_get_unsat_core @467 - Z3_solver_get_reason_unknown @468 - Z3_solver_get_statistics @469 - Z3_solver_to_string @470 - Z3_stats_to_string @471 - Z3_stats_inc_ref @472 - Z3_stats_dec_ref @473 - Z3_stats_size @474 - Z3_stats_get_key @475 - Z3_stats_is_uint @476 - Z3_stats_is_double @477 - Z3_stats_get_uint_value @478 - Z3_stats_get_double_value @479 - Z3_mk_injective_function @480 - Z3_set_logic @481 - Z3_push @482 - Z3_pop @483 - Z3_get_num_scopes @484 - Z3_persist_ast @485 - Z3_assert_cnstr @486 - Z3_check_and_get_model @487 - Z3_check @488 - Z3_check_assumptions @489 - Z3_get_implied_equalities @490 - Z3_del_model @491 - Z3_soft_check_cancel @492 - Z3_get_search_failure @493 - Z3_mk_label @494 - Z3_get_relevant_labels @495 - Z3_get_relevant_literals @496 - Z3_get_guessed_literals @497 - Z3_del_literals @498 - Z3_get_num_literals @499 - Z3_get_label_symbol @500 - Z3_get_literal @501 - Z3_disable_literal @502 - Z3_block_literals @503 - Z3_get_model_num_constants @504 - Z3_get_model_constant @505 - Z3_get_model_num_funcs @506 - Z3_get_model_func_decl @507 - Z3_eval_func_decl @508 - Z3_is_array_value @509 - Z3_get_array_value @510 - Z3_get_model_func_else @511 - Z3_get_model_func_num_entries @512 - Z3_get_model_func_entry_num_args @513 - Z3_get_model_func_entry_arg @514 - Z3_get_model_func_entry_value @515 - Z3_eval @516 - Z3_eval_decl @517 - Z3_context_to_string @518 - Z3_statistics_to_string @519 - Z3_get_context_assignment @520 +LIBRARY "Z3" +EXPORTS + Z3_mk_config @1 + Z3_del_config @2 + Z3_set_param_value @3 + Z3_mk_context @4 + Z3_mk_context_rc @5 + Z3_del_context @6 + Z3_inc_ref @7 + Z3_dec_ref @8 + Z3_update_param_value @9 + Z3_get_param_value @10 + Z3_interrupt @11 + Z3_mk_params @12 + Z3_params_inc_ref @13 + Z3_params_dec_ref @14 + Z3_params_set_bool @15 + Z3_params_set_uint @16 + Z3_params_set_double @17 + Z3_params_set_symbol @18 + Z3_params_to_string @19 + Z3_params_validate @20 + Z3_param_descrs_inc_ref @21 + Z3_param_descrs_dec_ref @22 + Z3_param_descrs_get_kind @23 + Z3_param_descrs_size @24 + Z3_param_descrs_get_name @25 + Z3_param_descrs_to_string @26 + Z3_mk_int_symbol @27 + Z3_mk_string_symbol @28 + Z3_mk_uninterpreted_sort @29 + Z3_mk_bool_sort @30 + Z3_mk_int_sort @31 + Z3_mk_real_sort @32 + Z3_mk_bv_sort @33 + Z3_mk_finite_domain_sort @34 + Z3_mk_array_sort @35 + Z3_mk_tuple_sort @36 + Z3_mk_enumeration_sort @37 + Z3_mk_list_sort @38 + Z3_mk_constructor @39 + Z3_del_constructor @40 + Z3_mk_datatype @41 + Z3_mk_constructor_list @42 + Z3_del_constructor_list @43 + Z3_mk_datatypes @44 + Z3_query_constructor @45 + Z3_mk_func_decl @46 + Z3_mk_app @47 + Z3_mk_const @48 + Z3_mk_fresh_func_decl @49 + Z3_mk_fresh_const @50 + Z3_mk_true @51 + Z3_mk_false @52 + Z3_mk_eq @53 + Z3_mk_distinct @54 + Z3_mk_not @55 + Z3_mk_ite @56 + Z3_mk_iff @57 + Z3_mk_implies @58 + Z3_mk_xor @59 + Z3_mk_and @60 + Z3_mk_or @61 + Z3_mk_add @62 + Z3_mk_mul @63 + Z3_mk_sub @64 + Z3_mk_unary_minus @65 + Z3_mk_div @66 + Z3_mk_mod @67 + Z3_mk_rem @68 + Z3_mk_power @69 + Z3_mk_lt @70 + Z3_mk_le @71 + Z3_mk_gt @72 + Z3_mk_ge @73 + Z3_mk_int2real @74 + Z3_mk_real2int @75 + Z3_mk_is_int @76 + Z3_mk_bvnot @77 + Z3_mk_bvredand @78 + Z3_mk_bvredor @79 + Z3_mk_bvand @80 + Z3_mk_bvor @81 + Z3_mk_bvxor @82 + Z3_mk_bvnand @83 + Z3_mk_bvnor @84 + Z3_mk_bvxnor @85 + Z3_mk_bvneg @86 + Z3_mk_bvadd @87 + Z3_mk_bvsub @88 + Z3_mk_bvmul @89 + Z3_mk_bvudiv @90 + Z3_mk_bvsdiv @91 + Z3_mk_bvurem @92 + Z3_mk_bvsrem @93 + Z3_mk_bvsmod @94 + Z3_mk_bvult @95 + Z3_mk_bvslt @96 + Z3_mk_bvule @97 + Z3_mk_bvsle @98 + Z3_mk_bvuge @99 + Z3_mk_bvsge @100 + Z3_mk_bvugt @101 + Z3_mk_bvsgt @102 + Z3_mk_concat @103 + Z3_mk_extract @104 + Z3_mk_sign_ext @105 + Z3_mk_zero_ext @106 + Z3_mk_repeat @107 + Z3_mk_bvshl @108 + Z3_mk_bvlshr @109 + Z3_mk_bvashr @110 + Z3_mk_rotate_left @111 + Z3_mk_rotate_right @112 + Z3_mk_ext_rotate_left @113 + Z3_mk_ext_rotate_right @114 + Z3_mk_int2bv @115 + Z3_mk_bv2int @116 + Z3_mk_bvadd_no_overflow @117 + Z3_mk_bvadd_no_underflow @118 + Z3_mk_bvsub_no_overflow @119 + Z3_mk_bvsub_no_underflow @120 + Z3_mk_bvsdiv_no_overflow @121 + Z3_mk_bvneg_no_overflow @122 + Z3_mk_bvmul_no_overflow @123 + Z3_mk_bvmul_no_underflow @124 + Z3_mk_select @125 + Z3_mk_store @126 + Z3_mk_const_array @127 + Z3_mk_map @128 + Z3_mk_array_default @129 + Z3_mk_set_sort @130 + Z3_mk_empty_set @131 + Z3_mk_full_set @132 + Z3_mk_set_add @133 + Z3_mk_set_del @134 + Z3_mk_set_union @135 + Z3_mk_set_intersect @136 + Z3_mk_set_difference @137 + Z3_mk_set_complement @138 + Z3_mk_set_member @139 + Z3_mk_set_subset @140 + Z3_mk_numeral @141 + Z3_mk_real @142 + Z3_mk_int @143 + Z3_mk_unsigned_int @144 + Z3_mk_int64 @145 + Z3_mk_unsigned_int64 @146 + Z3_mk_pattern @147 + Z3_mk_bound @148 + Z3_mk_forall @149 + Z3_mk_exists @150 + Z3_mk_quantifier @151 + Z3_mk_quantifier_ex @152 + Z3_mk_forall_const @153 + Z3_mk_exists_const @154 + Z3_mk_quantifier_const @155 + Z3_mk_quantifier_const_ex @156 + Z3_get_symbol_kind @157 + Z3_get_symbol_int @158 + Z3_get_symbol_string @159 + Z3_get_sort_name @160 + Z3_get_sort_id @161 + Z3_sort_to_ast @162 + Z3_is_eq_sort @163 + Z3_get_sort_kind @164 + Z3_get_bv_sort_size @165 + Z3_get_finite_domain_sort_size @166 + Z3_get_array_sort_domain @167 + Z3_get_array_sort_range @168 + Z3_get_tuple_sort_mk_decl @169 + Z3_get_tuple_sort_num_fields @170 + Z3_get_tuple_sort_field_decl @171 + Z3_get_datatype_sort_num_constructors @172 + Z3_get_datatype_sort_constructor @173 + Z3_get_datatype_sort_recognizer @174 + Z3_get_datatype_sort_constructor_accessor @175 + Z3_get_relation_arity @176 + Z3_get_relation_column @177 + Z3_func_decl_to_ast @178 + Z3_is_eq_func_decl @179 + Z3_get_func_decl_id @180 + Z3_get_decl_name @181 + Z3_get_decl_kind @182 + Z3_get_domain_size @183 + Z3_get_arity @184 + Z3_get_domain @185 + Z3_get_range @186 + Z3_get_decl_num_parameters @187 + Z3_get_decl_parameter_kind @188 + Z3_get_decl_int_parameter @189 + Z3_get_decl_double_parameter @190 + Z3_get_decl_symbol_parameter @191 + Z3_get_decl_sort_parameter @192 + Z3_get_decl_ast_parameter @193 + Z3_get_decl_func_decl_parameter @194 + Z3_get_decl_rational_parameter @195 + Z3_app_to_ast @196 + Z3_get_app_decl @197 + Z3_get_app_num_args @198 + Z3_get_app_arg @199 + Z3_is_eq_ast @200 + Z3_get_ast_id @201 + Z3_get_ast_hash @202 + Z3_get_sort @203 + Z3_is_well_sorted @204 + Z3_get_bool_value @205 + Z3_get_ast_kind @206 + Z3_is_app @207 + Z3_is_numeral_ast @208 + Z3_is_algebraic_number @209 + Z3_to_app @210 + Z3_to_func_decl @211 + Z3_get_numeral_string @212 + Z3_get_numeral_decimal_string @213 + Z3_get_numerator @214 + Z3_get_denominator @215 + Z3_get_numeral_small @216 + Z3_get_numeral_int @217 + Z3_get_numeral_uint @218 + Z3_get_numeral_uint64 @219 + Z3_get_numeral_int64 @220 + Z3_get_numeral_rational_int64 @221 + Z3_get_algebraic_number_lower @222 + Z3_get_algebraic_number_upper @223 + Z3_pattern_to_ast @224 + Z3_get_pattern_num_terms @225 + Z3_get_pattern @226 + Z3_get_index_value @227 + Z3_is_quantifier_forall @228 + Z3_get_quantifier_weight @229 + Z3_get_quantifier_num_patterns @230 + Z3_get_quantifier_pattern_ast @231 + Z3_get_quantifier_num_no_patterns @232 + Z3_get_quantifier_no_pattern_ast @233 + Z3_get_quantifier_num_bound @234 + Z3_get_quantifier_bound_name @235 + Z3_get_quantifier_bound_sort @236 + Z3_get_quantifier_body @237 + Z3_simplify @238 + Z3_simplify_ex @239 + Z3_simplify_get_help @240 + Z3_simplify_get_param_descrs @241 + Z3_update_term @242 + Z3_substitute @243 + Z3_substitute_vars @244 + Z3_translate @245 + Z3_model_inc_ref @246 + Z3_model_dec_ref @247 + Z3_model_eval @248 + Z3_model_get_const_interp @249 + Z3_model_get_func_interp @250 + Z3_model_get_num_consts @251 + Z3_model_get_const_decl @252 + Z3_model_get_num_funcs @253 + Z3_model_get_func_decl @254 + Z3_model_get_num_sorts @255 + Z3_model_get_sort @256 + Z3_model_get_sort_universe @257 + Z3_is_as_array @258 + Z3_get_as_array_func_decl @259 + Z3_func_interp_inc_ref @260 + Z3_func_interp_dec_ref @261 + Z3_func_interp_get_num_entries @262 + Z3_func_interp_get_entry @263 + Z3_func_interp_get_else @264 + Z3_func_interp_get_arity @265 + Z3_func_entry_inc_ref @266 + Z3_func_entry_dec_ref @267 + Z3_func_entry_get_value @268 + Z3_func_entry_get_num_args @269 + Z3_func_entry_get_arg @270 + Z3_open_log @271 + Z3_append_log @272 + Z3_close_log @273 + Z3_toggle_warning_messages @274 + Z3_set_ast_print_mode @275 + Z3_ast_to_string @276 + Z3_pattern_to_string @277 + Z3_sort_to_string @278 + Z3_func_decl_to_string @279 + Z3_model_to_string @280 + Z3_benchmark_to_smtlib_string @281 + Z3_parse_smtlib2_string @282 + Z3_parse_smtlib2_file @283 + Z3_parse_smtlib_string @284 + Z3_parse_smtlib_file @285 + Z3_get_smtlib_num_formulas @286 + Z3_get_smtlib_formula @287 + Z3_get_smtlib_num_assumptions @288 + Z3_get_smtlib_assumption @289 + Z3_get_smtlib_num_decls @290 + Z3_get_smtlib_decl @291 + Z3_get_smtlib_num_sorts @292 + Z3_get_smtlib_sort @293 + Z3_get_smtlib_error @294 + Z3_parse_z3_string @295 + Z3_parse_z3_file @296 + Z3_get_error_code @297 + Z3_set_error_handler @298 + Z3_set_error @299 + Z3_get_error_msg @300 + Z3_get_error_msg_ex @301 + Z3_get_version @302 + Z3_reset_memory @303 + Z3_mk_theory @304 + Z3_theory_get_ext_data @305 + Z3_theory_mk_sort @306 + Z3_theory_mk_value @307 + Z3_theory_mk_constant @308 + Z3_theory_mk_func_decl @309 + Z3_theory_get_context @310 + Z3_set_delete_callback @311 + Z3_set_reduce_app_callback @312 + Z3_set_reduce_eq_callback @313 + Z3_set_reduce_distinct_callback @314 + Z3_set_new_app_callback @315 + Z3_set_new_elem_callback @316 + Z3_set_init_search_callback @317 + Z3_set_push_callback @318 + Z3_set_pop_callback @319 + Z3_set_restart_callback @320 + Z3_set_reset_callback @321 + Z3_set_final_check_callback @322 + Z3_set_new_eq_callback @323 + Z3_set_new_diseq_callback @324 + Z3_set_new_assignment_callback @325 + Z3_set_new_relevant_callback @326 + Z3_theory_assert_axiom @327 + Z3_theory_assume_eq @328 + Z3_theory_enable_axiom_simplification @329 + Z3_theory_get_eqc_root @330 + Z3_theory_get_eqc_next @331 + Z3_theory_get_num_parents @332 + Z3_theory_get_parent @333 + Z3_theory_is_value @334 + Z3_theory_is_decl @335 + Z3_theory_get_num_elems @336 + Z3_theory_get_elem @337 + Z3_theory_get_num_apps @338 + Z3_theory_get_app @339 + Z3_mk_fixedpoint @340 + Z3_fixedpoint_inc_ref @341 + Z3_fixedpoint_dec_ref @342 + Z3_fixedpoint_add_rule @343 + Z3_fixedpoint_add_fact @344 + Z3_fixedpoint_assert @345 + Z3_fixedpoint_query @346 + Z3_fixedpoint_query_relations @347 + Z3_fixedpoint_get_answer @348 + Z3_fixedpoint_get_reason_unknown @349 + Z3_fixedpoint_update_rule @350 + Z3_fixedpoint_get_num_levels @351 + Z3_fixedpoint_get_cover_delta @352 + Z3_fixedpoint_add_cover @353 + Z3_fixedpoint_get_statistics @354 + Z3_fixedpoint_register_relation @355 + Z3_fixedpoint_set_predicate_representation @356 + Z3_fixedpoint_simplify_rules @357 + Z3_fixedpoint_set_params @358 + Z3_fixedpoint_get_help @359 + Z3_fixedpoint_get_param_descrs @360 + Z3_fixedpoint_to_string @361 + Z3_fixedpoint_push @362 + Z3_fixedpoint_pop @363 + Z3_fixedpoint_init @364 + Z3_fixedpoint_set_reduce_assign_callback @365 + Z3_fixedpoint_set_reduce_app_callback @366 + Z3_mk_ast_vector @367 + Z3_ast_vector_inc_ref @368 + Z3_ast_vector_dec_ref @369 + Z3_ast_vector_size @370 + Z3_ast_vector_get @371 + Z3_ast_vector_set @372 + Z3_ast_vector_resize @373 + Z3_ast_vector_push @374 + Z3_ast_vector_translate @375 + Z3_ast_vector_to_string @376 + Z3_mk_ast_map @377 + Z3_ast_map_inc_ref @378 + Z3_ast_map_dec_ref @379 + Z3_ast_map_contains @380 + Z3_ast_map_find @381 + Z3_ast_map_insert @382 + Z3_ast_map_erase @383 + Z3_ast_map_reset @384 + Z3_ast_map_size @385 + Z3_ast_map_keys @386 + Z3_ast_map_to_string @387 + Z3_mk_goal @388 + Z3_goal_inc_ref @389 + Z3_goal_dec_ref @390 + Z3_goal_precision @391 + Z3_goal_assert @392 + Z3_goal_inconsistent @393 + Z3_goal_depth @394 + Z3_goal_reset @395 + Z3_goal_size @396 + Z3_goal_formula @397 + Z3_goal_num_exprs @398 + Z3_goal_is_decided_sat @399 + Z3_goal_is_decided_unsat @400 + Z3_goal_translate @401 + Z3_goal_to_string @402 + Z3_mk_tactic @403 + Z3_tactic_inc_ref @404 + Z3_tactic_dec_ref @405 + Z3_mk_probe @406 + Z3_probe_inc_ref @407 + Z3_probe_dec_ref @408 + Z3_tactic_and_then @409 + Z3_tactic_or_else @410 + Z3_tactic_par_or @411 + Z3_tactic_par_and_then @412 + Z3_tactic_try_for @413 + Z3_tactic_when @414 + Z3_tactic_cond @415 + Z3_tactic_repeat @416 + Z3_tactic_skip @417 + Z3_tactic_fail @418 + Z3_tactic_fail_if @419 + Z3_tactic_fail_if_not_decided @420 + Z3_tactic_using_params @421 + Z3_probe_const @422 + Z3_probe_lt @423 + Z3_probe_gt @424 + Z3_probe_le @425 + Z3_probe_ge @426 + Z3_probe_eq @427 + Z3_probe_and @428 + Z3_probe_or @429 + Z3_probe_not @430 + Z3_get_num_tactics @431 + Z3_get_tactic_name @432 + Z3_get_num_probes @433 + Z3_get_probe_name @434 + Z3_tactic_get_help @435 + Z3_tactic_get_param_descrs @436 + Z3_tactic_get_descr @437 + Z3_probe_get_descr @438 + Z3_probe_apply @439 + Z3_tactic_apply @440 + Z3_tactic_apply_ex @441 + Z3_apply_result_inc_ref @442 + Z3_apply_result_dec_ref @443 + Z3_apply_result_to_string @444 + Z3_apply_result_get_num_subgoals @445 + Z3_apply_result_get_subgoal @446 + Z3_apply_result_convert_model @447 + Z3_mk_solver @448 + Z3_mk_simple_solver @449 + Z3_mk_solver_for_logic @450 + Z3_mk_solver_from_tactic @451 + Z3_solver_get_help @452 + Z3_solver_get_param_descrs @453 + Z3_solver_set_params @454 + Z3_solver_inc_ref @455 + Z3_solver_dec_ref @456 + Z3_solver_push @457 + Z3_solver_pop @458 + Z3_solver_reset @459 + Z3_solver_get_num_scopes @460 + Z3_solver_assert @461 + Z3_solver_get_assertions @462 + Z3_solver_check @463 + Z3_solver_check_assumptions @464 + Z3_solver_get_model @465 + Z3_solver_get_proof @466 + Z3_solver_get_unsat_core @467 + Z3_solver_get_reason_unknown @468 + Z3_solver_get_statistics @469 + Z3_solver_to_string @470 + Z3_stats_to_string @471 + Z3_stats_inc_ref @472 + Z3_stats_dec_ref @473 + Z3_stats_size @474 + Z3_stats_get_key @475 + Z3_stats_is_uint @476 + Z3_stats_is_double @477 + Z3_stats_get_uint_value @478 + Z3_stats_get_double_value @479 + Z3_mk_injective_function @480 + Z3_set_logic @481 + Z3_push @482 + Z3_pop @483 + Z3_get_num_scopes @484 + Z3_persist_ast @485 + Z3_assert_cnstr @486 + Z3_check_and_get_model @487 + Z3_check @488 + Z3_check_assumptions @489 + Z3_get_implied_equalities @490 + Z3_del_model @491 + Z3_soft_check_cancel @492 + Z3_get_search_failure @493 + Z3_mk_label @494 + Z3_get_relevant_labels @495 + Z3_get_relevant_literals @496 + Z3_get_guessed_literals @497 + Z3_del_literals @498 + Z3_get_num_literals @499 + Z3_get_label_symbol @500 + Z3_get_literal @501 + Z3_disable_literal @502 + Z3_block_literals @503 + Z3_get_model_num_constants @504 + Z3_get_model_constant @505 + Z3_get_model_num_funcs @506 + Z3_get_model_func_decl @507 + Z3_eval_func_decl @508 + Z3_is_array_value @509 + Z3_get_array_value @510 + Z3_get_model_func_else @511 + Z3_get_model_func_num_entries @512 + Z3_get_model_func_entry_num_args @513 + Z3_get_model_func_entry_arg @514 + Z3_get_model_func_entry_value @515 + Z3_eval @516 + Z3_eval_decl @517 + Z3_context_to_string @518 + Z3_statistics_to_string @519 + Z3_get_context_assignment @520 diff --git a/dll/z3_dbg.def b/dll/z3_dbg.def index e74292bd3..1de8e7e31 100644 --- a/dll/z3_dbg.def +++ b/dll/z3_dbg.def @@ -1,522 +1,522 @@ -LIBRARY "Z3_DBG" -EXPORTS - Z3_mk_config @1 - Z3_del_config @2 - Z3_set_param_value @3 - Z3_mk_context @4 - Z3_mk_context_rc @5 - Z3_del_context @6 - Z3_inc_ref @7 - Z3_dec_ref @8 - Z3_update_param_value @9 - Z3_get_param_value @10 - Z3_interrupt @11 - Z3_mk_params @12 - Z3_params_inc_ref @13 - Z3_params_dec_ref @14 - Z3_params_set_bool @15 - Z3_params_set_uint @16 - Z3_params_set_double @17 - Z3_params_set_symbol @18 - Z3_params_to_string @19 - Z3_params_validate @20 - Z3_param_descrs_inc_ref @21 - Z3_param_descrs_dec_ref @22 - Z3_param_descrs_get_kind @23 - Z3_param_descrs_size @24 - Z3_param_descrs_get_name @25 - Z3_param_descrs_to_string @26 - Z3_mk_int_symbol @27 - Z3_mk_string_symbol @28 - Z3_mk_uninterpreted_sort @29 - Z3_mk_bool_sort @30 - Z3_mk_int_sort @31 - Z3_mk_real_sort @32 - Z3_mk_bv_sort @33 - Z3_mk_finite_domain_sort @34 - Z3_mk_array_sort @35 - Z3_mk_tuple_sort @36 - Z3_mk_enumeration_sort @37 - Z3_mk_list_sort @38 - Z3_mk_constructor @39 - Z3_del_constructor @40 - Z3_mk_datatype @41 - Z3_mk_constructor_list @42 - Z3_del_constructor_list @43 - Z3_mk_datatypes @44 - Z3_query_constructor @45 - Z3_mk_func_decl @46 - Z3_mk_app @47 - Z3_mk_const @48 - Z3_mk_fresh_func_decl @49 - Z3_mk_fresh_const @50 - Z3_mk_true @51 - Z3_mk_false @52 - Z3_mk_eq @53 - Z3_mk_distinct @54 - Z3_mk_not @55 - Z3_mk_ite @56 - Z3_mk_iff @57 - Z3_mk_implies @58 - Z3_mk_xor @59 - Z3_mk_and @60 - Z3_mk_or @61 - Z3_mk_add @62 - Z3_mk_mul @63 - Z3_mk_sub @64 - Z3_mk_unary_minus @65 - Z3_mk_div @66 - Z3_mk_mod @67 - Z3_mk_rem @68 - Z3_mk_power @69 - Z3_mk_lt @70 - Z3_mk_le @71 - Z3_mk_gt @72 - Z3_mk_ge @73 - Z3_mk_int2real @74 - Z3_mk_real2int @75 - Z3_mk_is_int @76 - Z3_mk_bvnot @77 - Z3_mk_bvredand @78 - Z3_mk_bvredor @79 - Z3_mk_bvand @80 - Z3_mk_bvor @81 - Z3_mk_bvxor @82 - Z3_mk_bvnand @83 - Z3_mk_bvnor @84 - Z3_mk_bvxnor @85 - Z3_mk_bvneg @86 - Z3_mk_bvadd @87 - Z3_mk_bvsub @88 - Z3_mk_bvmul @89 - Z3_mk_bvudiv @90 - Z3_mk_bvsdiv @91 - Z3_mk_bvurem @92 - Z3_mk_bvsrem @93 - Z3_mk_bvsmod @94 - Z3_mk_bvult @95 - Z3_mk_bvslt @96 - Z3_mk_bvule @97 - Z3_mk_bvsle @98 - Z3_mk_bvuge @99 - Z3_mk_bvsge @100 - Z3_mk_bvugt @101 - Z3_mk_bvsgt @102 - Z3_mk_concat @103 - Z3_mk_extract @104 - Z3_mk_sign_ext @105 - Z3_mk_zero_ext @106 - Z3_mk_repeat @107 - Z3_mk_bvshl @108 - Z3_mk_bvlshr @109 - Z3_mk_bvashr @110 - Z3_mk_rotate_left @111 - Z3_mk_rotate_right @112 - Z3_mk_ext_rotate_left @113 - Z3_mk_ext_rotate_right @114 - Z3_mk_int2bv @115 - Z3_mk_bv2int @116 - Z3_mk_bvadd_no_overflow @117 - Z3_mk_bvadd_no_underflow @118 - Z3_mk_bvsub_no_overflow @119 - Z3_mk_bvsub_no_underflow @120 - Z3_mk_bvsdiv_no_overflow @121 - Z3_mk_bvneg_no_overflow @122 - Z3_mk_bvmul_no_overflow @123 - Z3_mk_bvmul_no_underflow @124 - Z3_mk_select @125 - Z3_mk_store @126 - Z3_mk_const_array @127 - Z3_mk_map @128 - Z3_mk_array_default @129 - Z3_mk_set_sort @130 - Z3_mk_empty_set @131 - Z3_mk_full_set @132 - Z3_mk_set_add @133 - Z3_mk_set_del @134 - Z3_mk_set_union @135 - Z3_mk_set_intersect @136 - Z3_mk_set_difference @137 - Z3_mk_set_complement @138 - Z3_mk_set_member @139 - Z3_mk_set_subset @140 - Z3_mk_numeral @141 - Z3_mk_real @142 - Z3_mk_int @143 - Z3_mk_unsigned_int @144 - Z3_mk_int64 @145 - Z3_mk_unsigned_int64 @146 - Z3_mk_pattern @147 - Z3_mk_bound @148 - Z3_mk_forall @149 - Z3_mk_exists @150 - Z3_mk_quantifier @151 - Z3_mk_quantifier_ex @152 - Z3_mk_forall_const @153 - Z3_mk_exists_const @154 - Z3_mk_quantifier_const @155 - Z3_mk_quantifier_const_ex @156 - Z3_get_symbol_kind @157 - Z3_get_symbol_int @158 - Z3_get_symbol_string @159 - Z3_get_sort_name @160 - Z3_get_sort_id @161 - Z3_sort_to_ast @162 - Z3_is_eq_sort @163 - Z3_get_sort_kind @164 - Z3_get_bv_sort_size @165 - Z3_get_finite_domain_sort_size @166 - Z3_get_array_sort_domain @167 - Z3_get_array_sort_range @168 - Z3_get_tuple_sort_mk_decl @169 - Z3_get_tuple_sort_num_fields @170 - Z3_get_tuple_sort_field_decl @171 - Z3_get_datatype_sort_num_constructors @172 - Z3_get_datatype_sort_constructor @173 - Z3_get_datatype_sort_recognizer @174 - Z3_get_datatype_sort_constructor_accessor @175 - Z3_get_relation_arity @176 - Z3_get_relation_column @177 - Z3_func_decl_to_ast @178 - Z3_is_eq_func_decl @179 - Z3_get_func_decl_id @180 - Z3_get_decl_name @181 - Z3_get_decl_kind @182 - Z3_get_domain_size @183 - Z3_get_arity @184 - Z3_get_domain @185 - Z3_get_range @186 - Z3_get_decl_num_parameters @187 - Z3_get_decl_parameter_kind @188 - Z3_get_decl_int_parameter @189 - Z3_get_decl_double_parameter @190 - Z3_get_decl_symbol_parameter @191 - Z3_get_decl_sort_parameter @192 - Z3_get_decl_ast_parameter @193 - Z3_get_decl_func_decl_parameter @194 - Z3_get_decl_rational_parameter @195 - Z3_app_to_ast @196 - Z3_get_app_decl @197 - Z3_get_app_num_args @198 - Z3_get_app_arg @199 - Z3_is_eq_ast @200 - Z3_get_ast_id @201 - Z3_get_ast_hash @202 - Z3_get_sort @203 - Z3_is_well_sorted @204 - Z3_get_bool_value @205 - Z3_get_ast_kind @206 - Z3_is_app @207 - Z3_is_numeral_ast @208 - Z3_is_algebraic_number @209 - Z3_to_app @210 - Z3_to_func_decl @211 - Z3_get_numeral_string @212 - Z3_get_numeral_decimal_string @213 - Z3_get_numerator @214 - Z3_get_denominator @215 - Z3_get_numeral_small @216 - Z3_get_numeral_int @217 - Z3_get_numeral_uint @218 - Z3_get_numeral_uint64 @219 - Z3_get_numeral_int64 @220 - Z3_get_numeral_rational_int64 @221 - Z3_get_algebraic_number_lower @222 - Z3_get_algebraic_number_upper @223 - Z3_pattern_to_ast @224 - Z3_get_pattern_num_terms @225 - Z3_get_pattern @226 - Z3_get_index_value @227 - Z3_is_quantifier_forall @228 - Z3_get_quantifier_weight @229 - Z3_get_quantifier_num_patterns @230 - Z3_get_quantifier_pattern_ast @231 - Z3_get_quantifier_num_no_patterns @232 - Z3_get_quantifier_no_pattern_ast @233 - Z3_get_quantifier_num_bound @234 - Z3_get_quantifier_bound_name @235 - Z3_get_quantifier_bound_sort @236 - Z3_get_quantifier_body @237 - Z3_simplify @238 - Z3_simplify_ex @239 - Z3_simplify_get_help @240 - Z3_simplify_get_param_descrs @241 - Z3_update_term @242 - Z3_substitute @243 - Z3_substitute_vars @244 - Z3_translate @245 - Z3_model_inc_ref @246 - Z3_model_dec_ref @247 - Z3_model_eval @248 - Z3_model_get_const_interp @249 - Z3_model_get_func_interp @250 - Z3_model_get_num_consts @251 - Z3_model_get_const_decl @252 - Z3_model_get_num_funcs @253 - Z3_model_get_func_decl @254 - Z3_model_get_num_sorts @255 - Z3_model_get_sort @256 - Z3_model_get_sort_universe @257 - Z3_is_as_array @258 - Z3_get_as_array_func_decl @259 - Z3_func_interp_inc_ref @260 - Z3_func_interp_dec_ref @261 - Z3_func_interp_get_num_entries @262 - Z3_func_interp_get_entry @263 - Z3_func_interp_get_else @264 - Z3_func_interp_get_arity @265 - Z3_func_entry_inc_ref @266 - Z3_func_entry_dec_ref @267 - Z3_func_entry_get_value @268 - Z3_func_entry_get_num_args @269 - Z3_func_entry_get_arg @270 - Z3_open_log @271 - Z3_append_log @272 - Z3_close_log @273 - Z3_toggle_warning_messages @274 - Z3_set_ast_print_mode @275 - Z3_ast_to_string @276 - Z3_pattern_to_string @277 - Z3_sort_to_string @278 - Z3_func_decl_to_string @279 - Z3_model_to_string @280 - Z3_benchmark_to_smtlib_string @281 - Z3_parse_smtlib2_string @282 - Z3_parse_smtlib2_file @283 - Z3_parse_smtlib_string @284 - Z3_parse_smtlib_file @285 - Z3_get_smtlib_num_formulas @286 - Z3_get_smtlib_formula @287 - Z3_get_smtlib_num_assumptions @288 - Z3_get_smtlib_assumption @289 - Z3_get_smtlib_num_decls @290 - Z3_get_smtlib_decl @291 - Z3_get_smtlib_num_sorts @292 - Z3_get_smtlib_sort @293 - Z3_get_smtlib_error @294 - Z3_parse_z3_string @295 - Z3_parse_z3_file @296 - Z3_get_error_code @297 - Z3_set_error_handler @298 - Z3_set_error @299 - Z3_get_error_msg @300 - Z3_get_error_msg_ex @301 - Z3_get_version @302 - Z3_reset_memory @303 - Z3_mk_theory @304 - Z3_theory_get_ext_data @305 - Z3_theory_mk_sort @306 - Z3_theory_mk_value @307 - Z3_theory_mk_constant @308 - Z3_theory_mk_func_decl @309 - Z3_theory_get_context @310 - Z3_set_delete_callback @311 - Z3_set_reduce_app_callback @312 - Z3_set_reduce_eq_callback @313 - Z3_set_reduce_distinct_callback @314 - Z3_set_new_app_callback @315 - Z3_set_new_elem_callback @316 - Z3_set_init_search_callback @317 - Z3_set_push_callback @318 - Z3_set_pop_callback @319 - Z3_set_restart_callback @320 - Z3_set_reset_callback @321 - Z3_set_final_check_callback @322 - Z3_set_new_eq_callback @323 - Z3_set_new_diseq_callback @324 - Z3_set_new_assignment_callback @325 - Z3_set_new_relevant_callback @326 - Z3_theory_assert_axiom @327 - Z3_theory_assume_eq @328 - Z3_theory_enable_axiom_simplification @329 - Z3_theory_get_eqc_root @330 - Z3_theory_get_eqc_next @331 - Z3_theory_get_num_parents @332 - Z3_theory_get_parent @333 - Z3_theory_is_value @334 - Z3_theory_is_decl @335 - Z3_theory_get_num_elems @336 - Z3_theory_get_elem @337 - Z3_theory_get_num_apps @338 - Z3_theory_get_app @339 - Z3_mk_fixedpoint @340 - Z3_fixedpoint_inc_ref @341 - Z3_fixedpoint_dec_ref @342 - Z3_fixedpoint_add_rule @343 - Z3_fixedpoint_add_fact @344 - Z3_fixedpoint_assert @345 - Z3_fixedpoint_query @346 - Z3_fixedpoint_query_relations @347 - Z3_fixedpoint_get_answer @348 - Z3_fixedpoint_get_reason_unknown @349 - Z3_fixedpoint_update_rule @350 - Z3_fixedpoint_get_num_levels @351 - Z3_fixedpoint_get_cover_delta @352 - Z3_fixedpoint_add_cover @353 - Z3_fixedpoint_get_statistics @354 - Z3_fixedpoint_register_relation @355 - Z3_fixedpoint_set_predicate_representation @356 - Z3_fixedpoint_simplify_rules @357 - Z3_fixedpoint_set_params @358 - Z3_fixedpoint_get_help @359 - Z3_fixedpoint_get_param_descrs @360 - Z3_fixedpoint_to_string @361 - Z3_fixedpoint_push @362 - Z3_fixedpoint_pop @363 - Z3_fixedpoint_init @364 - Z3_fixedpoint_set_reduce_assign_callback @365 - Z3_fixedpoint_set_reduce_app_callback @366 - Z3_mk_ast_vector @367 - Z3_ast_vector_inc_ref @368 - Z3_ast_vector_dec_ref @369 - Z3_ast_vector_size @370 - Z3_ast_vector_get @371 - Z3_ast_vector_set @372 - Z3_ast_vector_resize @373 - Z3_ast_vector_push @374 - Z3_ast_vector_translate @375 - Z3_ast_vector_to_string @376 - Z3_mk_ast_map @377 - Z3_ast_map_inc_ref @378 - Z3_ast_map_dec_ref @379 - Z3_ast_map_contains @380 - Z3_ast_map_find @381 - Z3_ast_map_insert @382 - Z3_ast_map_erase @383 - Z3_ast_map_reset @384 - Z3_ast_map_size @385 - Z3_ast_map_keys @386 - Z3_ast_map_to_string @387 - Z3_mk_goal @388 - Z3_goal_inc_ref @389 - Z3_goal_dec_ref @390 - Z3_goal_precision @391 - Z3_goal_assert @392 - Z3_goal_inconsistent @393 - Z3_goal_depth @394 - Z3_goal_reset @395 - Z3_goal_size @396 - Z3_goal_formula @397 - Z3_goal_num_exprs @398 - Z3_goal_is_decided_sat @399 - Z3_goal_is_decided_unsat @400 - Z3_goal_translate @401 - Z3_goal_to_string @402 - Z3_mk_tactic @403 - Z3_tactic_inc_ref @404 - Z3_tactic_dec_ref @405 - Z3_mk_probe @406 - Z3_probe_inc_ref @407 - Z3_probe_dec_ref @408 - Z3_tactic_and_then @409 - Z3_tactic_or_else @410 - Z3_tactic_par_or @411 - Z3_tactic_par_and_then @412 - Z3_tactic_try_for @413 - Z3_tactic_when @414 - Z3_tactic_cond @415 - Z3_tactic_repeat @416 - Z3_tactic_skip @417 - Z3_tactic_fail @418 - Z3_tactic_fail_if @419 - Z3_tactic_fail_if_not_decided @420 - Z3_tactic_using_params @421 - Z3_probe_const @422 - Z3_probe_lt @423 - Z3_probe_gt @424 - Z3_probe_le @425 - Z3_probe_ge @426 - Z3_probe_eq @427 - Z3_probe_and @428 - Z3_probe_or @429 - Z3_probe_not @430 - Z3_get_num_tactics @431 - Z3_get_tactic_name @432 - Z3_get_num_probes @433 - Z3_get_probe_name @434 - Z3_tactic_get_help @435 - Z3_tactic_get_param_descrs @436 - Z3_tactic_get_descr @437 - Z3_probe_get_descr @438 - Z3_probe_apply @439 - Z3_tactic_apply @440 - Z3_tactic_apply_ex @441 - Z3_apply_result_inc_ref @442 - Z3_apply_result_dec_ref @443 - Z3_apply_result_to_string @444 - Z3_apply_result_get_num_subgoals @445 - Z3_apply_result_get_subgoal @446 - Z3_apply_result_convert_model @447 - Z3_mk_solver @448 - Z3_mk_simple_solver @449 - Z3_mk_solver_for_logic @450 - Z3_mk_solver_from_tactic @451 - Z3_solver_get_help @452 - Z3_solver_get_param_descrs @453 - Z3_solver_set_params @454 - Z3_solver_inc_ref @455 - Z3_solver_dec_ref @456 - Z3_solver_push @457 - Z3_solver_pop @458 - Z3_solver_reset @459 - Z3_solver_get_num_scopes @460 - Z3_solver_assert @461 - Z3_solver_get_assertions @462 - Z3_solver_check @463 - Z3_solver_check_assumptions @464 - Z3_solver_get_model @465 - Z3_solver_get_proof @466 - Z3_solver_get_unsat_core @467 - Z3_solver_get_reason_unknown @468 - Z3_solver_get_statistics @469 - Z3_solver_to_string @470 - Z3_stats_to_string @471 - Z3_stats_inc_ref @472 - Z3_stats_dec_ref @473 - Z3_stats_size @474 - Z3_stats_get_key @475 - Z3_stats_is_uint @476 - Z3_stats_is_double @477 - Z3_stats_get_uint_value @478 - Z3_stats_get_double_value @479 - Z3_mk_injective_function @480 - Z3_set_logic @481 - Z3_push @482 - Z3_pop @483 - Z3_get_num_scopes @484 - Z3_persist_ast @485 - Z3_assert_cnstr @486 - Z3_check_and_get_model @487 - Z3_check @488 - Z3_check_assumptions @489 - Z3_get_implied_equalities @490 - Z3_del_model @491 - Z3_soft_check_cancel @492 - Z3_get_search_failure @493 - Z3_mk_label @494 - Z3_get_relevant_labels @495 - Z3_get_relevant_literals @496 - Z3_get_guessed_literals @497 - Z3_del_literals @498 - Z3_get_num_literals @499 - Z3_get_label_symbol @500 - Z3_get_literal @501 - Z3_disable_literal @502 - Z3_block_literals @503 - Z3_get_model_num_constants @504 - Z3_get_model_constant @505 - Z3_get_model_num_funcs @506 - Z3_get_model_func_decl @507 - Z3_eval_func_decl @508 - Z3_is_array_value @509 - Z3_get_array_value @510 - Z3_get_model_func_else @511 - Z3_get_model_func_num_entries @512 - Z3_get_model_func_entry_num_args @513 - Z3_get_model_func_entry_arg @514 - Z3_get_model_func_entry_value @515 - Z3_eval @516 - Z3_eval_decl @517 - Z3_context_to_string @518 - Z3_statistics_to_string @519 - Z3_get_context_assignment @520 +LIBRARY "Z3_DBG" +EXPORTS + Z3_mk_config @1 + Z3_del_config @2 + Z3_set_param_value @3 + Z3_mk_context @4 + Z3_mk_context_rc @5 + Z3_del_context @6 + Z3_inc_ref @7 + Z3_dec_ref @8 + Z3_update_param_value @9 + Z3_get_param_value @10 + Z3_interrupt @11 + Z3_mk_params @12 + Z3_params_inc_ref @13 + Z3_params_dec_ref @14 + Z3_params_set_bool @15 + Z3_params_set_uint @16 + Z3_params_set_double @17 + Z3_params_set_symbol @18 + Z3_params_to_string @19 + Z3_params_validate @20 + Z3_param_descrs_inc_ref @21 + Z3_param_descrs_dec_ref @22 + Z3_param_descrs_get_kind @23 + Z3_param_descrs_size @24 + Z3_param_descrs_get_name @25 + Z3_param_descrs_to_string @26 + Z3_mk_int_symbol @27 + Z3_mk_string_symbol @28 + Z3_mk_uninterpreted_sort @29 + Z3_mk_bool_sort @30 + Z3_mk_int_sort @31 + Z3_mk_real_sort @32 + Z3_mk_bv_sort @33 + Z3_mk_finite_domain_sort @34 + Z3_mk_array_sort @35 + Z3_mk_tuple_sort @36 + Z3_mk_enumeration_sort @37 + Z3_mk_list_sort @38 + Z3_mk_constructor @39 + Z3_del_constructor @40 + Z3_mk_datatype @41 + Z3_mk_constructor_list @42 + Z3_del_constructor_list @43 + Z3_mk_datatypes @44 + Z3_query_constructor @45 + Z3_mk_func_decl @46 + Z3_mk_app @47 + Z3_mk_const @48 + Z3_mk_fresh_func_decl @49 + Z3_mk_fresh_const @50 + Z3_mk_true @51 + Z3_mk_false @52 + Z3_mk_eq @53 + Z3_mk_distinct @54 + Z3_mk_not @55 + Z3_mk_ite @56 + Z3_mk_iff @57 + Z3_mk_implies @58 + Z3_mk_xor @59 + Z3_mk_and @60 + Z3_mk_or @61 + Z3_mk_add @62 + Z3_mk_mul @63 + Z3_mk_sub @64 + Z3_mk_unary_minus @65 + Z3_mk_div @66 + Z3_mk_mod @67 + Z3_mk_rem @68 + Z3_mk_power @69 + Z3_mk_lt @70 + Z3_mk_le @71 + Z3_mk_gt @72 + Z3_mk_ge @73 + Z3_mk_int2real @74 + Z3_mk_real2int @75 + Z3_mk_is_int @76 + Z3_mk_bvnot @77 + Z3_mk_bvredand @78 + Z3_mk_bvredor @79 + Z3_mk_bvand @80 + Z3_mk_bvor @81 + Z3_mk_bvxor @82 + Z3_mk_bvnand @83 + Z3_mk_bvnor @84 + Z3_mk_bvxnor @85 + Z3_mk_bvneg @86 + Z3_mk_bvadd @87 + Z3_mk_bvsub @88 + Z3_mk_bvmul @89 + Z3_mk_bvudiv @90 + Z3_mk_bvsdiv @91 + Z3_mk_bvurem @92 + Z3_mk_bvsrem @93 + Z3_mk_bvsmod @94 + Z3_mk_bvult @95 + Z3_mk_bvslt @96 + Z3_mk_bvule @97 + Z3_mk_bvsle @98 + Z3_mk_bvuge @99 + Z3_mk_bvsge @100 + Z3_mk_bvugt @101 + Z3_mk_bvsgt @102 + Z3_mk_concat @103 + Z3_mk_extract @104 + Z3_mk_sign_ext @105 + Z3_mk_zero_ext @106 + Z3_mk_repeat @107 + Z3_mk_bvshl @108 + Z3_mk_bvlshr @109 + Z3_mk_bvashr @110 + Z3_mk_rotate_left @111 + Z3_mk_rotate_right @112 + Z3_mk_ext_rotate_left @113 + Z3_mk_ext_rotate_right @114 + Z3_mk_int2bv @115 + Z3_mk_bv2int @116 + Z3_mk_bvadd_no_overflow @117 + Z3_mk_bvadd_no_underflow @118 + Z3_mk_bvsub_no_overflow @119 + Z3_mk_bvsub_no_underflow @120 + Z3_mk_bvsdiv_no_overflow @121 + Z3_mk_bvneg_no_overflow @122 + Z3_mk_bvmul_no_overflow @123 + Z3_mk_bvmul_no_underflow @124 + Z3_mk_select @125 + Z3_mk_store @126 + Z3_mk_const_array @127 + Z3_mk_map @128 + Z3_mk_array_default @129 + Z3_mk_set_sort @130 + Z3_mk_empty_set @131 + Z3_mk_full_set @132 + Z3_mk_set_add @133 + Z3_mk_set_del @134 + Z3_mk_set_union @135 + Z3_mk_set_intersect @136 + Z3_mk_set_difference @137 + Z3_mk_set_complement @138 + Z3_mk_set_member @139 + Z3_mk_set_subset @140 + Z3_mk_numeral @141 + Z3_mk_real @142 + Z3_mk_int @143 + Z3_mk_unsigned_int @144 + Z3_mk_int64 @145 + Z3_mk_unsigned_int64 @146 + Z3_mk_pattern @147 + Z3_mk_bound @148 + Z3_mk_forall @149 + Z3_mk_exists @150 + Z3_mk_quantifier @151 + Z3_mk_quantifier_ex @152 + Z3_mk_forall_const @153 + Z3_mk_exists_const @154 + Z3_mk_quantifier_const @155 + Z3_mk_quantifier_const_ex @156 + Z3_get_symbol_kind @157 + Z3_get_symbol_int @158 + Z3_get_symbol_string @159 + Z3_get_sort_name @160 + Z3_get_sort_id @161 + Z3_sort_to_ast @162 + Z3_is_eq_sort @163 + Z3_get_sort_kind @164 + Z3_get_bv_sort_size @165 + Z3_get_finite_domain_sort_size @166 + Z3_get_array_sort_domain @167 + Z3_get_array_sort_range @168 + Z3_get_tuple_sort_mk_decl @169 + Z3_get_tuple_sort_num_fields @170 + Z3_get_tuple_sort_field_decl @171 + Z3_get_datatype_sort_num_constructors @172 + Z3_get_datatype_sort_constructor @173 + Z3_get_datatype_sort_recognizer @174 + Z3_get_datatype_sort_constructor_accessor @175 + Z3_get_relation_arity @176 + Z3_get_relation_column @177 + Z3_func_decl_to_ast @178 + Z3_is_eq_func_decl @179 + Z3_get_func_decl_id @180 + Z3_get_decl_name @181 + Z3_get_decl_kind @182 + Z3_get_domain_size @183 + Z3_get_arity @184 + Z3_get_domain @185 + Z3_get_range @186 + Z3_get_decl_num_parameters @187 + Z3_get_decl_parameter_kind @188 + Z3_get_decl_int_parameter @189 + Z3_get_decl_double_parameter @190 + Z3_get_decl_symbol_parameter @191 + Z3_get_decl_sort_parameter @192 + Z3_get_decl_ast_parameter @193 + Z3_get_decl_func_decl_parameter @194 + Z3_get_decl_rational_parameter @195 + Z3_app_to_ast @196 + Z3_get_app_decl @197 + Z3_get_app_num_args @198 + Z3_get_app_arg @199 + Z3_is_eq_ast @200 + Z3_get_ast_id @201 + Z3_get_ast_hash @202 + Z3_get_sort @203 + Z3_is_well_sorted @204 + Z3_get_bool_value @205 + Z3_get_ast_kind @206 + Z3_is_app @207 + Z3_is_numeral_ast @208 + Z3_is_algebraic_number @209 + Z3_to_app @210 + Z3_to_func_decl @211 + Z3_get_numeral_string @212 + Z3_get_numeral_decimal_string @213 + Z3_get_numerator @214 + Z3_get_denominator @215 + Z3_get_numeral_small @216 + Z3_get_numeral_int @217 + Z3_get_numeral_uint @218 + Z3_get_numeral_uint64 @219 + Z3_get_numeral_int64 @220 + Z3_get_numeral_rational_int64 @221 + Z3_get_algebraic_number_lower @222 + Z3_get_algebraic_number_upper @223 + Z3_pattern_to_ast @224 + Z3_get_pattern_num_terms @225 + Z3_get_pattern @226 + Z3_get_index_value @227 + Z3_is_quantifier_forall @228 + Z3_get_quantifier_weight @229 + Z3_get_quantifier_num_patterns @230 + Z3_get_quantifier_pattern_ast @231 + Z3_get_quantifier_num_no_patterns @232 + Z3_get_quantifier_no_pattern_ast @233 + Z3_get_quantifier_num_bound @234 + Z3_get_quantifier_bound_name @235 + Z3_get_quantifier_bound_sort @236 + Z3_get_quantifier_body @237 + Z3_simplify @238 + Z3_simplify_ex @239 + Z3_simplify_get_help @240 + Z3_simplify_get_param_descrs @241 + Z3_update_term @242 + Z3_substitute @243 + Z3_substitute_vars @244 + Z3_translate @245 + Z3_model_inc_ref @246 + Z3_model_dec_ref @247 + Z3_model_eval @248 + Z3_model_get_const_interp @249 + Z3_model_get_func_interp @250 + Z3_model_get_num_consts @251 + Z3_model_get_const_decl @252 + Z3_model_get_num_funcs @253 + Z3_model_get_func_decl @254 + Z3_model_get_num_sorts @255 + Z3_model_get_sort @256 + Z3_model_get_sort_universe @257 + Z3_is_as_array @258 + Z3_get_as_array_func_decl @259 + Z3_func_interp_inc_ref @260 + Z3_func_interp_dec_ref @261 + Z3_func_interp_get_num_entries @262 + Z3_func_interp_get_entry @263 + Z3_func_interp_get_else @264 + Z3_func_interp_get_arity @265 + Z3_func_entry_inc_ref @266 + Z3_func_entry_dec_ref @267 + Z3_func_entry_get_value @268 + Z3_func_entry_get_num_args @269 + Z3_func_entry_get_arg @270 + Z3_open_log @271 + Z3_append_log @272 + Z3_close_log @273 + Z3_toggle_warning_messages @274 + Z3_set_ast_print_mode @275 + Z3_ast_to_string @276 + Z3_pattern_to_string @277 + Z3_sort_to_string @278 + Z3_func_decl_to_string @279 + Z3_model_to_string @280 + Z3_benchmark_to_smtlib_string @281 + Z3_parse_smtlib2_string @282 + Z3_parse_smtlib2_file @283 + Z3_parse_smtlib_string @284 + Z3_parse_smtlib_file @285 + Z3_get_smtlib_num_formulas @286 + Z3_get_smtlib_formula @287 + Z3_get_smtlib_num_assumptions @288 + Z3_get_smtlib_assumption @289 + Z3_get_smtlib_num_decls @290 + Z3_get_smtlib_decl @291 + Z3_get_smtlib_num_sorts @292 + Z3_get_smtlib_sort @293 + Z3_get_smtlib_error @294 + Z3_parse_z3_string @295 + Z3_parse_z3_file @296 + Z3_get_error_code @297 + Z3_set_error_handler @298 + Z3_set_error @299 + Z3_get_error_msg @300 + Z3_get_error_msg_ex @301 + Z3_get_version @302 + Z3_reset_memory @303 + Z3_mk_theory @304 + Z3_theory_get_ext_data @305 + Z3_theory_mk_sort @306 + Z3_theory_mk_value @307 + Z3_theory_mk_constant @308 + Z3_theory_mk_func_decl @309 + Z3_theory_get_context @310 + Z3_set_delete_callback @311 + Z3_set_reduce_app_callback @312 + Z3_set_reduce_eq_callback @313 + Z3_set_reduce_distinct_callback @314 + Z3_set_new_app_callback @315 + Z3_set_new_elem_callback @316 + Z3_set_init_search_callback @317 + Z3_set_push_callback @318 + Z3_set_pop_callback @319 + Z3_set_restart_callback @320 + Z3_set_reset_callback @321 + Z3_set_final_check_callback @322 + Z3_set_new_eq_callback @323 + Z3_set_new_diseq_callback @324 + Z3_set_new_assignment_callback @325 + Z3_set_new_relevant_callback @326 + Z3_theory_assert_axiom @327 + Z3_theory_assume_eq @328 + Z3_theory_enable_axiom_simplification @329 + Z3_theory_get_eqc_root @330 + Z3_theory_get_eqc_next @331 + Z3_theory_get_num_parents @332 + Z3_theory_get_parent @333 + Z3_theory_is_value @334 + Z3_theory_is_decl @335 + Z3_theory_get_num_elems @336 + Z3_theory_get_elem @337 + Z3_theory_get_num_apps @338 + Z3_theory_get_app @339 + Z3_mk_fixedpoint @340 + Z3_fixedpoint_inc_ref @341 + Z3_fixedpoint_dec_ref @342 + Z3_fixedpoint_add_rule @343 + Z3_fixedpoint_add_fact @344 + Z3_fixedpoint_assert @345 + Z3_fixedpoint_query @346 + Z3_fixedpoint_query_relations @347 + Z3_fixedpoint_get_answer @348 + Z3_fixedpoint_get_reason_unknown @349 + Z3_fixedpoint_update_rule @350 + Z3_fixedpoint_get_num_levels @351 + Z3_fixedpoint_get_cover_delta @352 + Z3_fixedpoint_add_cover @353 + Z3_fixedpoint_get_statistics @354 + Z3_fixedpoint_register_relation @355 + Z3_fixedpoint_set_predicate_representation @356 + Z3_fixedpoint_simplify_rules @357 + Z3_fixedpoint_set_params @358 + Z3_fixedpoint_get_help @359 + Z3_fixedpoint_get_param_descrs @360 + Z3_fixedpoint_to_string @361 + Z3_fixedpoint_push @362 + Z3_fixedpoint_pop @363 + Z3_fixedpoint_init @364 + Z3_fixedpoint_set_reduce_assign_callback @365 + Z3_fixedpoint_set_reduce_app_callback @366 + Z3_mk_ast_vector @367 + Z3_ast_vector_inc_ref @368 + Z3_ast_vector_dec_ref @369 + Z3_ast_vector_size @370 + Z3_ast_vector_get @371 + Z3_ast_vector_set @372 + Z3_ast_vector_resize @373 + Z3_ast_vector_push @374 + Z3_ast_vector_translate @375 + Z3_ast_vector_to_string @376 + Z3_mk_ast_map @377 + Z3_ast_map_inc_ref @378 + Z3_ast_map_dec_ref @379 + Z3_ast_map_contains @380 + Z3_ast_map_find @381 + Z3_ast_map_insert @382 + Z3_ast_map_erase @383 + Z3_ast_map_reset @384 + Z3_ast_map_size @385 + Z3_ast_map_keys @386 + Z3_ast_map_to_string @387 + Z3_mk_goal @388 + Z3_goal_inc_ref @389 + Z3_goal_dec_ref @390 + Z3_goal_precision @391 + Z3_goal_assert @392 + Z3_goal_inconsistent @393 + Z3_goal_depth @394 + Z3_goal_reset @395 + Z3_goal_size @396 + Z3_goal_formula @397 + Z3_goal_num_exprs @398 + Z3_goal_is_decided_sat @399 + Z3_goal_is_decided_unsat @400 + Z3_goal_translate @401 + Z3_goal_to_string @402 + Z3_mk_tactic @403 + Z3_tactic_inc_ref @404 + Z3_tactic_dec_ref @405 + Z3_mk_probe @406 + Z3_probe_inc_ref @407 + Z3_probe_dec_ref @408 + Z3_tactic_and_then @409 + Z3_tactic_or_else @410 + Z3_tactic_par_or @411 + Z3_tactic_par_and_then @412 + Z3_tactic_try_for @413 + Z3_tactic_when @414 + Z3_tactic_cond @415 + Z3_tactic_repeat @416 + Z3_tactic_skip @417 + Z3_tactic_fail @418 + Z3_tactic_fail_if @419 + Z3_tactic_fail_if_not_decided @420 + Z3_tactic_using_params @421 + Z3_probe_const @422 + Z3_probe_lt @423 + Z3_probe_gt @424 + Z3_probe_le @425 + Z3_probe_ge @426 + Z3_probe_eq @427 + Z3_probe_and @428 + Z3_probe_or @429 + Z3_probe_not @430 + Z3_get_num_tactics @431 + Z3_get_tactic_name @432 + Z3_get_num_probes @433 + Z3_get_probe_name @434 + Z3_tactic_get_help @435 + Z3_tactic_get_param_descrs @436 + Z3_tactic_get_descr @437 + Z3_probe_get_descr @438 + Z3_probe_apply @439 + Z3_tactic_apply @440 + Z3_tactic_apply_ex @441 + Z3_apply_result_inc_ref @442 + Z3_apply_result_dec_ref @443 + Z3_apply_result_to_string @444 + Z3_apply_result_get_num_subgoals @445 + Z3_apply_result_get_subgoal @446 + Z3_apply_result_convert_model @447 + Z3_mk_solver @448 + Z3_mk_simple_solver @449 + Z3_mk_solver_for_logic @450 + Z3_mk_solver_from_tactic @451 + Z3_solver_get_help @452 + Z3_solver_get_param_descrs @453 + Z3_solver_set_params @454 + Z3_solver_inc_ref @455 + Z3_solver_dec_ref @456 + Z3_solver_push @457 + Z3_solver_pop @458 + Z3_solver_reset @459 + Z3_solver_get_num_scopes @460 + Z3_solver_assert @461 + Z3_solver_get_assertions @462 + Z3_solver_check @463 + Z3_solver_check_assumptions @464 + Z3_solver_get_model @465 + Z3_solver_get_proof @466 + Z3_solver_get_unsat_core @467 + Z3_solver_get_reason_unknown @468 + Z3_solver_get_statistics @469 + Z3_solver_to_string @470 + Z3_stats_to_string @471 + Z3_stats_inc_ref @472 + Z3_stats_dec_ref @473 + Z3_stats_size @474 + Z3_stats_get_key @475 + Z3_stats_is_uint @476 + Z3_stats_is_double @477 + Z3_stats_get_uint_value @478 + Z3_stats_get_double_value @479 + Z3_mk_injective_function @480 + Z3_set_logic @481 + Z3_push @482 + Z3_pop @483 + Z3_get_num_scopes @484 + Z3_persist_ast @485 + Z3_assert_cnstr @486 + Z3_check_and_get_model @487 + Z3_check @488 + Z3_check_assumptions @489 + Z3_get_implied_equalities @490 + Z3_del_model @491 + Z3_soft_check_cancel @492 + Z3_get_search_failure @493 + Z3_mk_label @494 + Z3_get_relevant_labels @495 + Z3_get_relevant_literals @496 + Z3_get_guessed_literals @497 + Z3_del_literals @498 + Z3_get_num_literals @499 + Z3_get_label_symbol @500 + Z3_get_literal @501 + Z3_disable_literal @502 + Z3_block_literals @503 + Z3_get_model_num_constants @504 + Z3_get_model_constant @505 + Z3_get_model_num_funcs @506 + Z3_get_model_func_decl @507 + Z3_eval_func_decl @508 + Z3_is_array_value @509 + Z3_get_array_value @510 + Z3_get_model_func_else @511 + Z3_get_model_func_num_entries @512 + Z3_get_model_func_entry_num_args @513 + Z3_get_model_func_entry_arg @514 + Z3_get_model_func_entry_value @515 + Z3_eval @516 + Z3_eval_decl @517 + Z3_context_to_string @518 + Z3_statistics_to_string @519 + Z3_get_context_assignment @520 diff --git a/lib/api.py b/lib/api.py deleted file mode 100644 index 746d52cef..000000000 --- a/lib/api.py +++ /dev/null @@ -1,1236 +0,0 @@ -# Copyright (c) 2011 Microsoft Corporation -# -# Module Name: -# -# api.py -# -# Abstract: -# -# Generate code for logging Z3 APIs. -# It also generate bindings for the z3_replayer interpreter. -# -# Generated files: -# - z3_api_log.h, z3_api_log.cpp: logging support for Z3 api. -# - z3_api_commands.cpp: bindings for z3_replayer. -# -# Author: -# -# Leonardo de Moura (leonardo) 2011-09-23 -import sys -import os -from sets import Set -log_h = open('api_log_macros.h', 'w') -log_c = open('api_log_macros.cpp', 'w') -exe_c = open('api_commands.cpp', 'w') -core_py = open('..%spython%sz3core.py' % (os.sep, os.sep), 'w') -dotnet_fileout = '..%sMicrosoft.Z3%sNative.cs' % (os.sep, os.sep) -## -log_h.write('// Automatically generated file, generator: api.py\n') -log_h.write('#include\"z3.h\"\n') -## -log_c.write('// Automatically generated file, generator: api.py\n') -log_c.write('#include\n') -log_c.write('#include\"z3.h\"\n') -log_c.write('#include\"api_log_macros.h\"\n') -log_c.write('#include\"z3_logger.h\"\n') -## -exe_c.write('// Automatically generated file, generator: api.py\n') -exe_c.write('#include\"z3.h\"\n') -exe_c.write('#include\"z3_replayer.h\"\n') -## -log_h.write('extern std::ostream * g_z3_log;\n') -log_h.write('extern bool g_z3_log_enabled;\n') -log_h.write('class z3_log_ctx { bool m_prev; public: z3_log_ctx():m_prev(g_z3_log_enabled) { g_z3_log_enabled = false; } ~z3_log_ctx() { g_z3_log_enabled = m_prev; } bool enabled() const { return m_prev; } };\n') -log_h.write('inline void SetR(void * obj) { *g_z3_log << "= " << obj << "\\n"; }\ninline void SetO(void * obj, unsigned pos) { *g_z3_log << "* " << obj << " " << pos << "\\n"; } \ninline void SetAO(void * obj, unsigned pos, unsigned idx) { *g_z3_log << "@ " << obj << " " << pos << " " << idx << "\\n"; }\n') -log_h.write('#define RETURN_Z3(Z3RES) if (_LOG_CTX.enabled()) { SetR(Z3RES); } return Z3RES\n') -log_h.write('void _Z3_append_log(char const * msg);\n') -## -exe_c.write('void Z3_replacer_error_handler(Z3_context ctx, Z3_error_code c) { printf("[REPLAYER ERROR HANDLER]: %s\\n", Z3_get_error_msg_ex(ctx, c)); }\n') -## -core_py.write('# Automatically generated file, generator: api.py\n') -core_py.write('import sys, os\n') -core_py.write('import ctypes\n') -core_py.write('from z3types import *\n') -core_py.write('from z3consts import *\n') -core_py.write(""" -def _find_lib(): - _dir = os.path.dirname(os.path.abspath(__file__)) - libs = ['z3.dll', 'libz3.so', 'libz3.dylib'] - if sys.maxsize > 2**32: - locs = [_dir, '%s%s..%sx64%sexternal' % (_dir, os.sep, os.sep, os.sep), '%s%s..%sbin%sexternal' % (_dir, os.sep, os.sep, os.sep)] - else: - locs = [_dir, '%s%s..%sexternal' % (_dir, os.sep, os.sep), '%s%s..%sbin%sexternal' % (_dir, os.sep, os.sep, os.sep)] - for loc in locs: - for lib in libs: - f = '%s%s%s' % (loc, os.sep, lib) - if os.path.exists(f): - return f - return None - -_lib = None -def lib(): - if _lib == None: - l = _find_lib() - if l == None: - raise Z3Exception("init(Z3_LIBRARY_PATH) must be invoked before using Z3-python") - init(l) - assert _lib != None - return _lib - -def init(PATH): - global _lib - _lib = ctypes.CDLL(PATH) -""") - -next_id = 0 -API2Id = {} - -VOID = 0 -VOID_PTR = 1 -INT = 2 -UINT = 3 -INT64 = 4 -UINT64 = 5 -STRING = 6 -STRING_PTR = 7 -BOOL = 8 -SYMBOL = 9 -PRINT_MODE = 10 -ERROR_CODE = 11 -DOUBLE = 12 - -CONFIG = 100 -CONTEXT = 101 -AST = 102 -APP = 103 -SORT = 104 -FUNC_DECL = 105 -PATTERN = 106 -MODEL = 107 -LITERALS = 108 -CONSTRUCTOR = 109 -CONSTRUCTOR_LIST = 110 -THEORY = 111 -THEORY_DATA = 112 -SOLVER = 113 -GOAL = 114 -TACTIC = 115 -PARAMS = 117 -PROBE = 118 -STATS = 119 -AST_VECTOR = 120 -AST_MAP = 121 -APPLY_RESULT = 122 -FUNC_INTERP = 123 -FUNC_ENTRY = 124 -FIXEDPOINT = 125 -PARAM_DESCRS = 126 - -def is_obj(ty): - return ty >= 100 - -IN = 0 -OUT = 1 -INOUT = 2 -IN_ARRAY = 3 -OUT_ARRAY = 4 -INOUT_ARRAY = 5 - -Type2Str = { VOID : 'void', VOID_PTR : 'void*', INT : 'int', UINT : 'unsigned', INT64 : '__int64', UINT64 : '__uint64', DOUBLE : 'double', - STRING : 'Z3_string', STRING_PTR : 'Z3_string_ptr', BOOL : 'Z3_bool', SYMBOL : 'Z3_symbol', - PRINT_MODE : 'Z3_ast_print_mode', ERROR_CODE : 'Z3_error_code', - CONFIG : 'Z3_config', CONTEXT : 'Z3_context', AST : 'Z3_ast', APP : 'Z3_app', SORT : 'Z3_sort', - FUNC_DECL : 'Z3_func_decl', PATTERN : 'Z3_pattern', MODEL : 'Z3_model', LITERALS : 'Z3_literals', - CONSTRUCTOR : 'Z3_constructor', CONSTRUCTOR_LIST : 'Z3_constructor_list', THEORY : 'Z3_theory', - THEORY_DATA : 'Z3_theory_data', SOLVER : 'Z3_solver', GOAL : 'Z3_goal', TACTIC : 'Z3_tactic', - FIXEDPOINT : 'Z3_fixedpoint', - PARAMS : 'Z3_params', PROBE : 'Z3_probe', STATS : 'Z3_stats', AST_VECTOR : 'Z3_ast_vector', - AST_MAP : 'Z3_ast_map', APPLY_RESULT : 'Z3_apply_result', FUNC_INTERP : 'Z3_func_interp', FUNC_ENTRY : 'Z3_func_entry', - PARAM_DESCRS : 'Z3_param_descrs' - } - -Type2PyStr = { VOID_PTR : 'ctypes.c_void_p', INT : 'ctypes.c_int', UINT : 'ctypes.c_uint', INT64 : 'ctypes.c_longlong', - UINT64 : 'ctypes.c_ulonglong', DOUBLE : 'ctypes.c_double', - STRING : 'ctypes.c_char_p', STRING_PTR : 'ctypes.POINTER(ctypes.c_char_p)', BOOL : 'ctypes.c_bool', SYMBOL : 'Symbol', - PRINT_MODE : 'ctypes.c_uint', ERROR_CODE : 'ctypes.c_uint', CONFIG : 'Config', CONTEXT : 'ContextObj', - AST : 'Ast', APP : 'Ast', SORT: 'Sort', FUNC_DECL : 'FuncDecl', PATTERN : 'Pattern', - MODEL : 'Model', LITERALS : 'Literals', CONSTRUCTOR : 'Constructor', CONSTRUCTOR_LIST : 'ConstructorList', - THEORY : 'ctypes.c_void_p', THEORY_DATA : 'ctypes.c_void_p', SOLVER : 'SolverObj', GOAL : 'GoalObj', TACTIC : 'TacticObj', - FIXEDPOINT : 'FixedpointObj', - PARAMS : 'Params', PROBE : 'ProbeObj', STATS : 'StatsObj', AST_VECTOR : 'AstVectorObj', AST_MAP : 'AstMapObj', - APPLY_RESULT : 'ApplyResultObj', FUNC_INTERP : 'FuncInterpObj', FUNC_ENTRY : 'FuncEntryObj', - PARAM_DESCRS : 'ParamDescrs' - } - -# Mapping to .NET types -Type2Dotnet = { VOID : 'void', VOID_PTR : 'IntPtr', INT : 'int', UINT : 'uint', INT64 : 'Int64', UINT64 : 'UInt64', DOUBLE : 'double', - STRING : 'string', STRING_PTR : 'byte**', BOOL : 'int', SYMBOL : 'IntPtr', - PRINT_MODE : 'uint', ERROR_CODE : 'uint' } - -for k, v in Type2Str.iteritems(): - if is_obj(k): - Type2Dotnet[k] = v - -def type2str(ty): - global Type2Str - return Type2Str[ty] - -def type2pystr(ty): - global Type2PyStr - return Type2PyStr[ty] - -def type2dotnet(ty): - global Type2Dotnet - return Type2Dotnet[ty] - -def _in(ty): - return (IN, ty); - -def _in_array(sz, ty): - return (IN_ARRAY, ty, sz); - -def _out(ty): - return (OUT, ty); - -def _out_array(sz, ty): - return (OUT_ARRAY, ty, sz, sz); - -# cap contains the position of the argument that stores the capacity of the array -# sz contains the position of the output argument that stores the (real) size of the array -def _out_array2(cap, sz, ty): - return (OUT_ARRAY, ty, cap, sz) - -def _inout_array(sz, ty): - return (INOUT_ARRAY, ty, sz, sz); - -def param_kind(p): - return p[0] - -def param_type(p): - return p[1] - -def param_array_capacity_pos(p): - return p[2] - -def param_array_size_pos(p): - return p[3] - -def param2str(p): - if param_kind(p) == IN_ARRAY: - return "%s const *" % type2str(param_type(p)) - elif param_kind(p) == OUT_ARRAY or param_kind(p) == IN_ARRAY or param_kind(p) == INOUT_ARRAY: - return "%s*" % type2str(param_type(p)) - elif param_kind(p) == OUT: - return "%s*" % type2str(param_type(p)) - else: - return type2str(param_type(p)) - - -def param2dotnet(p): - k = param_kind(p) - if k == OUT: - if param_type(p) == STRING: - return "out IntPtr" - else: - return "[In, Out] ref %s" % type2dotnet(param_type(p)) - if k == IN_ARRAY: - return "[In] %s[]" % type2dotnet(param_type(p)) - if k == INOUT_ARRAY: - return "[In, Out] %s[]" % type2dotnet(param_type(p)) - if k == OUT_ARRAY: - return "[Out] %s[]" % type2dotnet(param_type(p)) - else: - return type2dotnet(param_type(p)) - -def param2pystr(p): - if param_kind(p) == IN_ARRAY or param_kind(p) == OUT_ARRAY or param_kind(p) == IN_ARRAY or param_kind(p) == INOUT_ARRAY or param_kind(p) == OUT: - return "ctypes.POINTER(%s)" % type2pystr(param_type(p)) - else: - return type2pystr(param_type(p)) - -# Save name, result, params to generate wrapper -_API2PY = [] - -def mk_py_binding(name, result, params): - global core_py - global _API2PY - _API2PY.append((name, result, params)) - if result != VOID: - core_py.write(" _lib.%s.restype = %s\n" % (name, type2pystr(result))) - core_py.write(" _lib.%s.argtypes = [" % name) - first = True - for p in params: - if first: - first = False - else: - core_py.write(", ") - core_py.write(param2pystr(p)) - core_py.write("]\n") - -def extra_API(name, result, params): - mk_py_binding(name, result, params) - reg_dotnet(name, result, params) - -def display_args(num): - for i in range(num): - if i > 0: - core_py.write(", ") - core_py.write("a%s" % i) - -def mk_py_wrappers(): - core_py.write("\n") - for sig in _API2PY: - name = sig[0] - result = sig[1] - params = sig[2] - num = len(params) - core_py.write("def %s(" % name) - display_args(num) - core_py.write("):\n") - if result != VOID: - core_py.write(" r = lib().%s(" % name) - else: - core_py.write(" lib().%s(" % name) - display_args(num) - core_py.write(")\n") - if len(params) > 0 and param_type(params[0]) == CONTEXT: - core_py.write(" err = lib().Z3_get_error_code(a0)\n") - core_py.write(" if err != Z3_OK:\n") - core_py.write(" raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err))\n") - if result != VOID: - core_py.write(" return r\n") - core_py.write("\n") - - -## .NET API native interface -_dotnet_decls = [] -def reg_dotnet(name, result, params): - global _dotnet_decls - _dotnet_decls.append((name, result, params)) - -def mk_dotnet(): - global Type2Str - global dotnet_fileout - dotnet = open(dotnet_fileout, 'w') - dotnet.write('// Automatically generated file, generator: api.py\n') - dotnet.write('using System;\n') - dotnet.write('using System.Collections.Generic;\n') - dotnet.write('using System.Text;\n') - dotnet.write('using System.Runtime.InteropServices;\n\n') - dotnet.write('#pragma warning disable 1591\n\n'); - dotnet.write('namespace Microsoft.Z3\n') - dotnet.write('{\n') - for k, v in Type2Str.iteritems(): - if is_obj(k): - dotnet.write(' using %s = System.IntPtr;\n' % v) - dotnet.write('\n'); - dotnet.write(' public class Native\n') - dotnet.write(' {\n\n') - dotnet.write(' [UnmanagedFunctionPointer(CallingConvention.Cdecl)]\n') - dotnet.write(' public delegate void Z3_error_handler(Z3_context c, Z3_error_code e);\n\n') - dotnet.write(' public unsafe class LIB\n') - dotnet.write(' {\n') - dotnet.write(' #if DEBUG\n' - ' const string Z3_DLL_NAME = \"z3_dbg.dll\";\n' - ' #else\n' - ' const string Z3_DLL_NAME = \"z3.dll\";\n' - ' #endif\n\n'); - dotnet.write(' [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]\n') - dotnet.write(' public extern static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1);\n\n') - for name, result, params in _dotnet_decls: - dotnet.write(' [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]\n') - dotnet.write(' ') - if result == STRING: - dotnet.write('public extern static IntPtr %s(' % (name)) - else: - dotnet.write('public extern static %s %s(' % (type2dotnet(result), name)) - first = True - i = 0; - for param in params: - if first: - first = False - else: - dotnet.write(', ') - dotnet.write('%s a%d' % (param2dotnet(param), i)) - i = i + 1 - dotnet.write(');\n\n') - dotnet.write(' }\n') - - -DotnetUnwrapped = { 'Z3_del_context' } - -def mk_dotnet_wrappers(): - global Type2Str - global dotnet_fileout - dotnet = open(dotnet_fileout, 'a') - dotnet.write("\n") - dotnet.write(" public static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1) {\n") - dotnet.write(" LIB.Z3_set_error_handler(a0, a1);\n") - dotnet.write(" Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0);\n") - dotnet.write(" if (err != Z3_error_code.Z3_OK)\n") - dotnet.write(" throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));\n") - dotnet.write(" }\n\n") - for name, result, params in _dotnet_decls: - if result == STRING: - dotnet.write(' public static string %s(' % (name)) - else: - dotnet.write(' public static %s %s(' % (type2dotnet(result), name)) - first = True - i = 0; - for param in params: - if first: - first = False - else: - dotnet.write(', ') - dotnet.write('%s a%d' % (param2dotnet(param), i)) - i = i + 1 - dotnet.write(') {\n') - dotnet.write(' ') - if result == STRING: - dotnet.write('IntPtr r = '); - elif result != VOID: - dotnet.write('%s r = ' % type2dotnet(result)); - dotnet.write('LIB.%s(' % (name)) - first = True - i = 0 - for param in params: - if first: - first = False - else: - dotnet.write(', ') - if param_kind(param) == OUT: - if param_type(param) == STRING: - dotnet.write('out '); - else: - dotnet.write('ref ') - dotnet.write('a%d' % i) - i = i + 1 - dotnet.write(');\n'); - if name not in DotnetUnwrapped: - if len(params) > 0 and param_type(params[0]) == CONTEXT: - dotnet.write(" Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0);\n") - dotnet.write(" if (err != Z3_error_code.Z3_OK)\n") - dotnet.write(" throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));\n") - if result == STRING: - dotnet.write(" return Marshal.PtrToStringAnsi(r);\n") - elif result != VOID: - dotnet.write(" return r;\n") - dotnet.write(" }\n\n") - dotnet.write(" }\n\n") - dotnet.write("}\n\n") - -def mk_log_header(file, name, params): - file.write("void log_%s(" % name) - i = 0 - for p in params: - if i > 0: - file.write(", "); - file.write("%s a%s" % (param2str(p), i)) - i = i + 1 - file.write(")"); - -def log_param(p): - kind = param_kind(p) - ty = param_type(p) - return is_obj(ty) and (kind == OUT or kind == INOUT or kind == OUT_ARRAY or kind == INOUT_ARRAY) - -def log_result(result, params): - for p in params: - if log_param(p): - return True - return False - -def mk_log_macro(file, name, params): - file.write("#define LOG_%s(" % name) - i = 0 - for p in params: - if i > 0: - file.write(", ") - file.write("_ARG%s" % i) - i = i + 1 - file.write(") z3_log_ctx _LOG_CTX; ") - auxs = Set([]) - i = 0 - for p in params: - if log_param(p): - kind = param_kind(p) - if kind == OUT_ARRAY or kind == INOUT_ARRAY: - cap = param_array_capacity_pos(p) - if cap not in auxs: - auxs.add(cap) - file.write("unsigned Z3ARG%s; " % cap) - sz = param_array_size_pos(p) - if sz not in auxs: - auxs.add(sz) - file.write("unsigned * Z3ARG%s; " % sz) - file.write("%s Z3ARG%s; " % (param2str(p), i)) - i = i + 1 - file.write("if (_LOG_CTX.enabled()) { log_%s(" % name) - i = 0 - for p in params: - if (i > 0): - file.write(', ') - file.write("_ARG%s" %i) - i = i + 1 - file.write("); ") - auxs = Set([]) - i = 0 - for p in params: - if log_param(p): - kind = param_kind(p) - if kind == OUT_ARRAY or kind == INOUT_ARRAY: - cap = param_array_capacity_pos(p) - if cap not in auxs: - auxs.add(cap) - file.write("Z3ARG%s = _ARG%s; " % (cap, cap)) - sz = param_array_size_pos(p) - if sz not in auxs: - auxs.add(sz) - file.write("Z3ARG%s = _ARG%s; " % (sz, sz)) - file.write("Z3ARG%s = _ARG%s; " % (i, i)) - i = i + 1 - file.write("}\n") - -def mk_log_result_macro(file, name, result, params): - file.write("#define RETURN_%s" % name) - if is_obj(result): - file.write("(Z3RES)") - file.write(" ") - file.write("if (_LOG_CTX.enabled()) { ") - if is_obj(result): - file.write("SetR(Z3RES); ") - i = 0 - for p in params: - if log_param(p): - kind = param_kind(p) - if kind == OUT_ARRAY or kind == INOUT_ARRAY: - cap = param_array_capacity_pos(p) - sz = param_array_size_pos(p) - if cap == sz: - file.write("for (unsigned i = 0; i < Z3ARG%s; i++) { SetAO(Z3ARG%s[i], %s, i); } " % (sz, i, i)) - else: - file.write("for (unsigned i = 0; Z3ARG%s && i < *Z3ARG%s; i++) { SetAO(Z3ARG%s[i], %s, i); } " % (sz, sz, i, i)) - if kind == OUT or kind == INOUT: - file.write("SetO((Z3ARG%s == 0 ? 0 : *Z3ARG%s), %s); " % (i, i, i)) - i = i + 1 - file.write("} ") - if is_obj(result): - file.write("return Z3RES\n") - else: - file.write("return\n") - -def mk_exec_header(file, name): - file.write("void exec_%s(z3_replayer & in)" % name) - -def error(msg): - sys.stderr.write(msg) - exit(-1) - -def API(name, result, params): - global API2Id, next_id - global log_h, log_c - # print "generating ", name - mk_py_binding(name, result, params) - reg_dotnet(name, result, params) - API2Id[next_id] = name - mk_log_header(log_h, name, params) - log_h.write(';\n') - mk_log_header(log_c, name, params) - log_c.write(' {\n R();\n') - mk_exec_header(exe_c, name) - exe_c.write(' {\n') - # Create Log function & Function call - i = 0 - exe_c.write(" ") - if is_obj(result): - exe_c.write("%s result = " % type2str(result)) - exe_c.write("%s(\n " % name) - for p in params: - kind = param_kind(p) - ty = param_type(p) - if (i > 0): - exe_c.write(",\n ") - if kind == IN: - if is_obj(ty): - log_c.write(" P(a%s);\n" % i) - exe_c.write("reinterpret_cast<%s>(in.get_obj(%s))" % (param2str(p), i)) - elif ty == STRING: - log_c.write(" S(a%s);\n" % i) - exe_c.write("in.get_str(%s)" % i) - elif ty == SYMBOL: - log_c.write(" Sy(a%s);\n" % i) - exe_c.write("in.get_symbol(%s)" % i) - elif ty == UINT: - log_c.write(" U(a%s);\n" % i) - exe_c.write("in.get_uint(%s)" % i) - elif ty == UINT64: - log_c.write(" U(a%s);\n" % i) - exe_c.write("in.get_uint64(%s)" % i) - elif ty == INT: - log_c.write(" I(a%s);\n" % i) - exe_c.write("in.get_int(%s)" % i) - elif ty == INT64: - log_c.write(" I(a%s);\n" % i) - exe_c.write("in.get_int64(%s)" % i) - elif ty == DOUBLE: - log_c.write(" D(a%s);\n" % i) - exe_c.write("in.get_double(%s)" % i) - elif ty == BOOL: - log_c.write(" I(a%s);\n" % i) - exe_c.write("in.get_bool(%s)" % i) - elif ty == PRINT_MODE or ty == ERROR_CODE: - log_c.write(" U(static_cast(a%s));\n" % i); - exe_c.write("static_cast<%s>(in.get_uint(%s))" % (type2str(ty), i)) - else: - error("unsupported parameter for %s, %s" % (name, p)) - elif kind == INOUT: - error("unsupported parameter for %s, %s" % (name, p)) - elif kind == OUT: - if is_obj(ty): - log_c.write(" P(0);\n") - exe_c.write("reinterpret_cast<%s>(in.get_obj_addr(%s))" % (param2str(p), i)) - elif ty == STRING: - log_c.write(" S(\"\");\n") - exe_c.write("in.get_str_addr(%s)" % i) - elif ty == UINT: - log_c.write(" U(0);\n") - exe_c.write("in.get_uint_addr(%s)" % i) - elif ty == UINT64: - log_c.write(" U(0);\n") - exe_c.write("in.get_uint64_addr(%s)" % i) - elif ty == INT: - log_c.write(" I(0);\n") - exe_c.write("in.get_int_addr(%s)" % i) - elif ty == INT64: - log_c.write(" I(0);\n") - exe_c.write("in.get_int64_addr(%s)" % i) - else: - error("unsupported parameter for %s, %s" % (name, p)) - elif kind == IN_ARRAY or kind == INOUT_ARRAY: - sz = param_array_capacity_pos(p) - log_c.write(" for (unsigned i = 0; i < a%s; i++) { " % sz) - if is_obj(ty): - log_c.write("P(a%s[i]);" % i) - log_c.write(" }\n") - log_c.write(" Ap(a%s);\n" % sz) - exe_c.write("reinterpret_cast<%s*>(in.get_obj_array(%s))" % (type2str(ty), i)) - elif ty == SYMBOL: - log_c.write("Sy(a%s[i]);" % i) - log_c.write(" }\n") - log_c.write(" Asy(a%s);\n" % sz) - exe_c.write("in.get_symbol_array(%s)" % i) - elif ty == UINT: - log_c.write("U(a%s[i]);" % i) - log_c.write(" }\n") - log_c.write(" Au(a%s);\n" % sz) - exe_c.write("in.get_uint_array(%s)" % i) - else: - error ("unsupported parameter for %s, %s" % (name, p)) - elif kind == OUT_ARRAY: - sz = param_array_capacity_pos(p) - log_c.write(" for (unsigned i = 0; i < a%s; i++) { " % sz) - if is_obj(ty): - log_c.write("P(0);") - log_c.write(" }\n") - log_c.write(" Ap(a%s);\n" % sz) - exe_c.write("reinterpret_cast<%s*>(in.get_obj_array(%s))" % (type2str(ty), i)) - elif ty == UINT: - log_c.write("U(0);") - log_c.write(" }\n") - log_c.write(" Au(a%s);\n" % sz) - exe_c.write("in.get_uint_array(%s)" % i) - else: - error ("unsupported parameter for %s, %s" % (name, p)) - else: - error ("unsupported parameter for %s, %s" % (name, p)) - i = i + 1 - log_c.write(" C(%s);\n" % next_id) - exe_c.write(");\n") - if is_obj(result): - exe_c.write(" in.store_result(result);\n") - if name == 'Z3_mk_context' or name == 'Z3_mk_context_rc': - exe_c.write(" Z3_set_error_handler(result, Z3_replacer_error_handler);") - log_c.write('}\n') - exe_c.write('}\n') - mk_log_macro(log_h, name, params) - if log_result(result, params): - mk_log_result_macro(log_h, name, result, params) - next_id = next_id + 1 - -def mk_bindings(): - exe_c.write("void register_z3_replayer_cmds(z3_replayer & in) {\n") - for key, val in API2Id.items(): - exe_c.write(" in.register_cmd(%s, exec_%s);\n" % (key, val)) - exe_c.write("}\n") - -def mk_defs(): - z3_def = open('..\dll\z3.def', 'w') - z3_dbg_def = open('..\dll\z3_dbg.def', 'w') - z3_def.write('LIBRARY "Z3"\n') - z3_def.write('EXPORTS\n') - z3_dbg_def.write('LIBRARY "Z3_DBG"\n') - z3_dbg_def.write('EXPORTS\n') - i = 1 - for key, val in API2Id.items(): - z3_def.write("\t%s @%s\n" % (val, i)) - z3_dbg_def.write("\t%s @%s\n" % (val, i)) - i = i + 1 - -API('Z3_mk_config', CONFIG, ()) -API('Z3_del_config', VOID, (_in(CONFIG),)) -API('Z3_set_param_value', VOID, (_in(CONFIG), _in(STRING), _in(STRING))) -API('Z3_mk_context', CONTEXT, (_in(CONFIG),)) -API('Z3_mk_context_rc', CONTEXT, (_in(CONFIG),)) -API('Z3_set_logic', VOID, (_in(CONTEXT), _in(STRING))) -API('Z3_del_context', VOID, (_in(CONTEXT),)) -API('Z3_inc_ref', VOID, (_in(CONTEXT), _in(AST))) -API('Z3_dec_ref', VOID, (_in(CONTEXT), _in(AST))) -API('Z3_toggle_warning_messages', VOID, (_in(BOOL),)) -API('Z3_update_param_value', VOID, (_in(CONTEXT), _in(STRING), _in(STRING))) -API('Z3_get_param_value', BOOL, (_in(CONTEXT), _in(STRING), _out(STRING))) -API('Z3_mk_int_symbol', SYMBOL, (_in(CONTEXT), _in(INT))) -API('Z3_mk_string_symbol', SYMBOL, (_in(CONTEXT), _in(STRING))) -API('Z3_is_eq_sort', BOOL, (_in(CONTEXT), _in(SORT), _in(SORT))) -API('Z3_mk_uninterpreted_sort', SORT, (_in(CONTEXT), _in(SYMBOL))) -API('Z3_mk_bool_sort', SORT, (_in(CONTEXT), )) -API('Z3_mk_int_sort', SORT, (_in(CONTEXT), )) -API('Z3_mk_real_sort', SORT, (_in(CONTEXT), )) -API('Z3_mk_bv_sort', SORT, (_in(CONTEXT), _in(UINT))) -API('Z3_mk_array_sort', SORT, (_in(CONTEXT), _in(SORT), _in(SORT))) -API('Z3_mk_tuple_sort', SORT, (_in(CONTEXT), _in(SYMBOL), _in(UINT), - _in_array(2, SYMBOL), - _in_array(2, SORT), - _out(FUNC_DECL), - _out_array(2, FUNC_DECL))) - -API('Z3_mk_enumeration_sort', SORT, (_in(CONTEXT), _in(SYMBOL), _in(UINT), - _in_array(2, SYMBOL), - _out_array(2, FUNC_DECL), - _out_array(2, FUNC_DECL))) - -API('Z3_mk_list_sort', SORT, (_in(CONTEXT), _in(SYMBOL), _in(SORT), _out(FUNC_DECL), _out(FUNC_DECL), _out(FUNC_DECL), _out(FUNC_DECL), _out(FUNC_DECL), _out(FUNC_DECL))) - -API('Z3_mk_constructor', CONSTRUCTOR, (_in(CONTEXT), _in(SYMBOL), _in(SYMBOL), _in(UINT), _in_array(3, SYMBOL), _in_array(3, SORT), _in_array(3, UINT))) -API('Z3_query_constructor', VOID, (_in(CONTEXT), _in(CONSTRUCTOR), _in(UINT), _out(FUNC_DECL), _out(FUNC_DECL), _out_array(2, FUNC_DECL))) -API('Z3_del_constructor', VOID, (_in(CONTEXT), _in(CONSTRUCTOR))) -API('Z3_mk_datatype', SORT, (_in(CONTEXT), _in(SYMBOL), _in(UINT), _inout_array(2, CONSTRUCTOR))) -API('Z3_mk_constructor_list', CONSTRUCTOR_LIST, (_in(CONTEXT), _in(UINT), _in_array(1, CONSTRUCTOR))) -API('Z3_del_constructor_list', VOID, (_in(CONTEXT), _in(CONSTRUCTOR_LIST))) -API('Z3_mk_datatypes', VOID, (_in(CONTEXT), _in(UINT), _in_array(1, SYMBOL), _out_array(1, SORT), _inout_array(1, CONSTRUCTOR_LIST))) - -API('Z3_is_eq_ast', BOOL, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_is_eq_func_decl', BOOL, (_in(CONTEXT), _in(FUNC_DECL), _in(FUNC_DECL))) -API('Z3_mk_func_decl', FUNC_DECL, (_in(CONTEXT), _in(SYMBOL), _in(UINT), _in_array(2, SORT), _in(SORT))) -API('Z3_mk_app', AST, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT), _in_array(2, AST))) -API('Z3_mk_const', AST, (_in(CONTEXT), _in(SYMBOL), _in(SORT))) -API('Z3_mk_label', AST, (_in(CONTEXT), _in(SYMBOL), _in(BOOL), _in(AST))) -API('Z3_mk_fresh_func_decl', FUNC_DECL, (_in(CONTEXT), _in(STRING), _in(UINT), _in_array(2, SORT), _in(SORT))) -API('Z3_mk_fresh_const', AST, (_in(CONTEXT), _in(STRING), _in(SORT))) -API('Z3_mk_true', AST, (_in(CONTEXT), )) -API('Z3_mk_false', AST, (_in(CONTEXT), )) -API('Z3_mk_eq', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_distinct', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) -API('Z3_mk_not', AST, (_in(CONTEXT), _in(AST))) -API('Z3_mk_ite', AST, (_in(CONTEXT), _in(AST), _in(AST), _in(AST))) -API('Z3_mk_iff', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_implies', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_xor', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_and', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) -API('Z3_mk_or', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) -API('Z3_mk_add', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) -API('Z3_mk_mul', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) -API('Z3_mk_sub', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) -API('Z3_mk_unary_minus', AST, (_in(CONTEXT), _in(AST))) -API('Z3_mk_div', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_mod', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_rem', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_power', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_is_algebraic_number', BOOL, (_in(CONTEXT), _in(AST))) -API('Z3_get_algebraic_number_lower', AST, (_in(CONTEXT), _in(AST), _in(UINT))) -API('Z3_get_algebraic_number_upper', AST, (_in(CONTEXT), _in(AST), _in(UINT))) -API('Z3_mk_lt', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_le', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_gt', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_ge', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_int2real', AST, (_in(CONTEXT), _in(AST))) -API('Z3_mk_real2int', AST, (_in(CONTEXT), _in(AST))) -API('Z3_mk_is_int', AST, (_in(CONTEXT), _in(AST))) - -API('Z3_mk_bvnot', AST, (_in(CONTEXT), _in(AST))) -API('Z3_mk_bvredand', AST, (_in(CONTEXT), _in(AST))) -API('Z3_mk_bvredor', AST, (_in(CONTEXT), _in(AST))) -API('Z3_mk_bvand', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvor', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvxor', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvnand', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvnor', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvxnor', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvneg', AST, (_in(CONTEXT), _in(AST))) -API('Z3_mk_bvadd', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvsub', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvmul', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvudiv', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvsdiv', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvurem', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvsrem', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvsmod', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvult', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvslt', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvule', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvsle', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvuge', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvsge', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvugt', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvsgt', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_concat', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_extract', AST, (_in(CONTEXT), _in(UINT), _in(UINT), _in(AST))) -API('Z3_mk_sign_ext', AST, (_in(CONTEXT), _in(UINT), _in(AST))) -API('Z3_mk_zero_ext', AST, (_in(CONTEXT), _in(UINT), _in(AST))) -API('Z3_mk_repeat', AST, (_in(CONTEXT), _in(UINT), _in(AST))) -API('Z3_mk_bvshl', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvlshr', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvashr', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_rotate_left', AST, (_in(CONTEXT), _in(UINT), _in(AST))) -API('Z3_mk_rotate_right', AST, (_in(CONTEXT), _in(UINT), _in(AST))) -API('Z3_mk_ext_rotate_left', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_ext_rotate_right', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_int2bv', AST, (_in(CONTEXT), _in(UINT), _in(AST))) -API('Z3_mk_bv2int', AST, (_in(CONTEXT), _in(AST), _in(BOOL))) -API('Z3_mk_bvadd_no_overflow', AST, (_in(CONTEXT), _in(AST), _in(AST), _in(BOOL))) -API('Z3_mk_bvadd_no_underflow', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvsub_no_overflow', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvsub_no_underflow', AST, (_in(CONTEXT), _in(AST), _in(AST), _in(BOOL))) -API('Z3_mk_bvsdiv_no_overflow', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_bvneg_no_overflow', AST, (_in(CONTEXT), _in(AST))) -API('Z3_mk_bvmul_no_overflow', AST, (_in(CONTEXT), _in(AST), _in(AST), _in(BOOL))) -API('Z3_mk_bvmul_no_underflow', AST, (_in(CONTEXT), _in(AST), _in(AST))) - -API('Z3_mk_select', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_store', AST, (_in(CONTEXT), _in(AST), _in(AST), _in(AST))) -API('Z3_mk_const_array', AST, (_in(CONTEXT), _in(SORT), _in(AST))) -API('Z3_mk_map', AST, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT), _in_array(2, AST))) -API('Z3_mk_array_default', AST, (_in(CONTEXT), _in(AST))) -API('Z3_mk_set_sort', SORT, (_in(CONTEXT), _in(SORT))) -API('Z3_mk_empty_set', AST, (_in(CONTEXT), _in(SORT))) -API('Z3_mk_full_set', AST, (_in(CONTEXT), _in(SORT))) -API('Z3_mk_set_add', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_set_del', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_set_union', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) -API('Z3_mk_set_intersect', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) -API('Z3_mk_set_difference', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_set_complement', AST, (_in(CONTEXT), _in(AST))) -API('Z3_mk_set_member', AST, (_in(CONTEXT), _in(AST), _in(AST))) -API('Z3_mk_set_subset', AST, (_in(CONTEXT), _in(AST), _in(AST))) - -API('Z3_mk_numeral', AST, (_in(CONTEXT), _in(STRING), _in(SORT))) -API('Z3_mk_real', AST, (_in(CONTEXT), _in(INT), _in(INT))) -API('Z3_mk_int', AST, (_in(CONTEXT), _in(INT), _in(SORT))) -API('Z3_mk_unsigned_int', AST, (_in(CONTEXT), _in(UINT), _in(SORT))) -API('Z3_mk_int64', AST, (_in(CONTEXT), _in(INT64), _in(SORT))) -API('Z3_mk_unsigned_int64', AST, (_in(CONTEXT), _in(UINT64), _in(SORT))) - -API('Z3_mk_pattern', PATTERN, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) -API('Z3_mk_bound', AST, (_in(CONTEXT), _in(UINT), _in(SORT))) -API('Z3_mk_forall', AST, (_in(CONTEXT), _in(UINT), - _in(UINT), _in_array(2, PATTERN), - _in(UINT), _in_array(4, SORT), _in_array(4, SYMBOL), - _in(AST))) -API('Z3_mk_exists', AST, (_in(CONTEXT), _in(UINT), - _in(UINT), _in_array(2, PATTERN), - _in(UINT), _in_array(4, SORT), _in_array(4, SYMBOL), - _in(AST))) -API('Z3_mk_quantifier', AST, (_in(CONTEXT), _in(BOOL), _in(UINT), - _in(UINT), _in_array(3, PATTERN), - _in(UINT), _in_array(5, SORT), _in_array(5, SYMBOL), - _in(AST))) -API('Z3_mk_quantifier_ex', AST, (_in(CONTEXT), _in(BOOL), _in(UINT), _in(SYMBOL), _in(SYMBOL), - _in(UINT), _in_array(5, PATTERN), - _in(UINT), _in_array(7, AST), - _in(UINT), _in_array(9, SORT), _in_array(9, SYMBOL), - _in(AST))) -API('Z3_mk_forall_const', AST, (_in(CONTEXT), _in(UINT), _in(UINT), _in_array(2, APP), - _in(UINT), _in_array(4, PATTERN), - _in(AST))) -API('Z3_mk_exists_const', AST, (_in(CONTEXT), _in(UINT), _in(UINT), _in_array(2, APP), - _in(UINT), _in_array(4, PATTERN), - _in(AST))) -API('Z3_mk_quantifier_const', AST, (_in(CONTEXT), _in(BOOL), _in(UINT), _in(UINT), _in_array(3, APP), - _in(UINT), _in_array(5, PATTERN), - _in(AST))) -API('Z3_mk_quantifier_const_ex', AST, (_in(CONTEXT), _in(BOOL), _in(UINT), _in(SYMBOL), _in(SYMBOL), - _in(UINT), _in_array(5, APP), - _in(UINT), _in_array(7, PATTERN), - _in(UINT), _in_array(9, AST), - _in(AST))) - - -API('Z3_get_ast_id', UINT, (_in(CONTEXT), _in(AST))) -API('Z3_get_func_decl_id', UINT, (_in(CONTEXT), _in(FUNC_DECL))) -API('Z3_get_sort_id', UINT, (_in(CONTEXT), _in(SORT))) -API('Z3_is_well_sorted', BOOL, (_in(CONTEXT), _in(AST))) -API('Z3_get_symbol_kind', UINT, (_in(CONTEXT), _in(SYMBOL))) -API('Z3_get_symbol_int', INT, (_in(CONTEXT), _in(SYMBOL))) -API('Z3_get_symbol_string', STRING, (_in(CONTEXT), _in(SYMBOL))) -API('Z3_get_ast_kind', UINT, (_in(CONTEXT), _in(AST))) -API('Z3_get_ast_hash', UINT, (_in(CONTEXT), _in(AST))) -API('Z3_get_numeral_string', STRING, (_in(CONTEXT), _in(AST))) -API('Z3_get_numeral_decimal_string', STRING, (_in(CONTEXT), _in(AST), _in(UINT))) -API('Z3_get_numerator', AST, (_in(CONTEXT), _in(AST))) -API('Z3_get_denominator', AST, (_in(CONTEXT), _in(AST))) -API('Z3_get_numeral_small', BOOL, (_in(CONTEXT), _in(AST), _out(INT64), _out(INT64))) -API('Z3_get_numeral_int', BOOL, (_in(CONTEXT), _in(AST), _out(INT))) -API('Z3_get_numeral_uint', BOOL, (_in(CONTEXT), _in(AST), _out(UINT))) -API('Z3_get_numeral_uint64', BOOL, (_in(CONTEXT), _in(AST), _out(UINT64))) -API('Z3_get_numeral_int64', BOOL, (_in(CONTEXT), _in(AST), _out(INT64))) -API('Z3_get_numeral_rational_int64', BOOL, (_in(CONTEXT), _in(AST), _out(INT64), _out(INT64))) -API('Z3_get_bool_value', UINT, (_in(CONTEXT), _in(AST))) -API('Z3_get_app_decl', FUNC_DECL, (_in(CONTEXT), _in(APP))) -API('Z3_get_app_num_args', UINT, (_in(CONTEXT), _in(APP))) -API('Z3_get_app_arg', AST, (_in(CONTEXT), _in(APP), _in(UINT))) -API('Z3_get_index_value', UINT, (_in(CONTEXT), _in(AST))) -API('Z3_is_quantifier_forall', BOOL, (_in(CONTEXT), _in(AST))) -API('Z3_get_quantifier_weight', UINT, (_in(CONTEXT), _in(AST))) -API('Z3_get_quantifier_num_patterns', UINT, (_in(CONTEXT), _in(AST))) -API('Z3_get_quantifier_pattern_ast', PATTERN, (_in(CONTEXT), _in(AST), _in(UINT))) -API('Z3_get_quantifier_num_no_patterns', UINT, (_in(CONTEXT), _in(AST))) -API('Z3_get_quantifier_no_pattern_ast', AST, (_in(CONTEXT), _in(AST), _in(UINT))) -API('Z3_get_quantifier_bound_name', SYMBOL, (_in(CONTEXT), _in(AST), _in(UINT))) -API('Z3_get_quantifier_bound_sort', SORT, (_in(CONTEXT), _in(AST), _in(UINT))) -API('Z3_get_quantifier_body', AST, (_in(CONTEXT), _in(AST))) -API('Z3_get_quantifier_num_bound', UINT, (_in(CONTEXT), _in(AST))) -API('Z3_get_decl_name', SYMBOL, (_in(CONTEXT), _in(FUNC_DECL))) -API('Z3_get_decl_num_parameters', UINT, (_in(CONTEXT), _in(FUNC_DECL))) -API('Z3_get_decl_parameter_kind', UINT, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) -API('Z3_get_decl_int_parameter', INT, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) -API('Z3_get_decl_double_parameter', DOUBLE, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) -API('Z3_get_decl_symbol_parameter', SYMBOL, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) -API('Z3_get_decl_sort_parameter', SORT, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) -API('Z3_get_decl_ast_parameter', AST, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) -API('Z3_get_decl_func_decl_parameter', FUNC_DECL, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) -API('Z3_get_decl_rational_parameter', STRING, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) -API('Z3_get_sort_name', SYMBOL, (_in(CONTEXT), _in(SORT))) -API('Z3_get_sort', SORT, (_in(CONTEXT), _in(AST))) -API('Z3_get_domain_size', UINT, (_in(CONTEXT), _in(FUNC_DECL))) -API('Z3_get_domain', SORT, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) -API('Z3_get_range', SORT, (_in(CONTEXT), _in(FUNC_DECL))) -API('Z3_get_sort_kind', UINT, (_in(CONTEXT), _in(SORT))) -API('Z3_get_bv_sort_size', UINT, (_in(CONTEXT), _in(SORT))) -API('Z3_get_array_sort_domain', SORT, (_in(CONTEXT), _in(SORT))) -API('Z3_get_array_sort_range', SORT, (_in(CONTEXT), _in(SORT))) -API('Z3_get_tuple_sort_mk_decl', FUNC_DECL, (_in(CONTEXT), _in(SORT))) -API('Z3_get_decl_kind', UINT, (_in(CONTEXT), _in(FUNC_DECL))) -API('Z3_get_tuple_sort_num_fields', UINT, (_in(CONTEXT), _in(SORT))) -API('Z3_get_tuple_sort_field_decl', FUNC_DECL, (_in(CONTEXT), _in(SORT), _in(UINT))) -API('Z3_get_datatype_sort_num_constructors', UINT, (_in(CONTEXT), _in(SORT))) -API('Z3_get_datatype_sort_constructor', FUNC_DECL, (_in(CONTEXT), _in(SORT), _in(UINT))) -API('Z3_get_datatype_sort_recognizer', FUNC_DECL, (_in(CONTEXT), _in(SORT), _in(UINT))) -API('Z3_get_datatype_sort_constructor_accessor', FUNC_DECL, (_in(CONTEXT), _in(SORT), _in(UINT), _in(UINT))) -API('Z3_get_relation_arity', UINT, (_in(CONTEXT), _in(SORT))) -API('Z3_get_relation_column', SORT, (_in(CONTEXT), _in(SORT), _in(UINT))) -API('Z3_get_finite_domain_sort_size', BOOL, (_in(CONTEXT), _in(SORT), _out(UINT64))) -API('Z3_mk_finite_domain_sort', SORT, (_in(CONTEXT), _in(SYMBOL), _in(UINT64))) -API('Z3_get_pattern_num_terms', UINT, (_in(CONTEXT), _in(PATTERN))) -API('Z3_get_pattern', AST, (_in(CONTEXT), _in(PATTERN), _in(UINT))) - -API('Z3_simplify', AST, (_in(CONTEXT), _in(AST))) -API('Z3_simplify_ex', AST, (_in(CONTEXT), _in(AST), _in(PARAMS))) -API('Z3_simplify_get_help', STRING, (_in(CONTEXT),)) -API('Z3_simplify_get_param_descrs', PARAM_DESCRS, (_in(CONTEXT),)) - -API('Z3_update_term', AST, (_in(CONTEXT), _in(AST), _in(UINT), _in_array(2, AST))) -API('Z3_substitute', AST, (_in(CONTEXT), _in(AST), _in(UINT), _in_array(2, AST), _in_array(2, AST))) -API('Z3_substitute_vars', AST, (_in(CONTEXT), _in(AST), _in(UINT), _in_array(2, AST))) - -API('Z3_sort_to_ast', AST, (_in(CONTEXT), _in(SORT))) -API('Z3_func_decl_to_ast', AST, (_in(CONTEXT), _in(FUNC_DECL))) -API('Z3_pattern_to_ast', AST, (_in(CONTEXT), _in(PATTERN))) -API('Z3_app_to_ast', AST, (_in(CONTEXT), _in(APP))) -API('Z3_to_app', APP, (_in(CONTEXT), _in(AST))) -API('Z3_to_func_decl', FUNC_DECL, (_in(CONTEXT), _in(AST))) - -API('Z3_push', VOID, (_in(CONTEXT),)) -API('Z3_pop', VOID, (_in(CONTEXT), _in(UINT))) -API('Z3_get_num_scopes', UINT, (_in(CONTEXT),)) -API('Z3_persist_ast', VOID, (_in(CONTEXT), _in(AST), _in(UINT))) -API('Z3_assert_cnstr', VOID, (_in(CONTEXT), _in(AST))) -API('Z3_check_and_get_model', INT, (_in(CONTEXT), _out(MODEL))) -API('Z3_check', INT, (_in(CONTEXT),)) -API('Z3_check_assumptions', INT, (_in(CONTEXT), _in(UINT), _in_array(1, AST), _out(MODEL), _out(AST), _out(UINT), _out_array2(1, 5, AST))) -API('Z3_get_implied_equalities', UINT, (_in(CONTEXT), _in(UINT), _in_array(1, AST), _out_array(1, UINT))) -API('Z3_del_model', VOID, (_in(CONTEXT), _in(MODEL))) - -API('Z3_soft_check_cancel', VOID, (_in(CONTEXT), )) -API('Z3_get_search_failure', UINT, (_in(CONTEXT), )) - -API('Z3_get_relevant_labels', LITERALS, (_in(CONTEXT), )) -API('Z3_get_relevant_literals', LITERALS, (_in(CONTEXT), )) -API('Z3_get_guessed_literals', LITERALS, (_in(CONTEXT), )) -API('Z3_del_literals', VOID, (_in(CONTEXT), _in(LITERALS))) -API('Z3_get_num_literals', UINT, (_in(CONTEXT), _in(LITERALS))) -API('Z3_get_label_symbol', SYMBOL, (_in(CONTEXT), _in(LITERALS), _in(UINT))) -API('Z3_get_literal', AST, (_in(CONTEXT), _in(LITERALS), _in(UINT))) -API('Z3_disable_literal', VOID, (_in(CONTEXT), _in(LITERALS), _in(UINT))) -API('Z3_block_literals', VOID, (_in(CONTEXT), _in(LITERALS))) - -API('Z3_model_inc_ref', VOID, (_in(CONTEXT), _in(MODEL))) -API('Z3_model_dec_ref', VOID, (_in(CONTEXT), _in(MODEL))) -API('Z3_model_get_const_interp', AST, (_in(CONTEXT), _in(MODEL), _in(FUNC_DECL))) -API('Z3_model_get_func_interp', FUNC_INTERP, (_in(CONTEXT), _in(MODEL), _in(FUNC_DECL))) -API('Z3_model_get_num_consts', UINT, (_in(CONTEXT), _in(MODEL))) -API('Z3_model_get_const_decl', FUNC_DECL, (_in(CONTEXT), _in(MODEL), _in(UINT))) -API('Z3_model_get_num_funcs', UINT, (_in(CONTEXT), _in(MODEL))) -API('Z3_model_get_func_decl', FUNC_DECL, (_in(CONTEXT), _in(MODEL), _in(UINT))) -API('Z3_model_eval', BOOL, (_in(CONTEXT), _in(MODEL), _in(AST), _in(BOOL), _out(AST))) -API('Z3_model_get_num_sorts', UINT, (_in(CONTEXT), _in(MODEL))) -API('Z3_model_get_sort', SORT, (_in(CONTEXT), _in(MODEL), _in(UINT))) -API('Z3_model_get_sort_universe', AST_VECTOR, (_in(CONTEXT), _in(MODEL), _in(SORT))) -API('Z3_is_as_array', BOOL, (_in(CONTEXT), _in(AST))) -API('Z3_get_as_array_func_decl', FUNC_DECL, (_in(CONTEXT), _in(AST))) -API('Z3_func_interp_inc_ref', VOID, (_in(CONTEXT), _in(FUNC_INTERP))) -API('Z3_func_interp_dec_ref', VOID, (_in(CONTEXT), _in(FUNC_INTERP))) -API('Z3_func_interp_get_num_entries', UINT, (_in(CONTEXT), _in(FUNC_INTERP))) -API('Z3_func_interp_get_entry', FUNC_ENTRY, (_in(CONTEXT), _in(FUNC_INTERP), _in(UINT))) -API('Z3_func_interp_get_else', AST, (_in(CONTEXT), _in(FUNC_INTERP))) -API('Z3_func_interp_get_arity', UINT, (_in(CONTEXT), _in(FUNC_INTERP))) -API('Z3_func_entry_inc_ref', VOID, (_in(CONTEXT), _in(FUNC_ENTRY))) -API('Z3_func_entry_dec_ref', VOID, (_in(CONTEXT), _in(FUNC_ENTRY))) -API('Z3_func_entry_get_value', AST, (_in(CONTEXT), _in(FUNC_ENTRY))) -API('Z3_func_entry_get_num_args', UINT, (_in(CONTEXT), _in(FUNC_ENTRY))) -API('Z3_func_entry_get_arg', AST, (_in(CONTEXT), _in(FUNC_ENTRY), _in(UINT))) - -API('Z3_get_model_num_constants', UINT, (_in(CONTEXT), _in(MODEL))) -API('Z3_get_model_constant', FUNC_DECL, (_in(CONTEXT), _in(MODEL), _in(UINT))) -API('Z3_eval_func_decl', BOOL, (_in(CONTEXT), _in(MODEL), _in(FUNC_DECL), _out(AST))) -API('Z3_is_array_value', BOOL, (_in(CONTEXT), _in(MODEL), _in(AST), _out(UINT))) -API('Z3_get_array_value', VOID, (_in(CONTEXT), _in(MODEL), _in(AST), - _in(UINT), _out_array(3, AST), _out_array(3, AST), - _out (AST))) -API('Z3_get_model_num_funcs', UINT, (_in(CONTEXT), _in(MODEL))) -API('Z3_get_model_func_decl', FUNC_DECL, (_in(CONTEXT), _in(MODEL), _in(UINT))) -API('Z3_get_model_func_else', AST, (_in(CONTEXT), _in(MODEL), _in(UINT))) -API('Z3_get_model_func_num_entries', UINT, (_in(CONTEXT), _in(MODEL), _in(UINT))) -API('Z3_get_model_func_entry_num_args', UINT, (_in(CONTEXT), _in(MODEL), _in(UINT), _in(UINT))) -API('Z3_get_model_func_entry_arg', AST, (_in(CONTEXT), _in(MODEL), _in(UINT), _in(UINT), _in(UINT))) -API('Z3_get_model_func_entry_value', AST, (_in(CONTEXT), _in(MODEL), _in(UINT), _in(UINT))) -API('Z3_eval', BOOL, (_in(CONTEXT), _in(MODEL), _in(AST), _out(AST))) -API('Z3_eval_decl', BOOL, (_in(CONTEXT), _in(MODEL), _in(FUNC_DECL), _in(UINT), _in_array(3, AST), _out(AST))) - -API('Z3_set_ast_print_mode', VOID, (_in(CONTEXT), _in(PRINT_MODE))) -API('Z3_ast_to_string', STRING, (_in(CONTEXT), _in(AST))) -API('Z3_pattern_to_string', STRING, (_in(CONTEXT), _in(PATTERN))) -API('Z3_sort_to_string', STRING, (_in(CONTEXT), _in(SORT))) -API('Z3_func_decl_to_string', STRING, (_in(CONTEXT), _in(FUNC_DECL))) -API('Z3_model_to_string', STRING, (_in(CONTEXT), _in(MODEL))) -API('Z3_benchmark_to_smtlib_string', STRING, (_in(CONTEXT), _in(STRING), _in(STRING), _in(STRING), _in(STRING), _in(UINT), _in_array(5, AST), _in(AST))) -API('Z3_context_to_string', STRING, (_in(CONTEXT),)) -API('Z3_statistics_to_string', STRING, (_in(CONTEXT),)) - -API('Z3_get_context_assignment', AST, (_in(CONTEXT),)) - -API('Z3_parse_smtlib_string', VOID, (_in(CONTEXT), _in(STRING), _in(UINT), _in_array(2, SYMBOL), _in_array(2, SORT), - _in(UINT), _in_array(5, SYMBOL), _in_array(5, FUNC_DECL))) -API('Z3_parse_smtlib_file', VOID, (_in(CONTEXT), _in(STRING), _in(UINT), _in_array(2, SYMBOL), _in_array(2, SORT), - _in(UINT), _in_array(5, SYMBOL), _in_array(5, FUNC_DECL))) -API('Z3_get_smtlib_num_formulas', UINT, (_in(CONTEXT), )) -API('Z3_get_smtlib_formula', AST, (_in(CONTEXT), _in(UINT))) -API('Z3_get_smtlib_num_assumptions', UINT, (_in(CONTEXT), )) -API('Z3_get_smtlib_assumption', AST, (_in(CONTEXT), _in(UINT))) -API('Z3_get_smtlib_num_decls', UINT, (_in(CONTEXT), )) -API('Z3_get_smtlib_decl', FUNC_DECL, (_in(CONTEXT), _in(UINT))) -API('Z3_get_smtlib_num_sorts', UINT, (_in(CONTEXT), )) -API('Z3_get_smtlib_sort', SORT, (_in(CONTEXT), _in(UINT))) -API('Z3_get_smtlib_error', STRING, (_in(CONTEXT), )) - -API('Z3_parse_z3_string', AST, (_in(CONTEXT), _in(STRING))) -API('Z3_parse_z3_file', AST, (_in(CONTEXT), _in(STRING))) - -API('Z3_parse_smtlib2_string', AST, (_in(CONTEXT), _in(STRING), _in(UINT), _in_array(2, SYMBOL), _in_array(2, SORT), - _in(UINT), _in_array(5, SYMBOL), _in_array(5, FUNC_DECL))) -API('Z3_parse_smtlib2_file', AST, (_in(CONTEXT), _in(STRING), _in(UINT), _in_array(2, SYMBOL), _in_array(2, SORT), - _in(UINT), _in_array(5, SYMBOL), _in_array(5, FUNC_DECL))) - -API('Z3_get_error_code', UINT, (_in(CONTEXT), )) -API('Z3_set_error', VOID, (_in(CONTEXT), _in(ERROR_CODE))) -API('Z3_get_error_msg', STRING, (_in(ERROR_CODE),)) - -API('Z3_get_version', VOID, (_out(UINT), _out(UINT), _out(UINT), _out(UINT))) -API('Z3_reset_memory', VOID, ()) -API('Z3_is_app', BOOL, (_in(CONTEXT), _in(AST))) -API('Z3_is_numeral_ast', BOOL, (_in(CONTEXT), _in(AST))) -API('Z3_get_arity', UINT, (_in(CONTEXT), _in(FUNC_DECL))) -API('Z3_mk_injective_function', FUNC_DECL, (_in(CONTEXT), _in(SYMBOL), _in(UINT), _in_array(2, SORT), _in(SORT))) - -API('Z3_mk_fixedpoint', FIXEDPOINT, (_in(CONTEXT), )) -API('Z3_fixedpoint_inc_ref', VOID, (_in(CONTEXT), _in(FIXEDPOINT))) -API('Z3_fixedpoint_dec_ref', VOID, (_in(CONTEXT), _in(FIXEDPOINT))) -API('Z3_fixedpoint_push', VOID, (_in(CONTEXT), _in(FIXEDPOINT))) -API('Z3_fixedpoint_pop', VOID, (_in(CONTEXT), _in(FIXEDPOINT))) -API('Z3_fixedpoint_register_relation', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(FUNC_DECL))) -API('Z3_fixedpoint_assert', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(AST))) -API('Z3_fixedpoint_add_rule', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(AST), _in(SYMBOL))) -API('Z3_fixedpoint_add_fact', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(FUNC_DECL), _in(UINT), _in_array(3, UINT))) -API('Z3_fixedpoint_query', INT, (_in(CONTEXT), _in(FIXEDPOINT), _in(AST))) -API('Z3_fixedpoint_query_relations', INT, (_in(CONTEXT), _in(FIXEDPOINT), _in(UINT), _in_array(2, FUNC_DECL))) -API('Z3_fixedpoint_get_answer', AST, (_in(CONTEXT), _in(FIXEDPOINT))) -API('Z3_fixedpoint_update_rule', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(AST), _in(SYMBOL))) -API('Z3_fixedpoint_get_num_levels', UINT, (_in(CONTEXT), _in(FIXEDPOINT), _in(FUNC_DECL))) -API('Z3_fixedpoint_get_cover_delta', AST, (_in(CONTEXT), _in(FIXEDPOINT), _in(INT), _in(FUNC_DECL))) -API('Z3_fixedpoint_add_cover', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(INT), _in(FUNC_DECL), _in(AST))) -API('Z3_fixedpoint_get_statistics', STATS, (_in(CONTEXT), _in(FIXEDPOINT))) -API('Z3_fixedpoint_get_help', STRING, (_in(CONTEXT), _in(FIXEDPOINT))) -API('Z3_fixedpoint_get_param_descrs', PARAM_DESCRS, (_in(CONTEXT), _in(FIXEDPOINT))) -API('Z3_fixedpoint_set_params', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(PARAMS))) -API('Z3_fixedpoint_to_string', STRING, (_in(CONTEXT), _in(FIXEDPOINT), _in(UINT), _in_array(2, AST))) -API('Z3_fixedpoint_get_reason_unknown', STRING, (_in(CONTEXT), _in(FIXEDPOINT) )) -API('Z3_fixedpoint_set_predicate_representation', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(FUNC_DECL), _in(UINT), _in_array(3, SYMBOL))) -API('Z3_fixedpoint_simplify_rules', AST_VECTOR, (_in(CONTEXT), _in(FIXEDPOINT), _in(UINT), _in_array(2,AST), _in(UINT), _in_array(4,FUNC_DECL))) -# Parameter set support -API('Z3_mk_params', PARAMS, (_in(CONTEXT),)) -API('Z3_params_inc_ref', VOID, (_in(CONTEXT), _in(PARAMS))) -API('Z3_params_dec_ref', VOID, (_in(CONTEXT), _in(PARAMS))) -API('Z3_params_set_bool', VOID, (_in(CONTEXT), _in(PARAMS), _in(SYMBOL), _in(BOOL))) -API('Z3_params_set_uint', VOID, (_in(CONTEXT), _in(PARAMS), _in(SYMBOL), _in(UINT))) -API('Z3_params_set_double', VOID, (_in(CONTEXT), _in(PARAMS), _in(SYMBOL), _in(DOUBLE))) -API('Z3_params_set_symbol', VOID, (_in(CONTEXT), _in(PARAMS), _in(SYMBOL), _in(SYMBOL))) -API('Z3_params_to_string', STRING, (_in(CONTEXT), _in(PARAMS))) -API('Z3_params_validate', VOID, (_in(CONTEXT), _in(PARAMS), _in(PARAM_DESCRS))) -# Parameter description -API('Z3_param_descrs_inc_ref', VOID, (_in(CONTEXT), _in(PARAM_DESCRS))) -API('Z3_param_descrs_dec_ref', VOID, (_in(CONTEXT), _in(PARAM_DESCRS))) -API('Z3_param_descrs_get_kind', UINT, (_in(CONTEXT), _in(PARAM_DESCRS), _in(SYMBOL))) -API('Z3_param_descrs_size', UINT, (_in(CONTEXT), _in(PARAM_DESCRS))) -API('Z3_param_descrs_get_name', SYMBOL, (_in(CONTEXT), _in(PARAM_DESCRS), _in(UINT))) -API('Z3_param_descrs_to_string', STRING, (_in(CONTEXT), _in(PARAM_DESCRS))) -# New APIs -API('Z3_interrupt', VOID, (_in(CONTEXT),)) -API('Z3_get_error_msg_ex', STRING, (_in(CONTEXT), _in(ERROR_CODE))) -API('Z3_translate', AST, (_in(CONTEXT), _in(AST), _in(CONTEXT))) -# Goal support -API('Z3_mk_goal', GOAL, (_in(CONTEXT), _in(BOOL), _in(BOOL), _in(BOOL))) -API('Z3_goal_inc_ref', VOID, (_in(CONTEXT), _in(GOAL))) -API('Z3_goal_dec_ref', VOID, (_in(CONTEXT), _in(GOAL))) -API('Z3_goal_precision', UINT, (_in(CONTEXT), _in(GOAL))) -API('Z3_goal_assert', VOID, (_in(CONTEXT), _in(GOAL), _in(AST))) -API('Z3_goal_inconsistent', BOOL, (_in(CONTEXT), _in(GOAL))) -API('Z3_goal_depth', UINT, (_in(CONTEXT), _in(GOAL))) -API('Z3_goal_reset', VOID, (_in(CONTEXT), _in(GOAL))) -API('Z3_goal_size', UINT, (_in(CONTEXT), _in(GOAL))) -API('Z3_goal_formula', AST, (_in(CONTEXT), _in(GOAL), _in(UINT))) -API('Z3_goal_num_exprs', UINT, (_in(CONTEXT), _in(GOAL))) -API('Z3_goal_is_decided_sat', BOOL, (_in(CONTEXT), _in(GOAL))) -API('Z3_goal_is_decided_unsat', BOOL, (_in(CONTEXT), _in(GOAL))) -API('Z3_goal_translate', GOAL, (_in(CONTEXT), _in(GOAL), _in(CONTEXT))) -API('Z3_goal_to_string', STRING, (_in(CONTEXT), _in(GOAL))) -# Tactics and Goals -API('Z3_mk_tactic', TACTIC, (_in(CONTEXT), _in(STRING))) -API('Z3_mk_probe', PROBE, (_in(CONTEXT), _in(STRING))) -API('Z3_tactic_inc_ref', VOID, (_in(CONTEXT), _in(TACTIC))) -API('Z3_tactic_dec_ref', VOID, (_in(CONTEXT), _in(TACTIC))) -API('Z3_probe_inc_ref', VOID, (_in(CONTEXT), _in(PROBE))) -API('Z3_probe_dec_ref', VOID, (_in(CONTEXT), _in(PROBE))) -API('Z3_tactic_and_then', TACTIC, (_in(CONTEXT), _in(TACTIC), _in(TACTIC))) -API('Z3_tactic_or_else', TACTIC, (_in(CONTEXT), _in(TACTIC), _in(TACTIC))) -API('Z3_tactic_par_or', TACTIC, (_in(CONTEXT), _in(UINT), _in_array(1, TACTIC))) -API('Z3_tactic_par_and_then', TACTIC, (_in(CONTEXT), _in(TACTIC), _in(TACTIC))) -API('Z3_tactic_try_for', TACTIC, (_in(CONTEXT), _in(TACTIC), _in(UINT))) -API('Z3_tactic_when', TACTIC, (_in(CONTEXT), _in(PROBE), _in(TACTIC))) -API('Z3_tactic_cond', TACTIC, (_in(CONTEXT), _in(PROBE), _in(TACTIC), _in(TACTIC))) -API('Z3_tactic_repeat', TACTIC, (_in(CONTEXT), _in(TACTIC), _in(UINT))) -API('Z3_tactic_skip', TACTIC, (_in(CONTEXT),)) -API('Z3_tactic_fail', TACTIC, (_in(CONTEXT),)) -API('Z3_tactic_fail_if', TACTIC, (_in(CONTEXT), _in(PROBE))) -API('Z3_tactic_fail_if_not_decided', TACTIC, (_in(CONTEXT),)) -API('Z3_tactic_using_params', TACTIC, (_in(CONTEXT), _in(TACTIC), _in(PARAMS))) -API('Z3_probe_const', PROBE, (_in(CONTEXT), _in(DOUBLE))) -API('Z3_probe_lt', PROBE, (_in(CONTEXT), _in(PROBE), _in(PROBE))) -API('Z3_probe_le', PROBE, (_in(CONTEXT), _in(PROBE), _in(PROBE))) -API('Z3_probe_gt', PROBE, (_in(CONTEXT), _in(PROBE), _in(PROBE))) -API('Z3_probe_ge', PROBE, (_in(CONTEXT), _in(PROBE), _in(PROBE))) -API('Z3_probe_eq', PROBE, (_in(CONTEXT), _in(PROBE), _in(PROBE))) -API('Z3_probe_and', PROBE, (_in(CONTEXT), _in(PROBE), _in(PROBE))) -API('Z3_probe_or', PROBE, (_in(CONTEXT), _in(PROBE), _in(PROBE))) -API('Z3_probe_not', PROBE, (_in(CONTEXT), _in(PROBE))) -API('Z3_get_num_tactics', UINT, (_in(CONTEXT),)) -API('Z3_get_tactic_name', STRING, (_in(CONTEXT), _in(UINT))) -API('Z3_get_num_probes', UINT, (_in(CONTEXT),)) -API('Z3_get_probe_name', STRING, (_in(CONTEXT), _in(UINT))) -API('Z3_tactic_get_help', STRING, (_in(CONTEXT), _in(TACTIC))) -API('Z3_tactic_get_param_descrs', PARAM_DESCRS, (_in(CONTEXT), _in(TACTIC))) -API('Z3_tactic_get_descr', STRING, (_in(CONTEXT), _in(STRING))) -API('Z3_probe_get_descr', STRING, (_in(CONTEXT), _in(STRING))) -API('Z3_probe_apply', DOUBLE, (_in(CONTEXT), _in(PROBE), _in(GOAL))) -API('Z3_tactic_apply', APPLY_RESULT, (_in(CONTEXT), _in(TACTIC), _in(GOAL))) -API('Z3_tactic_apply_ex', APPLY_RESULT, (_in(CONTEXT), _in(TACTIC), _in(GOAL), _in(PARAMS))) -API('Z3_apply_result_inc_ref', VOID, (_in(CONTEXT), _in(APPLY_RESULT))) -API('Z3_apply_result_dec_ref', VOID, (_in(CONTEXT), _in(APPLY_RESULT))) -API('Z3_apply_result_to_string', STRING, (_in(CONTEXT), _in(APPLY_RESULT))) -API('Z3_apply_result_get_num_subgoals', UINT, (_in(CONTEXT), _in(APPLY_RESULT))) -API('Z3_apply_result_get_subgoal', GOAL, (_in(CONTEXT), _in(APPLY_RESULT), _in(UINT))) -API('Z3_apply_result_convert_model', MODEL, (_in(CONTEXT), _in(APPLY_RESULT), _in(UINT), _in(MODEL))) -# Solver API -API('Z3_mk_solver', SOLVER, (_in(CONTEXT),)) -API('Z3_mk_simple_solver', SOLVER, (_in(CONTEXT),)) -API('Z3_mk_solver_for_logic', SOLVER, (_in(CONTEXT), _in(SYMBOL))) -API('Z3_mk_solver_from_tactic', SOLVER, (_in(CONTEXT), _in(TACTIC))) -API('Z3_solver_get_help', STRING, (_in(CONTEXT), _in(SOLVER))) -API('Z3_solver_get_param_descrs', PARAM_DESCRS, (_in(CONTEXT), _in(SOLVER))) -API('Z3_solver_set_params', VOID, (_in(CONTEXT), _in(SOLVER), _in(PARAMS))) -API('Z3_solver_inc_ref', VOID, (_in(CONTEXT), _in(SOLVER))) -API('Z3_solver_dec_ref', VOID, (_in(CONTEXT), _in(SOLVER))) -API('Z3_solver_push', VOID, (_in(CONTEXT), _in(SOLVER))) -API('Z3_solver_pop', VOID, (_in(CONTEXT), _in(SOLVER), _in(UINT))) -API('Z3_solver_reset', VOID, (_in(CONTEXT), _in(SOLVER))) -API('Z3_solver_get_num_scopes', UINT, (_in(CONTEXT), _in(SOLVER))) -API('Z3_solver_assert', VOID, (_in(CONTEXT), _in(SOLVER), _in(AST))) -API('Z3_solver_get_assertions', AST_VECTOR, (_in(CONTEXT), _in(SOLVER))) -API('Z3_solver_check', INT, (_in(CONTEXT), _in(SOLVER))) -API('Z3_solver_check_assumptions', INT, (_in(CONTEXT), _in(SOLVER), _in(UINT), _in_array(2, AST))) -API('Z3_solver_get_model', MODEL, (_in(CONTEXT), _in(SOLVER))) -API('Z3_solver_get_proof', AST, (_in(CONTEXT), _in(SOLVER))) -API('Z3_solver_get_unsat_core', AST_VECTOR, (_in(CONTEXT), _in(SOLVER))) -API('Z3_solver_get_reason_unknown', STRING, (_in(CONTEXT), _in(SOLVER))) -API('Z3_solver_get_statistics', STATS, (_in(CONTEXT), _in(SOLVER))) -API('Z3_solver_to_string', STRING, (_in(CONTEXT), _in(SOLVER))) -# Statistics API -API('Z3_stats_to_string', STRING, (_in(CONTEXT), _in(STATS))) -API('Z3_stats_inc_ref', VOID, (_in(CONTEXT), _in(STATS))) -API('Z3_stats_dec_ref', VOID, (_in(CONTEXT), _in(STATS))) -API('Z3_stats_size', UINT, (_in(CONTEXT), _in(STATS))) -API('Z3_stats_get_key', STRING, (_in(CONTEXT), _in(STATS), _in(UINT))) -API('Z3_stats_is_uint', BOOL, (_in(CONTEXT), _in(STATS), _in(UINT))) -API('Z3_stats_is_double', BOOL, (_in(CONTEXT), _in(STATS), _in(UINT))) -API('Z3_stats_get_uint_value', UINT, (_in(CONTEXT), _in(STATS), _in(UINT))) -API('Z3_stats_get_double_value', DOUBLE, (_in(CONTEXT), _in(STATS), _in(UINT))) -# AST Vectors -API('Z3_mk_ast_vector', AST_VECTOR, (_in(CONTEXT),)) -API('Z3_ast_vector_inc_ref', VOID, (_in(CONTEXT), _in(AST_VECTOR))) -API('Z3_ast_vector_dec_ref', VOID, (_in(CONTEXT), _in(AST_VECTOR))) -API('Z3_ast_vector_size', UINT, (_in(CONTEXT), _in(AST_VECTOR))) -API('Z3_ast_vector_get', AST, (_in(CONTEXT), _in(AST_VECTOR), _in(UINT))) -API('Z3_ast_vector_set', VOID, (_in(CONTEXT), _in(AST_VECTOR), _in(UINT), _in(AST))) -API('Z3_ast_vector_resize', VOID, (_in(CONTEXT), _in(AST_VECTOR), _in(UINT))) -API('Z3_ast_vector_push', VOID, (_in(CONTEXT), _in(AST_VECTOR), _in(AST))) -API('Z3_ast_vector_translate', AST_VECTOR, (_in(CONTEXT), _in(AST_VECTOR), _in(CONTEXT))) -API('Z3_ast_vector_to_string', STRING, (_in(CONTEXT), _in(AST_VECTOR))) -# AST Maps -API('Z3_mk_ast_map', AST_MAP, (_in(CONTEXT),)) -API('Z3_ast_map_inc_ref', VOID, (_in(CONTEXT), _in(AST_MAP))) -API('Z3_ast_map_dec_ref', VOID, (_in(CONTEXT), _in(AST_MAP))) -API('Z3_ast_map_contains', BOOL, (_in(CONTEXT), _in(AST_MAP), _in(AST))) -API('Z3_ast_map_find', AST, (_in(CONTEXT), _in(AST_MAP), _in(AST))) -API('Z3_ast_map_insert', VOID, (_in(CONTEXT), _in(AST_MAP), _in(AST), _in(AST))) -API('Z3_ast_map_erase', VOID, (_in(CONTEXT), _in(AST_MAP), _in(AST))) -API('Z3_ast_map_size', UINT, (_in(CONTEXT), _in(AST_MAP))) -API('Z3_ast_map_reset', VOID, (_in(CONTEXT), _in(AST_MAP))) -API('Z3_ast_map_keys', AST_VECTOR, (_in(CONTEXT), _in(AST_MAP))) -API('Z3_ast_map_to_string', STRING, (_in(CONTEXT), _in(AST_MAP))) -# WARNING: we do not support logging for the theory plugin API -extra_API('Z3_open_log', INT, (_in(STRING),)) -extra_API('Z3_append_log', VOID, (_in(STRING),)) -extra_API('Z3_close_log', VOID, ()) - -mk_bindings() -mk_py_wrappers() -mk_dotnet() -mk_dotnet_wrappers() -# mk_defs() diff --git a/lib/api_commands.cpp b/lib/api_commands.cpp index 342b25155..4b6cd61c5 100644 --- a/lib/api_commands.cpp +++ b/lib/api_commands.cpp @@ -1,3484 +1,3484 @@ -// Automatically generated file, generator: api.py -#include"z3.h" -#include"z3_replayer.h" -void Z3_replacer_error_handler(Z3_context ctx, Z3_error_code c) { printf("[REPLAYER ERROR HANDLER]: %s\n", Z3_get_error_msg_ex(ctx, c)); } -void exec_Z3_mk_config(z3_replayer & in) { - Z3_config result = Z3_mk_config( - ); - in.store_result(result); -} -void exec_Z3_del_config(z3_replayer & in) { - Z3_del_config( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_set_param_value(z3_replayer & in) { - Z3_set_param_value( - reinterpret_cast(in.get_obj(0)), - in.get_str(1), - in.get_str(2)); -} -void exec_Z3_mk_context(z3_replayer & in) { - Z3_context result = Z3_mk_context( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); - Z3_set_error_handler(result, Z3_replacer_error_handler);} -void exec_Z3_mk_context_rc(z3_replayer & in) { - Z3_context result = Z3_mk_context_rc( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); - Z3_set_error_handler(result, Z3_replacer_error_handler);} -void exec_Z3_set_logic(z3_replayer & in) { - Z3_set_logic( - reinterpret_cast(in.get_obj(0)), - in.get_str(1)); -} -void exec_Z3_del_context(z3_replayer & in) { - Z3_del_context( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_inc_ref(z3_replayer & in) { - Z3_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_dec_ref(z3_replayer & in) { - Z3_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_toggle_warning_messages(z3_replayer & in) { - Z3_toggle_warning_messages( - in.get_bool(0)); -} -void exec_Z3_update_param_value(z3_replayer & in) { - Z3_update_param_value( - reinterpret_cast(in.get_obj(0)), - in.get_str(1), - in.get_str(2)); -} -void exec_Z3_get_param_value(z3_replayer & in) { - Z3_get_param_value( - reinterpret_cast(in.get_obj(0)), - in.get_str(1), - in.get_str_addr(2)); -} -void exec_Z3_mk_int_symbol(z3_replayer & in) { - Z3_mk_int_symbol( - reinterpret_cast(in.get_obj(0)), - in.get_int(1)); -} -void exec_Z3_mk_string_symbol(z3_replayer & in) { - Z3_mk_string_symbol( - reinterpret_cast(in.get_obj(0)), - in.get_str(1)); -} -void exec_Z3_is_eq_sort(z3_replayer & in) { - Z3_is_eq_sort( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_mk_uninterpreted_sort(z3_replayer & in) { - Z3_sort result = Z3_mk_uninterpreted_sort( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1)); - in.store_result(result); -} -void exec_Z3_mk_bool_sort(z3_replayer & in) { - Z3_sort result = Z3_mk_bool_sort( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_mk_int_sort(z3_replayer & in) { - Z3_sort result = Z3_mk_int_sort( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_mk_real_sort(z3_replayer & in) { - Z3_sort result = Z3_mk_real_sort( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_mk_bv_sort(z3_replayer & in) { - Z3_sort result = Z3_mk_bv_sort( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1)); - in.store_result(result); -} -void exec_Z3_mk_array_sort(z3_replayer & in) { - Z3_sort result = Z3_mk_array_sort( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_tuple_sort(z3_replayer & in) { - Z3_sort result = Z3_mk_tuple_sort( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1), - in.get_uint(2), - in.get_symbol_array(3), - reinterpret_cast(in.get_obj_array(4)), - reinterpret_cast(in.get_obj_addr(5)), - reinterpret_cast(in.get_obj_array(6))); - in.store_result(result); -} -void exec_Z3_mk_enumeration_sort(z3_replayer & in) { - Z3_sort result = Z3_mk_enumeration_sort( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1), - in.get_uint(2), - in.get_symbol_array(3), - reinterpret_cast(in.get_obj_array(4)), - reinterpret_cast(in.get_obj_array(5))); - in.store_result(result); -} -void exec_Z3_mk_list_sort(z3_replayer & in) { - Z3_sort result = Z3_mk_list_sort( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1), - reinterpret_cast(in.get_obj(2)), - reinterpret_cast(in.get_obj_addr(3)), - reinterpret_cast(in.get_obj_addr(4)), - reinterpret_cast(in.get_obj_addr(5)), - reinterpret_cast(in.get_obj_addr(6)), - reinterpret_cast(in.get_obj_addr(7)), - reinterpret_cast(in.get_obj_addr(8))); - in.store_result(result); -} -void exec_Z3_mk_constructor(z3_replayer & in) { - Z3_constructor result = Z3_mk_constructor( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1), - in.get_symbol(2), - in.get_uint(3), - in.get_symbol_array(4), - reinterpret_cast(in.get_obj_array(5)), - in.get_uint_array(6)); - in.store_result(result); -} -void exec_Z3_query_constructor(z3_replayer & in) { - Z3_query_constructor( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - reinterpret_cast(in.get_obj_addr(3)), - reinterpret_cast(in.get_obj_addr(4)), - reinterpret_cast(in.get_obj_array(5))); -} -void exec_Z3_del_constructor(z3_replayer & in) { - Z3_del_constructor( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_mk_datatype(z3_replayer & in) { - Z3_sort result = Z3_mk_datatype( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3))); - in.store_result(result); -} -void exec_Z3_mk_constructor_list(z3_replayer & in) { - Z3_constructor_list result = Z3_mk_constructor_list( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj_array(2))); - in.store_result(result); -} -void exec_Z3_del_constructor_list(z3_replayer & in) { - Z3_del_constructor_list( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_mk_datatypes(z3_replayer & in) { - Z3_mk_datatypes( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - in.get_symbol_array(2), - reinterpret_cast(in.get_obj_array(3)), - reinterpret_cast(in.get_obj_array(4))); -} -void exec_Z3_is_eq_ast(z3_replayer & in) { - Z3_is_eq_ast( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_is_eq_func_decl(z3_replayer & in) { - Z3_is_eq_func_decl( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_mk_func_decl(z3_replayer & in) { - Z3_func_decl result = Z3_mk_func_decl( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3)), - reinterpret_cast(in.get_obj(4))); - in.store_result(result); -} -void exec_Z3_mk_app(z3_replayer & in) { - Z3_ast result = Z3_mk_app( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3))); - in.store_result(result); -} -void exec_Z3_mk_const(z3_replayer & in) { - Z3_ast result = Z3_mk_const( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_label(z3_replayer & in) { - Z3_ast result = Z3_mk_label( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1), - in.get_bool(2), - reinterpret_cast(in.get_obj(3))); - in.store_result(result); -} -void exec_Z3_mk_fresh_func_decl(z3_replayer & in) { - Z3_func_decl result = Z3_mk_fresh_func_decl( - reinterpret_cast(in.get_obj(0)), - in.get_str(1), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3)), - reinterpret_cast(in.get_obj(4))); - in.store_result(result); -} -void exec_Z3_mk_fresh_const(z3_replayer & in) { - Z3_ast result = Z3_mk_fresh_const( - reinterpret_cast(in.get_obj(0)), - in.get_str(1), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_true(z3_replayer & in) { - Z3_ast result = Z3_mk_true( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_mk_false(z3_replayer & in) { - Z3_ast result = Z3_mk_false( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_mk_eq(z3_replayer & in) { - Z3_ast result = Z3_mk_eq( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_distinct(z3_replayer & in) { - Z3_ast result = Z3_mk_distinct( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj_array(2))); - in.store_result(result); -} -void exec_Z3_mk_not(z3_replayer & in) { - Z3_ast result = Z3_mk_not( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_ite(z3_replayer & in) { - Z3_ast result = Z3_mk_ite( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - reinterpret_cast(in.get_obj(3))); - in.store_result(result); -} -void exec_Z3_mk_iff(z3_replayer & in) { - Z3_ast result = Z3_mk_iff( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_implies(z3_replayer & in) { - Z3_ast result = Z3_mk_implies( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_xor(z3_replayer & in) { - Z3_ast result = Z3_mk_xor( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_and(z3_replayer & in) { - Z3_ast result = Z3_mk_and( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj_array(2))); - in.store_result(result); -} -void exec_Z3_mk_or(z3_replayer & in) { - Z3_ast result = Z3_mk_or( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj_array(2))); - in.store_result(result); -} -void exec_Z3_mk_add(z3_replayer & in) { - Z3_ast result = Z3_mk_add( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj_array(2))); - in.store_result(result); -} -void exec_Z3_mk_mul(z3_replayer & in) { - Z3_ast result = Z3_mk_mul( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj_array(2))); - in.store_result(result); -} -void exec_Z3_mk_sub(z3_replayer & in) { - Z3_ast result = Z3_mk_sub( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj_array(2))); - in.store_result(result); -} -void exec_Z3_mk_unary_minus(z3_replayer & in) { - Z3_ast result = Z3_mk_unary_minus( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_div(z3_replayer & in) { - Z3_ast result = Z3_mk_div( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_mod(z3_replayer & in) { - Z3_ast result = Z3_mk_mod( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_rem(z3_replayer & in) { - Z3_ast result = Z3_mk_rem( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_power(z3_replayer & in) { - Z3_ast result = Z3_mk_power( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_is_algebraic_number(z3_replayer & in) { - Z3_is_algebraic_number( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_algebraic_number_lower(z3_replayer & in) { - Z3_ast result = Z3_get_algebraic_number_lower( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_algebraic_number_upper(z3_replayer & in) { - Z3_ast result = Z3_get_algebraic_number_upper( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_mk_lt(z3_replayer & in) { - Z3_ast result = Z3_mk_lt( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_le(z3_replayer & in) { - Z3_ast result = Z3_mk_le( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_gt(z3_replayer & in) { - Z3_ast result = Z3_mk_gt( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_ge(z3_replayer & in) { - Z3_ast result = Z3_mk_ge( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_int2real(z3_replayer & in) { - Z3_ast result = Z3_mk_int2real( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_real2int(z3_replayer & in) { - Z3_ast result = Z3_mk_real2int( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_is_int(z3_replayer & in) { - Z3_ast result = Z3_mk_is_int( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_bvnot(z3_replayer & in) { - Z3_ast result = Z3_mk_bvnot( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_bvredand(z3_replayer & in) { - Z3_ast result = Z3_mk_bvredand( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_bvredor(z3_replayer & in) { - Z3_ast result = Z3_mk_bvredor( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_bvand(z3_replayer & in) { - Z3_ast result = Z3_mk_bvand( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvor(z3_replayer & in) { - Z3_ast result = Z3_mk_bvor( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvxor(z3_replayer & in) { - Z3_ast result = Z3_mk_bvxor( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvnand(z3_replayer & in) { - Z3_ast result = Z3_mk_bvnand( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvnor(z3_replayer & in) { - Z3_ast result = Z3_mk_bvnor( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvxnor(z3_replayer & in) { - Z3_ast result = Z3_mk_bvxnor( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvneg(z3_replayer & in) { - Z3_ast result = Z3_mk_bvneg( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_bvadd(z3_replayer & in) { - Z3_ast result = Z3_mk_bvadd( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvsub(z3_replayer & in) { - Z3_ast result = Z3_mk_bvsub( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvmul(z3_replayer & in) { - Z3_ast result = Z3_mk_bvmul( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvudiv(z3_replayer & in) { - Z3_ast result = Z3_mk_bvudiv( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvsdiv(z3_replayer & in) { - Z3_ast result = Z3_mk_bvsdiv( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvurem(z3_replayer & in) { - Z3_ast result = Z3_mk_bvurem( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvsrem(z3_replayer & in) { - Z3_ast result = Z3_mk_bvsrem( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvsmod(z3_replayer & in) { - Z3_ast result = Z3_mk_bvsmod( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvult(z3_replayer & in) { - Z3_ast result = Z3_mk_bvult( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvslt(z3_replayer & in) { - Z3_ast result = Z3_mk_bvslt( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvule(z3_replayer & in) { - Z3_ast result = Z3_mk_bvule( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvsle(z3_replayer & in) { - Z3_ast result = Z3_mk_bvsle( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvuge(z3_replayer & in) { - Z3_ast result = Z3_mk_bvuge( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvsge(z3_replayer & in) { - Z3_ast result = Z3_mk_bvsge( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvugt(z3_replayer & in) { - Z3_ast result = Z3_mk_bvugt( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvsgt(z3_replayer & in) { - Z3_ast result = Z3_mk_bvsgt( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_concat(z3_replayer & in) { - Z3_ast result = Z3_mk_concat( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_extract(z3_replayer & in) { - Z3_ast result = Z3_mk_extract( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - in.get_uint(2), - reinterpret_cast(in.get_obj(3))); - in.store_result(result); -} -void exec_Z3_mk_sign_ext(z3_replayer & in) { - Z3_ast result = Z3_mk_sign_ext( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_zero_ext(z3_replayer & in) { - Z3_ast result = Z3_mk_zero_ext( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_repeat(z3_replayer & in) { - Z3_ast result = Z3_mk_repeat( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvshl(z3_replayer & in) { - Z3_ast result = Z3_mk_bvshl( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvlshr(z3_replayer & in) { - Z3_ast result = Z3_mk_bvlshr( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvashr(z3_replayer & in) { - Z3_ast result = Z3_mk_bvashr( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_rotate_left(z3_replayer & in) { - Z3_ast result = Z3_mk_rotate_left( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_rotate_right(z3_replayer & in) { - Z3_ast result = Z3_mk_rotate_right( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_ext_rotate_left(z3_replayer & in) { - Z3_ast result = Z3_mk_ext_rotate_left( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_ext_rotate_right(z3_replayer & in) { - Z3_ast result = Z3_mk_ext_rotate_right( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_int2bv(z3_replayer & in) { - Z3_ast result = Z3_mk_int2bv( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bv2int(z3_replayer & in) { - Z3_ast result = Z3_mk_bv2int( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_bool(2)); - in.store_result(result); -} -void exec_Z3_mk_bvadd_no_overflow(z3_replayer & in) { - Z3_ast result = Z3_mk_bvadd_no_overflow( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - in.get_bool(3)); - in.store_result(result); -} -void exec_Z3_mk_bvadd_no_underflow(z3_replayer & in) { - Z3_ast result = Z3_mk_bvadd_no_underflow( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvsub_no_overflow(z3_replayer & in) { - Z3_ast result = Z3_mk_bvsub_no_overflow( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvsub_no_underflow(z3_replayer & in) { - Z3_ast result = Z3_mk_bvsub_no_underflow( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - in.get_bool(3)); - in.store_result(result); -} -void exec_Z3_mk_bvsdiv_no_overflow(z3_replayer & in) { - Z3_ast result = Z3_mk_bvsdiv_no_overflow( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_bvneg_no_overflow(z3_replayer & in) { - Z3_ast result = Z3_mk_bvneg_no_overflow( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_bvmul_no_overflow(z3_replayer & in) { - Z3_ast result = Z3_mk_bvmul_no_overflow( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - in.get_bool(3)); - in.store_result(result); -} -void exec_Z3_mk_bvmul_no_underflow(z3_replayer & in) { - Z3_ast result = Z3_mk_bvmul_no_underflow( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_select(z3_replayer & in) { - Z3_ast result = Z3_mk_select( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_store(z3_replayer & in) { - Z3_ast result = Z3_mk_store( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - reinterpret_cast(in.get_obj(3))); - in.store_result(result); -} -void exec_Z3_mk_const_array(z3_replayer & in) { - Z3_ast result = Z3_mk_const_array( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_map(z3_replayer & in) { - Z3_ast result = Z3_mk_map( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3))); - in.store_result(result); -} -void exec_Z3_mk_array_default(z3_replayer & in) { - Z3_ast result = Z3_mk_array_default( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_set_sort(z3_replayer & in) { - Z3_sort result = Z3_mk_set_sort( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_empty_set(z3_replayer & in) { - Z3_ast result = Z3_mk_empty_set( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_full_set(z3_replayer & in) { - Z3_ast result = Z3_mk_full_set( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_set_add(z3_replayer & in) { - Z3_ast result = Z3_mk_set_add( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_set_del(z3_replayer & in) { - Z3_ast result = Z3_mk_set_del( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_set_union(z3_replayer & in) { - Z3_ast result = Z3_mk_set_union( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj_array(2))); - in.store_result(result); -} -void exec_Z3_mk_set_intersect(z3_replayer & in) { - Z3_ast result = Z3_mk_set_intersect( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj_array(2))); - in.store_result(result); -} -void exec_Z3_mk_set_difference(z3_replayer & in) { - Z3_ast result = Z3_mk_set_difference( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_set_complement(z3_replayer & in) { - Z3_ast result = Z3_mk_set_complement( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_mk_set_member(z3_replayer & in) { - Z3_ast result = Z3_mk_set_member( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_set_subset(z3_replayer & in) { - Z3_ast result = Z3_mk_set_subset( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_numeral(z3_replayer & in) { - Z3_ast result = Z3_mk_numeral( - reinterpret_cast(in.get_obj(0)), - in.get_str(1), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_real(z3_replayer & in) { - Z3_ast result = Z3_mk_real( - reinterpret_cast(in.get_obj(0)), - in.get_int(1), - in.get_int(2)); - in.store_result(result); -} -void exec_Z3_mk_int(z3_replayer & in) { - Z3_ast result = Z3_mk_int( - reinterpret_cast(in.get_obj(0)), - in.get_int(1), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_unsigned_int(z3_replayer & in) { - Z3_ast result = Z3_mk_unsigned_int( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_int64(z3_replayer & in) { - Z3_ast result = Z3_mk_int64( - reinterpret_cast(in.get_obj(0)), - in.get_int64(1), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_unsigned_int64(z3_replayer & in) { - Z3_ast result = Z3_mk_unsigned_int64( - reinterpret_cast(in.get_obj(0)), - in.get_uint64(1), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_pattern(z3_replayer & in) { - Z3_pattern result = Z3_mk_pattern( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj_array(2))); - in.store_result(result); -} -void exec_Z3_mk_bound(z3_replayer & in) { - Z3_ast result = Z3_mk_bound( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_forall(z3_replayer & in) { - Z3_ast result = Z3_mk_forall( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3)), - in.get_uint(4), - reinterpret_cast(in.get_obj_array(5)), - in.get_symbol_array(6), - reinterpret_cast(in.get_obj(7))); - in.store_result(result); -} -void exec_Z3_mk_exists(z3_replayer & in) { - Z3_ast result = Z3_mk_exists( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3)), - in.get_uint(4), - reinterpret_cast(in.get_obj_array(5)), - in.get_symbol_array(6), - reinterpret_cast(in.get_obj(7))); - in.store_result(result); -} -void exec_Z3_mk_quantifier(z3_replayer & in) { - Z3_ast result = Z3_mk_quantifier( - reinterpret_cast(in.get_obj(0)), - in.get_bool(1), - in.get_uint(2), - in.get_uint(3), - reinterpret_cast(in.get_obj_array(4)), - in.get_uint(5), - reinterpret_cast(in.get_obj_array(6)), - in.get_symbol_array(7), - reinterpret_cast(in.get_obj(8))); - in.store_result(result); -} -void exec_Z3_mk_quantifier_ex(z3_replayer & in) { - Z3_ast result = Z3_mk_quantifier_ex( - reinterpret_cast(in.get_obj(0)), - in.get_bool(1), - in.get_uint(2), - in.get_symbol(3), - in.get_symbol(4), - in.get_uint(5), - reinterpret_cast(in.get_obj_array(6)), - in.get_uint(7), - reinterpret_cast(in.get_obj_array(8)), - in.get_uint(9), - reinterpret_cast(in.get_obj_array(10)), - in.get_symbol_array(11), - reinterpret_cast(in.get_obj(12))); - in.store_result(result); -} -void exec_Z3_mk_forall_const(z3_replayer & in) { - Z3_ast result = Z3_mk_forall_const( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3)), - in.get_uint(4), - reinterpret_cast(in.get_obj_array(5)), - reinterpret_cast(in.get_obj(6))); - in.store_result(result); -} -void exec_Z3_mk_exists_const(z3_replayer & in) { - Z3_ast result = Z3_mk_exists_const( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3)), - in.get_uint(4), - reinterpret_cast(in.get_obj_array(5)), - reinterpret_cast(in.get_obj(6))); - in.store_result(result); -} -void exec_Z3_mk_quantifier_const(z3_replayer & in) { - Z3_ast result = Z3_mk_quantifier_const( - reinterpret_cast(in.get_obj(0)), - in.get_bool(1), - in.get_uint(2), - in.get_uint(3), - reinterpret_cast(in.get_obj_array(4)), - in.get_uint(5), - reinterpret_cast(in.get_obj_array(6)), - reinterpret_cast(in.get_obj(7))); - in.store_result(result); -} -void exec_Z3_mk_quantifier_const_ex(z3_replayer & in) { - Z3_ast result = Z3_mk_quantifier_const_ex( - reinterpret_cast(in.get_obj(0)), - in.get_bool(1), - in.get_uint(2), - in.get_symbol(3), - in.get_symbol(4), - in.get_uint(5), - reinterpret_cast(in.get_obj_array(6)), - in.get_uint(7), - reinterpret_cast(in.get_obj_array(8)), - in.get_uint(9), - reinterpret_cast(in.get_obj_array(10)), - reinterpret_cast(in.get_obj(11))); - in.store_result(result); -} -void exec_Z3_get_ast_id(z3_replayer & in) { - Z3_get_ast_id( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_func_decl_id(z3_replayer & in) { - Z3_get_func_decl_id( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_sort_id(z3_replayer & in) { - Z3_get_sort_id( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_is_well_sorted(z3_replayer & in) { - Z3_is_well_sorted( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_symbol_kind(z3_replayer & in) { - Z3_get_symbol_kind( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1)); -} -void exec_Z3_get_symbol_int(z3_replayer & in) { - Z3_get_symbol_int( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1)); -} -void exec_Z3_get_symbol_string(z3_replayer & in) { - Z3_get_symbol_string( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1)); -} -void exec_Z3_get_ast_kind(z3_replayer & in) { - Z3_get_ast_kind( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_ast_hash(z3_replayer & in) { - Z3_get_ast_hash( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_numeral_string(z3_replayer & in) { - Z3_get_numeral_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_numeral_decimal_string(z3_replayer & in) { - Z3_get_numeral_decimal_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_get_numerator(z3_replayer & in) { - Z3_ast result = Z3_get_numerator( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_get_denominator(z3_replayer & in) { - Z3_ast result = Z3_get_denominator( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_get_numeral_small(z3_replayer & in) { - Z3_get_numeral_small( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_int64_addr(2), - in.get_int64_addr(3)); -} -void exec_Z3_get_numeral_int(z3_replayer & in) { - Z3_get_numeral_int( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_int_addr(2)); -} -void exec_Z3_get_numeral_uint(z3_replayer & in) { - Z3_get_numeral_uint( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint_addr(2)); -} -void exec_Z3_get_numeral_uint64(z3_replayer & in) { - Z3_get_numeral_uint64( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint64_addr(2)); -} -void exec_Z3_get_numeral_int64(z3_replayer & in) { - Z3_get_numeral_int64( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_int64_addr(2)); -} -void exec_Z3_get_numeral_rational_int64(z3_replayer & in) { - Z3_get_numeral_rational_int64( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_int64_addr(2), - in.get_int64_addr(3)); -} -void exec_Z3_get_bool_value(z3_replayer & in) { - Z3_get_bool_value( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_app_decl(z3_replayer & in) { - Z3_func_decl result = Z3_get_app_decl( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_get_app_num_args(z3_replayer & in) { - Z3_get_app_num_args( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_app_arg(z3_replayer & in) { - Z3_ast result = Z3_get_app_arg( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_index_value(z3_replayer & in) { - Z3_get_index_value( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_is_quantifier_forall(z3_replayer & in) { - Z3_is_quantifier_forall( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_quantifier_weight(z3_replayer & in) { - Z3_get_quantifier_weight( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_quantifier_num_patterns(z3_replayer & in) { - Z3_get_quantifier_num_patterns( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_quantifier_pattern_ast(z3_replayer & in) { - Z3_pattern result = Z3_get_quantifier_pattern_ast( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_quantifier_num_no_patterns(z3_replayer & in) { - Z3_get_quantifier_num_no_patterns( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_quantifier_no_pattern_ast(z3_replayer & in) { - Z3_ast result = Z3_get_quantifier_no_pattern_ast( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_quantifier_bound_name(z3_replayer & in) { - Z3_get_quantifier_bound_name( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_get_quantifier_bound_sort(z3_replayer & in) { - Z3_sort result = Z3_get_quantifier_bound_sort( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_quantifier_body(z3_replayer & in) { - Z3_ast result = Z3_get_quantifier_body( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_get_quantifier_num_bound(z3_replayer & in) { - Z3_get_quantifier_num_bound( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_decl_name(z3_replayer & in) { - Z3_get_decl_name( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_decl_num_parameters(z3_replayer & in) { - Z3_get_decl_num_parameters( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_decl_parameter_kind(z3_replayer & in) { - Z3_get_decl_parameter_kind( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_get_decl_int_parameter(z3_replayer & in) { - Z3_get_decl_int_parameter( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_get_decl_double_parameter(z3_replayer & in) { - Z3_get_decl_double_parameter( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_get_decl_symbol_parameter(z3_replayer & in) { - Z3_get_decl_symbol_parameter( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_get_decl_sort_parameter(z3_replayer & in) { - Z3_sort result = Z3_get_decl_sort_parameter( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_decl_ast_parameter(z3_replayer & in) { - Z3_ast result = Z3_get_decl_ast_parameter( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_decl_func_decl_parameter(z3_replayer & in) { - Z3_func_decl result = Z3_get_decl_func_decl_parameter( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_decl_rational_parameter(z3_replayer & in) { - Z3_get_decl_rational_parameter( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_get_sort_name(z3_replayer & in) { - Z3_get_sort_name( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_sort(z3_replayer & in) { - Z3_sort result = Z3_get_sort( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_get_domain_size(z3_replayer & in) { - Z3_get_domain_size( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_domain(z3_replayer & in) { - Z3_sort result = Z3_get_domain( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_range(z3_replayer & in) { - Z3_sort result = Z3_get_range( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_get_sort_kind(z3_replayer & in) { - Z3_get_sort_kind( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_bv_sort_size(z3_replayer & in) { - Z3_get_bv_sort_size( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_array_sort_domain(z3_replayer & in) { - Z3_sort result = Z3_get_array_sort_domain( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_get_array_sort_range(z3_replayer & in) { - Z3_sort result = Z3_get_array_sort_range( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_get_tuple_sort_mk_decl(z3_replayer & in) { - Z3_func_decl result = Z3_get_tuple_sort_mk_decl( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_get_decl_kind(z3_replayer & in) { - Z3_get_decl_kind( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_tuple_sort_num_fields(z3_replayer & in) { - Z3_get_tuple_sort_num_fields( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_tuple_sort_field_decl(z3_replayer & in) { - Z3_func_decl result = Z3_get_tuple_sort_field_decl( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_datatype_sort_num_constructors(z3_replayer & in) { - Z3_get_datatype_sort_num_constructors( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_datatype_sort_constructor(z3_replayer & in) { - Z3_func_decl result = Z3_get_datatype_sort_constructor( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_datatype_sort_recognizer(z3_replayer & in) { - Z3_func_decl result = Z3_get_datatype_sort_recognizer( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_datatype_sort_constructor_accessor(z3_replayer & in) { - Z3_func_decl result = Z3_get_datatype_sort_constructor_accessor( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - in.get_uint(3)); - in.store_result(result); -} -void exec_Z3_get_relation_arity(z3_replayer & in) { - Z3_get_relation_arity( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_relation_column(z3_replayer & in) { - Z3_sort result = Z3_get_relation_column( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_finite_domain_sort_size(z3_replayer & in) { - Z3_get_finite_domain_sort_size( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint64_addr(2)); -} -void exec_Z3_mk_finite_domain_sort(z3_replayer & in) { - Z3_sort result = Z3_mk_finite_domain_sort( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1), - in.get_uint64(2)); - in.store_result(result); -} -void exec_Z3_get_pattern_num_terms(z3_replayer & in) { - Z3_get_pattern_num_terms( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_pattern(z3_replayer & in) { - Z3_ast result = Z3_get_pattern( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_simplify(z3_replayer & in) { - Z3_ast result = Z3_simplify( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_simplify_ex(z3_replayer & in) { - Z3_ast result = Z3_simplify_ex( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_simplify_get_help(z3_replayer & in) { - Z3_simplify_get_help( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_simplify_get_param_descrs(z3_replayer & in) { - Z3_param_descrs result = Z3_simplify_get_param_descrs( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_update_term(z3_replayer & in) { - Z3_ast result = Z3_update_term( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3))); - in.store_result(result); -} -void exec_Z3_substitute(z3_replayer & in) { - Z3_ast result = Z3_substitute( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3)), - reinterpret_cast(in.get_obj_array(4))); - in.store_result(result); -} -void exec_Z3_substitute_vars(z3_replayer & in) { - Z3_ast result = Z3_substitute_vars( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3))); - in.store_result(result); -} -void exec_Z3_sort_to_ast(z3_replayer & in) { - Z3_ast result = Z3_sort_to_ast( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_func_decl_to_ast(z3_replayer & in) { - Z3_ast result = Z3_func_decl_to_ast( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_pattern_to_ast(z3_replayer & in) { - Z3_ast result = Z3_pattern_to_ast( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_app_to_ast(z3_replayer & in) { - Z3_ast result = Z3_app_to_ast( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_to_app(z3_replayer & in) { - Z3_app result = Z3_to_app( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_to_func_decl(z3_replayer & in) { - Z3_func_decl result = Z3_to_func_decl( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_push(z3_replayer & in) { - Z3_push( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_pop(z3_replayer & in) { - Z3_pop( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1)); -} -void exec_Z3_get_num_scopes(z3_replayer & in) { - Z3_get_num_scopes( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_persist_ast(z3_replayer & in) { - Z3_persist_ast( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_assert_cnstr(z3_replayer & in) { - Z3_assert_cnstr( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_check_and_get_model(z3_replayer & in) { - Z3_check_and_get_model( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj_addr(1))); -} -void exec_Z3_check(z3_replayer & in) { - Z3_check( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_check_assumptions(z3_replayer & in) { - Z3_check_assumptions( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj_array(2)), - reinterpret_cast(in.get_obj_addr(3)), - reinterpret_cast(in.get_obj_addr(4)), - in.get_uint_addr(5), - reinterpret_cast(in.get_obj_array(6))); -} -void exec_Z3_get_implied_equalities(z3_replayer & in) { - Z3_get_implied_equalities( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj_array(2)), - in.get_uint_array(3)); -} -void exec_Z3_del_model(z3_replayer & in) { - Z3_del_model( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_soft_check_cancel(z3_replayer & in) { - Z3_soft_check_cancel( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_get_search_failure(z3_replayer & in) { - Z3_get_search_failure( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_get_relevant_labels(z3_replayer & in) { - Z3_literals result = Z3_get_relevant_labels( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_get_relevant_literals(z3_replayer & in) { - Z3_literals result = Z3_get_relevant_literals( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_get_guessed_literals(z3_replayer & in) { - Z3_literals result = Z3_get_guessed_literals( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_del_literals(z3_replayer & in) { - Z3_del_literals( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_num_literals(z3_replayer & in) { - Z3_get_num_literals( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_label_symbol(z3_replayer & in) { - Z3_get_label_symbol( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_get_literal(z3_replayer & in) { - Z3_ast result = Z3_get_literal( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_disable_literal(z3_replayer & in) { - Z3_disable_literal( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_block_literals(z3_replayer & in) { - Z3_block_literals( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_model_inc_ref(z3_replayer & in) { - Z3_model_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_model_dec_ref(z3_replayer & in) { - Z3_model_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_model_get_const_interp(z3_replayer & in) { - Z3_ast result = Z3_model_get_const_interp( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_model_get_func_interp(z3_replayer & in) { - Z3_func_interp result = Z3_model_get_func_interp( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_model_get_num_consts(z3_replayer & in) { - Z3_model_get_num_consts( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_model_get_const_decl(z3_replayer & in) { - Z3_func_decl result = Z3_model_get_const_decl( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_model_get_num_funcs(z3_replayer & in) { - Z3_model_get_num_funcs( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_model_get_func_decl(z3_replayer & in) { - Z3_func_decl result = Z3_model_get_func_decl( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_model_eval(z3_replayer & in) { - Z3_model_eval( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - in.get_bool(3), - reinterpret_cast(in.get_obj_addr(4))); -} -void exec_Z3_model_get_num_sorts(z3_replayer & in) { - Z3_model_get_num_sorts( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_model_get_sort(z3_replayer & in) { - Z3_sort result = Z3_model_get_sort( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_model_get_sort_universe(z3_replayer & in) { - Z3_ast_vector result = Z3_model_get_sort_universe( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_is_as_array(z3_replayer & in) { - Z3_is_as_array( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_as_array_func_decl(z3_replayer & in) { - Z3_func_decl result = Z3_get_as_array_func_decl( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_func_interp_inc_ref(z3_replayer & in) { - Z3_func_interp_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_func_interp_dec_ref(z3_replayer & in) { - Z3_func_interp_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_func_interp_get_num_entries(z3_replayer & in) { - Z3_func_interp_get_num_entries( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_func_interp_get_entry(z3_replayer & in) { - Z3_func_entry result = Z3_func_interp_get_entry( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_func_interp_get_else(z3_replayer & in) { - Z3_ast result = Z3_func_interp_get_else( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_func_interp_get_arity(z3_replayer & in) { - Z3_func_interp_get_arity( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_func_entry_inc_ref(z3_replayer & in) { - Z3_func_entry_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_func_entry_dec_ref(z3_replayer & in) { - Z3_func_entry_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_func_entry_get_value(z3_replayer & in) { - Z3_ast result = Z3_func_entry_get_value( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_func_entry_get_num_args(z3_replayer & in) { - Z3_func_entry_get_num_args( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_func_entry_get_arg(z3_replayer & in) { - Z3_ast result = Z3_func_entry_get_arg( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_model_num_constants(z3_replayer & in) { - Z3_get_model_num_constants( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_model_constant(z3_replayer & in) { - Z3_func_decl result = Z3_get_model_constant( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_eval_func_decl(z3_replayer & in) { - Z3_eval_func_decl( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - reinterpret_cast(in.get_obj_addr(3))); -} -void exec_Z3_is_array_value(z3_replayer & in) { - Z3_is_array_value( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - in.get_uint_addr(3)); -} -void exec_Z3_get_array_value(z3_replayer & in) { - Z3_get_array_value( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - in.get_uint(3), - reinterpret_cast(in.get_obj_array(4)), - reinterpret_cast(in.get_obj_array(5)), - reinterpret_cast(in.get_obj_addr(6))); -} -void exec_Z3_get_model_num_funcs(z3_replayer & in) { - Z3_get_model_num_funcs( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_model_func_decl(z3_replayer & in) { - Z3_func_decl result = Z3_get_model_func_decl( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_model_func_else(z3_replayer & in) { - Z3_ast result = Z3_get_model_func_else( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_get_model_func_num_entries(z3_replayer & in) { - Z3_get_model_func_num_entries( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_get_model_func_entry_num_args(z3_replayer & in) { - Z3_get_model_func_entry_num_args( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - in.get_uint(3)); -} -void exec_Z3_get_model_func_entry_arg(z3_replayer & in) { - Z3_ast result = Z3_get_model_func_entry_arg( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - in.get_uint(3), - in.get_uint(4)); - in.store_result(result); -} -void exec_Z3_get_model_func_entry_value(z3_replayer & in) { - Z3_ast result = Z3_get_model_func_entry_value( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - in.get_uint(3)); - in.store_result(result); -} -void exec_Z3_eval(z3_replayer & in) { - Z3_eval( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - reinterpret_cast(in.get_obj_addr(3))); -} -void exec_Z3_eval_decl(z3_replayer & in) { - Z3_eval_decl( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - in.get_uint(3), - reinterpret_cast(in.get_obj_array(4)), - reinterpret_cast(in.get_obj_addr(5))); -} -void exec_Z3_set_ast_print_mode(z3_replayer & in) { - Z3_set_ast_print_mode( - reinterpret_cast(in.get_obj(0)), - static_cast(in.get_uint(1))); -} -void exec_Z3_ast_to_string(z3_replayer & in) { - Z3_ast_to_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_pattern_to_string(z3_replayer & in) { - Z3_pattern_to_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_sort_to_string(z3_replayer & in) { - Z3_sort_to_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_func_decl_to_string(z3_replayer & in) { - Z3_func_decl_to_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_model_to_string(z3_replayer & in) { - Z3_model_to_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_benchmark_to_smtlib_string(z3_replayer & in) { - Z3_benchmark_to_smtlib_string( - reinterpret_cast(in.get_obj(0)), - in.get_str(1), - in.get_str(2), - in.get_str(3), - in.get_str(4), - in.get_uint(5), - reinterpret_cast(in.get_obj_array(6)), - reinterpret_cast(in.get_obj(7))); -} -void exec_Z3_context_to_string(z3_replayer & in) { - Z3_context_to_string( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_statistics_to_string(z3_replayer & in) { - Z3_statistics_to_string( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_get_context_assignment(z3_replayer & in) { - Z3_ast result = Z3_get_context_assignment( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_parse_smtlib_string(z3_replayer & in) { - Z3_parse_smtlib_string( - reinterpret_cast(in.get_obj(0)), - in.get_str(1), - in.get_uint(2), - in.get_symbol_array(3), - reinterpret_cast(in.get_obj_array(4)), - in.get_uint(5), - in.get_symbol_array(6), - reinterpret_cast(in.get_obj_array(7))); -} -void exec_Z3_parse_smtlib_file(z3_replayer & in) { - Z3_parse_smtlib_file( - reinterpret_cast(in.get_obj(0)), - in.get_str(1), - in.get_uint(2), - in.get_symbol_array(3), - reinterpret_cast(in.get_obj_array(4)), - in.get_uint(5), - in.get_symbol_array(6), - reinterpret_cast(in.get_obj_array(7))); -} -void exec_Z3_get_smtlib_num_formulas(z3_replayer & in) { - Z3_get_smtlib_num_formulas( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_get_smtlib_formula(z3_replayer & in) { - Z3_ast result = Z3_get_smtlib_formula( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1)); - in.store_result(result); -} -void exec_Z3_get_smtlib_num_assumptions(z3_replayer & in) { - Z3_get_smtlib_num_assumptions( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_get_smtlib_assumption(z3_replayer & in) { - Z3_ast result = Z3_get_smtlib_assumption( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1)); - in.store_result(result); -} -void exec_Z3_get_smtlib_num_decls(z3_replayer & in) { - Z3_get_smtlib_num_decls( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_get_smtlib_decl(z3_replayer & in) { - Z3_func_decl result = Z3_get_smtlib_decl( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1)); - in.store_result(result); -} -void exec_Z3_get_smtlib_num_sorts(z3_replayer & in) { - Z3_get_smtlib_num_sorts( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_get_smtlib_sort(z3_replayer & in) { - Z3_sort result = Z3_get_smtlib_sort( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1)); - in.store_result(result); -} -void exec_Z3_get_smtlib_error(z3_replayer & in) { - Z3_get_smtlib_error( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_parse_z3_string(z3_replayer & in) { - Z3_ast result = Z3_parse_z3_string( - reinterpret_cast(in.get_obj(0)), - in.get_str(1)); - in.store_result(result); -} -void exec_Z3_parse_z3_file(z3_replayer & in) { - Z3_ast result = Z3_parse_z3_file( - reinterpret_cast(in.get_obj(0)), - in.get_str(1)); - in.store_result(result); -} -void exec_Z3_parse_smtlib2_string(z3_replayer & in) { - Z3_ast result = Z3_parse_smtlib2_string( - reinterpret_cast(in.get_obj(0)), - in.get_str(1), - in.get_uint(2), - in.get_symbol_array(3), - reinterpret_cast(in.get_obj_array(4)), - in.get_uint(5), - in.get_symbol_array(6), - reinterpret_cast(in.get_obj_array(7))); - in.store_result(result); -} -void exec_Z3_parse_smtlib2_file(z3_replayer & in) { - Z3_ast result = Z3_parse_smtlib2_file( - reinterpret_cast(in.get_obj(0)), - in.get_str(1), - in.get_uint(2), - in.get_symbol_array(3), - reinterpret_cast(in.get_obj_array(4)), - in.get_uint(5), - in.get_symbol_array(6), - reinterpret_cast(in.get_obj_array(7))); - in.store_result(result); -} -void exec_Z3_get_error_code(z3_replayer & in) { - Z3_get_error_code( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_set_error(z3_replayer & in) { - Z3_set_error( - reinterpret_cast(in.get_obj(0)), - static_cast(in.get_uint(1))); -} -void exec_Z3_get_error_msg(z3_replayer & in) { - Z3_get_error_msg( - static_cast(in.get_uint(0))); -} -void exec_Z3_get_version(z3_replayer & in) { - Z3_get_version( - in.get_uint_addr(0), - in.get_uint_addr(1), - in.get_uint_addr(2), - in.get_uint_addr(3)); -} -void exec_Z3_reset_memory(z3_replayer & in) { - Z3_reset_memory( - ); -} -void exec_Z3_is_app(z3_replayer & in) { - Z3_is_app( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_is_numeral_ast(z3_replayer & in) { - Z3_is_numeral_ast( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_get_arity(z3_replayer & in) { - Z3_get_arity( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_mk_injective_function(z3_replayer & in) { - Z3_func_decl result = Z3_mk_injective_function( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3)), - reinterpret_cast(in.get_obj(4))); - in.store_result(result); -} -void exec_Z3_mk_fixedpoint(z3_replayer & in) { - Z3_fixedpoint result = Z3_mk_fixedpoint( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_fixedpoint_inc_ref(z3_replayer & in) { - Z3_fixedpoint_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_fixedpoint_dec_ref(z3_replayer & in) { - Z3_fixedpoint_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_fixedpoint_push(z3_replayer & in) { - Z3_fixedpoint_push( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_fixedpoint_pop(z3_replayer & in) { - Z3_fixedpoint_pop( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_fixedpoint_register_relation(z3_replayer & in) { - Z3_fixedpoint_register_relation( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_fixedpoint_assert(z3_replayer & in) { - Z3_fixedpoint_assert( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_fixedpoint_add_rule(z3_replayer & in) { - Z3_fixedpoint_add_rule( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - in.get_symbol(3)); -} -void exec_Z3_fixedpoint_add_fact(z3_replayer & in) { - Z3_fixedpoint_add_fact( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - in.get_uint(3), - in.get_uint_array(4)); -} -void exec_Z3_fixedpoint_query(z3_replayer & in) { - Z3_fixedpoint_query( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_fixedpoint_query_relations(z3_replayer & in) { - Z3_fixedpoint_query_relations( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3))); -} -void exec_Z3_fixedpoint_get_answer(z3_replayer & in) { - Z3_ast result = Z3_fixedpoint_get_answer( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_fixedpoint_update_rule(z3_replayer & in) { - Z3_fixedpoint_update_rule( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - in.get_symbol(3)); -} -void exec_Z3_fixedpoint_get_num_levels(z3_replayer & in) { - Z3_fixedpoint_get_num_levels( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_fixedpoint_get_cover_delta(z3_replayer & in) { - Z3_ast result = Z3_fixedpoint_get_cover_delta( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_int(2), - reinterpret_cast(in.get_obj(3))); - in.store_result(result); -} -void exec_Z3_fixedpoint_add_cover(z3_replayer & in) { - Z3_fixedpoint_add_cover( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_int(2), - reinterpret_cast(in.get_obj(3)), - reinterpret_cast(in.get_obj(4))); -} -void exec_Z3_fixedpoint_get_statistics(z3_replayer & in) { - Z3_stats result = Z3_fixedpoint_get_statistics( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_fixedpoint_get_help(z3_replayer & in) { - Z3_fixedpoint_get_help( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_fixedpoint_get_param_descrs(z3_replayer & in) { - Z3_param_descrs result = Z3_fixedpoint_get_param_descrs( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_fixedpoint_set_params(z3_replayer & in) { - Z3_fixedpoint_set_params( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_fixedpoint_to_string(z3_replayer & in) { - Z3_fixedpoint_to_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3))); -} -void exec_Z3_fixedpoint_get_reason_unknown(z3_replayer & in) { - Z3_fixedpoint_get_reason_unknown( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_fixedpoint_set_predicate_representation(z3_replayer & in) { - Z3_fixedpoint_set_predicate_representation( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - in.get_uint(3), - in.get_symbol_array(4)); -} -void exec_Z3_fixedpoint_simplify_rules(z3_replayer & in) { - Z3_ast_vector result = Z3_fixedpoint_simplify_rules( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3)), - in.get_uint(4), - reinterpret_cast(in.get_obj_array(5))); - in.store_result(result); -} -void exec_Z3_mk_params(z3_replayer & in) { - Z3_params result = Z3_mk_params( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_params_inc_ref(z3_replayer & in) { - Z3_params_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_params_dec_ref(z3_replayer & in) { - Z3_params_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_params_set_bool(z3_replayer & in) { - Z3_params_set_bool( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_symbol(2), - in.get_bool(3)); -} -void exec_Z3_params_set_uint(z3_replayer & in) { - Z3_params_set_uint( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_symbol(2), - in.get_uint(3)); -} -void exec_Z3_params_set_double(z3_replayer & in) { - Z3_params_set_double( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_symbol(2), - in.get_double(3)); -} -void exec_Z3_params_set_symbol(z3_replayer & in) { - Z3_params_set_symbol( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_symbol(2), - in.get_symbol(3)); -} -void exec_Z3_params_to_string(z3_replayer & in) { - Z3_params_to_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_params_validate(z3_replayer & in) { - Z3_params_validate( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_param_descrs_inc_ref(z3_replayer & in) { - Z3_param_descrs_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_param_descrs_dec_ref(z3_replayer & in) { - Z3_param_descrs_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_param_descrs_get_kind(z3_replayer & in) { - Z3_param_descrs_get_kind( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_symbol(2)); -} -void exec_Z3_param_descrs_size(z3_replayer & in) { - Z3_param_descrs_size( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_param_descrs_get_name(z3_replayer & in) { - Z3_param_descrs_get_name( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_param_descrs_to_string(z3_replayer & in) { - Z3_param_descrs_to_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_interrupt(z3_replayer & in) { - Z3_interrupt( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_get_error_msg_ex(z3_replayer & in) { - Z3_get_error_msg_ex( - reinterpret_cast(in.get_obj(0)), - static_cast(in.get_uint(1))); -} -void exec_Z3_translate(z3_replayer & in) { - Z3_ast result = Z3_translate( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_mk_goal(z3_replayer & in) { - Z3_goal result = Z3_mk_goal( - reinterpret_cast(in.get_obj(0)), - in.get_bool(1), - in.get_bool(2), - in.get_bool(3)); - in.store_result(result); -} -void exec_Z3_goal_inc_ref(z3_replayer & in) { - Z3_goal_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_goal_dec_ref(z3_replayer & in) { - Z3_goal_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_goal_precision(z3_replayer & in) { - Z3_goal_precision( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_goal_assert(z3_replayer & in) { - Z3_goal_assert( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_goal_inconsistent(z3_replayer & in) { - Z3_goal_inconsistent( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_goal_depth(z3_replayer & in) { - Z3_goal_depth( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_goal_reset(z3_replayer & in) { - Z3_goal_reset( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_goal_size(z3_replayer & in) { - Z3_goal_size( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_goal_formula(z3_replayer & in) { - Z3_ast result = Z3_goal_formula( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_goal_num_exprs(z3_replayer & in) { - Z3_goal_num_exprs( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_goal_is_decided_sat(z3_replayer & in) { - Z3_goal_is_decided_sat( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_goal_is_decided_unsat(z3_replayer & in) { - Z3_goal_is_decided_unsat( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_goal_translate(z3_replayer & in) { - Z3_goal result = Z3_goal_translate( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_goal_to_string(z3_replayer & in) { - Z3_goal_to_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_mk_tactic(z3_replayer & in) { - Z3_tactic result = Z3_mk_tactic( - reinterpret_cast(in.get_obj(0)), - in.get_str(1)); - in.store_result(result); -} -void exec_Z3_mk_probe(z3_replayer & in) { - Z3_probe result = Z3_mk_probe( - reinterpret_cast(in.get_obj(0)), - in.get_str(1)); - in.store_result(result); -} -void exec_Z3_tactic_inc_ref(z3_replayer & in) { - Z3_tactic_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_tactic_dec_ref(z3_replayer & in) { - Z3_tactic_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_probe_inc_ref(z3_replayer & in) { - Z3_probe_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_probe_dec_ref(z3_replayer & in) { - Z3_probe_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_tactic_and_then(z3_replayer & in) { - Z3_tactic result = Z3_tactic_and_then( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_tactic_or_else(z3_replayer & in) { - Z3_tactic result = Z3_tactic_or_else( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_tactic_par_or(z3_replayer & in) { - Z3_tactic result = Z3_tactic_par_or( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1), - reinterpret_cast(in.get_obj_array(2))); - in.store_result(result); -} -void exec_Z3_tactic_par_and_then(z3_replayer & in) { - Z3_tactic result = Z3_tactic_par_and_then( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_tactic_try_for(z3_replayer & in) { - Z3_tactic result = Z3_tactic_try_for( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_tactic_when(z3_replayer & in) { - Z3_tactic result = Z3_tactic_when( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_tactic_cond(z3_replayer & in) { - Z3_tactic result = Z3_tactic_cond( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - reinterpret_cast(in.get_obj(3))); - in.store_result(result); -} -void exec_Z3_tactic_repeat(z3_replayer & in) { - Z3_tactic result = Z3_tactic_repeat( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_tactic_skip(z3_replayer & in) { - Z3_tactic result = Z3_tactic_skip( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_tactic_fail(z3_replayer & in) { - Z3_tactic result = Z3_tactic_fail( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_tactic_fail_if(z3_replayer & in) { - Z3_tactic result = Z3_tactic_fail_if( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_tactic_fail_if_not_decided(z3_replayer & in) { - Z3_tactic result = Z3_tactic_fail_if_not_decided( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_tactic_using_params(z3_replayer & in) { - Z3_tactic result = Z3_tactic_using_params( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_probe_const(z3_replayer & in) { - Z3_probe result = Z3_probe_const( - reinterpret_cast(in.get_obj(0)), - in.get_double(1)); - in.store_result(result); -} -void exec_Z3_probe_lt(z3_replayer & in) { - Z3_probe result = Z3_probe_lt( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_probe_le(z3_replayer & in) { - Z3_probe result = Z3_probe_le( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_probe_gt(z3_replayer & in) { - Z3_probe result = Z3_probe_gt( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_probe_ge(z3_replayer & in) { - Z3_probe result = Z3_probe_ge( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_probe_eq(z3_replayer & in) { - Z3_probe result = Z3_probe_eq( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_probe_and(z3_replayer & in) { - Z3_probe result = Z3_probe_and( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_probe_or(z3_replayer & in) { - Z3_probe result = Z3_probe_or( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_probe_not(z3_replayer & in) { - Z3_probe result = Z3_probe_not( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_get_num_tactics(z3_replayer & in) { - Z3_get_num_tactics( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_get_tactic_name(z3_replayer & in) { - Z3_get_tactic_name( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1)); -} -void exec_Z3_get_num_probes(z3_replayer & in) { - Z3_get_num_probes( - reinterpret_cast(in.get_obj(0))); -} -void exec_Z3_get_probe_name(z3_replayer & in) { - Z3_get_probe_name( - reinterpret_cast(in.get_obj(0)), - in.get_uint(1)); -} -void exec_Z3_tactic_get_help(z3_replayer & in) { - Z3_tactic_get_help( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_tactic_get_param_descrs(z3_replayer & in) { - Z3_param_descrs result = Z3_tactic_get_param_descrs( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_tactic_get_descr(z3_replayer & in) { - Z3_tactic_get_descr( - reinterpret_cast(in.get_obj(0)), - in.get_str(1)); -} -void exec_Z3_probe_get_descr(z3_replayer & in) { - Z3_probe_get_descr( - reinterpret_cast(in.get_obj(0)), - in.get_str(1)); -} -void exec_Z3_probe_apply(z3_replayer & in) { - Z3_probe_apply( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_tactic_apply(z3_replayer & in) { - Z3_apply_result result = Z3_tactic_apply( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_tactic_apply_ex(z3_replayer & in) { - Z3_apply_result result = Z3_tactic_apply_ex( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - reinterpret_cast(in.get_obj(3))); - in.store_result(result); -} -void exec_Z3_apply_result_inc_ref(z3_replayer & in) { - Z3_apply_result_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_apply_result_dec_ref(z3_replayer & in) { - Z3_apply_result_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_apply_result_to_string(z3_replayer & in) { - Z3_apply_result_to_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_apply_result_get_num_subgoals(z3_replayer & in) { - Z3_apply_result_get_num_subgoals( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_apply_result_get_subgoal(z3_replayer & in) { - Z3_goal result = Z3_apply_result_get_subgoal( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_apply_result_convert_model(z3_replayer & in) { - Z3_model result = Z3_apply_result_convert_model( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - reinterpret_cast(in.get_obj(3))); - in.store_result(result); -} -void exec_Z3_mk_solver(z3_replayer & in) { - Z3_solver result = Z3_mk_solver( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_mk_simple_solver(z3_replayer & in) { - Z3_solver result = Z3_mk_simple_solver( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_mk_solver_for_logic(z3_replayer & in) { - Z3_solver result = Z3_mk_solver_for_logic( - reinterpret_cast(in.get_obj(0)), - in.get_symbol(1)); - in.store_result(result); -} -void exec_Z3_mk_solver_from_tactic(z3_replayer & in) { - Z3_solver result = Z3_mk_solver_from_tactic( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_solver_get_help(z3_replayer & in) { - Z3_solver_get_help( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_solver_get_param_descrs(z3_replayer & in) { - Z3_param_descrs result = Z3_solver_get_param_descrs( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_solver_set_params(z3_replayer & in) { - Z3_solver_set_params( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_solver_inc_ref(z3_replayer & in) { - Z3_solver_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_solver_dec_ref(z3_replayer & in) { - Z3_solver_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_solver_push(z3_replayer & in) { - Z3_solver_push( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_solver_pop(z3_replayer & in) { - Z3_solver_pop( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_solver_reset(z3_replayer & in) { - Z3_solver_reset( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_solver_get_num_scopes(z3_replayer & in) { - Z3_solver_get_num_scopes( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_solver_assert(z3_replayer & in) { - Z3_solver_assert( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_solver_get_assertions(z3_replayer & in) { - Z3_ast_vector result = Z3_solver_get_assertions( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_solver_check(z3_replayer & in) { - Z3_solver_check( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_solver_check_assumptions(z3_replayer & in) { - Z3_solver_check_assumptions( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - reinterpret_cast(in.get_obj_array(3))); -} -void exec_Z3_solver_get_model(z3_replayer & in) { - Z3_model result = Z3_solver_get_model( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_solver_get_proof(z3_replayer & in) { - Z3_ast result = Z3_solver_get_proof( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_solver_get_unsat_core(z3_replayer & in) { - Z3_ast_vector result = Z3_solver_get_unsat_core( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_solver_get_reason_unknown(z3_replayer & in) { - Z3_solver_get_reason_unknown( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_solver_get_statistics(z3_replayer & in) { - Z3_stats result = Z3_solver_get_statistics( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_solver_to_string(z3_replayer & in) { - Z3_solver_to_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_stats_to_string(z3_replayer & in) { - Z3_stats_to_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_stats_inc_ref(z3_replayer & in) { - Z3_stats_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_stats_dec_ref(z3_replayer & in) { - Z3_stats_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_stats_size(z3_replayer & in) { - Z3_stats_size( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_stats_get_key(z3_replayer & in) { - Z3_stats_get_key( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_stats_is_uint(z3_replayer & in) { - Z3_stats_is_uint( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_stats_is_double(z3_replayer & in) { - Z3_stats_is_double( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_stats_get_uint_value(z3_replayer & in) { - Z3_stats_get_uint_value( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_stats_get_double_value(z3_replayer & in) { - Z3_stats_get_double_value( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_mk_ast_vector(z3_replayer & in) { - Z3_ast_vector result = Z3_mk_ast_vector( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_ast_vector_inc_ref(z3_replayer & in) { - Z3_ast_vector_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_ast_vector_dec_ref(z3_replayer & in) { - Z3_ast_vector_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_ast_vector_size(z3_replayer & in) { - Z3_ast_vector_size( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_ast_vector_get(z3_replayer & in) { - Z3_ast result = Z3_ast_vector_get( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); - in.store_result(result); -} -void exec_Z3_ast_vector_set(z3_replayer & in) { - Z3_ast_vector_set( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2), - reinterpret_cast(in.get_obj(3))); -} -void exec_Z3_ast_vector_resize(z3_replayer & in) { - Z3_ast_vector_resize( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - in.get_uint(2)); -} -void exec_Z3_ast_vector_push(z3_replayer & in) { - Z3_ast_vector_push( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_ast_vector_translate(z3_replayer & in) { - Z3_ast_vector result = Z3_ast_vector_translate( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_ast_vector_to_string(z3_replayer & in) { - Z3_ast_vector_to_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_mk_ast_map(z3_replayer & in) { - Z3_ast_map result = Z3_mk_ast_map( - reinterpret_cast(in.get_obj(0))); - in.store_result(result); -} -void exec_Z3_ast_map_inc_ref(z3_replayer & in) { - Z3_ast_map_inc_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_ast_map_dec_ref(z3_replayer & in) { - Z3_ast_map_dec_ref( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_ast_map_contains(z3_replayer & in) { - Z3_ast_map_contains( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_ast_map_find(z3_replayer & in) { - Z3_ast result = Z3_ast_map_find( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); - in.store_result(result); -} -void exec_Z3_ast_map_insert(z3_replayer & in) { - Z3_ast_map_insert( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2)), - reinterpret_cast(in.get_obj(3))); -} -void exec_Z3_ast_map_erase(z3_replayer & in) { - Z3_ast_map_erase( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1)), - reinterpret_cast(in.get_obj(2))); -} -void exec_Z3_ast_map_size(z3_replayer & in) { - Z3_ast_map_size( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_ast_map_reset(z3_replayer & in) { - Z3_ast_map_reset( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void exec_Z3_ast_map_keys(z3_replayer & in) { - Z3_ast_vector result = Z3_ast_map_keys( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); - in.store_result(result); -} -void exec_Z3_ast_map_to_string(z3_replayer & in) { - Z3_ast_map_to_string( - reinterpret_cast(in.get_obj(0)), - reinterpret_cast(in.get_obj(1))); -} -void register_z3_replayer_cmds(z3_replayer & in) { - in.register_cmd(0, exec_Z3_mk_config); - in.register_cmd(1, exec_Z3_del_config); - in.register_cmd(2, exec_Z3_set_param_value); - in.register_cmd(3, exec_Z3_mk_context); - in.register_cmd(4, exec_Z3_mk_context_rc); - in.register_cmd(5, exec_Z3_set_logic); - in.register_cmd(6, exec_Z3_del_context); - in.register_cmd(7, exec_Z3_inc_ref); - in.register_cmd(8, exec_Z3_dec_ref); - in.register_cmd(9, exec_Z3_toggle_warning_messages); - in.register_cmd(10, exec_Z3_update_param_value); - in.register_cmd(11, exec_Z3_get_param_value); - in.register_cmd(12, exec_Z3_mk_int_symbol); - in.register_cmd(13, exec_Z3_mk_string_symbol); - in.register_cmd(14, exec_Z3_is_eq_sort); - in.register_cmd(15, exec_Z3_mk_uninterpreted_sort); - in.register_cmd(16, exec_Z3_mk_bool_sort); - in.register_cmd(17, exec_Z3_mk_int_sort); - in.register_cmd(18, exec_Z3_mk_real_sort); - in.register_cmd(19, exec_Z3_mk_bv_sort); - in.register_cmd(20, exec_Z3_mk_array_sort); - in.register_cmd(21, exec_Z3_mk_tuple_sort); - in.register_cmd(22, exec_Z3_mk_enumeration_sort); - in.register_cmd(23, exec_Z3_mk_list_sort); - in.register_cmd(24, exec_Z3_mk_constructor); - in.register_cmd(25, exec_Z3_query_constructor); - in.register_cmd(26, exec_Z3_del_constructor); - in.register_cmd(27, exec_Z3_mk_datatype); - in.register_cmd(28, exec_Z3_mk_constructor_list); - in.register_cmd(29, exec_Z3_del_constructor_list); - in.register_cmd(30, exec_Z3_mk_datatypes); - in.register_cmd(31, exec_Z3_is_eq_ast); - in.register_cmd(32, exec_Z3_is_eq_func_decl); - in.register_cmd(33, exec_Z3_mk_func_decl); - in.register_cmd(34, exec_Z3_mk_app); - in.register_cmd(35, exec_Z3_mk_const); - in.register_cmd(36, exec_Z3_mk_label); - in.register_cmd(37, exec_Z3_mk_fresh_func_decl); - in.register_cmd(38, exec_Z3_mk_fresh_const); - in.register_cmd(39, exec_Z3_mk_true); - in.register_cmd(40, exec_Z3_mk_false); - in.register_cmd(41, exec_Z3_mk_eq); - in.register_cmd(42, exec_Z3_mk_distinct); - in.register_cmd(43, exec_Z3_mk_not); - in.register_cmd(44, exec_Z3_mk_ite); - in.register_cmd(45, exec_Z3_mk_iff); - in.register_cmd(46, exec_Z3_mk_implies); - in.register_cmd(47, exec_Z3_mk_xor); - in.register_cmd(48, exec_Z3_mk_and); - in.register_cmd(49, exec_Z3_mk_or); - in.register_cmd(50, exec_Z3_mk_add); - in.register_cmd(51, exec_Z3_mk_mul); - in.register_cmd(52, exec_Z3_mk_sub); - in.register_cmd(53, exec_Z3_mk_unary_minus); - in.register_cmd(54, exec_Z3_mk_div); - in.register_cmd(55, exec_Z3_mk_mod); - in.register_cmd(56, exec_Z3_mk_rem); - in.register_cmd(57, exec_Z3_mk_power); - in.register_cmd(58, exec_Z3_is_algebraic_number); - in.register_cmd(59, exec_Z3_get_algebraic_number_lower); - in.register_cmd(60, exec_Z3_get_algebraic_number_upper); - in.register_cmd(61, exec_Z3_mk_lt); - in.register_cmd(62, exec_Z3_mk_le); - in.register_cmd(63, exec_Z3_mk_gt); - in.register_cmd(64, exec_Z3_mk_ge); - in.register_cmd(65, exec_Z3_mk_int2real); - in.register_cmd(66, exec_Z3_mk_real2int); - in.register_cmd(67, exec_Z3_mk_is_int); - in.register_cmd(68, exec_Z3_mk_bvnot); - in.register_cmd(69, exec_Z3_mk_bvredand); - in.register_cmd(70, exec_Z3_mk_bvredor); - in.register_cmd(71, exec_Z3_mk_bvand); - in.register_cmd(72, exec_Z3_mk_bvor); - in.register_cmd(73, exec_Z3_mk_bvxor); - in.register_cmd(74, exec_Z3_mk_bvnand); - in.register_cmd(75, exec_Z3_mk_bvnor); - in.register_cmd(76, exec_Z3_mk_bvxnor); - in.register_cmd(77, exec_Z3_mk_bvneg); - in.register_cmd(78, exec_Z3_mk_bvadd); - in.register_cmd(79, exec_Z3_mk_bvsub); - in.register_cmd(80, exec_Z3_mk_bvmul); - in.register_cmd(81, exec_Z3_mk_bvudiv); - in.register_cmd(82, exec_Z3_mk_bvsdiv); - in.register_cmd(83, exec_Z3_mk_bvurem); - in.register_cmd(84, exec_Z3_mk_bvsrem); - in.register_cmd(85, exec_Z3_mk_bvsmod); - in.register_cmd(86, exec_Z3_mk_bvult); - in.register_cmd(87, exec_Z3_mk_bvslt); - in.register_cmd(88, exec_Z3_mk_bvule); - in.register_cmd(89, exec_Z3_mk_bvsle); - in.register_cmd(90, exec_Z3_mk_bvuge); - in.register_cmd(91, exec_Z3_mk_bvsge); - in.register_cmd(92, exec_Z3_mk_bvugt); - in.register_cmd(93, exec_Z3_mk_bvsgt); - in.register_cmd(94, exec_Z3_mk_concat); - in.register_cmd(95, exec_Z3_mk_extract); - in.register_cmd(96, exec_Z3_mk_sign_ext); - in.register_cmd(97, exec_Z3_mk_zero_ext); - in.register_cmd(98, exec_Z3_mk_repeat); - in.register_cmd(99, exec_Z3_mk_bvshl); - in.register_cmd(100, exec_Z3_mk_bvlshr); - in.register_cmd(101, exec_Z3_mk_bvashr); - in.register_cmd(102, exec_Z3_mk_rotate_left); - in.register_cmd(103, exec_Z3_mk_rotate_right); - in.register_cmd(104, exec_Z3_mk_ext_rotate_left); - in.register_cmd(105, exec_Z3_mk_ext_rotate_right); - in.register_cmd(106, exec_Z3_mk_int2bv); - in.register_cmd(107, exec_Z3_mk_bv2int); - in.register_cmd(108, exec_Z3_mk_bvadd_no_overflow); - in.register_cmd(109, exec_Z3_mk_bvadd_no_underflow); - in.register_cmd(110, exec_Z3_mk_bvsub_no_overflow); - in.register_cmd(111, exec_Z3_mk_bvsub_no_underflow); - in.register_cmd(112, exec_Z3_mk_bvsdiv_no_overflow); - in.register_cmd(113, exec_Z3_mk_bvneg_no_overflow); - in.register_cmd(114, exec_Z3_mk_bvmul_no_overflow); - in.register_cmd(115, exec_Z3_mk_bvmul_no_underflow); - in.register_cmd(116, exec_Z3_mk_select); - in.register_cmd(117, exec_Z3_mk_store); - in.register_cmd(118, exec_Z3_mk_const_array); - in.register_cmd(119, exec_Z3_mk_map); - in.register_cmd(120, exec_Z3_mk_array_default); - in.register_cmd(121, exec_Z3_mk_set_sort); - in.register_cmd(122, exec_Z3_mk_empty_set); - in.register_cmd(123, exec_Z3_mk_full_set); - in.register_cmd(124, exec_Z3_mk_set_add); - in.register_cmd(125, exec_Z3_mk_set_del); - in.register_cmd(126, exec_Z3_mk_set_union); - in.register_cmd(127, exec_Z3_mk_set_intersect); - in.register_cmd(128, exec_Z3_mk_set_difference); - in.register_cmd(129, exec_Z3_mk_set_complement); - in.register_cmd(130, exec_Z3_mk_set_member); - in.register_cmd(131, exec_Z3_mk_set_subset); - in.register_cmd(132, exec_Z3_mk_numeral); - in.register_cmd(133, exec_Z3_mk_real); - in.register_cmd(134, exec_Z3_mk_int); - in.register_cmd(135, exec_Z3_mk_unsigned_int); - in.register_cmd(136, exec_Z3_mk_int64); - in.register_cmd(137, exec_Z3_mk_unsigned_int64); - in.register_cmd(138, exec_Z3_mk_pattern); - in.register_cmd(139, exec_Z3_mk_bound); - in.register_cmd(140, exec_Z3_mk_forall); - in.register_cmd(141, exec_Z3_mk_exists); - in.register_cmd(142, exec_Z3_mk_quantifier); - in.register_cmd(143, exec_Z3_mk_quantifier_ex); - in.register_cmd(144, exec_Z3_mk_forall_const); - in.register_cmd(145, exec_Z3_mk_exists_const); - in.register_cmd(146, exec_Z3_mk_quantifier_const); - in.register_cmd(147, exec_Z3_mk_quantifier_const_ex); - in.register_cmd(148, exec_Z3_get_ast_id); - in.register_cmd(149, exec_Z3_get_func_decl_id); - in.register_cmd(150, exec_Z3_get_sort_id); - in.register_cmd(151, exec_Z3_is_well_sorted); - in.register_cmd(152, exec_Z3_get_symbol_kind); - in.register_cmd(153, exec_Z3_get_symbol_int); - in.register_cmd(154, exec_Z3_get_symbol_string); - in.register_cmd(155, exec_Z3_get_ast_kind); - in.register_cmd(156, exec_Z3_get_ast_hash); - in.register_cmd(157, exec_Z3_get_numeral_string); - in.register_cmd(158, exec_Z3_get_numeral_decimal_string); - in.register_cmd(159, exec_Z3_get_numerator); - in.register_cmd(160, exec_Z3_get_denominator); - in.register_cmd(161, exec_Z3_get_numeral_small); - in.register_cmd(162, exec_Z3_get_numeral_int); - in.register_cmd(163, exec_Z3_get_numeral_uint); - in.register_cmd(164, exec_Z3_get_numeral_uint64); - in.register_cmd(165, exec_Z3_get_numeral_int64); - in.register_cmd(166, exec_Z3_get_numeral_rational_int64); - in.register_cmd(167, exec_Z3_get_bool_value); - in.register_cmd(168, exec_Z3_get_app_decl); - in.register_cmd(169, exec_Z3_get_app_num_args); - in.register_cmd(170, exec_Z3_get_app_arg); - in.register_cmd(171, exec_Z3_get_index_value); - in.register_cmd(172, exec_Z3_is_quantifier_forall); - in.register_cmd(173, exec_Z3_get_quantifier_weight); - in.register_cmd(174, exec_Z3_get_quantifier_num_patterns); - in.register_cmd(175, exec_Z3_get_quantifier_pattern_ast); - in.register_cmd(176, exec_Z3_get_quantifier_num_no_patterns); - in.register_cmd(177, exec_Z3_get_quantifier_no_pattern_ast); - in.register_cmd(178, exec_Z3_get_quantifier_bound_name); - in.register_cmd(179, exec_Z3_get_quantifier_bound_sort); - in.register_cmd(180, exec_Z3_get_quantifier_body); - in.register_cmd(181, exec_Z3_get_quantifier_num_bound); - in.register_cmd(182, exec_Z3_get_decl_name); - in.register_cmd(183, exec_Z3_get_decl_num_parameters); - in.register_cmd(184, exec_Z3_get_decl_parameter_kind); - in.register_cmd(185, exec_Z3_get_decl_int_parameter); - in.register_cmd(186, exec_Z3_get_decl_double_parameter); - in.register_cmd(187, exec_Z3_get_decl_symbol_parameter); - in.register_cmd(188, exec_Z3_get_decl_sort_parameter); - in.register_cmd(189, exec_Z3_get_decl_ast_parameter); - in.register_cmd(190, exec_Z3_get_decl_func_decl_parameter); - in.register_cmd(191, exec_Z3_get_decl_rational_parameter); - in.register_cmd(192, exec_Z3_get_sort_name); - in.register_cmd(193, exec_Z3_get_sort); - in.register_cmd(194, exec_Z3_get_domain_size); - in.register_cmd(195, exec_Z3_get_domain); - in.register_cmd(196, exec_Z3_get_range); - in.register_cmd(197, exec_Z3_get_sort_kind); - in.register_cmd(198, exec_Z3_get_bv_sort_size); - in.register_cmd(199, exec_Z3_get_array_sort_domain); - in.register_cmd(200, exec_Z3_get_array_sort_range); - in.register_cmd(201, exec_Z3_get_tuple_sort_mk_decl); - in.register_cmd(202, exec_Z3_get_decl_kind); - in.register_cmd(203, exec_Z3_get_tuple_sort_num_fields); - in.register_cmd(204, exec_Z3_get_tuple_sort_field_decl); - in.register_cmd(205, exec_Z3_get_datatype_sort_num_constructors); - in.register_cmd(206, exec_Z3_get_datatype_sort_constructor); - in.register_cmd(207, exec_Z3_get_datatype_sort_recognizer); - in.register_cmd(208, exec_Z3_get_datatype_sort_constructor_accessor); - in.register_cmd(209, exec_Z3_get_relation_arity); - in.register_cmd(210, exec_Z3_get_relation_column); - in.register_cmd(211, exec_Z3_get_finite_domain_sort_size); - in.register_cmd(212, exec_Z3_mk_finite_domain_sort); - in.register_cmd(213, exec_Z3_get_pattern_num_terms); - in.register_cmd(214, exec_Z3_get_pattern); - in.register_cmd(215, exec_Z3_simplify); - in.register_cmd(216, exec_Z3_simplify_ex); - in.register_cmd(217, exec_Z3_simplify_get_help); - in.register_cmd(218, exec_Z3_simplify_get_param_descrs); - in.register_cmd(219, exec_Z3_update_term); - in.register_cmd(220, exec_Z3_substitute); - in.register_cmd(221, exec_Z3_substitute_vars); - in.register_cmd(222, exec_Z3_sort_to_ast); - in.register_cmd(223, exec_Z3_func_decl_to_ast); - in.register_cmd(224, exec_Z3_pattern_to_ast); - in.register_cmd(225, exec_Z3_app_to_ast); - in.register_cmd(226, exec_Z3_to_app); - in.register_cmd(227, exec_Z3_to_func_decl); - in.register_cmd(228, exec_Z3_push); - in.register_cmd(229, exec_Z3_pop); - in.register_cmd(230, exec_Z3_get_num_scopes); - in.register_cmd(231, exec_Z3_persist_ast); - in.register_cmd(232, exec_Z3_assert_cnstr); - in.register_cmd(233, exec_Z3_check_and_get_model); - in.register_cmd(234, exec_Z3_check); - in.register_cmd(235, exec_Z3_check_assumptions); - in.register_cmd(236, exec_Z3_get_implied_equalities); - in.register_cmd(237, exec_Z3_del_model); - in.register_cmd(238, exec_Z3_soft_check_cancel); - in.register_cmd(239, exec_Z3_get_search_failure); - in.register_cmd(240, exec_Z3_get_relevant_labels); - in.register_cmd(241, exec_Z3_get_relevant_literals); - in.register_cmd(242, exec_Z3_get_guessed_literals); - in.register_cmd(243, exec_Z3_del_literals); - in.register_cmd(244, exec_Z3_get_num_literals); - in.register_cmd(245, exec_Z3_get_label_symbol); - in.register_cmd(246, exec_Z3_get_literal); - in.register_cmd(247, exec_Z3_disable_literal); - in.register_cmd(248, exec_Z3_block_literals); - in.register_cmd(249, exec_Z3_model_inc_ref); - in.register_cmd(250, exec_Z3_model_dec_ref); - in.register_cmd(251, exec_Z3_model_get_const_interp); - in.register_cmd(252, exec_Z3_model_get_func_interp); - in.register_cmd(253, exec_Z3_model_get_num_consts); - in.register_cmd(254, exec_Z3_model_get_const_decl); - in.register_cmd(255, exec_Z3_model_get_num_funcs); - in.register_cmd(256, exec_Z3_model_get_func_decl); - in.register_cmd(257, exec_Z3_model_eval); - in.register_cmd(258, exec_Z3_model_get_num_sorts); - in.register_cmd(259, exec_Z3_model_get_sort); - in.register_cmd(260, exec_Z3_model_get_sort_universe); - in.register_cmd(261, exec_Z3_is_as_array); - in.register_cmd(262, exec_Z3_get_as_array_func_decl); - in.register_cmd(263, exec_Z3_func_interp_inc_ref); - in.register_cmd(264, exec_Z3_func_interp_dec_ref); - in.register_cmd(265, exec_Z3_func_interp_get_num_entries); - in.register_cmd(266, exec_Z3_func_interp_get_entry); - in.register_cmd(267, exec_Z3_func_interp_get_else); - in.register_cmd(268, exec_Z3_func_interp_get_arity); - in.register_cmd(269, exec_Z3_func_entry_inc_ref); - in.register_cmd(270, exec_Z3_func_entry_dec_ref); - in.register_cmd(271, exec_Z3_func_entry_get_value); - in.register_cmd(272, exec_Z3_func_entry_get_num_args); - in.register_cmd(273, exec_Z3_func_entry_get_arg); - in.register_cmd(274, exec_Z3_get_model_num_constants); - in.register_cmd(275, exec_Z3_get_model_constant); - in.register_cmd(276, exec_Z3_eval_func_decl); - in.register_cmd(277, exec_Z3_is_array_value); - in.register_cmd(278, exec_Z3_get_array_value); - in.register_cmd(279, exec_Z3_get_model_num_funcs); - in.register_cmd(280, exec_Z3_get_model_func_decl); - in.register_cmd(281, exec_Z3_get_model_func_else); - in.register_cmd(282, exec_Z3_get_model_func_num_entries); - in.register_cmd(283, exec_Z3_get_model_func_entry_num_args); - in.register_cmd(284, exec_Z3_get_model_func_entry_arg); - in.register_cmd(285, exec_Z3_get_model_func_entry_value); - in.register_cmd(286, exec_Z3_eval); - in.register_cmd(287, exec_Z3_eval_decl); - in.register_cmd(288, exec_Z3_set_ast_print_mode); - in.register_cmd(289, exec_Z3_ast_to_string); - in.register_cmd(290, exec_Z3_pattern_to_string); - in.register_cmd(291, exec_Z3_sort_to_string); - in.register_cmd(292, exec_Z3_func_decl_to_string); - in.register_cmd(293, exec_Z3_model_to_string); - in.register_cmd(294, exec_Z3_benchmark_to_smtlib_string); - in.register_cmd(295, exec_Z3_context_to_string); - in.register_cmd(296, exec_Z3_statistics_to_string); - in.register_cmd(297, exec_Z3_get_context_assignment); - in.register_cmd(298, exec_Z3_parse_smtlib_string); - in.register_cmd(299, exec_Z3_parse_smtlib_file); - in.register_cmd(300, exec_Z3_get_smtlib_num_formulas); - in.register_cmd(301, exec_Z3_get_smtlib_formula); - in.register_cmd(302, exec_Z3_get_smtlib_num_assumptions); - in.register_cmd(303, exec_Z3_get_smtlib_assumption); - in.register_cmd(304, exec_Z3_get_smtlib_num_decls); - in.register_cmd(305, exec_Z3_get_smtlib_decl); - in.register_cmd(306, exec_Z3_get_smtlib_num_sorts); - in.register_cmd(307, exec_Z3_get_smtlib_sort); - in.register_cmd(308, exec_Z3_get_smtlib_error); - in.register_cmd(309, exec_Z3_parse_z3_string); - in.register_cmd(310, exec_Z3_parse_z3_file); - in.register_cmd(311, exec_Z3_parse_smtlib2_string); - in.register_cmd(312, exec_Z3_parse_smtlib2_file); - in.register_cmd(313, exec_Z3_get_error_code); - in.register_cmd(314, exec_Z3_set_error); - in.register_cmd(315, exec_Z3_get_error_msg); - in.register_cmd(316, exec_Z3_get_version); - in.register_cmd(317, exec_Z3_reset_memory); - in.register_cmd(318, exec_Z3_is_app); - in.register_cmd(319, exec_Z3_is_numeral_ast); - in.register_cmd(320, exec_Z3_get_arity); - in.register_cmd(321, exec_Z3_mk_injective_function); - in.register_cmd(322, exec_Z3_mk_fixedpoint); - in.register_cmd(323, exec_Z3_fixedpoint_inc_ref); - in.register_cmd(324, exec_Z3_fixedpoint_dec_ref); - in.register_cmd(325, exec_Z3_fixedpoint_push); - in.register_cmd(326, exec_Z3_fixedpoint_pop); - in.register_cmd(327, exec_Z3_fixedpoint_register_relation); - in.register_cmd(328, exec_Z3_fixedpoint_assert); - in.register_cmd(329, exec_Z3_fixedpoint_add_rule); - in.register_cmd(330, exec_Z3_fixedpoint_add_fact); - in.register_cmd(331, exec_Z3_fixedpoint_query); - in.register_cmd(332, exec_Z3_fixedpoint_query_relations); - in.register_cmd(333, exec_Z3_fixedpoint_get_answer); - in.register_cmd(334, exec_Z3_fixedpoint_update_rule); - in.register_cmd(335, exec_Z3_fixedpoint_get_num_levels); - in.register_cmd(336, exec_Z3_fixedpoint_get_cover_delta); - in.register_cmd(337, exec_Z3_fixedpoint_add_cover); - in.register_cmd(338, exec_Z3_fixedpoint_get_statistics); - in.register_cmd(339, exec_Z3_fixedpoint_get_help); - in.register_cmd(340, exec_Z3_fixedpoint_get_param_descrs); - in.register_cmd(341, exec_Z3_fixedpoint_set_params); - in.register_cmd(342, exec_Z3_fixedpoint_to_string); - in.register_cmd(343, exec_Z3_fixedpoint_get_reason_unknown); - in.register_cmd(344, exec_Z3_fixedpoint_set_predicate_representation); - in.register_cmd(345, exec_Z3_fixedpoint_simplify_rules); - in.register_cmd(346, exec_Z3_mk_params); - in.register_cmd(347, exec_Z3_params_inc_ref); - in.register_cmd(348, exec_Z3_params_dec_ref); - in.register_cmd(349, exec_Z3_params_set_bool); - in.register_cmd(350, exec_Z3_params_set_uint); - in.register_cmd(351, exec_Z3_params_set_double); - in.register_cmd(352, exec_Z3_params_set_symbol); - in.register_cmd(353, exec_Z3_params_to_string); - in.register_cmd(354, exec_Z3_params_validate); - in.register_cmd(355, exec_Z3_param_descrs_inc_ref); - in.register_cmd(356, exec_Z3_param_descrs_dec_ref); - in.register_cmd(357, exec_Z3_param_descrs_get_kind); - in.register_cmd(358, exec_Z3_param_descrs_size); - in.register_cmd(359, exec_Z3_param_descrs_get_name); - in.register_cmd(360, exec_Z3_param_descrs_to_string); - in.register_cmd(361, exec_Z3_interrupt); - in.register_cmd(362, exec_Z3_get_error_msg_ex); - in.register_cmd(363, exec_Z3_translate); - in.register_cmd(364, exec_Z3_mk_goal); - in.register_cmd(365, exec_Z3_goal_inc_ref); - in.register_cmd(366, exec_Z3_goal_dec_ref); - in.register_cmd(367, exec_Z3_goal_precision); - in.register_cmd(368, exec_Z3_goal_assert); - in.register_cmd(369, exec_Z3_goal_inconsistent); - in.register_cmd(370, exec_Z3_goal_depth); - in.register_cmd(371, exec_Z3_goal_reset); - in.register_cmd(372, exec_Z3_goal_size); - in.register_cmd(373, exec_Z3_goal_formula); - in.register_cmd(374, exec_Z3_goal_num_exprs); - in.register_cmd(375, exec_Z3_goal_is_decided_sat); - in.register_cmd(376, exec_Z3_goal_is_decided_unsat); - in.register_cmd(377, exec_Z3_goal_translate); - in.register_cmd(378, exec_Z3_goal_to_string); - in.register_cmd(379, exec_Z3_mk_tactic); - in.register_cmd(380, exec_Z3_mk_probe); - in.register_cmd(381, exec_Z3_tactic_inc_ref); - in.register_cmd(382, exec_Z3_tactic_dec_ref); - in.register_cmd(383, exec_Z3_probe_inc_ref); - in.register_cmd(384, exec_Z3_probe_dec_ref); - in.register_cmd(385, exec_Z3_tactic_and_then); - in.register_cmd(386, exec_Z3_tactic_or_else); - in.register_cmd(387, exec_Z3_tactic_par_or); - in.register_cmd(388, exec_Z3_tactic_par_and_then); - in.register_cmd(389, exec_Z3_tactic_try_for); - in.register_cmd(390, exec_Z3_tactic_when); - in.register_cmd(391, exec_Z3_tactic_cond); - in.register_cmd(392, exec_Z3_tactic_repeat); - in.register_cmd(393, exec_Z3_tactic_skip); - in.register_cmd(394, exec_Z3_tactic_fail); - in.register_cmd(395, exec_Z3_tactic_fail_if); - in.register_cmd(396, exec_Z3_tactic_fail_if_not_decided); - in.register_cmd(397, exec_Z3_tactic_using_params); - in.register_cmd(398, exec_Z3_probe_const); - in.register_cmd(399, exec_Z3_probe_lt); - in.register_cmd(400, exec_Z3_probe_le); - in.register_cmd(401, exec_Z3_probe_gt); - in.register_cmd(402, exec_Z3_probe_ge); - in.register_cmd(403, exec_Z3_probe_eq); - in.register_cmd(404, exec_Z3_probe_and); - in.register_cmd(405, exec_Z3_probe_or); - in.register_cmd(406, exec_Z3_probe_not); - in.register_cmd(407, exec_Z3_get_num_tactics); - in.register_cmd(408, exec_Z3_get_tactic_name); - in.register_cmd(409, exec_Z3_get_num_probes); - in.register_cmd(410, exec_Z3_get_probe_name); - in.register_cmd(411, exec_Z3_tactic_get_help); - in.register_cmd(412, exec_Z3_tactic_get_param_descrs); - in.register_cmd(413, exec_Z3_tactic_get_descr); - in.register_cmd(414, exec_Z3_probe_get_descr); - in.register_cmd(415, exec_Z3_probe_apply); - in.register_cmd(416, exec_Z3_tactic_apply); - in.register_cmd(417, exec_Z3_tactic_apply_ex); - in.register_cmd(418, exec_Z3_apply_result_inc_ref); - in.register_cmd(419, exec_Z3_apply_result_dec_ref); - in.register_cmd(420, exec_Z3_apply_result_to_string); - in.register_cmd(421, exec_Z3_apply_result_get_num_subgoals); - in.register_cmd(422, exec_Z3_apply_result_get_subgoal); - in.register_cmd(423, exec_Z3_apply_result_convert_model); - in.register_cmd(424, exec_Z3_mk_solver); - in.register_cmd(425, exec_Z3_mk_simple_solver); - in.register_cmd(426, exec_Z3_mk_solver_for_logic); - in.register_cmd(427, exec_Z3_mk_solver_from_tactic); - in.register_cmd(428, exec_Z3_solver_get_help); - in.register_cmd(429, exec_Z3_solver_get_param_descrs); - in.register_cmd(430, exec_Z3_solver_set_params); - in.register_cmd(431, exec_Z3_solver_inc_ref); - in.register_cmd(432, exec_Z3_solver_dec_ref); - in.register_cmd(433, exec_Z3_solver_push); - in.register_cmd(434, exec_Z3_solver_pop); - in.register_cmd(435, exec_Z3_solver_reset); - in.register_cmd(436, exec_Z3_solver_get_num_scopes); - in.register_cmd(437, exec_Z3_solver_assert); - in.register_cmd(438, exec_Z3_solver_get_assertions); - in.register_cmd(439, exec_Z3_solver_check); - in.register_cmd(440, exec_Z3_solver_check_assumptions); - in.register_cmd(441, exec_Z3_solver_get_model); - in.register_cmd(442, exec_Z3_solver_get_proof); - in.register_cmd(443, exec_Z3_solver_get_unsat_core); - in.register_cmd(444, exec_Z3_solver_get_reason_unknown); - in.register_cmd(445, exec_Z3_solver_get_statistics); - in.register_cmd(446, exec_Z3_solver_to_string); - in.register_cmd(447, exec_Z3_stats_to_string); - in.register_cmd(448, exec_Z3_stats_inc_ref); - in.register_cmd(449, exec_Z3_stats_dec_ref); - in.register_cmd(450, exec_Z3_stats_size); - in.register_cmd(451, exec_Z3_stats_get_key); - in.register_cmd(452, exec_Z3_stats_is_uint); - in.register_cmd(453, exec_Z3_stats_is_double); - in.register_cmd(454, exec_Z3_stats_get_uint_value); - in.register_cmd(455, exec_Z3_stats_get_double_value); - in.register_cmd(456, exec_Z3_mk_ast_vector); - in.register_cmd(457, exec_Z3_ast_vector_inc_ref); - in.register_cmd(458, exec_Z3_ast_vector_dec_ref); - in.register_cmd(459, exec_Z3_ast_vector_size); - in.register_cmd(460, exec_Z3_ast_vector_get); - in.register_cmd(461, exec_Z3_ast_vector_set); - in.register_cmd(462, exec_Z3_ast_vector_resize); - in.register_cmd(463, exec_Z3_ast_vector_push); - in.register_cmd(464, exec_Z3_ast_vector_translate); - in.register_cmd(465, exec_Z3_ast_vector_to_string); - in.register_cmd(466, exec_Z3_mk_ast_map); - in.register_cmd(467, exec_Z3_ast_map_inc_ref); - in.register_cmd(468, exec_Z3_ast_map_dec_ref); - in.register_cmd(469, exec_Z3_ast_map_contains); - in.register_cmd(470, exec_Z3_ast_map_find); - in.register_cmd(471, exec_Z3_ast_map_insert); - in.register_cmd(472, exec_Z3_ast_map_erase); - in.register_cmd(473, exec_Z3_ast_map_size); - in.register_cmd(474, exec_Z3_ast_map_reset); - in.register_cmd(475, exec_Z3_ast_map_keys); - in.register_cmd(476, exec_Z3_ast_map_to_string); -} +// Automatically generated file, generator: update_api.py +#include"z3.h" +#include"z3_replayer.h" +void Z3_replacer_error_handler(Z3_context ctx, Z3_error_code c) { printf("[REPLAYER ERROR HANDLER]: %s\n", Z3_get_error_msg_ex(ctx, c)); } +void exec_Z3_mk_config(z3_replayer & in) { + Z3_config result = Z3_mk_config( + ); + in.store_result(result); +} +void exec_Z3_del_config(z3_replayer & in) { + Z3_del_config( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_set_param_value(z3_replayer & in) { + Z3_set_param_value( + reinterpret_cast(in.get_obj(0)), + in.get_str(1), + in.get_str(2)); +} +void exec_Z3_mk_context(z3_replayer & in) { + Z3_context result = Z3_mk_context( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); + Z3_set_error_handler(result, Z3_replacer_error_handler);} +void exec_Z3_mk_context_rc(z3_replayer & in) { + Z3_context result = Z3_mk_context_rc( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); + Z3_set_error_handler(result, Z3_replacer_error_handler);} +void exec_Z3_del_context(z3_replayer & in) { + Z3_del_context( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_inc_ref(z3_replayer & in) { + Z3_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_dec_ref(z3_replayer & in) { + Z3_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_update_param_value(z3_replayer & in) { + Z3_update_param_value( + reinterpret_cast(in.get_obj(0)), + in.get_str(1), + in.get_str(2)); +} +void exec_Z3_get_param_value(z3_replayer & in) { + Z3_get_param_value( + reinterpret_cast(in.get_obj(0)), + in.get_str(1), + in.get_str_addr(2)); +} +void exec_Z3_interrupt(z3_replayer & in) { + Z3_interrupt( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_mk_params(z3_replayer & in) { + Z3_params result = Z3_mk_params( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_params_inc_ref(z3_replayer & in) { + Z3_params_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_params_dec_ref(z3_replayer & in) { + Z3_params_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_params_set_bool(z3_replayer & in) { + Z3_params_set_bool( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_symbol(2), + in.get_bool(3)); +} +void exec_Z3_params_set_uint(z3_replayer & in) { + Z3_params_set_uint( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_symbol(2), + in.get_uint(3)); +} +void exec_Z3_params_set_double(z3_replayer & in) { + Z3_params_set_double( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_symbol(2), + in.get_double(3)); +} +void exec_Z3_params_set_symbol(z3_replayer & in) { + Z3_params_set_symbol( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_symbol(2), + in.get_symbol(3)); +} +void exec_Z3_params_to_string(z3_replayer & in) { + Z3_params_to_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_params_validate(z3_replayer & in) { + Z3_params_validate( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_param_descrs_inc_ref(z3_replayer & in) { + Z3_param_descrs_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_param_descrs_dec_ref(z3_replayer & in) { + Z3_param_descrs_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_param_descrs_get_kind(z3_replayer & in) { + Z3_param_descrs_get_kind( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_symbol(2)); +} +void exec_Z3_param_descrs_size(z3_replayer & in) { + Z3_param_descrs_size( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_param_descrs_get_name(z3_replayer & in) { + Z3_param_descrs_get_name( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_param_descrs_to_string(z3_replayer & in) { + Z3_param_descrs_to_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_mk_int_symbol(z3_replayer & in) { + Z3_mk_int_symbol( + reinterpret_cast(in.get_obj(0)), + in.get_int(1)); +} +void exec_Z3_mk_string_symbol(z3_replayer & in) { + Z3_mk_string_symbol( + reinterpret_cast(in.get_obj(0)), + in.get_str(1)); +} +void exec_Z3_mk_uninterpreted_sort(z3_replayer & in) { + Z3_sort result = Z3_mk_uninterpreted_sort( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1)); + in.store_result(result); +} +void exec_Z3_mk_bool_sort(z3_replayer & in) { + Z3_sort result = Z3_mk_bool_sort( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_mk_int_sort(z3_replayer & in) { + Z3_sort result = Z3_mk_int_sort( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_mk_real_sort(z3_replayer & in) { + Z3_sort result = Z3_mk_real_sort( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_mk_bv_sort(z3_replayer & in) { + Z3_sort result = Z3_mk_bv_sort( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1)); + in.store_result(result); +} +void exec_Z3_mk_finite_domain_sort(z3_replayer & in) { + Z3_sort result = Z3_mk_finite_domain_sort( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1), + in.get_uint64(2)); + in.store_result(result); +} +void exec_Z3_mk_array_sort(z3_replayer & in) { + Z3_sort result = Z3_mk_array_sort( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_tuple_sort(z3_replayer & in) { + Z3_sort result = Z3_mk_tuple_sort( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1), + in.get_uint(2), + in.get_symbol_array(3), + reinterpret_cast(in.get_obj_array(4)), + reinterpret_cast(in.get_obj_addr(5)), + reinterpret_cast(in.get_obj_array(6))); + in.store_result(result); +} +void exec_Z3_mk_enumeration_sort(z3_replayer & in) { + Z3_sort result = Z3_mk_enumeration_sort( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1), + in.get_uint(2), + in.get_symbol_array(3), + reinterpret_cast(in.get_obj_array(4)), + reinterpret_cast(in.get_obj_array(5))); + in.store_result(result); +} +void exec_Z3_mk_list_sort(z3_replayer & in) { + Z3_sort result = Z3_mk_list_sort( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1), + reinterpret_cast(in.get_obj(2)), + reinterpret_cast(in.get_obj_addr(3)), + reinterpret_cast(in.get_obj_addr(4)), + reinterpret_cast(in.get_obj_addr(5)), + reinterpret_cast(in.get_obj_addr(6)), + reinterpret_cast(in.get_obj_addr(7)), + reinterpret_cast(in.get_obj_addr(8))); + in.store_result(result); +} +void exec_Z3_mk_constructor(z3_replayer & in) { + Z3_constructor result = Z3_mk_constructor( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1), + in.get_symbol(2), + in.get_uint(3), + in.get_symbol_array(4), + reinterpret_cast(in.get_obj_array(5)), + in.get_uint_array(6)); + in.store_result(result); +} +void exec_Z3_del_constructor(z3_replayer & in) { + Z3_del_constructor( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_mk_datatype(z3_replayer & in) { + Z3_sort result = Z3_mk_datatype( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3))); + in.store_result(result); +} +void exec_Z3_mk_constructor_list(z3_replayer & in) { + Z3_constructor_list result = Z3_mk_constructor_list( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj_array(2))); + in.store_result(result); +} +void exec_Z3_del_constructor_list(z3_replayer & in) { + Z3_del_constructor_list( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_mk_datatypes(z3_replayer & in) { + Z3_mk_datatypes( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + in.get_symbol_array(2), + reinterpret_cast(in.get_obj_array(3)), + reinterpret_cast(in.get_obj_array(4))); +} +void exec_Z3_query_constructor(z3_replayer & in) { + Z3_query_constructor( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + reinterpret_cast(in.get_obj_addr(3)), + reinterpret_cast(in.get_obj_addr(4)), + reinterpret_cast(in.get_obj_array(5))); +} +void exec_Z3_mk_func_decl(z3_replayer & in) { + Z3_func_decl result = Z3_mk_func_decl( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3)), + reinterpret_cast(in.get_obj(4))); + in.store_result(result); +} +void exec_Z3_mk_app(z3_replayer & in) { + Z3_ast result = Z3_mk_app( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3))); + in.store_result(result); +} +void exec_Z3_mk_const(z3_replayer & in) { + Z3_ast result = Z3_mk_const( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_fresh_func_decl(z3_replayer & in) { + Z3_func_decl result = Z3_mk_fresh_func_decl( + reinterpret_cast(in.get_obj(0)), + in.get_str(1), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3)), + reinterpret_cast(in.get_obj(4))); + in.store_result(result); +} +void exec_Z3_mk_fresh_const(z3_replayer & in) { + Z3_ast result = Z3_mk_fresh_const( + reinterpret_cast(in.get_obj(0)), + in.get_str(1), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_true(z3_replayer & in) { + Z3_ast result = Z3_mk_true( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_mk_false(z3_replayer & in) { + Z3_ast result = Z3_mk_false( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_mk_eq(z3_replayer & in) { + Z3_ast result = Z3_mk_eq( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_distinct(z3_replayer & in) { + Z3_ast result = Z3_mk_distinct( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj_array(2))); + in.store_result(result); +} +void exec_Z3_mk_not(z3_replayer & in) { + Z3_ast result = Z3_mk_not( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_ite(z3_replayer & in) { + Z3_ast result = Z3_mk_ite( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + reinterpret_cast(in.get_obj(3))); + in.store_result(result); +} +void exec_Z3_mk_iff(z3_replayer & in) { + Z3_ast result = Z3_mk_iff( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_implies(z3_replayer & in) { + Z3_ast result = Z3_mk_implies( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_xor(z3_replayer & in) { + Z3_ast result = Z3_mk_xor( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_and(z3_replayer & in) { + Z3_ast result = Z3_mk_and( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj_array(2))); + in.store_result(result); +} +void exec_Z3_mk_or(z3_replayer & in) { + Z3_ast result = Z3_mk_or( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj_array(2))); + in.store_result(result); +} +void exec_Z3_mk_add(z3_replayer & in) { + Z3_ast result = Z3_mk_add( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj_array(2))); + in.store_result(result); +} +void exec_Z3_mk_mul(z3_replayer & in) { + Z3_ast result = Z3_mk_mul( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj_array(2))); + in.store_result(result); +} +void exec_Z3_mk_sub(z3_replayer & in) { + Z3_ast result = Z3_mk_sub( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj_array(2))); + in.store_result(result); +} +void exec_Z3_mk_unary_minus(z3_replayer & in) { + Z3_ast result = Z3_mk_unary_minus( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_div(z3_replayer & in) { + Z3_ast result = Z3_mk_div( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_mod(z3_replayer & in) { + Z3_ast result = Z3_mk_mod( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_rem(z3_replayer & in) { + Z3_ast result = Z3_mk_rem( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_power(z3_replayer & in) { + Z3_ast result = Z3_mk_power( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_lt(z3_replayer & in) { + Z3_ast result = Z3_mk_lt( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_le(z3_replayer & in) { + Z3_ast result = Z3_mk_le( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_gt(z3_replayer & in) { + Z3_ast result = Z3_mk_gt( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_ge(z3_replayer & in) { + Z3_ast result = Z3_mk_ge( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_int2real(z3_replayer & in) { + Z3_ast result = Z3_mk_int2real( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_real2int(z3_replayer & in) { + Z3_ast result = Z3_mk_real2int( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_is_int(z3_replayer & in) { + Z3_ast result = Z3_mk_is_int( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_bvnot(z3_replayer & in) { + Z3_ast result = Z3_mk_bvnot( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_bvredand(z3_replayer & in) { + Z3_ast result = Z3_mk_bvredand( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_bvredor(z3_replayer & in) { + Z3_ast result = Z3_mk_bvredor( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_bvand(z3_replayer & in) { + Z3_ast result = Z3_mk_bvand( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvor(z3_replayer & in) { + Z3_ast result = Z3_mk_bvor( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvxor(z3_replayer & in) { + Z3_ast result = Z3_mk_bvxor( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvnand(z3_replayer & in) { + Z3_ast result = Z3_mk_bvnand( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvnor(z3_replayer & in) { + Z3_ast result = Z3_mk_bvnor( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvxnor(z3_replayer & in) { + Z3_ast result = Z3_mk_bvxnor( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvneg(z3_replayer & in) { + Z3_ast result = Z3_mk_bvneg( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_bvadd(z3_replayer & in) { + Z3_ast result = Z3_mk_bvadd( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvsub(z3_replayer & in) { + Z3_ast result = Z3_mk_bvsub( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvmul(z3_replayer & in) { + Z3_ast result = Z3_mk_bvmul( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvudiv(z3_replayer & in) { + Z3_ast result = Z3_mk_bvudiv( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvsdiv(z3_replayer & in) { + Z3_ast result = Z3_mk_bvsdiv( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvurem(z3_replayer & in) { + Z3_ast result = Z3_mk_bvurem( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvsrem(z3_replayer & in) { + Z3_ast result = Z3_mk_bvsrem( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvsmod(z3_replayer & in) { + Z3_ast result = Z3_mk_bvsmod( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvult(z3_replayer & in) { + Z3_ast result = Z3_mk_bvult( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvslt(z3_replayer & in) { + Z3_ast result = Z3_mk_bvslt( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvule(z3_replayer & in) { + Z3_ast result = Z3_mk_bvule( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvsle(z3_replayer & in) { + Z3_ast result = Z3_mk_bvsle( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvuge(z3_replayer & in) { + Z3_ast result = Z3_mk_bvuge( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvsge(z3_replayer & in) { + Z3_ast result = Z3_mk_bvsge( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvugt(z3_replayer & in) { + Z3_ast result = Z3_mk_bvugt( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvsgt(z3_replayer & in) { + Z3_ast result = Z3_mk_bvsgt( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_concat(z3_replayer & in) { + Z3_ast result = Z3_mk_concat( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_extract(z3_replayer & in) { + Z3_ast result = Z3_mk_extract( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + in.get_uint(2), + reinterpret_cast(in.get_obj(3))); + in.store_result(result); +} +void exec_Z3_mk_sign_ext(z3_replayer & in) { + Z3_ast result = Z3_mk_sign_ext( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_zero_ext(z3_replayer & in) { + Z3_ast result = Z3_mk_zero_ext( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_repeat(z3_replayer & in) { + Z3_ast result = Z3_mk_repeat( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvshl(z3_replayer & in) { + Z3_ast result = Z3_mk_bvshl( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvlshr(z3_replayer & in) { + Z3_ast result = Z3_mk_bvlshr( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvashr(z3_replayer & in) { + Z3_ast result = Z3_mk_bvashr( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_rotate_left(z3_replayer & in) { + Z3_ast result = Z3_mk_rotate_left( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_rotate_right(z3_replayer & in) { + Z3_ast result = Z3_mk_rotate_right( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_ext_rotate_left(z3_replayer & in) { + Z3_ast result = Z3_mk_ext_rotate_left( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_ext_rotate_right(z3_replayer & in) { + Z3_ast result = Z3_mk_ext_rotate_right( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_int2bv(z3_replayer & in) { + Z3_ast result = Z3_mk_int2bv( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bv2int(z3_replayer & in) { + Z3_ast result = Z3_mk_bv2int( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_bool(2)); + in.store_result(result); +} +void exec_Z3_mk_bvadd_no_overflow(z3_replayer & in) { + Z3_ast result = Z3_mk_bvadd_no_overflow( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + in.get_bool(3)); + in.store_result(result); +} +void exec_Z3_mk_bvadd_no_underflow(z3_replayer & in) { + Z3_ast result = Z3_mk_bvadd_no_underflow( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvsub_no_overflow(z3_replayer & in) { + Z3_ast result = Z3_mk_bvsub_no_overflow( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvsub_no_underflow(z3_replayer & in) { + Z3_ast result = Z3_mk_bvsub_no_underflow( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + in.get_bool(3)); + in.store_result(result); +} +void exec_Z3_mk_bvsdiv_no_overflow(z3_replayer & in) { + Z3_ast result = Z3_mk_bvsdiv_no_overflow( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_bvneg_no_overflow(z3_replayer & in) { + Z3_ast result = Z3_mk_bvneg_no_overflow( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_bvmul_no_overflow(z3_replayer & in) { + Z3_ast result = Z3_mk_bvmul_no_overflow( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + in.get_bool(3)); + in.store_result(result); +} +void exec_Z3_mk_bvmul_no_underflow(z3_replayer & in) { + Z3_ast result = Z3_mk_bvmul_no_underflow( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_select(z3_replayer & in) { + Z3_ast result = Z3_mk_select( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_store(z3_replayer & in) { + Z3_ast result = Z3_mk_store( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + reinterpret_cast(in.get_obj(3))); + in.store_result(result); +} +void exec_Z3_mk_const_array(z3_replayer & in) { + Z3_ast result = Z3_mk_const_array( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_map(z3_replayer & in) { + Z3_ast result = Z3_mk_map( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3))); + in.store_result(result); +} +void exec_Z3_mk_array_default(z3_replayer & in) { + Z3_ast result = Z3_mk_array_default( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_set_sort(z3_replayer & in) { + Z3_sort result = Z3_mk_set_sort( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_empty_set(z3_replayer & in) { + Z3_ast result = Z3_mk_empty_set( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_full_set(z3_replayer & in) { + Z3_ast result = Z3_mk_full_set( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_set_add(z3_replayer & in) { + Z3_ast result = Z3_mk_set_add( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_set_del(z3_replayer & in) { + Z3_ast result = Z3_mk_set_del( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_set_union(z3_replayer & in) { + Z3_ast result = Z3_mk_set_union( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj_array(2))); + in.store_result(result); +} +void exec_Z3_mk_set_intersect(z3_replayer & in) { + Z3_ast result = Z3_mk_set_intersect( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj_array(2))); + in.store_result(result); +} +void exec_Z3_mk_set_difference(z3_replayer & in) { + Z3_ast result = Z3_mk_set_difference( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_set_complement(z3_replayer & in) { + Z3_ast result = Z3_mk_set_complement( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_mk_set_member(z3_replayer & in) { + Z3_ast result = Z3_mk_set_member( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_set_subset(z3_replayer & in) { + Z3_ast result = Z3_mk_set_subset( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_numeral(z3_replayer & in) { + Z3_ast result = Z3_mk_numeral( + reinterpret_cast(in.get_obj(0)), + in.get_str(1), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_real(z3_replayer & in) { + Z3_ast result = Z3_mk_real( + reinterpret_cast(in.get_obj(0)), + in.get_int(1), + in.get_int(2)); + in.store_result(result); +} +void exec_Z3_mk_int(z3_replayer & in) { + Z3_ast result = Z3_mk_int( + reinterpret_cast(in.get_obj(0)), + in.get_int(1), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_unsigned_int(z3_replayer & in) { + Z3_ast result = Z3_mk_unsigned_int( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_int64(z3_replayer & in) { + Z3_ast result = Z3_mk_int64( + reinterpret_cast(in.get_obj(0)), + in.get_int64(1), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_unsigned_int64(z3_replayer & in) { + Z3_ast result = Z3_mk_unsigned_int64( + reinterpret_cast(in.get_obj(0)), + in.get_uint64(1), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_pattern(z3_replayer & in) { + Z3_pattern result = Z3_mk_pattern( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj_array(2))); + in.store_result(result); +} +void exec_Z3_mk_bound(z3_replayer & in) { + Z3_ast result = Z3_mk_bound( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_mk_forall(z3_replayer & in) { + Z3_ast result = Z3_mk_forall( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3)), + in.get_uint(4), + reinterpret_cast(in.get_obj_array(5)), + in.get_symbol_array(6), + reinterpret_cast(in.get_obj(7))); + in.store_result(result); +} +void exec_Z3_mk_exists(z3_replayer & in) { + Z3_ast result = Z3_mk_exists( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3)), + in.get_uint(4), + reinterpret_cast(in.get_obj_array(5)), + in.get_symbol_array(6), + reinterpret_cast(in.get_obj(7))); + in.store_result(result); +} +void exec_Z3_mk_quantifier(z3_replayer & in) { + Z3_ast result = Z3_mk_quantifier( + reinterpret_cast(in.get_obj(0)), + in.get_bool(1), + in.get_uint(2), + in.get_uint(3), + reinterpret_cast(in.get_obj_array(4)), + in.get_uint(5), + reinterpret_cast(in.get_obj_array(6)), + in.get_symbol_array(7), + reinterpret_cast(in.get_obj(8))); + in.store_result(result); +} +void exec_Z3_mk_quantifier_ex(z3_replayer & in) { + Z3_ast result = Z3_mk_quantifier_ex( + reinterpret_cast(in.get_obj(0)), + in.get_bool(1), + in.get_uint(2), + in.get_symbol(3), + in.get_symbol(4), + in.get_uint(5), + reinterpret_cast(in.get_obj_array(6)), + in.get_uint(7), + reinterpret_cast(in.get_obj_array(8)), + in.get_uint(9), + reinterpret_cast(in.get_obj_array(10)), + in.get_symbol_array(11), + reinterpret_cast(in.get_obj(12))); + in.store_result(result); +} +void exec_Z3_mk_forall_const(z3_replayer & in) { + Z3_ast result = Z3_mk_forall_const( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3)), + in.get_uint(4), + reinterpret_cast(in.get_obj_array(5)), + reinterpret_cast(in.get_obj(6))); + in.store_result(result); +} +void exec_Z3_mk_exists_const(z3_replayer & in) { + Z3_ast result = Z3_mk_exists_const( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3)), + in.get_uint(4), + reinterpret_cast(in.get_obj_array(5)), + reinterpret_cast(in.get_obj(6))); + in.store_result(result); +} +void exec_Z3_mk_quantifier_const(z3_replayer & in) { + Z3_ast result = Z3_mk_quantifier_const( + reinterpret_cast(in.get_obj(0)), + in.get_bool(1), + in.get_uint(2), + in.get_uint(3), + reinterpret_cast(in.get_obj_array(4)), + in.get_uint(5), + reinterpret_cast(in.get_obj_array(6)), + reinterpret_cast(in.get_obj(7))); + in.store_result(result); +} +void exec_Z3_mk_quantifier_const_ex(z3_replayer & in) { + Z3_ast result = Z3_mk_quantifier_const_ex( + reinterpret_cast(in.get_obj(0)), + in.get_bool(1), + in.get_uint(2), + in.get_symbol(3), + in.get_symbol(4), + in.get_uint(5), + reinterpret_cast(in.get_obj_array(6)), + in.get_uint(7), + reinterpret_cast(in.get_obj_array(8)), + in.get_uint(9), + reinterpret_cast(in.get_obj_array(10)), + reinterpret_cast(in.get_obj(11))); + in.store_result(result); +} +void exec_Z3_get_symbol_kind(z3_replayer & in) { + Z3_get_symbol_kind( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1)); +} +void exec_Z3_get_symbol_int(z3_replayer & in) { + Z3_get_symbol_int( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1)); +} +void exec_Z3_get_symbol_string(z3_replayer & in) { + Z3_get_symbol_string( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1)); +} +void exec_Z3_get_sort_name(z3_replayer & in) { + Z3_get_sort_name( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_sort_id(z3_replayer & in) { + Z3_get_sort_id( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_sort_to_ast(z3_replayer & in) { + Z3_ast result = Z3_sort_to_ast( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_is_eq_sort(z3_replayer & in) { + Z3_is_eq_sort( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_get_sort_kind(z3_replayer & in) { + Z3_get_sort_kind( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_bv_sort_size(z3_replayer & in) { + Z3_get_bv_sort_size( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_finite_domain_sort_size(z3_replayer & in) { + Z3_get_finite_domain_sort_size( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint64_addr(2)); +} +void exec_Z3_get_array_sort_domain(z3_replayer & in) { + Z3_sort result = Z3_get_array_sort_domain( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_get_array_sort_range(z3_replayer & in) { + Z3_sort result = Z3_get_array_sort_range( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_get_tuple_sort_mk_decl(z3_replayer & in) { + Z3_func_decl result = Z3_get_tuple_sort_mk_decl( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_get_tuple_sort_num_fields(z3_replayer & in) { + Z3_get_tuple_sort_num_fields( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_tuple_sort_field_decl(z3_replayer & in) { + Z3_func_decl result = Z3_get_tuple_sort_field_decl( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_get_datatype_sort_num_constructors(z3_replayer & in) { + Z3_get_datatype_sort_num_constructors( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_datatype_sort_constructor(z3_replayer & in) { + Z3_func_decl result = Z3_get_datatype_sort_constructor( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_get_datatype_sort_recognizer(z3_replayer & in) { + Z3_func_decl result = Z3_get_datatype_sort_recognizer( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_get_datatype_sort_constructor_accessor(z3_replayer & in) { + Z3_func_decl result = Z3_get_datatype_sort_constructor_accessor( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + in.get_uint(3)); + in.store_result(result); +} +void exec_Z3_get_relation_arity(z3_replayer & in) { + Z3_get_relation_arity( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_relation_column(z3_replayer & in) { + Z3_sort result = Z3_get_relation_column( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_func_decl_to_ast(z3_replayer & in) { + Z3_ast result = Z3_func_decl_to_ast( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_is_eq_func_decl(z3_replayer & in) { + Z3_is_eq_func_decl( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_get_func_decl_id(z3_replayer & in) { + Z3_get_func_decl_id( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_decl_name(z3_replayer & in) { + Z3_get_decl_name( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_decl_kind(z3_replayer & in) { + Z3_get_decl_kind( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_domain_size(z3_replayer & in) { + Z3_get_domain_size( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_arity(z3_replayer & in) { + Z3_get_arity( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_domain(z3_replayer & in) { + Z3_sort result = Z3_get_domain( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_get_range(z3_replayer & in) { + Z3_sort result = Z3_get_range( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_get_decl_num_parameters(z3_replayer & in) { + Z3_get_decl_num_parameters( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_decl_parameter_kind(z3_replayer & in) { + Z3_get_decl_parameter_kind( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_get_decl_int_parameter(z3_replayer & in) { + Z3_get_decl_int_parameter( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_get_decl_double_parameter(z3_replayer & in) { + Z3_get_decl_double_parameter( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_get_decl_symbol_parameter(z3_replayer & in) { + Z3_get_decl_symbol_parameter( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_get_decl_sort_parameter(z3_replayer & in) { + Z3_sort result = Z3_get_decl_sort_parameter( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_get_decl_ast_parameter(z3_replayer & in) { + Z3_ast result = Z3_get_decl_ast_parameter( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_get_decl_func_decl_parameter(z3_replayer & in) { + Z3_func_decl result = Z3_get_decl_func_decl_parameter( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_get_decl_rational_parameter(z3_replayer & in) { + Z3_get_decl_rational_parameter( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_app_to_ast(z3_replayer & in) { + Z3_ast result = Z3_app_to_ast( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_get_app_decl(z3_replayer & in) { + Z3_func_decl result = Z3_get_app_decl( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_get_app_num_args(z3_replayer & in) { + Z3_get_app_num_args( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_app_arg(z3_replayer & in) { + Z3_ast result = Z3_get_app_arg( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_is_eq_ast(z3_replayer & in) { + Z3_is_eq_ast( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_get_ast_id(z3_replayer & in) { + Z3_get_ast_id( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_ast_hash(z3_replayer & in) { + Z3_get_ast_hash( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_sort(z3_replayer & in) { + Z3_sort result = Z3_get_sort( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_is_well_sorted(z3_replayer & in) { + Z3_is_well_sorted( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_bool_value(z3_replayer & in) { + Z3_get_bool_value( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_ast_kind(z3_replayer & in) { + Z3_get_ast_kind( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_is_app(z3_replayer & in) { + Z3_is_app( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_is_numeral_ast(z3_replayer & in) { + Z3_is_numeral_ast( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_is_algebraic_number(z3_replayer & in) { + Z3_is_algebraic_number( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_to_app(z3_replayer & in) { + Z3_app result = Z3_to_app( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_to_func_decl(z3_replayer & in) { + Z3_func_decl result = Z3_to_func_decl( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_get_numeral_string(z3_replayer & in) { + Z3_get_numeral_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_numeral_decimal_string(z3_replayer & in) { + Z3_get_numeral_decimal_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_get_numerator(z3_replayer & in) { + Z3_ast result = Z3_get_numerator( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_get_denominator(z3_replayer & in) { + Z3_ast result = Z3_get_denominator( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_get_numeral_small(z3_replayer & in) { + Z3_get_numeral_small( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_int64_addr(2), + in.get_int64_addr(3)); +} +void exec_Z3_get_numeral_int(z3_replayer & in) { + Z3_get_numeral_int( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_int_addr(2)); +} +void exec_Z3_get_numeral_uint(z3_replayer & in) { + Z3_get_numeral_uint( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint_addr(2)); +} +void exec_Z3_get_numeral_uint64(z3_replayer & in) { + Z3_get_numeral_uint64( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint64_addr(2)); +} +void exec_Z3_get_numeral_int64(z3_replayer & in) { + Z3_get_numeral_int64( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_int64_addr(2)); +} +void exec_Z3_get_numeral_rational_int64(z3_replayer & in) { + Z3_get_numeral_rational_int64( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_int64_addr(2), + in.get_int64_addr(3)); +} +void exec_Z3_get_algebraic_number_lower(z3_replayer & in) { + Z3_ast result = Z3_get_algebraic_number_lower( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_get_algebraic_number_upper(z3_replayer & in) { + Z3_ast result = Z3_get_algebraic_number_upper( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_pattern_to_ast(z3_replayer & in) { + Z3_ast result = Z3_pattern_to_ast( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_get_pattern_num_terms(z3_replayer & in) { + Z3_get_pattern_num_terms( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_pattern(z3_replayer & in) { + Z3_ast result = Z3_get_pattern( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_get_index_value(z3_replayer & in) { + Z3_get_index_value( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_is_quantifier_forall(z3_replayer & in) { + Z3_is_quantifier_forall( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_quantifier_weight(z3_replayer & in) { + Z3_get_quantifier_weight( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_quantifier_num_patterns(z3_replayer & in) { + Z3_get_quantifier_num_patterns( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_quantifier_pattern_ast(z3_replayer & in) { + Z3_pattern result = Z3_get_quantifier_pattern_ast( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_get_quantifier_num_no_patterns(z3_replayer & in) { + Z3_get_quantifier_num_no_patterns( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_quantifier_no_pattern_ast(z3_replayer & in) { + Z3_ast result = Z3_get_quantifier_no_pattern_ast( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_get_quantifier_num_bound(z3_replayer & in) { + Z3_get_quantifier_num_bound( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_quantifier_bound_name(z3_replayer & in) { + Z3_get_quantifier_bound_name( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_get_quantifier_bound_sort(z3_replayer & in) { + Z3_sort result = Z3_get_quantifier_bound_sort( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_get_quantifier_body(z3_replayer & in) { + Z3_ast result = Z3_get_quantifier_body( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_simplify(z3_replayer & in) { + Z3_ast result = Z3_simplify( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_simplify_ex(z3_replayer & in) { + Z3_ast result = Z3_simplify_ex( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_simplify_get_help(z3_replayer & in) { + Z3_simplify_get_help( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_simplify_get_param_descrs(z3_replayer & in) { + Z3_param_descrs result = Z3_simplify_get_param_descrs( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_update_term(z3_replayer & in) { + Z3_ast result = Z3_update_term( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3))); + in.store_result(result); +} +void exec_Z3_substitute(z3_replayer & in) { + Z3_ast result = Z3_substitute( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3)), + reinterpret_cast(in.get_obj_array(4))); + in.store_result(result); +} +void exec_Z3_substitute_vars(z3_replayer & in) { + Z3_ast result = Z3_substitute_vars( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3))); + in.store_result(result); +} +void exec_Z3_translate(z3_replayer & in) { + Z3_ast result = Z3_translate( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_model_inc_ref(z3_replayer & in) { + Z3_model_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_model_dec_ref(z3_replayer & in) { + Z3_model_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_model_eval(z3_replayer & in) { + Z3_model_eval( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + in.get_bool(3), + reinterpret_cast(in.get_obj_addr(4))); +} +void exec_Z3_model_get_const_interp(z3_replayer & in) { + Z3_ast result = Z3_model_get_const_interp( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_model_get_func_interp(z3_replayer & in) { + Z3_func_interp result = Z3_model_get_func_interp( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_model_get_num_consts(z3_replayer & in) { + Z3_model_get_num_consts( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_model_get_const_decl(z3_replayer & in) { + Z3_func_decl result = Z3_model_get_const_decl( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_model_get_num_funcs(z3_replayer & in) { + Z3_model_get_num_funcs( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_model_get_func_decl(z3_replayer & in) { + Z3_func_decl result = Z3_model_get_func_decl( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_model_get_num_sorts(z3_replayer & in) { + Z3_model_get_num_sorts( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_model_get_sort(z3_replayer & in) { + Z3_sort result = Z3_model_get_sort( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_model_get_sort_universe(z3_replayer & in) { + Z3_ast_vector result = Z3_model_get_sort_universe( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_is_as_array(z3_replayer & in) { + Z3_is_as_array( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_as_array_func_decl(z3_replayer & in) { + Z3_func_decl result = Z3_get_as_array_func_decl( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_func_interp_inc_ref(z3_replayer & in) { + Z3_func_interp_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_func_interp_dec_ref(z3_replayer & in) { + Z3_func_interp_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_func_interp_get_num_entries(z3_replayer & in) { + Z3_func_interp_get_num_entries( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_func_interp_get_entry(z3_replayer & in) { + Z3_func_entry result = Z3_func_interp_get_entry( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_func_interp_get_else(z3_replayer & in) { + Z3_ast result = Z3_func_interp_get_else( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_func_interp_get_arity(z3_replayer & in) { + Z3_func_interp_get_arity( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_func_entry_inc_ref(z3_replayer & in) { + Z3_func_entry_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_func_entry_dec_ref(z3_replayer & in) { + Z3_func_entry_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_func_entry_get_value(z3_replayer & in) { + Z3_ast result = Z3_func_entry_get_value( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_func_entry_get_num_args(z3_replayer & in) { + Z3_func_entry_get_num_args( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_func_entry_get_arg(z3_replayer & in) { + Z3_ast result = Z3_func_entry_get_arg( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_toggle_warning_messages(z3_replayer & in) { + Z3_toggle_warning_messages( + in.get_bool(0)); +} +void exec_Z3_set_ast_print_mode(z3_replayer & in) { + Z3_set_ast_print_mode( + reinterpret_cast(in.get_obj(0)), + static_cast(in.get_uint(1))); +} +void exec_Z3_ast_to_string(z3_replayer & in) { + Z3_ast_to_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_pattern_to_string(z3_replayer & in) { + Z3_pattern_to_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_sort_to_string(z3_replayer & in) { + Z3_sort_to_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_func_decl_to_string(z3_replayer & in) { + Z3_func_decl_to_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_model_to_string(z3_replayer & in) { + Z3_model_to_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_benchmark_to_smtlib_string(z3_replayer & in) { + Z3_benchmark_to_smtlib_string( + reinterpret_cast(in.get_obj(0)), + in.get_str(1), + in.get_str(2), + in.get_str(3), + in.get_str(4), + in.get_uint(5), + reinterpret_cast(in.get_obj_array(6)), + reinterpret_cast(in.get_obj(7))); +} +void exec_Z3_parse_smtlib2_string(z3_replayer & in) { + Z3_ast result = Z3_parse_smtlib2_string( + reinterpret_cast(in.get_obj(0)), + in.get_str(1), + in.get_uint(2), + in.get_symbol_array(3), + reinterpret_cast(in.get_obj_array(4)), + in.get_uint(5), + in.get_symbol_array(6), + reinterpret_cast(in.get_obj_array(7))); + in.store_result(result); +} +void exec_Z3_parse_smtlib2_file(z3_replayer & in) { + Z3_ast result = Z3_parse_smtlib2_file( + reinterpret_cast(in.get_obj(0)), + in.get_str(1), + in.get_uint(2), + in.get_symbol_array(3), + reinterpret_cast(in.get_obj_array(4)), + in.get_uint(5), + in.get_symbol_array(6), + reinterpret_cast(in.get_obj_array(7))); + in.store_result(result); +} +void exec_Z3_parse_smtlib_string(z3_replayer & in) { + Z3_parse_smtlib_string( + reinterpret_cast(in.get_obj(0)), + in.get_str(1), + in.get_uint(2), + in.get_symbol_array(3), + reinterpret_cast(in.get_obj_array(4)), + in.get_uint(5), + in.get_symbol_array(6), + reinterpret_cast(in.get_obj_array(7))); +} +void exec_Z3_parse_smtlib_file(z3_replayer & in) { + Z3_parse_smtlib_file( + reinterpret_cast(in.get_obj(0)), + in.get_str(1), + in.get_uint(2), + in.get_symbol_array(3), + reinterpret_cast(in.get_obj_array(4)), + in.get_uint(5), + in.get_symbol_array(6), + reinterpret_cast(in.get_obj_array(7))); +} +void exec_Z3_get_smtlib_num_formulas(z3_replayer & in) { + Z3_get_smtlib_num_formulas( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_get_smtlib_formula(z3_replayer & in) { + Z3_ast result = Z3_get_smtlib_formula( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1)); + in.store_result(result); +} +void exec_Z3_get_smtlib_num_assumptions(z3_replayer & in) { + Z3_get_smtlib_num_assumptions( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_get_smtlib_assumption(z3_replayer & in) { + Z3_ast result = Z3_get_smtlib_assumption( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1)); + in.store_result(result); +} +void exec_Z3_get_smtlib_num_decls(z3_replayer & in) { + Z3_get_smtlib_num_decls( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_get_smtlib_decl(z3_replayer & in) { + Z3_func_decl result = Z3_get_smtlib_decl( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1)); + in.store_result(result); +} +void exec_Z3_get_smtlib_num_sorts(z3_replayer & in) { + Z3_get_smtlib_num_sorts( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_get_smtlib_sort(z3_replayer & in) { + Z3_sort result = Z3_get_smtlib_sort( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1)); + in.store_result(result); +} +void exec_Z3_get_smtlib_error(z3_replayer & in) { + Z3_get_smtlib_error( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_parse_z3_string(z3_replayer & in) { + Z3_ast result = Z3_parse_z3_string( + reinterpret_cast(in.get_obj(0)), + in.get_str(1)); + in.store_result(result); +} +void exec_Z3_parse_z3_file(z3_replayer & in) { + Z3_ast result = Z3_parse_z3_file( + reinterpret_cast(in.get_obj(0)), + in.get_str(1)); + in.store_result(result); +} +void exec_Z3_get_error_code(z3_replayer & in) { + Z3_get_error_code( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_set_error(z3_replayer & in) { + Z3_set_error( + reinterpret_cast(in.get_obj(0)), + static_cast(in.get_uint(1))); +} +void exec_Z3_get_error_msg(z3_replayer & in) { + Z3_get_error_msg( + static_cast(in.get_uint(0))); +} +void exec_Z3_get_error_msg_ex(z3_replayer & in) { + Z3_get_error_msg_ex( + reinterpret_cast(in.get_obj(0)), + static_cast(in.get_uint(1))); +} +void exec_Z3_get_version(z3_replayer & in) { + Z3_get_version( + in.get_uint_addr(0), + in.get_uint_addr(1), + in.get_uint_addr(2), + in.get_uint_addr(3)); +} +void exec_Z3_reset_memory(z3_replayer & in) { + Z3_reset_memory( + ); +} +void exec_Z3_mk_fixedpoint(z3_replayer & in) { + Z3_fixedpoint result = Z3_mk_fixedpoint( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_fixedpoint_inc_ref(z3_replayer & in) { + Z3_fixedpoint_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_fixedpoint_dec_ref(z3_replayer & in) { + Z3_fixedpoint_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_fixedpoint_add_rule(z3_replayer & in) { + Z3_fixedpoint_add_rule( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + in.get_symbol(3)); +} +void exec_Z3_fixedpoint_add_fact(z3_replayer & in) { + Z3_fixedpoint_add_fact( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + in.get_uint(3), + in.get_uint_array(4)); +} +void exec_Z3_fixedpoint_assert(z3_replayer & in) { + Z3_fixedpoint_assert( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_fixedpoint_query(z3_replayer & in) { + Z3_fixedpoint_query( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_fixedpoint_query_relations(z3_replayer & in) { + Z3_fixedpoint_query_relations( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3))); +} +void exec_Z3_fixedpoint_get_answer(z3_replayer & in) { + Z3_ast result = Z3_fixedpoint_get_answer( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_fixedpoint_get_reason_unknown(z3_replayer & in) { + Z3_fixedpoint_get_reason_unknown( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_fixedpoint_update_rule(z3_replayer & in) { + Z3_fixedpoint_update_rule( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + in.get_symbol(3)); +} +void exec_Z3_fixedpoint_get_num_levels(z3_replayer & in) { + Z3_fixedpoint_get_num_levels( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_fixedpoint_get_cover_delta(z3_replayer & in) { + Z3_ast result = Z3_fixedpoint_get_cover_delta( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_int(2), + reinterpret_cast(in.get_obj(3))); + in.store_result(result); +} +void exec_Z3_fixedpoint_add_cover(z3_replayer & in) { + Z3_fixedpoint_add_cover( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_int(2), + reinterpret_cast(in.get_obj(3)), + reinterpret_cast(in.get_obj(4))); +} +void exec_Z3_fixedpoint_get_statistics(z3_replayer & in) { + Z3_stats result = Z3_fixedpoint_get_statistics( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_fixedpoint_register_relation(z3_replayer & in) { + Z3_fixedpoint_register_relation( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_fixedpoint_set_predicate_representation(z3_replayer & in) { + Z3_fixedpoint_set_predicate_representation( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + in.get_uint(3), + in.get_symbol_array(4)); +} +void exec_Z3_fixedpoint_simplify_rules(z3_replayer & in) { + Z3_ast_vector result = Z3_fixedpoint_simplify_rules( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3)), + in.get_uint(4), + reinterpret_cast(in.get_obj_array(5))); + in.store_result(result); +} +void exec_Z3_fixedpoint_set_params(z3_replayer & in) { + Z3_fixedpoint_set_params( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_fixedpoint_get_help(z3_replayer & in) { + Z3_fixedpoint_get_help( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_fixedpoint_get_param_descrs(z3_replayer & in) { + Z3_param_descrs result = Z3_fixedpoint_get_param_descrs( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_fixedpoint_to_string(z3_replayer & in) { + Z3_fixedpoint_to_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3))); +} +void exec_Z3_fixedpoint_push(z3_replayer & in) { + Z3_fixedpoint_push( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_fixedpoint_pop(z3_replayer & in) { + Z3_fixedpoint_pop( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_mk_ast_vector(z3_replayer & in) { + Z3_ast_vector result = Z3_mk_ast_vector( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_ast_vector_inc_ref(z3_replayer & in) { + Z3_ast_vector_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_ast_vector_dec_ref(z3_replayer & in) { + Z3_ast_vector_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_ast_vector_size(z3_replayer & in) { + Z3_ast_vector_size( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_ast_vector_get(z3_replayer & in) { + Z3_ast result = Z3_ast_vector_get( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_ast_vector_set(z3_replayer & in) { + Z3_ast_vector_set( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + reinterpret_cast(in.get_obj(3))); +} +void exec_Z3_ast_vector_resize(z3_replayer & in) { + Z3_ast_vector_resize( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_ast_vector_push(z3_replayer & in) { + Z3_ast_vector_push( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_ast_vector_translate(z3_replayer & in) { + Z3_ast_vector result = Z3_ast_vector_translate( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_ast_vector_to_string(z3_replayer & in) { + Z3_ast_vector_to_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_mk_ast_map(z3_replayer & in) { + Z3_ast_map result = Z3_mk_ast_map( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_ast_map_inc_ref(z3_replayer & in) { + Z3_ast_map_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_ast_map_dec_ref(z3_replayer & in) { + Z3_ast_map_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_ast_map_contains(z3_replayer & in) { + Z3_ast_map_contains( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_ast_map_find(z3_replayer & in) { + Z3_ast result = Z3_ast_map_find( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_ast_map_insert(z3_replayer & in) { + Z3_ast_map_insert( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + reinterpret_cast(in.get_obj(3))); +} +void exec_Z3_ast_map_erase(z3_replayer & in) { + Z3_ast_map_erase( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_ast_map_reset(z3_replayer & in) { + Z3_ast_map_reset( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_ast_map_size(z3_replayer & in) { + Z3_ast_map_size( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_ast_map_keys(z3_replayer & in) { + Z3_ast_vector result = Z3_ast_map_keys( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_ast_map_to_string(z3_replayer & in) { + Z3_ast_map_to_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_mk_goal(z3_replayer & in) { + Z3_goal result = Z3_mk_goal( + reinterpret_cast(in.get_obj(0)), + in.get_bool(1), + in.get_bool(2), + in.get_bool(3)); + in.store_result(result); +} +void exec_Z3_goal_inc_ref(z3_replayer & in) { + Z3_goal_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_goal_dec_ref(z3_replayer & in) { + Z3_goal_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_goal_precision(z3_replayer & in) { + Z3_goal_precision( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_goal_assert(z3_replayer & in) { + Z3_goal_assert( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_goal_inconsistent(z3_replayer & in) { + Z3_goal_inconsistent( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_goal_depth(z3_replayer & in) { + Z3_goal_depth( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_goal_reset(z3_replayer & in) { + Z3_goal_reset( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_goal_size(z3_replayer & in) { + Z3_goal_size( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_goal_formula(z3_replayer & in) { + Z3_ast result = Z3_goal_formula( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_goal_num_exprs(z3_replayer & in) { + Z3_goal_num_exprs( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_goal_is_decided_sat(z3_replayer & in) { + Z3_goal_is_decided_sat( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_goal_is_decided_unsat(z3_replayer & in) { + Z3_goal_is_decided_unsat( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_goal_translate(z3_replayer & in) { + Z3_goal result = Z3_goal_translate( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_goal_to_string(z3_replayer & in) { + Z3_goal_to_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_mk_tactic(z3_replayer & in) { + Z3_tactic result = Z3_mk_tactic( + reinterpret_cast(in.get_obj(0)), + in.get_str(1)); + in.store_result(result); +} +void exec_Z3_tactic_inc_ref(z3_replayer & in) { + Z3_tactic_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_tactic_dec_ref(z3_replayer & in) { + Z3_tactic_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_mk_probe(z3_replayer & in) { + Z3_probe result = Z3_mk_probe( + reinterpret_cast(in.get_obj(0)), + in.get_str(1)); + in.store_result(result); +} +void exec_Z3_probe_inc_ref(z3_replayer & in) { + Z3_probe_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_probe_dec_ref(z3_replayer & in) { + Z3_probe_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_tactic_and_then(z3_replayer & in) { + Z3_tactic result = Z3_tactic_and_then( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_tactic_or_else(z3_replayer & in) { + Z3_tactic result = Z3_tactic_or_else( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_tactic_par_or(z3_replayer & in) { + Z3_tactic result = Z3_tactic_par_or( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj_array(2))); + in.store_result(result); +} +void exec_Z3_tactic_par_and_then(z3_replayer & in) { + Z3_tactic result = Z3_tactic_par_and_then( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_tactic_try_for(z3_replayer & in) { + Z3_tactic result = Z3_tactic_try_for( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_tactic_when(z3_replayer & in) { + Z3_tactic result = Z3_tactic_when( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_tactic_cond(z3_replayer & in) { + Z3_tactic result = Z3_tactic_cond( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + reinterpret_cast(in.get_obj(3))); + in.store_result(result); +} +void exec_Z3_tactic_repeat(z3_replayer & in) { + Z3_tactic result = Z3_tactic_repeat( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_tactic_skip(z3_replayer & in) { + Z3_tactic result = Z3_tactic_skip( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_tactic_fail(z3_replayer & in) { + Z3_tactic result = Z3_tactic_fail( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_tactic_fail_if(z3_replayer & in) { + Z3_tactic result = Z3_tactic_fail_if( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_tactic_fail_if_not_decided(z3_replayer & in) { + Z3_tactic result = Z3_tactic_fail_if_not_decided( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_tactic_using_params(z3_replayer & in) { + Z3_tactic result = Z3_tactic_using_params( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_probe_const(z3_replayer & in) { + Z3_probe result = Z3_probe_const( + reinterpret_cast(in.get_obj(0)), + in.get_double(1)); + in.store_result(result); +} +void exec_Z3_probe_lt(z3_replayer & in) { + Z3_probe result = Z3_probe_lt( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_probe_gt(z3_replayer & in) { + Z3_probe result = Z3_probe_gt( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_probe_le(z3_replayer & in) { + Z3_probe result = Z3_probe_le( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_probe_ge(z3_replayer & in) { + Z3_probe result = Z3_probe_ge( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_probe_eq(z3_replayer & in) { + Z3_probe result = Z3_probe_eq( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_probe_and(z3_replayer & in) { + Z3_probe result = Z3_probe_and( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_probe_or(z3_replayer & in) { + Z3_probe result = Z3_probe_or( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_probe_not(z3_replayer & in) { + Z3_probe result = Z3_probe_not( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_get_num_tactics(z3_replayer & in) { + Z3_get_num_tactics( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_get_tactic_name(z3_replayer & in) { + Z3_get_tactic_name( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1)); +} +void exec_Z3_get_num_probes(z3_replayer & in) { + Z3_get_num_probes( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_get_probe_name(z3_replayer & in) { + Z3_get_probe_name( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1)); +} +void exec_Z3_tactic_get_help(z3_replayer & in) { + Z3_tactic_get_help( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_tactic_get_param_descrs(z3_replayer & in) { + Z3_param_descrs result = Z3_tactic_get_param_descrs( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_tactic_get_descr(z3_replayer & in) { + Z3_tactic_get_descr( + reinterpret_cast(in.get_obj(0)), + in.get_str(1)); +} +void exec_Z3_probe_get_descr(z3_replayer & in) { + Z3_probe_get_descr( + reinterpret_cast(in.get_obj(0)), + in.get_str(1)); +} +void exec_Z3_probe_apply(z3_replayer & in) { + Z3_probe_apply( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_tactic_apply(z3_replayer & in) { + Z3_apply_result result = Z3_tactic_apply( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); + in.store_result(result); +} +void exec_Z3_tactic_apply_ex(z3_replayer & in) { + Z3_apply_result result = Z3_tactic_apply_ex( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + reinterpret_cast(in.get_obj(3))); + in.store_result(result); +} +void exec_Z3_apply_result_inc_ref(z3_replayer & in) { + Z3_apply_result_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_apply_result_dec_ref(z3_replayer & in) { + Z3_apply_result_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_apply_result_to_string(z3_replayer & in) { + Z3_apply_result_to_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_apply_result_get_num_subgoals(z3_replayer & in) { + Z3_apply_result_get_num_subgoals( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_apply_result_get_subgoal(z3_replayer & in) { + Z3_goal result = Z3_apply_result_get_subgoal( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_apply_result_convert_model(z3_replayer & in) { + Z3_model result = Z3_apply_result_convert_model( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + reinterpret_cast(in.get_obj(3))); + in.store_result(result); +} +void exec_Z3_mk_solver(z3_replayer & in) { + Z3_solver result = Z3_mk_solver( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_mk_simple_solver(z3_replayer & in) { + Z3_solver result = Z3_mk_simple_solver( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_mk_solver_for_logic(z3_replayer & in) { + Z3_solver result = Z3_mk_solver_for_logic( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1)); + in.store_result(result); +} +void exec_Z3_mk_solver_from_tactic(z3_replayer & in) { + Z3_solver result = Z3_mk_solver_from_tactic( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_solver_get_help(z3_replayer & in) { + Z3_solver_get_help( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_solver_get_param_descrs(z3_replayer & in) { + Z3_param_descrs result = Z3_solver_get_param_descrs( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_solver_set_params(z3_replayer & in) { + Z3_solver_set_params( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_solver_inc_ref(z3_replayer & in) { + Z3_solver_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_solver_dec_ref(z3_replayer & in) { + Z3_solver_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_solver_push(z3_replayer & in) { + Z3_solver_push( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_solver_pop(z3_replayer & in) { + Z3_solver_pop( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_solver_reset(z3_replayer & in) { + Z3_solver_reset( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_solver_get_num_scopes(z3_replayer & in) { + Z3_solver_get_num_scopes( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_solver_assert(z3_replayer & in) { + Z3_solver_assert( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2))); +} +void exec_Z3_solver_get_assertions(z3_replayer & in) { + Z3_ast_vector result = Z3_solver_get_assertions( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_solver_check(z3_replayer & in) { + Z3_solver_check( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_solver_check_assumptions(z3_replayer & in) { + Z3_solver_check_assumptions( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3))); +} +void exec_Z3_solver_get_model(z3_replayer & in) { + Z3_model result = Z3_solver_get_model( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_solver_get_proof(z3_replayer & in) { + Z3_ast result = Z3_solver_get_proof( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_solver_get_unsat_core(z3_replayer & in) { + Z3_ast_vector result = Z3_solver_get_unsat_core( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_solver_get_reason_unknown(z3_replayer & in) { + Z3_solver_get_reason_unknown( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_solver_get_statistics(z3_replayer & in) { + Z3_stats result = Z3_solver_get_statistics( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); + in.store_result(result); +} +void exec_Z3_solver_to_string(z3_replayer & in) { + Z3_solver_to_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_stats_to_string(z3_replayer & in) { + Z3_stats_to_string( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_stats_inc_ref(z3_replayer & in) { + Z3_stats_inc_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_stats_dec_ref(z3_replayer & in) { + Z3_stats_dec_ref( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_stats_size(z3_replayer & in) { + Z3_stats_size( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_stats_get_key(z3_replayer & in) { + Z3_stats_get_key( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_stats_is_uint(z3_replayer & in) { + Z3_stats_is_uint( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_stats_is_double(z3_replayer & in) { + Z3_stats_is_double( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_stats_get_uint_value(z3_replayer & in) { + Z3_stats_get_uint_value( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_stats_get_double_value(z3_replayer & in) { + Z3_stats_get_double_value( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_mk_injective_function(z3_replayer & in) { + Z3_func_decl result = Z3_mk_injective_function( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1), + in.get_uint(2), + reinterpret_cast(in.get_obj_array(3)), + reinterpret_cast(in.get_obj(4))); + in.store_result(result); +} +void exec_Z3_set_logic(z3_replayer & in) { + Z3_set_logic( + reinterpret_cast(in.get_obj(0)), + in.get_str(1)); +} +void exec_Z3_push(z3_replayer & in) { + Z3_push( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_pop(z3_replayer & in) { + Z3_pop( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1)); +} +void exec_Z3_get_num_scopes(z3_replayer & in) { + Z3_get_num_scopes( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_persist_ast(z3_replayer & in) { + Z3_persist_ast( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_assert_cnstr(z3_replayer & in) { + Z3_assert_cnstr( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_check_and_get_model(z3_replayer & in) { + Z3_check_and_get_model( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj_addr(1))); +} +void exec_Z3_check(z3_replayer & in) { + Z3_check( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_check_assumptions(z3_replayer & in) { + Z3_check_assumptions( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj_array(2)), + reinterpret_cast(in.get_obj_addr(3)), + reinterpret_cast(in.get_obj_addr(4)), + in.get_uint_addr(5), + reinterpret_cast(in.get_obj_array(6))); +} +void exec_Z3_get_implied_equalities(z3_replayer & in) { + Z3_get_implied_equalities( + reinterpret_cast(in.get_obj(0)), + in.get_uint(1), + reinterpret_cast(in.get_obj_array(2)), + in.get_uint_array(3)); +} +void exec_Z3_del_model(z3_replayer & in) { + Z3_del_model( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_soft_check_cancel(z3_replayer & in) { + Z3_soft_check_cancel( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_get_search_failure(z3_replayer & in) { + Z3_get_search_failure( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_mk_label(z3_replayer & in) { + Z3_ast result = Z3_mk_label( + reinterpret_cast(in.get_obj(0)), + in.get_symbol(1), + in.get_bool(2), + reinterpret_cast(in.get_obj(3))); + in.store_result(result); +} +void exec_Z3_get_relevant_labels(z3_replayer & in) { + Z3_literals result = Z3_get_relevant_labels( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_get_relevant_literals(z3_replayer & in) { + Z3_literals result = Z3_get_relevant_literals( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_get_guessed_literals(z3_replayer & in) { + Z3_literals result = Z3_get_guessed_literals( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void exec_Z3_del_literals(z3_replayer & in) { + Z3_del_literals( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_num_literals(z3_replayer & in) { + Z3_get_num_literals( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_label_symbol(z3_replayer & in) { + Z3_get_label_symbol( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_get_literal(z3_replayer & in) { + Z3_ast result = Z3_get_literal( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_disable_literal(z3_replayer & in) { + Z3_disable_literal( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_block_literals(z3_replayer & in) { + Z3_block_literals( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_model_num_constants(z3_replayer & in) { + Z3_get_model_num_constants( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_model_constant(z3_replayer & in) { + Z3_func_decl result = Z3_get_model_constant( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_get_model_num_funcs(z3_replayer & in) { + Z3_get_model_num_funcs( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1))); +} +void exec_Z3_get_model_func_decl(z3_replayer & in) { + Z3_func_decl result = Z3_get_model_func_decl( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_eval_func_decl(z3_replayer & in) { + Z3_eval_func_decl( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + reinterpret_cast(in.get_obj_addr(3))); +} +void exec_Z3_is_array_value(z3_replayer & in) { + Z3_is_array_value( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + in.get_uint_addr(3)); +} +void exec_Z3_get_array_value(z3_replayer & in) { + Z3_get_array_value( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + in.get_uint(3), + reinterpret_cast(in.get_obj_array(4)), + reinterpret_cast(in.get_obj_array(5)), + reinterpret_cast(in.get_obj_addr(6))); +} +void exec_Z3_get_model_func_else(z3_replayer & in) { + Z3_ast result = Z3_get_model_func_else( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); + in.store_result(result); +} +void exec_Z3_get_model_func_num_entries(z3_replayer & in) { + Z3_get_model_func_num_entries( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2)); +} +void exec_Z3_get_model_func_entry_num_args(z3_replayer & in) { + Z3_get_model_func_entry_num_args( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + in.get_uint(3)); +} +void exec_Z3_get_model_func_entry_arg(z3_replayer & in) { + Z3_ast result = Z3_get_model_func_entry_arg( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + in.get_uint(3), + in.get_uint(4)); + in.store_result(result); +} +void exec_Z3_get_model_func_entry_value(z3_replayer & in) { + Z3_ast result = Z3_get_model_func_entry_value( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + in.get_uint(2), + in.get_uint(3)); + in.store_result(result); +} +void exec_Z3_eval(z3_replayer & in) { + Z3_eval( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + reinterpret_cast(in.get_obj_addr(3))); +} +void exec_Z3_eval_decl(z3_replayer & in) { + Z3_eval_decl( + reinterpret_cast(in.get_obj(0)), + reinterpret_cast(in.get_obj(1)), + reinterpret_cast(in.get_obj(2)), + in.get_uint(3), + reinterpret_cast(in.get_obj_array(4)), + reinterpret_cast(in.get_obj_addr(5))); +} +void exec_Z3_context_to_string(z3_replayer & in) { + Z3_context_to_string( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_statistics_to_string(z3_replayer & in) { + Z3_statistics_to_string( + reinterpret_cast(in.get_obj(0))); +} +void exec_Z3_get_context_assignment(z3_replayer & in) { + Z3_ast result = Z3_get_context_assignment( + reinterpret_cast(in.get_obj(0))); + in.store_result(result); +} +void register_z3_replayer_cmds(z3_replayer & in) { + in.register_cmd(0, exec_Z3_mk_config); + in.register_cmd(1, exec_Z3_del_config); + in.register_cmd(2, exec_Z3_set_param_value); + in.register_cmd(3, exec_Z3_mk_context); + in.register_cmd(4, exec_Z3_mk_context_rc); + in.register_cmd(5, exec_Z3_del_context); + in.register_cmd(6, exec_Z3_inc_ref); + in.register_cmd(7, exec_Z3_dec_ref); + in.register_cmd(8, exec_Z3_update_param_value); + in.register_cmd(9, exec_Z3_get_param_value); + in.register_cmd(10, exec_Z3_interrupt); + in.register_cmd(11, exec_Z3_mk_params); + in.register_cmd(12, exec_Z3_params_inc_ref); + in.register_cmd(13, exec_Z3_params_dec_ref); + in.register_cmd(14, exec_Z3_params_set_bool); + in.register_cmd(15, exec_Z3_params_set_uint); + in.register_cmd(16, exec_Z3_params_set_double); + in.register_cmd(17, exec_Z3_params_set_symbol); + in.register_cmd(18, exec_Z3_params_to_string); + in.register_cmd(19, exec_Z3_params_validate); + in.register_cmd(20, exec_Z3_param_descrs_inc_ref); + in.register_cmd(21, exec_Z3_param_descrs_dec_ref); + in.register_cmd(22, exec_Z3_param_descrs_get_kind); + in.register_cmd(23, exec_Z3_param_descrs_size); + in.register_cmd(24, exec_Z3_param_descrs_get_name); + in.register_cmd(25, exec_Z3_param_descrs_to_string); + in.register_cmd(26, exec_Z3_mk_int_symbol); + in.register_cmd(27, exec_Z3_mk_string_symbol); + in.register_cmd(28, exec_Z3_mk_uninterpreted_sort); + in.register_cmd(29, exec_Z3_mk_bool_sort); + in.register_cmd(30, exec_Z3_mk_int_sort); + in.register_cmd(31, exec_Z3_mk_real_sort); + in.register_cmd(32, exec_Z3_mk_bv_sort); + in.register_cmd(33, exec_Z3_mk_finite_domain_sort); + in.register_cmd(34, exec_Z3_mk_array_sort); + in.register_cmd(35, exec_Z3_mk_tuple_sort); + in.register_cmd(36, exec_Z3_mk_enumeration_sort); + in.register_cmd(37, exec_Z3_mk_list_sort); + in.register_cmd(38, exec_Z3_mk_constructor); + in.register_cmd(39, exec_Z3_del_constructor); + in.register_cmd(40, exec_Z3_mk_datatype); + in.register_cmd(41, exec_Z3_mk_constructor_list); + in.register_cmd(42, exec_Z3_del_constructor_list); + in.register_cmd(43, exec_Z3_mk_datatypes); + in.register_cmd(44, exec_Z3_query_constructor); + in.register_cmd(45, exec_Z3_mk_func_decl); + in.register_cmd(46, exec_Z3_mk_app); + in.register_cmd(47, exec_Z3_mk_const); + in.register_cmd(48, exec_Z3_mk_fresh_func_decl); + in.register_cmd(49, exec_Z3_mk_fresh_const); + in.register_cmd(50, exec_Z3_mk_true); + in.register_cmd(51, exec_Z3_mk_false); + in.register_cmd(52, exec_Z3_mk_eq); + in.register_cmd(53, exec_Z3_mk_distinct); + in.register_cmd(54, exec_Z3_mk_not); + in.register_cmd(55, exec_Z3_mk_ite); + in.register_cmd(56, exec_Z3_mk_iff); + in.register_cmd(57, exec_Z3_mk_implies); + in.register_cmd(58, exec_Z3_mk_xor); + in.register_cmd(59, exec_Z3_mk_and); + in.register_cmd(60, exec_Z3_mk_or); + in.register_cmd(61, exec_Z3_mk_add); + in.register_cmd(62, exec_Z3_mk_mul); + in.register_cmd(63, exec_Z3_mk_sub); + in.register_cmd(64, exec_Z3_mk_unary_minus); + in.register_cmd(65, exec_Z3_mk_div); + in.register_cmd(66, exec_Z3_mk_mod); + in.register_cmd(67, exec_Z3_mk_rem); + in.register_cmd(68, exec_Z3_mk_power); + in.register_cmd(69, exec_Z3_mk_lt); + in.register_cmd(70, exec_Z3_mk_le); + in.register_cmd(71, exec_Z3_mk_gt); + in.register_cmd(72, exec_Z3_mk_ge); + in.register_cmd(73, exec_Z3_mk_int2real); + in.register_cmd(74, exec_Z3_mk_real2int); + in.register_cmd(75, exec_Z3_mk_is_int); + in.register_cmd(76, exec_Z3_mk_bvnot); + in.register_cmd(77, exec_Z3_mk_bvredand); + in.register_cmd(78, exec_Z3_mk_bvredor); + in.register_cmd(79, exec_Z3_mk_bvand); + in.register_cmd(80, exec_Z3_mk_bvor); + in.register_cmd(81, exec_Z3_mk_bvxor); + in.register_cmd(82, exec_Z3_mk_bvnand); + in.register_cmd(83, exec_Z3_mk_bvnor); + in.register_cmd(84, exec_Z3_mk_bvxnor); + in.register_cmd(85, exec_Z3_mk_bvneg); + in.register_cmd(86, exec_Z3_mk_bvadd); + in.register_cmd(87, exec_Z3_mk_bvsub); + in.register_cmd(88, exec_Z3_mk_bvmul); + in.register_cmd(89, exec_Z3_mk_bvudiv); + in.register_cmd(90, exec_Z3_mk_bvsdiv); + in.register_cmd(91, exec_Z3_mk_bvurem); + in.register_cmd(92, exec_Z3_mk_bvsrem); + in.register_cmd(93, exec_Z3_mk_bvsmod); + in.register_cmd(94, exec_Z3_mk_bvult); + in.register_cmd(95, exec_Z3_mk_bvslt); + in.register_cmd(96, exec_Z3_mk_bvule); + in.register_cmd(97, exec_Z3_mk_bvsle); + in.register_cmd(98, exec_Z3_mk_bvuge); + in.register_cmd(99, exec_Z3_mk_bvsge); + in.register_cmd(100, exec_Z3_mk_bvugt); + in.register_cmd(101, exec_Z3_mk_bvsgt); + in.register_cmd(102, exec_Z3_mk_concat); + in.register_cmd(103, exec_Z3_mk_extract); + in.register_cmd(104, exec_Z3_mk_sign_ext); + in.register_cmd(105, exec_Z3_mk_zero_ext); + in.register_cmd(106, exec_Z3_mk_repeat); + in.register_cmd(107, exec_Z3_mk_bvshl); + in.register_cmd(108, exec_Z3_mk_bvlshr); + in.register_cmd(109, exec_Z3_mk_bvashr); + in.register_cmd(110, exec_Z3_mk_rotate_left); + in.register_cmd(111, exec_Z3_mk_rotate_right); + in.register_cmd(112, exec_Z3_mk_ext_rotate_left); + in.register_cmd(113, exec_Z3_mk_ext_rotate_right); + in.register_cmd(114, exec_Z3_mk_int2bv); + in.register_cmd(115, exec_Z3_mk_bv2int); + in.register_cmd(116, exec_Z3_mk_bvadd_no_overflow); + in.register_cmd(117, exec_Z3_mk_bvadd_no_underflow); + in.register_cmd(118, exec_Z3_mk_bvsub_no_overflow); + in.register_cmd(119, exec_Z3_mk_bvsub_no_underflow); + in.register_cmd(120, exec_Z3_mk_bvsdiv_no_overflow); + in.register_cmd(121, exec_Z3_mk_bvneg_no_overflow); + in.register_cmd(122, exec_Z3_mk_bvmul_no_overflow); + in.register_cmd(123, exec_Z3_mk_bvmul_no_underflow); + in.register_cmd(124, exec_Z3_mk_select); + in.register_cmd(125, exec_Z3_mk_store); + in.register_cmd(126, exec_Z3_mk_const_array); + in.register_cmd(127, exec_Z3_mk_map); + in.register_cmd(128, exec_Z3_mk_array_default); + in.register_cmd(129, exec_Z3_mk_set_sort); + in.register_cmd(130, exec_Z3_mk_empty_set); + in.register_cmd(131, exec_Z3_mk_full_set); + in.register_cmd(132, exec_Z3_mk_set_add); + in.register_cmd(133, exec_Z3_mk_set_del); + in.register_cmd(134, exec_Z3_mk_set_union); + in.register_cmd(135, exec_Z3_mk_set_intersect); + in.register_cmd(136, exec_Z3_mk_set_difference); + in.register_cmd(137, exec_Z3_mk_set_complement); + in.register_cmd(138, exec_Z3_mk_set_member); + in.register_cmd(139, exec_Z3_mk_set_subset); + in.register_cmd(140, exec_Z3_mk_numeral); + in.register_cmd(141, exec_Z3_mk_real); + in.register_cmd(142, exec_Z3_mk_int); + in.register_cmd(143, exec_Z3_mk_unsigned_int); + in.register_cmd(144, exec_Z3_mk_int64); + in.register_cmd(145, exec_Z3_mk_unsigned_int64); + in.register_cmd(146, exec_Z3_mk_pattern); + in.register_cmd(147, exec_Z3_mk_bound); + in.register_cmd(148, exec_Z3_mk_forall); + in.register_cmd(149, exec_Z3_mk_exists); + in.register_cmd(150, exec_Z3_mk_quantifier); + in.register_cmd(151, exec_Z3_mk_quantifier_ex); + in.register_cmd(152, exec_Z3_mk_forall_const); + in.register_cmd(153, exec_Z3_mk_exists_const); + in.register_cmd(154, exec_Z3_mk_quantifier_const); + in.register_cmd(155, exec_Z3_mk_quantifier_const_ex); + in.register_cmd(156, exec_Z3_get_symbol_kind); + in.register_cmd(157, exec_Z3_get_symbol_int); + in.register_cmd(158, exec_Z3_get_symbol_string); + in.register_cmd(159, exec_Z3_get_sort_name); + in.register_cmd(160, exec_Z3_get_sort_id); + in.register_cmd(161, exec_Z3_sort_to_ast); + in.register_cmd(162, exec_Z3_is_eq_sort); + in.register_cmd(163, exec_Z3_get_sort_kind); + in.register_cmd(164, exec_Z3_get_bv_sort_size); + in.register_cmd(165, exec_Z3_get_finite_domain_sort_size); + in.register_cmd(166, exec_Z3_get_array_sort_domain); + in.register_cmd(167, exec_Z3_get_array_sort_range); + in.register_cmd(168, exec_Z3_get_tuple_sort_mk_decl); + in.register_cmd(169, exec_Z3_get_tuple_sort_num_fields); + in.register_cmd(170, exec_Z3_get_tuple_sort_field_decl); + in.register_cmd(171, exec_Z3_get_datatype_sort_num_constructors); + in.register_cmd(172, exec_Z3_get_datatype_sort_constructor); + in.register_cmd(173, exec_Z3_get_datatype_sort_recognizer); + in.register_cmd(174, exec_Z3_get_datatype_sort_constructor_accessor); + in.register_cmd(175, exec_Z3_get_relation_arity); + in.register_cmd(176, exec_Z3_get_relation_column); + in.register_cmd(177, exec_Z3_func_decl_to_ast); + in.register_cmd(178, exec_Z3_is_eq_func_decl); + in.register_cmd(179, exec_Z3_get_func_decl_id); + in.register_cmd(180, exec_Z3_get_decl_name); + in.register_cmd(181, exec_Z3_get_decl_kind); + in.register_cmd(182, exec_Z3_get_domain_size); + in.register_cmd(183, exec_Z3_get_arity); + in.register_cmd(184, exec_Z3_get_domain); + in.register_cmd(185, exec_Z3_get_range); + in.register_cmd(186, exec_Z3_get_decl_num_parameters); + in.register_cmd(187, exec_Z3_get_decl_parameter_kind); + in.register_cmd(188, exec_Z3_get_decl_int_parameter); + in.register_cmd(189, exec_Z3_get_decl_double_parameter); + in.register_cmd(190, exec_Z3_get_decl_symbol_parameter); + in.register_cmd(191, exec_Z3_get_decl_sort_parameter); + in.register_cmd(192, exec_Z3_get_decl_ast_parameter); + in.register_cmd(193, exec_Z3_get_decl_func_decl_parameter); + in.register_cmd(194, exec_Z3_get_decl_rational_parameter); + in.register_cmd(195, exec_Z3_app_to_ast); + in.register_cmd(196, exec_Z3_get_app_decl); + in.register_cmd(197, exec_Z3_get_app_num_args); + in.register_cmd(198, exec_Z3_get_app_arg); + in.register_cmd(199, exec_Z3_is_eq_ast); + in.register_cmd(200, exec_Z3_get_ast_id); + in.register_cmd(201, exec_Z3_get_ast_hash); + in.register_cmd(202, exec_Z3_get_sort); + in.register_cmd(203, exec_Z3_is_well_sorted); + in.register_cmd(204, exec_Z3_get_bool_value); + in.register_cmd(205, exec_Z3_get_ast_kind); + in.register_cmd(206, exec_Z3_is_app); + in.register_cmd(207, exec_Z3_is_numeral_ast); + in.register_cmd(208, exec_Z3_is_algebraic_number); + in.register_cmd(209, exec_Z3_to_app); + in.register_cmd(210, exec_Z3_to_func_decl); + in.register_cmd(211, exec_Z3_get_numeral_string); + in.register_cmd(212, exec_Z3_get_numeral_decimal_string); + in.register_cmd(213, exec_Z3_get_numerator); + in.register_cmd(214, exec_Z3_get_denominator); + in.register_cmd(215, exec_Z3_get_numeral_small); + in.register_cmd(216, exec_Z3_get_numeral_int); + in.register_cmd(217, exec_Z3_get_numeral_uint); + in.register_cmd(218, exec_Z3_get_numeral_uint64); + in.register_cmd(219, exec_Z3_get_numeral_int64); + in.register_cmd(220, exec_Z3_get_numeral_rational_int64); + in.register_cmd(221, exec_Z3_get_algebraic_number_lower); + in.register_cmd(222, exec_Z3_get_algebraic_number_upper); + in.register_cmd(223, exec_Z3_pattern_to_ast); + in.register_cmd(224, exec_Z3_get_pattern_num_terms); + in.register_cmd(225, exec_Z3_get_pattern); + in.register_cmd(226, exec_Z3_get_index_value); + in.register_cmd(227, exec_Z3_is_quantifier_forall); + in.register_cmd(228, exec_Z3_get_quantifier_weight); + in.register_cmd(229, exec_Z3_get_quantifier_num_patterns); + in.register_cmd(230, exec_Z3_get_quantifier_pattern_ast); + in.register_cmd(231, exec_Z3_get_quantifier_num_no_patterns); + in.register_cmd(232, exec_Z3_get_quantifier_no_pattern_ast); + in.register_cmd(233, exec_Z3_get_quantifier_num_bound); + in.register_cmd(234, exec_Z3_get_quantifier_bound_name); + in.register_cmd(235, exec_Z3_get_quantifier_bound_sort); + in.register_cmd(236, exec_Z3_get_quantifier_body); + in.register_cmd(237, exec_Z3_simplify); + in.register_cmd(238, exec_Z3_simplify_ex); + in.register_cmd(239, exec_Z3_simplify_get_help); + in.register_cmd(240, exec_Z3_simplify_get_param_descrs); + in.register_cmd(241, exec_Z3_update_term); + in.register_cmd(242, exec_Z3_substitute); + in.register_cmd(243, exec_Z3_substitute_vars); + in.register_cmd(244, exec_Z3_translate); + in.register_cmd(245, exec_Z3_model_inc_ref); + in.register_cmd(246, exec_Z3_model_dec_ref); + in.register_cmd(247, exec_Z3_model_eval); + in.register_cmd(248, exec_Z3_model_get_const_interp); + in.register_cmd(249, exec_Z3_model_get_func_interp); + in.register_cmd(250, exec_Z3_model_get_num_consts); + in.register_cmd(251, exec_Z3_model_get_const_decl); + in.register_cmd(252, exec_Z3_model_get_num_funcs); + in.register_cmd(253, exec_Z3_model_get_func_decl); + in.register_cmd(254, exec_Z3_model_get_num_sorts); + in.register_cmd(255, exec_Z3_model_get_sort); + in.register_cmd(256, exec_Z3_model_get_sort_universe); + in.register_cmd(257, exec_Z3_is_as_array); + in.register_cmd(258, exec_Z3_get_as_array_func_decl); + in.register_cmd(259, exec_Z3_func_interp_inc_ref); + in.register_cmd(260, exec_Z3_func_interp_dec_ref); + in.register_cmd(261, exec_Z3_func_interp_get_num_entries); + in.register_cmd(262, exec_Z3_func_interp_get_entry); + in.register_cmd(263, exec_Z3_func_interp_get_else); + in.register_cmd(264, exec_Z3_func_interp_get_arity); + in.register_cmd(265, exec_Z3_func_entry_inc_ref); + in.register_cmd(266, exec_Z3_func_entry_dec_ref); + in.register_cmd(267, exec_Z3_func_entry_get_value); + in.register_cmd(268, exec_Z3_func_entry_get_num_args); + in.register_cmd(269, exec_Z3_func_entry_get_arg); + in.register_cmd(270, exec_Z3_toggle_warning_messages); + in.register_cmd(271, exec_Z3_set_ast_print_mode); + in.register_cmd(272, exec_Z3_ast_to_string); + in.register_cmd(273, exec_Z3_pattern_to_string); + in.register_cmd(274, exec_Z3_sort_to_string); + in.register_cmd(275, exec_Z3_func_decl_to_string); + in.register_cmd(276, exec_Z3_model_to_string); + in.register_cmd(277, exec_Z3_benchmark_to_smtlib_string); + in.register_cmd(278, exec_Z3_parse_smtlib2_string); + in.register_cmd(279, exec_Z3_parse_smtlib2_file); + in.register_cmd(280, exec_Z3_parse_smtlib_string); + in.register_cmd(281, exec_Z3_parse_smtlib_file); + in.register_cmd(282, exec_Z3_get_smtlib_num_formulas); + in.register_cmd(283, exec_Z3_get_smtlib_formula); + in.register_cmd(284, exec_Z3_get_smtlib_num_assumptions); + in.register_cmd(285, exec_Z3_get_smtlib_assumption); + in.register_cmd(286, exec_Z3_get_smtlib_num_decls); + in.register_cmd(287, exec_Z3_get_smtlib_decl); + in.register_cmd(288, exec_Z3_get_smtlib_num_sorts); + in.register_cmd(289, exec_Z3_get_smtlib_sort); + in.register_cmd(290, exec_Z3_get_smtlib_error); + in.register_cmd(291, exec_Z3_parse_z3_string); + in.register_cmd(292, exec_Z3_parse_z3_file); + in.register_cmd(293, exec_Z3_get_error_code); + in.register_cmd(294, exec_Z3_set_error); + in.register_cmd(295, exec_Z3_get_error_msg); + in.register_cmd(296, exec_Z3_get_error_msg_ex); + in.register_cmd(297, exec_Z3_get_version); + in.register_cmd(298, exec_Z3_reset_memory); + in.register_cmd(299, exec_Z3_mk_fixedpoint); + in.register_cmd(300, exec_Z3_fixedpoint_inc_ref); + in.register_cmd(301, exec_Z3_fixedpoint_dec_ref); + in.register_cmd(302, exec_Z3_fixedpoint_add_rule); + in.register_cmd(303, exec_Z3_fixedpoint_add_fact); + in.register_cmd(304, exec_Z3_fixedpoint_assert); + in.register_cmd(305, exec_Z3_fixedpoint_query); + in.register_cmd(306, exec_Z3_fixedpoint_query_relations); + in.register_cmd(307, exec_Z3_fixedpoint_get_answer); + in.register_cmd(308, exec_Z3_fixedpoint_get_reason_unknown); + in.register_cmd(309, exec_Z3_fixedpoint_update_rule); + in.register_cmd(310, exec_Z3_fixedpoint_get_num_levels); + in.register_cmd(311, exec_Z3_fixedpoint_get_cover_delta); + in.register_cmd(312, exec_Z3_fixedpoint_add_cover); + in.register_cmd(313, exec_Z3_fixedpoint_get_statistics); + in.register_cmd(314, exec_Z3_fixedpoint_register_relation); + in.register_cmd(315, exec_Z3_fixedpoint_set_predicate_representation); + in.register_cmd(316, exec_Z3_fixedpoint_simplify_rules); + in.register_cmd(317, exec_Z3_fixedpoint_set_params); + in.register_cmd(318, exec_Z3_fixedpoint_get_help); + in.register_cmd(319, exec_Z3_fixedpoint_get_param_descrs); + in.register_cmd(320, exec_Z3_fixedpoint_to_string); + in.register_cmd(321, exec_Z3_fixedpoint_push); + in.register_cmd(322, exec_Z3_fixedpoint_pop); + in.register_cmd(323, exec_Z3_mk_ast_vector); + in.register_cmd(324, exec_Z3_ast_vector_inc_ref); + in.register_cmd(325, exec_Z3_ast_vector_dec_ref); + in.register_cmd(326, exec_Z3_ast_vector_size); + in.register_cmd(327, exec_Z3_ast_vector_get); + in.register_cmd(328, exec_Z3_ast_vector_set); + in.register_cmd(329, exec_Z3_ast_vector_resize); + in.register_cmd(330, exec_Z3_ast_vector_push); + in.register_cmd(331, exec_Z3_ast_vector_translate); + in.register_cmd(332, exec_Z3_ast_vector_to_string); + in.register_cmd(333, exec_Z3_mk_ast_map); + in.register_cmd(334, exec_Z3_ast_map_inc_ref); + in.register_cmd(335, exec_Z3_ast_map_dec_ref); + in.register_cmd(336, exec_Z3_ast_map_contains); + in.register_cmd(337, exec_Z3_ast_map_find); + in.register_cmd(338, exec_Z3_ast_map_insert); + in.register_cmd(339, exec_Z3_ast_map_erase); + in.register_cmd(340, exec_Z3_ast_map_reset); + in.register_cmd(341, exec_Z3_ast_map_size); + in.register_cmd(342, exec_Z3_ast_map_keys); + in.register_cmd(343, exec_Z3_ast_map_to_string); + in.register_cmd(344, exec_Z3_mk_goal); + in.register_cmd(345, exec_Z3_goal_inc_ref); + in.register_cmd(346, exec_Z3_goal_dec_ref); + in.register_cmd(347, exec_Z3_goal_precision); + in.register_cmd(348, exec_Z3_goal_assert); + in.register_cmd(349, exec_Z3_goal_inconsistent); + in.register_cmd(350, exec_Z3_goal_depth); + in.register_cmd(351, exec_Z3_goal_reset); + in.register_cmd(352, exec_Z3_goal_size); + in.register_cmd(353, exec_Z3_goal_formula); + in.register_cmd(354, exec_Z3_goal_num_exprs); + in.register_cmd(355, exec_Z3_goal_is_decided_sat); + in.register_cmd(356, exec_Z3_goal_is_decided_unsat); + in.register_cmd(357, exec_Z3_goal_translate); + in.register_cmd(358, exec_Z3_goal_to_string); + in.register_cmd(359, exec_Z3_mk_tactic); + in.register_cmd(360, exec_Z3_tactic_inc_ref); + in.register_cmd(361, exec_Z3_tactic_dec_ref); + in.register_cmd(362, exec_Z3_mk_probe); + in.register_cmd(363, exec_Z3_probe_inc_ref); + in.register_cmd(364, exec_Z3_probe_dec_ref); + in.register_cmd(365, exec_Z3_tactic_and_then); + in.register_cmd(366, exec_Z3_tactic_or_else); + in.register_cmd(367, exec_Z3_tactic_par_or); + in.register_cmd(368, exec_Z3_tactic_par_and_then); + in.register_cmd(369, exec_Z3_tactic_try_for); + in.register_cmd(370, exec_Z3_tactic_when); + in.register_cmd(371, exec_Z3_tactic_cond); + in.register_cmd(372, exec_Z3_tactic_repeat); + in.register_cmd(373, exec_Z3_tactic_skip); + in.register_cmd(374, exec_Z3_tactic_fail); + in.register_cmd(375, exec_Z3_tactic_fail_if); + in.register_cmd(376, exec_Z3_tactic_fail_if_not_decided); + in.register_cmd(377, exec_Z3_tactic_using_params); + in.register_cmd(378, exec_Z3_probe_const); + in.register_cmd(379, exec_Z3_probe_lt); + in.register_cmd(380, exec_Z3_probe_gt); + in.register_cmd(381, exec_Z3_probe_le); + in.register_cmd(382, exec_Z3_probe_ge); + in.register_cmd(383, exec_Z3_probe_eq); + in.register_cmd(384, exec_Z3_probe_and); + in.register_cmd(385, exec_Z3_probe_or); + in.register_cmd(386, exec_Z3_probe_not); + in.register_cmd(387, exec_Z3_get_num_tactics); + in.register_cmd(388, exec_Z3_get_tactic_name); + in.register_cmd(389, exec_Z3_get_num_probes); + in.register_cmd(390, exec_Z3_get_probe_name); + in.register_cmd(391, exec_Z3_tactic_get_help); + in.register_cmd(392, exec_Z3_tactic_get_param_descrs); + in.register_cmd(393, exec_Z3_tactic_get_descr); + in.register_cmd(394, exec_Z3_probe_get_descr); + in.register_cmd(395, exec_Z3_probe_apply); + in.register_cmd(396, exec_Z3_tactic_apply); + in.register_cmd(397, exec_Z3_tactic_apply_ex); + in.register_cmd(398, exec_Z3_apply_result_inc_ref); + in.register_cmd(399, exec_Z3_apply_result_dec_ref); + in.register_cmd(400, exec_Z3_apply_result_to_string); + in.register_cmd(401, exec_Z3_apply_result_get_num_subgoals); + in.register_cmd(402, exec_Z3_apply_result_get_subgoal); + in.register_cmd(403, exec_Z3_apply_result_convert_model); + in.register_cmd(404, exec_Z3_mk_solver); + in.register_cmd(405, exec_Z3_mk_simple_solver); + in.register_cmd(406, exec_Z3_mk_solver_for_logic); + in.register_cmd(407, exec_Z3_mk_solver_from_tactic); + in.register_cmd(408, exec_Z3_solver_get_help); + in.register_cmd(409, exec_Z3_solver_get_param_descrs); + in.register_cmd(410, exec_Z3_solver_set_params); + in.register_cmd(411, exec_Z3_solver_inc_ref); + in.register_cmd(412, exec_Z3_solver_dec_ref); + in.register_cmd(413, exec_Z3_solver_push); + in.register_cmd(414, exec_Z3_solver_pop); + in.register_cmd(415, exec_Z3_solver_reset); + in.register_cmd(416, exec_Z3_solver_get_num_scopes); + in.register_cmd(417, exec_Z3_solver_assert); + in.register_cmd(418, exec_Z3_solver_get_assertions); + in.register_cmd(419, exec_Z3_solver_check); + in.register_cmd(420, exec_Z3_solver_check_assumptions); + in.register_cmd(421, exec_Z3_solver_get_model); + in.register_cmd(422, exec_Z3_solver_get_proof); + in.register_cmd(423, exec_Z3_solver_get_unsat_core); + in.register_cmd(424, exec_Z3_solver_get_reason_unknown); + in.register_cmd(425, exec_Z3_solver_get_statistics); + in.register_cmd(426, exec_Z3_solver_to_string); + in.register_cmd(427, exec_Z3_stats_to_string); + in.register_cmd(428, exec_Z3_stats_inc_ref); + in.register_cmd(429, exec_Z3_stats_dec_ref); + in.register_cmd(430, exec_Z3_stats_size); + in.register_cmd(431, exec_Z3_stats_get_key); + in.register_cmd(432, exec_Z3_stats_is_uint); + in.register_cmd(433, exec_Z3_stats_is_double); + in.register_cmd(434, exec_Z3_stats_get_uint_value); + in.register_cmd(435, exec_Z3_stats_get_double_value); + in.register_cmd(436, exec_Z3_mk_injective_function); + in.register_cmd(437, exec_Z3_set_logic); + in.register_cmd(438, exec_Z3_push); + in.register_cmd(439, exec_Z3_pop); + in.register_cmd(440, exec_Z3_get_num_scopes); + in.register_cmd(441, exec_Z3_persist_ast); + in.register_cmd(442, exec_Z3_assert_cnstr); + in.register_cmd(443, exec_Z3_check_and_get_model); + in.register_cmd(444, exec_Z3_check); + in.register_cmd(445, exec_Z3_check_assumptions); + in.register_cmd(446, exec_Z3_get_implied_equalities); + in.register_cmd(447, exec_Z3_del_model); + in.register_cmd(448, exec_Z3_soft_check_cancel); + in.register_cmd(449, exec_Z3_get_search_failure); + in.register_cmd(450, exec_Z3_mk_label); + in.register_cmd(451, exec_Z3_get_relevant_labels); + in.register_cmd(452, exec_Z3_get_relevant_literals); + in.register_cmd(453, exec_Z3_get_guessed_literals); + in.register_cmd(454, exec_Z3_del_literals); + in.register_cmd(455, exec_Z3_get_num_literals); + in.register_cmd(456, exec_Z3_get_label_symbol); + in.register_cmd(457, exec_Z3_get_literal); + in.register_cmd(458, exec_Z3_disable_literal); + in.register_cmd(459, exec_Z3_block_literals); + in.register_cmd(460, exec_Z3_get_model_num_constants); + in.register_cmd(461, exec_Z3_get_model_constant); + in.register_cmd(462, exec_Z3_get_model_num_funcs); + in.register_cmd(463, exec_Z3_get_model_func_decl); + in.register_cmd(464, exec_Z3_eval_func_decl); + in.register_cmd(465, exec_Z3_is_array_value); + in.register_cmd(466, exec_Z3_get_array_value); + in.register_cmd(467, exec_Z3_get_model_func_else); + in.register_cmd(468, exec_Z3_get_model_func_num_entries); + in.register_cmd(469, exec_Z3_get_model_func_entry_num_args); + in.register_cmd(470, exec_Z3_get_model_func_entry_arg); + in.register_cmd(471, exec_Z3_get_model_func_entry_value); + in.register_cmd(472, exec_Z3_eval); + in.register_cmd(473, exec_Z3_eval_decl); + in.register_cmd(474, exec_Z3_context_to_string); + in.register_cmd(475, exec_Z3_statistics_to_string); + in.register_cmd(476, exec_Z3_get_context_assignment); +} diff --git a/lib/api_log_macros.cpp b/lib/api_log_macros.cpp index 997978725..152b8dd05 100644 --- a/lib/api_log_macros.cpp +++ b/lib/api_log_macros.cpp @@ -1,3317 +1,3317 @@ -// Automatically generated file, generator: api.py -#include -#include"z3.h" -#include"api_log_macros.h" -#include"z3_logger.h" -void log_Z3_mk_config() { - R(); - C(0); -} -void log_Z3_del_config(Z3_config a0) { - R(); - P(a0); - C(1); -} -void log_Z3_set_param_value(Z3_config a0, Z3_string a1, Z3_string a2) { - R(); - P(a0); - S(a1); - S(a2); - C(2); -} -void log_Z3_mk_context(Z3_config a0) { - R(); - P(a0); - C(3); -} -void log_Z3_mk_context_rc(Z3_config a0) { - R(); - P(a0); - C(4); -} -void log_Z3_set_logic(Z3_context a0, Z3_string a1) { - R(); - P(a0); - S(a1); - C(5); -} -void log_Z3_del_context(Z3_context a0) { - R(); - P(a0); - C(6); -} -void log_Z3_inc_ref(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(7); -} -void log_Z3_dec_ref(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(8); -} -void log_Z3_toggle_warning_messages(Z3_bool a0) { - R(); - I(a0); - C(9); -} -void log_Z3_update_param_value(Z3_context a0, Z3_string a1, Z3_string a2) { - R(); - P(a0); - S(a1); - S(a2); - C(10); -} -void log_Z3_get_param_value(Z3_context a0, Z3_string a1, Z3_string* a2) { - R(); - P(a0); - S(a1); - S(""); - C(11); -} -void log_Z3_mk_int_symbol(Z3_context a0, int a1) { - R(); - P(a0); - I(a1); - C(12); -} -void log_Z3_mk_string_symbol(Z3_context a0, Z3_string a1) { - R(); - P(a0); - S(a1); - C(13); -} -void log_Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2) { - R(); - P(a0); - P(a1); - P(a2); - C(14); -} -void log_Z3_mk_uninterpreted_sort(Z3_context a0, Z3_symbol a1) { - R(); - P(a0); - Sy(a1); - C(15); -} -void log_Z3_mk_bool_sort(Z3_context a0) { - R(); - P(a0); - C(16); -} -void log_Z3_mk_int_sort(Z3_context a0) { - R(); - P(a0); - C(17); -} -void log_Z3_mk_real_sort(Z3_context a0) { - R(); - P(a0); - C(18); -} -void log_Z3_mk_bv_sort(Z3_context a0, unsigned a1) { - R(); - P(a0); - U(a1); - C(19); -} -void log_Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2) { - R(); - P(a0); - P(a1); - P(a2); - C(20); -} -void log_Z3_mk_tuple_sort(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, Z3_func_decl* a5, Z3_func_decl* a6) { - R(); - P(a0); - Sy(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { Sy(a3[i]); } - Asy(a2); - for (unsigned i = 0; i < a2; i++) { P(a4[i]); } - Ap(a2); - P(0); - for (unsigned i = 0; i < a2; i++) { P(0); } - Ap(a2); - C(21); -} -void log_Z3_mk_enumeration_sort(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_symbol const * a3, Z3_func_decl* a4, Z3_func_decl* a5) { - R(); - P(a0); - Sy(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { Sy(a3[i]); } - Asy(a2); - for (unsigned i = 0; i < a2; i++) { P(0); } - Ap(a2); - for (unsigned i = 0; i < a2; i++) { P(0); } - Ap(a2); - C(22); -} -void log_Z3_mk_list_sort(Z3_context a0, Z3_symbol a1, Z3_sort a2, Z3_func_decl* a3, Z3_func_decl* a4, Z3_func_decl* a5, Z3_func_decl* a6, Z3_func_decl* a7, Z3_func_decl* a8) { - R(); - P(a0); - Sy(a1); - P(a2); - P(0); - P(0); - P(0); - P(0); - P(0); - P(0); - C(23); -} -void log_Z3_mk_constructor(Z3_context a0, Z3_symbol a1, Z3_symbol a2, unsigned a3, Z3_symbol const * a4, Z3_sort const * a5, unsigned const * a6) { - R(); - P(a0); - Sy(a1); - Sy(a2); - U(a3); - for (unsigned i = 0; i < a3; i++) { Sy(a4[i]); } - Asy(a3); - for (unsigned i = 0; i < a3; i++) { P(a5[i]); } - Ap(a3); - for (unsigned i = 0; i < a3; i++) { U(a6[i]); } - Au(a3); - C(24); -} -void log_Z3_query_constructor(Z3_context a0, Z3_constructor a1, unsigned a2, Z3_func_decl* a3, Z3_func_decl* a4, Z3_func_decl* a5) { - R(); - P(a0); - P(a1); - U(a2); - P(0); - P(0); - for (unsigned i = 0; i < a2; i++) { P(0); } - Ap(a2); - C(25); -} -void log_Z3_del_constructor(Z3_context a0, Z3_constructor a1) { - R(); - P(a0); - P(a1); - C(26); -} -void log_Z3_mk_datatype(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_constructor* a3) { - R(); - P(a0); - Sy(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - C(27); -} -void log_Z3_mk_constructor_list(Z3_context a0, unsigned a1, Z3_constructor const * a2) { - R(); - P(a0); - U(a1); - for (unsigned i = 0; i < a1; i++) { P(a2[i]); } - Ap(a1); - C(28); -} -void log_Z3_del_constructor_list(Z3_context a0, Z3_constructor_list a1) { - R(); - P(a0); - P(a1); - C(29); -} -void log_Z3_mk_datatypes(Z3_context a0, unsigned a1, Z3_symbol const * a2, Z3_sort* a3, Z3_constructor_list* a4) { - R(); - P(a0); - U(a1); - for (unsigned i = 0; i < a1; i++) { Sy(a2[i]); } - Asy(a1); - for (unsigned i = 0; i < a1; i++) { P(0); } - Ap(a1); - for (unsigned i = 0; i < a1; i++) { P(a4[i]); } - Ap(a1); - C(30); -} -void log_Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(31); -} -void log_Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2) { - R(); - P(a0); - P(a1); - P(a2); - C(32); -} -void log_Z3_mk_func_decl(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_sort const * a3, Z3_sort a4) { - R(); - P(a0); - Sy(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - P(a4); - C(33); -} -void log_Z3_mk_app(Z3_context a0, Z3_func_decl a1, unsigned a2, Z3_ast const * a3) { - R(); - P(a0); - P(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - C(34); -} -void log_Z3_mk_const(Z3_context a0, Z3_symbol a1, Z3_sort a2) { - R(); - P(a0); - Sy(a1); - P(a2); - C(35); -} -void log_Z3_mk_label(Z3_context a0, Z3_symbol a1, Z3_bool a2, Z3_ast a3) { - R(); - P(a0); - Sy(a1); - I(a2); - P(a3); - C(36); -} -void log_Z3_mk_fresh_func_decl(Z3_context a0, Z3_string a1, unsigned a2, Z3_sort const * a3, Z3_sort a4) { - R(); - P(a0); - S(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - P(a4); - C(37); -} -void log_Z3_mk_fresh_const(Z3_context a0, Z3_string a1, Z3_sort a2) { - R(); - P(a0); - S(a1); - P(a2); - C(38); -} -void log_Z3_mk_true(Z3_context a0) { - R(); - P(a0); - C(39); -} -void log_Z3_mk_false(Z3_context a0) { - R(); - P(a0); - C(40); -} -void log_Z3_mk_eq(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(41); -} -void log_Z3_mk_distinct(Z3_context a0, unsigned a1, Z3_ast const * a2) { - R(); - P(a0); - U(a1); - for (unsigned i = 0; i < a1; i++) { P(a2[i]); } - Ap(a1); - C(42); -} -void log_Z3_mk_not(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(43); -} -void log_Z3_mk_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) { - R(); - P(a0); - P(a1); - P(a2); - P(a3); - C(44); -} -void log_Z3_mk_iff(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(45); -} -void log_Z3_mk_implies(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(46); -} -void log_Z3_mk_xor(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(47); -} -void log_Z3_mk_and(Z3_context a0, unsigned a1, Z3_ast const * a2) { - R(); - P(a0); - U(a1); - for (unsigned i = 0; i < a1; i++) { P(a2[i]); } - Ap(a1); - C(48); -} -void log_Z3_mk_or(Z3_context a0, unsigned a1, Z3_ast const * a2) { - R(); - P(a0); - U(a1); - for (unsigned i = 0; i < a1; i++) { P(a2[i]); } - Ap(a1); - C(49); -} -void log_Z3_mk_add(Z3_context a0, unsigned a1, Z3_ast const * a2) { - R(); - P(a0); - U(a1); - for (unsigned i = 0; i < a1; i++) { P(a2[i]); } - Ap(a1); - C(50); -} -void log_Z3_mk_mul(Z3_context a0, unsigned a1, Z3_ast const * a2) { - R(); - P(a0); - U(a1); - for (unsigned i = 0; i < a1; i++) { P(a2[i]); } - Ap(a1); - C(51); -} -void log_Z3_mk_sub(Z3_context a0, unsigned a1, Z3_ast const * a2) { - R(); - P(a0); - U(a1); - for (unsigned i = 0; i < a1; i++) { P(a2[i]); } - Ap(a1); - C(52); -} -void log_Z3_mk_unary_minus(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(53); -} -void log_Z3_mk_div(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(54); -} -void log_Z3_mk_mod(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(55); -} -void log_Z3_mk_rem(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(56); -} -void log_Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(57); -} -void log_Z3_is_algebraic_number(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(58); -} -void log_Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(59); -} -void log_Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(60); -} -void log_Z3_mk_lt(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(61); -} -void log_Z3_mk_le(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(62); -} -void log_Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(63); -} -void log_Z3_mk_ge(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(64); -} -void log_Z3_mk_int2real(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(65); -} -void log_Z3_mk_real2int(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(66); -} -void log_Z3_mk_is_int(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(67); -} -void log_Z3_mk_bvnot(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(68); -} -void log_Z3_mk_bvredand(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(69); -} -void log_Z3_mk_bvredor(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(70); -} -void log_Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(71); -} -void log_Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(72); -} -void log_Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(73); -} -void log_Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(74); -} -void log_Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(75); -} -void log_Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(76); -} -void log_Z3_mk_bvneg(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(77); -} -void log_Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(78); -} -void log_Z3_mk_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(79); -} -void log_Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(80); -} -void log_Z3_mk_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(81); -} -void log_Z3_mk_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(82); -} -void log_Z3_mk_bvurem(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(83); -} -void log_Z3_mk_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(84); -} -void log_Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(85); -} -void log_Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(86); -} -void log_Z3_mk_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(87); -} -void log_Z3_mk_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(88); -} -void log_Z3_mk_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(89); -} -void log_Z3_mk_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(90); -} -void log_Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(91); -} -void log_Z3_mk_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(92); -} -void log_Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(93); -} -void log_Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(94); -} -void log_Z3_mk_extract(Z3_context a0, unsigned a1, unsigned a2, Z3_ast a3) { - R(); - P(a0); - U(a1); - U(a2); - P(a3); - C(95); -} -void log_Z3_mk_sign_ext(Z3_context a0, unsigned a1, Z3_ast a2) { - R(); - P(a0); - U(a1); - P(a2); - C(96); -} -void log_Z3_mk_zero_ext(Z3_context a0, unsigned a1, Z3_ast a2) { - R(); - P(a0); - U(a1); - P(a2); - C(97); -} -void log_Z3_mk_repeat(Z3_context a0, unsigned a1, Z3_ast a2) { - R(); - P(a0); - U(a1); - P(a2); - C(98); -} -void log_Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(99); -} -void log_Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(100); -} -void log_Z3_mk_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(101); -} -void log_Z3_mk_rotate_left(Z3_context a0, unsigned a1, Z3_ast a2) { - R(); - P(a0); - U(a1); - P(a2); - C(102); -} -void log_Z3_mk_rotate_right(Z3_context a0, unsigned a1, Z3_ast a2) { - R(); - P(a0); - U(a1); - P(a2); - C(103); -} -void log_Z3_mk_ext_rotate_left(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(104); -} -void log_Z3_mk_ext_rotate_right(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(105); -} -void log_Z3_mk_int2bv(Z3_context a0, unsigned a1, Z3_ast a2) { - R(); - P(a0); - U(a1); - P(a2); - C(106); -} -void log_Z3_mk_bv2int(Z3_context a0, Z3_ast a1, Z3_bool a2) { - R(); - P(a0); - P(a1); - I(a2); - C(107); -} -void log_Z3_mk_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_bool a3) { - R(); - P(a0); - P(a1); - P(a2); - I(a3); - C(108); -} -void log_Z3_mk_bvadd_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(109); -} -void log_Z3_mk_bvsub_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(110); -} -void log_Z3_mk_bvsub_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_bool a3) { - R(); - P(a0); - P(a1); - P(a2); - I(a3); - C(111); -} -void log_Z3_mk_bvsdiv_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(112); -} -void log_Z3_mk_bvneg_no_overflow(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(113); -} -void log_Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_bool a3) { - R(); - P(a0); - P(a1); - P(a2); - I(a3); - C(114); -} -void log_Z3_mk_bvmul_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(115); -} -void log_Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(116); -} -void log_Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) { - R(); - P(a0); - P(a1); - P(a2); - P(a3); - C(117); -} -void log_Z3_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(118); -} -void log_Z3_mk_map(Z3_context a0, Z3_func_decl a1, unsigned a2, Z3_ast const * a3) { - R(); - P(a0); - P(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - C(119); -} -void log_Z3_mk_array_default(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(120); -} -void log_Z3_mk_set_sort(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(121); -} -void log_Z3_mk_empty_set(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(122); -} -void log_Z3_mk_full_set(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(123); -} -void log_Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(124); -} -void log_Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(125); -} -void log_Z3_mk_set_union(Z3_context a0, unsigned a1, Z3_ast const * a2) { - R(); - P(a0); - U(a1); - for (unsigned i = 0; i < a1; i++) { P(a2[i]); } - Ap(a1); - C(126); -} -void log_Z3_mk_set_intersect(Z3_context a0, unsigned a1, Z3_ast const * a2) { - R(); - P(a0); - U(a1); - for (unsigned i = 0; i < a1; i++) { P(a2[i]); } - Ap(a1); - C(127); -} -void log_Z3_mk_set_difference(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(128); -} -void log_Z3_mk_set_complement(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(129); -} -void log_Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(130); -} -void log_Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(131); -} -void log_Z3_mk_numeral(Z3_context a0, Z3_string a1, Z3_sort a2) { - R(); - P(a0); - S(a1); - P(a2); - C(132); -} -void log_Z3_mk_real(Z3_context a0, int a1, int a2) { - R(); - P(a0); - I(a1); - I(a2); - C(133); -} -void log_Z3_mk_int(Z3_context a0, int a1, Z3_sort a2) { - R(); - P(a0); - I(a1); - P(a2); - C(134); -} -void log_Z3_mk_unsigned_int(Z3_context a0, unsigned a1, Z3_sort a2) { - R(); - P(a0); - U(a1); - P(a2); - C(135); -} -void log_Z3_mk_int64(Z3_context a0, __int64 a1, Z3_sort a2) { - R(); - P(a0); - I(a1); - P(a2); - C(136); -} -void log_Z3_mk_unsigned_int64(Z3_context a0, __uint64 a1, Z3_sort a2) { - R(); - P(a0); - U(a1); - P(a2); - C(137); -} -void log_Z3_mk_pattern(Z3_context a0, unsigned a1, Z3_ast const * a2) { - R(); - P(a0); - U(a1); - for (unsigned i = 0; i < a1; i++) { P(a2[i]); } - Ap(a1); - C(138); -} -void log_Z3_mk_bound(Z3_context a0, unsigned a1, Z3_sort a2) { - R(); - P(a0); - U(a1); - P(a2); - C(139); -} -void log_Z3_mk_forall(Z3_context a0, unsigned a1, unsigned a2, Z3_pattern const * a3, unsigned a4, Z3_sort const * a5, Z3_symbol const * a6, Z3_ast a7) { - R(); - P(a0); - U(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - U(a4); - for (unsigned i = 0; i < a4; i++) { P(a5[i]); } - Ap(a4); - for (unsigned i = 0; i < a4; i++) { Sy(a6[i]); } - Asy(a4); - P(a7); - C(140); -} -void log_Z3_mk_exists(Z3_context a0, unsigned a1, unsigned a2, Z3_pattern const * a3, unsigned a4, Z3_sort const * a5, Z3_symbol const * a6, Z3_ast a7) { - R(); - P(a0); - U(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - U(a4); - for (unsigned i = 0; i < a4; i++) { P(a5[i]); } - Ap(a4); - for (unsigned i = 0; i < a4; i++) { Sy(a6[i]); } - Asy(a4); - P(a7); - C(141); -} -void log_Z3_mk_quantifier(Z3_context a0, Z3_bool a1, unsigned a2, unsigned a3, Z3_pattern const * a4, unsigned a5, Z3_sort const * a6, Z3_symbol const * a7, Z3_ast a8) { - R(); - P(a0); - I(a1); - U(a2); - U(a3); - for (unsigned i = 0; i < a3; i++) { P(a4[i]); } - Ap(a3); - U(a5); - for (unsigned i = 0; i < a5; i++) { P(a6[i]); } - Ap(a5); - for (unsigned i = 0; i < a5; i++) { Sy(a7[i]); } - Asy(a5); - P(a8); - C(142); -} -void log_Z3_mk_quantifier_ex(Z3_context a0, Z3_bool a1, unsigned a2, Z3_symbol a3, Z3_symbol a4, unsigned a5, Z3_pattern const * a6, unsigned a7, Z3_ast const * a8, unsigned a9, Z3_sort const * a10, Z3_symbol const * a11, Z3_ast a12) { - R(); - P(a0); - I(a1); - U(a2); - Sy(a3); - Sy(a4); - U(a5); - for (unsigned i = 0; i < a5; i++) { P(a6[i]); } - Ap(a5); - U(a7); - for (unsigned i = 0; i < a7; i++) { P(a8[i]); } - Ap(a7); - U(a9); - for (unsigned i = 0; i < a9; i++) { P(a10[i]); } - Ap(a9); - for (unsigned i = 0; i < a9; i++) { Sy(a11[i]); } - Asy(a9); - P(a12); - C(143); -} -void log_Z3_mk_forall_const(Z3_context a0, unsigned a1, unsigned a2, Z3_app const * a3, unsigned a4, Z3_pattern const * a5, Z3_ast a6) { - R(); - P(a0); - U(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - U(a4); - for (unsigned i = 0; i < a4; i++) { P(a5[i]); } - Ap(a4); - P(a6); - C(144); -} -void log_Z3_mk_exists_const(Z3_context a0, unsigned a1, unsigned a2, Z3_app const * a3, unsigned a4, Z3_pattern const * a5, Z3_ast a6) { - R(); - P(a0); - U(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - U(a4); - for (unsigned i = 0; i < a4; i++) { P(a5[i]); } - Ap(a4); - P(a6); - C(145); -} -void log_Z3_mk_quantifier_const(Z3_context a0, Z3_bool a1, unsigned a2, unsigned a3, Z3_app const * a4, unsigned a5, Z3_pattern const * a6, Z3_ast a7) { - R(); - P(a0); - I(a1); - U(a2); - U(a3); - for (unsigned i = 0; i < a3; i++) { P(a4[i]); } - Ap(a3); - U(a5); - for (unsigned i = 0; i < a5; i++) { P(a6[i]); } - Ap(a5); - P(a7); - C(146); -} -void log_Z3_mk_quantifier_const_ex(Z3_context a0, Z3_bool a1, unsigned a2, Z3_symbol a3, Z3_symbol a4, unsigned a5, Z3_app const * a6, unsigned a7, Z3_pattern const * a8, unsigned a9, Z3_ast const * a10, Z3_ast a11) { - R(); - P(a0); - I(a1); - U(a2); - Sy(a3); - Sy(a4); - U(a5); - for (unsigned i = 0; i < a5; i++) { P(a6[i]); } - Ap(a5); - U(a7); - for (unsigned i = 0; i < a7; i++) { P(a8[i]); } - Ap(a7); - U(a9); - for (unsigned i = 0; i < a9; i++) { P(a10[i]); } - Ap(a9); - P(a11); - C(147); -} -void log_Z3_get_ast_id(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(148); -} -void log_Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1) { - R(); - P(a0); - P(a1); - C(149); -} -void log_Z3_get_sort_id(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(150); -} -void log_Z3_is_well_sorted(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(151); -} -void log_Z3_get_symbol_kind(Z3_context a0, Z3_symbol a1) { - R(); - P(a0); - Sy(a1); - C(152); -} -void log_Z3_get_symbol_int(Z3_context a0, Z3_symbol a1) { - R(); - P(a0); - Sy(a1); - C(153); -} -void log_Z3_get_symbol_string(Z3_context a0, Z3_symbol a1) { - R(); - P(a0); - Sy(a1); - C(154); -} -void log_Z3_get_ast_kind(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(155); -} -void log_Z3_get_ast_hash(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(156); -} -void log_Z3_get_numeral_string(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(157); -} -void log_Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(158); -} -void log_Z3_get_numerator(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(159); -} -void log_Z3_get_denominator(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(160); -} -void log_Z3_get_numeral_small(Z3_context a0, Z3_ast a1, __int64* a2, __int64* a3) { - R(); - P(a0); - P(a1); - I(0); - I(0); - C(161); -} -void log_Z3_get_numeral_int(Z3_context a0, Z3_ast a1, int* a2) { - R(); - P(a0); - P(a1); - I(0); - C(162); -} -void log_Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, unsigned* a2) { - R(); - P(a0); - P(a1); - U(0); - C(163); -} -void log_Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, __uint64* a2) { - R(); - P(a0); - P(a1); - U(0); - C(164); -} -void log_Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, __int64* a2) { - R(); - P(a0); - P(a1); - I(0); - C(165); -} -void log_Z3_get_numeral_rational_int64(Z3_context a0, Z3_ast a1, __int64* a2, __int64* a3) { - R(); - P(a0); - P(a1); - I(0); - I(0); - C(166); -} -void log_Z3_get_bool_value(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(167); -} -void log_Z3_get_app_decl(Z3_context a0, Z3_app a1) { - R(); - P(a0); - P(a1); - C(168); -} -void log_Z3_get_app_num_args(Z3_context a0, Z3_app a1) { - R(); - P(a0); - P(a1); - C(169); -} -void log_Z3_get_app_arg(Z3_context a0, Z3_app a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(170); -} -void log_Z3_get_index_value(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(171); -} -void log_Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(172); -} -void log_Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(173); -} -void log_Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(174); -} -void log_Z3_get_quantifier_pattern_ast(Z3_context a0, Z3_ast a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(175); -} -void log_Z3_get_quantifier_num_no_patterns(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(176); -} -void log_Z3_get_quantifier_no_pattern_ast(Z3_context a0, Z3_ast a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(177); -} -void log_Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(178); -} -void log_Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(179); -} -void log_Z3_get_quantifier_body(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(180); -} -void log_Z3_get_quantifier_num_bound(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(181); -} -void log_Z3_get_decl_name(Z3_context a0, Z3_func_decl a1) { - R(); - P(a0); - P(a1); - C(182); -} -void log_Z3_get_decl_num_parameters(Z3_context a0, Z3_func_decl a1) { - R(); - P(a0); - P(a1); - C(183); -} -void log_Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(184); -} -void log_Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(185); -} -void log_Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(186); -} -void log_Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(187); -} -void log_Z3_get_decl_sort_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(188); -} -void log_Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(189); -} -void log_Z3_get_decl_func_decl_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(190); -} -void log_Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(191); -} -void log_Z3_get_sort_name(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(192); -} -void log_Z3_get_sort(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(193); -} -void log_Z3_get_domain_size(Z3_context a0, Z3_func_decl a1) { - R(); - P(a0); - P(a1); - C(194); -} -void log_Z3_get_domain(Z3_context a0, Z3_func_decl a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(195); -} -void log_Z3_get_range(Z3_context a0, Z3_func_decl a1) { - R(); - P(a0); - P(a1); - C(196); -} -void log_Z3_get_sort_kind(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(197); -} -void log_Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(198); -} -void log_Z3_get_array_sort_domain(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(199); -} -void log_Z3_get_array_sort_range(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(200); -} -void log_Z3_get_tuple_sort_mk_decl(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(201); -} -void log_Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1) { - R(); - P(a0); - P(a1); - C(202); -} -void log_Z3_get_tuple_sort_num_fields(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(203); -} -void log_Z3_get_tuple_sort_field_decl(Z3_context a0, Z3_sort a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(204); -} -void log_Z3_get_datatype_sort_num_constructors(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(205); -} -void log_Z3_get_datatype_sort_constructor(Z3_context a0, Z3_sort a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(206); -} -void log_Z3_get_datatype_sort_recognizer(Z3_context a0, Z3_sort a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(207); -} -void log_Z3_get_datatype_sort_constructor_accessor(Z3_context a0, Z3_sort a1, unsigned a2, unsigned a3) { - R(); - P(a0); - P(a1); - U(a2); - U(a3); - C(208); -} -void log_Z3_get_relation_arity(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(209); -} -void log_Z3_get_relation_column(Z3_context a0, Z3_sort a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(210); -} -void log_Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, __uint64* a2) { - R(); - P(a0); - P(a1); - U(0); - C(211); -} -void log_Z3_mk_finite_domain_sort(Z3_context a0, Z3_symbol a1, __uint64 a2) { - R(); - P(a0); - Sy(a1); - U(a2); - C(212); -} -void log_Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1) { - R(); - P(a0); - P(a1); - C(213); -} -void log_Z3_get_pattern(Z3_context a0, Z3_pattern a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(214); -} -void log_Z3_simplify(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(215); -} -void log_Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2) { - R(); - P(a0); - P(a1); - P(a2); - C(216); -} -void log_Z3_simplify_get_help(Z3_context a0) { - R(); - P(a0); - C(217); -} -void log_Z3_simplify_get_param_descrs(Z3_context a0) { - R(); - P(a0); - C(218); -} -void log_Z3_update_term(Z3_context a0, Z3_ast a1, unsigned a2, Z3_ast const * a3) { - R(); - P(a0); - P(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - C(219); -} -void log_Z3_substitute(Z3_context a0, Z3_ast a1, unsigned a2, Z3_ast const * a3, Z3_ast const * a4) { - R(); - P(a0); - P(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - for (unsigned i = 0; i < a2; i++) { P(a4[i]); } - Ap(a2); - C(220); -} -void log_Z3_substitute_vars(Z3_context a0, Z3_ast a1, unsigned a2, Z3_ast const * a3) { - R(); - P(a0); - P(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - C(221); -} -void log_Z3_sort_to_ast(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(222); -} -void log_Z3_func_decl_to_ast(Z3_context a0, Z3_func_decl a1) { - R(); - P(a0); - P(a1); - C(223); -} -void log_Z3_pattern_to_ast(Z3_context a0, Z3_pattern a1) { - R(); - P(a0); - P(a1); - C(224); -} -void log_Z3_app_to_ast(Z3_context a0, Z3_app a1) { - R(); - P(a0); - P(a1); - C(225); -} -void log_Z3_to_app(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(226); -} -void log_Z3_to_func_decl(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(227); -} -void log_Z3_push(Z3_context a0) { - R(); - P(a0); - C(228); -} -void log_Z3_pop(Z3_context a0, unsigned a1) { - R(); - P(a0); - U(a1); - C(229); -} -void log_Z3_get_num_scopes(Z3_context a0) { - R(); - P(a0); - C(230); -} -void log_Z3_persist_ast(Z3_context a0, Z3_ast a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(231); -} -void log_Z3_assert_cnstr(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(232); -} -void log_Z3_check_and_get_model(Z3_context a0, Z3_model* a1) { - R(); - P(a0); - P(0); - C(233); -} -void log_Z3_check(Z3_context a0) { - R(); - P(a0); - C(234); -} -void log_Z3_check_assumptions(Z3_context a0, unsigned a1, Z3_ast const * a2, Z3_model* a3, Z3_ast* a4, unsigned* a5, Z3_ast* a6) { - R(); - P(a0); - U(a1); - for (unsigned i = 0; i < a1; i++) { P(a2[i]); } - Ap(a1); - P(0); - P(0); - U(0); - for (unsigned i = 0; i < a1; i++) { P(0); } - Ap(a1); - C(235); -} -void log_Z3_get_implied_equalities(Z3_context a0, unsigned a1, Z3_ast const * a2, unsigned* a3) { - R(); - P(a0); - U(a1); - for (unsigned i = 0; i < a1; i++) { P(a2[i]); } - Ap(a1); - for (unsigned i = 0; i < a1; i++) { U(0); } - Au(a1); - C(236); -} -void log_Z3_del_model(Z3_context a0, Z3_model a1) { - R(); - P(a0); - P(a1); - C(237); -} -void log_Z3_soft_check_cancel(Z3_context a0) { - R(); - P(a0); - C(238); -} -void log_Z3_get_search_failure(Z3_context a0) { - R(); - P(a0); - C(239); -} -void log_Z3_get_relevant_labels(Z3_context a0) { - R(); - P(a0); - C(240); -} -void log_Z3_get_relevant_literals(Z3_context a0) { - R(); - P(a0); - C(241); -} -void log_Z3_get_guessed_literals(Z3_context a0) { - R(); - P(a0); - C(242); -} -void log_Z3_del_literals(Z3_context a0, Z3_literals a1) { - R(); - P(a0); - P(a1); - C(243); -} -void log_Z3_get_num_literals(Z3_context a0, Z3_literals a1) { - R(); - P(a0); - P(a1); - C(244); -} -void log_Z3_get_label_symbol(Z3_context a0, Z3_literals a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(245); -} -void log_Z3_get_literal(Z3_context a0, Z3_literals a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(246); -} -void log_Z3_disable_literal(Z3_context a0, Z3_literals a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(247); -} -void log_Z3_block_literals(Z3_context a0, Z3_literals a1) { - R(); - P(a0); - P(a1); - C(248); -} -void log_Z3_model_inc_ref(Z3_context a0, Z3_model a1) { - R(); - P(a0); - P(a1); - C(249); -} -void log_Z3_model_dec_ref(Z3_context a0, Z3_model a1) { - R(); - P(a0); - P(a1); - C(250); -} -void log_Z3_model_get_const_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2) { - R(); - P(a0); - P(a1); - P(a2); - C(251); -} -void log_Z3_model_get_func_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2) { - R(); - P(a0); - P(a1); - P(a2); - C(252); -} -void log_Z3_model_get_num_consts(Z3_context a0, Z3_model a1) { - R(); - P(a0); - P(a1); - C(253); -} -void log_Z3_model_get_const_decl(Z3_context a0, Z3_model a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(254); -} -void log_Z3_model_get_num_funcs(Z3_context a0, Z3_model a1) { - R(); - P(a0); - P(a1); - C(255); -} -void log_Z3_model_get_func_decl(Z3_context a0, Z3_model a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(256); -} -void log_Z3_model_eval(Z3_context a0, Z3_model a1, Z3_ast a2, Z3_bool a3, Z3_ast* a4) { - R(); - P(a0); - P(a1); - P(a2); - I(a3); - P(0); - C(257); -} -void log_Z3_model_get_num_sorts(Z3_context a0, Z3_model a1) { - R(); - P(a0); - P(a1); - C(258); -} -void log_Z3_model_get_sort(Z3_context a0, Z3_model a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(259); -} -void log_Z3_model_get_sort_universe(Z3_context a0, Z3_model a1, Z3_sort a2) { - R(); - P(a0); - P(a1); - P(a2); - C(260); -} -void log_Z3_is_as_array(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(261); -} -void log_Z3_get_as_array_func_decl(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(262); -} -void log_Z3_func_interp_inc_ref(Z3_context a0, Z3_func_interp a1) { - R(); - P(a0); - P(a1); - C(263); -} -void log_Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1) { - R(); - P(a0); - P(a1); - C(264); -} -void log_Z3_func_interp_get_num_entries(Z3_context a0, Z3_func_interp a1) { - R(); - P(a0); - P(a1); - C(265); -} -void log_Z3_func_interp_get_entry(Z3_context a0, Z3_func_interp a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(266); -} -void log_Z3_func_interp_get_else(Z3_context a0, Z3_func_interp a1) { - R(); - P(a0); - P(a1); - C(267); -} -void log_Z3_func_interp_get_arity(Z3_context a0, Z3_func_interp a1) { - R(); - P(a0); - P(a1); - C(268); -} -void log_Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1) { - R(); - P(a0); - P(a1); - C(269); -} -void log_Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1) { - R(); - P(a0); - P(a1); - C(270); -} -void log_Z3_func_entry_get_value(Z3_context a0, Z3_func_entry a1) { - R(); - P(a0); - P(a1); - C(271); -} -void log_Z3_func_entry_get_num_args(Z3_context a0, Z3_func_entry a1) { - R(); - P(a0); - P(a1); - C(272); -} -void log_Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(273); -} -void log_Z3_get_model_num_constants(Z3_context a0, Z3_model a1) { - R(); - P(a0); - P(a1); - C(274); -} -void log_Z3_get_model_constant(Z3_context a0, Z3_model a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(275); -} -void log_Z3_eval_func_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, Z3_ast* a3) { - R(); - P(a0); - P(a1); - P(a2); - P(0); - C(276); -} -void log_Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, unsigned* a3) { - R(); - P(a0); - P(a1); - P(a2); - U(0); - C(277); -} -void log_Z3_get_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, unsigned a3, Z3_ast* a4, Z3_ast* a5, Z3_ast* a6) { - R(); - P(a0); - P(a1); - P(a2); - U(a3); - for (unsigned i = 0; i < a3; i++) { P(0); } - Ap(a3); - for (unsigned i = 0; i < a3; i++) { P(0); } - Ap(a3); - P(0); - C(278); -} -void log_Z3_get_model_num_funcs(Z3_context a0, Z3_model a1) { - R(); - P(a0); - P(a1); - C(279); -} -void log_Z3_get_model_func_decl(Z3_context a0, Z3_model a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(280); -} -void log_Z3_get_model_func_else(Z3_context a0, Z3_model a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(281); -} -void log_Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(282); -} -void log_Z3_get_model_func_entry_num_args(Z3_context a0, Z3_model a1, unsigned a2, unsigned a3) { - R(); - P(a0); - P(a1); - U(a2); - U(a3); - C(283); -} -void log_Z3_get_model_func_entry_arg(Z3_context a0, Z3_model a1, unsigned a2, unsigned a3, unsigned a4) { - R(); - P(a0); - P(a1); - U(a2); - U(a3); - U(a4); - C(284); -} -void log_Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, unsigned a2, unsigned a3) { - R(); - P(a0); - P(a1); - U(a2); - U(a3); - C(285); -} -void log_Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, Z3_ast* a3) { - R(); - P(a0); - P(a1); - P(a2); - P(0); - C(286); -} -void log_Z3_eval_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, unsigned a3, Z3_ast const * a4, Z3_ast* a5) { - R(); - P(a0); - P(a1); - P(a2); - U(a3); - for (unsigned i = 0; i < a3; i++) { P(a4[i]); } - Ap(a3); - P(0); - C(287); -} -void log_Z3_set_ast_print_mode(Z3_context a0, Z3_ast_print_mode a1) { - R(); - P(a0); - U(static_cast(a1)); - C(288); -} -void log_Z3_ast_to_string(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(289); -} -void log_Z3_pattern_to_string(Z3_context a0, Z3_pattern a1) { - R(); - P(a0); - P(a1); - C(290); -} -void log_Z3_sort_to_string(Z3_context a0, Z3_sort a1) { - R(); - P(a0); - P(a1); - C(291); -} -void log_Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1) { - R(); - P(a0); - P(a1); - C(292); -} -void log_Z3_model_to_string(Z3_context a0, Z3_model a1) { - R(); - P(a0); - P(a1); - C(293); -} -void log_Z3_benchmark_to_smtlib_string(Z3_context a0, Z3_string a1, Z3_string a2, Z3_string a3, Z3_string a4, unsigned a5, Z3_ast const * a6, Z3_ast a7) { - R(); - P(a0); - S(a1); - S(a2); - S(a3); - S(a4); - U(a5); - for (unsigned i = 0; i < a5; i++) { P(a6[i]); } - Ap(a5); - P(a7); - C(294); -} -void log_Z3_context_to_string(Z3_context a0) { - R(); - P(a0); - C(295); -} -void log_Z3_statistics_to_string(Z3_context a0) { - R(); - P(a0); - C(296); -} -void log_Z3_get_context_assignment(Z3_context a0) { - R(); - P(a0); - C(297); -} -void log_Z3_parse_smtlib_string(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7) { - R(); - P(a0); - S(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { Sy(a3[i]); } - Asy(a2); - for (unsigned i = 0; i < a2; i++) { P(a4[i]); } - Ap(a2); - U(a5); - for (unsigned i = 0; i < a5; i++) { Sy(a6[i]); } - Asy(a5); - for (unsigned i = 0; i < a5; i++) { P(a7[i]); } - Ap(a5); - C(298); -} -void log_Z3_parse_smtlib_file(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7) { - R(); - P(a0); - S(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { Sy(a3[i]); } - Asy(a2); - for (unsigned i = 0; i < a2; i++) { P(a4[i]); } - Ap(a2); - U(a5); - for (unsigned i = 0; i < a5; i++) { Sy(a6[i]); } - Asy(a5); - for (unsigned i = 0; i < a5; i++) { P(a7[i]); } - Ap(a5); - C(299); -} -void log_Z3_get_smtlib_num_formulas(Z3_context a0) { - R(); - P(a0); - C(300); -} -void log_Z3_get_smtlib_formula(Z3_context a0, unsigned a1) { - R(); - P(a0); - U(a1); - C(301); -} -void log_Z3_get_smtlib_num_assumptions(Z3_context a0) { - R(); - P(a0); - C(302); -} -void log_Z3_get_smtlib_assumption(Z3_context a0, unsigned a1) { - R(); - P(a0); - U(a1); - C(303); -} -void log_Z3_get_smtlib_num_decls(Z3_context a0) { - R(); - P(a0); - C(304); -} -void log_Z3_get_smtlib_decl(Z3_context a0, unsigned a1) { - R(); - P(a0); - U(a1); - C(305); -} -void log_Z3_get_smtlib_num_sorts(Z3_context a0) { - R(); - P(a0); - C(306); -} -void log_Z3_get_smtlib_sort(Z3_context a0, unsigned a1) { - R(); - P(a0); - U(a1); - C(307); -} -void log_Z3_get_smtlib_error(Z3_context a0) { - R(); - P(a0); - C(308); -} -void log_Z3_parse_z3_string(Z3_context a0, Z3_string a1) { - R(); - P(a0); - S(a1); - C(309); -} -void log_Z3_parse_z3_file(Z3_context a0, Z3_string a1) { - R(); - P(a0); - S(a1); - C(310); -} -void log_Z3_parse_smtlib2_string(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7) { - R(); - P(a0); - S(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { Sy(a3[i]); } - Asy(a2); - for (unsigned i = 0; i < a2; i++) { P(a4[i]); } - Ap(a2); - U(a5); - for (unsigned i = 0; i < a5; i++) { Sy(a6[i]); } - Asy(a5); - for (unsigned i = 0; i < a5; i++) { P(a7[i]); } - Ap(a5); - C(311); -} -void log_Z3_parse_smtlib2_file(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7) { - R(); - P(a0); - S(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { Sy(a3[i]); } - Asy(a2); - for (unsigned i = 0; i < a2; i++) { P(a4[i]); } - Ap(a2); - U(a5); - for (unsigned i = 0; i < a5; i++) { Sy(a6[i]); } - Asy(a5); - for (unsigned i = 0; i < a5; i++) { P(a7[i]); } - Ap(a5); - C(312); -} -void log_Z3_get_error_code(Z3_context a0) { - R(); - P(a0); - C(313); -} -void log_Z3_set_error(Z3_context a0, Z3_error_code a1) { - R(); - P(a0); - U(static_cast(a1)); - C(314); -} -void log_Z3_get_error_msg(Z3_error_code a0) { - R(); - U(static_cast(a0)); - C(315); -} -void log_Z3_get_version(unsigned* a0, unsigned* a1, unsigned* a2, unsigned* a3) { - R(); - U(0); - U(0); - U(0); - U(0); - C(316); -} -void log_Z3_reset_memory() { - R(); - C(317); -} -void log_Z3_is_app(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(318); -} -void log_Z3_is_numeral_ast(Z3_context a0, Z3_ast a1) { - R(); - P(a0); - P(a1); - C(319); -} -void log_Z3_get_arity(Z3_context a0, Z3_func_decl a1) { - R(); - P(a0); - P(a1); - C(320); -} -void log_Z3_mk_injective_function(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_sort const * a3, Z3_sort a4) { - R(); - P(a0); - Sy(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - P(a4); - C(321); -} -void log_Z3_mk_fixedpoint(Z3_context a0) { - R(); - P(a0); - C(322); -} -void log_Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1) { - R(); - P(a0); - P(a1); - C(323); -} -void log_Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1) { - R(); - P(a0); - P(a1); - C(324); -} -void log_Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1) { - R(); - P(a0); - P(a1); - C(325); -} -void log_Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1) { - R(); - P(a0); - P(a1); - C(326); -} -void log_Z3_fixedpoint_register_relation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2) { - R(); - P(a0); - P(a1); - P(a2); - C(327); -} -void log_Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(328); -} -void log_Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, Z3_symbol a3) { - R(); - P(a0); - P(a1); - P(a2); - Sy(a3); - C(329); -} -void log_Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, unsigned a3, unsigned const * a4) { - R(); - P(a0); - P(a1); - P(a2); - U(a3); - for (unsigned i = 0; i < a3; i++) { U(a4[i]); } - Au(a3); - C(330); -} -void log_Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(331); -} -void log_Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, unsigned a2, Z3_func_decl const * a3) { - R(); - P(a0); - P(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - C(332); -} -void log_Z3_fixedpoint_get_answer(Z3_context a0, Z3_fixedpoint a1) { - R(); - P(a0); - P(a1); - C(333); -} -void log_Z3_fixedpoint_update_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, Z3_symbol a3) { - R(); - P(a0); - P(a1); - P(a2); - Sy(a3); - C(334); -} -void log_Z3_fixedpoint_get_num_levels(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2) { - R(); - P(a0); - P(a1); - P(a2); - C(335); -} -void log_Z3_fixedpoint_get_cover_delta(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3) { - R(); - P(a0); - P(a1); - I(a2); - P(a3); - C(336); -} -void log_Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4) { - R(); - P(a0); - P(a1); - I(a2); - P(a3); - P(a4); - C(337); -} -void log_Z3_fixedpoint_get_statistics(Z3_context a0, Z3_fixedpoint a1) { - R(); - P(a0); - P(a1); - C(338); -} -void log_Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1) { - R(); - P(a0); - P(a1); - C(339); -} -void log_Z3_fixedpoint_get_param_descrs(Z3_context a0, Z3_fixedpoint a1) { - R(); - P(a0); - P(a1); - C(340); -} -void log_Z3_fixedpoint_set_params(Z3_context a0, Z3_fixedpoint a1, Z3_params a2) { - R(); - P(a0); - P(a1); - P(a2); - C(341); -} -void log_Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, unsigned a2, Z3_ast const * a3) { - R(); - P(a0); - P(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - C(342); -} -void log_Z3_fixedpoint_get_reason_unknown(Z3_context a0, Z3_fixedpoint a1) { - R(); - P(a0); - P(a1); - C(343); -} -void log_Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, unsigned a3, Z3_symbol const * a4) { - R(); - P(a0); - P(a1); - P(a2); - U(a3); - for (unsigned i = 0; i < a3; i++) { Sy(a4[i]); } - Asy(a3); - C(344); -} -void log_Z3_fixedpoint_simplify_rules(Z3_context a0, Z3_fixedpoint a1, unsigned a2, Z3_ast const * a3, unsigned a4, Z3_func_decl const * a5) { - R(); - P(a0); - P(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - U(a4); - for (unsigned i = 0; i < a4; i++) { P(a5[i]); } - Ap(a4); - C(345); -} -void log_Z3_mk_params(Z3_context a0) { - R(); - P(a0); - C(346); -} -void log_Z3_params_inc_ref(Z3_context a0, Z3_params a1) { - R(); - P(a0); - P(a1); - C(347); -} -void log_Z3_params_dec_ref(Z3_context a0, Z3_params a1) { - R(); - P(a0); - P(a1); - C(348); -} -void log_Z3_params_set_bool(Z3_context a0, Z3_params a1, Z3_symbol a2, Z3_bool a3) { - R(); - P(a0); - P(a1); - Sy(a2); - I(a3); - C(349); -} -void log_Z3_params_set_uint(Z3_context a0, Z3_params a1, Z3_symbol a2, unsigned a3) { - R(); - P(a0); - P(a1); - Sy(a2); - U(a3); - C(350); -} -void log_Z3_params_set_double(Z3_context a0, Z3_params a1, Z3_symbol a2, double a3) { - R(); - P(a0); - P(a1); - Sy(a2); - D(a3); - C(351); -} -void log_Z3_params_set_symbol(Z3_context a0, Z3_params a1, Z3_symbol a2, Z3_symbol a3) { - R(); - P(a0); - P(a1); - Sy(a2); - Sy(a3); - C(352); -} -void log_Z3_params_to_string(Z3_context a0, Z3_params a1) { - R(); - P(a0); - P(a1); - C(353); -} -void log_Z3_params_validate(Z3_context a0, Z3_params a1, Z3_param_descrs a2) { - R(); - P(a0); - P(a1); - P(a2); - C(354); -} -void log_Z3_param_descrs_inc_ref(Z3_context a0, Z3_param_descrs a1) { - R(); - P(a0); - P(a1); - C(355); -} -void log_Z3_param_descrs_dec_ref(Z3_context a0, Z3_param_descrs a1) { - R(); - P(a0); - P(a1); - C(356); -} -void log_Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, Z3_symbol a2) { - R(); - P(a0); - P(a1); - Sy(a2); - C(357); -} -void log_Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1) { - R(); - P(a0); - P(a1); - C(358); -} -void log_Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(359); -} -void log_Z3_param_descrs_to_string(Z3_context a0, Z3_param_descrs a1) { - R(); - P(a0); - P(a1); - C(360); -} -void log_Z3_interrupt(Z3_context a0) { - R(); - P(a0); - C(361); -} -void log_Z3_get_error_msg_ex(Z3_context a0, Z3_error_code a1) { - R(); - P(a0); - U(static_cast(a1)); - C(362); -} -void log_Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2) { - R(); - P(a0); - P(a1); - P(a2); - C(363); -} -void log_Z3_mk_goal(Z3_context a0, Z3_bool a1, Z3_bool a2, Z3_bool a3) { - R(); - P(a0); - I(a1); - I(a2); - I(a3); - C(364); -} -void log_Z3_goal_inc_ref(Z3_context a0, Z3_goal a1) { - R(); - P(a0); - P(a1); - C(365); -} -void log_Z3_goal_dec_ref(Z3_context a0, Z3_goal a1) { - R(); - P(a0); - P(a1); - C(366); -} -void log_Z3_goal_precision(Z3_context a0, Z3_goal a1) { - R(); - P(a0); - P(a1); - C(367); -} -void log_Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(368); -} -void log_Z3_goal_inconsistent(Z3_context a0, Z3_goal a1) { - R(); - P(a0); - P(a1); - C(369); -} -void log_Z3_goal_depth(Z3_context a0, Z3_goal a1) { - R(); - P(a0); - P(a1); - C(370); -} -void log_Z3_goal_reset(Z3_context a0, Z3_goal a1) { - R(); - P(a0); - P(a1); - C(371); -} -void log_Z3_goal_size(Z3_context a0, Z3_goal a1) { - R(); - P(a0); - P(a1); - C(372); -} -void log_Z3_goal_formula(Z3_context a0, Z3_goal a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(373); -} -void log_Z3_goal_num_exprs(Z3_context a0, Z3_goal a1) { - R(); - P(a0); - P(a1); - C(374); -} -void log_Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1) { - R(); - P(a0); - P(a1); - C(375); -} -void log_Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1) { - R(); - P(a0); - P(a1); - C(376); -} -void log_Z3_goal_translate(Z3_context a0, Z3_goal a1, Z3_context a2) { - R(); - P(a0); - P(a1); - P(a2); - C(377); -} -void log_Z3_goal_to_string(Z3_context a0, Z3_goal a1) { - R(); - P(a0); - P(a1); - C(378); -} -void log_Z3_mk_tactic(Z3_context a0, Z3_string a1) { - R(); - P(a0); - S(a1); - C(379); -} -void log_Z3_mk_probe(Z3_context a0, Z3_string a1) { - R(); - P(a0); - S(a1); - C(380); -} -void log_Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1) { - R(); - P(a0); - P(a1); - C(381); -} -void log_Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1) { - R(); - P(a0); - P(a1); - C(382); -} -void log_Z3_probe_inc_ref(Z3_context a0, Z3_probe a1) { - R(); - P(a0); - P(a1); - C(383); -} -void log_Z3_probe_dec_ref(Z3_context a0, Z3_probe a1) { - R(); - P(a0); - P(a1); - C(384); -} -void log_Z3_tactic_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2) { - R(); - P(a0); - P(a1); - P(a2); - C(385); -} -void log_Z3_tactic_or_else(Z3_context a0, Z3_tactic a1, Z3_tactic a2) { - R(); - P(a0); - P(a1); - P(a2); - C(386); -} -void log_Z3_tactic_par_or(Z3_context a0, unsigned a1, Z3_tactic const * a2) { - R(); - P(a0); - U(a1); - for (unsigned i = 0; i < a1; i++) { P(a2[i]); } - Ap(a1); - C(387); -} -void log_Z3_tactic_par_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2) { - R(); - P(a0); - P(a1); - P(a2); - C(388); -} -void log_Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(389); -} -void log_Z3_tactic_when(Z3_context a0, Z3_probe a1, Z3_tactic a2) { - R(); - P(a0); - P(a1); - P(a2); - C(390); -} -void log_Z3_tactic_cond(Z3_context a0, Z3_probe a1, Z3_tactic a2, Z3_tactic a3) { - R(); - P(a0); - P(a1); - P(a2); - P(a3); - C(391); -} -void log_Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(392); -} -void log_Z3_tactic_skip(Z3_context a0) { - R(); - P(a0); - C(393); -} -void log_Z3_tactic_fail(Z3_context a0) { - R(); - P(a0); - C(394); -} -void log_Z3_tactic_fail_if(Z3_context a0, Z3_probe a1) { - R(); - P(a0); - P(a1); - C(395); -} -void log_Z3_tactic_fail_if_not_decided(Z3_context a0) { - R(); - P(a0); - C(396); -} -void log_Z3_tactic_using_params(Z3_context a0, Z3_tactic a1, Z3_params a2) { - R(); - P(a0); - P(a1); - P(a2); - C(397); -} -void log_Z3_probe_const(Z3_context a0, double a1) { - R(); - P(a0); - D(a1); - C(398); -} -void log_Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2) { - R(); - P(a0); - P(a1); - P(a2); - C(399); -} -void log_Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2) { - R(); - P(a0); - P(a1); - P(a2); - C(400); -} -void log_Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2) { - R(); - P(a0); - P(a1); - P(a2); - C(401); -} -void log_Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2) { - R(); - P(a0); - P(a1); - P(a2); - C(402); -} -void log_Z3_probe_eq(Z3_context a0, Z3_probe a1, Z3_probe a2) { - R(); - P(a0); - P(a1); - P(a2); - C(403); -} -void log_Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2) { - R(); - P(a0); - P(a1); - P(a2); - C(404); -} -void log_Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2) { - R(); - P(a0); - P(a1); - P(a2); - C(405); -} -void log_Z3_probe_not(Z3_context a0, Z3_probe a1) { - R(); - P(a0); - P(a1); - C(406); -} -void log_Z3_get_num_tactics(Z3_context a0) { - R(); - P(a0); - C(407); -} -void log_Z3_get_tactic_name(Z3_context a0, unsigned a1) { - R(); - P(a0); - U(a1); - C(408); -} -void log_Z3_get_num_probes(Z3_context a0) { - R(); - P(a0); - C(409); -} -void log_Z3_get_probe_name(Z3_context a0, unsigned a1) { - R(); - P(a0); - U(a1); - C(410); -} -void log_Z3_tactic_get_help(Z3_context a0, Z3_tactic a1) { - R(); - P(a0); - P(a1); - C(411); -} -void log_Z3_tactic_get_param_descrs(Z3_context a0, Z3_tactic a1) { - R(); - P(a0); - P(a1); - C(412); -} -void log_Z3_tactic_get_descr(Z3_context a0, Z3_string a1) { - R(); - P(a0); - S(a1); - C(413); -} -void log_Z3_probe_get_descr(Z3_context a0, Z3_string a1) { - R(); - P(a0); - S(a1); - C(414); -} -void log_Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2) { - R(); - P(a0); - P(a1); - P(a2); - C(415); -} -void log_Z3_tactic_apply(Z3_context a0, Z3_tactic a1, Z3_goal a2) { - R(); - P(a0); - P(a1); - P(a2); - C(416); -} -void log_Z3_tactic_apply_ex(Z3_context a0, Z3_tactic a1, Z3_goal a2, Z3_params a3) { - R(); - P(a0); - P(a1); - P(a2); - P(a3); - C(417); -} -void log_Z3_apply_result_inc_ref(Z3_context a0, Z3_apply_result a1) { - R(); - P(a0); - P(a1); - C(418); -} -void log_Z3_apply_result_dec_ref(Z3_context a0, Z3_apply_result a1) { - R(); - P(a0); - P(a1); - C(419); -} -void log_Z3_apply_result_to_string(Z3_context a0, Z3_apply_result a1) { - R(); - P(a0); - P(a1); - C(420); -} -void log_Z3_apply_result_get_num_subgoals(Z3_context a0, Z3_apply_result a1) { - R(); - P(a0); - P(a1); - C(421); -} -void log_Z3_apply_result_get_subgoal(Z3_context a0, Z3_apply_result a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(422); -} -void log_Z3_apply_result_convert_model(Z3_context a0, Z3_apply_result a1, unsigned a2, Z3_model a3) { - R(); - P(a0); - P(a1); - U(a2); - P(a3); - C(423); -} -void log_Z3_mk_solver(Z3_context a0) { - R(); - P(a0); - C(424); -} -void log_Z3_mk_simple_solver(Z3_context a0) { - R(); - P(a0); - C(425); -} -void log_Z3_mk_solver_for_logic(Z3_context a0, Z3_symbol a1) { - R(); - P(a0); - Sy(a1); - C(426); -} -void log_Z3_mk_solver_from_tactic(Z3_context a0, Z3_tactic a1) { - R(); - P(a0); - P(a1); - C(427); -} -void log_Z3_solver_get_help(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(428); -} -void log_Z3_solver_get_param_descrs(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(429); -} -void log_Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2) { - R(); - P(a0); - P(a1); - P(a2); - C(430); -} -void log_Z3_solver_inc_ref(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(431); -} -void log_Z3_solver_dec_ref(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(432); -} -void log_Z3_solver_push(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(433); -} -void log_Z3_solver_pop(Z3_context a0, Z3_solver a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(434); -} -void log_Z3_solver_reset(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(435); -} -void log_Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(436); -} -void log_Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(437); -} -void log_Z3_solver_get_assertions(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(438); -} -void log_Z3_solver_check(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(439); -} -void log_Z3_solver_check_assumptions(Z3_context a0, Z3_solver a1, unsigned a2, Z3_ast const * a3) { - R(); - P(a0); - P(a1); - U(a2); - for (unsigned i = 0; i < a2; i++) { P(a3[i]); } - Ap(a2); - C(440); -} -void log_Z3_solver_get_model(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(441); -} -void log_Z3_solver_get_proof(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(442); -} -void log_Z3_solver_get_unsat_core(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(443); -} -void log_Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(444); -} -void log_Z3_solver_get_statistics(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(445); -} -void log_Z3_solver_to_string(Z3_context a0, Z3_solver a1) { - R(); - P(a0); - P(a1); - C(446); -} -void log_Z3_stats_to_string(Z3_context a0, Z3_stats a1) { - R(); - P(a0); - P(a1); - C(447); -} -void log_Z3_stats_inc_ref(Z3_context a0, Z3_stats a1) { - R(); - P(a0); - P(a1); - C(448); -} -void log_Z3_stats_dec_ref(Z3_context a0, Z3_stats a1) { - R(); - P(a0); - P(a1); - C(449); -} -void log_Z3_stats_size(Z3_context a0, Z3_stats a1) { - R(); - P(a0); - P(a1); - C(450); -} -void log_Z3_stats_get_key(Z3_context a0, Z3_stats a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(451); -} -void log_Z3_stats_is_uint(Z3_context a0, Z3_stats a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(452); -} -void log_Z3_stats_is_double(Z3_context a0, Z3_stats a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(453); -} -void log_Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(454); -} -void log_Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(455); -} -void log_Z3_mk_ast_vector(Z3_context a0) { - R(); - P(a0); - C(456); -} -void log_Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1) { - R(); - P(a0); - P(a1); - C(457); -} -void log_Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1) { - R(); - P(a0); - P(a1); - C(458); -} -void log_Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1) { - R(); - P(a0); - P(a1); - C(459); -} -void log_Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(460); -} -void log_Z3_ast_vector_set(Z3_context a0, Z3_ast_vector a1, unsigned a2, Z3_ast a3) { - R(); - P(a0); - P(a1); - U(a2); - P(a3); - C(461); -} -void log_Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, unsigned a2) { - R(); - P(a0); - P(a1); - U(a2); - C(462); -} -void log_Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(463); -} -void log_Z3_ast_vector_translate(Z3_context a0, Z3_ast_vector a1, Z3_context a2) { - R(); - P(a0); - P(a1); - P(a2); - C(464); -} -void log_Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1) { - R(); - P(a0); - P(a1); - C(465); -} -void log_Z3_mk_ast_map(Z3_context a0) { - R(); - P(a0); - C(466); -} -void log_Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1) { - R(); - P(a0); - P(a1); - C(467); -} -void log_Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1) { - R(); - P(a0); - P(a1); - C(468); -} -void log_Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(469); -} -void log_Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(470); -} -void log_Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3) { - R(); - P(a0); - P(a1); - P(a2); - P(a3); - C(471); -} -void log_Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2) { - R(); - P(a0); - P(a1); - P(a2); - C(472); -} -void log_Z3_ast_map_size(Z3_context a0, Z3_ast_map a1) { - R(); - P(a0); - P(a1); - C(473); -} -void log_Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1) { - R(); - P(a0); - P(a1); - C(474); -} -void log_Z3_ast_map_keys(Z3_context a0, Z3_ast_map a1) { - R(); - P(a0); - P(a1); - C(475); -} -void log_Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1) { - R(); - P(a0); - P(a1); - C(476); -} +// Automatically generated file, generator: update_api.py +#include +#include"z3.h" +#include"api_log_macros.h" +#include"z3_logger.h" +void log_Z3_mk_config() { + R(); + C(0); +} +void log_Z3_del_config(Z3_config a0) { + R(); + P(a0); + C(1); +} +void log_Z3_set_param_value(Z3_config a0, Z3_string a1, Z3_string a2) { + R(); + P(a0); + S(a1); + S(a2); + C(2); +} +void log_Z3_mk_context(Z3_config a0) { + R(); + P(a0); + C(3); +} +void log_Z3_mk_context_rc(Z3_config a0) { + R(); + P(a0); + C(4); +} +void log_Z3_del_context(Z3_context a0) { + R(); + P(a0); + C(5); +} +void log_Z3_inc_ref(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(6); +} +void log_Z3_dec_ref(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(7); +} +void log_Z3_update_param_value(Z3_context a0, Z3_string a1, Z3_string a2) { + R(); + P(a0); + S(a1); + S(a2); + C(8); +} +void log_Z3_get_param_value(Z3_context a0, Z3_string a1, Z3_string* a2) { + R(); + P(a0); + S(a1); + S(""); + C(9); +} +void log_Z3_interrupt(Z3_context a0) { + R(); + P(a0); + C(10); +} +void log_Z3_mk_params(Z3_context a0) { + R(); + P(a0); + C(11); +} +void log_Z3_params_inc_ref(Z3_context a0, Z3_params a1) { + R(); + P(a0); + P(a1); + C(12); +} +void log_Z3_params_dec_ref(Z3_context a0, Z3_params a1) { + R(); + P(a0); + P(a1); + C(13); +} +void log_Z3_params_set_bool(Z3_context a0, Z3_params a1, Z3_symbol a2, Z3_bool a3) { + R(); + P(a0); + P(a1); + Sy(a2); + I(a3); + C(14); +} +void log_Z3_params_set_uint(Z3_context a0, Z3_params a1, Z3_symbol a2, unsigned a3) { + R(); + P(a0); + P(a1); + Sy(a2); + U(a3); + C(15); +} +void log_Z3_params_set_double(Z3_context a0, Z3_params a1, Z3_symbol a2, double a3) { + R(); + P(a0); + P(a1); + Sy(a2); + D(a3); + C(16); +} +void log_Z3_params_set_symbol(Z3_context a0, Z3_params a1, Z3_symbol a2, Z3_symbol a3) { + R(); + P(a0); + P(a1); + Sy(a2); + Sy(a3); + C(17); +} +void log_Z3_params_to_string(Z3_context a0, Z3_params a1) { + R(); + P(a0); + P(a1); + C(18); +} +void log_Z3_params_validate(Z3_context a0, Z3_params a1, Z3_param_descrs a2) { + R(); + P(a0); + P(a1); + P(a2); + C(19); +} +void log_Z3_param_descrs_inc_ref(Z3_context a0, Z3_param_descrs a1) { + R(); + P(a0); + P(a1); + C(20); +} +void log_Z3_param_descrs_dec_ref(Z3_context a0, Z3_param_descrs a1) { + R(); + P(a0); + P(a1); + C(21); +} +void log_Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, Z3_symbol a2) { + R(); + P(a0); + P(a1); + Sy(a2); + C(22); +} +void log_Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1) { + R(); + P(a0); + P(a1); + C(23); +} +void log_Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(24); +} +void log_Z3_param_descrs_to_string(Z3_context a0, Z3_param_descrs a1) { + R(); + P(a0); + P(a1); + C(25); +} +void log_Z3_mk_int_symbol(Z3_context a0, int a1) { + R(); + P(a0); + I(a1); + C(26); +} +void log_Z3_mk_string_symbol(Z3_context a0, Z3_string a1) { + R(); + P(a0); + S(a1); + C(27); +} +void log_Z3_mk_uninterpreted_sort(Z3_context a0, Z3_symbol a1) { + R(); + P(a0); + Sy(a1); + C(28); +} +void log_Z3_mk_bool_sort(Z3_context a0) { + R(); + P(a0); + C(29); +} +void log_Z3_mk_int_sort(Z3_context a0) { + R(); + P(a0); + C(30); +} +void log_Z3_mk_real_sort(Z3_context a0) { + R(); + P(a0); + C(31); +} +void log_Z3_mk_bv_sort(Z3_context a0, unsigned a1) { + R(); + P(a0); + U(a1); + C(32); +} +void log_Z3_mk_finite_domain_sort(Z3_context a0, Z3_symbol a1, __uint64 a2) { + R(); + P(a0); + Sy(a1); + U(a2); + C(33); +} +void log_Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2) { + R(); + P(a0); + P(a1); + P(a2); + C(34); +} +void log_Z3_mk_tuple_sort(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, Z3_func_decl* a5, Z3_func_decl* a6) { + R(); + P(a0); + Sy(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { Sy(a3[i]); } + Asy(a2); + for (unsigned i = 0; i < a2; i++) { P(a4[i]); } + Ap(a2); + P(0); + for (unsigned i = 0; i < a2; i++) { P(0); } + Ap(a2); + C(35); +} +void log_Z3_mk_enumeration_sort(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_symbol const * a3, Z3_func_decl* a4, Z3_func_decl* a5) { + R(); + P(a0); + Sy(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { Sy(a3[i]); } + Asy(a2); + for (unsigned i = 0; i < a2; i++) { P(0); } + Ap(a2); + for (unsigned i = 0; i < a2; i++) { P(0); } + Ap(a2); + C(36); +} +void log_Z3_mk_list_sort(Z3_context a0, Z3_symbol a1, Z3_sort a2, Z3_func_decl* a3, Z3_func_decl* a4, Z3_func_decl* a5, Z3_func_decl* a6, Z3_func_decl* a7, Z3_func_decl* a8) { + R(); + P(a0); + Sy(a1); + P(a2); + P(0); + P(0); + P(0); + P(0); + P(0); + P(0); + C(37); +} +void log_Z3_mk_constructor(Z3_context a0, Z3_symbol a1, Z3_symbol a2, unsigned a3, Z3_symbol const * a4, Z3_sort const * a5, unsigned const * a6) { + R(); + P(a0); + Sy(a1); + Sy(a2); + U(a3); + for (unsigned i = 0; i < a3; i++) { Sy(a4[i]); } + Asy(a3); + for (unsigned i = 0; i < a3; i++) { P(a5[i]); } + Ap(a3); + for (unsigned i = 0; i < a3; i++) { U(a6[i]); } + Au(a3); + C(38); +} +void log_Z3_del_constructor(Z3_context a0, Z3_constructor a1) { + R(); + P(a0); + P(a1); + C(39); +} +void log_Z3_mk_datatype(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_constructor* a3) { + R(); + P(a0); + Sy(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + C(40); +} +void log_Z3_mk_constructor_list(Z3_context a0, unsigned a1, Z3_constructor const * a2) { + R(); + P(a0); + U(a1); + for (unsigned i = 0; i < a1; i++) { P(a2[i]); } + Ap(a1); + C(41); +} +void log_Z3_del_constructor_list(Z3_context a0, Z3_constructor_list a1) { + R(); + P(a0); + P(a1); + C(42); +} +void log_Z3_mk_datatypes(Z3_context a0, unsigned a1, Z3_symbol const * a2, Z3_sort* a3, Z3_constructor_list* a4) { + R(); + P(a0); + U(a1); + for (unsigned i = 0; i < a1; i++) { Sy(a2[i]); } + Asy(a1); + for (unsigned i = 0; i < a1; i++) { P(0); } + Ap(a1); + for (unsigned i = 0; i < a1; i++) { P(a4[i]); } + Ap(a1); + C(43); +} +void log_Z3_query_constructor(Z3_context a0, Z3_constructor a1, unsigned a2, Z3_func_decl* a3, Z3_func_decl* a4, Z3_func_decl* a5) { + R(); + P(a0); + P(a1); + U(a2); + P(0); + P(0); + for (unsigned i = 0; i < a2; i++) { P(0); } + Ap(a2); + C(44); +} +void log_Z3_mk_func_decl(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_sort const * a3, Z3_sort a4) { + R(); + P(a0); + Sy(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + P(a4); + C(45); +} +void log_Z3_mk_app(Z3_context a0, Z3_func_decl a1, unsigned a2, Z3_ast const * a3) { + R(); + P(a0); + P(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + C(46); +} +void log_Z3_mk_const(Z3_context a0, Z3_symbol a1, Z3_sort a2) { + R(); + P(a0); + Sy(a1); + P(a2); + C(47); +} +void log_Z3_mk_fresh_func_decl(Z3_context a0, Z3_string a1, unsigned a2, Z3_sort const * a3, Z3_sort a4) { + R(); + P(a0); + S(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + P(a4); + C(48); +} +void log_Z3_mk_fresh_const(Z3_context a0, Z3_string a1, Z3_sort a2) { + R(); + P(a0); + S(a1); + P(a2); + C(49); +} +void log_Z3_mk_true(Z3_context a0) { + R(); + P(a0); + C(50); +} +void log_Z3_mk_false(Z3_context a0) { + R(); + P(a0); + C(51); +} +void log_Z3_mk_eq(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(52); +} +void log_Z3_mk_distinct(Z3_context a0, unsigned a1, Z3_ast const * a2) { + R(); + P(a0); + U(a1); + for (unsigned i = 0; i < a1; i++) { P(a2[i]); } + Ap(a1); + C(53); +} +void log_Z3_mk_not(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(54); +} +void log_Z3_mk_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) { + R(); + P(a0); + P(a1); + P(a2); + P(a3); + C(55); +} +void log_Z3_mk_iff(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(56); +} +void log_Z3_mk_implies(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(57); +} +void log_Z3_mk_xor(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(58); +} +void log_Z3_mk_and(Z3_context a0, unsigned a1, Z3_ast const * a2) { + R(); + P(a0); + U(a1); + for (unsigned i = 0; i < a1; i++) { P(a2[i]); } + Ap(a1); + C(59); +} +void log_Z3_mk_or(Z3_context a0, unsigned a1, Z3_ast const * a2) { + R(); + P(a0); + U(a1); + for (unsigned i = 0; i < a1; i++) { P(a2[i]); } + Ap(a1); + C(60); +} +void log_Z3_mk_add(Z3_context a0, unsigned a1, Z3_ast const * a2) { + R(); + P(a0); + U(a1); + for (unsigned i = 0; i < a1; i++) { P(a2[i]); } + Ap(a1); + C(61); +} +void log_Z3_mk_mul(Z3_context a0, unsigned a1, Z3_ast const * a2) { + R(); + P(a0); + U(a1); + for (unsigned i = 0; i < a1; i++) { P(a2[i]); } + Ap(a1); + C(62); +} +void log_Z3_mk_sub(Z3_context a0, unsigned a1, Z3_ast const * a2) { + R(); + P(a0); + U(a1); + for (unsigned i = 0; i < a1; i++) { P(a2[i]); } + Ap(a1); + C(63); +} +void log_Z3_mk_unary_minus(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(64); +} +void log_Z3_mk_div(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(65); +} +void log_Z3_mk_mod(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(66); +} +void log_Z3_mk_rem(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(67); +} +void log_Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(68); +} +void log_Z3_mk_lt(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(69); +} +void log_Z3_mk_le(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(70); +} +void log_Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(71); +} +void log_Z3_mk_ge(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(72); +} +void log_Z3_mk_int2real(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(73); +} +void log_Z3_mk_real2int(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(74); +} +void log_Z3_mk_is_int(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(75); +} +void log_Z3_mk_bvnot(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(76); +} +void log_Z3_mk_bvredand(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(77); +} +void log_Z3_mk_bvredor(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(78); +} +void log_Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(79); +} +void log_Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(80); +} +void log_Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(81); +} +void log_Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(82); +} +void log_Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(83); +} +void log_Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(84); +} +void log_Z3_mk_bvneg(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(85); +} +void log_Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(86); +} +void log_Z3_mk_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(87); +} +void log_Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(88); +} +void log_Z3_mk_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(89); +} +void log_Z3_mk_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(90); +} +void log_Z3_mk_bvurem(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(91); +} +void log_Z3_mk_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(92); +} +void log_Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(93); +} +void log_Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(94); +} +void log_Z3_mk_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(95); +} +void log_Z3_mk_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(96); +} +void log_Z3_mk_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(97); +} +void log_Z3_mk_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(98); +} +void log_Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(99); +} +void log_Z3_mk_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(100); +} +void log_Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(101); +} +void log_Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(102); +} +void log_Z3_mk_extract(Z3_context a0, unsigned a1, unsigned a2, Z3_ast a3) { + R(); + P(a0); + U(a1); + U(a2); + P(a3); + C(103); +} +void log_Z3_mk_sign_ext(Z3_context a0, unsigned a1, Z3_ast a2) { + R(); + P(a0); + U(a1); + P(a2); + C(104); +} +void log_Z3_mk_zero_ext(Z3_context a0, unsigned a1, Z3_ast a2) { + R(); + P(a0); + U(a1); + P(a2); + C(105); +} +void log_Z3_mk_repeat(Z3_context a0, unsigned a1, Z3_ast a2) { + R(); + P(a0); + U(a1); + P(a2); + C(106); +} +void log_Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(107); +} +void log_Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(108); +} +void log_Z3_mk_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(109); +} +void log_Z3_mk_rotate_left(Z3_context a0, unsigned a1, Z3_ast a2) { + R(); + P(a0); + U(a1); + P(a2); + C(110); +} +void log_Z3_mk_rotate_right(Z3_context a0, unsigned a1, Z3_ast a2) { + R(); + P(a0); + U(a1); + P(a2); + C(111); +} +void log_Z3_mk_ext_rotate_left(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(112); +} +void log_Z3_mk_ext_rotate_right(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(113); +} +void log_Z3_mk_int2bv(Z3_context a0, unsigned a1, Z3_ast a2) { + R(); + P(a0); + U(a1); + P(a2); + C(114); +} +void log_Z3_mk_bv2int(Z3_context a0, Z3_ast a1, Z3_bool a2) { + R(); + P(a0); + P(a1); + I(a2); + C(115); +} +void log_Z3_mk_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_bool a3) { + R(); + P(a0); + P(a1); + P(a2); + I(a3); + C(116); +} +void log_Z3_mk_bvadd_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(117); +} +void log_Z3_mk_bvsub_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(118); +} +void log_Z3_mk_bvsub_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_bool a3) { + R(); + P(a0); + P(a1); + P(a2); + I(a3); + C(119); +} +void log_Z3_mk_bvsdiv_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(120); +} +void log_Z3_mk_bvneg_no_overflow(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(121); +} +void log_Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_bool a3) { + R(); + P(a0); + P(a1); + P(a2); + I(a3); + C(122); +} +void log_Z3_mk_bvmul_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(123); +} +void log_Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(124); +} +void log_Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3) { + R(); + P(a0); + P(a1); + P(a2); + P(a3); + C(125); +} +void log_Z3_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(126); +} +void log_Z3_mk_map(Z3_context a0, Z3_func_decl a1, unsigned a2, Z3_ast const * a3) { + R(); + P(a0); + P(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + C(127); +} +void log_Z3_mk_array_default(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(128); +} +void log_Z3_mk_set_sort(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(129); +} +void log_Z3_mk_empty_set(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(130); +} +void log_Z3_mk_full_set(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(131); +} +void log_Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(132); +} +void log_Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(133); +} +void log_Z3_mk_set_union(Z3_context a0, unsigned a1, Z3_ast const * a2) { + R(); + P(a0); + U(a1); + for (unsigned i = 0; i < a1; i++) { P(a2[i]); } + Ap(a1); + C(134); +} +void log_Z3_mk_set_intersect(Z3_context a0, unsigned a1, Z3_ast const * a2) { + R(); + P(a0); + U(a1); + for (unsigned i = 0; i < a1; i++) { P(a2[i]); } + Ap(a1); + C(135); +} +void log_Z3_mk_set_difference(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(136); +} +void log_Z3_mk_set_complement(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(137); +} +void log_Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(138); +} +void log_Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(139); +} +void log_Z3_mk_numeral(Z3_context a0, Z3_string a1, Z3_sort a2) { + R(); + P(a0); + S(a1); + P(a2); + C(140); +} +void log_Z3_mk_real(Z3_context a0, int a1, int a2) { + R(); + P(a0); + I(a1); + I(a2); + C(141); +} +void log_Z3_mk_int(Z3_context a0, int a1, Z3_sort a2) { + R(); + P(a0); + I(a1); + P(a2); + C(142); +} +void log_Z3_mk_unsigned_int(Z3_context a0, unsigned a1, Z3_sort a2) { + R(); + P(a0); + U(a1); + P(a2); + C(143); +} +void log_Z3_mk_int64(Z3_context a0, __int64 a1, Z3_sort a2) { + R(); + P(a0); + I(a1); + P(a2); + C(144); +} +void log_Z3_mk_unsigned_int64(Z3_context a0, __uint64 a1, Z3_sort a2) { + R(); + P(a0); + U(a1); + P(a2); + C(145); +} +void log_Z3_mk_pattern(Z3_context a0, unsigned a1, Z3_ast const * a2) { + R(); + P(a0); + U(a1); + for (unsigned i = 0; i < a1; i++) { P(a2[i]); } + Ap(a1); + C(146); +} +void log_Z3_mk_bound(Z3_context a0, unsigned a1, Z3_sort a2) { + R(); + P(a0); + U(a1); + P(a2); + C(147); +} +void log_Z3_mk_forall(Z3_context a0, unsigned a1, unsigned a2, Z3_pattern const * a3, unsigned a4, Z3_sort const * a5, Z3_symbol const * a6, Z3_ast a7) { + R(); + P(a0); + U(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + U(a4); + for (unsigned i = 0; i < a4; i++) { P(a5[i]); } + Ap(a4); + for (unsigned i = 0; i < a4; i++) { Sy(a6[i]); } + Asy(a4); + P(a7); + C(148); +} +void log_Z3_mk_exists(Z3_context a0, unsigned a1, unsigned a2, Z3_pattern const * a3, unsigned a4, Z3_sort const * a5, Z3_symbol const * a6, Z3_ast a7) { + R(); + P(a0); + U(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + U(a4); + for (unsigned i = 0; i < a4; i++) { P(a5[i]); } + Ap(a4); + for (unsigned i = 0; i < a4; i++) { Sy(a6[i]); } + Asy(a4); + P(a7); + C(149); +} +void log_Z3_mk_quantifier(Z3_context a0, Z3_bool a1, unsigned a2, unsigned a3, Z3_pattern const * a4, unsigned a5, Z3_sort const * a6, Z3_symbol const * a7, Z3_ast a8) { + R(); + P(a0); + I(a1); + U(a2); + U(a3); + for (unsigned i = 0; i < a3; i++) { P(a4[i]); } + Ap(a3); + U(a5); + for (unsigned i = 0; i < a5; i++) { P(a6[i]); } + Ap(a5); + for (unsigned i = 0; i < a5; i++) { Sy(a7[i]); } + Asy(a5); + P(a8); + C(150); +} +void log_Z3_mk_quantifier_ex(Z3_context a0, Z3_bool a1, unsigned a2, Z3_symbol a3, Z3_symbol a4, unsigned a5, Z3_pattern const * a6, unsigned a7, Z3_ast const * a8, unsigned a9, Z3_sort const * a10, Z3_symbol const * a11, Z3_ast a12) { + R(); + P(a0); + I(a1); + U(a2); + Sy(a3); + Sy(a4); + U(a5); + for (unsigned i = 0; i < a5; i++) { P(a6[i]); } + Ap(a5); + U(a7); + for (unsigned i = 0; i < a7; i++) { P(a8[i]); } + Ap(a7); + U(a9); + for (unsigned i = 0; i < a9; i++) { P(a10[i]); } + Ap(a9); + for (unsigned i = 0; i < a9; i++) { Sy(a11[i]); } + Asy(a9); + P(a12); + C(151); +} +void log_Z3_mk_forall_const(Z3_context a0, unsigned a1, unsigned a2, Z3_app const * a3, unsigned a4, Z3_pattern const * a5, Z3_ast a6) { + R(); + P(a0); + U(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + U(a4); + for (unsigned i = 0; i < a4; i++) { P(a5[i]); } + Ap(a4); + P(a6); + C(152); +} +void log_Z3_mk_exists_const(Z3_context a0, unsigned a1, unsigned a2, Z3_app const * a3, unsigned a4, Z3_pattern const * a5, Z3_ast a6) { + R(); + P(a0); + U(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + U(a4); + for (unsigned i = 0; i < a4; i++) { P(a5[i]); } + Ap(a4); + P(a6); + C(153); +} +void log_Z3_mk_quantifier_const(Z3_context a0, Z3_bool a1, unsigned a2, unsigned a3, Z3_app const * a4, unsigned a5, Z3_pattern const * a6, Z3_ast a7) { + R(); + P(a0); + I(a1); + U(a2); + U(a3); + for (unsigned i = 0; i < a3; i++) { P(a4[i]); } + Ap(a3); + U(a5); + for (unsigned i = 0; i < a5; i++) { P(a6[i]); } + Ap(a5); + P(a7); + C(154); +} +void log_Z3_mk_quantifier_const_ex(Z3_context a0, Z3_bool a1, unsigned a2, Z3_symbol a3, Z3_symbol a4, unsigned a5, Z3_app const * a6, unsigned a7, Z3_pattern const * a8, unsigned a9, Z3_ast const * a10, Z3_ast a11) { + R(); + P(a0); + I(a1); + U(a2); + Sy(a3); + Sy(a4); + U(a5); + for (unsigned i = 0; i < a5; i++) { P(a6[i]); } + Ap(a5); + U(a7); + for (unsigned i = 0; i < a7; i++) { P(a8[i]); } + Ap(a7); + U(a9); + for (unsigned i = 0; i < a9; i++) { P(a10[i]); } + Ap(a9); + P(a11); + C(155); +} +void log_Z3_get_symbol_kind(Z3_context a0, Z3_symbol a1) { + R(); + P(a0); + Sy(a1); + C(156); +} +void log_Z3_get_symbol_int(Z3_context a0, Z3_symbol a1) { + R(); + P(a0); + Sy(a1); + C(157); +} +void log_Z3_get_symbol_string(Z3_context a0, Z3_symbol a1) { + R(); + P(a0); + Sy(a1); + C(158); +} +void log_Z3_get_sort_name(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(159); +} +void log_Z3_get_sort_id(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(160); +} +void log_Z3_sort_to_ast(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(161); +} +void log_Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2) { + R(); + P(a0); + P(a1); + P(a2); + C(162); +} +void log_Z3_get_sort_kind(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(163); +} +void log_Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(164); +} +void log_Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, __uint64* a2) { + R(); + P(a0); + P(a1); + U(0); + C(165); +} +void log_Z3_get_array_sort_domain(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(166); +} +void log_Z3_get_array_sort_range(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(167); +} +void log_Z3_get_tuple_sort_mk_decl(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(168); +} +void log_Z3_get_tuple_sort_num_fields(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(169); +} +void log_Z3_get_tuple_sort_field_decl(Z3_context a0, Z3_sort a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(170); +} +void log_Z3_get_datatype_sort_num_constructors(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(171); +} +void log_Z3_get_datatype_sort_constructor(Z3_context a0, Z3_sort a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(172); +} +void log_Z3_get_datatype_sort_recognizer(Z3_context a0, Z3_sort a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(173); +} +void log_Z3_get_datatype_sort_constructor_accessor(Z3_context a0, Z3_sort a1, unsigned a2, unsigned a3) { + R(); + P(a0); + P(a1); + U(a2); + U(a3); + C(174); +} +void log_Z3_get_relation_arity(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(175); +} +void log_Z3_get_relation_column(Z3_context a0, Z3_sort a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(176); +} +void log_Z3_func_decl_to_ast(Z3_context a0, Z3_func_decl a1) { + R(); + P(a0); + P(a1); + C(177); +} +void log_Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2) { + R(); + P(a0); + P(a1); + P(a2); + C(178); +} +void log_Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1) { + R(); + P(a0); + P(a1); + C(179); +} +void log_Z3_get_decl_name(Z3_context a0, Z3_func_decl a1) { + R(); + P(a0); + P(a1); + C(180); +} +void log_Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1) { + R(); + P(a0); + P(a1); + C(181); +} +void log_Z3_get_domain_size(Z3_context a0, Z3_func_decl a1) { + R(); + P(a0); + P(a1); + C(182); +} +void log_Z3_get_arity(Z3_context a0, Z3_func_decl a1) { + R(); + P(a0); + P(a1); + C(183); +} +void log_Z3_get_domain(Z3_context a0, Z3_func_decl a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(184); +} +void log_Z3_get_range(Z3_context a0, Z3_func_decl a1) { + R(); + P(a0); + P(a1); + C(185); +} +void log_Z3_get_decl_num_parameters(Z3_context a0, Z3_func_decl a1) { + R(); + P(a0); + P(a1); + C(186); +} +void log_Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(187); +} +void log_Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(188); +} +void log_Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(189); +} +void log_Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(190); +} +void log_Z3_get_decl_sort_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(191); +} +void log_Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(192); +} +void log_Z3_get_decl_func_decl_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(193); +} +void log_Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(194); +} +void log_Z3_app_to_ast(Z3_context a0, Z3_app a1) { + R(); + P(a0); + P(a1); + C(195); +} +void log_Z3_get_app_decl(Z3_context a0, Z3_app a1) { + R(); + P(a0); + P(a1); + C(196); +} +void log_Z3_get_app_num_args(Z3_context a0, Z3_app a1) { + R(); + P(a0); + P(a1); + C(197); +} +void log_Z3_get_app_arg(Z3_context a0, Z3_app a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(198); +} +void log_Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(199); +} +void log_Z3_get_ast_id(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(200); +} +void log_Z3_get_ast_hash(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(201); +} +void log_Z3_get_sort(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(202); +} +void log_Z3_is_well_sorted(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(203); +} +void log_Z3_get_bool_value(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(204); +} +void log_Z3_get_ast_kind(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(205); +} +void log_Z3_is_app(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(206); +} +void log_Z3_is_numeral_ast(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(207); +} +void log_Z3_is_algebraic_number(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(208); +} +void log_Z3_to_app(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(209); +} +void log_Z3_to_func_decl(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(210); +} +void log_Z3_get_numeral_string(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(211); +} +void log_Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(212); +} +void log_Z3_get_numerator(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(213); +} +void log_Z3_get_denominator(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(214); +} +void log_Z3_get_numeral_small(Z3_context a0, Z3_ast a1, __int64* a2, __int64* a3) { + R(); + P(a0); + P(a1); + I(0); + I(0); + C(215); +} +void log_Z3_get_numeral_int(Z3_context a0, Z3_ast a1, int* a2) { + R(); + P(a0); + P(a1); + I(0); + C(216); +} +void log_Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, unsigned* a2) { + R(); + P(a0); + P(a1); + U(0); + C(217); +} +void log_Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, __uint64* a2) { + R(); + P(a0); + P(a1); + U(0); + C(218); +} +void log_Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, __int64* a2) { + R(); + P(a0); + P(a1); + I(0); + C(219); +} +void log_Z3_get_numeral_rational_int64(Z3_context a0, Z3_ast a1, __int64* a2, __int64* a3) { + R(); + P(a0); + P(a1); + I(0); + I(0); + C(220); +} +void log_Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(221); +} +void log_Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(222); +} +void log_Z3_pattern_to_ast(Z3_context a0, Z3_pattern a1) { + R(); + P(a0); + P(a1); + C(223); +} +void log_Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1) { + R(); + P(a0); + P(a1); + C(224); +} +void log_Z3_get_pattern(Z3_context a0, Z3_pattern a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(225); +} +void log_Z3_get_index_value(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(226); +} +void log_Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(227); +} +void log_Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(228); +} +void log_Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(229); +} +void log_Z3_get_quantifier_pattern_ast(Z3_context a0, Z3_ast a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(230); +} +void log_Z3_get_quantifier_num_no_patterns(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(231); +} +void log_Z3_get_quantifier_no_pattern_ast(Z3_context a0, Z3_ast a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(232); +} +void log_Z3_get_quantifier_num_bound(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(233); +} +void log_Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(234); +} +void log_Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(235); +} +void log_Z3_get_quantifier_body(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(236); +} +void log_Z3_simplify(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(237); +} +void log_Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2) { + R(); + P(a0); + P(a1); + P(a2); + C(238); +} +void log_Z3_simplify_get_help(Z3_context a0) { + R(); + P(a0); + C(239); +} +void log_Z3_simplify_get_param_descrs(Z3_context a0) { + R(); + P(a0); + C(240); +} +void log_Z3_update_term(Z3_context a0, Z3_ast a1, unsigned a2, Z3_ast const * a3) { + R(); + P(a0); + P(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + C(241); +} +void log_Z3_substitute(Z3_context a0, Z3_ast a1, unsigned a2, Z3_ast const * a3, Z3_ast const * a4) { + R(); + P(a0); + P(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + for (unsigned i = 0; i < a2; i++) { P(a4[i]); } + Ap(a2); + C(242); +} +void log_Z3_substitute_vars(Z3_context a0, Z3_ast a1, unsigned a2, Z3_ast const * a3) { + R(); + P(a0); + P(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + C(243); +} +void log_Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2) { + R(); + P(a0); + P(a1); + P(a2); + C(244); +} +void log_Z3_model_inc_ref(Z3_context a0, Z3_model a1) { + R(); + P(a0); + P(a1); + C(245); +} +void log_Z3_model_dec_ref(Z3_context a0, Z3_model a1) { + R(); + P(a0); + P(a1); + C(246); +} +void log_Z3_model_eval(Z3_context a0, Z3_model a1, Z3_ast a2, Z3_bool a3, Z3_ast* a4) { + R(); + P(a0); + P(a1); + P(a2); + I(a3); + P(0); + C(247); +} +void log_Z3_model_get_const_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2) { + R(); + P(a0); + P(a1); + P(a2); + C(248); +} +void log_Z3_model_get_func_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2) { + R(); + P(a0); + P(a1); + P(a2); + C(249); +} +void log_Z3_model_get_num_consts(Z3_context a0, Z3_model a1) { + R(); + P(a0); + P(a1); + C(250); +} +void log_Z3_model_get_const_decl(Z3_context a0, Z3_model a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(251); +} +void log_Z3_model_get_num_funcs(Z3_context a0, Z3_model a1) { + R(); + P(a0); + P(a1); + C(252); +} +void log_Z3_model_get_func_decl(Z3_context a0, Z3_model a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(253); +} +void log_Z3_model_get_num_sorts(Z3_context a0, Z3_model a1) { + R(); + P(a0); + P(a1); + C(254); +} +void log_Z3_model_get_sort(Z3_context a0, Z3_model a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(255); +} +void log_Z3_model_get_sort_universe(Z3_context a0, Z3_model a1, Z3_sort a2) { + R(); + P(a0); + P(a1); + P(a2); + C(256); +} +void log_Z3_is_as_array(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(257); +} +void log_Z3_get_as_array_func_decl(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(258); +} +void log_Z3_func_interp_inc_ref(Z3_context a0, Z3_func_interp a1) { + R(); + P(a0); + P(a1); + C(259); +} +void log_Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1) { + R(); + P(a0); + P(a1); + C(260); +} +void log_Z3_func_interp_get_num_entries(Z3_context a0, Z3_func_interp a1) { + R(); + P(a0); + P(a1); + C(261); +} +void log_Z3_func_interp_get_entry(Z3_context a0, Z3_func_interp a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(262); +} +void log_Z3_func_interp_get_else(Z3_context a0, Z3_func_interp a1) { + R(); + P(a0); + P(a1); + C(263); +} +void log_Z3_func_interp_get_arity(Z3_context a0, Z3_func_interp a1) { + R(); + P(a0); + P(a1); + C(264); +} +void log_Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1) { + R(); + P(a0); + P(a1); + C(265); +} +void log_Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1) { + R(); + P(a0); + P(a1); + C(266); +} +void log_Z3_func_entry_get_value(Z3_context a0, Z3_func_entry a1) { + R(); + P(a0); + P(a1); + C(267); +} +void log_Z3_func_entry_get_num_args(Z3_context a0, Z3_func_entry a1) { + R(); + P(a0); + P(a1); + C(268); +} +void log_Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(269); +} +void log_Z3_toggle_warning_messages(Z3_bool a0) { + R(); + I(a0); + C(270); +} +void log_Z3_set_ast_print_mode(Z3_context a0, Z3_ast_print_mode a1) { + R(); + P(a0); + U(static_cast(a1)); + C(271); +} +void log_Z3_ast_to_string(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(272); +} +void log_Z3_pattern_to_string(Z3_context a0, Z3_pattern a1) { + R(); + P(a0); + P(a1); + C(273); +} +void log_Z3_sort_to_string(Z3_context a0, Z3_sort a1) { + R(); + P(a0); + P(a1); + C(274); +} +void log_Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1) { + R(); + P(a0); + P(a1); + C(275); +} +void log_Z3_model_to_string(Z3_context a0, Z3_model a1) { + R(); + P(a0); + P(a1); + C(276); +} +void log_Z3_benchmark_to_smtlib_string(Z3_context a0, Z3_string a1, Z3_string a2, Z3_string a3, Z3_string a4, unsigned a5, Z3_ast const * a6, Z3_ast a7) { + R(); + P(a0); + S(a1); + S(a2); + S(a3); + S(a4); + U(a5); + for (unsigned i = 0; i < a5; i++) { P(a6[i]); } + Ap(a5); + P(a7); + C(277); +} +void log_Z3_parse_smtlib2_string(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7) { + R(); + P(a0); + S(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { Sy(a3[i]); } + Asy(a2); + for (unsigned i = 0; i < a2; i++) { P(a4[i]); } + Ap(a2); + U(a5); + for (unsigned i = 0; i < a5; i++) { Sy(a6[i]); } + Asy(a5); + for (unsigned i = 0; i < a5; i++) { P(a7[i]); } + Ap(a5); + C(278); +} +void log_Z3_parse_smtlib2_file(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7) { + R(); + P(a0); + S(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { Sy(a3[i]); } + Asy(a2); + for (unsigned i = 0; i < a2; i++) { P(a4[i]); } + Ap(a2); + U(a5); + for (unsigned i = 0; i < a5; i++) { Sy(a6[i]); } + Asy(a5); + for (unsigned i = 0; i < a5; i++) { P(a7[i]); } + Ap(a5); + C(279); +} +void log_Z3_parse_smtlib_string(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7) { + R(); + P(a0); + S(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { Sy(a3[i]); } + Asy(a2); + for (unsigned i = 0; i < a2; i++) { P(a4[i]); } + Ap(a2); + U(a5); + for (unsigned i = 0; i < a5; i++) { Sy(a6[i]); } + Asy(a5); + for (unsigned i = 0; i < a5; i++) { P(a7[i]); } + Ap(a5); + C(280); +} +void log_Z3_parse_smtlib_file(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7) { + R(); + P(a0); + S(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { Sy(a3[i]); } + Asy(a2); + for (unsigned i = 0; i < a2; i++) { P(a4[i]); } + Ap(a2); + U(a5); + for (unsigned i = 0; i < a5; i++) { Sy(a6[i]); } + Asy(a5); + for (unsigned i = 0; i < a5; i++) { P(a7[i]); } + Ap(a5); + C(281); +} +void log_Z3_get_smtlib_num_formulas(Z3_context a0) { + R(); + P(a0); + C(282); +} +void log_Z3_get_smtlib_formula(Z3_context a0, unsigned a1) { + R(); + P(a0); + U(a1); + C(283); +} +void log_Z3_get_smtlib_num_assumptions(Z3_context a0) { + R(); + P(a0); + C(284); +} +void log_Z3_get_smtlib_assumption(Z3_context a0, unsigned a1) { + R(); + P(a0); + U(a1); + C(285); +} +void log_Z3_get_smtlib_num_decls(Z3_context a0) { + R(); + P(a0); + C(286); +} +void log_Z3_get_smtlib_decl(Z3_context a0, unsigned a1) { + R(); + P(a0); + U(a1); + C(287); +} +void log_Z3_get_smtlib_num_sorts(Z3_context a0) { + R(); + P(a0); + C(288); +} +void log_Z3_get_smtlib_sort(Z3_context a0, unsigned a1) { + R(); + P(a0); + U(a1); + C(289); +} +void log_Z3_get_smtlib_error(Z3_context a0) { + R(); + P(a0); + C(290); +} +void log_Z3_parse_z3_string(Z3_context a0, Z3_string a1) { + R(); + P(a0); + S(a1); + C(291); +} +void log_Z3_parse_z3_file(Z3_context a0, Z3_string a1) { + R(); + P(a0); + S(a1); + C(292); +} +void log_Z3_get_error_code(Z3_context a0) { + R(); + P(a0); + C(293); +} +void log_Z3_set_error(Z3_context a0, Z3_error_code a1) { + R(); + P(a0); + U(static_cast(a1)); + C(294); +} +void log_Z3_get_error_msg(Z3_error_code a0) { + R(); + U(static_cast(a0)); + C(295); +} +void log_Z3_get_error_msg_ex(Z3_context a0, Z3_error_code a1) { + R(); + P(a0); + U(static_cast(a1)); + C(296); +} +void log_Z3_get_version(unsigned* a0, unsigned* a1, unsigned* a2, unsigned* a3) { + R(); + U(0); + U(0); + U(0); + U(0); + C(297); +} +void log_Z3_reset_memory() { + R(); + C(298); +} +void log_Z3_mk_fixedpoint(Z3_context a0) { + R(); + P(a0); + C(299); +} +void log_Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1) { + R(); + P(a0); + P(a1); + C(300); +} +void log_Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1) { + R(); + P(a0); + P(a1); + C(301); +} +void log_Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, Z3_symbol a3) { + R(); + P(a0); + P(a1); + P(a2); + Sy(a3); + C(302); +} +void log_Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, unsigned a3, unsigned const * a4) { + R(); + P(a0); + P(a1); + P(a2); + U(a3); + for (unsigned i = 0; i < a3; i++) { U(a4[i]); } + Au(a3); + C(303); +} +void log_Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(304); +} +void log_Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(305); +} +void log_Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, unsigned a2, Z3_func_decl const * a3) { + R(); + P(a0); + P(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + C(306); +} +void log_Z3_fixedpoint_get_answer(Z3_context a0, Z3_fixedpoint a1) { + R(); + P(a0); + P(a1); + C(307); +} +void log_Z3_fixedpoint_get_reason_unknown(Z3_context a0, Z3_fixedpoint a1) { + R(); + P(a0); + P(a1); + C(308); +} +void log_Z3_fixedpoint_update_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, Z3_symbol a3) { + R(); + P(a0); + P(a1); + P(a2); + Sy(a3); + C(309); +} +void log_Z3_fixedpoint_get_num_levels(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2) { + R(); + P(a0); + P(a1); + P(a2); + C(310); +} +void log_Z3_fixedpoint_get_cover_delta(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3) { + R(); + P(a0); + P(a1); + I(a2); + P(a3); + C(311); +} +void log_Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4) { + R(); + P(a0); + P(a1); + I(a2); + P(a3); + P(a4); + C(312); +} +void log_Z3_fixedpoint_get_statistics(Z3_context a0, Z3_fixedpoint a1) { + R(); + P(a0); + P(a1); + C(313); +} +void log_Z3_fixedpoint_register_relation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2) { + R(); + P(a0); + P(a1); + P(a2); + C(314); +} +void log_Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, unsigned a3, Z3_symbol const * a4) { + R(); + P(a0); + P(a1); + P(a2); + U(a3); + for (unsigned i = 0; i < a3; i++) { Sy(a4[i]); } + Asy(a3); + C(315); +} +void log_Z3_fixedpoint_simplify_rules(Z3_context a0, Z3_fixedpoint a1, unsigned a2, Z3_ast const * a3, unsigned a4, Z3_func_decl const * a5) { + R(); + P(a0); + P(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + U(a4); + for (unsigned i = 0; i < a4; i++) { P(a5[i]); } + Ap(a4); + C(316); +} +void log_Z3_fixedpoint_set_params(Z3_context a0, Z3_fixedpoint a1, Z3_params a2) { + R(); + P(a0); + P(a1); + P(a2); + C(317); +} +void log_Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1) { + R(); + P(a0); + P(a1); + C(318); +} +void log_Z3_fixedpoint_get_param_descrs(Z3_context a0, Z3_fixedpoint a1) { + R(); + P(a0); + P(a1); + C(319); +} +void log_Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, unsigned a2, Z3_ast const * a3) { + R(); + P(a0); + P(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + C(320); +} +void log_Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1) { + R(); + P(a0); + P(a1); + C(321); +} +void log_Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1) { + R(); + P(a0); + P(a1); + C(322); +} +void log_Z3_mk_ast_vector(Z3_context a0) { + R(); + P(a0); + C(323); +} +void log_Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1) { + R(); + P(a0); + P(a1); + C(324); +} +void log_Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1) { + R(); + P(a0); + P(a1); + C(325); +} +void log_Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1) { + R(); + P(a0); + P(a1); + C(326); +} +void log_Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(327); +} +void log_Z3_ast_vector_set(Z3_context a0, Z3_ast_vector a1, unsigned a2, Z3_ast a3) { + R(); + P(a0); + P(a1); + U(a2); + P(a3); + C(328); +} +void log_Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(329); +} +void log_Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(330); +} +void log_Z3_ast_vector_translate(Z3_context a0, Z3_ast_vector a1, Z3_context a2) { + R(); + P(a0); + P(a1); + P(a2); + C(331); +} +void log_Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1) { + R(); + P(a0); + P(a1); + C(332); +} +void log_Z3_mk_ast_map(Z3_context a0) { + R(); + P(a0); + C(333); +} +void log_Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1) { + R(); + P(a0); + P(a1); + C(334); +} +void log_Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1) { + R(); + P(a0); + P(a1); + C(335); +} +void log_Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(336); +} +void log_Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(337); +} +void log_Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3) { + R(); + P(a0); + P(a1); + P(a2); + P(a3); + C(338); +} +void log_Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(339); +} +void log_Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1) { + R(); + P(a0); + P(a1); + C(340); +} +void log_Z3_ast_map_size(Z3_context a0, Z3_ast_map a1) { + R(); + P(a0); + P(a1); + C(341); +} +void log_Z3_ast_map_keys(Z3_context a0, Z3_ast_map a1) { + R(); + P(a0); + P(a1); + C(342); +} +void log_Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1) { + R(); + P(a0); + P(a1); + C(343); +} +void log_Z3_mk_goal(Z3_context a0, Z3_bool a1, Z3_bool a2, Z3_bool a3) { + R(); + P(a0); + I(a1); + I(a2); + I(a3); + C(344); +} +void log_Z3_goal_inc_ref(Z3_context a0, Z3_goal a1) { + R(); + P(a0); + P(a1); + C(345); +} +void log_Z3_goal_dec_ref(Z3_context a0, Z3_goal a1) { + R(); + P(a0); + P(a1); + C(346); +} +void log_Z3_goal_precision(Z3_context a0, Z3_goal a1) { + R(); + P(a0); + P(a1); + C(347); +} +void log_Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(348); +} +void log_Z3_goal_inconsistent(Z3_context a0, Z3_goal a1) { + R(); + P(a0); + P(a1); + C(349); +} +void log_Z3_goal_depth(Z3_context a0, Z3_goal a1) { + R(); + P(a0); + P(a1); + C(350); +} +void log_Z3_goal_reset(Z3_context a0, Z3_goal a1) { + R(); + P(a0); + P(a1); + C(351); +} +void log_Z3_goal_size(Z3_context a0, Z3_goal a1) { + R(); + P(a0); + P(a1); + C(352); +} +void log_Z3_goal_formula(Z3_context a0, Z3_goal a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(353); +} +void log_Z3_goal_num_exprs(Z3_context a0, Z3_goal a1) { + R(); + P(a0); + P(a1); + C(354); +} +void log_Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1) { + R(); + P(a0); + P(a1); + C(355); +} +void log_Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1) { + R(); + P(a0); + P(a1); + C(356); +} +void log_Z3_goal_translate(Z3_context a0, Z3_goal a1, Z3_context a2) { + R(); + P(a0); + P(a1); + P(a2); + C(357); +} +void log_Z3_goal_to_string(Z3_context a0, Z3_goal a1) { + R(); + P(a0); + P(a1); + C(358); +} +void log_Z3_mk_tactic(Z3_context a0, Z3_string a1) { + R(); + P(a0); + S(a1); + C(359); +} +void log_Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1) { + R(); + P(a0); + P(a1); + C(360); +} +void log_Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1) { + R(); + P(a0); + P(a1); + C(361); +} +void log_Z3_mk_probe(Z3_context a0, Z3_string a1) { + R(); + P(a0); + S(a1); + C(362); +} +void log_Z3_probe_inc_ref(Z3_context a0, Z3_probe a1) { + R(); + P(a0); + P(a1); + C(363); +} +void log_Z3_probe_dec_ref(Z3_context a0, Z3_probe a1) { + R(); + P(a0); + P(a1); + C(364); +} +void log_Z3_tactic_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2) { + R(); + P(a0); + P(a1); + P(a2); + C(365); +} +void log_Z3_tactic_or_else(Z3_context a0, Z3_tactic a1, Z3_tactic a2) { + R(); + P(a0); + P(a1); + P(a2); + C(366); +} +void log_Z3_tactic_par_or(Z3_context a0, unsigned a1, Z3_tactic const * a2) { + R(); + P(a0); + U(a1); + for (unsigned i = 0; i < a1; i++) { P(a2[i]); } + Ap(a1); + C(367); +} +void log_Z3_tactic_par_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2) { + R(); + P(a0); + P(a1); + P(a2); + C(368); +} +void log_Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(369); +} +void log_Z3_tactic_when(Z3_context a0, Z3_probe a1, Z3_tactic a2) { + R(); + P(a0); + P(a1); + P(a2); + C(370); +} +void log_Z3_tactic_cond(Z3_context a0, Z3_probe a1, Z3_tactic a2, Z3_tactic a3) { + R(); + P(a0); + P(a1); + P(a2); + P(a3); + C(371); +} +void log_Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(372); +} +void log_Z3_tactic_skip(Z3_context a0) { + R(); + P(a0); + C(373); +} +void log_Z3_tactic_fail(Z3_context a0) { + R(); + P(a0); + C(374); +} +void log_Z3_tactic_fail_if(Z3_context a0, Z3_probe a1) { + R(); + P(a0); + P(a1); + C(375); +} +void log_Z3_tactic_fail_if_not_decided(Z3_context a0) { + R(); + P(a0); + C(376); +} +void log_Z3_tactic_using_params(Z3_context a0, Z3_tactic a1, Z3_params a2) { + R(); + P(a0); + P(a1); + P(a2); + C(377); +} +void log_Z3_probe_const(Z3_context a0, double a1) { + R(); + P(a0); + D(a1); + C(378); +} +void log_Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2) { + R(); + P(a0); + P(a1); + P(a2); + C(379); +} +void log_Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2) { + R(); + P(a0); + P(a1); + P(a2); + C(380); +} +void log_Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2) { + R(); + P(a0); + P(a1); + P(a2); + C(381); +} +void log_Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2) { + R(); + P(a0); + P(a1); + P(a2); + C(382); +} +void log_Z3_probe_eq(Z3_context a0, Z3_probe a1, Z3_probe a2) { + R(); + P(a0); + P(a1); + P(a2); + C(383); +} +void log_Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2) { + R(); + P(a0); + P(a1); + P(a2); + C(384); +} +void log_Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2) { + R(); + P(a0); + P(a1); + P(a2); + C(385); +} +void log_Z3_probe_not(Z3_context a0, Z3_probe a1) { + R(); + P(a0); + P(a1); + C(386); +} +void log_Z3_get_num_tactics(Z3_context a0) { + R(); + P(a0); + C(387); +} +void log_Z3_get_tactic_name(Z3_context a0, unsigned a1) { + R(); + P(a0); + U(a1); + C(388); +} +void log_Z3_get_num_probes(Z3_context a0) { + R(); + P(a0); + C(389); +} +void log_Z3_get_probe_name(Z3_context a0, unsigned a1) { + R(); + P(a0); + U(a1); + C(390); +} +void log_Z3_tactic_get_help(Z3_context a0, Z3_tactic a1) { + R(); + P(a0); + P(a1); + C(391); +} +void log_Z3_tactic_get_param_descrs(Z3_context a0, Z3_tactic a1) { + R(); + P(a0); + P(a1); + C(392); +} +void log_Z3_tactic_get_descr(Z3_context a0, Z3_string a1) { + R(); + P(a0); + S(a1); + C(393); +} +void log_Z3_probe_get_descr(Z3_context a0, Z3_string a1) { + R(); + P(a0); + S(a1); + C(394); +} +void log_Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2) { + R(); + P(a0); + P(a1); + P(a2); + C(395); +} +void log_Z3_tactic_apply(Z3_context a0, Z3_tactic a1, Z3_goal a2) { + R(); + P(a0); + P(a1); + P(a2); + C(396); +} +void log_Z3_tactic_apply_ex(Z3_context a0, Z3_tactic a1, Z3_goal a2, Z3_params a3) { + R(); + P(a0); + P(a1); + P(a2); + P(a3); + C(397); +} +void log_Z3_apply_result_inc_ref(Z3_context a0, Z3_apply_result a1) { + R(); + P(a0); + P(a1); + C(398); +} +void log_Z3_apply_result_dec_ref(Z3_context a0, Z3_apply_result a1) { + R(); + P(a0); + P(a1); + C(399); +} +void log_Z3_apply_result_to_string(Z3_context a0, Z3_apply_result a1) { + R(); + P(a0); + P(a1); + C(400); +} +void log_Z3_apply_result_get_num_subgoals(Z3_context a0, Z3_apply_result a1) { + R(); + P(a0); + P(a1); + C(401); +} +void log_Z3_apply_result_get_subgoal(Z3_context a0, Z3_apply_result a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(402); +} +void log_Z3_apply_result_convert_model(Z3_context a0, Z3_apply_result a1, unsigned a2, Z3_model a3) { + R(); + P(a0); + P(a1); + U(a2); + P(a3); + C(403); +} +void log_Z3_mk_solver(Z3_context a0) { + R(); + P(a0); + C(404); +} +void log_Z3_mk_simple_solver(Z3_context a0) { + R(); + P(a0); + C(405); +} +void log_Z3_mk_solver_for_logic(Z3_context a0, Z3_symbol a1) { + R(); + P(a0); + Sy(a1); + C(406); +} +void log_Z3_mk_solver_from_tactic(Z3_context a0, Z3_tactic a1) { + R(); + P(a0); + P(a1); + C(407); +} +void log_Z3_solver_get_help(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(408); +} +void log_Z3_solver_get_param_descrs(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(409); +} +void log_Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2) { + R(); + P(a0); + P(a1); + P(a2); + C(410); +} +void log_Z3_solver_inc_ref(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(411); +} +void log_Z3_solver_dec_ref(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(412); +} +void log_Z3_solver_push(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(413); +} +void log_Z3_solver_pop(Z3_context a0, Z3_solver a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(414); +} +void log_Z3_solver_reset(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(415); +} +void log_Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(416); +} +void log_Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2) { + R(); + P(a0); + P(a1); + P(a2); + C(417); +} +void log_Z3_solver_get_assertions(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(418); +} +void log_Z3_solver_check(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(419); +} +void log_Z3_solver_check_assumptions(Z3_context a0, Z3_solver a1, unsigned a2, Z3_ast const * a3) { + R(); + P(a0); + P(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + C(420); +} +void log_Z3_solver_get_model(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(421); +} +void log_Z3_solver_get_proof(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(422); +} +void log_Z3_solver_get_unsat_core(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(423); +} +void log_Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(424); +} +void log_Z3_solver_get_statistics(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(425); +} +void log_Z3_solver_to_string(Z3_context a0, Z3_solver a1) { + R(); + P(a0); + P(a1); + C(426); +} +void log_Z3_stats_to_string(Z3_context a0, Z3_stats a1) { + R(); + P(a0); + P(a1); + C(427); +} +void log_Z3_stats_inc_ref(Z3_context a0, Z3_stats a1) { + R(); + P(a0); + P(a1); + C(428); +} +void log_Z3_stats_dec_ref(Z3_context a0, Z3_stats a1) { + R(); + P(a0); + P(a1); + C(429); +} +void log_Z3_stats_size(Z3_context a0, Z3_stats a1) { + R(); + P(a0); + P(a1); + C(430); +} +void log_Z3_stats_get_key(Z3_context a0, Z3_stats a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(431); +} +void log_Z3_stats_is_uint(Z3_context a0, Z3_stats a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(432); +} +void log_Z3_stats_is_double(Z3_context a0, Z3_stats a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(433); +} +void log_Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(434); +} +void log_Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(435); +} +void log_Z3_mk_injective_function(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_sort const * a3, Z3_sort a4) { + R(); + P(a0); + Sy(a1); + U(a2); + for (unsigned i = 0; i < a2; i++) { P(a3[i]); } + Ap(a2); + P(a4); + C(436); +} +void log_Z3_set_logic(Z3_context a0, Z3_string a1) { + R(); + P(a0); + S(a1); + C(437); +} +void log_Z3_push(Z3_context a0) { + R(); + P(a0); + C(438); +} +void log_Z3_pop(Z3_context a0, unsigned a1) { + R(); + P(a0); + U(a1); + C(439); +} +void log_Z3_get_num_scopes(Z3_context a0) { + R(); + P(a0); + C(440); +} +void log_Z3_persist_ast(Z3_context a0, Z3_ast a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(441); +} +void log_Z3_assert_cnstr(Z3_context a0, Z3_ast a1) { + R(); + P(a0); + P(a1); + C(442); +} +void log_Z3_check_and_get_model(Z3_context a0, Z3_model* a1) { + R(); + P(a0); + P(0); + C(443); +} +void log_Z3_check(Z3_context a0) { + R(); + P(a0); + C(444); +} +void log_Z3_check_assumptions(Z3_context a0, unsigned a1, Z3_ast const * a2, Z3_model* a3, Z3_ast* a4, unsigned* a5, Z3_ast* a6) { + R(); + P(a0); + U(a1); + for (unsigned i = 0; i < a1; i++) { P(a2[i]); } + Ap(a1); + P(0); + P(0); + U(0); + for (unsigned i = 0; i < a1; i++) { P(0); } + Ap(a1); + C(445); +} +void log_Z3_get_implied_equalities(Z3_context a0, unsigned a1, Z3_ast const * a2, unsigned* a3) { + R(); + P(a0); + U(a1); + for (unsigned i = 0; i < a1; i++) { P(a2[i]); } + Ap(a1); + for (unsigned i = 0; i < a1; i++) { U(0); } + Au(a1); + C(446); +} +void log_Z3_del_model(Z3_context a0, Z3_model a1) { + R(); + P(a0); + P(a1); + C(447); +} +void log_Z3_soft_check_cancel(Z3_context a0) { + R(); + P(a0); + C(448); +} +void log_Z3_get_search_failure(Z3_context a0) { + R(); + P(a0); + C(449); +} +void log_Z3_mk_label(Z3_context a0, Z3_symbol a1, Z3_bool a2, Z3_ast a3) { + R(); + P(a0); + Sy(a1); + I(a2); + P(a3); + C(450); +} +void log_Z3_get_relevant_labels(Z3_context a0) { + R(); + P(a0); + C(451); +} +void log_Z3_get_relevant_literals(Z3_context a0) { + R(); + P(a0); + C(452); +} +void log_Z3_get_guessed_literals(Z3_context a0) { + R(); + P(a0); + C(453); +} +void log_Z3_del_literals(Z3_context a0, Z3_literals a1) { + R(); + P(a0); + P(a1); + C(454); +} +void log_Z3_get_num_literals(Z3_context a0, Z3_literals a1) { + R(); + P(a0); + P(a1); + C(455); +} +void log_Z3_get_label_symbol(Z3_context a0, Z3_literals a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(456); +} +void log_Z3_get_literal(Z3_context a0, Z3_literals a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(457); +} +void log_Z3_disable_literal(Z3_context a0, Z3_literals a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(458); +} +void log_Z3_block_literals(Z3_context a0, Z3_literals a1) { + R(); + P(a0); + P(a1); + C(459); +} +void log_Z3_get_model_num_constants(Z3_context a0, Z3_model a1) { + R(); + P(a0); + P(a1); + C(460); +} +void log_Z3_get_model_constant(Z3_context a0, Z3_model a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(461); +} +void log_Z3_get_model_num_funcs(Z3_context a0, Z3_model a1) { + R(); + P(a0); + P(a1); + C(462); +} +void log_Z3_get_model_func_decl(Z3_context a0, Z3_model a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(463); +} +void log_Z3_eval_func_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, Z3_ast* a3) { + R(); + P(a0); + P(a1); + P(a2); + P(0); + C(464); +} +void log_Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, unsigned* a3) { + R(); + P(a0); + P(a1); + P(a2); + U(0); + C(465); +} +void log_Z3_get_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, unsigned a3, Z3_ast* a4, Z3_ast* a5, Z3_ast* a6) { + R(); + P(a0); + P(a1); + P(a2); + U(a3); + for (unsigned i = 0; i < a3; i++) { P(0); } + Ap(a3); + for (unsigned i = 0; i < a3; i++) { P(0); } + Ap(a3); + P(0); + C(466); +} +void log_Z3_get_model_func_else(Z3_context a0, Z3_model a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(467); +} +void log_Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, unsigned a2) { + R(); + P(a0); + P(a1); + U(a2); + C(468); +} +void log_Z3_get_model_func_entry_num_args(Z3_context a0, Z3_model a1, unsigned a2, unsigned a3) { + R(); + P(a0); + P(a1); + U(a2); + U(a3); + C(469); +} +void log_Z3_get_model_func_entry_arg(Z3_context a0, Z3_model a1, unsigned a2, unsigned a3, unsigned a4) { + R(); + P(a0); + P(a1); + U(a2); + U(a3); + U(a4); + C(470); +} +void log_Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, unsigned a2, unsigned a3) { + R(); + P(a0); + P(a1); + U(a2); + U(a3); + C(471); +} +void log_Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, Z3_ast* a3) { + R(); + P(a0); + P(a1); + P(a2); + P(0); + C(472); +} +void log_Z3_eval_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, unsigned a3, Z3_ast const * a4, Z3_ast* a5) { + R(); + P(a0); + P(a1); + P(a2); + U(a3); + for (unsigned i = 0; i < a3; i++) { P(a4[i]); } + Ap(a3); + P(0); + C(473); +} +void log_Z3_context_to_string(Z3_context a0) { + R(); + P(a0); + C(474); +} +void log_Z3_statistics_to_string(Z3_context a0) { + R(); + P(a0); + C(475); +} +void log_Z3_get_context_assignment(Z3_context a0) { + R(); + P(a0); + C(476); +} diff --git a/lib/api_log_macros.h b/lib/api_log_macros.h index ac5e806c2..62c504372 100644 --- a/lib/api_log_macros.h +++ b/lib/api_log_macros.h @@ -1,977 +1,977 @@ -// Automatically generated file, generator: api.py -#include"z3.h" -extern std::ostream * g_z3_log; -extern bool g_z3_log_enabled; -class z3_log_ctx { bool m_prev; public: z3_log_ctx():m_prev(g_z3_log_enabled) { g_z3_log_enabled = false; } ~z3_log_ctx() { g_z3_log_enabled = m_prev; } bool enabled() const { return m_prev; } }; -inline void SetR(void * obj) { *g_z3_log << "= " << obj << "\n"; } -inline void SetO(void * obj, unsigned pos) { *g_z3_log << "* " << obj << " " << pos << "\n"; } -inline void SetAO(void * obj, unsigned pos, unsigned idx) { *g_z3_log << "@ " << obj << " " << pos << " " << idx << "\n"; } -#define RETURN_Z3(Z3RES) if (_LOG_CTX.enabled()) { SetR(Z3RES); } return Z3RES -void _Z3_append_log(char const * msg); -void log_Z3_mk_config(); -#define LOG_Z3_mk_config() z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_config(); } -void log_Z3_del_config(Z3_config a0); -#define LOG_Z3_del_config(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_del_config(_ARG0); } -void log_Z3_set_param_value(Z3_config a0, Z3_string a1, Z3_string a2); -#define LOG_Z3_set_param_value(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_set_param_value(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_context(Z3_config a0); -#define LOG_Z3_mk_context(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_context(_ARG0); } -void log_Z3_mk_context_rc(Z3_config a0); -#define LOG_Z3_mk_context_rc(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_context_rc(_ARG0); } -void log_Z3_set_logic(Z3_context a0, Z3_string a1); -#define LOG_Z3_set_logic(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_set_logic(_ARG0, _ARG1); } -void log_Z3_del_context(Z3_context a0); -#define LOG_Z3_del_context(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_del_context(_ARG0); } -void log_Z3_inc_ref(Z3_context a0, Z3_ast a1); -#define LOG_Z3_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_inc_ref(_ARG0, _ARG1); } -void log_Z3_dec_ref(Z3_context a0, Z3_ast a1); -#define LOG_Z3_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_dec_ref(_ARG0, _ARG1); } -void log_Z3_toggle_warning_messages(Z3_bool a0); -#define LOG_Z3_toggle_warning_messages(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_toggle_warning_messages(_ARG0); } -void log_Z3_update_param_value(Z3_context a0, Z3_string a1, Z3_string a2); -#define LOG_Z3_update_param_value(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_update_param_value(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_param_value(Z3_context a0, Z3_string a1, Z3_string* a2); -#define LOG_Z3_get_param_value(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_param_value(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_int_symbol(Z3_context a0, int a1); -#define LOG_Z3_mk_int_symbol(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_int_symbol(_ARG0, _ARG1); } -void log_Z3_mk_string_symbol(Z3_context a0, Z3_string a1); -#define LOG_Z3_mk_string_symbol(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_string_symbol(_ARG0, _ARG1); } -void log_Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2); -#define LOG_Z3_is_eq_sort(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_eq_sort(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_uninterpreted_sort(Z3_context a0, Z3_symbol a1); -#define LOG_Z3_mk_uninterpreted_sort(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_uninterpreted_sort(_ARG0, _ARG1); } -void log_Z3_mk_bool_sort(Z3_context a0); -#define LOG_Z3_mk_bool_sort(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bool_sort(_ARG0); } -void log_Z3_mk_int_sort(Z3_context a0); -#define LOG_Z3_mk_int_sort(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_int_sort(_ARG0); } -void log_Z3_mk_real_sort(Z3_context a0); -#define LOG_Z3_mk_real_sort(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_real_sort(_ARG0); } -void log_Z3_mk_bv_sort(Z3_context a0, unsigned a1); -#define LOG_Z3_mk_bv_sort(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bv_sort(_ARG0, _ARG1); } -void log_Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2); -#define LOG_Z3_mk_array_sort(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_array_sort(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_tuple_sort(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, Z3_func_decl* a5, Z3_func_decl* a6); -#define LOG_Z3_mk_tuple_sort(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6) z3_log_ctx _LOG_CTX; Z3_func_decl* Z3ARG5; unsigned Z3ARG2; Z3_func_decl* Z3ARG6; if (_LOG_CTX.enabled()) { log_Z3_mk_tuple_sort(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6); Z3ARG5 = _ARG5; Z3ARG2 = _ARG2; Z3ARG6 = _ARG6; } -#define RETURN_Z3_mk_tuple_sort(Z3RES) if (_LOG_CTX.enabled()) { SetR(Z3RES); SetO((Z3ARG5 == 0 ? 0 : *Z3ARG5), 5); for (unsigned i = 0; i < Z3ARG2; i++) { SetAO(Z3ARG6[i], 6, i); } } return Z3RES -void log_Z3_mk_enumeration_sort(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_symbol const * a3, Z3_func_decl* a4, Z3_func_decl* a5); -#define LOG_Z3_mk_enumeration_sort(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5) z3_log_ctx _LOG_CTX; unsigned Z3ARG2; Z3_func_decl* Z3ARG4; Z3_func_decl* Z3ARG5; if (_LOG_CTX.enabled()) { log_Z3_mk_enumeration_sort(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5); Z3ARG2 = _ARG2; Z3ARG4 = _ARG4; Z3ARG5 = _ARG5; } -#define RETURN_Z3_mk_enumeration_sort(Z3RES) if (_LOG_CTX.enabled()) { SetR(Z3RES); for (unsigned i = 0; i < Z3ARG2; i++) { SetAO(Z3ARG4[i], 4, i); } for (unsigned i = 0; i < Z3ARG2; i++) { SetAO(Z3ARG5[i], 5, i); } } return Z3RES -void log_Z3_mk_list_sort(Z3_context a0, Z3_symbol a1, Z3_sort a2, Z3_func_decl* a3, Z3_func_decl* a4, Z3_func_decl* a5, Z3_func_decl* a6, Z3_func_decl* a7, Z3_func_decl* a8); -#define LOG_Z3_mk_list_sort(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8) z3_log_ctx _LOG_CTX; Z3_func_decl* Z3ARG3; Z3_func_decl* Z3ARG4; Z3_func_decl* Z3ARG5; Z3_func_decl* Z3ARG6; Z3_func_decl* Z3ARG7; Z3_func_decl* Z3ARG8; if (_LOG_CTX.enabled()) { log_Z3_mk_list_sort(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8); Z3ARG3 = _ARG3; Z3ARG4 = _ARG4; Z3ARG5 = _ARG5; Z3ARG6 = _ARG6; Z3ARG7 = _ARG7; Z3ARG8 = _ARG8; } -#define RETURN_Z3_mk_list_sort(Z3RES) if (_LOG_CTX.enabled()) { SetR(Z3RES); SetO((Z3ARG3 == 0 ? 0 : *Z3ARG3), 3); SetO((Z3ARG4 == 0 ? 0 : *Z3ARG4), 4); SetO((Z3ARG5 == 0 ? 0 : *Z3ARG5), 5); SetO((Z3ARG6 == 0 ? 0 : *Z3ARG6), 6); SetO((Z3ARG7 == 0 ? 0 : *Z3ARG7), 7); SetO((Z3ARG8 == 0 ? 0 : *Z3ARG8), 8); } return Z3RES -void log_Z3_mk_constructor(Z3_context a0, Z3_symbol a1, Z3_symbol a2, unsigned a3, Z3_symbol const * a4, Z3_sort const * a5, unsigned const * a6); -#define LOG_Z3_mk_constructor(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_constructor(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6); } -void log_Z3_query_constructor(Z3_context a0, Z3_constructor a1, unsigned a2, Z3_func_decl* a3, Z3_func_decl* a4, Z3_func_decl* a5); -#define LOG_Z3_query_constructor(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5) z3_log_ctx _LOG_CTX; Z3_func_decl* Z3ARG3; Z3_func_decl* Z3ARG4; unsigned Z3ARG2; Z3_func_decl* Z3ARG5; if (_LOG_CTX.enabled()) { log_Z3_query_constructor(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5); Z3ARG3 = _ARG3; Z3ARG4 = _ARG4; Z3ARG2 = _ARG2; Z3ARG5 = _ARG5; } -#define RETURN_Z3_query_constructor if (_LOG_CTX.enabled()) { SetO((Z3ARG3 == 0 ? 0 : *Z3ARG3), 3); SetO((Z3ARG4 == 0 ? 0 : *Z3ARG4), 4); for (unsigned i = 0; i < Z3ARG2; i++) { SetAO(Z3ARG5[i], 5, i); } } return -void log_Z3_del_constructor(Z3_context a0, Z3_constructor a1); -#define LOG_Z3_del_constructor(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_del_constructor(_ARG0, _ARG1); } -void log_Z3_mk_datatype(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_constructor* a3); -#define LOG_Z3_mk_datatype(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; unsigned Z3ARG2; Z3_constructor* Z3ARG3; if (_LOG_CTX.enabled()) { log_Z3_mk_datatype(_ARG0, _ARG1, _ARG2, _ARG3); Z3ARG2 = _ARG2; Z3ARG3 = _ARG3; } -#define RETURN_Z3_mk_datatype(Z3RES) if (_LOG_CTX.enabled()) { SetR(Z3RES); for (unsigned i = 0; i < Z3ARG2; i++) { SetAO(Z3ARG3[i], 3, i); } } return Z3RES -void log_Z3_mk_constructor_list(Z3_context a0, unsigned a1, Z3_constructor const * a2); -#define LOG_Z3_mk_constructor_list(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_constructor_list(_ARG0, _ARG1, _ARG2); } -void log_Z3_del_constructor_list(Z3_context a0, Z3_constructor_list a1); -#define LOG_Z3_del_constructor_list(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_del_constructor_list(_ARG0, _ARG1); } -void log_Z3_mk_datatypes(Z3_context a0, unsigned a1, Z3_symbol const * a2, Z3_sort* a3, Z3_constructor_list* a4); -#define LOG_Z3_mk_datatypes(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; unsigned Z3ARG1; Z3_sort* Z3ARG3; Z3_constructor_list* Z3ARG4; if (_LOG_CTX.enabled()) { log_Z3_mk_datatypes(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); Z3ARG1 = _ARG1; Z3ARG3 = _ARG3; Z3ARG4 = _ARG4; } -#define RETURN_Z3_mk_datatypes if (_LOG_CTX.enabled()) { for (unsigned i = 0; i < Z3ARG1; i++) { SetAO(Z3ARG3[i], 3, i); } for (unsigned i = 0; i < Z3ARG1; i++) { SetAO(Z3ARG4[i], 4, i); } } return -void log_Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_is_eq_ast(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_eq_ast(_ARG0, _ARG1, _ARG2); } -void log_Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2); -#define LOG_Z3_is_eq_func_decl(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_eq_func_decl(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_func_decl(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_sort const * a3, Z3_sort a4); -#define LOG_Z3_mk_func_decl(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_func_decl(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } -void log_Z3_mk_app(Z3_context a0, Z3_func_decl a1, unsigned a2, Z3_ast const * a3); -#define LOG_Z3_mk_app(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_app(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_mk_const(Z3_context a0, Z3_symbol a1, Z3_sort a2); -#define LOG_Z3_mk_const(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_const(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_label(Z3_context a0, Z3_symbol a1, Z3_bool a2, Z3_ast a3); -#define LOG_Z3_mk_label(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_label(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_mk_fresh_func_decl(Z3_context a0, Z3_string a1, unsigned a2, Z3_sort const * a3, Z3_sort a4); -#define LOG_Z3_mk_fresh_func_decl(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_fresh_func_decl(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } -void log_Z3_mk_fresh_const(Z3_context a0, Z3_string a1, Z3_sort a2); -#define LOG_Z3_mk_fresh_const(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_fresh_const(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_true(Z3_context a0); -#define LOG_Z3_mk_true(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_true(_ARG0); } -void log_Z3_mk_false(Z3_context a0); -#define LOG_Z3_mk_false(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_false(_ARG0); } -void log_Z3_mk_eq(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_eq(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_eq(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_distinct(Z3_context a0, unsigned a1, Z3_ast const * a2); -#define LOG_Z3_mk_distinct(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_distinct(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_not(Z3_context a0, Z3_ast a1); -#define LOG_Z3_mk_not(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_not(_ARG0, _ARG1); } -void log_Z3_mk_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3); -#define LOG_Z3_mk_ite(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_ite(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_mk_iff(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_iff(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_iff(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_implies(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_implies(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_implies(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_xor(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_xor(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_xor(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_and(Z3_context a0, unsigned a1, Z3_ast const * a2); -#define LOG_Z3_mk_and(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_and(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_or(Z3_context a0, unsigned a1, Z3_ast const * a2); -#define LOG_Z3_mk_or(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_or(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_add(Z3_context a0, unsigned a1, Z3_ast const * a2); -#define LOG_Z3_mk_add(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_add(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_mul(Z3_context a0, unsigned a1, Z3_ast const * a2); -#define LOG_Z3_mk_mul(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_mul(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_sub(Z3_context a0, unsigned a1, Z3_ast const * a2); -#define LOG_Z3_mk_sub(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_sub(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_unary_minus(Z3_context a0, Z3_ast a1); -#define LOG_Z3_mk_unary_minus(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_unary_minus(_ARG0, _ARG1); } -void log_Z3_mk_div(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_div(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_div(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_mod(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_mod(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_mod(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_rem(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_rem(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_rem(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_power(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_power(_ARG0, _ARG1, _ARG2); } -void log_Z3_is_algebraic_number(Z3_context a0, Z3_ast a1); -#define LOG_Z3_is_algebraic_number(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_algebraic_number(_ARG0, _ARG1); } -void log_Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, unsigned a2); -#define LOG_Z3_get_algebraic_number_lower(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_algebraic_number_lower(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, unsigned a2); -#define LOG_Z3_get_algebraic_number_upper(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_algebraic_number_upper(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_lt(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_lt(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_lt(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_le(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_le(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_le(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_gt(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_gt(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_ge(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_ge(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_ge(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_int2real(Z3_context a0, Z3_ast a1); -#define LOG_Z3_mk_int2real(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_int2real(_ARG0, _ARG1); } -void log_Z3_mk_real2int(Z3_context a0, Z3_ast a1); -#define LOG_Z3_mk_real2int(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_real2int(_ARG0, _ARG1); } -void log_Z3_mk_is_int(Z3_context a0, Z3_ast a1); -#define LOG_Z3_mk_is_int(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_is_int(_ARG0, _ARG1); } -void log_Z3_mk_bvnot(Z3_context a0, Z3_ast a1); -#define LOG_Z3_mk_bvnot(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvnot(_ARG0, _ARG1); } -void log_Z3_mk_bvredand(Z3_context a0, Z3_ast a1); -#define LOG_Z3_mk_bvredand(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvredand(_ARG0, _ARG1); } -void log_Z3_mk_bvredor(Z3_context a0, Z3_ast a1); -#define LOG_Z3_mk_bvredor(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvredor(_ARG0, _ARG1); } -void log_Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvand(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvand(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvor(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvor(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvxor(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvxor(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvnand(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvnand(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvnor(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvnor(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvxnor(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvxnor(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvneg(Z3_context a0, Z3_ast a1); -#define LOG_Z3_mk_bvneg(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvneg(_ARG0, _ARG1); } -void log_Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvadd(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvadd(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvsub(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsub(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvmul(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvmul(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvudiv(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvudiv(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvsdiv(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsdiv(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvurem(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvurem(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvurem(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvsrem(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsrem(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvsmod(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsmod(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvult(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvult(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvslt(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvslt(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvule(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvule(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvsle(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsle(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvuge(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvuge(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvsge(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsge(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvugt(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvugt(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvsgt(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsgt(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_concat(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_concat(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_extract(Z3_context a0, unsigned a1, unsigned a2, Z3_ast a3); -#define LOG_Z3_mk_extract(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_extract(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_mk_sign_ext(Z3_context a0, unsigned a1, Z3_ast a2); -#define LOG_Z3_mk_sign_ext(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_sign_ext(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_zero_ext(Z3_context a0, unsigned a1, Z3_ast a2); -#define LOG_Z3_mk_zero_ext(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_zero_ext(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_repeat(Z3_context a0, unsigned a1, Z3_ast a2); -#define LOG_Z3_mk_repeat(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_repeat(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvshl(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvshl(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvlshr(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvlshr(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvashr(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvashr(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_rotate_left(Z3_context a0, unsigned a1, Z3_ast a2); -#define LOG_Z3_mk_rotate_left(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_rotate_left(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_rotate_right(Z3_context a0, unsigned a1, Z3_ast a2); -#define LOG_Z3_mk_rotate_right(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_rotate_right(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_ext_rotate_left(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_ext_rotate_left(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_ext_rotate_left(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_ext_rotate_right(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_ext_rotate_right(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_ext_rotate_right(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_int2bv(Z3_context a0, unsigned a1, Z3_ast a2); -#define LOG_Z3_mk_int2bv(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_int2bv(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bv2int(Z3_context a0, Z3_ast a1, Z3_bool a2); -#define LOG_Z3_mk_bv2int(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bv2int(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_bool a3); -#define LOG_Z3_mk_bvadd_no_overflow(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvadd_no_overflow(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_mk_bvadd_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvadd_no_underflow(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvadd_no_underflow(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvsub_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvsub_no_overflow(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsub_no_overflow(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvsub_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_bool a3); -#define LOG_Z3_mk_bvsub_no_underflow(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsub_no_underflow(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_mk_bvsdiv_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvsdiv_no_overflow(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsdiv_no_overflow(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bvneg_no_overflow(Z3_context a0, Z3_ast a1); -#define LOG_Z3_mk_bvneg_no_overflow(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvneg_no_overflow(_ARG0, _ARG1); } -void log_Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_bool a3); -#define LOG_Z3_mk_bvmul_no_overflow(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvmul_no_overflow(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_mk_bvmul_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_bvmul_no_underflow(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvmul_no_underflow(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_select(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_select(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3); -#define LOG_Z3_mk_store(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_store(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2); -#define LOG_Z3_mk_const_array(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_const_array(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_map(Z3_context a0, Z3_func_decl a1, unsigned a2, Z3_ast const * a3); -#define LOG_Z3_mk_map(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_map(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_mk_array_default(Z3_context a0, Z3_ast a1); -#define LOG_Z3_mk_array_default(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_array_default(_ARG0, _ARG1); } -void log_Z3_mk_set_sort(Z3_context a0, Z3_sort a1); -#define LOG_Z3_mk_set_sort(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_sort(_ARG0, _ARG1); } -void log_Z3_mk_empty_set(Z3_context a0, Z3_sort a1); -#define LOG_Z3_mk_empty_set(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_empty_set(_ARG0, _ARG1); } -void log_Z3_mk_full_set(Z3_context a0, Z3_sort a1); -#define LOG_Z3_mk_full_set(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_full_set(_ARG0, _ARG1); } -void log_Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_set_add(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_add(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_set_del(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_del(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_set_union(Z3_context a0, unsigned a1, Z3_ast const * a2); -#define LOG_Z3_mk_set_union(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_union(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_set_intersect(Z3_context a0, unsigned a1, Z3_ast const * a2); -#define LOG_Z3_mk_set_intersect(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_intersect(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_set_difference(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_set_difference(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_difference(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_set_complement(Z3_context a0, Z3_ast a1); -#define LOG_Z3_mk_set_complement(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_complement(_ARG0, _ARG1); } -void log_Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_set_member(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_member(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2); -#define LOG_Z3_mk_set_subset(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_subset(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_numeral(Z3_context a0, Z3_string a1, Z3_sort a2); -#define LOG_Z3_mk_numeral(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_numeral(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_real(Z3_context a0, int a1, int a2); -#define LOG_Z3_mk_real(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_real(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_int(Z3_context a0, int a1, Z3_sort a2); -#define LOG_Z3_mk_int(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_int(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_unsigned_int(Z3_context a0, unsigned a1, Z3_sort a2); -#define LOG_Z3_mk_unsigned_int(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_unsigned_int(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_int64(Z3_context a0, __int64 a1, Z3_sort a2); -#define LOG_Z3_mk_int64(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_int64(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_unsigned_int64(Z3_context a0, __uint64 a1, Z3_sort a2); -#define LOG_Z3_mk_unsigned_int64(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_unsigned_int64(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_pattern(Z3_context a0, unsigned a1, Z3_ast const * a2); -#define LOG_Z3_mk_pattern(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_pattern(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_bound(Z3_context a0, unsigned a1, Z3_sort a2); -#define LOG_Z3_mk_bound(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bound(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_forall(Z3_context a0, unsigned a1, unsigned a2, Z3_pattern const * a3, unsigned a4, Z3_sort const * a5, Z3_symbol const * a6, Z3_ast a7); -#define LOG_Z3_mk_forall(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_forall(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } -void log_Z3_mk_exists(Z3_context a0, unsigned a1, unsigned a2, Z3_pattern const * a3, unsigned a4, Z3_sort const * a5, Z3_symbol const * a6, Z3_ast a7); -#define LOG_Z3_mk_exists(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_exists(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } -void log_Z3_mk_quantifier(Z3_context a0, Z3_bool a1, unsigned a2, unsigned a3, Z3_pattern const * a4, unsigned a5, Z3_sort const * a6, Z3_symbol const * a7, Z3_ast a8); -#define LOG_Z3_mk_quantifier(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_quantifier(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8); } -void log_Z3_mk_quantifier_ex(Z3_context a0, Z3_bool a1, unsigned a2, Z3_symbol a3, Z3_symbol a4, unsigned a5, Z3_pattern const * a6, unsigned a7, Z3_ast const * a8, unsigned a9, Z3_sort const * a10, Z3_symbol const * a11, Z3_ast a12); -#define LOG_Z3_mk_quantifier_ex(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8, _ARG9, _ARG10, _ARG11, _ARG12) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_quantifier_ex(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8, _ARG9, _ARG10, _ARG11, _ARG12); } -void log_Z3_mk_forall_const(Z3_context a0, unsigned a1, unsigned a2, Z3_app const * a3, unsigned a4, Z3_pattern const * a5, Z3_ast a6); -#define LOG_Z3_mk_forall_const(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_forall_const(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6); } -void log_Z3_mk_exists_const(Z3_context a0, unsigned a1, unsigned a2, Z3_app const * a3, unsigned a4, Z3_pattern const * a5, Z3_ast a6); -#define LOG_Z3_mk_exists_const(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_exists_const(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6); } -void log_Z3_mk_quantifier_const(Z3_context a0, Z3_bool a1, unsigned a2, unsigned a3, Z3_app const * a4, unsigned a5, Z3_pattern const * a6, Z3_ast a7); -#define LOG_Z3_mk_quantifier_const(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_quantifier_const(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } -void log_Z3_mk_quantifier_const_ex(Z3_context a0, Z3_bool a1, unsigned a2, Z3_symbol a3, Z3_symbol a4, unsigned a5, Z3_app const * a6, unsigned a7, Z3_pattern const * a8, unsigned a9, Z3_ast const * a10, Z3_ast a11); -#define LOG_Z3_mk_quantifier_const_ex(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8, _ARG9, _ARG10, _ARG11) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_quantifier_const_ex(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8, _ARG9, _ARG10, _ARG11); } -void log_Z3_get_ast_id(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_ast_id(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_ast_id(_ARG0, _ARG1); } -void log_Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1); -#define LOG_Z3_get_func_decl_id(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_func_decl_id(_ARG0, _ARG1); } -void log_Z3_get_sort_id(Z3_context a0, Z3_sort a1); -#define LOG_Z3_get_sort_id(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_sort_id(_ARG0, _ARG1); } -void log_Z3_is_well_sorted(Z3_context a0, Z3_ast a1); -#define LOG_Z3_is_well_sorted(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_well_sorted(_ARG0, _ARG1); } -void log_Z3_get_symbol_kind(Z3_context a0, Z3_symbol a1); -#define LOG_Z3_get_symbol_kind(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_symbol_kind(_ARG0, _ARG1); } -void log_Z3_get_symbol_int(Z3_context a0, Z3_symbol a1); -#define LOG_Z3_get_symbol_int(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_symbol_int(_ARG0, _ARG1); } -void log_Z3_get_symbol_string(Z3_context a0, Z3_symbol a1); -#define LOG_Z3_get_symbol_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_symbol_string(_ARG0, _ARG1); } -void log_Z3_get_ast_kind(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_ast_kind(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_ast_kind(_ARG0, _ARG1); } -void log_Z3_get_ast_hash(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_ast_hash(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_ast_hash(_ARG0, _ARG1); } -void log_Z3_get_numeral_string(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_numeral_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_string(_ARG0, _ARG1); } -void log_Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, unsigned a2); -#define LOG_Z3_get_numeral_decimal_string(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_decimal_string(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_numerator(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_numerator(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numerator(_ARG0, _ARG1); } -void log_Z3_get_denominator(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_denominator(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_denominator(_ARG0, _ARG1); } -void log_Z3_get_numeral_small(Z3_context a0, Z3_ast a1, __int64* a2, __int64* a3); -#define LOG_Z3_get_numeral_small(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_small(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_get_numeral_int(Z3_context a0, Z3_ast a1, int* a2); -#define LOG_Z3_get_numeral_int(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_int(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, unsigned* a2); -#define LOG_Z3_get_numeral_uint(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_uint(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, __uint64* a2); -#define LOG_Z3_get_numeral_uint64(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_uint64(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, __int64* a2); -#define LOG_Z3_get_numeral_int64(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_int64(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_numeral_rational_int64(Z3_context a0, Z3_ast a1, __int64* a2, __int64* a3); -#define LOG_Z3_get_numeral_rational_int64(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_rational_int64(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_get_bool_value(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_bool_value(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_bool_value(_ARG0, _ARG1); } -void log_Z3_get_app_decl(Z3_context a0, Z3_app a1); -#define LOG_Z3_get_app_decl(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_app_decl(_ARG0, _ARG1); } -void log_Z3_get_app_num_args(Z3_context a0, Z3_app a1); -#define LOG_Z3_get_app_num_args(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_app_num_args(_ARG0, _ARG1); } -void log_Z3_get_app_arg(Z3_context a0, Z3_app a1, unsigned a2); -#define LOG_Z3_get_app_arg(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_app_arg(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_index_value(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_index_value(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_index_value(_ARG0, _ARG1); } -void log_Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1); -#define LOG_Z3_is_quantifier_forall(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_quantifier_forall(_ARG0, _ARG1); } -void log_Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_quantifier_weight(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_weight(_ARG0, _ARG1); } -void log_Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_quantifier_num_patterns(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_num_patterns(_ARG0, _ARG1); } -void log_Z3_get_quantifier_pattern_ast(Z3_context a0, Z3_ast a1, unsigned a2); -#define LOG_Z3_get_quantifier_pattern_ast(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_pattern_ast(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_quantifier_num_no_patterns(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_quantifier_num_no_patterns(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_num_no_patterns(_ARG0, _ARG1); } -void log_Z3_get_quantifier_no_pattern_ast(Z3_context a0, Z3_ast a1, unsigned a2); -#define LOG_Z3_get_quantifier_no_pattern_ast(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_no_pattern_ast(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, unsigned a2); -#define LOG_Z3_get_quantifier_bound_name(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_bound_name(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, unsigned a2); -#define LOG_Z3_get_quantifier_bound_sort(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_bound_sort(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_quantifier_body(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_quantifier_body(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_body(_ARG0, _ARG1); } -void log_Z3_get_quantifier_num_bound(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_quantifier_num_bound(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_num_bound(_ARG0, _ARG1); } -void log_Z3_get_decl_name(Z3_context a0, Z3_func_decl a1); -#define LOG_Z3_get_decl_name(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_name(_ARG0, _ARG1); } -void log_Z3_get_decl_num_parameters(Z3_context a0, Z3_func_decl a1); -#define LOG_Z3_get_decl_num_parameters(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_num_parameters(_ARG0, _ARG1); } -void log_Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, unsigned a2); -#define LOG_Z3_get_decl_parameter_kind(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_parameter_kind(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2); -#define LOG_Z3_get_decl_int_parameter(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_int_parameter(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2); -#define LOG_Z3_get_decl_double_parameter(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_double_parameter(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2); -#define LOG_Z3_get_decl_symbol_parameter(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_symbol_parameter(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_decl_sort_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2); -#define LOG_Z3_get_decl_sort_parameter(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_sort_parameter(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2); -#define LOG_Z3_get_decl_ast_parameter(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_ast_parameter(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_decl_func_decl_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2); -#define LOG_Z3_get_decl_func_decl_parameter(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_func_decl_parameter(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2); -#define LOG_Z3_get_decl_rational_parameter(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_rational_parameter(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_sort_name(Z3_context a0, Z3_sort a1); -#define LOG_Z3_get_sort_name(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_sort_name(_ARG0, _ARG1); } -void log_Z3_get_sort(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_sort(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_sort(_ARG0, _ARG1); } -void log_Z3_get_domain_size(Z3_context a0, Z3_func_decl a1); -#define LOG_Z3_get_domain_size(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_domain_size(_ARG0, _ARG1); } -void log_Z3_get_domain(Z3_context a0, Z3_func_decl a1, unsigned a2); -#define LOG_Z3_get_domain(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_domain(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_range(Z3_context a0, Z3_func_decl a1); -#define LOG_Z3_get_range(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_range(_ARG0, _ARG1); } -void log_Z3_get_sort_kind(Z3_context a0, Z3_sort a1); -#define LOG_Z3_get_sort_kind(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_sort_kind(_ARG0, _ARG1); } -void log_Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1); -#define LOG_Z3_get_bv_sort_size(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_bv_sort_size(_ARG0, _ARG1); } -void log_Z3_get_array_sort_domain(Z3_context a0, Z3_sort a1); -#define LOG_Z3_get_array_sort_domain(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_array_sort_domain(_ARG0, _ARG1); } -void log_Z3_get_array_sort_range(Z3_context a0, Z3_sort a1); -#define LOG_Z3_get_array_sort_range(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_array_sort_range(_ARG0, _ARG1); } -void log_Z3_get_tuple_sort_mk_decl(Z3_context a0, Z3_sort a1); -#define LOG_Z3_get_tuple_sort_mk_decl(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_tuple_sort_mk_decl(_ARG0, _ARG1); } -void log_Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1); -#define LOG_Z3_get_decl_kind(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_kind(_ARG0, _ARG1); } -void log_Z3_get_tuple_sort_num_fields(Z3_context a0, Z3_sort a1); -#define LOG_Z3_get_tuple_sort_num_fields(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_tuple_sort_num_fields(_ARG0, _ARG1); } -void log_Z3_get_tuple_sort_field_decl(Z3_context a0, Z3_sort a1, unsigned a2); -#define LOG_Z3_get_tuple_sort_field_decl(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_tuple_sort_field_decl(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_datatype_sort_num_constructors(Z3_context a0, Z3_sort a1); -#define LOG_Z3_get_datatype_sort_num_constructors(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_datatype_sort_num_constructors(_ARG0, _ARG1); } -void log_Z3_get_datatype_sort_constructor(Z3_context a0, Z3_sort a1, unsigned a2); -#define LOG_Z3_get_datatype_sort_constructor(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_datatype_sort_constructor(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_datatype_sort_recognizer(Z3_context a0, Z3_sort a1, unsigned a2); -#define LOG_Z3_get_datatype_sort_recognizer(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_datatype_sort_recognizer(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_datatype_sort_constructor_accessor(Z3_context a0, Z3_sort a1, unsigned a2, unsigned a3); -#define LOG_Z3_get_datatype_sort_constructor_accessor(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_datatype_sort_constructor_accessor(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_get_relation_arity(Z3_context a0, Z3_sort a1); -#define LOG_Z3_get_relation_arity(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_relation_arity(_ARG0, _ARG1); } -void log_Z3_get_relation_column(Z3_context a0, Z3_sort a1, unsigned a2); -#define LOG_Z3_get_relation_column(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_relation_column(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, __uint64* a2); -#define LOG_Z3_get_finite_domain_sort_size(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_finite_domain_sort_size(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_finite_domain_sort(Z3_context a0, Z3_symbol a1, __uint64 a2); -#define LOG_Z3_mk_finite_domain_sort(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_finite_domain_sort(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1); -#define LOG_Z3_get_pattern_num_terms(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_pattern_num_terms(_ARG0, _ARG1); } -void log_Z3_get_pattern(Z3_context a0, Z3_pattern a1, unsigned a2); -#define LOG_Z3_get_pattern(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_pattern(_ARG0, _ARG1, _ARG2); } -void log_Z3_simplify(Z3_context a0, Z3_ast a1); -#define LOG_Z3_simplify(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_simplify(_ARG0, _ARG1); } -void log_Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2); -#define LOG_Z3_simplify_ex(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_simplify_ex(_ARG0, _ARG1, _ARG2); } -void log_Z3_simplify_get_help(Z3_context a0); -#define LOG_Z3_simplify_get_help(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_simplify_get_help(_ARG0); } -void log_Z3_simplify_get_param_descrs(Z3_context a0); -#define LOG_Z3_simplify_get_param_descrs(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_simplify_get_param_descrs(_ARG0); } -void log_Z3_update_term(Z3_context a0, Z3_ast a1, unsigned a2, Z3_ast const * a3); -#define LOG_Z3_update_term(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_update_term(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_substitute(Z3_context a0, Z3_ast a1, unsigned a2, Z3_ast const * a3, Z3_ast const * a4); -#define LOG_Z3_substitute(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_substitute(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } -void log_Z3_substitute_vars(Z3_context a0, Z3_ast a1, unsigned a2, Z3_ast const * a3); -#define LOG_Z3_substitute_vars(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_substitute_vars(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_sort_to_ast(Z3_context a0, Z3_sort a1); -#define LOG_Z3_sort_to_ast(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_sort_to_ast(_ARG0, _ARG1); } -void log_Z3_func_decl_to_ast(Z3_context a0, Z3_func_decl a1); -#define LOG_Z3_func_decl_to_ast(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_decl_to_ast(_ARG0, _ARG1); } -void log_Z3_pattern_to_ast(Z3_context a0, Z3_pattern a1); -#define LOG_Z3_pattern_to_ast(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_pattern_to_ast(_ARG0, _ARG1); } -void log_Z3_app_to_ast(Z3_context a0, Z3_app a1); -#define LOG_Z3_app_to_ast(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_app_to_ast(_ARG0, _ARG1); } -void log_Z3_to_app(Z3_context a0, Z3_ast a1); -#define LOG_Z3_to_app(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_to_app(_ARG0, _ARG1); } -void log_Z3_to_func_decl(Z3_context a0, Z3_ast a1); -#define LOG_Z3_to_func_decl(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_to_func_decl(_ARG0, _ARG1); } -void log_Z3_push(Z3_context a0); -#define LOG_Z3_push(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_push(_ARG0); } -void log_Z3_pop(Z3_context a0, unsigned a1); -#define LOG_Z3_pop(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_pop(_ARG0, _ARG1); } -void log_Z3_get_num_scopes(Z3_context a0); -#define LOG_Z3_get_num_scopes(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_num_scopes(_ARG0); } -void log_Z3_persist_ast(Z3_context a0, Z3_ast a1, unsigned a2); -#define LOG_Z3_persist_ast(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_persist_ast(_ARG0, _ARG1, _ARG2); } -void log_Z3_assert_cnstr(Z3_context a0, Z3_ast a1); -#define LOG_Z3_assert_cnstr(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_assert_cnstr(_ARG0, _ARG1); } -void log_Z3_check_and_get_model(Z3_context a0, Z3_model* a1); -#define LOG_Z3_check_and_get_model(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; Z3_model* Z3ARG1; if (_LOG_CTX.enabled()) { log_Z3_check_and_get_model(_ARG0, _ARG1); Z3ARG1 = _ARG1; } -#define RETURN_Z3_check_and_get_model if (_LOG_CTX.enabled()) { SetO((Z3ARG1 == 0 ? 0 : *Z3ARG1), 1); } return -void log_Z3_check(Z3_context a0); -#define LOG_Z3_check(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_check(_ARG0); } -void log_Z3_check_assumptions(Z3_context a0, unsigned a1, Z3_ast const * a2, Z3_model* a3, Z3_ast* a4, unsigned* a5, Z3_ast* a6); -#define LOG_Z3_check_assumptions(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6) z3_log_ctx _LOG_CTX; Z3_model* Z3ARG3; Z3_ast* Z3ARG4; unsigned Z3ARG1; unsigned * Z3ARG5; Z3_ast* Z3ARG6; if (_LOG_CTX.enabled()) { log_Z3_check_assumptions(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6); Z3ARG3 = _ARG3; Z3ARG4 = _ARG4; Z3ARG1 = _ARG1; Z3ARG5 = _ARG5; Z3ARG6 = _ARG6; } -#define RETURN_Z3_check_assumptions if (_LOG_CTX.enabled()) { SetO((Z3ARG3 == 0 ? 0 : *Z3ARG3), 3); SetO((Z3ARG4 == 0 ? 0 : *Z3ARG4), 4); for (unsigned i = 0; Z3ARG5 && i < *Z3ARG5; i++) { SetAO(Z3ARG6[i], 6, i); } } return -void log_Z3_get_implied_equalities(Z3_context a0, unsigned a1, Z3_ast const * a2, unsigned* a3); -#define LOG_Z3_get_implied_equalities(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_implied_equalities(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_del_model(Z3_context a0, Z3_model a1); -#define LOG_Z3_del_model(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_del_model(_ARG0, _ARG1); } -void log_Z3_soft_check_cancel(Z3_context a0); -#define LOG_Z3_soft_check_cancel(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_soft_check_cancel(_ARG0); } -void log_Z3_get_search_failure(Z3_context a0); -#define LOG_Z3_get_search_failure(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_search_failure(_ARG0); } -void log_Z3_get_relevant_labels(Z3_context a0); -#define LOG_Z3_get_relevant_labels(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_relevant_labels(_ARG0); } -void log_Z3_get_relevant_literals(Z3_context a0); -#define LOG_Z3_get_relevant_literals(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_relevant_literals(_ARG0); } -void log_Z3_get_guessed_literals(Z3_context a0); -#define LOG_Z3_get_guessed_literals(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_guessed_literals(_ARG0); } -void log_Z3_del_literals(Z3_context a0, Z3_literals a1); -#define LOG_Z3_del_literals(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_del_literals(_ARG0, _ARG1); } -void log_Z3_get_num_literals(Z3_context a0, Z3_literals a1); -#define LOG_Z3_get_num_literals(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_num_literals(_ARG0, _ARG1); } -void log_Z3_get_label_symbol(Z3_context a0, Z3_literals a1, unsigned a2); -#define LOG_Z3_get_label_symbol(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_label_symbol(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_literal(Z3_context a0, Z3_literals a1, unsigned a2); -#define LOG_Z3_get_literal(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_literal(_ARG0, _ARG1, _ARG2); } -void log_Z3_disable_literal(Z3_context a0, Z3_literals a1, unsigned a2); -#define LOG_Z3_disable_literal(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_disable_literal(_ARG0, _ARG1, _ARG2); } -void log_Z3_block_literals(Z3_context a0, Z3_literals a1); -#define LOG_Z3_block_literals(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_block_literals(_ARG0, _ARG1); } -void log_Z3_model_inc_ref(Z3_context a0, Z3_model a1); -#define LOG_Z3_model_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_inc_ref(_ARG0, _ARG1); } -void log_Z3_model_dec_ref(Z3_context a0, Z3_model a1); -#define LOG_Z3_model_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_dec_ref(_ARG0, _ARG1); } -void log_Z3_model_get_const_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2); -#define LOG_Z3_model_get_const_interp(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_const_interp(_ARG0, _ARG1, _ARG2); } -void log_Z3_model_get_func_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2); -#define LOG_Z3_model_get_func_interp(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_func_interp(_ARG0, _ARG1, _ARG2); } -void log_Z3_model_get_num_consts(Z3_context a0, Z3_model a1); -#define LOG_Z3_model_get_num_consts(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_num_consts(_ARG0, _ARG1); } -void log_Z3_model_get_const_decl(Z3_context a0, Z3_model a1, unsigned a2); -#define LOG_Z3_model_get_const_decl(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_const_decl(_ARG0, _ARG1, _ARG2); } -void log_Z3_model_get_num_funcs(Z3_context a0, Z3_model a1); -#define LOG_Z3_model_get_num_funcs(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_num_funcs(_ARG0, _ARG1); } -void log_Z3_model_get_func_decl(Z3_context a0, Z3_model a1, unsigned a2); -#define LOG_Z3_model_get_func_decl(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_func_decl(_ARG0, _ARG1, _ARG2); } -void log_Z3_model_eval(Z3_context a0, Z3_model a1, Z3_ast a2, Z3_bool a3, Z3_ast* a4); -#define LOG_Z3_model_eval(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; Z3_ast* Z3ARG4; if (_LOG_CTX.enabled()) { log_Z3_model_eval(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); Z3ARG4 = _ARG4; } -#define RETURN_Z3_model_eval if (_LOG_CTX.enabled()) { SetO((Z3ARG4 == 0 ? 0 : *Z3ARG4), 4); } return -void log_Z3_model_get_num_sorts(Z3_context a0, Z3_model a1); -#define LOG_Z3_model_get_num_sorts(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_num_sorts(_ARG0, _ARG1); } -void log_Z3_model_get_sort(Z3_context a0, Z3_model a1, unsigned a2); -#define LOG_Z3_model_get_sort(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_sort(_ARG0, _ARG1, _ARG2); } -void log_Z3_model_get_sort_universe(Z3_context a0, Z3_model a1, Z3_sort a2); -#define LOG_Z3_model_get_sort_universe(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_sort_universe(_ARG0, _ARG1, _ARG2); } -void log_Z3_is_as_array(Z3_context a0, Z3_ast a1); -#define LOG_Z3_is_as_array(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_as_array(_ARG0, _ARG1); } -void log_Z3_get_as_array_func_decl(Z3_context a0, Z3_ast a1); -#define LOG_Z3_get_as_array_func_decl(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_as_array_func_decl(_ARG0, _ARG1); } -void log_Z3_func_interp_inc_ref(Z3_context a0, Z3_func_interp a1); -#define LOG_Z3_func_interp_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_interp_inc_ref(_ARG0, _ARG1); } -void log_Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1); -#define LOG_Z3_func_interp_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_interp_dec_ref(_ARG0, _ARG1); } -void log_Z3_func_interp_get_num_entries(Z3_context a0, Z3_func_interp a1); -#define LOG_Z3_func_interp_get_num_entries(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_interp_get_num_entries(_ARG0, _ARG1); } -void log_Z3_func_interp_get_entry(Z3_context a0, Z3_func_interp a1, unsigned a2); -#define LOG_Z3_func_interp_get_entry(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_interp_get_entry(_ARG0, _ARG1, _ARG2); } -void log_Z3_func_interp_get_else(Z3_context a0, Z3_func_interp a1); -#define LOG_Z3_func_interp_get_else(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_interp_get_else(_ARG0, _ARG1); } -void log_Z3_func_interp_get_arity(Z3_context a0, Z3_func_interp a1); -#define LOG_Z3_func_interp_get_arity(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_interp_get_arity(_ARG0, _ARG1); } -void log_Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1); -#define LOG_Z3_func_entry_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_entry_inc_ref(_ARG0, _ARG1); } -void log_Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1); -#define LOG_Z3_func_entry_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_entry_dec_ref(_ARG0, _ARG1); } -void log_Z3_func_entry_get_value(Z3_context a0, Z3_func_entry a1); -#define LOG_Z3_func_entry_get_value(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_entry_get_value(_ARG0, _ARG1); } -void log_Z3_func_entry_get_num_args(Z3_context a0, Z3_func_entry a1); -#define LOG_Z3_func_entry_get_num_args(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_entry_get_num_args(_ARG0, _ARG1); } -void log_Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, unsigned a2); -#define LOG_Z3_func_entry_get_arg(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_entry_get_arg(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_model_num_constants(Z3_context a0, Z3_model a1); -#define LOG_Z3_get_model_num_constants(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_num_constants(_ARG0, _ARG1); } -void log_Z3_get_model_constant(Z3_context a0, Z3_model a1, unsigned a2); -#define LOG_Z3_get_model_constant(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_constant(_ARG0, _ARG1, _ARG2); } -void log_Z3_eval_func_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, Z3_ast* a3); -#define LOG_Z3_eval_func_decl(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; Z3_ast* Z3ARG3; if (_LOG_CTX.enabled()) { log_Z3_eval_func_decl(_ARG0, _ARG1, _ARG2, _ARG3); Z3ARG3 = _ARG3; } -#define RETURN_Z3_eval_func_decl if (_LOG_CTX.enabled()) { SetO((Z3ARG3 == 0 ? 0 : *Z3ARG3), 3); } return -void log_Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, unsigned* a3); -#define LOG_Z3_is_array_value(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_array_value(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_get_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, unsigned a3, Z3_ast* a4, Z3_ast* a5, Z3_ast* a6); -#define LOG_Z3_get_array_value(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6) z3_log_ctx _LOG_CTX; unsigned Z3ARG3; Z3_ast* Z3ARG4; Z3_ast* Z3ARG5; Z3_ast* Z3ARG6; if (_LOG_CTX.enabled()) { log_Z3_get_array_value(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6); Z3ARG3 = _ARG3; Z3ARG4 = _ARG4; Z3ARG5 = _ARG5; Z3ARG6 = _ARG6; } -#define RETURN_Z3_get_array_value if (_LOG_CTX.enabled()) { for (unsigned i = 0; i < Z3ARG3; i++) { SetAO(Z3ARG4[i], 4, i); } for (unsigned i = 0; i < Z3ARG3; i++) { SetAO(Z3ARG5[i], 5, i); } SetO((Z3ARG6 == 0 ? 0 : *Z3ARG6), 6); } return -void log_Z3_get_model_num_funcs(Z3_context a0, Z3_model a1); -#define LOG_Z3_get_model_num_funcs(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_num_funcs(_ARG0, _ARG1); } -void log_Z3_get_model_func_decl(Z3_context a0, Z3_model a1, unsigned a2); -#define LOG_Z3_get_model_func_decl(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_func_decl(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_model_func_else(Z3_context a0, Z3_model a1, unsigned a2); -#define LOG_Z3_get_model_func_else(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_func_else(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, unsigned a2); -#define LOG_Z3_get_model_func_num_entries(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_func_num_entries(_ARG0, _ARG1, _ARG2); } -void log_Z3_get_model_func_entry_num_args(Z3_context a0, Z3_model a1, unsigned a2, unsigned a3); -#define LOG_Z3_get_model_func_entry_num_args(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_func_entry_num_args(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_get_model_func_entry_arg(Z3_context a0, Z3_model a1, unsigned a2, unsigned a3, unsigned a4); -#define LOG_Z3_get_model_func_entry_arg(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_func_entry_arg(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } -void log_Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, unsigned a2, unsigned a3); -#define LOG_Z3_get_model_func_entry_value(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_func_entry_value(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, Z3_ast* a3); -#define LOG_Z3_eval(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; Z3_ast* Z3ARG3; if (_LOG_CTX.enabled()) { log_Z3_eval(_ARG0, _ARG1, _ARG2, _ARG3); Z3ARG3 = _ARG3; } -#define RETURN_Z3_eval if (_LOG_CTX.enabled()) { SetO((Z3ARG3 == 0 ? 0 : *Z3ARG3), 3); } return -void log_Z3_eval_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, unsigned a3, Z3_ast const * a4, Z3_ast* a5); -#define LOG_Z3_eval_decl(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5) z3_log_ctx _LOG_CTX; Z3_ast* Z3ARG5; if (_LOG_CTX.enabled()) { log_Z3_eval_decl(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5); Z3ARG5 = _ARG5; } -#define RETURN_Z3_eval_decl if (_LOG_CTX.enabled()) { SetO((Z3ARG5 == 0 ? 0 : *Z3ARG5), 5); } return -void log_Z3_set_ast_print_mode(Z3_context a0, Z3_ast_print_mode a1); -#define LOG_Z3_set_ast_print_mode(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_set_ast_print_mode(_ARG0, _ARG1); } -void log_Z3_ast_to_string(Z3_context a0, Z3_ast a1); -#define LOG_Z3_ast_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_to_string(_ARG0, _ARG1); } -void log_Z3_pattern_to_string(Z3_context a0, Z3_pattern a1); -#define LOG_Z3_pattern_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_pattern_to_string(_ARG0, _ARG1); } -void log_Z3_sort_to_string(Z3_context a0, Z3_sort a1); -#define LOG_Z3_sort_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_sort_to_string(_ARG0, _ARG1); } -void log_Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1); -#define LOG_Z3_func_decl_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_decl_to_string(_ARG0, _ARG1); } -void log_Z3_model_to_string(Z3_context a0, Z3_model a1); -#define LOG_Z3_model_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_to_string(_ARG0, _ARG1); } -void log_Z3_benchmark_to_smtlib_string(Z3_context a0, Z3_string a1, Z3_string a2, Z3_string a3, Z3_string a4, unsigned a5, Z3_ast const * a6, Z3_ast a7); -#define LOG_Z3_benchmark_to_smtlib_string(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_benchmark_to_smtlib_string(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } -void log_Z3_context_to_string(Z3_context a0); -#define LOG_Z3_context_to_string(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_context_to_string(_ARG0); } -void log_Z3_statistics_to_string(Z3_context a0); -#define LOG_Z3_statistics_to_string(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_statistics_to_string(_ARG0); } -void log_Z3_get_context_assignment(Z3_context a0); -#define LOG_Z3_get_context_assignment(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_context_assignment(_ARG0); } -void log_Z3_parse_smtlib_string(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7); -#define LOG_Z3_parse_smtlib_string(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_parse_smtlib_string(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } -void log_Z3_parse_smtlib_file(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7); -#define LOG_Z3_parse_smtlib_file(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_parse_smtlib_file(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } -void log_Z3_get_smtlib_num_formulas(Z3_context a0); -#define LOG_Z3_get_smtlib_num_formulas(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_num_formulas(_ARG0); } -void log_Z3_get_smtlib_formula(Z3_context a0, unsigned a1); -#define LOG_Z3_get_smtlib_formula(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_formula(_ARG0, _ARG1); } -void log_Z3_get_smtlib_num_assumptions(Z3_context a0); -#define LOG_Z3_get_smtlib_num_assumptions(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_num_assumptions(_ARG0); } -void log_Z3_get_smtlib_assumption(Z3_context a0, unsigned a1); -#define LOG_Z3_get_smtlib_assumption(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_assumption(_ARG0, _ARG1); } -void log_Z3_get_smtlib_num_decls(Z3_context a0); -#define LOG_Z3_get_smtlib_num_decls(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_num_decls(_ARG0); } -void log_Z3_get_smtlib_decl(Z3_context a0, unsigned a1); -#define LOG_Z3_get_smtlib_decl(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_decl(_ARG0, _ARG1); } -void log_Z3_get_smtlib_num_sorts(Z3_context a0); -#define LOG_Z3_get_smtlib_num_sorts(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_num_sorts(_ARG0); } -void log_Z3_get_smtlib_sort(Z3_context a0, unsigned a1); -#define LOG_Z3_get_smtlib_sort(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_sort(_ARG0, _ARG1); } -void log_Z3_get_smtlib_error(Z3_context a0); -#define LOG_Z3_get_smtlib_error(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_error(_ARG0); } -void log_Z3_parse_z3_string(Z3_context a0, Z3_string a1); -#define LOG_Z3_parse_z3_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_parse_z3_string(_ARG0, _ARG1); } -void log_Z3_parse_z3_file(Z3_context a0, Z3_string a1); -#define LOG_Z3_parse_z3_file(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_parse_z3_file(_ARG0, _ARG1); } -void log_Z3_parse_smtlib2_string(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7); -#define LOG_Z3_parse_smtlib2_string(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_parse_smtlib2_string(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } -void log_Z3_parse_smtlib2_file(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7); -#define LOG_Z3_parse_smtlib2_file(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_parse_smtlib2_file(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } -void log_Z3_get_error_code(Z3_context a0); -#define LOG_Z3_get_error_code(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_error_code(_ARG0); } -void log_Z3_set_error(Z3_context a0, Z3_error_code a1); -#define LOG_Z3_set_error(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_set_error(_ARG0, _ARG1); } -void log_Z3_get_error_msg(Z3_error_code a0); -#define LOG_Z3_get_error_msg(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_error_msg(_ARG0); } -void log_Z3_get_version(unsigned* a0, unsigned* a1, unsigned* a2, unsigned* a3); -#define LOG_Z3_get_version(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_version(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_reset_memory(); -#define LOG_Z3_reset_memory() z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_reset_memory(); } -void log_Z3_is_app(Z3_context a0, Z3_ast a1); -#define LOG_Z3_is_app(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_app(_ARG0, _ARG1); } -void log_Z3_is_numeral_ast(Z3_context a0, Z3_ast a1); -#define LOG_Z3_is_numeral_ast(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_numeral_ast(_ARG0, _ARG1); } -void log_Z3_get_arity(Z3_context a0, Z3_func_decl a1); -#define LOG_Z3_get_arity(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_arity(_ARG0, _ARG1); } -void log_Z3_mk_injective_function(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_sort const * a3, Z3_sort a4); -#define LOG_Z3_mk_injective_function(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_injective_function(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } -void log_Z3_mk_fixedpoint(Z3_context a0); -#define LOG_Z3_mk_fixedpoint(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_fixedpoint(_ARG0); } -void log_Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1); -#define LOG_Z3_fixedpoint_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_inc_ref(_ARG0, _ARG1); } -void log_Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1); -#define LOG_Z3_fixedpoint_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_dec_ref(_ARG0, _ARG1); } -void log_Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1); -#define LOG_Z3_fixedpoint_push(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_push(_ARG0, _ARG1); } -void log_Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1); -#define LOG_Z3_fixedpoint_pop(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_pop(_ARG0, _ARG1); } -void log_Z3_fixedpoint_register_relation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2); -#define LOG_Z3_fixedpoint_register_relation(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_register_relation(_ARG0, _ARG1, _ARG2); } -void log_Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2); -#define LOG_Z3_fixedpoint_assert(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_assert(_ARG0, _ARG1, _ARG2); } -void log_Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, Z3_symbol a3); -#define LOG_Z3_fixedpoint_add_rule(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_add_rule(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, unsigned a3, unsigned const * a4); -#define LOG_Z3_fixedpoint_add_fact(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_add_fact(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } -void log_Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2); -#define LOG_Z3_fixedpoint_query(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_query(_ARG0, _ARG1, _ARG2); } -void log_Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, unsigned a2, Z3_func_decl const * a3); -#define LOG_Z3_fixedpoint_query_relations(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_query_relations(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_fixedpoint_get_answer(Z3_context a0, Z3_fixedpoint a1); -#define LOG_Z3_fixedpoint_get_answer(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_get_answer(_ARG0, _ARG1); } -void log_Z3_fixedpoint_update_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, Z3_symbol a3); -#define LOG_Z3_fixedpoint_update_rule(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_update_rule(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_fixedpoint_get_num_levels(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2); -#define LOG_Z3_fixedpoint_get_num_levels(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_get_num_levels(_ARG0, _ARG1, _ARG2); } -void log_Z3_fixedpoint_get_cover_delta(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3); -#define LOG_Z3_fixedpoint_get_cover_delta(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_get_cover_delta(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4); -#define LOG_Z3_fixedpoint_add_cover(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_add_cover(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } -void log_Z3_fixedpoint_get_statistics(Z3_context a0, Z3_fixedpoint a1); -#define LOG_Z3_fixedpoint_get_statistics(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_get_statistics(_ARG0, _ARG1); } -void log_Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1); -#define LOG_Z3_fixedpoint_get_help(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_get_help(_ARG0, _ARG1); } -void log_Z3_fixedpoint_get_param_descrs(Z3_context a0, Z3_fixedpoint a1); -#define LOG_Z3_fixedpoint_get_param_descrs(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_get_param_descrs(_ARG0, _ARG1); } -void log_Z3_fixedpoint_set_params(Z3_context a0, Z3_fixedpoint a1, Z3_params a2); -#define LOG_Z3_fixedpoint_set_params(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_set_params(_ARG0, _ARG1, _ARG2); } -void log_Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, unsigned a2, Z3_ast const * a3); -#define LOG_Z3_fixedpoint_to_string(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_to_string(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_fixedpoint_get_reason_unknown(Z3_context a0, Z3_fixedpoint a1); -#define LOG_Z3_fixedpoint_get_reason_unknown(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_get_reason_unknown(_ARG0, _ARG1); } -void log_Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, unsigned a3, Z3_symbol const * a4); -#define LOG_Z3_fixedpoint_set_predicate_representation(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_set_predicate_representation(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } -void log_Z3_fixedpoint_simplify_rules(Z3_context a0, Z3_fixedpoint a1, unsigned a2, Z3_ast const * a3, unsigned a4, Z3_func_decl const * a5); -#define LOG_Z3_fixedpoint_simplify_rules(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_simplify_rules(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5); } -void log_Z3_mk_params(Z3_context a0); -#define LOG_Z3_mk_params(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_params(_ARG0); } -void log_Z3_params_inc_ref(Z3_context a0, Z3_params a1); -#define LOG_Z3_params_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_inc_ref(_ARG0, _ARG1); } -void log_Z3_params_dec_ref(Z3_context a0, Z3_params a1); -#define LOG_Z3_params_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_dec_ref(_ARG0, _ARG1); } -void log_Z3_params_set_bool(Z3_context a0, Z3_params a1, Z3_symbol a2, Z3_bool a3); -#define LOG_Z3_params_set_bool(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_set_bool(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_params_set_uint(Z3_context a0, Z3_params a1, Z3_symbol a2, unsigned a3); -#define LOG_Z3_params_set_uint(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_set_uint(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_params_set_double(Z3_context a0, Z3_params a1, Z3_symbol a2, double a3); -#define LOG_Z3_params_set_double(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_set_double(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_params_set_symbol(Z3_context a0, Z3_params a1, Z3_symbol a2, Z3_symbol a3); -#define LOG_Z3_params_set_symbol(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_set_symbol(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_params_to_string(Z3_context a0, Z3_params a1); -#define LOG_Z3_params_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_to_string(_ARG0, _ARG1); } -void log_Z3_params_validate(Z3_context a0, Z3_params a1, Z3_param_descrs a2); -#define LOG_Z3_params_validate(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_validate(_ARG0, _ARG1, _ARG2); } -void log_Z3_param_descrs_inc_ref(Z3_context a0, Z3_param_descrs a1); -#define LOG_Z3_param_descrs_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_param_descrs_inc_ref(_ARG0, _ARG1); } -void log_Z3_param_descrs_dec_ref(Z3_context a0, Z3_param_descrs a1); -#define LOG_Z3_param_descrs_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_param_descrs_dec_ref(_ARG0, _ARG1); } -void log_Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, Z3_symbol a2); -#define LOG_Z3_param_descrs_get_kind(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_param_descrs_get_kind(_ARG0, _ARG1, _ARG2); } -void log_Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1); -#define LOG_Z3_param_descrs_size(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_param_descrs_size(_ARG0, _ARG1); } -void log_Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, unsigned a2); -#define LOG_Z3_param_descrs_get_name(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_param_descrs_get_name(_ARG0, _ARG1, _ARG2); } -void log_Z3_param_descrs_to_string(Z3_context a0, Z3_param_descrs a1); -#define LOG_Z3_param_descrs_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_param_descrs_to_string(_ARG0, _ARG1); } -void log_Z3_interrupt(Z3_context a0); -#define LOG_Z3_interrupt(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_interrupt(_ARG0); } -void log_Z3_get_error_msg_ex(Z3_context a0, Z3_error_code a1); -#define LOG_Z3_get_error_msg_ex(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_error_msg_ex(_ARG0, _ARG1); } -void log_Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2); -#define LOG_Z3_translate(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_translate(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_goal(Z3_context a0, Z3_bool a1, Z3_bool a2, Z3_bool a3); -#define LOG_Z3_mk_goal(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_goal(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_goal_inc_ref(Z3_context a0, Z3_goal a1); -#define LOG_Z3_goal_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_inc_ref(_ARG0, _ARG1); } -void log_Z3_goal_dec_ref(Z3_context a0, Z3_goal a1); -#define LOG_Z3_goal_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_dec_ref(_ARG0, _ARG1); } -void log_Z3_goal_precision(Z3_context a0, Z3_goal a1); -#define LOG_Z3_goal_precision(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_precision(_ARG0, _ARG1); } -void log_Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2); -#define LOG_Z3_goal_assert(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_assert(_ARG0, _ARG1, _ARG2); } -void log_Z3_goal_inconsistent(Z3_context a0, Z3_goal a1); -#define LOG_Z3_goal_inconsistent(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_inconsistent(_ARG0, _ARG1); } -void log_Z3_goal_depth(Z3_context a0, Z3_goal a1); -#define LOG_Z3_goal_depth(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_depth(_ARG0, _ARG1); } -void log_Z3_goal_reset(Z3_context a0, Z3_goal a1); -#define LOG_Z3_goal_reset(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_reset(_ARG0, _ARG1); } -void log_Z3_goal_size(Z3_context a0, Z3_goal a1); -#define LOG_Z3_goal_size(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_size(_ARG0, _ARG1); } -void log_Z3_goal_formula(Z3_context a0, Z3_goal a1, unsigned a2); -#define LOG_Z3_goal_formula(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_formula(_ARG0, _ARG1, _ARG2); } -void log_Z3_goal_num_exprs(Z3_context a0, Z3_goal a1); -#define LOG_Z3_goal_num_exprs(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_num_exprs(_ARG0, _ARG1); } -void log_Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1); -#define LOG_Z3_goal_is_decided_sat(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_is_decided_sat(_ARG0, _ARG1); } -void log_Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1); -#define LOG_Z3_goal_is_decided_unsat(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_is_decided_unsat(_ARG0, _ARG1); } -void log_Z3_goal_translate(Z3_context a0, Z3_goal a1, Z3_context a2); -#define LOG_Z3_goal_translate(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_translate(_ARG0, _ARG1, _ARG2); } -void log_Z3_goal_to_string(Z3_context a0, Z3_goal a1); -#define LOG_Z3_goal_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_to_string(_ARG0, _ARG1); } -void log_Z3_mk_tactic(Z3_context a0, Z3_string a1); -#define LOG_Z3_mk_tactic(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_tactic(_ARG0, _ARG1); } -void log_Z3_mk_probe(Z3_context a0, Z3_string a1); -#define LOG_Z3_mk_probe(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_probe(_ARG0, _ARG1); } -void log_Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1); -#define LOG_Z3_tactic_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_inc_ref(_ARG0, _ARG1); } -void log_Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1); -#define LOG_Z3_tactic_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_dec_ref(_ARG0, _ARG1); } -void log_Z3_probe_inc_ref(Z3_context a0, Z3_probe a1); -#define LOG_Z3_probe_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_inc_ref(_ARG0, _ARG1); } -void log_Z3_probe_dec_ref(Z3_context a0, Z3_probe a1); -#define LOG_Z3_probe_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_dec_ref(_ARG0, _ARG1); } -void log_Z3_tactic_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2); -#define LOG_Z3_tactic_and_then(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_and_then(_ARG0, _ARG1, _ARG2); } -void log_Z3_tactic_or_else(Z3_context a0, Z3_tactic a1, Z3_tactic a2); -#define LOG_Z3_tactic_or_else(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_or_else(_ARG0, _ARG1, _ARG2); } -void log_Z3_tactic_par_or(Z3_context a0, unsigned a1, Z3_tactic const * a2); -#define LOG_Z3_tactic_par_or(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_par_or(_ARG0, _ARG1, _ARG2); } -void log_Z3_tactic_par_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2); -#define LOG_Z3_tactic_par_and_then(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_par_and_then(_ARG0, _ARG1, _ARG2); } -void log_Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, unsigned a2); -#define LOG_Z3_tactic_try_for(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_try_for(_ARG0, _ARG1, _ARG2); } -void log_Z3_tactic_when(Z3_context a0, Z3_probe a1, Z3_tactic a2); -#define LOG_Z3_tactic_when(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_when(_ARG0, _ARG1, _ARG2); } -void log_Z3_tactic_cond(Z3_context a0, Z3_probe a1, Z3_tactic a2, Z3_tactic a3); -#define LOG_Z3_tactic_cond(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_cond(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, unsigned a2); -#define LOG_Z3_tactic_repeat(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_repeat(_ARG0, _ARG1, _ARG2); } -void log_Z3_tactic_skip(Z3_context a0); -#define LOG_Z3_tactic_skip(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_skip(_ARG0); } -void log_Z3_tactic_fail(Z3_context a0); -#define LOG_Z3_tactic_fail(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_fail(_ARG0); } -void log_Z3_tactic_fail_if(Z3_context a0, Z3_probe a1); -#define LOG_Z3_tactic_fail_if(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_fail_if(_ARG0, _ARG1); } -void log_Z3_tactic_fail_if_not_decided(Z3_context a0); -#define LOG_Z3_tactic_fail_if_not_decided(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_fail_if_not_decided(_ARG0); } -void log_Z3_tactic_using_params(Z3_context a0, Z3_tactic a1, Z3_params a2); -#define LOG_Z3_tactic_using_params(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_using_params(_ARG0, _ARG1, _ARG2); } -void log_Z3_probe_const(Z3_context a0, double a1); -#define LOG_Z3_probe_const(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_const(_ARG0, _ARG1); } -void log_Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2); -#define LOG_Z3_probe_lt(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_lt(_ARG0, _ARG1, _ARG2); } -void log_Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2); -#define LOG_Z3_probe_le(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_le(_ARG0, _ARG1, _ARG2); } -void log_Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2); -#define LOG_Z3_probe_gt(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_gt(_ARG0, _ARG1, _ARG2); } -void log_Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2); -#define LOG_Z3_probe_ge(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_ge(_ARG0, _ARG1, _ARG2); } -void log_Z3_probe_eq(Z3_context a0, Z3_probe a1, Z3_probe a2); -#define LOG_Z3_probe_eq(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_eq(_ARG0, _ARG1, _ARG2); } -void log_Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2); -#define LOG_Z3_probe_and(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_and(_ARG0, _ARG1, _ARG2); } -void log_Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2); -#define LOG_Z3_probe_or(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_or(_ARG0, _ARG1, _ARG2); } -void log_Z3_probe_not(Z3_context a0, Z3_probe a1); -#define LOG_Z3_probe_not(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_not(_ARG0, _ARG1); } -void log_Z3_get_num_tactics(Z3_context a0); -#define LOG_Z3_get_num_tactics(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_num_tactics(_ARG0); } -void log_Z3_get_tactic_name(Z3_context a0, unsigned a1); -#define LOG_Z3_get_tactic_name(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_tactic_name(_ARG0, _ARG1); } -void log_Z3_get_num_probes(Z3_context a0); -#define LOG_Z3_get_num_probes(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_num_probes(_ARG0); } -void log_Z3_get_probe_name(Z3_context a0, unsigned a1); -#define LOG_Z3_get_probe_name(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_probe_name(_ARG0, _ARG1); } -void log_Z3_tactic_get_help(Z3_context a0, Z3_tactic a1); -#define LOG_Z3_tactic_get_help(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_get_help(_ARG0, _ARG1); } -void log_Z3_tactic_get_param_descrs(Z3_context a0, Z3_tactic a1); -#define LOG_Z3_tactic_get_param_descrs(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_get_param_descrs(_ARG0, _ARG1); } -void log_Z3_tactic_get_descr(Z3_context a0, Z3_string a1); -#define LOG_Z3_tactic_get_descr(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_get_descr(_ARG0, _ARG1); } -void log_Z3_probe_get_descr(Z3_context a0, Z3_string a1); -#define LOG_Z3_probe_get_descr(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_get_descr(_ARG0, _ARG1); } -void log_Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2); -#define LOG_Z3_probe_apply(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_apply(_ARG0, _ARG1, _ARG2); } -void log_Z3_tactic_apply(Z3_context a0, Z3_tactic a1, Z3_goal a2); -#define LOG_Z3_tactic_apply(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_apply(_ARG0, _ARG1, _ARG2); } -void log_Z3_tactic_apply_ex(Z3_context a0, Z3_tactic a1, Z3_goal a2, Z3_params a3); -#define LOG_Z3_tactic_apply_ex(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_apply_ex(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_apply_result_inc_ref(Z3_context a0, Z3_apply_result a1); -#define LOG_Z3_apply_result_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_apply_result_inc_ref(_ARG0, _ARG1); } -void log_Z3_apply_result_dec_ref(Z3_context a0, Z3_apply_result a1); -#define LOG_Z3_apply_result_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_apply_result_dec_ref(_ARG0, _ARG1); } -void log_Z3_apply_result_to_string(Z3_context a0, Z3_apply_result a1); -#define LOG_Z3_apply_result_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_apply_result_to_string(_ARG0, _ARG1); } -void log_Z3_apply_result_get_num_subgoals(Z3_context a0, Z3_apply_result a1); -#define LOG_Z3_apply_result_get_num_subgoals(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_apply_result_get_num_subgoals(_ARG0, _ARG1); } -void log_Z3_apply_result_get_subgoal(Z3_context a0, Z3_apply_result a1, unsigned a2); -#define LOG_Z3_apply_result_get_subgoal(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_apply_result_get_subgoal(_ARG0, _ARG1, _ARG2); } -void log_Z3_apply_result_convert_model(Z3_context a0, Z3_apply_result a1, unsigned a2, Z3_model a3); -#define LOG_Z3_apply_result_convert_model(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_apply_result_convert_model(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_mk_solver(Z3_context a0); -#define LOG_Z3_mk_solver(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_solver(_ARG0); } -void log_Z3_mk_simple_solver(Z3_context a0); -#define LOG_Z3_mk_simple_solver(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_simple_solver(_ARG0); } -void log_Z3_mk_solver_for_logic(Z3_context a0, Z3_symbol a1); -#define LOG_Z3_mk_solver_for_logic(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_solver_for_logic(_ARG0, _ARG1); } -void log_Z3_mk_solver_from_tactic(Z3_context a0, Z3_tactic a1); -#define LOG_Z3_mk_solver_from_tactic(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_solver_from_tactic(_ARG0, _ARG1); } -void log_Z3_solver_get_help(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_get_help(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_help(_ARG0, _ARG1); } -void log_Z3_solver_get_param_descrs(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_get_param_descrs(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_param_descrs(_ARG0, _ARG1); } -void log_Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2); -#define LOG_Z3_solver_set_params(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_set_params(_ARG0, _ARG1, _ARG2); } -void log_Z3_solver_inc_ref(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_inc_ref(_ARG0, _ARG1); } -void log_Z3_solver_dec_ref(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_dec_ref(_ARG0, _ARG1); } -void log_Z3_solver_push(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_push(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_push(_ARG0, _ARG1); } -void log_Z3_solver_pop(Z3_context a0, Z3_solver a1, unsigned a2); -#define LOG_Z3_solver_pop(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_pop(_ARG0, _ARG1, _ARG2); } -void log_Z3_solver_reset(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_reset(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_reset(_ARG0, _ARG1); } -void log_Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_get_num_scopes(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_num_scopes(_ARG0, _ARG1); } -void log_Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2); -#define LOG_Z3_solver_assert(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_assert(_ARG0, _ARG1, _ARG2); } -void log_Z3_solver_get_assertions(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_get_assertions(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_assertions(_ARG0, _ARG1); } -void log_Z3_solver_check(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_check(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_check(_ARG0, _ARG1); } -void log_Z3_solver_check_assumptions(Z3_context a0, Z3_solver a1, unsigned a2, Z3_ast const * a3); -#define LOG_Z3_solver_check_assumptions(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_check_assumptions(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_solver_get_model(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_get_model(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_model(_ARG0, _ARG1); } -void log_Z3_solver_get_proof(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_get_proof(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_proof(_ARG0, _ARG1); } -void log_Z3_solver_get_unsat_core(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_get_unsat_core(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_unsat_core(_ARG0, _ARG1); } -void log_Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_get_reason_unknown(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_reason_unknown(_ARG0, _ARG1); } -void log_Z3_solver_get_statistics(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_get_statistics(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_statistics(_ARG0, _ARG1); } -void log_Z3_solver_to_string(Z3_context a0, Z3_solver a1); -#define LOG_Z3_solver_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_to_string(_ARG0, _ARG1); } -void log_Z3_stats_to_string(Z3_context a0, Z3_stats a1); -#define LOG_Z3_stats_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_to_string(_ARG0, _ARG1); } -void log_Z3_stats_inc_ref(Z3_context a0, Z3_stats a1); -#define LOG_Z3_stats_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_inc_ref(_ARG0, _ARG1); } -void log_Z3_stats_dec_ref(Z3_context a0, Z3_stats a1); -#define LOG_Z3_stats_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_dec_ref(_ARG0, _ARG1); } -void log_Z3_stats_size(Z3_context a0, Z3_stats a1); -#define LOG_Z3_stats_size(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_size(_ARG0, _ARG1); } -void log_Z3_stats_get_key(Z3_context a0, Z3_stats a1, unsigned a2); -#define LOG_Z3_stats_get_key(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_get_key(_ARG0, _ARG1, _ARG2); } -void log_Z3_stats_is_uint(Z3_context a0, Z3_stats a1, unsigned a2); -#define LOG_Z3_stats_is_uint(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_is_uint(_ARG0, _ARG1, _ARG2); } -void log_Z3_stats_is_double(Z3_context a0, Z3_stats a1, unsigned a2); -#define LOG_Z3_stats_is_double(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_is_double(_ARG0, _ARG1, _ARG2); } -void log_Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, unsigned a2); -#define LOG_Z3_stats_get_uint_value(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_get_uint_value(_ARG0, _ARG1, _ARG2); } -void log_Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, unsigned a2); -#define LOG_Z3_stats_get_double_value(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_get_double_value(_ARG0, _ARG1, _ARG2); } -void log_Z3_mk_ast_vector(Z3_context a0); -#define LOG_Z3_mk_ast_vector(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_ast_vector(_ARG0); } -void log_Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1); -#define LOG_Z3_ast_vector_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_inc_ref(_ARG0, _ARG1); } -void log_Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1); -#define LOG_Z3_ast_vector_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_dec_ref(_ARG0, _ARG1); } -void log_Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1); -#define LOG_Z3_ast_vector_size(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_size(_ARG0, _ARG1); } -void log_Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, unsigned a2); -#define LOG_Z3_ast_vector_get(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_get(_ARG0, _ARG1, _ARG2); } -void log_Z3_ast_vector_set(Z3_context a0, Z3_ast_vector a1, unsigned a2, Z3_ast a3); -#define LOG_Z3_ast_vector_set(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_set(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, unsigned a2); -#define LOG_Z3_ast_vector_resize(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_resize(_ARG0, _ARG1, _ARG2); } -void log_Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2); -#define LOG_Z3_ast_vector_push(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_push(_ARG0, _ARG1, _ARG2); } -void log_Z3_ast_vector_translate(Z3_context a0, Z3_ast_vector a1, Z3_context a2); -#define LOG_Z3_ast_vector_translate(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_translate(_ARG0, _ARG1, _ARG2); } -void log_Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1); -#define LOG_Z3_ast_vector_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_to_string(_ARG0, _ARG1); } -void log_Z3_mk_ast_map(Z3_context a0); -#define LOG_Z3_mk_ast_map(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_ast_map(_ARG0); } -void log_Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1); -#define LOG_Z3_ast_map_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_inc_ref(_ARG0, _ARG1); } -void log_Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1); -#define LOG_Z3_ast_map_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_dec_ref(_ARG0, _ARG1); } -void log_Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2); -#define LOG_Z3_ast_map_contains(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_contains(_ARG0, _ARG1, _ARG2); } -void log_Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2); -#define LOG_Z3_ast_map_find(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_find(_ARG0, _ARG1, _ARG2); } -void log_Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3); -#define LOG_Z3_ast_map_insert(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_insert(_ARG0, _ARG1, _ARG2, _ARG3); } -void log_Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2); -#define LOG_Z3_ast_map_erase(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_erase(_ARG0, _ARG1, _ARG2); } -void log_Z3_ast_map_size(Z3_context a0, Z3_ast_map a1); -#define LOG_Z3_ast_map_size(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_size(_ARG0, _ARG1); } -void log_Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1); -#define LOG_Z3_ast_map_reset(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_reset(_ARG0, _ARG1); } -void log_Z3_ast_map_keys(Z3_context a0, Z3_ast_map a1); -#define LOG_Z3_ast_map_keys(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_keys(_ARG0, _ARG1); } -void log_Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1); -#define LOG_Z3_ast_map_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_to_string(_ARG0, _ARG1); } +// Automatically generated file, generator: update_api.py +#include"z3.h" +extern std::ostream * g_z3_log; +extern bool g_z3_log_enabled; +class z3_log_ctx { bool m_prev; public: z3_log_ctx():m_prev(g_z3_log_enabled) { g_z3_log_enabled = false; } ~z3_log_ctx() { g_z3_log_enabled = m_prev; } bool enabled() const { return m_prev; } }; +inline void SetR(void * obj) { *g_z3_log << "= " << obj << "\n"; } +inline void SetO(void * obj, unsigned pos) { *g_z3_log << "* " << obj << " " << pos << "\n"; } +inline void SetAO(void * obj, unsigned pos, unsigned idx) { *g_z3_log << "@ " << obj << " " << pos << " " << idx << "\n"; } +#define RETURN_Z3(Z3RES) if (_LOG_CTX.enabled()) { SetR(Z3RES); } return Z3RES +void _Z3_append_log(char const * msg); +void log_Z3_mk_config(); +#define LOG_Z3_mk_config() z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_config(); } +void log_Z3_del_config(Z3_config a0); +#define LOG_Z3_del_config(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_del_config(_ARG0); } +void log_Z3_set_param_value(Z3_config a0, Z3_string a1, Z3_string a2); +#define LOG_Z3_set_param_value(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_set_param_value(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_context(Z3_config a0); +#define LOG_Z3_mk_context(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_context(_ARG0); } +void log_Z3_mk_context_rc(Z3_config a0); +#define LOG_Z3_mk_context_rc(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_context_rc(_ARG0); } +void log_Z3_del_context(Z3_context a0); +#define LOG_Z3_del_context(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_del_context(_ARG0); } +void log_Z3_inc_ref(Z3_context a0, Z3_ast a1); +#define LOG_Z3_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_inc_ref(_ARG0, _ARG1); } +void log_Z3_dec_ref(Z3_context a0, Z3_ast a1); +#define LOG_Z3_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_dec_ref(_ARG0, _ARG1); } +void log_Z3_update_param_value(Z3_context a0, Z3_string a1, Z3_string a2); +#define LOG_Z3_update_param_value(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_update_param_value(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_param_value(Z3_context a0, Z3_string a1, Z3_string* a2); +#define LOG_Z3_get_param_value(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_param_value(_ARG0, _ARG1, _ARG2); } +void log_Z3_interrupt(Z3_context a0); +#define LOG_Z3_interrupt(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_interrupt(_ARG0); } +void log_Z3_mk_params(Z3_context a0); +#define LOG_Z3_mk_params(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_params(_ARG0); } +void log_Z3_params_inc_ref(Z3_context a0, Z3_params a1); +#define LOG_Z3_params_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_inc_ref(_ARG0, _ARG1); } +void log_Z3_params_dec_ref(Z3_context a0, Z3_params a1); +#define LOG_Z3_params_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_dec_ref(_ARG0, _ARG1); } +void log_Z3_params_set_bool(Z3_context a0, Z3_params a1, Z3_symbol a2, Z3_bool a3); +#define LOG_Z3_params_set_bool(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_set_bool(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_params_set_uint(Z3_context a0, Z3_params a1, Z3_symbol a2, unsigned a3); +#define LOG_Z3_params_set_uint(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_set_uint(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_params_set_double(Z3_context a0, Z3_params a1, Z3_symbol a2, double a3); +#define LOG_Z3_params_set_double(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_set_double(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_params_set_symbol(Z3_context a0, Z3_params a1, Z3_symbol a2, Z3_symbol a3); +#define LOG_Z3_params_set_symbol(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_set_symbol(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_params_to_string(Z3_context a0, Z3_params a1); +#define LOG_Z3_params_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_to_string(_ARG0, _ARG1); } +void log_Z3_params_validate(Z3_context a0, Z3_params a1, Z3_param_descrs a2); +#define LOG_Z3_params_validate(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_params_validate(_ARG0, _ARG1, _ARG2); } +void log_Z3_param_descrs_inc_ref(Z3_context a0, Z3_param_descrs a1); +#define LOG_Z3_param_descrs_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_param_descrs_inc_ref(_ARG0, _ARG1); } +void log_Z3_param_descrs_dec_ref(Z3_context a0, Z3_param_descrs a1); +#define LOG_Z3_param_descrs_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_param_descrs_dec_ref(_ARG0, _ARG1); } +void log_Z3_param_descrs_get_kind(Z3_context a0, Z3_param_descrs a1, Z3_symbol a2); +#define LOG_Z3_param_descrs_get_kind(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_param_descrs_get_kind(_ARG0, _ARG1, _ARG2); } +void log_Z3_param_descrs_size(Z3_context a0, Z3_param_descrs a1); +#define LOG_Z3_param_descrs_size(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_param_descrs_size(_ARG0, _ARG1); } +void log_Z3_param_descrs_get_name(Z3_context a0, Z3_param_descrs a1, unsigned a2); +#define LOG_Z3_param_descrs_get_name(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_param_descrs_get_name(_ARG0, _ARG1, _ARG2); } +void log_Z3_param_descrs_to_string(Z3_context a0, Z3_param_descrs a1); +#define LOG_Z3_param_descrs_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_param_descrs_to_string(_ARG0, _ARG1); } +void log_Z3_mk_int_symbol(Z3_context a0, int a1); +#define LOG_Z3_mk_int_symbol(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_int_symbol(_ARG0, _ARG1); } +void log_Z3_mk_string_symbol(Z3_context a0, Z3_string a1); +#define LOG_Z3_mk_string_symbol(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_string_symbol(_ARG0, _ARG1); } +void log_Z3_mk_uninterpreted_sort(Z3_context a0, Z3_symbol a1); +#define LOG_Z3_mk_uninterpreted_sort(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_uninterpreted_sort(_ARG0, _ARG1); } +void log_Z3_mk_bool_sort(Z3_context a0); +#define LOG_Z3_mk_bool_sort(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bool_sort(_ARG0); } +void log_Z3_mk_int_sort(Z3_context a0); +#define LOG_Z3_mk_int_sort(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_int_sort(_ARG0); } +void log_Z3_mk_real_sort(Z3_context a0); +#define LOG_Z3_mk_real_sort(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_real_sort(_ARG0); } +void log_Z3_mk_bv_sort(Z3_context a0, unsigned a1); +#define LOG_Z3_mk_bv_sort(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bv_sort(_ARG0, _ARG1); } +void log_Z3_mk_finite_domain_sort(Z3_context a0, Z3_symbol a1, __uint64 a2); +#define LOG_Z3_mk_finite_domain_sort(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_finite_domain_sort(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_array_sort(Z3_context a0, Z3_sort a1, Z3_sort a2); +#define LOG_Z3_mk_array_sort(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_array_sort(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_tuple_sort(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, Z3_func_decl* a5, Z3_func_decl* a6); +#define LOG_Z3_mk_tuple_sort(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6) z3_log_ctx _LOG_CTX; Z3_func_decl* Z3ARG5; unsigned Z3ARG2; Z3_func_decl* Z3ARG6; if (_LOG_CTX.enabled()) { log_Z3_mk_tuple_sort(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6); Z3ARG5 = _ARG5; Z3ARG2 = _ARG2; Z3ARG6 = _ARG6; } +#define RETURN_Z3_mk_tuple_sort(Z3RES) if (_LOG_CTX.enabled()) { SetR(Z3RES); SetO((Z3ARG5 == 0 ? 0 : *Z3ARG5), 5); for (unsigned i = 0; i < Z3ARG2; i++) { SetAO(Z3ARG6[i], 6, i); } } return Z3RES +void log_Z3_mk_enumeration_sort(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_symbol const * a3, Z3_func_decl* a4, Z3_func_decl* a5); +#define LOG_Z3_mk_enumeration_sort(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5) z3_log_ctx _LOG_CTX; unsigned Z3ARG2; Z3_func_decl* Z3ARG4; Z3_func_decl* Z3ARG5; if (_LOG_CTX.enabled()) { log_Z3_mk_enumeration_sort(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5); Z3ARG2 = _ARG2; Z3ARG4 = _ARG4; Z3ARG5 = _ARG5; } +#define RETURN_Z3_mk_enumeration_sort(Z3RES) if (_LOG_CTX.enabled()) { SetR(Z3RES); for (unsigned i = 0; i < Z3ARG2; i++) { SetAO(Z3ARG4[i], 4, i); } for (unsigned i = 0; i < Z3ARG2; i++) { SetAO(Z3ARG5[i], 5, i); } } return Z3RES +void log_Z3_mk_list_sort(Z3_context a0, Z3_symbol a1, Z3_sort a2, Z3_func_decl* a3, Z3_func_decl* a4, Z3_func_decl* a5, Z3_func_decl* a6, Z3_func_decl* a7, Z3_func_decl* a8); +#define LOG_Z3_mk_list_sort(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8) z3_log_ctx _LOG_CTX; Z3_func_decl* Z3ARG3; Z3_func_decl* Z3ARG4; Z3_func_decl* Z3ARG5; Z3_func_decl* Z3ARG6; Z3_func_decl* Z3ARG7; Z3_func_decl* Z3ARG8; if (_LOG_CTX.enabled()) { log_Z3_mk_list_sort(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8); Z3ARG3 = _ARG3; Z3ARG4 = _ARG4; Z3ARG5 = _ARG5; Z3ARG6 = _ARG6; Z3ARG7 = _ARG7; Z3ARG8 = _ARG8; } +#define RETURN_Z3_mk_list_sort(Z3RES) if (_LOG_CTX.enabled()) { SetR(Z3RES); SetO((Z3ARG3 == 0 ? 0 : *Z3ARG3), 3); SetO((Z3ARG4 == 0 ? 0 : *Z3ARG4), 4); SetO((Z3ARG5 == 0 ? 0 : *Z3ARG5), 5); SetO((Z3ARG6 == 0 ? 0 : *Z3ARG6), 6); SetO((Z3ARG7 == 0 ? 0 : *Z3ARG7), 7); SetO((Z3ARG8 == 0 ? 0 : *Z3ARG8), 8); } return Z3RES +void log_Z3_mk_constructor(Z3_context a0, Z3_symbol a1, Z3_symbol a2, unsigned a3, Z3_symbol const * a4, Z3_sort const * a5, unsigned const * a6); +#define LOG_Z3_mk_constructor(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_constructor(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6); } +void log_Z3_del_constructor(Z3_context a0, Z3_constructor a1); +#define LOG_Z3_del_constructor(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_del_constructor(_ARG0, _ARG1); } +void log_Z3_mk_datatype(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_constructor* a3); +#define LOG_Z3_mk_datatype(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; unsigned Z3ARG2; Z3_constructor* Z3ARG3; if (_LOG_CTX.enabled()) { log_Z3_mk_datatype(_ARG0, _ARG1, _ARG2, _ARG3); Z3ARG2 = _ARG2; Z3ARG3 = _ARG3; } +#define RETURN_Z3_mk_datatype(Z3RES) if (_LOG_CTX.enabled()) { SetR(Z3RES); for (unsigned i = 0; i < Z3ARG2; i++) { SetAO(Z3ARG3[i], 3, i); } } return Z3RES +void log_Z3_mk_constructor_list(Z3_context a0, unsigned a1, Z3_constructor const * a2); +#define LOG_Z3_mk_constructor_list(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_constructor_list(_ARG0, _ARG1, _ARG2); } +void log_Z3_del_constructor_list(Z3_context a0, Z3_constructor_list a1); +#define LOG_Z3_del_constructor_list(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_del_constructor_list(_ARG0, _ARG1); } +void log_Z3_mk_datatypes(Z3_context a0, unsigned a1, Z3_symbol const * a2, Z3_sort* a3, Z3_constructor_list* a4); +#define LOG_Z3_mk_datatypes(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; unsigned Z3ARG1; Z3_sort* Z3ARG3; Z3_constructor_list* Z3ARG4; if (_LOG_CTX.enabled()) { log_Z3_mk_datatypes(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); Z3ARG1 = _ARG1; Z3ARG3 = _ARG3; Z3ARG4 = _ARG4; } +#define RETURN_Z3_mk_datatypes if (_LOG_CTX.enabled()) { for (unsigned i = 0; i < Z3ARG1; i++) { SetAO(Z3ARG3[i], 3, i); } for (unsigned i = 0; i < Z3ARG1; i++) { SetAO(Z3ARG4[i], 4, i); } } return +void log_Z3_query_constructor(Z3_context a0, Z3_constructor a1, unsigned a2, Z3_func_decl* a3, Z3_func_decl* a4, Z3_func_decl* a5); +#define LOG_Z3_query_constructor(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5) z3_log_ctx _LOG_CTX; Z3_func_decl* Z3ARG3; Z3_func_decl* Z3ARG4; unsigned Z3ARG2; Z3_func_decl* Z3ARG5; if (_LOG_CTX.enabled()) { log_Z3_query_constructor(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5); Z3ARG3 = _ARG3; Z3ARG4 = _ARG4; Z3ARG2 = _ARG2; Z3ARG5 = _ARG5; } +#define RETURN_Z3_query_constructor if (_LOG_CTX.enabled()) { SetO((Z3ARG3 == 0 ? 0 : *Z3ARG3), 3); SetO((Z3ARG4 == 0 ? 0 : *Z3ARG4), 4); for (unsigned i = 0; i < Z3ARG2; i++) { SetAO(Z3ARG5[i], 5, i); } } return +void log_Z3_mk_func_decl(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_sort const * a3, Z3_sort a4); +#define LOG_Z3_mk_func_decl(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_func_decl(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } +void log_Z3_mk_app(Z3_context a0, Z3_func_decl a1, unsigned a2, Z3_ast const * a3); +#define LOG_Z3_mk_app(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_app(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_mk_const(Z3_context a0, Z3_symbol a1, Z3_sort a2); +#define LOG_Z3_mk_const(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_const(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_fresh_func_decl(Z3_context a0, Z3_string a1, unsigned a2, Z3_sort const * a3, Z3_sort a4); +#define LOG_Z3_mk_fresh_func_decl(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_fresh_func_decl(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } +void log_Z3_mk_fresh_const(Z3_context a0, Z3_string a1, Z3_sort a2); +#define LOG_Z3_mk_fresh_const(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_fresh_const(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_true(Z3_context a0); +#define LOG_Z3_mk_true(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_true(_ARG0); } +void log_Z3_mk_false(Z3_context a0); +#define LOG_Z3_mk_false(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_false(_ARG0); } +void log_Z3_mk_eq(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_eq(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_eq(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_distinct(Z3_context a0, unsigned a1, Z3_ast const * a2); +#define LOG_Z3_mk_distinct(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_distinct(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_not(Z3_context a0, Z3_ast a1); +#define LOG_Z3_mk_not(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_not(_ARG0, _ARG1); } +void log_Z3_mk_ite(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3); +#define LOG_Z3_mk_ite(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_ite(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_mk_iff(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_iff(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_iff(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_implies(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_implies(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_implies(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_xor(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_xor(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_xor(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_and(Z3_context a0, unsigned a1, Z3_ast const * a2); +#define LOG_Z3_mk_and(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_and(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_or(Z3_context a0, unsigned a1, Z3_ast const * a2); +#define LOG_Z3_mk_or(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_or(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_add(Z3_context a0, unsigned a1, Z3_ast const * a2); +#define LOG_Z3_mk_add(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_add(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_mul(Z3_context a0, unsigned a1, Z3_ast const * a2); +#define LOG_Z3_mk_mul(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_mul(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_sub(Z3_context a0, unsigned a1, Z3_ast const * a2); +#define LOG_Z3_mk_sub(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_sub(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_unary_minus(Z3_context a0, Z3_ast a1); +#define LOG_Z3_mk_unary_minus(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_unary_minus(_ARG0, _ARG1); } +void log_Z3_mk_div(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_div(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_div(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_mod(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_mod(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_mod(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_rem(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_rem(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_rem(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_power(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_power(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_power(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_lt(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_lt(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_lt(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_le(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_le(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_le(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_gt(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_gt(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_gt(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_ge(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_ge(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_ge(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_int2real(Z3_context a0, Z3_ast a1); +#define LOG_Z3_mk_int2real(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_int2real(_ARG0, _ARG1); } +void log_Z3_mk_real2int(Z3_context a0, Z3_ast a1); +#define LOG_Z3_mk_real2int(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_real2int(_ARG0, _ARG1); } +void log_Z3_mk_is_int(Z3_context a0, Z3_ast a1); +#define LOG_Z3_mk_is_int(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_is_int(_ARG0, _ARG1); } +void log_Z3_mk_bvnot(Z3_context a0, Z3_ast a1); +#define LOG_Z3_mk_bvnot(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvnot(_ARG0, _ARG1); } +void log_Z3_mk_bvredand(Z3_context a0, Z3_ast a1); +#define LOG_Z3_mk_bvredand(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvredand(_ARG0, _ARG1); } +void log_Z3_mk_bvredor(Z3_context a0, Z3_ast a1); +#define LOG_Z3_mk_bvredor(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvredor(_ARG0, _ARG1); } +void log_Z3_mk_bvand(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvand(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvand(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvor(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvor(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvor(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvxor(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvxor(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvxor(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvnand(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvnand(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvnand(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvnor(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvnor(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvnor(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvxnor(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvxnor(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvxnor(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvneg(Z3_context a0, Z3_ast a1); +#define LOG_Z3_mk_bvneg(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvneg(_ARG0, _ARG1); } +void log_Z3_mk_bvadd(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvadd(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvadd(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvsub(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvsub(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsub(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvmul(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvmul(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvmul(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvudiv(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvudiv(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvudiv(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvsdiv(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvsdiv(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsdiv(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvurem(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvurem(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvurem(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvsrem(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvsrem(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsrem(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvsmod(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvsmod(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsmod(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvult(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvult(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvult(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvslt(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvslt(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvslt(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvule(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvule(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvule(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvsle(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvsle(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsle(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvuge(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvuge(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvuge(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvsge(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvsge(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsge(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvugt(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvugt(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvugt(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvsgt(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvsgt(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsgt(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_concat(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_concat(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_concat(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_extract(Z3_context a0, unsigned a1, unsigned a2, Z3_ast a3); +#define LOG_Z3_mk_extract(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_extract(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_mk_sign_ext(Z3_context a0, unsigned a1, Z3_ast a2); +#define LOG_Z3_mk_sign_ext(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_sign_ext(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_zero_ext(Z3_context a0, unsigned a1, Z3_ast a2); +#define LOG_Z3_mk_zero_ext(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_zero_ext(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_repeat(Z3_context a0, unsigned a1, Z3_ast a2); +#define LOG_Z3_mk_repeat(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_repeat(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvshl(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvshl(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvshl(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvlshr(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvlshr(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvlshr(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvashr(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvashr(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvashr(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_rotate_left(Z3_context a0, unsigned a1, Z3_ast a2); +#define LOG_Z3_mk_rotate_left(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_rotate_left(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_rotate_right(Z3_context a0, unsigned a1, Z3_ast a2); +#define LOG_Z3_mk_rotate_right(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_rotate_right(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_ext_rotate_left(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_ext_rotate_left(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_ext_rotate_left(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_ext_rotate_right(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_ext_rotate_right(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_ext_rotate_right(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_int2bv(Z3_context a0, unsigned a1, Z3_ast a2); +#define LOG_Z3_mk_int2bv(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_int2bv(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bv2int(Z3_context a0, Z3_ast a1, Z3_bool a2); +#define LOG_Z3_mk_bv2int(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bv2int(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvadd_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_bool a3); +#define LOG_Z3_mk_bvadd_no_overflow(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvadd_no_overflow(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_mk_bvadd_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvadd_no_underflow(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvadd_no_underflow(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvsub_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvsub_no_overflow(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsub_no_overflow(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvsub_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_bool a3); +#define LOG_Z3_mk_bvsub_no_underflow(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsub_no_underflow(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_mk_bvsdiv_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvsdiv_no_overflow(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvsdiv_no_overflow(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bvneg_no_overflow(Z3_context a0, Z3_ast a1); +#define LOG_Z3_mk_bvneg_no_overflow(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvneg_no_overflow(_ARG0, _ARG1); } +void log_Z3_mk_bvmul_no_overflow(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_bool a3); +#define LOG_Z3_mk_bvmul_no_overflow(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvmul_no_overflow(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_mk_bvmul_no_underflow(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_bvmul_no_underflow(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bvmul_no_underflow(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_select(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_select(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_select(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_store(Z3_context a0, Z3_ast a1, Z3_ast a2, Z3_ast a3); +#define LOG_Z3_mk_store(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_store(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_mk_const_array(Z3_context a0, Z3_sort a1, Z3_ast a2); +#define LOG_Z3_mk_const_array(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_const_array(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_map(Z3_context a0, Z3_func_decl a1, unsigned a2, Z3_ast const * a3); +#define LOG_Z3_mk_map(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_map(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_mk_array_default(Z3_context a0, Z3_ast a1); +#define LOG_Z3_mk_array_default(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_array_default(_ARG0, _ARG1); } +void log_Z3_mk_set_sort(Z3_context a0, Z3_sort a1); +#define LOG_Z3_mk_set_sort(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_sort(_ARG0, _ARG1); } +void log_Z3_mk_empty_set(Z3_context a0, Z3_sort a1); +#define LOG_Z3_mk_empty_set(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_empty_set(_ARG0, _ARG1); } +void log_Z3_mk_full_set(Z3_context a0, Z3_sort a1); +#define LOG_Z3_mk_full_set(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_full_set(_ARG0, _ARG1); } +void log_Z3_mk_set_add(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_set_add(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_add(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_set_del(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_set_del(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_del(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_set_union(Z3_context a0, unsigned a1, Z3_ast const * a2); +#define LOG_Z3_mk_set_union(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_union(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_set_intersect(Z3_context a0, unsigned a1, Z3_ast const * a2); +#define LOG_Z3_mk_set_intersect(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_intersect(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_set_difference(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_set_difference(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_difference(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_set_complement(Z3_context a0, Z3_ast a1); +#define LOG_Z3_mk_set_complement(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_complement(_ARG0, _ARG1); } +void log_Z3_mk_set_member(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_set_member(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_member(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_set_subset(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_mk_set_subset(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_set_subset(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_numeral(Z3_context a0, Z3_string a1, Z3_sort a2); +#define LOG_Z3_mk_numeral(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_numeral(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_real(Z3_context a0, int a1, int a2); +#define LOG_Z3_mk_real(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_real(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_int(Z3_context a0, int a1, Z3_sort a2); +#define LOG_Z3_mk_int(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_int(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_unsigned_int(Z3_context a0, unsigned a1, Z3_sort a2); +#define LOG_Z3_mk_unsigned_int(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_unsigned_int(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_int64(Z3_context a0, __int64 a1, Z3_sort a2); +#define LOG_Z3_mk_int64(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_int64(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_unsigned_int64(Z3_context a0, __uint64 a1, Z3_sort a2); +#define LOG_Z3_mk_unsigned_int64(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_unsigned_int64(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_pattern(Z3_context a0, unsigned a1, Z3_ast const * a2); +#define LOG_Z3_mk_pattern(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_pattern(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_bound(Z3_context a0, unsigned a1, Z3_sort a2); +#define LOG_Z3_mk_bound(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_bound(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_forall(Z3_context a0, unsigned a1, unsigned a2, Z3_pattern const * a3, unsigned a4, Z3_sort const * a5, Z3_symbol const * a6, Z3_ast a7); +#define LOG_Z3_mk_forall(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_forall(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } +void log_Z3_mk_exists(Z3_context a0, unsigned a1, unsigned a2, Z3_pattern const * a3, unsigned a4, Z3_sort const * a5, Z3_symbol const * a6, Z3_ast a7); +#define LOG_Z3_mk_exists(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_exists(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } +void log_Z3_mk_quantifier(Z3_context a0, Z3_bool a1, unsigned a2, unsigned a3, Z3_pattern const * a4, unsigned a5, Z3_sort const * a6, Z3_symbol const * a7, Z3_ast a8); +#define LOG_Z3_mk_quantifier(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_quantifier(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8); } +void log_Z3_mk_quantifier_ex(Z3_context a0, Z3_bool a1, unsigned a2, Z3_symbol a3, Z3_symbol a4, unsigned a5, Z3_pattern const * a6, unsigned a7, Z3_ast const * a8, unsigned a9, Z3_sort const * a10, Z3_symbol const * a11, Z3_ast a12); +#define LOG_Z3_mk_quantifier_ex(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8, _ARG9, _ARG10, _ARG11, _ARG12) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_quantifier_ex(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8, _ARG9, _ARG10, _ARG11, _ARG12); } +void log_Z3_mk_forall_const(Z3_context a0, unsigned a1, unsigned a2, Z3_app const * a3, unsigned a4, Z3_pattern const * a5, Z3_ast a6); +#define LOG_Z3_mk_forall_const(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_forall_const(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6); } +void log_Z3_mk_exists_const(Z3_context a0, unsigned a1, unsigned a2, Z3_app const * a3, unsigned a4, Z3_pattern const * a5, Z3_ast a6); +#define LOG_Z3_mk_exists_const(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_exists_const(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6); } +void log_Z3_mk_quantifier_const(Z3_context a0, Z3_bool a1, unsigned a2, unsigned a3, Z3_app const * a4, unsigned a5, Z3_pattern const * a6, Z3_ast a7); +#define LOG_Z3_mk_quantifier_const(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_quantifier_const(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } +void log_Z3_mk_quantifier_const_ex(Z3_context a0, Z3_bool a1, unsigned a2, Z3_symbol a3, Z3_symbol a4, unsigned a5, Z3_app const * a6, unsigned a7, Z3_pattern const * a8, unsigned a9, Z3_ast const * a10, Z3_ast a11); +#define LOG_Z3_mk_quantifier_const_ex(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8, _ARG9, _ARG10, _ARG11) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_quantifier_const_ex(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7, _ARG8, _ARG9, _ARG10, _ARG11); } +void log_Z3_get_symbol_kind(Z3_context a0, Z3_symbol a1); +#define LOG_Z3_get_symbol_kind(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_symbol_kind(_ARG0, _ARG1); } +void log_Z3_get_symbol_int(Z3_context a0, Z3_symbol a1); +#define LOG_Z3_get_symbol_int(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_symbol_int(_ARG0, _ARG1); } +void log_Z3_get_symbol_string(Z3_context a0, Z3_symbol a1); +#define LOG_Z3_get_symbol_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_symbol_string(_ARG0, _ARG1); } +void log_Z3_get_sort_name(Z3_context a0, Z3_sort a1); +#define LOG_Z3_get_sort_name(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_sort_name(_ARG0, _ARG1); } +void log_Z3_get_sort_id(Z3_context a0, Z3_sort a1); +#define LOG_Z3_get_sort_id(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_sort_id(_ARG0, _ARG1); } +void log_Z3_sort_to_ast(Z3_context a0, Z3_sort a1); +#define LOG_Z3_sort_to_ast(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_sort_to_ast(_ARG0, _ARG1); } +void log_Z3_is_eq_sort(Z3_context a0, Z3_sort a1, Z3_sort a2); +#define LOG_Z3_is_eq_sort(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_eq_sort(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_sort_kind(Z3_context a0, Z3_sort a1); +#define LOG_Z3_get_sort_kind(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_sort_kind(_ARG0, _ARG1); } +void log_Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1); +#define LOG_Z3_get_bv_sort_size(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_bv_sort_size(_ARG0, _ARG1); } +void log_Z3_get_finite_domain_sort_size(Z3_context a0, Z3_sort a1, __uint64* a2); +#define LOG_Z3_get_finite_domain_sort_size(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_finite_domain_sort_size(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_array_sort_domain(Z3_context a0, Z3_sort a1); +#define LOG_Z3_get_array_sort_domain(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_array_sort_domain(_ARG0, _ARG1); } +void log_Z3_get_array_sort_range(Z3_context a0, Z3_sort a1); +#define LOG_Z3_get_array_sort_range(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_array_sort_range(_ARG0, _ARG1); } +void log_Z3_get_tuple_sort_mk_decl(Z3_context a0, Z3_sort a1); +#define LOG_Z3_get_tuple_sort_mk_decl(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_tuple_sort_mk_decl(_ARG0, _ARG1); } +void log_Z3_get_tuple_sort_num_fields(Z3_context a0, Z3_sort a1); +#define LOG_Z3_get_tuple_sort_num_fields(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_tuple_sort_num_fields(_ARG0, _ARG1); } +void log_Z3_get_tuple_sort_field_decl(Z3_context a0, Z3_sort a1, unsigned a2); +#define LOG_Z3_get_tuple_sort_field_decl(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_tuple_sort_field_decl(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_datatype_sort_num_constructors(Z3_context a0, Z3_sort a1); +#define LOG_Z3_get_datatype_sort_num_constructors(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_datatype_sort_num_constructors(_ARG0, _ARG1); } +void log_Z3_get_datatype_sort_constructor(Z3_context a0, Z3_sort a1, unsigned a2); +#define LOG_Z3_get_datatype_sort_constructor(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_datatype_sort_constructor(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_datatype_sort_recognizer(Z3_context a0, Z3_sort a1, unsigned a2); +#define LOG_Z3_get_datatype_sort_recognizer(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_datatype_sort_recognizer(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_datatype_sort_constructor_accessor(Z3_context a0, Z3_sort a1, unsigned a2, unsigned a3); +#define LOG_Z3_get_datatype_sort_constructor_accessor(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_datatype_sort_constructor_accessor(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_get_relation_arity(Z3_context a0, Z3_sort a1); +#define LOG_Z3_get_relation_arity(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_relation_arity(_ARG0, _ARG1); } +void log_Z3_get_relation_column(Z3_context a0, Z3_sort a1, unsigned a2); +#define LOG_Z3_get_relation_column(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_relation_column(_ARG0, _ARG1, _ARG2); } +void log_Z3_func_decl_to_ast(Z3_context a0, Z3_func_decl a1); +#define LOG_Z3_func_decl_to_ast(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_decl_to_ast(_ARG0, _ARG1); } +void log_Z3_is_eq_func_decl(Z3_context a0, Z3_func_decl a1, Z3_func_decl a2); +#define LOG_Z3_is_eq_func_decl(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_eq_func_decl(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_func_decl_id(Z3_context a0, Z3_func_decl a1); +#define LOG_Z3_get_func_decl_id(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_func_decl_id(_ARG0, _ARG1); } +void log_Z3_get_decl_name(Z3_context a0, Z3_func_decl a1); +#define LOG_Z3_get_decl_name(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_name(_ARG0, _ARG1); } +void log_Z3_get_decl_kind(Z3_context a0, Z3_func_decl a1); +#define LOG_Z3_get_decl_kind(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_kind(_ARG0, _ARG1); } +void log_Z3_get_domain_size(Z3_context a0, Z3_func_decl a1); +#define LOG_Z3_get_domain_size(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_domain_size(_ARG0, _ARG1); } +void log_Z3_get_arity(Z3_context a0, Z3_func_decl a1); +#define LOG_Z3_get_arity(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_arity(_ARG0, _ARG1); } +void log_Z3_get_domain(Z3_context a0, Z3_func_decl a1, unsigned a2); +#define LOG_Z3_get_domain(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_domain(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_range(Z3_context a0, Z3_func_decl a1); +#define LOG_Z3_get_range(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_range(_ARG0, _ARG1); } +void log_Z3_get_decl_num_parameters(Z3_context a0, Z3_func_decl a1); +#define LOG_Z3_get_decl_num_parameters(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_num_parameters(_ARG0, _ARG1); } +void log_Z3_get_decl_parameter_kind(Z3_context a0, Z3_func_decl a1, unsigned a2); +#define LOG_Z3_get_decl_parameter_kind(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_parameter_kind(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_decl_int_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2); +#define LOG_Z3_get_decl_int_parameter(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_int_parameter(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_decl_double_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2); +#define LOG_Z3_get_decl_double_parameter(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_double_parameter(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_decl_symbol_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2); +#define LOG_Z3_get_decl_symbol_parameter(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_symbol_parameter(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_decl_sort_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2); +#define LOG_Z3_get_decl_sort_parameter(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_sort_parameter(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_decl_ast_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2); +#define LOG_Z3_get_decl_ast_parameter(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_ast_parameter(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_decl_func_decl_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2); +#define LOG_Z3_get_decl_func_decl_parameter(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_func_decl_parameter(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_decl_rational_parameter(Z3_context a0, Z3_func_decl a1, unsigned a2); +#define LOG_Z3_get_decl_rational_parameter(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_decl_rational_parameter(_ARG0, _ARG1, _ARG2); } +void log_Z3_app_to_ast(Z3_context a0, Z3_app a1); +#define LOG_Z3_app_to_ast(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_app_to_ast(_ARG0, _ARG1); } +void log_Z3_get_app_decl(Z3_context a0, Z3_app a1); +#define LOG_Z3_get_app_decl(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_app_decl(_ARG0, _ARG1); } +void log_Z3_get_app_num_args(Z3_context a0, Z3_app a1); +#define LOG_Z3_get_app_num_args(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_app_num_args(_ARG0, _ARG1); } +void log_Z3_get_app_arg(Z3_context a0, Z3_app a1, unsigned a2); +#define LOG_Z3_get_app_arg(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_app_arg(_ARG0, _ARG1, _ARG2); } +void log_Z3_is_eq_ast(Z3_context a0, Z3_ast a1, Z3_ast a2); +#define LOG_Z3_is_eq_ast(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_eq_ast(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_ast_id(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_ast_id(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_ast_id(_ARG0, _ARG1); } +void log_Z3_get_ast_hash(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_ast_hash(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_ast_hash(_ARG0, _ARG1); } +void log_Z3_get_sort(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_sort(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_sort(_ARG0, _ARG1); } +void log_Z3_is_well_sorted(Z3_context a0, Z3_ast a1); +#define LOG_Z3_is_well_sorted(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_well_sorted(_ARG0, _ARG1); } +void log_Z3_get_bool_value(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_bool_value(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_bool_value(_ARG0, _ARG1); } +void log_Z3_get_ast_kind(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_ast_kind(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_ast_kind(_ARG0, _ARG1); } +void log_Z3_is_app(Z3_context a0, Z3_ast a1); +#define LOG_Z3_is_app(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_app(_ARG0, _ARG1); } +void log_Z3_is_numeral_ast(Z3_context a0, Z3_ast a1); +#define LOG_Z3_is_numeral_ast(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_numeral_ast(_ARG0, _ARG1); } +void log_Z3_is_algebraic_number(Z3_context a0, Z3_ast a1); +#define LOG_Z3_is_algebraic_number(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_algebraic_number(_ARG0, _ARG1); } +void log_Z3_to_app(Z3_context a0, Z3_ast a1); +#define LOG_Z3_to_app(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_to_app(_ARG0, _ARG1); } +void log_Z3_to_func_decl(Z3_context a0, Z3_ast a1); +#define LOG_Z3_to_func_decl(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_to_func_decl(_ARG0, _ARG1); } +void log_Z3_get_numeral_string(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_numeral_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_string(_ARG0, _ARG1); } +void log_Z3_get_numeral_decimal_string(Z3_context a0, Z3_ast a1, unsigned a2); +#define LOG_Z3_get_numeral_decimal_string(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_decimal_string(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_numerator(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_numerator(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numerator(_ARG0, _ARG1); } +void log_Z3_get_denominator(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_denominator(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_denominator(_ARG0, _ARG1); } +void log_Z3_get_numeral_small(Z3_context a0, Z3_ast a1, __int64* a2, __int64* a3); +#define LOG_Z3_get_numeral_small(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_small(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_get_numeral_int(Z3_context a0, Z3_ast a1, int* a2); +#define LOG_Z3_get_numeral_int(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_int(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_numeral_uint(Z3_context a0, Z3_ast a1, unsigned* a2); +#define LOG_Z3_get_numeral_uint(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_uint(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_numeral_uint64(Z3_context a0, Z3_ast a1, __uint64* a2); +#define LOG_Z3_get_numeral_uint64(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_uint64(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_numeral_int64(Z3_context a0, Z3_ast a1, __int64* a2); +#define LOG_Z3_get_numeral_int64(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_int64(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_numeral_rational_int64(Z3_context a0, Z3_ast a1, __int64* a2, __int64* a3); +#define LOG_Z3_get_numeral_rational_int64(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_numeral_rational_int64(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_get_algebraic_number_lower(Z3_context a0, Z3_ast a1, unsigned a2); +#define LOG_Z3_get_algebraic_number_lower(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_algebraic_number_lower(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_algebraic_number_upper(Z3_context a0, Z3_ast a1, unsigned a2); +#define LOG_Z3_get_algebraic_number_upper(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_algebraic_number_upper(_ARG0, _ARG1, _ARG2); } +void log_Z3_pattern_to_ast(Z3_context a0, Z3_pattern a1); +#define LOG_Z3_pattern_to_ast(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_pattern_to_ast(_ARG0, _ARG1); } +void log_Z3_get_pattern_num_terms(Z3_context a0, Z3_pattern a1); +#define LOG_Z3_get_pattern_num_terms(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_pattern_num_terms(_ARG0, _ARG1); } +void log_Z3_get_pattern(Z3_context a0, Z3_pattern a1, unsigned a2); +#define LOG_Z3_get_pattern(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_pattern(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_index_value(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_index_value(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_index_value(_ARG0, _ARG1); } +void log_Z3_is_quantifier_forall(Z3_context a0, Z3_ast a1); +#define LOG_Z3_is_quantifier_forall(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_quantifier_forall(_ARG0, _ARG1); } +void log_Z3_get_quantifier_weight(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_quantifier_weight(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_weight(_ARG0, _ARG1); } +void log_Z3_get_quantifier_num_patterns(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_quantifier_num_patterns(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_num_patterns(_ARG0, _ARG1); } +void log_Z3_get_quantifier_pattern_ast(Z3_context a0, Z3_ast a1, unsigned a2); +#define LOG_Z3_get_quantifier_pattern_ast(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_pattern_ast(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_quantifier_num_no_patterns(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_quantifier_num_no_patterns(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_num_no_patterns(_ARG0, _ARG1); } +void log_Z3_get_quantifier_no_pattern_ast(Z3_context a0, Z3_ast a1, unsigned a2); +#define LOG_Z3_get_quantifier_no_pattern_ast(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_no_pattern_ast(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_quantifier_num_bound(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_quantifier_num_bound(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_num_bound(_ARG0, _ARG1); } +void log_Z3_get_quantifier_bound_name(Z3_context a0, Z3_ast a1, unsigned a2); +#define LOG_Z3_get_quantifier_bound_name(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_bound_name(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_quantifier_bound_sort(Z3_context a0, Z3_ast a1, unsigned a2); +#define LOG_Z3_get_quantifier_bound_sort(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_bound_sort(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_quantifier_body(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_quantifier_body(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_quantifier_body(_ARG0, _ARG1); } +void log_Z3_simplify(Z3_context a0, Z3_ast a1); +#define LOG_Z3_simplify(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_simplify(_ARG0, _ARG1); } +void log_Z3_simplify_ex(Z3_context a0, Z3_ast a1, Z3_params a2); +#define LOG_Z3_simplify_ex(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_simplify_ex(_ARG0, _ARG1, _ARG2); } +void log_Z3_simplify_get_help(Z3_context a0); +#define LOG_Z3_simplify_get_help(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_simplify_get_help(_ARG0); } +void log_Z3_simplify_get_param_descrs(Z3_context a0); +#define LOG_Z3_simplify_get_param_descrs(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_simplify_get_param_descrs(_ARG0); } +void log_Z3_update_term(Z3_context a0, Z3_ast a1, unsigned a2, Z3_ast const * a3); +#define LOG_Z3_update_term(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_update_term(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_substitute(Z3_context a0, Z3_ast a1, unsigned a2, Z3_ast const * a3, Z3_ast const * a4); +#define LOG_Z3_substitute(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_substitute(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } +void log_Z3_substitute_vars(Z3_context a0, Z3_ast a1, unsigned a2, Z3_ast const * a3); +#define LOG_Z3_substitute_vars(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_substitute_vars(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_translate(Z3_context a0, Z3_ast a1, Z3_context a2); +#define LOG_Z3_translate(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_translate(_ARG0, _ARG1, _ARG2); } +void log_Z3_model_inc_ref(Z3_context a0, Z3_model a1); +#define LOG_Z3_model_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_inc_ref(_ARG0, _ARG1); } +void log_Z3_model_dec_ref(Z3_context a0, Z3_model a1); +#define LOG_Z3_model_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_dec_ref(_ARG0, _ARG1); } +void log_Z3_model_eval(Z3_context a0, Z3_model a1, Z3_ast a2, Z3_bool a3, Z3_ast* a4); +#define LOG_Z3_model_eval(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; Z3_ast* Z3ARG4; if (_LOG_CTX.enabled()) { log_Z3_model_eval(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); Z3ARG4 = _ARG4; } +#define RETURN_Z3_model_eval if (_LOG_CTX.enabled()) { SetO((Z3ARG4 == 0 ? 0 : *Z3ARG4), 4); } return +void log_Z3_model_get_const_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2); +#define LOG_Z3_model_get_const_interp(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_const_interp(_ARG0, _ARG1, _ARG2); } +void log_Z3_model_get_func_interp(Z3_context a0, Z3_model a1, Z3_func_decl a2); +#define LOG_Z3_model_get_func_interp(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_func_interp(_ARG0, _ARG1, _ARG2); } +void log_Z3_model_get_num_consts(Z3_context a0, Z3_model a1); +#define LOG_Z3_model_get_num_consts(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_num_consts(_ARG0, _ARG1); } +void log_Z3_model_get_const_decl(Z3_context a0, Z3_model a1, unsigned a2); +#define LOG_Z3_model_get_const_decl(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_const_decl(_ARG0, _ARG1, _ARG2); } +void log_Z3_model_get_num_funcs(Z3_context a0, Z3_model a1); +#define LOG_Z3_model_get_num_funcs(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_num_funcs(_ARG0, _ARG1); } +void log_Z3_model_get_func_decl(Z3_context a0, Z3_model a1, unsigned a2); +#define LOG_Z3_model_get_func_decl(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_func_decl(_ARG0, _ARG1, _ARG2); } +void log_Z3_model_get_num_sorts(Z3_context a0, Z3_model a1); +#define LOG_Z3_model_get_num_sorts(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_num_sorts(_ARG0, _ARG1); } +void log_Z3_model_get_sort(Z3_context a0, Z3_model a1, unsigned a2); +#define LOG_Z3_model_get_sort(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_sort(_ARG0, _ARG1, _ARG2); } +void log_Z3_model_get_sort_universe(Z3_context a0, Z3_model a1, Z3_sort a2); +#define LOG_Z3_model_get_sort_universe(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_get_sort_universe(_ARG0, _ARG1, _ARG2); } +void log_Z3_is_as_array(Z3_context a0, Z3_ast a1); +#define LOG_Z3_is_as_array(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_as_array(_ARG0, _ARG1); } +void log_Z3_get_as_array_func_decl(Z3_context a0, Z3_ast a1); +#define LOG_Z3_get_as_array_func_decl(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_as_array_func_decl(_ARG0, _ARG1); } +void log_Z3_func_interp_inc_ref(Z3_context a0, Z3_func_interp a1); +#define LOG_Z3_func_interp_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_interp_inc_ref(_ARG0, _ARG1); } +void log_Z3_func_interp_dec_ref(Z3_context a0, Z3_func_interp a1); +#define LOG_Z3_func_interp_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_interp_dec_ref(_ARG0, _ARG1); } +void log_Z3_func_interp_get_num_entries(Z3_context a0, Z3_func_interp a1); +#define LOG_Z3_func_interp_get_num_entries(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_interp_get_num_entries(_ARG0, _ARG1); } +void log_Z3_func_interp_get_entry(Z3_context a0, Z3_func_interp a1, unsigned a2); +#define LOG_Z3_func_interp_get_entry(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_interp_get_entry(_ARG0, _ARG1, _ARG2); } +void log_Z3_func_interp_get_else(Z3_context a0, Z3_func_interp a1); +#define LOG_Z3_func_interp_get_else(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_interp_get_else(_ARG0, _ARG1); } +void log_Z3_func_interp_get_arity(Z3_context a0, Z3_func_interp a1); +#define LOG_Z3_func_interp_get_arity(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_interp_get_arity(_ARG0, _ARG1); } +void log_Z3_func_entry_inc_ref(Z3_context a0, Z3_func_entry a1); +#define LOG_Z3_func_entry_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_entry_inc_ref(_ARG0, _ARG1); } +void log_Z3_func_entry_dec_ref(Z3_context a0, Z3_func_entry a1); +#define LOG_Z3_func_entry_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_entry_dec_ref(_ARG0, _ARG1); } +void log_Z3_func_entry_get_value(Z3_context a0, Z3_func_entry a1); +#define LOG_Z3_func_entry_get_value(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_entry_get_value(_ARG0, _ARG1); } +void log_Z3_func_entry_get_num_args(Z3_context a0, Z3_func_entry a1); +#define LOG_Z3_func_entry_get_num_args(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_entry_get_num_args(_ARG0, _ARG1); } +void log_Z3_func_entry_get_arg(Z3_context a0, Z3_func_entry a1, unsigned a2); +#define LOG_Z3_func_entry_get_arg(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_entry_get_arg(_ARG0, _ARG1, _ARG2); } +void log_Z3_toggle_warning_messages(Z3_bool a0); +#define LOG_Z3_toggle_warning_messages(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_toggle_warning_messages(_ARG0); } +void log_Z3_set_ast_print_mode(Z3_context a0, Z3_ast_print_mode a1); +#define LOG_Z3_set_ast_print_mode(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_set_ast_print_mode(_ARG0, _ARG1); } +void log_Z3_ast_to_string(Z3_context a0, Z3_ast a1); +#define LOG_Z3_ast_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_to_string(_ARG0, _ARG1); } +void log_Z3_pattern_to_string(Z3_context a0, Z3_pattern a1); +#define LOG_Z3_pattern_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_pattern_to_string(_ARG0, _ARG1); } +void log_Z3_sort_to_string(Z3_context a0, Z3_sort a1); +#define LOG_Z3_sort_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_sort_to_string(_ARG0, _ARG1); } +void log_Z3_func_decl_to_string(Z3_context a0, Z3_func_decl a1); +#define LOG_Z3_func_decl_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_func_decl_to_string(_ARG0, _ARG1); } +void log_Z3_model_to_string(Z3_context a0, Z3_model a1); +#define LOG_Z3_model_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_model_to_string(_ARG0, _ARG1); } +void log_Z3_benchmark_to_smtlib_string(Z3_context a0, Z3_string a1, Z3_string a2, Z3_string a3, Z3_string a4, unsigned a5, Z3_ast const * a6, Z3_ast a7); +#define LOG_Z3_benchmark_to_smtlib_string(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_benchmark_to_smtlib_string(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } +void log_Z3_parse_smtlib2_string(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7); +#define LOG_Z3_parse_smtlib2_string(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_parse_smtlib2_string(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } +void log_Z3_parse_smtlib2_file(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7); +#define LOG_Z3_parse_smtlib2_file(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_parse_smtlib2_file(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } +void log_Z3_parse_smtlib_string(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7); +#define LOG_Z3_parse_smtlib_string(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_parse_smtlib_string(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } +void log_Z3_parse_smtlib_file(Z3_context a0, Z3_string a1, unsigned a2, Z3_symbol const * a3, Z3_sort const * a4, unsigned a5, Z3_symbol const * a6, Z3_func_decl const * a7); +#define LOG_Z3_parse_smtlib_file(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_parse_smtlib_file(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6, _ARG7); } +void log_Z3_get_smtlib_num_formulas(Z3_context a0); +#define LOG_Z3_get_smtlib_num_formulas(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_num_formulas(_ARG0); } +void log_Z3_get_smtlib_formula(Z3_context a0, unsigned a1); +#define LOG_Z3_get_smtlib_formula(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_formula(_ARG0, _ARG1); } +void log_Z3_get_smtlib_num_assumptions(Z3_context a0); +#define LOG_Z3_get_smtlib_num_assumptions(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_num_assumptions(_ARG0); } +void log_Z3_get_smtlib_assumption(Z3_context a0, unsigned a1); +#define LOG_Z3_get_smtlib_assumption(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_assumption(_ARG0, _ARG1); } +void log_Z3_get_smtlib_num_decls(Z3_context a0); +#define LOG_Z3_get_smtlib_num_decls(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_num_decls(_ARG0); } +void log_Z3_get_smtlib_decl(Z3_context a0, unsigned a1); +#define LOG_Z3_get_smtlib_decl(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_decl(_ARG0, _ARG1); } +void log_Z3_get_smtlib_num_sorts(Z3_context a0); +#define LOG_Z3_get_smtlib_num_sorts(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_num_sorts(_ARG0); } +void log_Z3_get_smtlib_sort(Z3_context a0, unsigned a1); +#define LOG_Z3_get_smtlib_sort(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_sort(_ARG0, _ARG1); } +void log_Z3_get_smtlib_error(Z3_context a0); +#define LOG_Z3_get_smtlib_error(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_smtlib_error(_ARG0); } +void log_Z3_parse_z3_string(Z3_context a0, Z3_string a1); +#define LOG_Z3_parse_z3_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_parse_z3_string(_ARG0, _ARG1); } +void log_Z3_parse_z3_file(Z3_context a0, Z3_string a1); +#define LOG_Z3_parse_z3_file(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_parse_z3_file(_ARG0, _ARG1); } +void log_Z3_get_error_code(Z3_context a0); +#define LOG_Z3_get_error_code(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_error_code(_ARG0); } +void log_Z3_set_error(Z3_context a0, Z3_error_code a1); +#define LOG_Z3_set_error(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_set_error(_ARG0, _ARG1); } +void log_Z3_get_error_msg(Z3_error_code a0); +#define LOG_Z3_get_error_msg(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_error_msg(_ARG0); } +void log_Z3_get_error_msg_ex(Z3_context a0, Z3_error_code a1); +#define LOG_Z3_get_error_msg_ex(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_error_msg_ex(_ARG0, _ARG1); } +void log_Z3_get_version(unsigned* a0, unsigned* a1, unsigned* a2, unsigned* a3); +#define LOG_Z3_get_version(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_version(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_reset_memory(); +#define LOG_Z3_reset_memory() z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_reset_memory(); } +void log_Z3_mk_fixedpoint(Z3_context a0); +#define LOG_Z3_mk_fixedpoint(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_fixedpoint(_ARG0); } +void log_Z3_fixedpoint_inc_ref(Z3_context a0, Z3_fixedpoint a1); +#define LOG_Z3_fixedpoint_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_inc_ref(_ARG0, _ARG1); } +void log_Z3_fixedpoint_dec_ref(Z3_context a0, Z3_fixedpoint a1); +#define LOG_Z3_fixedpoint_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_dec_ref(_ARG0, _ARG1); } +void log_Z3_fixedpoint_add_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, Z3_symbol a3); +#define LOG_Z3_fixedpoint_add_rule(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_add_rule(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_fixedpoint_add_fact(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, unsigned a3, unsigned const * a4); +#define LOG_Z3_fixedpoint_add_fact(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_add_fact(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } +void log_Z3_fixedpoint_assert(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2); +#define LOG_Z3_fixedpoint_assert(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_assert(_ARG0, _ARG1, _ARG2); } +void log_Z3_fixedpoint_query(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2); +#define LOG_Z3_fixedpoint_query(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_query(_ARG0, _ARG1, _ARG2); } +void log_Z3_fixedpoint_query_relations(Z3_context a0, Z3_fixedpoint a1, unsigned a2, Z3_func_decl const * a3); +#define LOG_Z3_fixedpoint_query_relations(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_query_relations(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_fixedpoint_get_answer(Z3_context a0, Z3_fixedpoint a1); +#define LOG_Z3_fixedpoint_get_answer(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_get_answer(_ARG0, _ARG1); } +void log_Z3_fixedpoint_get_reason_unknown(Z3_context a0, Z3_fixedpoint a1); +#define LOG_Z3_fixedpoint_get_reason_unknown(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_get_reason_unknown(_ARG0, _ARG1); } +void log_Z3_fixedpoint_update_rule(Z3_context a0, Z3_fixedpoint a1, Z3_ast a2, Z3_symbol a3); +#define LOG_Z3_fixedpoint_update_rule(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_update_rule(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_fixedpoint_get_num_levels(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2); +#define LOG_Z3_fixedpoint_get_num_levels(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_get_num_levels(_ARG0, _ARG1, _ARG2); } +void log_Z3_fixedpoint_get_cover_delta(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3); +#define LOG_Z3_fixedpoint_get_cover_delta(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_get_cover_delta(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_fixedpoint_add_cover(Z3_context a0, Z3_fixedpoint a1, int a2, Z3_func_decl a3, Z3_ast a4); +#define LOG_Z3_fixedpoint_add_cover(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_add_cover(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } +void log_Z3_fixedpoint_get_statistics(Z3_context a0, Z3_fixedpoint a1); +#define LOG_Z3_fixedpoint_get_statistics(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_get_statistics(_ARG0, _ARG1); } +void log_Z3_fixedpoint_register_relation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2); +#define LOG_Z3_fixedpoint_register_relation(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_register_relation(_ARG0, _ARG1, _ARG2); } +void log_Z3_fixedpoint_set_predicate_representation(Z3_context a0, Z3_fixedpoint a1, Z3_func_decl a2, unsigned a3, Z3_symbol const * a4); +#define LOG_Z3_fixedpoint_set_predicate_representation(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_set_predicate_representation(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } +void log_Z3_fixedpoint_simplify_rules(Z3_context a0, Z3_fixedpoint a1, unsigned a2, Z3_ast const * a3, unsigned a4, Z3_func_decl const * a5); +#define LOG_Z3_fixedpoint_simplify_rules(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_simplify_rules(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5); } +void log_Z3_fixedpoint_set_params(Z3_context a0, Z3_fixedpoint a1, Z3_params a2); +#define LOG_Z3_fixedpoint_set_params(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_set_params(_ARG0, _ARG1, _ARG2); } +void log_Z3_fixedpoint_get_help(Z3_context a0, Z3_fixedpoint a1); +#define LOG_Z3_fixedpoint_get_help(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_get_help(_ARG0, _ARG1); } +void log_Z3_fixedpoint_get_param_descrs(Z3_context a0, Z3_fixedpoint a1); +#define LOG_Z3_fixedpoint_get_param_descrs(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_get_param_descrs(_ARG0, _ARG1); } +void log_Z3_fixedpoint_to_string(Z3_context a0, Z3_fixedpoint a1, unsigned a2, Z3_ast const * a3); +#define LOG_Z3_fixedpoint_to_string(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_to_string(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_fixedpoint_push(Z3_context a0, Z3_fixedpoint a1); +#define LOG_Z3_fixedpoint_push(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_push(_ARG0, _ARG1); } +void log_Z3_fixedpoint_pop(Z3_context a0, Z3_fixedpoint a1); +#define LOG_Z3_fixedpoint_pop(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_fixedpoint_pop(_ARG0, _ARG1); } +void log_Z3_mk_ast_vector(Z3_context a0); +#define LOG_Z3_mk_ast_vector(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_ast_vector(_ARG0); } +void log_Z3_ast_vector_inc_ref(Z3_context a0, Z3_ast_vector a1); +#define LOG_Z3_ast_vector_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_inc_ref(_ARG0, _ARG1); } +void log_Z3_ast_vector_dec_ref(Z3_context a0, Z3_ast_vector a1); +#define LOG_Z3_ast_vector_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_dec_ref(_ARG0, _ARG1); } +void log_Z3_ast_vector_size(Z3_context a0, Z3_ast_vector a1); +#define LOG_Z3_ast_vector_size(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_size(_ARG0, _ARG1); } +void log_Z3_ast_vector_get(Z3_context a0, Z3_ast_vector a1, unsigned a2); +#define LOG_Z3_ast_vector_get(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_get(_ARG0, _ARG1, _ARG2); } +void log_Z3_ast_vector_set(Z3_context a0, Z3_ast_vector a1, unsigned a2, Z3_ast a3); +#define LOG_Z3_ast_vector_set(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_set(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_ast_vector_resize(Z3_context a0, Z3_ast_vector a1, unsigned a2); +#define LOG_Z3_ast_vector_resize(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_resize(_ARG0, _ARG1, _ARG2); } +void log_Z3_ast_vector_push(Z3_context a0, Z3_ast_vector a1, Z3_ast a2); +#define LOG_Z3_ast_vector_push(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_push(_ARG0, _ARG1, _ARG2); } +void log_Z3_ast_vector_translate(Z3_context a0, Z3_ast_vector a1, Z3_context a2); +#define LOG_Z3_ast_vector_translate(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_translate(_ARG0, _ARG1, _ARG2); } +void log_Z3_ast_vector_to_string(Z3_context a0, Z3_ast_vector a1); +#define LOG_Z3_ast_vector_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_vector_to_string(_ARG0, _ARG1); } +void log_Z3_mk_ast_map(Z3_context a0); +#define LOG_Z3_mk_ast_map(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_ast_map(_ARG0); } +void log_Z3_ast_map_inc_ref(Z3_context a0, Z3_ast_map a1); +#define LOG_Z3_ast_map_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_inc_ref(_ARG0, _ARG1); } +void log_Z3_ast_map_dec_ref(Z3_context a0, Z3_ast_map a1); +#define LOG_Z3_ast_map_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_dec_ref(_ARG0, _ARG1); } +void log_Z3_ast_map_contains(Z3_context a0, Z3_ast_map a1, Z3_ast a2); +#define LOG_Z3_ast_map_contains(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_contains(_ARG0, _ARG1, _ARG2); } +void log_Z3_ast_map_find(Z3_context a0, Z3_ast_map a1, Z3_ast a2); +#define LOG_Z3_ast_map_find(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_find(_ARG0, _ARG1, _ARG2); } +void log_Z3_ast_map_insert(Z3_context a0, Z3_ast_map a1, Z3_ast a2, Z3_ast a3); +#define LOG_Z3_ast_map_insert(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_insert(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_ast_map_erase(Z3_context a0, Z3_ast_map a1, Z3_ast a2); +#define LOG_Z3_ast_map_erase(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_erase(_ARG0, _ARG1, _ARG2); } +void log_Z3_ast_map_reset(Z3_context a0, Z3_ast_map a1); +#define LOG_Z3_ast_map_reset(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_reset(_ARG0, _ARG1); } +void log_Z3_ast_map_size(Z3_context a0, Z3_ast_map a1); +#define LOG_Z3_ast_map_size(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_size(_ARG0, _ARG1); } +void log_Z3_ast_map_keys(Z3_context a0, Z3_ast_map a1); +#define LOG_Z3_ast_map_keys(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_keys(_ARG0, _ARG1); } +void log_Z3_ast_map_to_string(Z3_context a0, Z3_ast_map a1); +#define LOG_Z3_ast_map_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_ast_map_to_string(_ARG0, _ARG1); } +void log_Z3_mk_goal(Z3_context a0, Z3_bool a1, Z3_bool a2, Z3_bool a3); +#define LOG_Z3_mk_goal(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_goal(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_goal_inc_ref(Z3_context a0, Z3_goal a1); +#define LOG_Z3_goal_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_inc_ref(_ARG0, _ARG1); } +void log_Z3_goal_dec_ref(Z3_context a0, Z3_goal a1); +#define LOG_Z3_goal_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_dec_ref(_ARG0, _ARG1); } +void log_Z3_goal_precision(Z3_context a0, Z3_goal a1); +#define LOG_Z3_goal_precision(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_precision(_ARG0, _ARG1); } +void log_Z3_goal_assert(Z3_context a0, Z3_goal a1, Z3_ast a2); +#define LOG_Z3_goal_assert(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_assert(_ARG0, _ARG1, _ARG2); } +void log_Z3_goal_inconsistent(Z3_context a0, Z3_goal a1); +#define LOG_Z3_goal_inconsistent(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_inconsistent(_ARG0, _ARG1); } +void log_Z3_goal_depth(Z3_context a0, Z3_goal a1); +#define LOG_Z3_goal_depth(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_depth(_ARG0, _ARG1); } +void log_Z3_goal_reset(Z3_context a0, Z3_goal a1); +#define LOG_Z3_goal_reset(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_reset(_ARG0, _ARG1); } +void log_Z3_goal_size(Z3_context a0, Z3_goal a1); +#define LOG_Z3_goal_size(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_size(_ARG0, _ARG1); } +void log_Z3_goal_formula(Z3_context a0, Z3_goal a1, unsigned a2); +#define LOG_Z3_goal_formula(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_formula(_ARG0, _ARG1, _ARG2); } +void log_Z3_goal_num_exprs(Z3_context a0, Z3_goal a1); +#define LOG_Z3_goal_num_exprs(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_num_exprs(_ARG0, _ARG1); } +void log_Z3_goal_is_decided_sat(Z3_context a0, Z3_goal a1); +#define LOG_Z3_goal_is_decided_sat(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_is_decided_sat(_ARG0, _ARG1); } +void log_Z3_goal_is_decided_unsat(Z3_context a0, Z3_goal a1); +#define LOG_Z3_goal_is_decided_unsat(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_is_decided_unsat(_ARG0, _ARG1); } +void log_Z3_goal_translate(Z3_context a0, Z3_goal a1, Z3_context a2); +#define LOG_Z3_goal_translate(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_translate(_ARG0, _ARG1, _ARG2); } +void log_Z3_goal_to_string(Z3_context a0, Z3_goal a1); +#define LOG_Z3_goal_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_goal_to_string(_ARG0, _ARG1); } +void log_Z3_mk_tactic(Z3_context a0, Z3_string a1); +#define LOG_Z3_mk_tactic(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_tactic(_ARG0, _ARG1); } +void log_Z3_tactic_inc_ref(Z3_context a0, Z3_tactic a1); +#define LOG_Z3_tactic_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_inc_ref(_ARG0, _ARG1); } +void log_Z3_tactic_dec_ref(Z3_context a0, Z3_tactic a1); +#define LOG_Z3_tactic_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_dec_ref(_ARG0, _ARG1); } +void log_Z3_mk_probe(Z3_context a0, Z3_string a1); +#define LOG_Z3_mk_probe(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_probe(_ARG0, _ARG1); } +void log_Z3_probe_inc_ref(Z3_context a0, Z3_probe a1); +#define LOG_Z3_probe_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_inc_ref(_ARG0, _ARG1); } +void log_Z3_probe_dec_ref(Z3_context a0, Z3_probe a1); +#define LOG_Z3_probe_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_dec_ref(_ARG0, _ARG1); } +void log_Z3_tactic_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2); +#define LOG_Z3_tactic_and_then(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_and_then(_ARG0, _ARG1, _ARG2); } +void log_Z3_tactic_or_else(Z3_context a0, Z3_tactic a1, Z3_tactic a2); +#define LOG_Z3_tactic_or_else(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_or_else(_ARG0, _ARG1, _ARG2); } +void log_Z3_tactic_par_or(Z3_context a0, unsigned a1, Z3_tactic const * a2); +#define LOG_Z3_tactic_par_or(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_par_or(_ARG0, _ARG1, _ARG2); } +void log_Z3_tactic_par_and_then(Z3_context a0, Z3_tactic a1, Z3_tactic a2); +#define LOG_Z3_tactic_par_and_then(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_par_and_then(_ARG0, _ARG1, _ARG2); } +void log_Z3_tactic_try_for(Z3_context a0, Z3_tactic a1, unsigned a2); +#define LOG_Z3_tactic_try_for(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_try_for(_ARG0, _ARG1, _ARG2); } +void log_Z3_tactic_when(Z3_context a0, Z3_probe a1, Z3_tactic a2); +#define LOG_Z3_tactic_when(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_when(_ARG0, _ARG1, _ARG2); } +void log_Z3_tactic_cond(Z3_context a0, Z3_probe a1, Z3_tactic a2, Z3_tactic a3); +#define LOG_Z3_tactic_cond(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_cond(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_tactic_repeat(Z3_context a0, Z3_tactic a1, unsigned a2); +#define LOG_Z3_tactic_repeat(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_repeat(_ARG0, _ARG1, _ARG2); } +void log_Z3_tactic_skip(Z3_context a0); +#define LOG_Z3_tactic_skip(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_skip(_ARG0); } +void log_Z3_tactic_fail(Z3_context a0); +#define LOG_Z3_tactic_fail(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_fail(_ARG0); } +void log_Z3_tactic_fail_if(Z3_context a0, Z3_probe a1); +#define LOG_Z3_tactic_fail_if(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_fail_if(_ARG0, _ARG1); } +void log_Z3_tactic_fail_if_not_decided(Z3_context a0); +#define LOG_Z3_tactic_fail_if_not_decided(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_fail_if_not_decided(_ARG0); } +void log_Z3_tactic_using_params(Z3_context a0, Z3_tactic a1, Z3_params a2); +#define LOG_Z3_tactic_using_params(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_using_params(_ARG0, _ARG1, _ARG2); } +void log_Z3_probe_const(Z3_context a0, double a1); +#define LOG_Z3_probe_const(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_const(_ARG0, _ARG1); } +void log_Z3_probe_lt(Z3_context a0, Z3_probe a1, Z3_probe a2); +#define LOG_Z3_probe_lt(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_lt(_ARG0, _ARG1, _ARG2); } +void log_Z3_probe_gt(Z3_context a0, Z3_probe a1, Z3_probe a2); +#define LOG_Z3_probe_gt(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_gt(_ARG0, _ARG1, _ARG2); } +void log_Z3_probe_le(Z3_context a0, Z3_probe a1, Z3_probe a2); +#define LOG_Z3_probe_le(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_le(_ARG0, _ARG1, _ARG2); } +void log_Z3_probe_ge(Z3_context a0, Z3_probe a1, Z3_probe a2); +#define LOG_Z3_probe_ge(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_ge(_ARG0, _ARG1, _ARG2); } +void log_Z3_probe_eq(Z3_context a0, Z3_probe a1, Z3_probe a2); +#define LOG_Z3_probe_eq(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_eq(_ARG0, _ARG1, _ARG2); } +void log_Z3_probe_and(Z3_context a0, Z3_probe a1, Z3_probe a2); +#define LOG_Z3_probe_and(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_and(_ARG0, _ARG1, _ARG2); } +void log_Z3_probe_or(Z3_context a0, Z3_probe a1, Z3_probe a2); +#define LOG_Z3_probe_or(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_or(_ARG0, _ARG1, _ARG2); } +void log_Z3_probe_not(Z3_context a0, Z3_probe a1); +#define LOG_Z3_probe_not(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_not(_ARG0, _ARG1); } +void log_Z3_get_num_tactics(Z3_context a0); +#define LOG_Z3_get_num_tactics(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_num_tactics(_ARG0); } +void log_Z3_get_tactic_name(Z3_context a0, unsigned a1); +#define LOG_Z3_get_tactic_name(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_tactic_name(_ARG0, _ARG1); } +void log_Z3_get_num_probes(Z3_context a0); +#define LOG_Z3_get_num_probes(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_num_probes(_ARG0); } +void log_Z3_get_probe_name(Z3_context a0, unsigned a1); +#define LOG_Z3_get_probe_name(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_probe_name(_ARG0, _ARG1); } +void log_Z3_tactic_get_help(Z3_context a0, Z3_tactic a1); +#define LOG_Z3_tactic_get_help(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_get_help(_ARG0, _ARG1); } +void log_Z3_tactic_get_param_descrs(Z3_context a0, Z3_tactic a1); +#define LOG_Z3_tactic_get_param_descrs(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_get_param_descrs(_ARG0, _ARG1); } +void log_Z3_tactic_get_descr(Z3_context a0, Z3_string a1); +#define LOG_Z3_tactic_get_descr(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_get_descr(_ARG0, _ARG1); } +void log_Z3_probe_get_descr(Z3_context a0, Z3_string a1); +#define LOG_Z3_probe_get_descr(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_get_descr(_ARG0, _ARG1); } +void log_Z3_probe_apply(Z3_context a0, Z3_probe a1, Z3_goal a2); +#define LOG_Z3_probe_apply(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_probe_apply(_ARG0, _ARG1, _ARG2); } +void log_Z3_tactic_apply(Z3_context a0, Z3_tactic a1, Z3_goal a2); +#define LOG_Z3_tactic_apply(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_apply(_ARG0, _ARG1, _ARG2); } +void log_Z3_tactic_apply_ex(Z3_context a0, Z3_tactic a1, Z3_goal a2, Z3_params a3); +#define LOG_Z3_tactic_apply_ex(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_tactic_apply_ex(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_apply_result_inc_ref(Z3_context a0, Z3_apply_result a1); +#define LOG_Z3_apply_result_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_apply_result_inc_ref(_ARG0, _ARG1); } +void log_Z3_apply_result_dec_ref(Z3_context a0, Z3_apply_result a1); +#define LOG_Z3_apply_result_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_apply_result_dec_ref(_ARG0, _ARG1); } +void log_Z3_apply_result_to_string(Z3_context a0, Z3_apply_result a1); +#define LOG_Z3_apply_result_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_apply_result_to_string(_ARG0, _ARG1); } +void log_Z3_apply_result_get_num_subgoals(Z3_context a0, Z3_apply_result a1); +#define LOG_Z3_apply_result_get_num_subgoals(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_apply_result_get_num_subgoals(_ARG0, _ARG1); } +void log_Z3_apply_result_get_subgoal(Z3_context a0, Z3_apply_result a1, unsigned a2); +#define LOG_Z3_apply_result_get_subgoal(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_apply_result_get_subgoal(_ARG0, _ARG1, _ARG2); } +void log_Z3_apply_result_convert_model(Z3_context a0, Z3_apply_result a1, unsigned a2, Z3_model a3); +#define LOG_Z3_apply_result_convert_model(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_apply_result_convert_model(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_mk_solver(Z3_context a0); +#define LOG_Z3_mk_solver(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_solver(_ARG0); } +void log_Z3_mk_simple_solver(Z3_context a0); +#define LOG_Z3_mk_simple_solver(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_simple_solver(_ARG0); } +void log_Z3_mk_solver_for_logic(Z3_context a0, Z3_symbol a1); +#define LOG_Z3_mk_solver_for_logic(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_solver_for_logic(_ARG0, _ARG1); } +void log_Z3_mk_solver_from_tactic(Z3_context a0, Z3_tactic a1); +#define LOG_Z3_mk_solver_from_tactic(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_solver_from_tactic(_ARG0, _ARG1); } +void log_Z3_solver_get_help(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_get_help(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_help(_ARG0, _ARG1); } +void log_Z3_solver_get_param_descrs(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_get_param_descrs(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_param_descrs(_ARG0, _ARG1); } +void log_Z3_solver_set_params(Z3_context a0, Z3_solver a1, Z3_params a2); +#define LOG_Z3_solver_set_params(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_set_params(_ARG0, _ARG1, _ARG2); } +void log_Z3_solver_inc_ref(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_inc_ref(_ARG0, _ARG1); } +void log_Z3_solver_dec_ref(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_dec_ref(_ARG0, _ARG1); } +void log_Z3_solver_push(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_push(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_push(_ARG0, _ARG1); } +void log_Z3_solver_pop(Z3_context a0, Z3_solver a1, unsigned a2); +#define LOG_Z3_solver_pop(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_pop(_ARG0, _ARG1, _ARG2); } +void log_Z3_solver_reset(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_reset(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_reset(_ARG0, _ARG1); } +void log_Z3_solver_get_num_scopes(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_get_num_scopes(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_num_scopes(_ARG0, _ARG1); } +void log_Z3_solver_assert(Z3_context a0, Z3_solver a1, Z3_ast a2); +#define LOG_Z3_solver_assert(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_assert(_ARG0, _ARG1, _ARG2); } +void log_Z3_solver_get_assertions(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_get_assertions(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_assertions(_ARG0, _ARG1); } +void log_Z3_solver_check(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_check(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_check(_ARG0, _ARG1); } +void log_Z3_solver_check_assumptions(Z3_context a0, Z3_solver a1, unsigned a2, Z3_ast const * a3); +#define LOG_Z3_solver_check_assumptions(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_check_assumptions(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_solver_get_model(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_get_model(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_model(_ARG0, _ARG1); } +void log_Z3_solver_get_proof(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_get_proof(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_proof(_ARG0, _ARG1); } +void log_Z3_solver_get_unsat_core(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_get_unsat_core(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_unsat_core(_ARG0, _ARG1); } +void log_Z3_solver_get_reason_unknown(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_get_reason_unknown(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_reason_unknown(_ARG0, _ARG1); } +void log_Z3_solver_get_statistics(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_get_statistics(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_get_statistics(_ARG0, _ARG1); } +void log_Z3_solver_to_string(Z3_context a0, Z3_solver a1); +#define LOG_Z3_solver_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_solver_to_string(_ARG0, _ARG1); } +void log_Z3_stats_to_string(Z3_context a0, Z3_stats a1); +#define LOG_Z3_stats_to_string(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_to_string(_ARG0, _ARG1); } +void log_Z3_stats_inc_ref(Z3_context a0, Z3_stats a1); +#define LOG_Z3_stats_inc_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_inc_ref(_ARG0, _ARG1); } +void log_Z3_stats_dec_ref(Z3_context a0, Z3_stats a1); +#define LOG_Z3_stats_dec_ref(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_dec_ref(_ARG0, _ARG1); } +void log_Z3_stats_size(Z3_context a0, Z3_stats a1); +#define LOG_Z3_stats_size(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_size(_ARG0, _ARG1); } +void log_Z3_stats_get_key(Z3_context a0, Z3_stats a1, unsigned a2); +#define LOG_Z3_stats_get_key(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_get_key(_ARG0, _ARG1, _ARG2); } +void log_Z3_stats_is_uint(Z3_context a0, Z3_stats a1, unsigned a2); +#define LOG_Z3_stats_is_uint(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_is_uint(_ARG0, _ARG1, _ARG2); } +void log_Z3_stats_is_double(Z3_context a0, Z3_stats a1, unsigned a2); +#define LOG_Z3_stats_is_double(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_is_double(_ARG0, _ARG1, _ARG2); } +void log_Z3_stats_get_uint_value(Z3_context a0, Z3_stats a1, unsigned a2); +#define LOG_Z3_stats_get_uint_value(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_get_uint_value(_ARG0, _ARG1, _ARG2); } +void log_Z3_stats_get_double_value(Z3_context a0, Z3_stats a1, unsigned a2); +#define LOG_Z3_stats_get_double_value(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_stats_get_double_value(_ARG0, _ARG1, _ARG2); } +void log_Z3_mk_injective_function(Z3_context a0, Z3_symbol a1, unsigned a2, Z3_sort const * a3, Z3_sort a4); +#define LOG_Z3_mk_injective_function(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_injective_function(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } +void log_Z3_set_logic(Z3_context a0, Z3_string a1); +#define LOG_Z3_set_logic(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_set_logic(_ARG0, _ARG1); } +void log_Z3_push(Z3_context a0); +#define LOG_Z3_push(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_push(_ARG0); } +void log_Z3_pop(Z3_context a0, unsigned a1); +#define LOG_Z3_pop(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_pop(_ARG0, _ARG1); } +void log_Z3_get_num_scopes(Z3_context a0); +#define LOG_Z3_get_num_scopes(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_num_scopes(_ARG0); } +void log_Z3_persist_ast(Z3_context a0, Z3_ast a1, unsigned a2); +#define LOG_Z3_persist_ast(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_persist_ast(_ARG0, _ARG1, _ARG2); } +void log_Z3_assert_cnstr(Z3_context a0, Z3_ast a1); +#define LOG_Z3_assert_cnstr(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_assert_cnstr(_ARG0, _ARG1); } +void log_Z3_check_and_get_model(Z3_context a0, Z3_model* a1); +#define LOG_Z3_check_and_get_model(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; Z3_model* Z3ARG1; if (_LOG_CTX.enabled()) { log_Z3_check_and_get_model(_ARG0, _ARG1); Z3ARG1 = _ARG1; } +#define RETURN_Z3_check_and_get_model if (_LOG_CTX.enabled()) { SetO((Z3ARG1 == 0 ? 0 : *Z3ARG1), 1); } return +void log_Z3_check(Z3_context a0); +#define LOG_Z3_check(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_check(_ARG0); } +void log_Z3_check_assumptions(Z3_context a0, unsigned a1, Z3_ast const * a2, Z3_model* a3, Z3_ast* a4, unsigned* a5, Z3_ast* a6); +#define LOG_Z3_check_assumptions(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6) z3_log_ctx _LOG_CTX; Z3_model* Z3ARG3; Z3_ast* Z3ARG4; unsigned Z3ARG1; unsigned * Z3ARG5; Z3_ast* Z3ARG6; if (_LOG_CTX.enabled()) { log_Z3_check_assumptions(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6); Z3ARG3 = _ARG3; Z3ARG4 = _ARG4; Z3ARG1 = _ARG1; Z3ARG5 = _ARG5; Z3ARG6 = _ARG6; } +#define RETURN_Z3_check_assumptions if (_LOG_CTX.enabled()) { SetO((Z3ARG3 == 0 ? 0 : *Z3ARG3), 3); SetO((Z3ARG4 == 0 ? 0 : *Z3ARG4), 4); for (unsigned i = 0; Z3ARG5 && i < *Z3ARG5; i++) { SetAO(Z3ARG6[i], 6, i); } } return +void log_Z3_get_implied_equalities(Z3_context a0, unsigned a1, Z3_ast const * a2, unsigned* a3); +#define LOG_Z3_get_implied_equalities(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_implied_equalities(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_del_model(Z3_context a0, Z3_model a1); +#define LOG_Z3_del_model(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_del_model(_ARG0, _ARG1); } +void log_Z3_soft_check_cancel(Z3_context a0); +#define LOG_Z3_soft_check_cancel(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_soft_check_cancel(_ARG0); } +void log_Z3_get_search_failure(Z3_context a0); +#define LOG_Z3_get_search_failure(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_search_failure(_ARG0); } +void log_Z3_mk_label(Z3_context a0, Z3_symbol a1, Z3_bool a2, Z3_ast a3); +#define LOG_Z3_mk_label(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_mk_label(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_get_relevant_labels(Z3_context a0); +#define LOG_Z3_get_relevant_labels(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_relevant_labels(_ARG0); } +void log_Z3_get_relevant_literals(Z3_context a0); +#define LOG_Z3_get_relevant_literals(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_relevant_literals(_ARG0); } +void log_Z3_get_guessed_literals(Z3_context a0); +#define LOG_Z3_get_guessed_literals(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_guessed_literals(_ARG0); } +void log_Z3_del_literals(Z3_context a0, Z3_literals a1); +#define LOG_Z3_del_literals(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_del_literals(_ARG0, _ARG1); } +void log_Z3_get_num_literals(Z3_context a0, Z3_literals a1); +#define LOG_Z3_get_num_literals(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_num_literals(_ARG0, _ARG1); } +void log_Z3_get_label_symbol(Z3_context a0, Z3_literals a1, unsigned a2); +#define LOG_Z3_get_label_symbol(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_label_symbol(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_literal(Z3_context a0, Z3_literals a1, unsigned a2); +#define LOG_Z3_get_literal(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_literal(_ARG0, _ARG1, _ARG2); } +void log_Z3_disable_literal(Z3_context a0, Z3_literals a1, unsigned a2); +#define LOG_Z3_disable_literal(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_disable_literal(_ARG0, _ARG1, _ARG2); } +void log_Z3_block_literals(Z3_context a0, Z3_literals a1); +#define LOG_Z3_block_literals(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_block_literals(_ARG0, _ARG1); } +void log_Z3_get_model_num_constants(Z3_context a0, Z3_model a1); +#define LOG_Z3_get_model_num_constants(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_num_constants(_ARG0, _ARG1); } +void log_Z3_get_model_constant(Z3_context a0, Z3_model a1, unsigned a2); +#define LOG_Z3_get_model_constant(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_constant(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_model_num_funcs(Z3_context a0, Z3_model a1); +#define LOG_Z3_get_model_num_funcs(_ARG0, _ARG1) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_num_funcs(_ARG0, _ARG1); } +void log_Z3_get_model_func_decl(Z3_context a0, Z3_model a1, unsigned a2); +#define LOG_Z3_get_model_func_decl(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_func_decl(_ARG0, _ARG1, _ARG2); } +void log_Z3_eval_func_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, Z3_ast* a3); +#define LOG_Z3_eval_func_decl(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; Z3_ast* Z3ARG3; if (_LOG_CTX.enabled()) { log_Z3_eval_func_decl(_ARG0, _ARG1, _ARG2, _ARG3); Z3ARG3 = _ARG3; } +#define RETURN_Z3_eval_func_decl if (_LOG_CTX.enabled()) { SetO((Z3ARG3 == 0 ? 0 : *Z3ARG3), 3); } return +void log_Z3_is_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, unsigned* a3); +#define LOG_Z3_is_array_value(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_is_array_value(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_get_array_value(Z3_context a0, Z3_model a1, Z3_ast a2, unsigned a3, Z3_ast* a4, Z3_ast* a5, Z3_ast* a6); +#define LOG_Z3_get_array_value(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6) z3_log_ctx _LOG_CTX; unsigned Z3ARG3; Z3_ast* Z3ARG4; Z3_ast* Z3ARG5; Z3_ast* Z3ARG6; if (_LOG_CTX.enabled()) { log_Z3_get_array_value(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5, _ARG6); Z3ARG3 = _ARG3; Z3ARG4 = _ARG4; Z3ARG5 = _ARG5; Z3ARG6 = _ARG6; } +#define RETURN_Z3_get_array_value if (_LOG_CTX.enabled()) { for (unsigned i = 0; i < Z3ARG3; i++) { SetAO(Z3ARG4[i], 4, i); } for (unsigned i = 0; i < Z3ARG3; i++) { SetAO(Z3ARG5[i], 5, i); } SetO((Z3ARG6 == 0 ? 0 : *Z3ARG6), 6); } return +void log_Z3_get_model_func_else(Z3_context a0, Z3_model a1, unsigned a2); +#define LOG_Z3_get_model_func_else(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_func_else(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_model_func_num_entries(Z3_context a0, Z3_model a1, unsigned a2); +#define LOG_Z3_get_model_func_num_entries(_ARG0, _ARG1, _ARG2) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_func_num_entries(_ARG0, _ARG1, _ARG2); } +void log_Z3_get_model_func_entry_num_args(Z3_context a0, Z3_model a1, unsigned a2, unsigned a3); +#define LOG_Z3_get_model_func_entry_num_args(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_func_entry_num_args(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_get_model_func_entry_arg(Z3_context a0, Z3_model a1, unsigned a2, unsigned a3, unsigned a4); +#define LOG_Z3_get_model_func_entry_arg(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_func_entry_arg(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4); } +void log_Z3_get_model_func_entry_value(Z3_context a0, Z3_model a1, unsigned a2, unsigned a3); +#define LOG_Z3_get_model_func_entry_value(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_model_func_entry_value(_ARG0, _ARG1, _ARG2, _ARG3); } +void log_Z3_eval(Z3_context a0, Z3_model a1, Z3_ast a2, Z3_ast* a3); +#define LOG_Z3_eval(_ARG0, _ARG1, _ARG2, _ARG3) z3_log_ctx _LOG_CTX; Z3_ast* Z3ARG3; if (_LOG_CTX.enabled()) { log_Z3_eval(_ARG0, _ARG1, _ARG2, _ARG3); Z3ARG3 = _ARG3; } +#define RETURN_Z3_eval if (_LOG_CTX.enabled()) { SetO((Z3ARG3 == 0 ? 0 : *Z3ARG3), 3); } return +void log_Z3_eval_decl(Z3_context a0, Z3_model a1, Z3_func_decl a2, unsigned a3, Z3_ast const * a4, Z3_ast* a5); +#define LOG_Z3_eval_decl(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5) z3_log_ctx _LOG_CTX; Z3_ast* Z3ARG5; if (_LOG_CTX.enabled()) { log_Z3_eval_decl(_ARG0, _ARG1, _ARG2, _ARG3, _ARG4, _ARG5); Z3ARG5 = _ARG5; } +#define RETURN_Z3_eval_decl if (_LOG_CTX.enabled()) { SetO((Z3ARG5 == 0 ? 0 : *Z3ARG5), 5); } return +void log_Z3_context_to_string(Z3_context a0); +#define LOG_Z3_context_to_string(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_context_to_string(_ARG0); } +void log_Z3_statistics_to_string(Z3_context a0); +#define LOG_Z3_statistics_to_string(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_statistics_to_string(_ARG0); } +void log_Z3_get_context_assignment(Z3_context a0); +#define LOG_Z3_get_context_assignment(_ARG0) z3_log_ctx _LOG_CTX; if (_LOG_CTX.enabled()) { log_Z3_get_context_assignment(_ARG0); } diff --git a/lib/z3_api.h b/lib/z3_api.h index f4c4e8260..0cd8d8ad3 100644 --- a/lib/z3_api.h +++ b/lib/z3_api.h @@ -1156,6 +1156,37 @@ typedef enum #endif +/* + Definitions for update_api.py + + def_Type('CONFIG', 'Z3_config', 'Config') + def_Type('CONTEXT', 'Z3_context', 'Context') + def_Type('AST', 'Z3_ast', 'Ast') + def_Type('APP', 'Z3_app', 'Ast') + def_Type('SORT', 'Z3_sort', 'Sort') + def_Type('FUNC_DECL', 'Z3_func_decl', 'FuncDecl') + def_Type('PATTERN', 'Z3_pattern', 'Pattern') + def_Type('MODEL', 'Z3_model', 'Model') + def_Type('LITERALS', 'Z3_literals', 'Literals') + def_Type('CONSTRUCTOR', 'Z3_constructor', 'Constructor') + def_Type('CONSTRUCTOR_LIST', 'Z3_constructor_list', 'ConstructorList') + def_Type('THEORY', 'Z3_theory', 'ctypes.c_void_p') + def_Type('THEORY_DATA', 'Z3_theory_data', 'ctypes.c_void_p') + def_Type('SOLVER', 'Z3_solver', 'SolverObj') + def_Type('GOAL', 'Z3_goal', 'GoalObj') + def_Type('TACTIC', 'Z3_tactic', 'TacticObj') + def_Type('PARAMS', 'Z3_params', 'Params') + def_Type('PROBE', 'Z3_probe', 'ProbeObj') + def_Type('STATS', 'Z3_stats', 'StatsObj') + def_Type('AST_VECTOR', 'Z3_ast_vector', 'AstVectorObj') + def_Type('AST_MAP', 'Z3_ast_map', 'AstMapObj') + def_Type('APPLY_RESULT', 'Z3_apply_result', 'ApplyResultObj') + def_Type('FUNC_INTERP', 'Z3_func_interp', 'FuncInterpObj') + def_Type('FUNC_ENTRY', 'Z3_func_entry', 'FuncEntryObj') + def_Type('FIXEDPOINT', 'Z3_fixedpoint', 'FixedpointObj') + def_Type('PARAM_DESCRS', 'Z3_param_descrs', 'ParamDescrs') +*/ + #ifdef Conly /** \brief Z3 custom error handler (See #Z3_set_error_handler). @@ -1220,6 +1251,8 @@ extern "C" { \sa Z3_set_param_value \sa Z3_del_config + + def_API('Z3_mk_config', CONFIG, ()) */ Z3_config Z3_API Z3_mk_config(); @@ -1227,9 +1260,11 @@ extern "C" { \brief Delete the given configuration object. \sa Z3_mk_config + + def_API('Z3_del_config', VOID, (_in(CONFIG),)) */ void Z3_API Z3_del_config(__in Z3_config c); - + /** \brief Set a configuration parameter. @@ -1240,6 +1275,8 @@ extern "C" { \endverbatim \sa Z3_mk_config + + def_API('Z3_set_param_value', VOID, (_in(CONFIG), _in(STRING), _in(STRING))) */ void Z3_API Z3_set_param_value(__in Z3_config c, __in Z3_string param_id, __in Z3_string param_value); @@ -1261,6 +1298,8 @@ extern "C" { \conly \sa Z3_del_context \conly \deprecated Use #Z3_mk_context_rc + + def_API('Z3_mk_context', CONTEXT, (_in(CONFIG),)) */ #ifdef CorML3 Z3_context Z3_API Z3_mk_context(__in Z3_config c); @@ -1287,6 +1326,8 @@ extern "C" { After a context is created, the configuration cannot be changed. All main interaction with Z3 happens in the context of a \c Z3_context. + + def_API('Z3_mk_context_rc', CONTEXT, (_in(CONFIG),)) */ Z3_context Z3_API Z3_mk_context_rc(__in Z3_config c); #endif @@ -1296,6 +1337,8 @@ extern "C" { \brief Delete the given logical context. \sa Z3_mk_context + + def_API('Z3_del_context', VOID, (_in(CONTEXT),)) */ void Z3_API Z3_del_context(__in Z3_context c); #endif @@ -1305,6 +1348,8 @@ extern "C" { \brief Increment the reference counter of the given AST. The context \c c should have been created using #Z3_mk_context_rc. This function is a NOOP if \c c was created using #Z3_mk_context. + + def_API('Z3_inc_ref', VOID, (_in(CONTEXT), _in(AST))) */ void Z3_API Z3_inc_ref(__in Z3_context c, __in Z3_ast a); @@ -1312,6 +1357,8 @@ extern "C" { \brief Decrement the reference counter of the given AST. The context \c c should have been created using #Z3_mk_context_rc. This function is a NOOP if \c c was created using #Z3_mk_context. + + def_API('Z3_dec_ref', VOID, (_in(CONTEXT), _in(AST))) */ void Z3_API Z3_dec_ref(__in Z3_context c, __in Z3_ast a); #endif @@ -1330,6 +1377,8 @@ extern "C" { \conly \sa Z3_set_param_value \mlonly \sa Z3_mk_context \endmlonly + + def_API('Z3_update_param_value', VOID, (_in(CONTEXT), _in(STRING), _in(STRING))) */ void Z3_API Z3_update_param_value(__in Z3_context c, __in Z3_string param_id, __in Z3_string param_value); @@ -1342,6 +1391,8 @@ extern "C" { \conly \sa Z3_mk_config \conly \sa Z3_set_param_value \mlonly \sa Z3_mk_context \endmlonly + + def_API('Z3_get_param_value', BOOL, (_in(CONTEXT), _in(STRING), _out(STRING))) */ Z3_bool_opt Z3_API Z3_get_param_value(__in Z3_context c, __in Z3_string param_id, __out_opt Z3_string_ptr param_value); @@ -1349,6 +1400,8 @@ extern "C" { /** \brief Interrupt the execution of a Z3 procedure. This procedure can be used to interrupt: solvers, simplifiers and tactics. + + def_API('Z3_interrupt', VOID, (_in(CONTEXT),)) */ void Z3_API Z3_interrupt(__in Z3_context c); #endif @@ -1369,44 +1422,60 @@ extern "C" { \conly \remark Reference counting must be used to manage parameter sets, even when the Z3_context was \conly created using #Z3_mk_context instead of #Z3_mk_context_rc. + + def_API('Z3_mk_params', PARAMS, (_in(CONTEXT),)) */ Z3_params Z3_API Z3_mk_params(__in Z3_context c); #ifdef Conly /** \brief Increment the reference counter of the given parameter set. + + def_API('Z3_params_inc_ref', VOID, (_in(CONTEXT), _in(PARAMS))) */ void Z3_API Z3_params_inc_ref(__in Z3_context c, __in Z3_params p); /** \brief Decrement the reference counter of the given parameter set. + + def_API('Z3_params_dec_ref', VOID, (_in(CONTEXT), _in(PARAMS))) */ void Z3_API Z3_params_dec_ref(__in Z3_context c, __in Z3_params p); #endif /** \brief Add a Boolean parameter \c k with value \c v to the parameter set \c p. + + def_API('Z3_params_set_bool', VOID, (_in(CONTEXT), _in(PARAMS), _in(SYMBOL), _in(BOOL))) */ void Z3_API Z3_params_set_bool(__in Z3_context c, __in Z3_params p, __in Z3_symbol k, __in Z3_bool v); /** \brief Add a unsigned parameter \c k with value \c v to the parameter set \c p. + + def_API('Z3_params_set_uint', VOID, (_in(CONTEXT), _in(PARAMS), _in(SYMBOL), _in(UINT))) */ void Z3_API Z3_params_set_uint(__in Z3_context c, __in Z3_params p, __in Z3_symbol k, __in unsigned v); /** \brief Add a double parameter \c k with value \c v to the parameter set \c p. + + def_API('Z3_params_set_double', VOID, (_in(CONTEXT), _in(PARAMS), _in(SYMBOL), _in(DOUBLE))) */ void Z3_API Z3_params_set_double(__in Z3_context c, __in Z3_params p, __in Z3_symbol k, __in double v); /** \brief Add a symbol parameter \c k with value \c v to the parameter set \c p. + + def_API('Z3_params_set_symbol', VOID, (_in(CONTEXT), _in(PARAMS), _in(SYMBOL), _in(SYMBOL))) */ void Z3_API Z3_params_set_symbol(__in Z3_context c, __in Z3_params p, __in Z3_symbol k, __in Z3_symbol v); /** \brief Convert a parameter set into a string. This function is mainly used for printing the contents of a parameter set. + + def_API('Z3_params_to_string', STRING, (_in(CONTEXT), _in(PARAMS))) */ Z3_string Z3_API Z3_params_to_string(__in Z3_context c, __in Z3_params p); @@ -1414,6 +1483,8 @@ extern "C" { \brief Validate the parameter set \c p against the parameter description set \c d. The procedure invokes the error handler if \c p is invalid. + + def_API('Z3_params_validate', VOID, (_in(CONTEXT), _in(PARAMS), _in(PARAM_DESCRS))) */ void Z3_API Z3_params_validate(__in Z3_context c, __in Z3_params p, __in Z3_param_descrs d); @@ -1430,22 +1501,30 @@ extern "C" { #ifdef Conly /** \brief Increment the reference counter of the given parameter description set. + + def_API('Z3_param_descrs_inc_ref', VOID, (_in(CONTEXT), _in(PARAM_DESCRS))) */ void Z3_API Z3_param_descrs_inc_ref(__in Z3_context c, __in Z3_param_descrs p); /** \brief Decrement the reference counter of the given parameter description set. + + def_API('Z3_param_descrs_dec_ref', VOID, (_in(CONTEXT), _in(PARAM_DESCRS))) */ void Z3_API Z3_param_descrs_dec_ref(__in Z3_context c, __in Z3_param_descrs p); #endif /** \brief Return the kind associated with the given parameter name \c n. + + def_API('Z3_param_descrs_get_kind', UINT, (_in(CONTEXT), _in(PARAM_DESCRS), _in(SYMBOL))) */ Z3_param_kind Z3_API Z3_param_descrs_get_kind(__in Z3_context c, __in Z3_param_descrs p, __in Z3_symbol n); /** \brief Return the number of parameters in the given parameter description set. + + def_API('Z3_param_descrs_size', UINT, (_in(CONTEXT), _in(PARAM_DESCRS))) */ unsigned Z3_API Z3_param_descrs_size(__in Z3_context c, __in Z3_param_descrs p); @@ -1453,12 +1532,16 @@ extern "C" { \brief Return the number of parameters in the given parameter description set. \pre i < Z3_param_descrs_size(c, p) + + def_API('Z3_param_descrs_get_name', SYMBOL, (_in(CONTEXT), _in(PARAM_DESCRS), _in(UINT))) */ Z3_symbol Z3_API Z3_param_descrs_get_name(__in Z3_context c, __in Z3_param_descrs p, __in unsigned i); /** \brief Convert a parameter description set into a string. This function is mainly used for printing the contents of a parameter description set. + + def_API('Z3_param_descrs_to_string', STRING, (_in(CONTEXT), _in(PARAM_DESCRS))) */ Z3_string Z3_API Z3_param_descrs_to_string(__in Z3_context c, __in Z3_param_descrs p); @@ -1487,6 +1570,8 @@ extern "C" { The legal range of unsigned integers is 0 to 2^30-1. \sa Z3_mk_string_symbol + + def_API('Z3_mk_int_symbol', SYMBOL, (_in(CONTEXT), _in(INT))) */ Z3_symbol Z3_API Z3_mk_int_symbol(__in Z3_context c, __in int i); @@ -1496,6 +1581,8 @@ extern "C" { Symbols are used to name several term and type constructors. \sa Z3_mk_int_symbol + + def_API('Z3_mk_string_symbol', SYMBOL, (_in(CONTEXT), _in(STRING))) */ Z3_symbol Z3_API Z3_mk_string_symbol(__in Z3_context c, __in Z3_string s); @@ -1518,14 +1605,17 @@ extern "C" { \brief Create a free (uninterpreted) type using the given name (symbol). Two free types are considered the same iff the have the same name. + + def_API('Z3_mk_uninterpreted_sort', SORT, (_in(CONTEXT), _in(SYMBOL))) */ Z3_sort Z3_API Z3_mk_uninterpreted_sort(__in Z3_context c, __in Z3_symbol s); - /** \brief Create the Boolean type. This type is used to create propositional variables and predicates. + + def_API('Z3_mk_bool_sort', SORT, (_in(CONTEXT), )) */ Z3_sort Z3_API Z3_mk_bool_sort(__in Z3_context c); @@ -1537,6 +1627,8 @@ extern "C" { #Z3_mk_bv_sort creates a bit-vector type. \sa Z3_mk_bv_sort + + def_API('Z3_mk_int_sort', SORT, (_in(CONTEXT), )) */ Z3_sort Z3_API Z3_mk_int_sort(__in Z3_context c); @@ -1545,6 +1637,8 @@ extern "C" { This type is not a floating point number. Z3 does not have support for floating point numbers yet. + + def_API('Z3_mk_real_sort', SORT, (_in(CONTEXT), )) */ Z3_sort Z3_API Z3_mk_real_sort(__in Z3_context c); @@ -1554,6 +1648,8 @@ extern "C" { This type can also be seen as a machine integer. \remark The size of the bitvector type must be greater than zero. + + def_API('Z3_mk_bv_sort', SORT, (_in(CONTEXT), _in(UINT))) */ Z3_sort Z3_API Z3_mk_bv_sort(__in Z3_context c, __in unsigned sz); @@ -1565,6 +1661,8 @@ extern "C" { constant together with the sort returned by this call. \sa Z3_get_finite_domain_sort_size. + + def_API('Z3_mk_finite_domain_sort', SORT, (_in(CONTEXT), _in(SYMBOL), _in(UINT64))) */ Z3_sort Z3_API Z3_mk_finite_domain_sort(__in Z3_context c, __in Z3_symbol name, __in unsigned __int64 size); @@ -1576,6 +1674,8 @@ extern "C" { \sa Z3_mk_select \sa Z3_mk_store + + def_API('Z3_mk_array_sort', SORT, (_in(CONTEXT), _in(SORT), _in(SORT))) */ Z3_sort Z3_API Z3_mk_array_sort(__in Z3_context c, __in Z3_sort domain, __in Z3_sort range); @@ -1596,6 +1696,8 @@ extern "C" { \param field_sorts type of the tuple fields. \param mk_tuple_decl output parameter that will contain the constructor declaration. \param proj_decl output parameter that will contain the projection function declarations. This field must be a buffer of size \c num_fields allocated by the user. + + def_API('Z3_mk_tuple_sort', SORT, (_in(CONTEXT), _in(SYMBOL), _in(UINT), _in_array(2, SYMBOL), _in_array(2, SORT), _out(FUNC_DECL), _out_array(2, FUNC_DECL))) */ Z3_sort Z3_API Z3_mk_tuple_sort(__in Z3_context c, __in Z3_symbol mk_tuple_name, @@ -1628,6 +1730,8 @@ extern "C" { \c enum_consts. The array \c enum_testers has three predicates of type (s -> Bool). The first predicate (corresponding to A) is true when applied to A, and false otherwise. Similarly for the other predicates. + + def_API('Z3_mk_enumeration_sort', SORT, (_in(CONTEXT), _in(SYMBOL), _in(UINT), _in_array(2, SYMBOL), _out_array(2, FUNC_DECL), _out_array(2, FUNC_DECL))) */ Z3_sort Z3_API Z3_mk_enumeration_sort(__in Z3_context c, __in Z3_symbol name, @@ -1654,6 +1758,8 @@ extern "C" { \param is_cons_decl cons cell test. \param head_decl list head. \param tail_decl list tail. + + def_API('Z3_mk_list_sort', SORT, (_in(CONTEXT), _in(SYMBOL), _in(SORT), _out(FUNC_DECL), _out(FUNC_DECL), _out(FUNC_DECL), _out(FUNC_DECL), _out(FUNC_DECL), _out(FUNC_DECL))) */ Z3_sort Z3_API Z3_mk_list_sort(__in Z3_context c, __in Z3_symbol name, @@ -1681,6 +1787,8 @@ BEGIN_MLAPI_EXCLUDE sort reference is \mlonly [None], \endmlonly \conly 0, then the value in sort_refs should be an index referring to one of the recursive datatypes that is declared. + + def_API('Z3_mk_constructor', CONSTRUCTOR, (_in(CONTEXT), _in(SYMBOL), _in(SYMBOL), _in(UINT), _in_array(3, SYMBOL), _in_array(3, SORT), _in_array(3, UINT))) */ Z3_constructor Z3_API Z3_mk_constructor(__in Z3_context c, __in Z3_symbol name, @@ -1696,6 +1804,8 @@ BEGIN_MLAPI_EXCLUDE \param c logical context. \param constr constructor. + + def_API('Z3_del_constructor', VOID, (_in(CONTEXT), _in(CONSTRUCTOR))) */ void Z3_API Z3_del_constructor(__in Z3_context c, __in Z3_constructor constr); @@ -1707,6 +1817,8 @@ BEGIN_MLAPI_EXCLUDE \param name name of datatype. \param num_constructors number of constructors passed in. \param constructors array of constructor containers. + + def_API('Z3_mk_datatype', SORT, (_in(CONTEXT), _in(SYMBOL), _in(UINT), _inout_array(2, CONSTRUCTOR))) */ Z3_sort Z3_API Z3_mk_datatype(__in Z3_context c, __in Z3_symbol name, @@ -1720,6 +1832,8 @@ BEGIN_MLAPI_EXCLUDE \param c logical context. \param num_constructors number of constructors in list. \param constructors list of constructors. + + def_API('Z3_mk_constructor_list', CONSTRUCTOR_LIST, (_in(CONTEXT), _in(UINT), _in_array(1, CONSTRUCTOR))) */ Z3_constructor_list Z3_API Z3_mk_constructor_list(__in Z3_context c, __in unsigned num_constructors, @@ -1733,6 +1847,7 @@ BEGIN_MLAPI_EXCLUDE \param c logical context. \param clist constructor list container. + def_API('Z3_del_constructor_list', VOID, (_in(CONTEXT), _in(CONSTRUCTOR_LIST))) */ void Z3_API Z3_del_constructor_list(__in Z3_context c, __in Z3_constructor_list clist); @@ -1744,6 +1859,8 @@ BEGIN_MLAPI_EXCLUDE \param sort_names names of datatype sorts. \param sorts array of datattype sorts. \param constructor_lists list of constructors, one list per sort. + + def_API('Z3_mk_datatypes', VOID, (_in(CONTEXT), _in(UINT), _in_array(1, SYMBOL), _out_array(1, SORT), _inout_array(1, CONSTRUCTOR_LIST))) */ void Z3_API Z3_mk_datatypes(__in Z3_context c, __in unsigned num_sorts, @@ -1760,6 +1877,8 @@ BEGIN_MLAPI_EXCLUDE \param constructor constructor function declaration. \param tester constructor test function declaration. \param accessors array of accessor function declarations. + + def_API('Z3_query_constructor', VOID, (_in(CONTEXT), _in(CONSTRUCTOR), _in(UINT), _out(FUNC_DECL), _out(FUNC_DECL), _out_array(2, FUNC_DECL))) */ void Z3_API Z3_query_constructor(__in Z3_context c, __in Z3_constructor constr, @@ -1793,6 +1912,8 @@ END_MLAPI_EXCLUDE application. \sa Z3_mk_app + + def_API('Z3_mk_func_decl', FUNC_DECL, (_in(CONTEXT), _in(SYMBOL), _in(UINT), _in_array(2, SORT), _in(SORT))) */ Z3_func_decl Z3_API Z3_mk_func_decl(__in Z3_context c, __in Z3_symbol s, __in unsigned domain_size, __in_ecount(domain_size) Z3_sort const domain[], @@ -1803,6 +1924,8 @@ END_MLAPI_EXCLUDE \brief Create a constant or function application. \sa Z3_mk_func_decl + + def_API('Z3_mk_app', AST, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT), _in_array(2, AST))) */ Z3_ast Z3_API Z3_mk_app( __in Z3_context c, @@ -1823,6 +1946,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_func_decl \sa Z3_mk_app + + def_API('Z3_mk_const', AST, (_in(CONTEXT), _in(SYMBOL), _in(SORT))) */ Z3_ast Z3_API Z3_mk_const(__in Z3_context c, __in Z3_symbol s, __in Z3_sort ty); @@ -1835,6 +1960,8 @@ END_MLAPI_EXCLUDE \conly \remark If \c prefix is \c NULL, then it is assumed to be the empty string. \sa Z3_mk_func_decl + + def_API('Z3_mk_fresh_func_decl', FUNC_DECL, (_in(CONTEXT), _in(STRING), _in(UINT), _in_array(2, SORT), _in(SORT))) */ Z3_func_decl Z3_API Z3_mk_fresh_func_decl(__in Z3_context c, __in Z3_string prefix, __in unsigned domain_size, __in_ecount(domain_size) Z3_sort const domain[], @@ -1852,6 +1979,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_func_decl \sa Z3_mk_app + + def_API('Z3_mk_fresh_const', AST, (_in(CONTEXT), _in(STRING), _in(SORT))) */ Z3_ast Z3_API Z3_mk_fresh_const(__in Z3_context c, __in Z3_string prefix, __in Z3_sort ty); /*@}*/ @@ -1862,11 +1991,15 @@ END_MLAPI_EXCLUDE /*@{*/ /** \brief Create an AST node representing \c true. + + def_API('Z3_mk_true', AST, (_in(CONTEXT), )) */ Z3_ast Z3_API Z3_mk_true(__in Z3_context c); /** \brief Create an AST node representing \c false. + + def_API('Z3_mk_false', AST, (_in(CONTEXT), )) */ Z3_ast Z3_API Z3_mk_false(__in Z3_context c); @@ -1875,6 +2008,8 @@ END_MLAPI_EXCLUDE Create an AST node representing l = r. The nodes \c l and \c r must have the same type. + + def_API('Z3_mk_eq', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_eq(__in Z3_context c, __in Z3_ast l, __in Z3_ast r); @@ -1890,6 +2025,8 @@ END_MLAPI_EXCLUDE All arguments must have the same sort. \remark The number of arguments of a distinct construct must be greater than one. + + def_API('Z3_mk_distinct', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) */ Z3_ast Z3_API Z3_mk_distinct(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[]); @@ -1898,6 +2035,8 @@ END_MLAPI_EXCLUDE Create an AST node representing not(a). The node \c a must have Boolean sort. + + def_API('Z3_mk_not', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_mk_not(__in Z3_context c, __in Z3_ast a); @@ -1908,6 +2047,8 @@ END_MLAPI_EXCLUDE The node \c t1 must have Boolean sort, \c t2 and \c t3 must have the same sort. The sort of the new node is equal to the sort of \c t2 and \c t3. + + def_API('Z3_mk_ite', AST, (_in(CONTEXT), _in(AST), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_ite(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2, __in Z3_ast t3); @@ -1916,6 +2057,8 @@ END_MLAPI_EXCLUDE Create an AST node representing t1 iff t2. The nodes \c t1 and \c t2 must have Boolean sort. + + def_API('Z3_mk_iff', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_iff(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -1924,6 +2067,8 @@ END_MLAPI_EXCLUDE Create an AST node representing t1 implies t2. The nodes \c t1 and \c t2 must have Boolean sort. + + def_API('Z3_mk_implies', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_implies(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -1932,6 +2077,8 @@ END_MLAPI_EXCLUDE Create an AST node representing t1 xor t2. The nodes \c t1 and \c t2 must have Boolean sort. + + def_API('Z3_mk_xor', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_xor(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -1943,6 +2090,8 @@ END_MLAPI_EXCLUDE All arguments must have Boolean sort. \remark The number of arguments must be greater than zero. + + def_API('Z3_mk_and', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) */ Z3_ast Z3_API Z3_mk_and(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[]); @@ -1954,6 +2103,8 @@ END_MLAPI_EXCLUDE All arguments must have Boolean sort. \remark The number of arguments must be greater than zero. + + def_API('Z3_mk_or', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) */ Z3_ast Z3_API Z3_mk_or(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[]); /*@}*/ @@ -1970,6 +2121,8 @@ END_MLAPI_EXCLUDE All arguments must have int or real sort. \remark The number of arguments must be greater than zero. + + def_API('Z3_mk_add', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) */ Z3_ast Z3_API Z3_mk_add(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[]); @@ -1982,6 +2135,8 @@ END_MLAPI_EXCLUDE \remark Z3 has limited support for non-linear arithmetic. \remark The number of arguments must be greater than zero. + + def_API('Z3_mk_mul', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) */ Z3_ast Z3_API Z3_mk_mul(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[]); @@ -1993,6 +2148,8 @@ END_MLAPI_EXCLUDE All arguments must have int or real sort. \remark The number of arguments must be greater than zero. + + def_API('Z3_mk_sub', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) */ Z3_ast Z3_API Z3_mk_sub(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[]); @@ -2001,6 +2158,8 @@ END_MLAPI_EXCLUDE \mlonly \brief \[ [mk_unary_minus c arg] \] Create the term: {e - arg}. \endmlonly The arguments must have int or real type. + + def_API('Z3_mk_unary_minus', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_mk_unary_minus(__in Z3_context c, __in Z3_ast arg); @@ -2012,6 +2171,7 @@ END_MLAPI_EXCLUDE If the arguments have int type, then the result type is an int type, otherwise the the result type is real. + def_API('Z3_mk_div', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_div(__in Z3_context c, __in Z3_ast arg1, __in Z3_ast arg2); @@ -2021,6 +2181,7 @@ END_MLAPI_EXCLUDE The arguments must have int type. + def_API('Z3_mk_mod', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_mod(__in Z3_context c, __in Z3_ast arg1, __in Z3_ast arg2); @@ -2030,6 +2191,7 @@ END_MLAPI_EXCLUDE The arguments must have int type. + def_API('Z3_mk_rem', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_rem(__in Z3_context c, __in Z3_ast arg1, __in Z3_ast arg2); @@ -2037,6 +2199,8 @@ END_MLAPI_EXCLUDE \conly \brief Create an AST node representing arg1^arg2. The arguments must have int or real type. + + def_API('Z3_mk_power', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_power(__in Z3_context c, __in Z3_ast arg1, __in Z3_ast arg2); @@ -2045,6 +2209,8 @@ END_MLAPI_EXCLUDE Create less than. The nodes \c t1 and \c t2 must have the same sort, and must be int or real. + + def_API('Z3_mk_lt', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_lt(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2053,6 +2219,8 @@ END_MLAPI_EXCLUDE Create less than or equal to. The nodes \c t1 and \c t2 must have the same sort, and must be int or real. + + def_API('Z3_mk_le', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_le(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2061,6 +2229,8 @@ END_MLAPI_EXCLUDE Create greater than. The nodes \c t1 and \c t2 must have the same sort, and must be int or real. + + def_API('Z3_mk_gt', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_gt(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2069,6 +2239,8 @@ END_MLAPI_EXCLUDE Create greater than or equal to. The nodes \c t1 and \c t2 must have the same sort, and must be int or real. + + def_API('Z3_mk_ge', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_ge(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2087,6 +2259,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_real2int \sa Z3_mk_is_int + + def_API('Z3_mk_int2real', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_mk_int2real(__in Z3_context c, __in Z3_ast t1); @@ -2099,6 +2273,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_int2real \sa Z3_mk_is_int + + def_API('Z3_mk_real2int', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_mk_real2int(__in Z3_context c, __in Z3_ast t1); @@ -2108,6 +2284,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_int2real \sa Z3_mk_real2int + + def_API('Z3_mk_is_int', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_mk_is_int(__in Z3_context c, __in Z3_ast t1); /*@}*/ @@ -2121,6 +2299,8 @@ END_MLAPI_EXCLUDE Bitwise negation. The node \c t1 must have a bit-vector sort. + + def_API('Z3_mk_bvnot', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvnot(__in Z3_context c, __in Z3_ast t1); @@ -2129,6 +2309,8 @@ END_MLAPI_EXCLUDE Take conjunction of bits in vector, return vector of length 1. The node \c t1 must have a bit-vector sort. + + def_API('Z3_mk_bvredand', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvredand(__in Z3_context c, __in Z3_ast t1); @@ -2137,6 +2319,8 @@ END_MLAPI_EXCLUDE Take disjunction of bits in vector, return vector of length 1. The node \c t1 must have a bit-vector sort. + + def_API('Z3_mk_bvredor', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvredor(__in Z3_context c, __in Z3_ast t1); @@ -2145,6 +2329,8 @@ END_MLAPI_EXCLUDE Bitwise and. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvand', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvand(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2153,6 +2339,8 @@ END_MLAPI_EXCLUDE Bitwise or. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvor', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvor(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2161,6 +2349,8 @@ END_MLAPI_EXCLUDE Bitwise exclusive-or. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvxor', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvxor(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2169,6 +2359,8 @@ END_MLAPI_EXCLUDE Bitwise nand. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvnand', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvnand(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2177,6 +2369,8 @@ END_MLAPI_EXCLUDE Bitwise nor. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvnor', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvnor(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2185,6 +2379,8 @@ END_MLAPI_EXCLUDE Bitwise xnor. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvxnor', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvxnor(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2193,6 +2389,8 @@ END_MLAPI_EXCLUDE Standard two's complement unary minus. The node \c t1 must have bit-vector sort. + + def_API('Z3_mk_bvneg', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvneg(__in Z3_context c, __in Z3_ast t1); @@ -2201,6 +2399,8 @@ END_MLAPI_EXCLUDE Standard two's complement addition. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvadd', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvadd(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2209,6 +2409,8 @@ END_MLAPI_EXCLUDE Standard two's complement subtraction. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvsub', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvsub(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2217,6 +2419,8 @@ END_MLAPI_EXCLUDE Standard two's complement multiplication. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvmul', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvmul(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2229,6 +2433,8 @@ END_MLAPI_EXCLUDE is undefined. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvudiv', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvudiv(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2245,6 +2451,8 @@ END_MLAPI_EXCLUDE If t2 is zero, then the result is undefined. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvsdiv', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvsdiv(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2257,6 +2465,8 @@ END_MLAPI_EXCLUDE If t2 is zero, then the result is undefined. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvurem', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvurem(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2272,6 +2482,8 @@ END_MLAPI_EXCLUDE The nodes \c t1 and \c t2 must have the same bit-vector sort. \sa Z3_mk_bvsmod + + def_API('Z3_mk_bvsrem', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvsrem(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2284,6 +2496,8 @@ END_MLAPI_EXCLUDE The nodes \c t1 and \c t2 must have the same bit-vector sort. \sa Z3_mk_bvsrem + + def_API('Z3_mk_bvsmod', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvsmod(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2292,6 +2506,8 @@ END_MLAPI_EXCLUDE Unsigned less than. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvult', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvult(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2308,6 +2524,8 @@ END_MLAPI_EXCLUDE \endcode The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvslt', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvslt(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2316,6 +2534,8 @@ END_MLAPI_EXCLUDE Unsigned less than or equal to. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvule', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvule(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2324,6 +2544,8 @@ END_MLAPI_EXCLUDE Two's complement signed less than or equal to. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvsle', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvsle(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2332,6 +2554,8 @@ END_MLAPI_EXCLUDE Unsigned greater than or equal to. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvuge', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvuge(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2340,6 +2564,8 @@ END_MLAPI_EXCLUDE Two's complement signed greater than or equal to. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvsge', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvsge(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2348,6 +2574,8 @@ END_MLAPI_EXCLUDE Unsigned greater than. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvugt', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvugt(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2356,6 +2584,8 @@ END_MLAPI_EXCLUDE Two's complement signed greater than. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvsgt', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvsgt(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2367,6 +2597,8 @@ END_MLAPI_EXCLUDE The result is a bit-vector of size n1+n2, where \c n1 (\c n2) is the size of \c t1 (\c t2). + + def_API('Z3_mk_concat', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_concat(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2377,6 +2609,8 @@ END_MLAPI_EXCLUDE high - low + 1. The node \c t1 must have a bit-vector sort. + + def_API('Z3_mk_extract', AST, (_in(CONTEXT), _in(UINT), _in(UINT), _in(AST))) */ Z3_ast Z3_API Z3_mk_extract(__in Z3_context c, __in unsigned high, __in unsigned low, __in Z3_ast t1); @@ -2387,6 +2621,8 @@ END_MLAPI_EXCLUDE bit-vector. The node \c t1 must have a bit-vector sort. + + def_API('Z3_mk_sign_ext', AST, (_in(CONTEXT), _in(UINT), _in(AST))) */ Z3_ast Z3_API Z3_mk_sign_ext(__in Z3_context c, __in unsigned i, __in Z3_ast t1); @@ -2397,6 +2633,8 @@ END_MLAPI_EXCLUDE given bit-vector. The node \c t1 must have a bit-vector sort. + + def_API('Z3_mk_zero_ext', AST, (_in(CONTEXT), _in(UINT), _in(AST))) */ Z3_ast Z3_API Z3_mk_zero_ext(__in Z3_context c, __in unsigned i, __in Z3_ast t1); @@ -2405,6 +2643,8 @@ END_MLAPI_EXCLUDE Repeat the given bit-vector up length i. The node \c t1 must have a bit-vector sort. + + def_API('Z3_mk_repeat', AST, (_in(CONTEXT), _in(UINT), _in(AST))) */ Z3_ast Z3_API Z3_mk_repeat(__in Z3_context c, __in unsigned i, __in Z3_ast t1); @@ -2420,6 +2660,8 @@ END_MLAPI_EXCLUDE programming language or assembly architecture you are modeling. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvshl', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvshl(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2435,6 +2677,8 @@ END_MLAPI_EXCLUDE programming language or assembly architecture you are modeling. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvlshr', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvlshr(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2446,11 +2690,13 @@ END_MLAPI_EXCLUDE bits of the result always copy the most significant bit of the second argument. - NB. The semantics of shift operations varies between environments. This + The semantics of shift operations varies between environments. This definition does not necessarily capture directly the semantics of the programming language or assembly architecture you are modeling. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvashr', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvashr(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2459,6 +2705,8 @@ END_MLAPI_EXCLUDE Rotate bits of \c t1 to the left \c i times. The node \c t1 must have a bit-vector sort. + + def_API('Z3_mk_rotate_left', AST, (_in(CONTEXT), _in(UINT), _in(AST))) */ Z3_ast Z3_API Z3_mk_rotate_left(__in Z3_context c, __in unsigned i, __in Z3_ast t1); @@ -2467,6 +2715,8 @@ END_MLAPI_EXCLUDE Rotate bits of \c t1 to the right \c i times. The node \c t1 must have a bit-vector sort. + + def_API('Z3_mk_rotate_right', AST, (_in(CONTEXT), _in(UINT), _in(AST))) */ Z3_ast Z3_API Z3_mk_rotate_right(__in Z3_context c, __in unsigned i, __in Z3_ast t1); @@ -2475,6 +2725,8 @@ END_MLAPI_EXCLUDE Rotate bits of \c t1 to the left \c t2 times. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_ext_rotate_left', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_ext_rotate_left(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2483,6 +2735,8 @@ END_MLAPI_EXCLUDE Rotate bits of \c t1 to the right \c t2 times. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_ext_rotate_right', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_ext_rotate_right(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2495,6 +2749,8 @@ END_MLAPI_EXCLUDE when solving constraints with this function. The node \c t1 must have integer sort. + + def_API('Z3_mk_int2bv', AST, (_in(CONTEXT), _in(UINT), _in(AST))) */ Z3_ast Z3_API Z3_mk_int2bv(__in Z3_context c, __in unsigned n, __in Z3_ast t1); @@ -2506,11 +2762,13 @@ END_MLAPI_EXCLUDE and in the range [0..2^N-1], where N are the number of bits in \c t1. If \c is_signed is true, \c t1 is treated as a signed bit-vector. - NB. This function is essentially treated as uninterpreted. + This function is essentially treated as uninterpreted. So you cannot expect Z3 to precisely reflect the semantics of this function when solving constraints with this function. The node \c t1 must have a bit-vector sort. + + def_API('Z3_mk_bv2int', AST, (_in(CONTEXT), _in(AST), _in(BOOL))) */ Z3_ast Z3_API Z3_mk_bv2int(__in Z3_context c,__in Z3_ast t1, Z3_bool is_signed); @@ -2520,6 +2778,8 @@ END_MLAPI_EXCLUDE of \c t1 and \c t2 does not overflow. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvadd_no_overflow', AST, (_in(CONTEXT), _in(AST), _in(AST), _in(BOOL))) */ Z3_ast Z3_API Z3_mk_bvadd_no_overflow(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2, Z3_bool is_signed); @@ -2529,6 +2789,8 @@ END_MLAPI_EXCLUDE of \c t1 and \c t2 does not underflow. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvadd_no_underflow', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvadd_no_underflow(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2538,6 +2800,8 @@ END_MLAPI_EXCLUDE of \c t1 and \c t2 does not overflow. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvsub_no_overflow', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvsub_no_overflow(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2547,6 +2811,8 @@ END_MLAPI_EXCLUDE of \c t1 and \c t2 does not underflow. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvsub_no_underflow', AST, (_in(CONTEXT), _in(AST), _in(AST), _in(BOOL))) */ Z3_ast Z3_API Z3_mk_bvsub_no_underflow(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2, Z3_bool is_signed); @@ -2556,6 +2822,8 @@ END_MLAPI_EXCLUDE of \c t1 and \c t2 does not overflow. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvsdiv_no_overflow', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvsdiv_no_overflow(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); @@ -2565,6 +2833,8 @@ END_MLAPI_EXCLUDE \c t1 is interpreted as a signed bit-vector. The node \c t1 must have bit-vector sort. + + def_API('Z3_mk_bvneg_no_overflow', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvneg_no_overflow(__in Z3_context c, __in Z3_ast t1); @@ -2574,6 +2844,8 @@ END_MLAPI_EXCLUDE of \c t1 and \c t2 does not overflow. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvmul_no_overflow', AST, (_in(CONTEXT), _in(AST), _in(AST), _in(BOOL))) */ Z3_ast Z3_API Z3_mk_bvmul_no_overflow(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2, Z3_bool is_signed); @@ -2583,6 +2855,8 @@ END_MLAPI_EXCLUDE of \c t1 and \c t2 does not underflow. The nodes \c t1 and \c t2 must have the same bit-vector sort. + + def_API('Z3_mk_bvmul_no_underflow', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_bvmul_no_underflow(__in Z3_context c, __in Z3_ast t1, __in Z3_ast t2); /*@}*/ @@ -2603,6 +2877,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_array_sort \sa Z3_mk_store + + def_API('Z3_mk_select', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_select(__in Z3_context c, __in Z3_ast a, __in Z3_ast i); @@ -2620,6 +2896,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_array_sort \sa Z3_mk_select + + def_API('Z3_mk_store', AST, (_in(CONTEXT), _in(AST), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_store(__in Z3_context c, __in Z3_ast a, __in Z3_ast i, __in Z3_ast v); @@ -2632,6 +2910,8 @@ END_MLAPI_EXCLUDE \param c logical context. \param domain domain sort for the array. \param v value that the array maps to. + + def_API('Z3_mk_const_array', AST, (_in(CONTEXT), _in(SORT), _in(AST))) */ Z3_ast Z3_API Z3_mk_const_array(__in Z3_context c, __in Z3_sort domain, __in Z3_ast v); @@ -2646,6 +2926,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_array_sort \sa Z3_mk_store \sa Z3_mk_select + + def_API('Z3_mk_map', AST, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT), _in_array(2, AST))) */ Z3_ast Z3_API Z3_mk_map(__in Z3_context c, __in Z3_func_decl f, unsigned n, __in Z3_ast const* args); @@ -2657,6 +2939,7 @@ END_MLAPI_EXCLUDE \param c logical context. \param array array value whose default range value is accessed. + def_API('Z3_mk_array_default', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_mk_array_default(__in Z3_context c, __in Z3_ast array); /*@}*/ @@ -2667,16 +2950,22 @@ END_MLAPI_EXCLUDE /*@{*/ /** \brief Create Set type. + + def_API('Z3_mk_set_sort', SORT, (_in(CONTEXT), _in(SORT))) */ Z3_sort Z3_API Z3_mk_set_sort(__in Z3_context c, __in Z3_sort ty); /** \brief Create the empty set. + + def_API('Z3_mk_empty_set', AST, (_in(CONTEXT), _in(SORT))) */ Z3_ast Z3_API Z3_mk_empty_set(__in Z3_context c, __in Z3_sort domain); /** \brief Create the full set. + + def_API('Z3_mk_full_set', AST, (_in(CONTEXT), _in(SORT))) */ Z3_ast Z3_API Z3_mk_full_set(__in Z3_context c, __in Z3_sort domain); @@ -2684,6 +2973,8 @@ END_MLAPI_EXCLUDE \brief Add an element to a set. The first argument must be a set, the second an element. + + def_API('Z3_mk_set_add', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_set_add(__in Z3_context c, __in Z3_ast set, __in Z3_ast elem); @@ -2691,26 +2982,36 @@ END_MLAPI_EXCLUDE \brief Remove an element to a set. The first argument must be a set, the second an element. + + def_API('Z3_mk_set_del', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_set_del(__in Z3_context c, __in Z3_ast set, __in Z3_ast elem); /** \brief Take the union of a list of sets. + + def_API('Z3_mk_set_union', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) */ Z3_ast Z3_API Z3_mk_set_union(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[]); /** \brief Take the intersection of a list of sets. + + def_API('Z3_mk_set_intersect', AST, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) */ Z3_ast Z3_API Z3_mk_set_intersect(__in Z3_context c, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[]); /** \brief Take the set difference between two sets. + + def_API('Z3_mk_set_difference', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_set_difference(__in Z3_context c, __in Z3_ast arg1, __in Z3_ast arg2); /** \brief Take the complement of a set. + + def_API('Z3_mk_set_complement', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_mk_set_complement(__in Z3_context c, __in Z3_ast arg); @@ -2718,11 +3019,15 @@ END_MLAPI_EXCLUDE \brief Check for set membership. The first argument should be an element type of the set. + + def_API('Z3_mk_set_member', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_set_member(__in Z3_context c, __in Z3_ast elem, __in Z3_ast set); /** \brief Check for subsetness of sets. + + def_API('Z3_mk_set_subset', AST, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_set_subset(__in Z3_context c, __in Z3_ast arg1, __in Z3_ast arg2); /*@}*/ @@ -2749,6 +3054,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_int \conly \sa Z3_mk_unsigned_int + + def_API('Z3_mk_numeral', AST, (_in(CONTEXT), _in(STRING), _in(SORT))) */ Z3_ast Z3_API Z3_mk_numeral(__in Z3_context c, __in Z3_string numeral, __in Z3_sort ty); @@ -2764,6 +3071,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_numeral \sa Z3_mk_int \conly \sa Z3_mk_unsigned_int + + def_API('Z3_mk_real', AST, (_in(CONTEXT), _in(INT), _in(INT))) */ Z3_ast Z3_API Z3_mk_real(__in Z3_context c, __in int num, __in int den); @@ -2774,6 +3083,8 @@ END_MLAPI_EXCLUDE It is slightly faster than #Z3_mk_numeral since it is not necessary to parse a string. \sa Z3_mk_numeral + + def_API('Z3_mk_int', AST, (_in(CONTEXT), _in(INT), _in(SORT))) */ Z3_ast Z3_API Z3_mk_int(__in Z3_context c, __in int v, __in Z3_sort ty); @@ -2785,6 +3096,8 @@ END_MLAPI_EXCLUDE It is slightly faster than #Z3_mk_numeral since it is not necessary to parse a string. \sa Z3_mk_numeral + + def_API('Z3_mk_unsigned_int', AST, (_in(CONTEXT), _in(UINT), _in(SORT))) */ Z3_ast Z3_API Z3_mk_unsigned_int(__in Z3_context c, __in unsigned v, __in Z3_sort ty); #endif @@ -2796,6 +3109,8 @@ END_MLAPI_EXCLUDE It is slightly faster than #Z3_mk_numeral since it is not necessary to parse a string. \sa Z3_mk_numeral + + def_API('Z3_mk_int64', AST, (_in(CONTEXT), _in(INT64), _in(SORT))) */ Z3_ast Z3_API Z3_mk_int64(__in Z3_context c, __in __int64 v, __in Z3_sort ty); @@ -2807,6 +3122,8 @@ END_MLAPI_EXCLUDE It is slightly faster than #Z3_mk_numeral since it is not necessary to parse a string. \sa Z3_mk_numeral + + def_API('Z3_mk_unsigned_int64', AST, (_in(CONTEXT), _in(UINT64), _in(SORT))) */ Z3_ast Z3_API Z3_mk_unsigned_int64(__in Z3_context c, __in unsigned __int64 v, __in Z3_sort ty); #endif @@ -2833,9 +3150,10 @@ END_MLAPI_EXCLUDE In general, one can pass in a list of (multi-)patterns in the quantifier constructor. - \sa Z3_mk_forall \sa Z3_mk_exists + + def_API('Z3_mk_pattern', PATTERN, (_in(CONTEXT), _in(UINT), _in_array(1, AST))) */ Z3_pattern Z3_API Z3_mk_pattern( __in Z3_context c, @@ -2867,6 +3185,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_forall \sa Z3_mk_exists + + def_API('Z3_mk_bound', AST, (_in(CONTEXT), _in(UINT), _in(SORT))) */ Z3_ast Z3_API Z3_mk_bound(__in Z3_context c, __in unsigned index, __in Z3_sort ty); @@ -2900,6 +3220,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_pattern \sa Z3_mk_bound \sa Z3_mk_exists + + def_API('Z3_mk_forall', AST, (_in(CONTEXT), _in(UINT), _in(UINT), _in_array(2, PATTERN), _in(UINT), _in_array(4, SORT), _in_array(4, SYMBOL), _in(AST))) */ Z3_ast Z3_API Z3_mk_forall(__in Z3_context c, __in unsigned weight, __in unsigned num_patterns, __in_ecount(num_patterns) Z3_pattern const patterns[], @@ -2914,6 +3236,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_bound \sa Z3_mk_forall \sa Z3_mk_quantifier + + def_API('Z3_mk_exists', AST, (_in(CONTEXT), _in(UINT), _in(UINT), _in_array(2, PATTERN), _in(UINT), _in_array(4, SORT), _in_array(4, SYMBOL), _in(AST))) */ Z3_ast Z3_API Z3_mk_exists(__in Z3_context c, __in unsigned weight, __in unsigned num_patterns, __in_ecount(num_patterns) Z3_pattern const patterns[], @@ -2939,6 +3263,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_bound \sa Z3_mk_forall \sa Z3_mk_exists + + def_API('Z3_mk_quantifier', AST, (_in(CONTEXT), _in(BOOL), _in(UINT), _in(UINT), _in_array(3, PATTERN), _in(UINT), _in_array(5, SORT), _in_array(5, SYMBOL), _in(AST))) */ Z3_ast Z3_API Z3_mk_quantifier( __in Z3_context c, @@ -2971,6 +3297,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_bound \sa Z3_mk_forall \sa Z3_mk_exists + + def_API('Z3_mk_quantifier_ex', AST, (_in(CONTEXT), _in(BOOL), _in(UINT), _in(SYMBOL), _in(SYMBOL), _in(UINT), _in_array(5, PATTERN), _in(UINT), _in_array(7, AST), _in(UINT), _in_array(9, SORT), _in_array(9, SYMBOL), _in(AST))) */ Z3_ast Z3_API Z3_mk_quantifier_ex( __in Z3_context c, @@ -3000,6 +3328,7 @@ END_MLAPI_EXCLUDE \sa Z3_mk_pattern \sa Z3_mk_exists_const + def_API('Z3_mk_forall_const', AST, (_in(CONTEXT), _in(UINT), _in(UINT), _in_array(2, APP), _in(UINT), _in_array(4, PATTERN), _in(AST))) */ Z3_ast Z3_API Z3_mk_forall_const( __in Z3_context c, @@ -3028,6 +3357,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_pattern \sa Z3_mk_forall_const + + def_API('Z3_mk_exists_const', AST, (_in(CONTEXT), _in(UINT), _in(UINT), _in_array(2, APP), _in(UINT), _in_array(4, PATTERN), _in(AST))) */ Z3_ast Z3_API Z3_mk_exists_const( __in Z3_context c, @@ -3043,6 +3374,8 @@ END_MLAPI_EXCLUDE \brief Create a universal or existential quantifier using a list of constants that will form the set of bound variables. + + def_API('Z3_mk_quantifier_const', AST, (_in(CONTEXT), _in(BOOL), _in(UINT), _in(UINT), _in_array(3, APP), _in(UINT), _in_array(5, PATTERN), _in(AST))) */ Z3_ast Z3_API Z3_mk_quantifier_const( __in Z3_context c, @@ -3059,6 +3392,8 @@ END_MLAPI_EXCLUDE \brief Create a universal or existential quantifier using a list of constants that will form the set of bound variables. + + def_API('Z3_mk_quantifier_const_ex', AST, (_in(CONTEXT), _in(BOOL), _in(UINT), _in(SYMBOL), _in(SYMBOL), _in(UINT), _in_array(5, APP), _in(UINT), _in_array(7, PATTERN), _in(UINT), _in_array(9, AST), _in(AST))) */ Z3_ast Z3_API Z3_mk_quantifier_const_ex( __in Z3_context c, @@ -3095,6 +3430,8 @@ END_MLAPI_EXCLUDE \brief Return \c Z3_INT_SYMBOL if the symbol was constructed using #Z3_mk_int_symbol, and \c Z3_STRING_SYMBOL if the symbol was constructed using #Z3_mk_string_symbol. + + def_API('Z3_get_symbol_kind', UINT, (_in(CONTEXT), _in(SYMBOL))) */ Z3_symbol_kind Z3_API Z3_get_symbol_kind(__in Z3_context c, __in Z3_symbol s); @@ -3105,6 +3442,8 @@ END_MLAPI_EXCLUDE \pre Z3_get_symbol_kind(s) == Z3_INT_SYMBOL \sa Z3_mk_int_symbol + + def_API('Z3_get_symbol_int', INT, (_in(CONTEXT), _in(SYMBOL))) */ int Z3_API Z3_get_symbol_int(__in Z3_context c, __in Z3_symbol s); @@ -3119,6 +3458,8 @@ END_MLAPI_EXCLUDE \conly So, the buffer is invalidated in the next call to \c Z3_get_symbol_string. \sa Z3_mk_string_symbol + + def_API('Z3_get_symbol_string', STRING, (_in(CONTEXT), _in(SYMBOL))) */ Z3_string Z3_API Z3_get_symbol_string(__in Z3_context c, __in Z3_symbol s); @@ -3133,12 +3474,16 @@ END_MLAPI_EXCLUDE /** \brief Return the sort name as a symbol. + + def_API('Z3_get_sort_name', SYMBOL, (_in(CONTEXT), _in(SORT))) */ Z3_symbol Z3_API Z3_get_sort_name(__in Z3_context c, __in Z3_sort d); /** \brief Return a unique identifier for \c s. \mlonly \remark Implicitly used by [Pervasives.( = )] and [Pervasives.compare]. \endmlonly + + def_API('Z3_get_sort_id', UINT, (_in(CONTEXT), _in(SORT))) */ unsigned Z3_API Z3_get_sort_id(__in Z3_context c, Z3_sort s); @@ -3149,12 +3494,16 @@ END_MLAPI_EXCLUDE /** \brief Convert a \c Z3_sort into \c Z3_ast. \conly This is just type casting. \mlonly \remark [sort_to_ast c s] can be replaced by [(s :> ast)]. \endmlonly + + def_API('Z3_sort_to_ast', AST, (_in(CONTEXT), _in(SORT))) */ Z3_ast Z3_API Z3_sort_to_ast(__in Z3_context c, __in Z3_sort s); /** \brief compare sorts. \mlonly \remark [Pervasives.( = )] or [Pervasives.compare] can also be used. \endmlonly + + def_API('Z3_is_eq_sort', BOOL, (_in(CONTEXT), _in(SORT), _in(SORT))) */ Z3_bool Z3_API Z3_is_eq_sort(__in Z3_context c, __in Z3_sort s1, __in Z3_sort s2); @@ -3162,6 +3511,8 @@ END_MLAPI_EXCLUDE \brief Return the sort kind (e.g., array, tuple, int, bool, etc). \sa Z3_sort_kind + + def_API('Z3_get_sort_kind', UINT, (_in(CONTEXT), _in(SORT))) */ Z3_sort_kind Z3_API Z3_get_sort_kind(__in Z3_context c, __in Z3_sort t); @@ -3174,14 +3525,17 @@ END_MLAPI_EXCLUDE \sa Z3_mk_bv_sort \sa Z3_get_sort_kind + + def_API('Z3_get_bv_sort_size', UINT, (_in(CONTEXT), _in(SORT))) */ unsigned Z3_API Z3_get_bv_sort_size(__in Z3_context c, __in Z3_sort t); - /** \conly \brief Store the size of the sort in \c r. Return Z3_FALSE if the call failed. \mlonly \brief Return the size of the sort in \c r. Return \c None if the call failed. \endmlonly That is, Z3_get_sort_kind(s) == Z3_FINITE_DOMAIN_SORT + + def_API('Z3_get_finite_domain_sort_size', BOOL, (_in(CONTEXT), _in(SORT), _out(UINT64))) */ Z3_bool_opt Z3_API Z3_get_finite_domain_sort_size(__in Z3_context c, __in Z3_sort s, __out_opt unsigned __int64* r); @@ -3194,6 +3548,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_array_sort \sa Z3_get_sort_kind + + def_API('Z3_get_array_sort_domain', SORT, (_in(CONTEXT), _in(SORT))) */ Z3_sort Z3_API Z3_get_array_sort_domain(__in Z3_context c, __in Z3_sort t); @@ -3205,6 +3561,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_array_sort \sa Z3_get_sort_kind + + def_API('Z3_get_array_sort_range', SORT, (_in(CONTEXT), _in(SORT))) */ Z3_sort Z3_API Z3_get_array_sort_range(__in Z3_context c, __in Z3_sort t); @@ -3218,6 +3576,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_tuple_sort \sa Z3_get_sort_kind + + def_API('Z3_get_tuple_sort_mk_decl', FUNC_DECL, (_in(CONTEXT), _in(SORT))) */ Z3_func_decl Z3_API Z3_get_tuple_sort_mk_decl(__in Z3_context c, __in Z3_sort t); @@ -3229,6 +3589,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_tuple_sort \sa Z3_get_sort_kind + + def_API('Z3_get_tuple_sort_num_fields', UINT, (_in(CONTEXT), _in(SORT))) */ unsigned Z3_API Z3_get_tuple_sort_num_fields(__in Z3_context c, __in Z3_sort t); @@ -3242,6 +3604,8 @@ END_MLAPI_EXCLUDE \sa Z3_mk_tuple_sort \sa Z3_get_sort_kind + + def_API('Z3_get_tuple_sort_field_decl', FUNC_DECL, (_in(CONTEXT), _in(SORT), _in(UINT))) */ Z3_func_decl Z3_API Z3_get_tuple_sort_field_decl(__in Z3_context c, __in Z3_sort t, __in unsigned i); @@ -3254,6 +3618,7 @@ END_MLAPI_EXCLUDE \sa Z3_get_datatype_sort_recognizer \sa Z3_get_datatype_sort_constructor_accessor + def_API('Z3_get_datatype_sort_num_constructors', UINT, (_in(CONTEXT), _in(SORT))) */ unsigned Z3_API Z3_get_datatype_sort_num_constructors( __in Z3_context c, __in Z3_sort t); @@ -3268,6 +3633,7 @@ END_MLAPI_EXCLUDE \sa Z3_get_datatype_sort_recognizer \sa Z3_get_datatype_sort_constructor_accessor + def_API('Z3_get_datatype_sort_constructor', FUNC_DECL, (_in(CONTEXT), _in(SORT), _in(UINT))) */ Z3_func_decl Z3_API Z3_get_datatype_sort_constructor( __in Z3_context c, __in Z3_sort t, unsigned idx); @@ -3282,6 +3648,7 @@ END_MLAPI_EXCLUDE \sa Z3_get_datatype_sort_constructor \sa Z3_get_datatype_sort_constructor_accessor + def_API('Z3_get_datatype_sort_recognizer', FUNC_DECL, (_in(CONTEXT), _in(SORT), _in(UINT))) */ Z3_func_decl Z3_API Z3_get_datatype_sort_recognizer( __in Z3_context c, __in Z3_sort t, unsigned idx); @@ -3296,6 +3663,8 @@ END_MLAPI_EXCLUDE \sa Z3_get_datatype_sort_num_constructors \sa Z3_get_datatype_sort_constructor \sa Z3_get_datatype_sort_recognizer + + def_API('Z3_get_datatype_sort_constructor_accessor', FUNC_DECL, (_in(CONTEXT), _in(SORT), _in(UINT), _in(UINT))) */ Z3_func_decl Z3_API Z3_get_datatype_sort_constructor_accessor( __in Z3_context c, __in Z3_sort t, unsigned idx_c, unsigned idx_a); @@ -3307,6 +3676,8 @@ END_MLAPI_EXCLUDE \pre Z3_get_sort_kind(s) == Z3_RELATION_SORT \sa Z3_get_relation_column + + def_API('Z3_get_relation_arity', UINT, (_in(CONTEXT), _in(SORT))) */ unsigned Z3_API Z3_get_relation_arity(__in Z3_context c, __in Z3_sort s); @@ -3317,6 +3688,8 @@ END_MLAPI_EXCLUDE \pre col < Z3_get_relation_arity(c, s) \sa Z3_get_relation_arity + + def_API('Z3_get_relation_column', SORT, (_in(CONTEXT), _in(SORT), _in(UINT))) */ Z3_sort Z3_API Z3_get_relation_column(__in Z3_context c, __in Z3_sort s, unsigned col); @@ -3328,28 +3701,38 @@ END_MLAPI_EXCLUDE /** \brief Convert a \c Z3_func_decl into \c Z3_ast. \conly This is just type casting. \mlonly \remark [func_decl_to_ast c f] can be replaced by [(f :> ast)]. \endmlonly + + def_API('Z3_func_decl_to_ast', AST, (_in(CONTEXT), _in(FUNC_DECL))) */ Z3_ast Z3_API Z3_func_decl_to_ast(__in Z3_context c, __in Z3_func_decl f); /** \brief compare terms. \mlonly \remark [Pervasives.( = )] or [Pervasives.compare] can also be used. \endmlonly + + def_API('Z3_is_eq_func_decl', BOOL, (_in(CONTEXT), _in(FUNC_DECL), _in(FUNC_DECL))) */ Z3_bool Z3_API Z3_is_eq_func_decl(__in Z3_context c, __in Z3_func_decl f1, Z3_func_decl f2); /** \brief Return a unique identifier for \c f. \mlonly \remark Implicitly used by [Pervasives.( = )] and [Pervasives.compare]. \endmlonly + + def_API('Z3_get_func_decl_id', UINT, (_in(CONTEXT), _in(FUNC_DECL))) */ unsigned Z3_API Z3_get_func_decl_id(__in Z3_context c, Z3_func_decl f); /** \brief Return the constant declaration name as a symbol. + + def_API('Z3_get_decl_name', SYMBOL, (_in(CONTEXT), _in(FUNC_DECL))) */ Z3_symbol Z3_API Z3_get_decl_name(__in Z3_context c, __in Z3_func_decl d); /** \brief Return declaration kind corresponding to declaration. + + def_API('Z3_get_decl_kind', UINT, (_in(CONTEXT), _in(FUNC_DECL))) */ Z3_decl_kind Z3_API Z3_get_decl_kind(__in Z3_context c, __in Z3_func_decl d); @@ -3357,6 +3740,8 @@ END_MLAPI_EXCLUDE \brief Return the number of parameters of the given declaration. \sa Z3_get_arity + + def_API('Z3_get_domain_size', UINT, (_in(CONTEXT), _in(FUNC_DECL))) */ unsigned Z3_API Z3_get_domain_size(__in Z3_context c, __in Z3_func_decl d); @@ -3364,6 +3749,8 @@ END_MLAPI_EXCLUDE \brief Alias for \c Z3_get_domain_size. \sa Z3_get_domain_size + + def_API('Z3_get_arity', UINT, (_in(CONTEXT), _in(FUNC_DECL))) */ unsigned Z3_API Z3_get_arity(__in Z3_context c, __in Z3_func_decl d); @@ -3374,6 +3761,8 @@ END_MLAPI_EXCLUDE \pre i < Z3_get_domain_size(d) \sa Z3_get_domain_size + + def_API('Z3_get_domain', SORT, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) */ Z3_sort Z3_API Z3_get_domain(__in Z3_context c, __in Z3_func_decl d, __in unsigned i); @@ -3387,11 +3776,15 @@ END_MLAPI_EXCLUDE If \c d is a constant (i.e., has zero arguments), then this function returns the sort of the constant. + + def_API('Z3_get_range', SORT, (_in(CONTEXT), _in(FUNC_DECL))) */ Z3_sort Z3_API Z3_get_range(__in Z3_context c, __in Z3_func_decl d); /** \brief Return the number of parameters associated with a declaration. + + def_API('Z3_get_decl_num_parameters', UINT, (_in(CONTEXT), _in(FUNC_DECL))) */ unsigned Z3_API Z3_get_decl_num_parameters(__in Z3_context c, __in Z3_func_decl d); @@ -3401,6 +3794,8 @@ END_MLAPI_EXCLUDE \param c the context \param d the function declaration \param idx is the index of the named parameter it should be between 0 and the number of parameters. + + def_API('Z3_get_decl_parameter_kind', UINT, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) */ Z3_parameter_kind Z3_API Z3_get_decl_parameter_kind(__in Z3_context c, __in Z3_func_decl d, unsigned idx); @@ -3408,6 +3803,8 @@ END_MLAPI_EXCLUDE \brief Return the integer value associated with an integer parameter. \pre Z3_get_decl_parameter_kind(c, d, idx) == Z3_PARAMETER_INT + + def_API('Z3_get_decl_int_parameter', INT, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) */ int Z3_API Z3_get_decl_int_parameter(__in Z3_context c, __in Z3_func_decl d, unsigned idx); @@ -3415,6 +3812,8 @@ END_MLAPI_EXCLUDE \brief Return the double value associated with an double parameter. \pre Z3_get_decl_parameter_kind(c, d, idx) == Z3_PARAMETER_DOUBLE + + def_API('Z3_get_decl_double_parameter', DOUBLE, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) */ double Z3_API Z3_get_decl_double_parameter(__in Z3_context c, __in Z3_func_decl d, unsigned idx); @@ -3422,6 +3821,8 @@ END_MLAPI_EXCLUDE \brief Return the double value associated with an double parameter. \pre Z3_get_decl_parameter_kind(c, d, idx) == Z3_PARAMETER_SYMBOL + + def_API('Z3_get_decl_symbol_parameter', SYMBOL, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) */ Z3_symbol Z3_API Z3_get_decl_symbol_parameter(__in Z3_context c, __in Z3_func_decl d, unsigned idx); @@ -3429,6 +3830,8 @@ END_MLAPI_EXCLUDE \brief Return the sort value associated with a sort parameter. \pre Z3_get_decl_parameter_kind(c, d, idx) == Z3_PARAMETER_SORT + + def_API('Z3_get_decl_sort_parameter', SORT, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) */ Z3_sort Z3_API Z3_get_decl_sort_parameter(__in Z3_context c, __in Z3_func_decl d, unsigned idx); @@ -3436,6 +3839,8 @@ END_MLAPI_EXCLUDE \brief Return the expresson value associated with an expression parameter. \pre Z3_get_decl_parameter_kind(c, d, idx) == Z3_PARAMETER_AST + + def_API('Z3_get_decl_ast_parameter', AST, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) */ Z3_ast Z3_API Z3_get_decl_ast_parameter(__in Z3_context c, __in Z3_func_decl d, unsigned idx); @@ -3443,6 +3848,8 @@ END_MLAPI_EXCLUDE \brief Return the expresson value associated with an expression parameter. \pre Z3_get_decl_parameter_kind(c, d, idx) == Z3_PARAMETER_FUNC_DECL + + def_API('Z3_get_decl_func_decl_parameter', FUNC_DECL, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) */ Z3_func_decl Z3_API Z3_get_decl_func_decl_parameter(__in Z3_context c, __in Z3_func_decl d, unsigned idx); @@ -3450,6 +3857,8 @@ END_MLAPI_EXCLUDE \brief Return the rational value, as a string, associated with a rational parameter. \pre Z3_get_decl_parameter_kind(c, d, idx) == Z3_PARAMETER_RATIONAL + + def_API('Z3_get_decl_rational_parameter', STRING, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT))) */ Z3_string Z3_API Z3_get_decl_rational_parameter(__in Z3_context c, __in Z3_func_decl d, unsigned idx); @@ -3460,11 +3869,15 @@ END_MLAPI_EXCLUDE /** \brief Convert a \c Z3_app into \c Z3_ast. \conly This is just type casting. \mlonly \remark [app_to_ast c a] can be replaced by [(a :> ast)]. \endmlonly + + def_API('Z3_app_to_ast', AST, (_in(CONTEXT), _in(APP))) */ Z3_ast Z3_API Z3_app_to_ast(__in Z3_context c, __in Z3_app a); /** \brief Return the declaration of a constant or function application. + + def_API('Z3_get_app_decl', FUNC_DECL, (_in(CONTEXT), _in(APP))) */ Z3_func_decl Z3_API Z3_get_app_decl(__in Z3_context c, __in Z3_app a); @@ -3472,6 +3885,8 @@ END_MLAPI_EXCLUDE \brief \mlh get_app_num_args c a \endmlh Return the number of argument of an application. If \c t is an constant, then the number of arguments is 0. + + def_API('Z3_get_app_num_args', UINT, (_in(CONTEXT), _in(APP))) */ unsigned Z3_API Z3_get_app_num_args(__in Z3_context c, __in Z3_app a); @@ -3480,6 +3895,8 @@ END_MLAPI_EXCLUDE Return the i-th argument of the given application. \pre i < Z3_get_num_args(c, a) + + def_API('Z3_get_app_arg', AST, (_in(CONTEXT), _in(APP), _in(UINT))) */ Z3_ast Z3_API Z3_get_app_arg(__in Z3_context c, __in Z3_app a, __in unsigned i); @@ -3499,18 +3916,24 @@ END_MLAPI_EXCLUDE /** \brief compare terms. \mlonly \remark [Pervasives.( = )] or [Pervasives.compare] can also be used. \endmlonly + + def_API('Z3_is_eq_ast', BOOL, (_in(CONTEXT), _in(AST), _in(AST))) */ Z3_bool Z3_API Z3_is_eq_ast(__in Z3_context c, __in Z3_ast t1, Z3_ast t2); /** \brief Return a unique identifier for \c t. \mlonly \remark Implicitly used by [Pervasives.compare] for values of type [ast], [app], [sort], [func_decl], and [pattern]. \endmlonly + + def_API('Z3_get_ast_id', UINT, (_in(CONTEXT), _in(AST))) */ unsigned Z3_API Z3_get_ast_id(__in Z3_context c, Z3_ast t); /** \brief Return a hash code for the given AST. \mlonly \remark Implicitly used by [Hashtbl.hash] for values of type [ast], [app], [sort], [func_decl], and [pattern]. \endmlonly + + def_API('Z3_get_ast_hash', UINT, (_in(CONTEXT), _in(AST))) */ unsigned Z3_API Z3_get_ast_hash(__in Z3_context c, __in Z3_ast a); @@ -3518,31 +3941,46 @@ END_MLAPI_EXCLUDE \brief Return the sort of an AST node. The AST node must be a constant, application, numeral, bound variable, or quantifier. - + + def_API('Z3_get_sort', SORT, (_in(CONTEXT), _in(AST))) */ Z3_sort Z3_API Z3_get_sort(__in Z3_context c, __in Z3_ast a); /** \brief Return true if the given expression \c t is well sorted. + + def_API('Z3_is_well_sorted', BOOL, (_in(CONTEXT), _in(AST))) */ Z3_bool Z3_API Z3_is_well_sorted(__in Z3_context c, __in Z3_ast t); /** \brief Return Z3_L_TRUE if \c a is true, Z3_L_FALSE if it is false, and Z3_L_UNDEF otherwise. + + def_API('Z3_get_bool_value', UINT, (_in(CONTEXT), _in(AST))) */ Z3_lbool Z3_API Z3_get_bool_value(__in Z3_context c, __in Z3_ast a); /** \brief Return the kind of the given AST. + + def_API('Z3_get_ast_kind', UINT, (_in(CONTEXT), _in(AST))) */ Z3_ast_kind Z3_API Z3_get_ast_kind(__in Z3_context c, __in Z3_ast a); + /* + def_API('Z3_is_app', BOOL, (_in(CONTEXT), _in(AST))) + */ Z3_bool Z3_API Z3_is_app(__in Z3_context c, __in Z3_ast a); + /* + def_API('Z3_is_numeral_ast', BOOL, (_in(CONTEXT), _in(AST))) + */ Z3_bool Z3_API Z3_is_numeral_ast(__in Z3_context c, __in Z3_ast a); /** \brief Return true if the give AST is a real algebraic number. + + def_API('Z3_is_algebraic_number', BOOL, (_in(CONTEXT), _in(AST))) */ Z3_bool Z3_API Z3_is_algebraic_number(__in Z3_context c, __in Z3_ast a); @@ -3550,6 +3988,8 @@ END_MLAPI_EXCLUDE \brief Convert an \c ast into an \c APP_AST. \conly This is just type casting. \pre \code Z3_get_ast_kind(c, a) == \c Z3_APP_AST \endcode + + def_API('Z3_to_app', APP, (_in(CONTEXT), _in(AST))) */ Z3_app Z3_API Z3_to_app(__in Z3_context c, __in Z3_ast a); @@ -3557,6 +3997,8 @@ END_MLAPI_EXCLUDE \brief Convert an AST into a FUNC_DECL_AST. This is just type casting. \pre \code Z3_get_ast_kind(c, a) == Z3_FUNC_DECL_AST \endcode + + def_API('Z3_to_func_decl', FUNC_DECL, (_in(CONTEXT), _in(AST))) */ Z3_func_decl Z3_API Z3_to_func_decl(__in Z3_context c, __in Z3_ast a); @@ -3577,6 +4019,8 @@ END_MLAPI_EXCLUDE \brief Return numeral value, as a string of a numeric constant term \pre Z3_get_ast_kind(c, a) == Z3_NUMERAL_AST + + def_API('Z3_get_numeral_string', STRING, (_in(CONTEXT), _in(AST))) */ Z3_string Z3_API Z3_get_numeral_string(__in Z3_context c, __in Z3_ast a); @@ -3585,6 +4029,8 @@ END_MLAPI_EXCLUDE The result has at most \c precision decimal places. \pre Z3_get_ast_kind(c, a) == Z3_NUMERAL_AST || Z3_is_algebraic_number(c, a) + + def_API('Z3_get_numeral_decimal_string', STRING, (_in(CONTEXT), _in(AST), _in(UINT))) */ Z3_string Z3_API Z3_get_numeral_decimal_string(__in Z3_context c, __in Z3_ast a, __in unsigned precision); @@ -3592,6 +4038,8 @@ END_MLAPI_EXCLUDE \brief Return the numerator (as a numeral AST) of a numeral AST of sort Real. \pre Z3_get_ast_kind(c, a) == Z3_NUMERAL_AST + + def_API('Z3_get_numerator', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_get_numerator(__in Z3_context c, __in Z3_ast a); @@ -3599,6 +4047,8 @@ END_MLAPI_EXCLUDE \brief Return the denominator (as a numeral AST) of a numeral AST of sort Real. \pre Z3_get_ast_kind(c, a) == Z3_NUMERAL_AST + + def_API('Z3_get_denominator', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_get_denominator(__in Z3_context c, __in Z3_ast a); @@ -3613,10 +4063,11 @@ END_MLAPI_EXCLUDE Return \c Z3_TRUE if the numeral value fits in 64 bit numerals, \c Z3_FALSE otherwise. \pre Z3_get_ast_kind(a) == Z3_NUMERAL_AST + + def_API('Z3_get_numeral_small', BOOL, (_in(CONTEXT), _in(AST), _out(INT64), _out(INT64))) */ Z3_bool Z3_API Z3_get_numeral_small(__in Z3_context c, __in Z3_ast a, __out __int64* num, __out __int64* den); - /** \brief \mlh get_numeral_int c v \endmlh Similar to #Z3_get_numeral_string, but only succeeds if @@ -3625,6 +4076,8 @@ END_MLAPI_EXCLUDE \pre Z3_get_ast_kind(c, v) == Z3_NUMERAL_AST \sa Z3_get_numeral_string + + def_API('Z3_get_numeral_int', BOOL, (_in(CONTEXT), _in(AST), _out(INT))) */ Z3_bool Z3_API Z3_get_numeral_int(__in Z3_context c, __in Z3_ast v, __out int* i); @@ -3637,6 +4090,8 @@ END_MLAPI_EXCLUDE \pre Z3_get_ast_kind(c, v) == Z3_NUMERAL_AST \sa Z3_get_numeral_string + + def_API('Z3_get_numeral_uint', BOOL, (_in(CONTEXT), _in(AST), _out(UINT))) */ Z3_bool Z3_API Z3_get_numeral_uint(__in Z3_context c, __in Z3_ast v, __out unsigned* u); #endif @@ -3650,6 +4105,8 @@ END_MLAPI_EXCLUDE \pre Z3_get_ast_kind(c, v) == Z3_NUMERAL_AST \sa Z3_get_numeral_string + + def_API('Z3_get_numeral_uint64', BOOL, (_in(CONTEXT), _in(AST), _out(UINT64))) */ Z3_bool Z3_API Z3_get_numeral_uint64(__in Z3_context c, __in Z3_ast v, __out unsigned __int64* u); #endif @@ -3662,6 +4119,8 @@ END_MLAPI_EXCLUDE \pre Z3_get_ast_kind(c, v) == Z3_NUMERAL_AST \sa Z3_get_numeral_string + + def_API('Z3_get_numeral_int64', BOOL, (_in(CONTEXT), _in(AST), _out(INT64))) */ Z3_bool Z3_API Z3_get_numeral_int64(__in Z3_context c, __in Z3_ast v, __out __int64* i); @@ -3673,6 +4132,8 @@ END_MLAPI_EXCLUDE \pre Z3_get_ast_kind(c, v) == Z3_NUMERAL_AST \sa Z3_get_numeral_string + + def_API('Z3_get_numeral_rational_int64', BOOL, (_in(CONTEXT), _in(AST), _out(INT64), _out(INT64))) */ Z3_bool Z3_API Z3_get_numeral_rational_int64(__in Z3_context c, __in Z3_ast v, __out __int64* num, __out __int64* den); @@ -3682,6 +4143,8 @@ END_MLAPI_EXCLUDE The result is a numeral AST of sort Real. \pre Z3_is_algebraic_number(c, a) + + def_API('Z3_get_algebraic_number_lower', AST, (_in(CONTEXT), _in(AST), _in(UINT))) */ Z3_ast Z3_API Z3_get_algebraic_number_lower(__in Z3_context c, __in Z3_ast a, __in unsigned precision); @@ -3691,6 +4154,8 @@ END_MLAPI_EXCLUDE The result is a numeral AST of sort Real. \pre Z3_is_algebraic_number(c, a) + + def_API('Z3_get_algebraic_number_upper', AST, (_in(CONTEXT), _in(AST), _in(UINT))) */ Z3_ast Z3_API Z3_get_algebraic_number_upper(Z3_context c, Z3_ast a, unsigned precision); @@ -3702,6 +4167,8 @@ END_MLAPI_EXCLUDE /** \brief Convert a Z3_pattern into Z3_ast. \conly This is just type casting. \mlonly \remark [pattern_to_ast c p] can be replaced by [(p :> ast)]. \endmlonly + + def_API('Z3_pattern_to_ast', AST, (_in(CONTEXT), _in(PATTERN))) */ Z3_ast Z3_API Z3_pattern_to_ast(__in Z3_context c, __in Z3_pattern p); @@ -3711,11 +4178,15 @@ END_MLAPI_EXCLUDE /** \brief Return number of terms in pattern. + + def_API('Z3_get_pattern_num_terms', UINT, (_in(CONTEXT), _in(PATTERN))) */ unsigned Z3_API Z3_get_pattern_num_terms(__in Z3_context c, __in Z3_pattern p); /** \brief Return i'th ast in pattern. + + def_API('Z3_get_pattern', AST, (_in(CONTEXT), _in(PATTERN), _in(UINT))) */ Z3_ast Z3_API Z3_get_pattern(__in Z3_context c, __in Z3_pattern p, __in unsigned idx); @@ -3728,6 +4199,8 @@ END_MLAPI_EXCLUDE \brief Return index of de-Brujin bound variable. \pre Z3_get_ast_kind(a) == Z3_VAR_AST + + def_API('Z3_get_index_value', UINT, (_in(CONTEXT), _in(AST))) */ unsigned Z3_API Z3_get_index_value(__in Z3_context c, __in Z3_ast a); @@ -3735,6 +4208,8 @@ END_MLAPI_EXCLUDE \brief Determine if quantifier is universal. \pre Z3_get_ast_kind(a) == Z3_QUANTIFIER_AST + + def_API('Z3_is_quantifier_forall', BOOL, (_in(CONTEXT), _in(AST))) */ Z3_bool Z3_API Z3_is_quantifier_forall(__in Z3_context c, __in Z3_ast a); @@ -3742,6 +4217,8 @@ END_MLAPI_EXCLUDE \brief Obtain weight of quantifier. \pre Z3_get_ast_kind(a) == Z3_QUANTIFIER_AST + + def_API('Z3_get_quantifier_weight', UINT, (_in(CONTEXT), _in(AST))) */ unsigned Z3_API Z3_get_quantifier_weight(__in Z3_context c, __in Z3_ast a); @@ -3749,6 +4226,8 @@ END_MLAPI_EXCLUDE \brief Return number of patterns used in quantifier. \pre Z3_get_ast_kind(a) == Z3_QUANTIFIER_AST + + def_API('Z3_get_quantifier_num_patterns', UINT, (_in(CONTEXT), _in(AST))) */ unsigned Z3_API Z3_get_quantifier_num_patterns(__in Z3_context c, __in Z3_ast a); @@ -3756,6 +4235,8 @@ END_MLAPI_EXCLUDE \brief Return i'th pattern. \pre Z3_get_ast_kind(a) == Z3_QUANTIFIER_AST + + def_API('Z3_get_quantifier_pattern_ast', PATTERN, (_in(CONTEXT), _in(AST), _in(UINT))) */ Z3_pattern Z3_API Z3_get_quantifier_pattern_ast(__in Z3_context c, __in Z3_ast a, unsigned i); @@ -3763,6 +4244,8 @@ END_MLAPI_EXCLUDE \brief Return number of no_patterns used in quantifier. \pre Z3_get_ast_kind(a) == Z3_QUANTIFIER_AST + + def_API('Z3_get_quantifier_num_no_patterns', UINT, (_in(CONTEXT), _in(AST))) */ unsigned Z3_API Z3_get_quantifier_num_no_patterns(__in Z3_context c, __in Z3_ast a); @@ -3770,6 +4253,8 @@ END_MLAPI_EXCLUDE \brief Return i'th no_pattern. \pre Z3_get_ast_kind(a) == Z3_QUANTIFIER_AST + + def_API('Z3_get_quantifier_no_pattern_ast', AST, (_in(CONTEXT), _in(AST), _in(UINT))) */ Z3_ast Z3_API Z3_get_quantifier_no_pattern_ast(__in Z3_context c, __in Z3_ast a, unsigned i); @@ -3777,6 +4262,8 @@ END_MLAPI_EXCLUDE \brief Return number of bound variables of quantifier. \pre Z3_get_ast_kind(a) == Z3_QUANTIFIER_AST + + def_API('Z3_get_quantifier_num_bound', UINT, (_in(CONTEXT), _in(AST))) */ unsigned Z3_API Z3_get_quantifier_num_bound(__in Z3_context c, __in Z3_ast a); @@ -3784,6 +4271,8 @@ END_MLAPI_EXCLUDE \brief Return symbol of the i'th bound variable. \pre Z3_get_ast_kind(a) == Z3_QUANTIFIER_AST + + def_API('Z3_get_quantifier_bound_name', SYMBOL, (_in(CONTEXT), _in(AST), _in(UINT))) */ Z3_symbol Z3_API Z3_get_quantifier_bound_name(__in Z3_context c, __in Z3_ast a, unsigned i); @@ -3791,6 +4280,8 @@ END_MLAPI_EXCLUDE \brief Return sort of the i'th bound variable. \pre Z3_get_ast_kind(a) == Z3_QUANTIFIER_AST + + def_API('Z3_get_quantifier_bound_sort', SORT, (_in(CONTEXT), _in(AST), _in(UINT))) */ Z3_sort Z3_API Z3_get_quantifier_bound_sort(__in Z3_context c, __in Z3_ast a, unsigned i); @@ -3798,6 +4289,8 @@ END_MLAPI_EXCLUDE \brief Return body of quantifier. \pre Z3_get_ast_kind(a) == Z3_QUANTIFIER_AST + + def_API('Z3_get_quantifier_body', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_get_quantifier_body(__in Z3_context c, __in Z3_ast a); @@ -3810,6 +4303,8 @@ END_MLAPI_EXCLUDE \brief Interface to simplifier. Provides an interface to the AST simplifier used by Z3. + + def_API('Z3_simplify', AST, (_in(CONTEXT), _in(AST))) */ Z3_ast Z3_API Z3_simplify(__in Z3_context c, __in Z3_ast a); @@ -3820,16 +4315,22 @@ END_MLAPI_EXCLUDE Provides an interface to the AST simplifier used by Z3. This procedure is similar to #Z3_simplify, but the behavior of the simplifier can be configured using the given parameter set. + + def_API('Z3_simplify_ex', AST, (_in(CONTEXT), _in(AST), _in(PARAMS))) */ Z3_ast Z3_API Z3_simplify_ex(__in Z3_context c, __in Z3_ast a, __in Z3_params p); /** \brief Return a string describing all available parameters. + + def_API('Z3_simplify_get_help', STRING, (_in(CONTEXT),)) */ Z3_string Z3_API Z3_simplify_get_help(__in Z3_context c); /** \brief Return the parameter description set for the simplify procedure. + + def_API('Z3_simplify_get_param_descrs', PARAM_DESCRS, (_in(CONTEXT),)) */ Z3_param_descrs Z3_API Z3_simplify_get_param_descrs(__in Z3_context c); #endif @@ -3846,6 +4347,8 @@ END_MLAPI_EXCLUDE The number of arguments \c num_args should coincide with the number of arguments to \c a. If \c a is a quantifier, then num_args has to be 1. + + def_API('Z3_update_term', AST, (_in(CONTEXT), _in(AST), _in(UINT), _in_array(2, AST))) */ Z3_ast Z3_API Z3_update_term(__in Z3_context c, __in Z3_ast a, __in unsigned num_args, __in_ecount(num_args) Z3_ast const args[]); @@ -3853,6 +4356,8 @@ END_MLAPI_EXCLUDE \brief Substitute every occurrence of from[i] in \c a with to[i], for \c i smaller than \c num_exprs. The result is the new AST. The arrays \c from and \c to must have size \c num_exprs. For every \c i smaller than \c num_exprs, we must have that sort of from[i] must be equal to sort of to[i]. + + def_API('Z3_substitute', AST, (_in(CONTEXT), _in(AST), _in(UINT), _in_array(2, AST), _in_array(2, AST))) */ Z3_ast Z3_API Z3_substitute(__in Z3_context c, __in Z3_ast a, @@ -3863,6 +4368,8 @@ END_MLAPI_EXCLUDE /** \brief Substitute the free variables in \c a with the expressions in \c to. For every \c i smaller than \c num_exprs, the variable with de-Bruijn index \c i is replaced with term to[i]. + + def_API('Z3_substitute_vars', AST, (_in(CONTEXT), _in(AST), _in(UINT), _in_array(2, AST))) */ Z3_ast Z3_API Z3_substitute_vars(__in Z3_context c, __in Z3_ast a, @@ -3874,6 +4381,8 @@ END_MLAPI_EXCLUDE \brief Translate/Copy the AST \c a from context \c source to context \c target. AST \c a must have been created using context \c source. \pre source != target + + def_API('Z3_translate', AST, (_in(CONTEXT), _in(AST), _in(CONTEXT))) */ Z3_ast Z3_API Z3_translate(__in Z3_context source, __in Z3_ast a, __in Z3_context target); #endif @@ -3892,11 +4401,15 @@ END_MLAPI_EXCLUDE #ifdef Conly /** \brief Increment the reference counter of the given model. + + def_API('Z3_model_inc_ref', VOID, (_in(CONTEXT), _in(MODEL))) */ void Z3_API Z3_model_inc_ref(__in Z3_context c, __in Z3_model m); /** \brief Decrement the reference counter of the given model. + + def_API('Z3_model_dec_ref', VOID, (_in(CONTEXT), _in(MODEL))) */ void Z3_API Z3_model_dec_ref(__in Z3_context c, __in Z3_model m); #endif @@ -3918,6 +4431,8 @@ END_MLAPI_EXCLUDE That is, the option MODEL_PARTIAL=true was used. - \c t is type incorrect. + + def_API('Z3_model_eval', BOOL, (_in(CONTEXT), _in(MODEL), _in(AST), _in(BOOL), _out(AST))) */ Z3_bool_opt Z3_API Z3_model_eval(__in Z3_context c, __in Z3_model m, __in Z3_ast t, __in Z3_bool model_completion, __out_opt Z3_ast * v); @@ -3932,6 +4447,8 @@ END_MLAPI_EXCLUDE That should be interpreted as: the value of \c a does not matter. \pre Z3_get_arity(c, a) == 0 + + def_API('Z3_model_get_const_interp', AST, (_in(CONTEXT), _in(MODEL), _in(FUNC_DECL))) */ Z3_ast_opt Z3_API Z3_model_get_const_interp(__in Z3_context c, __in Z3_model m, __in Z3_func_decl a); @@ -3945,6 +4462,8 @@ END_MLAPI_EXCLUDE \conly \remark Reference counting must be used to manage Z3_func_interp objects, even when the Z3_context was \conly created using #Z3_mk_context instead of #Z3_mk_context_rc. + + def_API('Z3_model_get_func_interp', FUNC_INTERP, (_in(CONTEXT), _in(MODEL), _in(FUNC_DECL))) */ Z3_func_interp_opt Z3_API Z3_model_get_func_interp(__in Z3_context c, __in Z3_model m, __in Z3_func_decl f); @@ -3952,6 +4471,8 @@ END_MLAPI_EXCLUDE \brief Return the number of constants assigned by the given model. \sa Z3_model_get_const_decl + + def_API('Z3_model_get_num_consts', UINT, (_in(CONTEXT), _in(MODEL))) */ unsigned Z3_API Z3_model_get_num_consts(__in Z3_context c, __in Z3_model m); @@ -3962,6 +4483,8 @@ END_MLAPI_EXCLUDE \pre i < Z3_model_get_num_consts(c, m) \sa Z3_model_eval + + def_API('Z3_model_get_const_decl', FUNC_DECL, (_in(CONTEXT), _in(MODEL), _in(UINT))) */ Z3_func_decl Z3_API Z3_model_get_const_decl(__in Z3_context c, __in Z3_model m, __in unsigned i); @@ -3970,6 +4493,8 @@ END_MLAPI_EXCLUDE A function interpretation is represented as a finite map and an 'else' value. Each entry in the finite map represents the value of a function given a set of arguments. + + def_API('Z3_model_get_num_funcs', UINT, (_in(CONTEXT), _in(MODEL))) */ unsigned Z3_API Z3_model_get_num_funcs(__in Z3_context c, __in Z3_model m); @@ -3980,6 +4505,8 @@ END_MLAPI_EXCLUDE \pre i < Z3_model_get_num_funcs(c, m) \sa Z3_model_get_num_funcs + + def_API('Z3_model_get_func_decl', FUNC_DECL, (_in(CONTEXT), _in(MODEL), _in(UINT))) */ Z3_func_decl Z3_API Z3_model_get_func_decl(__in Z3_context c, __in Z3_model m, __in unsigned i); @@ -3992,6 +4519,8 @@ END_MLAPI_EXCLUDE \sa Z3_model_get_sort \sa Z3_model_get_sort_universe + + def_API('Z3_model_get_num_sorts', UINT, (_in(CONTEXT), _in(MODEL))) */ unsigned Z3_API Z3_model_get_num_sorts(__in Z3_context c, __in Z3_model m); @@ -4002,6 +4531,8 @@ END_MLAPI_EXCLUDE \sa Z3_model_get_num_sorts \sa Z3_model_get_sort_universe + + def_API('Z3_model_get_sort', SORT, (_in(CONTEXT), _in(MODEL), _in(UINT))) */ Z3_sort Z3_API Z3_model_get_sort(__in Z3_context c, __in Z3_model m, __in unsigned i); @@ -4010,6 +4541,8 @@ END_MLAPI_EXCLUDE \sa Z3_model_get_num_sorts \sa Z3_model_get_sort + + def_API('Z3_model_get_sort_universe', AST_VECTOR, (_in(CONTEXT), _in(MODEL), _in(SORT))) */ Z3_ast_vector Z3_API Z3_model_get_sort_universe(__in Z3_context c, __in Z3_model m, __in Z3_sort s); @@ -4021,6 +4554,8 @@ END_MLAPI_EXCLUDE Z3 current solvers have minimal support for \c as_array nodes. \sa Z3_get_as_array_func_decl + + def_API('Z3_is_as_array', BOOL, (_in(CONTEXT), _in(AST))) */ Z3_bool Z3_API Z3_is_as_array(__in Z3_context c, __in Z3_ast a); @@ -4028,17 +4563,23 @@ END_MLAPI_EXCLUDE \brief Return the function declaration \c f associated with a (_ as_array f) node. \sa Z3_is_as_array + + def_API('Z3_get_as_array_func_decl', FUNC_DECL, (_in(CONTEXT), _in(AST))) */ Z3_func_decl Z3_API Z3_get_as_array_func_decl(__in Z3_context c, __in Z3_ast a); #ifdef Conly /** \brief Increment the reference counter of the given Z3_func_interp object. + + def_API('Z3_func_interp_inc_ref', VOID, (_in(CONTEXT), _in(FUNC_INTERP))) */ void Z3_API Z3_func_interp_inc_ref(__in Z3_context c, __in Z3_func_interp f); /** \brief Decrement the reference counter of the given Z3_func_interp object. + + def_API('Z3_func_interp_dec_ref', VOID, (_in(CONTEXT), _in(FUNC_INTERP))) */ void Z3_API Z3_func_interp_dec_ref(__in Z3_context c, __in Z3_func_interp f); #endif @@ -4049,6 +4590,8 @@ END_MLAPI_EXCLUDE A function interpretation is represented as a finite map and an 'else' value. Each entry in the finite map represents the value of a function given a set of arguments. This procedure return the number of element in the finite map of \c f. + + def_API('Z3_func_interp_get_num_entries', UINT, (_in(CONTEXT), _in(FUNC_INTERP))) */ unsigned Z3_API Z3_func_interp_get_num_entries(__in Z3_context c, __in Z3_func_interp f); @@ -4059,6 +4602,8 @@ END_MLAPI_EXCLUDE \pre i < Z3_func_interp_get_num_entries(c, f) \sa Z3_func_interp_get_num_entries + + def_API('Z3_func_interp_get_entry', FUNC_ENTRY, (_in(CONTEXT), _in(FUNC_INTERP), _in(UINT))) */ Z3_func_entry Z3_API Z3_func_interp_get_entry(__in Z3_context c, __in Z3_func_interp f, unsigned i); @@ -4067,22 +4612,30 @@ END_MLAPI_EXCLUDE A function interpretation is represented as a finite map and an 'else' value. This procedure returns the 'else' value. + + def_API('Z3_func_interp_get_else', AST, (_in(CONTEXT), _in(FUNC_INTERP))) */ Z3_ast Z3_API Z3_func_interp_get_else(__in Z3_context c, __in Z3_func_interp f); /** \brief Return the arity (number of arguments) of the given function interpretation. + + def_API('Z3_func_interp_get_arity', UINT, (_in(CONTEXT), _in(FUNC_INTERP))) */ unsigned Z3_API Z3_func_interp_get_arity(__in Z3_context c, __in Z3_func_interp f); #ifdef Conly /** \brief Increment the reference counter of the given Z3_func_entry object. + + def_API('Z3_func_entry_inc_ref', VOID, (_in(CONTEXT), _in(FUNC_ENTRY))) */ void Z3_API Z3_func_entry_inc_ref(__in Z3_context c, __in Z3_func_entry e); /** \brief Decrement the reference counter of the given Z3_func_entry object. + + def_API('Z3_func_entry_dec_ref', VOID, (_in(CONTEXT), _in(FUNC_ENTRY))) */ void Z3_API Z3_func_entry_dec_ref(__in Z3_context c, __in Z3_func_entry e); #endif @@ -4094,6 +4647,8 @@ END_MLAPI_EXCLUDE a function interpretation. \sa Z3_func_interp_get_entry + + def_API('Z3_func_entry_get_value', AST, (_in(CONTEXT), _in(FUNC_ENTRY))) */ Z3_ast Z3_API Z3_func_entry_get_value(__in Z3_context c, __in Z3_func_entry e); @@ -4101,6 +4656,8 @@ END_MLAPI_EXCLUDE \brief Return the number of arguments in a Z3_func_entry object. \sa Z3_func_interp_get_entry + + def_API('Z3_func_entry_get_num_args', UINT, (_in(CONTEXT), _in(FUNC_ENTRY))) */ unsigned Z3_API Z3_func_entry_get_num_args(__in Z3_context c, __in Z3_func_entry e); @@ -4110,6 +4667,8 @@ END_MLAPI_EXCLUDE \pre i < Z3_func_entry_get_num_args(c, e) \sa Z3_func_interp_get_entry + + def_API('Z3_func_entry_get_arg', AST, (_in(CONTEXT), _in(FUNC_ENTRY), _in(UINT))) */ Z3_ast Z3_API Z3_func_entry_get_arg(__in Z3_context c, __in Z3_func_entry e, __in unsigned i); @@ -4123,6 +4682,8 @@ END_MLAPI_EXCLUDE /** \brief Log interaction to a file. + + extra_def_API('Z3_open_log', INT, (_in(STRING),)) */ Z3_bool Z3_API Z3_open_log(__in Z3_string filename); @@ -4132,12 +4693,15 @@ END_MLAPI_EXCLUDE The interaction log is opened using Z3_open_log. It contains the formulas that are checked using Z3. You can use this command to append comments, for instance. + + extra_def_API('Z3_append_log', VOID, (_in(STRING),)) */ void Z3_API Z3_append_log(__in Z3_string string); - /** \brief Close interaction log. + + extra_def_API('Z3_close_log', VOID, ()) */ void Z3_API Z3_close_log(); @@ -4146,6 +4710,8 @@ END_MLAPI_EXCLUDE Warnings are printed after passing \c true, warning messages are suppressed after calling this method with \c false. + + def_API('Z3_toggle_warning_messages', VOID, (_in(BOOL),)) */ void Z3_API Z3_toggle_warning_messages(__in Z3_bool enabled); @@ -4171,6 +4737,7 @@ END_MLAPI_EXCLUDE \sa Z3_pattern_to_string \sa Z3_func_decl_to_string + def_API('Z3_set_ast_print_mode', VOID, (_in(CONTEXT), _in(PRINT_MODE))) */ void Z3_API Z3_set_ast_print_mode(__in Z3_context c, __in Z3_ast_print_mode mode); @@ -4182,10 +4749,24 @@ END_MLAPI_EXCLUDE \conly So, the buffer is invalidated in the next call to \c Z3_ast_to_string. \sa Z3_pattern_to_string \sa Z3_sort_to_string + + def_API('Z3_ast_to_string', STRING, (_in(CONTEXT), _in(AST))) */ Z3_string Z3_API Z3_ast_to_string(__in Z3_context c, __in Z3_ast a); + + /* + def_API('Z3_pattern_to_string', STRING, (_in(CONTEXT), _in(PATTERN))) + */ Z3_string Z3_API Z3_pattern_to_string(__in Z3_context c, __in Z3_pattern p); + + /* + def_API('Z3_sort_to_string', STRING, (_in(CONTEXT), _in(SORT))) + */ Z3_string Z3_API Z3_sort_to_string(__in Z3_context c, __in Z3_sort s); + + /* + def_API('Z3_func_decl_to_string', STRING, (_in(CONTEXT), _in(FUNC_DECL))) + */ Z3_string Z3_API Z3_func_decl_to_string(__in Z3_context c, __in Z3_func_decl d); /** @@ -4194,6 +4775,8 @@ END_MLAPI_EXCLUDE \conly \warning The result buffer is statically allocated by Z3. It will \conly be automatically deallocated when #Z3_del_context is invoked. \conly So, the buffer is invalidated in the next call to \c Z3_model_to_string. + + def_API('Z3_model_to_string', STRING, (_in(CONTEXT), _in(MODEL))) */ Z3_string Z3_API Z3_model_to_string(__in Z3_context c, __in Z3_model m); @@ -4212,6 +4795,8 @@ END_MLAPI_EXCLUDE \param num_assumptions - number of assumptions. \param assumptions - auxiliary assumptions. \param formula - formula to be checked for consistency in conjunction with assumptions. + + def_API('Z3_benchmark_to_smtlib_string', STRING, (_in(CONTEXT), _in(STRING), _in(STRING), _in(STRING), _in(STRING), _in(UINT), _in_array(5, AST), _in(AST))) */ Z3_string Z3_API Z3_benchmark_to_smtlib_string(__in Z3_context c, __in Z3_string name, @@ -4235,6 +4820,8 @@ END_MLAPI_EXCLUDE It returns a formula comprising of the conjunction of assertions in the scope (up to push/pop) at the end of the string. + + def_API('Z3_parse_smtlib2_string', AST, (_in(CONTEXT), _in(STRING), _in(UINT), _in_array(2, SYMBOL), _in_array(2, SORT), _in(UINT), _in_array(5, SYMBOL), _in_array(5, FUNC_DECL))) */ Z3_ast Z3_API Z3_parse_smtlib2_string(__in Z3_context c, __in Z3_string str, @@ -4248,6 +4835,8 @@ END_MLAPI_EXCLUDE /** \brief Similar to #Z3_parse_smtlib2_string, but reads the benchmark from a file. + + def_API('Z3_parse_smtlib2_file', AST, (_in(CONTEXT), _in(STRING), _in(UINT), _in_array(2, SYMBOL), _in_array(2, SORT), _in(UINT), _in_array(5, SYMBOL), _in_array(5, FUNC_DECL))) */ Z3_ast Z3_API Z3_parse_smtlib2_file(__in Z3_context c, __in Z3_string file_name, @@ -4279,6 +4868,8 @@ END_MLAPI_EXCLUDE The formulas, assumptions and declarations defined in \c str can be extracted using the functions: #Z3_get_smtlib_num_formulas, #Z3_get_smtlib_formula, #Z3_get_smtlib_num_assumptions, #Z3_get_smtlib_assumption, #Z3_get_smtlib_num_decls, and #Z3_get_smtlib_decl. + + def_API('Z3_parse_smtlib_string', VOID, (_in(CONTEXT), _in(STRING), _in(UINT), _in_array(2, SYMBOL), _in_array(2, SORT), _in(UINT), _in_array(5, SYMBOL), _in_array(5, FUNC_DECL))) */ void Z3_API Z3_parse_smtlib_string(__in Z3_context c, __in Z3_string str, @@ -4292,6 +4883,8 @@ END_MLAPI_EXCLUDE /** \brief Similar to #Z3_parse_smtlib_string, but reads the benchmark from a file. + + def_API('Z3_parse_smtlib_file', VOID, (_in(CONTEXT), _in(STRING), _in(UINT), _in_array(2, SYMBOL), _in_array(2, SORT), _in(UINT), _in_array(5, SYMBOL), _in_array(5, FUNC_DECL))) */ void Z3_API Z3_parse_smtlib_file(__in Z3_context c, __in Z3_string file_name, @@ -4305,6 +4898,8 @@ END_MLAPI_EXCLUDE /** \brief Return the number of SMTLIB formulas parsed by the last call to #Z3_parse_smtlib_string or #Z3_parse_smtlib_file. + + def_API('Z3_get_smtlib_num_formulas', UINT, (_in(CONTEXT), )) */ unsigned Z3_API Z3_get_smtlib_num_formulas(__in Z3_context c); @@ -4313,11 +4908,15 @@ END_MLAPI_EXCLUDE Return the i-th formula parsed by the last call to #Z3_parse_smtlib_string or #Z3_parse_smtlib_file. \pre i < Z3_get_smtlib_num_formulas(c) + + def_API('Z3_get_smtlib_formula', AST, (_in(CONTEXT), _in(UINT))) */ Z3_ast Z3_API Z3_get_smtlib_formula(__in Z3_context c, __in unsigned i); /** \brief Return the number of SMTLIB assumptions parsed by #Z3_parse_smtlib_string or #Z3_parse_smtlib_file. + + def_API('Z3_get_smtlib_num_assumptions', UINT, (_in(CONTEXT), )) */ unsigned Z3_API Z3_get_smtlib_num_assumptions(__in Z3_context c); @@ -4326,11 +4925,15 @@ END_MLAPI_EXCLUDE Return the i-th assumption parsed by the last call to #Z3_parse_smtlib_string or #Z3_parse_smtlib_file. \pre i < Z3_get_smtlib_num_assumptions(c) + + def_API('Z3_get_smtlib_assumption', AST, (_in(CONTEXT), _in(UINT))) */ Z3_ast Z3_API Z3_get_smtlib_assumption(__in Z3_context c, __in unsigned i); /** \brief Return the number of declarations parsed by #Z3_parse_smtlib_string or #Z3_parse_smtlib_file. + + def_API('Z3_get_smtlib_num_decls', UINT, (_in(CONTEXT), )) */ unsigned Z3_API Z3_get_smtlib_num_decls(__in Z3_context c); @@ -4339,11 +4942,15 @@ END_MLAPI_EXCLUDE Return the i-th declaration parsed by the last call to #Z3_parse_smtlib_string or #Z3_parse_smtlib_file. \pre i < Z3_get_smtlib_num_decls(c) + + def_API('Z3_get_smtlib_decl', FUNC_DECL, (_in(CONTEXT), _in(UINT))) */ Z3_func_decl Z3_API Z3_get_smtlib_decl(__in Z3_context c, __in unsigned i); /** \brief Return the number of sorts parsed by #Z3_parse_smtlib_string or #Z3_parse_smtlib_file. + + def_API('Z3_get_smtlib_num_sorts', UINT, (_in(CONTEXT), )) */ unsigned Z3_API Z3_get_smtlib_num_sorts(__in Z3_context c); @@ -4352,6 +4959,8 @@ END_MLAPI_EXCLUDE Return the i-th sort parsed by the last call to #Z3_parse_smtlib_string or #Z3_parse_smtlib_file. \pre i < Z3_get_smtlib_num_sorts(c) + + def_API('Z3_get_smtlib_sort', SORT, (_in(CONTEXT), _in(UINT))) */ Z3_sort Z3_API Z3_get_smtlib_sort(__in Z3_context c, __in unsigned i); @@ -4359,6 +4968,8 @@ BEGIN_MLAPI_EXCLUDE /** \brief \mlh get_smtlib_error c \endmlh Retrieve that last error message information generated from parsing. + + def_API('Z3_get_smtlib_error', STRING, (_in(CONTEXT), )) */ Z3_string Z3_API Z3_get_smtlib_error(__in Z3_context c); END_MLAPI_EXCLUDE @@ -4368,11 +4979,15 @@ END_MLAPI_EXCLUDE Parse the given string using the Z3 native parser. Return the conjunction of asserts made in the input. + + def_API('Z3_parse_z3_string', AST, (_in(CONTEXT), _in(STRING))) */ Z3_ast Z3_API Z3_parse_z3_string(__in Z3_context c, __in Z3_string str); /** \brief Similar to #Z3_parse_z3_string, but reads the benchmark from a file. + + def_API('Z3_parse_z3_file', AST, (_in(CONTEXT), _in(STRING))) */ Z3_ast Z3_API Z3_parse_z3_file(__in Z3_context c, __in Z3_string file_name); @@ -4392,6 +5007,8 @@ END_MLAPI_EXCLUDE when it is not used correctly. \sa Z3_set_error_handler + + def_API('Z3_get_error_code', UINT, (_in(CONTEXT), )) */ Z3_error_code Z3_API Z3_get_error_code(__in Z3_context c); @@ -4412,6 +5029,8 @@ END_MLAPI_EXCLUDE /** \brief Set an error. + + def_API('Z3_set_error', VOID, (_in(CONTEXT), _in(ERROR_CODE))) */ void Z3_API Z3_set_error(__in Z3_context c, __in Z3_error_code e); @@ -4420,6 +5039,8 @@ END_MLAPI_EXCLUDE \brief Return a string describing the given error code. \deprecated Use #Z3_get_error_msg_ex instead. + + def_API('Z3_get_error_msg', STRING, (_in(ERROR_CODE),)) */ Z3_string Z3_API Z3_get_error_msg(__in Z3_error_code err); #endif @@ -4427,6 +5048,8 @@ END_MLAPI_EXCLUDE BEGIN_MLAPI_EXCLUDE /** \brief Return a string describing the given error code. + + def_API('Z3_get_error_msg_ex', STRING, (_in(CONTEXT), _in(ERROR_CODE))) */ Z3_string Z3_API Z3_get_error_msg_ex(__in Z3_context c, __in Z3_error_code err); END_MLAPI_EXCLUDE @@ -4445,6 +5068,8 @@ END_MLAPI_EXCLUDE /** \brief Return Z3 version number information. + + def_API('Z3_get_version', VOID, (_out(UINT), _out(UINT), _out(UINT), _out(UINT))) */ void Z3_API Z3_get_version(__out unsigned * major, __out unsigned * minor, @@ -4460,6 +5085,8 @@ END_MLAPI_EXCLUDE It allows discharging the previous state and resuming afresh. Any pointers previously returned by the API become invalid. + + def_API('Z3_reset_memory', VOID, ()) */ void Z3_API Z3_reset_memory(void); #endif @@ -4862,17 +5489,23 @@ END_MLAPI_EXCLUDE \conly \remark User must use #Z3_fixedpoint_inc_ref and #Z3_fixedpoint_dec_ref to manage fixedpoint objects. \conly Even if the context was created using #Z3_mk_context instead of #Z3_mk_context_rc. + + def_API('Z3_mk_fixedpoint', FIXEDPOINT, (_in(CONTEXT), )) */ Z3_fixedpoint Z3_API Z3_mk_fixedpoint(__in Z3_context c); #ifdef Conly /** \brief Increment the reference counter of the given fixedpoint context + + def_API('Z3_fixedpoint_inc_ref', VOID, (_in(CONTEXT), _in(FIXEDPOINT))) */ void Z3_API Z3_fixedpoint_inc_ref(__in Z3_context c,__in Z3_fixedpoint d); /** \brief Decrement the reference counter of the given fixedpoint context. + + def_API('Z3_fixedpoint_dec_ref', VOID, (_in(CONTEXT), _in(FIXEDPOINT))) */ void Z3_API Z3_fixedpoint_dec_ref(__in Z3_context c,__in Z3_fixedpoint d); #endif @@ -4886,6 +5519,8 @@ END_MLAPI_EXCLUDE | (=> atoms horn_rule) | atom \endcode + + def_API('Z3_fixedpoint_add_rule', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(AST), _in(SYMBOL))) */ void Z3_API Z3_fixedpoint_add_rule(__in Z3_context c,__in Z3_fixedpoint d, __in Z3_ast rule, __in Z3_symbol name); @@ -4903,7 +5538,8 @@ END_MLAPI_EXCLUDE (bit-vector, Boolean or or finite domain sort). The call has the same effect as adding a rule where \r is applied to the arguments. - + + def_API('Z3_fixedpoint_add_fact', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(FUNC_DECL), _in(UINT), _in_array(3, UINT))) */ void Z3_API Z3_fixedpoint_add_fact(__in Z3_context c,__in Z3_fixedpoint d, __in Z3_func_decl r, @@ -4914,6 +5550,8 @@ END_MLAPI_EXCLUDE The constraints are used as background axioms when the fixedpoint engine uses the PDR mode. They are ignored for standard Datalog mode. + + def_API('Z3_fixedpoint_assert', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(AST))) */ void Z3_API Z3_fixedpoint_assert(__in Z3_context c,__in Z3_fixedpoint d, __in Z3_ast axiom); @@ -4930,10 +5568,10 @@ END_MLAPI_EXCLUDE - Z3_L_TRUE if the query is satisfiable. Obtain the answer by calling #Z3_fixedpoint_get_answer. - Z3_L_UNDEF if the query was interrupted, timed out or otherwise failed. + def_API('Z3_fixedpoint_query', INT, (_in(CONTEXT), _in(FIXEDPOINT), _in(AST))) */ Z3_lbool Z3_API Z3_fixedpoint_query(__in Z3_context c,__in Z3_fixedpoint d, __in Z3_ast query); - /** \brief Pose multiple queries against the asserted rules. @@ -4944,12 +5582,12 @@ END_MLAPI_EXCLUDE - Z3_L_TRUE if the query is satisfiable. Obtain the answer by calling #Z3_fixedpoint_get_answer. - Z3_L_UNDEF if the query was interrupted, timed out or otherwise failed. + def_API('Z3_fixedpoint_query_relations', INT, (_in(CONTEXT), _in(FIXEDPOINT), _in(UINT), _in_array(2, FUNC_DECL))) */ Z3_lbool Z3_API Z3_fixedpoint_query_relations( __in Z3_context c,__in Z3_fixedpoint d, __in unsigned num_relations, __in_ecount(num_relations) Z3_func_decl const relations[]); - /** \brief Retrieve a formula that encodes satisfying answers to the query. @@ -4959,6 +5597,8 @@ END_MLAPI_EXCLUDE In PDR mode, the returned answer is a single conjunction. The previous call to Z3_fixedpoint_query must have returned Z3_L_TRUE. + + def_API('Z3_fixedpoint_get_answer', AST, (_in(CONTEXT), _in(FIXEDPOINT))) */ Z3_ast Z3_API Z3_fixedpoint_get_answer(__in Z3_context c,__in Z3_fixedpoint d); @@ -4966,13 +5606,17 @@ END_MLAPI_EXCLUDE \brief Retrieve a string that describes the last status returned by #Z3_fixedpoint_query. Use this method when #Z3_fixedpoint_query returns Z3_L_UNDEF. - */ + + def_API('Z3_fixedpoint_get_reason_unknown', STRING, (_in(CONTEXT), _in(FIXEDPOINT) )) + */ Z3_string Z3_API Z3_fixedpoint_get_reason_unknown(__in Z3_context c,__in Z3_fixedpoint d); /** \brief Update a named rule. A rule with the same name must have been previously created. - */ + + def_API('Z3_fixedpoint_update_rule', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(AST), _in(SYMBOL))) + */ void Z3_API Z3_fixedpoint_update_rule(__in Z3_context c, __in Z3_fixedpoint d, __in Z3_ast a, __in Z3_symbol name); /** @@ -4981,7 +5625,9 @@ END_MLAPI_EXCLUDE This call retrieves the maximal number of relevant unfoldings of \c pred with respect to the current exploration state. Note: this functionality is PDR specific. - */ + + def_API('Z3_fixedpoint_get_num_levels', UINT, (_in(CONTEXT), _in(FIXEDPOINT), _in(FUNC_DECL))) + */ unsigned Z3_API Z3_fixedpoint_get_num_levels(Z3_context c, Z3_fixedpoint d, Z3_func_decl pred); /** @@ -4991,6 +5637,8 @@ END_MLAPI_EXCLUDE at \c level+1 , \c level+2 etc, and include \c level=-1. Note: this functionality is PDR specific. + + def_API('Z3_fixedpoint_get_cover_delta', AST, (_in(CONTEXT), _in(FIXEDPOINT), _in(INT), _in(FUNC_DECL))) */ Z3_ast Z3_API Z3_fixedpoint_get_cover_delta(Z3_context c, Z3_fixedpoint d, int level, Z3_func_decl pred); @@ -5003,12 +5651,16 @@ END_MLAPI_EXCLUDE means that the property is true of the fixed-point unfolding with respect to \c pred. Note: this functionality is PDR specific. + + def_API('Z3_fixedpoint_add_cover', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(INT), _in(FUNC_DECL), _in(AST))) */ void Z3_API Z3_fixedpoint_add_cover(Z3_context c, Z3_fixedpoint d, int level, Z3_func_decl pred, Z3_ast property); /** \brief Retrieve statistics information from the last call to #Z3_fixedpoint_query. - */ + + def_API('Z3_fixedpoint_get_statistics', STATS, (_in(CONTEXT), _in(FIXEDPOINT))) + */ Z3_stats Z3_API Z3_fixedpoint_get_statistics(__in Z3_context c,__in Z3_fixedpoint d); /** @@ -5016,6 +5668,8 @@ END_MLAPI_EXCLUDE Fixedpoint defined relations have least-fixedpoint semantics. For example, the relation is empty if it does not occur in a head or a fact. + + def_API('Z3_fixedpoint_register_relation', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(FUNC_DECL))) */ void Z3_API Z3_fixedpoint_register_relation(__in Z3_context c,__in Z3_fixedpoint d, __in Z3_func_decl f); @@ -5025,6 +5679,8 @@ END_MLAPI_EXCLUDE It sets the predicate to use a set of domains given by the list of symbols. The domains given by the list of symbols must belong to a set of built-in domains. + + def_API('Z3_fixedpoint_set_predicate_representation', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(FUNC_DECL), _in(UINT), _in_array(3, SYMBOL))) */ void Z3_API Z3_fixedpoint_set_predicate_representation( __in Z3_context c, @@ -5037,7 +5693,9 @@ END_MLAPI_EXCLUDE \brief Simplify rules into a set of new rules that are returned. The simplification routines apply inlining, quantifier elimination, and other algebraic simplifications. - */ + + def_API('Z3_fixedpoint_simplify_rules', AST_VECTOR, (_in(CONTEXT), _in(FIXEDPOINT), _in(UINT), _in_array(2,AST), _in(UINT), _in_array(4,FUNC_DECL))) + */ Z3_ast_vector Z3_API Z3_fixedpoint_simplify_rules( __in Z3_context c, __in Z3_fixedpoint f, @@ -5048,16 +5706,22 @@ END_MLAPI_EXCLUDE /** \brief Set parameters on fixedpoint context. - */ + + def_API('Z3_fixedpoint_set_params', VOID, (_in(CONTEXT), _in(FIXEDPOINT), _in(PARAMS))) + */ void Z3_API Z3_fixedpoint_set_params(__in Z3_context c, __in Z3_fixedpoint f, __in Z3_params p); /** \brief Return a string describing all fixedpoint available parameters. + + def_API('Z3_fixedpoint_get_help', STRING, (_in(CONTEXT), _in(FIXEDPOINT))) */ Z3_string Z3_API Z3_fixedpoint_get_help(__in Z3_context c, __in Z3_fixedpoint f); /** \brief Return the parameter description set for the given fixedpoint object. + + def_API('Z3_fixedpoint_get_param_descrs', PARAM_DESCRS, (_in(CONTEXT), _in(FIXEDPOINT))) */ Z3_param_descrs Z3_API Z3_fixedpoint_get_param_descrs(__in Z3_context c, __in Z3_fixedpoint f); @@ -5067,6 +5731,8 @@ END_MLAPI_EXCLUDE \param f - fixedpoint context. \param num_queries - number of additional queries to print. \param queries - additional queries. + + def_API('Z3_fixedpoint_to_string', STRING, (_in(CONTEXT), _in(FIXEDPOINT), _in(UINT), _in_array(2, AST))) */ Z3_string Z3_API Z3_fixedpoint_to_string( __in Z3_context c, @@ -5081,6 +5747,8 @@ END_MLAPI_EXCLUDE The set of rules, facts and assertions are restored upon calling #Z3_fixedpoint_pop. \sa Z3_fixedpoint_pop + + def_API('Z3_fixedpoint_push', VOID, (_in(CONTEXT), _in(FIXEDPOINT))) */ void Z3_API Z3_fixedpoint_push(Z3_context c,Z3_fixedpoint d); @@ -5090,6 +5758,8 @@ END_MLAPI_EXCLUDE \sa Z3_fixedpoint_push \pre The number of calls to pop cannot exceed calls to push. + + def_API('Z3_fixedpoint_pop', VOID, (_in(CONTEXT), _in(FIXEDPOINT))) */ void Z3_API Z3_fixedpoint_pop(Z3_context c,Z3_fixedpoint d); @@ -5115,7 +5785,6 @@ END_MLAPI_EXCLUDE */ void Z3_API Z3_fixedpoint_init(__in Z3_context c,__in Z3_fixedpoint d, __in void* state); - /** \brief Register a callback to destructive updates. @@ -5147,23 +5816,31 @@ END_MLAPI_EXCLUDE \conly \remark Reference counting must be used to manage AST vectors, even when the Z3_context was \conly created using #Z3_mk_context instead of #Z3_mk_context_rc. + + def_API('Z3_mk_ast_vector', AST_VECTOR, (_in(CONTEXT),)) */ Z3_ast_vector Z3_API Z3_mk_ast_vector(__in Z3_context c); #ifdef Conly /** \brief Increment the reference counter of the given AST vector. + + def_API('Z3_ast_vector_inc_ref', VOID, (_in(CONTEXT), _in(AST_VECTOR))) */ void Z3_API Z3_ast_vector_inc_ref(__in Z3_context c, __in Z3_ast_vector v); /** \brief Decrement the reference counter of the given AST vector. + + def_API('Z3_ast_vector_dec_ref', VOID, (_in(CONTEXT), _in(AST_VECTOR))) */ void Z3_API Z3_ast_vector_dec_ref(__in Z3_context c, __in Z3_ast_vector v); #endif /** \brief Return the size of the given AST vector. + + def_API('Z3_ast_vector_size', UINT, (_in(CONTEXT), _in(AST_VECTOR))) */ unsigned Z3_API Z3_ast_vector_size(__in Z3_context c, __in Z3_ast_vector v); @@ -5171,6 +5848,8 @@ END_MLAPI_EXCLUDE \brief Return the AST at position \c i in the AST vector \c v. \pre i < Z3_ast_vector_size(c, v) + + def_API('Z3_ast_vector_get', AST, (_in(CONTEXT), _in(AST_VECTOR), _in(UINT))) */ Z3_ast Z3_API Z3_ast_vector_get(__in Z3_context c, __in Z3_ast_vector v, __in unsigned i); @@ -5178,26 +5857,36 @@ END_MLAPI_EXCLUDE \brief Update position \c i of the AST vector \c v with the AST \c a. \pre i < Z3_ast_vector_size(c, v) + + def_API('Z3_ast_vector_set', VOID, (_in(CONTEXT), _in(AST_VECTOR), _in(UINT), _in(AST))) */ void Z3_API Z3_ast_vector_set(__in Z3_context c, __in Z3_ast_vector v, __in unsigned i, __in Z3_ast a); /** \brief Resize the AST vector \c v. + + def_API('Z3_ast_vector_resize', VOID, (_in(CONTEXT), _in(AST_VECTOR), _in(UINT))) */ void Z3_API Z3_ast_vector_resize(__in Z3_context c, __in Z3_ast_vector v, __in unsigned n); /** \brief Add the AST \c a in the end of the AST vector \c v. The size of \c v is increased by one. + + def_API('Z3_ast_vector_push', VOID, (_in(CONTEXT), _in(AST_VECTOR), _in(AST))) */ void Z3_API Z3_ast_vector_push(__in Z3_context c, __in Z3_ast_vector v, __in Z3_ast a); /** \brief Translate the AST vector \c v from context \c s into an AST vector in context \c t. + + def_API('Z3_ast_vector_translate', AST_VECTOR, (_in(CONTEXT), _in(AST_VECTOR), _in(CONTEXT))) */ Z3_ast_vector Z3_API Z3_ast_vector_translate(__in Z3_context s, __in Z3_ast_vector v, __in Z3_context t); /** \brief Convert AST vector into a string. + + def_API('Z3_ast_vector_to_string', STRING, (_in(CONTEXT), _in(AST_VECTOR))) */ Z3_string Z3_API Z3_ast_vector_to_string(__in Z3_context c, __in Z3_ast_vector v); @@ -5213,23 +5902,31 @@ END_MLAPI_EXCLUDE \conly \remark Reference counting must be used to manage AST maps, even when the Z3_context was \conly created using #Z3_mk_context instead of #Z3_mk_context_rc. + + def_API('Z3_mk_ast_map', AST_MAP, (_in(CONTEXT),) ) */ Z3_ast_map Z3_API Z3_mk_ast_map(__in Z3_context c); #ifdef Conly /** \brief Increment the reference counter of the given AST map. + + def_API('Z3_ast_map_inc_ref', VOID, (_in(CONTEXT), _in(AST_MAP))) */ void Z3_API Z3_ast_map_inc_ref(__in Z3_context c, __in Z3_ast_map m); /** \brief Decrement the reference counter of the given AST map. + + def_API('Z3_ast_map_dec_ref', VOID, (_in(CONTEXT), _in(AST_MAP))) */ void Z3_API Z3_ast_map_dec_ref(__in Z3_context c, __in Z3_ast_map m); #endif /** \brief Return true if the map \c m contains the AST key \c k. + + def_API('Z3_ast_map_contains', BOOL, (_in(CONTEXT), _in(AST_MAP), _in(AST))) */ Z3_bool Z3_API Z3_ast_map_contains(__in Z3_context c, __in Z3_ast_map m, __in Z3_ast k); @@ -5237,36 +5934,50 @@ END_MLAPI_EXCLUDE \brief Return the value associated with the key \c k. The procedure invokes the error handler if \c k is not in the map. + + def_API('Z3_ast_map_find', AST, (_in(CONTEXT), _in(AST_MAP), _in(AST))) */ Z3_ast Z3_API Z3_ast_map_find(__in Z3_context c, __in Z3_ast_map m, __in Z3_ast k); /** \brief Store/Replace a new key, value pair in the given map. + + def_API('Z3_ast_map_insert', VOID, (_in(CONTEXT), _in(AST_MAP), _in(AST), _in(AST))) */ void Z3_API Z3_ast_map_insert(__in Z3_context c, __in Z3_ast_map m, __in Z3_ast k, __in Z3_ast v); /** \brief Erase a key from the map. + + def_API('Z3_ast_map_erase', VOID, (_in(CONTEXT), _in(AST_MAP), _in(AST))) */ void Z3_API Z3_ast_map_erase(__in Z3_context c, __in Z3_ast_map m, __in Z3_ast k); /** \brief Remove all keys from the given map. + + def_API('Z3_ast_map_reset', VOID, (_in(CONTEXT), _in(AST_MAP))) */ void Z3_API Z3_ast_map_reset(__in Z3_context c, __in Z3_ast_map m); /** \brief Return the size of the given map. + + def_API('Z3_ast_map_size', UINT, (_in(CONTEXT), _in(AST_MAP))) */ unsigned Z3_API Z3_ast_map_size(__in Z3_context c, __in Z3_ast_map m); /** \brief Return the keys stored in the given map. + + def_API('Z3_ast_map_keys', AST_VECTOR, (_in(CONTEXT), _in(AST_MAP))) */ Z3_ast_vector Z3_API Z3_ast_map_keys(__in Z3_context c, __in Z3_ast_map m); /** \brief Convert the given map into a string. + + def_API('Z3_ast_map_to_string', STRING, (_in(CONTEXT), _in(AST_MAP))) */ Z3_string Z3_API Z3_ast_map_to_string(__in Z3_context c, __in Z3_ast_map m); @@ -5291,17 +6002,23 @@ END_MLAPI_EXCLUDE \conly \remark Reference counting must be used to manage goals, even when the Z3_context was \conly created using #Z3_mk_context instead of #Z3_mk_context_rc. + + def_API('Z3_mk_goal', GOAL, (_in(CONTEXT), _in(BOOL), _in(BOOL), _in(BOOL))) */ Z3_goal Z3_API Z3_mk_goal(__in Z3_context c, __in Z3_bool models, __in Z3_bool unsat_cores, __in Z3_bool proofs); #ifdef Conly /** \brief Increment the reference counter of the given goal. + + def_API('Z3_goal_inc_ref', VOID, (_in(CONTEXT), _in(GOAL))) */ void Z3_API Z3_goal_inc_ref(__in Z3_context c, __in Z3_goal g); /** \brief Decrement the reference counter of the given goal. + + def_API('Z3_goal_dec_ref', VOID, (_in(CONTEXT), _in(GOAL))) */ void Z3_API Z3_goal_dec_ref(__in Z3_context c, __in Z3_goal g); #endif @@ -5310,31 +6027,43 @@ END_MLAPI_EXCLUDE \brief Return the "precision" of the given goal. Goals can be transformed using over and under approximations. A under approximation is applied when the objective is to find a model for a given goal. An over approximation is applied when the objective is to find a proof for a given goal. + + def_API('Z3_goal_precision', UINT, (_in(CONTEXT), _in(GOAL))) */ Z3_goal_prec Z3_API Z3_goal_precision(__in Z3_context c, __in Z3_goal g); /** \brief Add a new formula \c a to the given goal. + + def_API('Z3_goal_assert', VOID, (_in(CONTEXT), _in(GOAL), _in(AST))) */ void Z3_API Z3_goal_assert(__in Z3_context c, __in Z3_goal g, __in Z3_ast a); /** \brief Return true if the given goal contains the formula \c false. + + def_API('Z3_goal_inconsistent', BOOL, (_in(CONTEXT), _in(GOAL))) */ Z3_bool Z3_API Z3_goal_inconsistent(__in Z3_context c, __in Z3_goal g); /** \brief Return the depth of the given goal. It tracks how many transformations were applied to it. + + def_API('Z3_goal_depth', UINT, (_in(CONTEXT), _in(GOAL))) */ unsigned Z3_API Z3_goal_depth(__in Z3_context c, __in Z3_goal g); /** \brief Erase all formulas from the given goal. + + def_API('Z3_goal_reset', VOID, (_in(CONTEXT), _in(GOAL))) */ void Z3_API Z3_goal_reset(__in Z3_context c, __in Z3_goal g); /** \brief Return the number of formulas in the given goal. + + def_API('Z3_goal_size', UINT, (_in(CONTEXT), _in(GOAL))) */ unsigned Z3_API Z3_goal_size(__in Z3_context c, __in Z3_goal g); @@ -5342,31 +6071,43 @@ END_MLAPI_EXCLUDE \brief Return a formula from the given goal. \pre idx < Z3_goal_size(c, g) + + def_API('Z3_goal_formula', AST, (_in(CONTEXT), _in(GOAL), _in(UINT))) */ Z3_ast Z3_API Z3_goal_formula(__in Z3_context c, __in Z3_goal g, __in unsigned idx); /** \brief Return the number of formulas, subformulas and terms in the given goal. + + def_API('Z3_goal_num_exprs', UINT, (_in(CONTEXT), _in(GOAL))) */ unsigned Z3_API Z3_goal_num_exprs(__in Z3_context c, __in Z3_goal g); /** \brief Return true if the goal is empty, and it is precise or the product of a under approximation. + + def_API('Z3_goal_is_decided_sat', BOOL, (_in(CONTEXT), _in(GOAL))) */ Z3_bool Z3_API Z3_goal_is_decided_sat(__in Z3_context c, __in Z3_goal g); /** \brief Return true if the goal contains false, and it is precise or the product of an over approximation. + + def_API('Z3_goal_is_decided_unsat', BOOL, (_in(CONTEXT), _in(GOAL))) */ Z3_bool Z3_API Z3_goal_is_decided_unsat(__in Z3_context c, __in Z3_goal g); /** \brief Copy a goal \c g from the context \c source to a the context \c target. + + def_API('Z3_goal_translate', GOAL, (_in(CONTEXT), _in(GOAL), _in(CONTEXT))) */ Z3_goal Z3_API Z3_goal_translate(__in Z3_context source, __in Z3_goal g, __in Z3_context target); /** \brief Convert a goal into a string. + + def_API('Z3_goal_to_string', STRING, (_in(CONTEXT), _in(GOAL))) */ Z3_string Z3_API Z3_goal_to_string(__in Z3_context c, __in Z3_goal g); @@ -5383,17 +6124,23 @@ END_MLAPI_EXCLUDE It may also be obtained using the command (help-tactics) in the SMT 2.0 front-end. Tactics are the basic building block for creating custom solvers for specific problem domains. + + def_API('Z3_mk_tactic', TACTIC, (_in(CONTEXT), _in(STRING))) */ Z3_tactic Z3_API Z3_mk_tactic(__in Z3_context c, __in Z3_string name); #ifdef Conly /** \brief Increment the reference counter of the given tactic. + + def_API('Z3_tactic_inc_ref', VOID, (_in(CONTEXT), _in(TACTIC))) */ void Z3_API Z3_tactic_inc_ref(__in Z3_context c, __in Z3_tactic t); /** \brief Decrement the reference counter of the given tactic. + + def_API('Z3_tactic_dec_ref', VOID, (_in(CONTEXT), _in(TACTIC))) */ void Z3_API Z3_tactic_dec_ref(__in Z3_context c, __in Z3_tactic g); #endif @@ -5405,17 +6152,23 @@ END_MLAPI_EXCLUDE Probes are used to inspect a goal (aka problem) and collect information that may be used to decide which solver and/or preprocessing step will be used. + + def_API('Z3_mk_probe', PROBE, (_in(CONTEXT), _in(STRING))) */ Z3_probe Z3_API Z3_mk_probe(__in Z3_context c, __in Z3_string name); #ifdef Conly /** \brief Increment the reference counter of the given probe. + + def_API('Z3_probe_inc_ref', VOID, (_in(CONTEXT), _in(PROBE))) */ void Z3_API Z3_probe_inc_ref(__in Z3_context c, __in Z3_probe p); /** \brief Decrement the reference counter of the given probe. + + def_API('Z3_probe_dec_ref', VOID, (_in(CONTEXT), _in(PROBE))) */ void Z3_API Z3_probe_dec_ref(__in Z3_context c, __in Z3_probe p); #endif @@ -5423,78 +6176,106 @@ END_MLAPI_EXCLUDE /** \brief Return a tactic that applies \c t1 to a given goal and \c t2 to every subgoal produced by t1. + + def_API('Z3_tactic_and_then', TACTIC, (_in(CONTEXT), _in(TACTIC), _in(TACTIC))) */ Z3_tactic Z3_API Z3_tactic_and_then(__in Z3_context c, __in Z3_tactic t1, __in Z3_tactic t2); /** \brief Return a tactic that first applies \c t1 to a given goal, if it fails then returns the result of \c t2 applied to the given goal. + + def_API('Z3_tactic_or_else', TACTIC, (_in(CONTEXT), _in(TACTIC), _in(TACTIC))) */ Z3_tactic Z3_API Z3_tactic_or_else(__in Z3_context c, __in Z3_tactic t1, __in Z3_tactic t2); /** \brief Return a tactic that applies the given tactics in parallel. + + def_API('Z3_tactic_par_or', TACTIC, (_in(CONTEXT), _in(UINT), _in_array(1, TACTIC))) */ Z3_tactic Z3_API Z3_tactic_par_or(__in Z3_context c, __in unsigned num, __in_ecount(num) Z3_tactic const ts[]); /** \brief Return a tactic that applies \c t1 to a given goal and then \c t2 to every subgoal produced by t1. The subgoals are processed in parallel. + + def_API('Z3_tactic_par_and_then', TACTIC, (_in(CONTEXT), _in(TACTIC), _in(TACTIC))) */ Z3_tactic Z3_API Z3_tactic_par_and_then(__in Z3_context c, __in Z3_tactic t1, __in Z3_tactic t2); /** \brief Return a tactic that applies \c t to a given goal for \c ms milliseconds. If \c t does not terminate in \c ms milliseconds, then it fails. + + def_API('Z3_tactic_try_for', TACTIC, (_in(CONTEXT), _in(TACTIC), _in(UINT))) */ Z3_tactic Z3_API Z3_tactic_try_for(__in Z3_context c, __in Z3_tactic t, __in unsigned ms); /** \brief Return a tactic that applies \c t to a given goal is the probe \c p evaluates to true. If \c p evaluates to false, then the new tactic behaves like the skip tactic. + + def_API('Z3_tactic_when', TACTIC, (_in(CONTEXT), _in(PROBE), _in(TACTIC))) */ Z3_tactic Z3_API Z3_tactic_when(__in Z3_context c, __in Z3_probe p, __in Z3_tactic t); /** \brief Return a tactic that applies \c t1 to a given goal if the probe \c p evaluates to true, and \c t2 if \c p evaluates to false. + + def_API('Z3_tactic_cond', TACTIC, (_in(CONTEXT), _in(PROBE), _in(TACTIC), _in(TACTIC))) */ Z3_tactic Z3_API Z3_tactic_cond(__in Z3_context c, __in Z3_probe p, __in Z3_tactic t1, __in Z3_tactic t2); /** \brief Return a tactic that keeps applying \c t until the goal is not modified anymore or the maximum number of iterations \c max is reached. + + def_API('Z3_tactic_repeat', TACTIC, (_in(CONTEXT), _in(TACTIC), _in(UINT))) */ Z3_tactic Z3_API Z3_tactic_repeat(__in Z3_context c, __in Z3_tactic t, unsigned max); /** \brief Return a tactic that just return the given goal. + + def_API('Z3_tactic_skip', TACTIC, (_in(CONTEXT),)) */ Z3_tactic Z3_API Z3_tactic_skip(__in Z3_context c); /** \brief Return a tactic that always fails. + + def_API('Z3_tactic_fail', TACTIC, (_in(CONTEXT),)) */ Z3_tactic Z3_API Z3_tactic_fail(__in Z3_context c); /** \brief Return a tactic that fails if the probe \c p evaluates to false. + + def_API('Z3_tactic_fail_if', TACTIC, (_in(CONTEXT), _in(PROBE))) */ Z3_tactic Z3_API Z3_tactic_fail_if(__in Z3_context c, __in Z3_probe p); /** \brief Return a tactic that fails if the goal is not trivially satisfiable (i.e., empty) or trivially unsatisfiable (i.e., contains false). + + def_API('Z3_tactic_fail_if_not_decided', TACTIC, (_in(CONTEXT),)) */ Z3_tactic Z3_API Z3_tactic_fail_if_not_decided(__in Z3_context c); /** \brief Return a tactic that applies \c t using the given set of parameters. + + def_API('Z3_tactic_using_params', TACTIC, (_in(CONTEXT), _in(TACTIC), _in(PARAMS))) */ Z3_tactic Z3_API Z3_tactic_using_params(__in Z3_context c, __in Z3_tactic t, __in Z3_params p); /** \brief Return a probe that always evaluates to val. + + def_API('Z3_probe_const', PROBE, (_in(CONTEXT), _in(DOUBLE))) */ Z3_probe Z3_API Z3_probe_const(__in Z3_context x, __in double val); @@ -5502,6 +6283,8 @@ END_MLAPI_EXCLUDE \brief Return a probe that evaluates to "true" when the value returned by \c p1 is less than the value returned by \c p2. \remark For probes, "true" is any value different from 0.0. + + def_API('Z3_probe_lt', PROBE, (_in(CONTEXT), _in(PROBE), _in(PROBE))) */ Z3_probe Z3_API Z3_probe_lt(__in Z3_context x, __in Z3_probe p1, __in Z3_probe p2); @@ -5509,6 +6292,8 @@ END_MLAPI_EXCLUDE \brief Return a probe that evaluates to "true" when the value returned by \c p1 is greater than the value returned by \c p2. \remark For probes, "true" is any value different from 0.0. + + def_API('Z3_probe_gt', PROBE, (_in(CONTEXT), _in(PROBE), _in(PROBE))) */ Z3_probe Z3_API Z3_probe_gt(__in Z3_context x, __in Z3_probe p1, __in Z3_probe p2); @@ -5516,6 +6301,8 @@ END_MLAPI_EXCLUDE \brief Return a probe that evaluates to "true" when the value returned by \c p1 is less than or equal to the value returned by \c p2. \remark For probes, "true" is any value different from 0.0. + + def_API('Z3_probe_le', PROBE, (_in(CONTEXT), _in(PROBE), _in(PROBE))) */ Z3_probe Z3_API Z3_probe_le(__in Z3_context x, __in Z3_probe p1, __in Z3_probe p2); @@ -5523,6 +6310,8 @@ END_MLAPI_EXCLUDE \brief Return a probe that evaluates to "true" when the value returned by \c p1 is greater than or equal to the value returned by \c p2. \remark For probes, "true" is any value different from 0.0. + + def_API('Z3_probe_ge', PROBE, (_in(CONTEXT), _in(PROBE), _in(PROBE))) */ Z3_probe Z3_API Z3_probe_ge(__in Z3_context x, __in Z3_probe p1, __in Z3_probe p2); @@ -5530,6 +6319,8 @@ END_MLAPI_EXCLUDE \brief Return a probe that evaluates to "true" when the value returned by \c p1 is equal to the value returned by \c p2. \remark For probes, "true" is any value different from 0.0. + + def_API('Z3_probe_eq', PROBE, (_in(CONTEXT), _in(PROBE), _in(PROBE))) */ Z3_probe Z3_API Z3_probe_eq(__in Z3_context x, __in Z3_probe p1, __in Z3_probe p2); @@ -5537,6 +6328,8 @@ END_MLAPI_EXCLUDE \brief Return a probe that evaluates to "true" when \c p1 and \c p2 evaluates to true. \remark For probes, "true" is any value different from 0.0. + + def_API('Z3_probe_and', PROBE, (_in(CONTEXT), _in(PROBE), _in(PROBE))) */ Z3_probe Z3_API Z3_probe_and(__in Z3_context x, __in Z3_probe p1, __in Z3_probe p2); @@ -5544,6 +6337,8 @@ END_MLAPI_EXCLUDE \brief Return a probe that evaluates to "true" when \c p1 or \c p2 evaluates to true. \remark For probes, "true" is any value different from 0.0. + + def_API('Z3_probe_or', PROBE, (_in(CONTEXT), _in(PROBE), _in(PROBE))) */ Z3_probe Z3_API Z3_probe_or(__in Z3_context x, __in Z3_probe p1, __in Z3_probe p2); @@ -5551,11 +6346,15 @@ END_MLAPI_EXCLUDE \brief Return a probe that evaluates to "true" when \c p does not evaluate to true. \remark For probes, "true" is any value different from 0.0. + + def_API('Z3_probe_not', PROBE, (_in(CONTEXT), _in(PROBE))) */ Z3_probe Z3_API Z3_probe_not(__in Z3_context x, __in Z3_probe p); /** \brief Return the number of builtin tactics available in Z3. + + def_API('Z3_get_num_tactics', UINT, (_in(CONTEXT),)) */ unsigned Z3_API Z3_get_num_tactics(__in Z3_context c); @@ -5563,11 +6362,15 @@ END_MLAPI_EXCLUDE \brief Return the name of the idx tactic. \pre i < Z3_get_num_tactics(c) + + def_API('Z3_get_tactic_name', STRING, (_in(CONTEXT), _in(UINT))) */ Z3_string Z3_API Z3_get_tactic_name(__in Z3_context c, unsigned i); /** \brief Return the number of builtin probes available in Z3. + + def_API('Z3_get_num_probes', UINT, (_in(CONTEXT),)) */ unsigned Z3_API Z3_get_num_probes(__in Z3_context c); @@ -5575,64 +6378,88 @@ END_MLAPI_EXCLUDE \brief Return the name of the i probe. \pre i < Z3_get_num_probes(c) + + def_API('Z3_get_probe_name', STRING, (_in(CONTEXT), _in(UINT))) */ Z3_string Z3_API Z3_get_probe_name(__in Z3_context c, unsigned i); /** \brief Return a string containing a description of parameters accepted by the given tactic. + + def_API('Z3_tactic_get_help', STRING, (_in(CONTEXT), _in(TACTIC))) */ Z3_string Z3_API Z3_tactic_get_help(__in Z3_context c, __in Z3_tactic t); /** \brief Return the parameter description set for the given tactic object. + + def_API('Z3_tactic_get_param_descrs', PARAM_DESCRS, (_in(CONTEXT), _in(TACTIC))) */ Z3_param_descrs Z3_API Z3_tactic_get_param_descrs(__in Z3_context c, __in Z3_tactic t); /** \brief Return a string containing a description of the tactic with the given name. + + def_API('Z3_tactic_get_descr', STRING, (_in(CONTEXT), _in(STRING))) */ Z3_string Z3_API Z3_tactic_get_descr(__in Z3_context c, __in Z3_string name); /** \brief Return a string containing a description of the probe with the given name. + + def_API('Z3_probe_get_descr', STRING, (_in(CONTEXT), _in(STRING))) */ Z3_string Z3_API Z3_probe_get_descr(__in Z3_context c, __in Z3_string name); /** \brief Execute the probe over the goal. The probe always produce a double value. "Boolean" probes return 0.0 for false, and a value different from 0.0 for true. + + def_API('Z3_probe_apply', DOUBLE, (_in(CONTEXT), _in(PROBE), _in(GOAL))) */ double Z3_API Z3_probe_apply(__in Z3_context c, __in Z3_probe p, __in Z3_goal g); /** \brief Apply tactic \c t to the goal \c g. + + def_API('Z3_tactic_apply', APPLY_RESULT, (_in(CONTEXT), _in(TACTIC), _in(GOAL))) */ Z3_apply_result Z3_API Z3_tactic_apply(__in Z3_context c, __in Z3_tactic t, __in Z3_goal g); /** \brief Apply tactic \c t to the goal \c g using the parameter set \c p. + + def_API('Z3_tactic_apply_ex', APPLY_RESULT, (_in(CONTEXT), _in(TACTIC), _in(GOAL), _in(PARAMS))) */ Z3_apply_result Z3_API Z3_tactic_apply_ex(Z3_context c, Z3_tactic t, Z3_goal g, Z3_params p); #ifdef CorML3 /** \brief Increment the reference counter of the given \c Z3_apply_result object. + + def_API('Z3_apply_result_inc_ref', VOID, (_in(CONTEXT), _in(APPLY_RESULT))) */ void Z3_API Z3_apply_result_inc_ref(__in Z3_context c, __in Z3_apply_result r); /** \brief Decrement the reference counter of the given \c Z3_apply_result object. + + def_API('Z3_apply_result_dec_ref', VOID, (_in(CONTEXT), _in(APPLY_RESULT))) */ void Z3_API Z3_apply_result_dec_ref(__in Z3_context c, __in Z3_apply_result r); #endif /** \brief Convert the \c Z3_apply_result object returned by #Z3_tactic_apply into a string. + + def_API('Z3_apply_result_to_string', STRING, (_in(CONTEXT), _in(APPLY_RESULT))) */ Z3_string Z3_API Z3_apply_result_to_string(__in Z3_context c, __in Z3_apply_result r); /** \brief Return the number of subgoals in the \c Z3_apply_result object returned by #Z3_tactic_apply. + + def_API('Z3_apply_result_get_num_subgoals', UINT, (_in(CONTEXT), _in(APPLY_RESULT))) */ unsigned Z3_API Z3_apply_result_get_num_subgoals(__in Z3_context c, __in Z3_apply_result r); @@ -5640,12 +6467,16 @@ END_MLAPI_EXCLUDE \brief Return one of the subgoals in the \c Z3_apply_result object returned by #Z3_tactic_apply. \pre i < Z3_apply_result_get_num_subgoals(c, r) + + def_API('Z3_apply_result_get_subgoal', GOAL, (_in(CONTEXT), _in(APPLY_RESULT), _in(UINT))) */ Z3_goal Z3_API Z3_apply_result_get_subgoal(__in Z3_context c, __in Z3_apply_result r, __in unsigned i); /** \brief Convert a model for the subgoal \c Z3_apply_result_get_subgoal(c, r, i) into a model for the original goal \c g. Where \c g is the goal used to create \c r using \c Z3_tactic_apply(c, t, g). + + def_API('Z3_apply_result_convert_model', MODEL, (_in(CONTEXT), _in(APPLY_RESULT), _in(UINT), _in(MODEL))) */ Z3_model Z3_API Z3_apply_result_convert_model(__in Z3_context c, __in Z3_apply_result r, __in unsigned i, __in Z3_model m); @@ -5663,11 +6494,15 @@ END_MLAPI_EXCLUDE \conly \remark User must use #Z3_solver_inc_ref and #Z3_solver_dec_ref to manage solver objects. \conly Even if the context was created using #Z3_mk_context instead of #Z3_mk_context_rc. + + def_API('Z3_mk_solver', SOLVER, (_in(CONTEXT),)) */ Z3_solver Z3_API Z3_mk_solver(__in Z3_context c); /** \brief Create a new (incremental) solver. + + def_API('Z3_mk_simple_solver', SOLVER, (_in(CONTEXT),)) */ Z3_solver Z3_API Z3_mk_simple_solver(__in Z3_context c); @@ -5677,6 +6512,8 @@ END_MLAPI_EXCLUDE \conly \remark User must use #Z3_solver_inc_ref and #Z3_solver_dec_ref to manage solver objects. \conly Even if the context was created using #Z3_mk_context instead of #Z3_mk_context_rc. + + def_API('Z3_mk_solver_for_logic', SOLVER, (_in(CONTEXT), _in(SYMBOL))) */ Z3_solver Z3_API Z3_mk_solver_for_logic(__in Z3_context c, __in Z3_symbol logic); @@ -5684,32 +6521,44 @@ END_MLAPI_EXCLUDE \brief Create a new solver that is implemented using the given tactic. The solver supports the commands #Z3_solver_push and #Z3_solver_pop, but it will always solve each #Z3_solver_check from scratch. + + def_API('Z3_mk_solver_from_tactic', SOLVER, (_in(CONTEXT), _in(TACTIC))) */ Z3_solver Z3_API Z3_mk_solver_from_tactic(__in Z3_context c, __in Z3_tactic t); /** \brief Return a string describing all solver available parameters. + + def_API('Z3_solver_get_help', STRING, (_in(CONTEXT), _in(SOLVER))) */ Z3_string Z3_API Z3_solver_get_help(__in Z3_context c, __in Z3_solver s); /** \brief Return the parameter description set for the given solver object. + + def_API('Z3_solver_get_param_descrs', PARAM_DESCRS, (_in(CONTEXT), _in(SOLVER))) */ Z3_param_descrs Z3_API Z3_solver_get_param_descrs(__in Z3_context c, __in Z3_solver s); /** \brief Set the given solver using the given parameters. + + def_API('Z3_solver_set_params', VOID, (_in(CONTEXT), _in(SOLVER), _in(PARAMS))) */ void Z3_API Z3_solver_set_params(__in Z3_context c, __in Z3_solver s, __in Z3_params p); #ifdef Conly /** \brief Increment the reference counter of the given solver. + + def_API('Z3_solver_inc_ref', VOID, (_in(CONTEXT), _in(SOLVER))) */ void Z3_API Z3_solver_inc_ref(__in Z3_context c, __in Z3_solver s); /** \brief Decrement the reference counter of the given solver. + + def_API('Z3_solver_dec_ref', VOID, (_in(CONTEXT), _in(SOLVER))) */ void Z3_API Z3_solver_dec_ref(__in Z3_context c, __in Z3_solver s); #endif @@ -5720,6 +6569,8 @@ END_MLAPI_EXCLUDE The solver contains a stack of assertions. \sa Z3_solver_pop + + def_API('Z3_solver_push', VOID, (_in(CONTEXT), _in(SOLVER))) */ void Z3_API Z3_solver_push(__in Z3_context c, __in Z3_solver s); @@ -5729,11 +6580,15 @@ END_MLAPI_EXCLUDE \sa Z3_solver_push \pre n <= Z3_solver_get_num_scopes(c, s) + + def_API('Z3_solver_pop', VOID, (_in(CONTEXT), _in(SOLVER), _in(UINT))) */ void Z3_API Z3_solver_pop(__in Z3_context c, __in Z3_solver s, unsigned n); /** \brief Remove all assertions from the solver. + + def_API('Z3_solver_reset', VOID, (_in(CONTEXT), _in(SOLVER))) */ void Z3_API Z3_solver_reset(__in Z3_context c, __in Z3_solver s); @@ -5742,6 +6597,8 @@ END_MLAPI_EXCLUDE \sa Z3_solver_push \sa Z3_solver_pop + + def_API('Z3_solver_get_num_scopes', UINT, (_in(CONTEXT), _in(SOLVER))) */ unsigned Z3_API Z3_solver_get_num_scopes(__in Z3_context c, __in Z3_solver s); @@ -5750,11 +6607,15 @@ END_MLAPI_EXCLUDE The functions #Z3_solver_check and #Z3_solver_check_assumptions should be used to check whether the logical context is consistent or not. + + def_API('Z3_solver_assert', VOID, (_in(CONTEXT), _in(SOLVER), _in(AST))) */ void Z3_API Z3_solver_assert(__in Z3_context c, __in Z3_solver s, __in Z3_ast a); /** \brief Return the set of asserted formulas as a goal object. + + def_API('Z3_solver_get_assertions', AST_VECTOR, (_in(CONTEXT), _in(SOLVER))) */ Z3_ast_vector Z3_API Z3_solver_get_assertions(__in Z3_context c, __in Z3_solver s); @@ -5768,6 +6629,8 @@ END_MLAPI_EXCLUDE The function #Z3_solver_get_proof retrieves a proof if proof generation was enabled when the context was created, and the assertions are unsatisfiable (i.e., the result is \c Z3_L_FALSE). + + def_API('Z3_solver_check', INT, (_in(CONTEXT), _in(SOLVER))) */ Z3_lbool Z3_API Z3_solver_check(__in Z3_context c, __in Z3_solver s); @@ -5779,6 +6642,8 @@ END_MLAPI_EXCLUDE assumptions used in the unsatisfiability proof produced by Z3. \sa Z3_solver_check + + def_API('Z3_solver_check_assumptions', INT, (_in(CONTEXT), _in(SOLVER), _in(UINT), _in_array(2, AST))) */ Z3_lbool Z3_API Z3_solver_check_assumptions(__in Z3_context c, __in Z3_solver s, __in unsigned num_assumptions, __in_ecount(num_assumptions) Z3_ast const assumptions[]); @@ -5788,6 +6653,8 @@ END_MLAPI_EXCLUDE The error handler is invoked if a model is not available because the commands above were not invoked for the given solver, or if the result was \c Z3_L_FALSE. + + def_API('Z3_solver_get_model', MODEL, (_in(CONTEXT), _in(SOLVER))) */ Z3_model Z3_API Z3_solver_get_model(__in Z3_context c, __in Z3_solver s); @@ -5797,18 +6664,24 @@ END_MLAPI_EXCLUDE The error handler is invoked if proof generation is not enabled, or if the commands above were not invoked for the given solver, or if the result was different from \c Z3_L_FALSE. + + def_API('Z3_solver_get_proof', AST, (_in(CONTEXT), _in(SOLVER))) */ Z3_ast Z3_API Z3_solver_get_proof(__in Z3_context c, __in Z3_solver s); /** \brief Retrieve the unsat core for the last #Z3_solver_check_assumptions The unsat core is a subset of the assumptions \c a. + + def_API('Z3_solver_get_unsat_core', AST_VECTOR, (_in(CONTEXT), _in(SOLVER))) */ Z3_ast_vector Z3_API Z3_solver_get_unsat_core(__in Z3_context c, __in Z3_solver s); /** \brief Return a brief justification for an "unknown" result (i.e., Z3_L_UNDEF) for the commands #Z3_solver_check and #Z3_solver_check_assumptions + + def_API('Z3_solver_get_reason_unknown', STRING, (_in(CONTEXT), _in(SOLVER))) */ Z3_string Z3_API Z3_solver_get_reason_unknown(__in Z3_context c, __in Z3_solver s); @@ -5816,11 +6689,15 @@ END_MLAPI_EXCLUDE \brief Return statistics for the given solver. \conly \remark User must use #Z3_stats_inc_ref and #Z3_stats_dec_ref to manage Z3_stats objects. + + def_API('Z3_solver_get_statistics', STATS, (_in(CONTEXT), _in(SOLVER))) */ Z3_stats Z3_API Z3_solver_get_statistics(__in Z3_context c, __in Z3_solver s); /** \brief Convert a solver into a string. + + def_API('Z3_solver_to_string', STRING, (_in(CONTEXT), _in(SOLVER))) */ Z3_string Z3_API Z3_solver_to_string(__in Z3_context c, __in Z3_solver s); @@ -5836,6 +6713,8 @@ END_MLAPI_EXCLUDE #endif /** \brief Convert a statistics into a string. + + def_API('Z3_stats_to_string', STRING, (_in(CONTEXT), _in(STATS))) */ Z3_string Z3_API Z3_stats_to_string(__in Z3_context c, __in Z3_stats s); @@ -5846,17 +6725,23 @@ END_MLAPI_EXCLUDE #ifdef Conly /** \brief Increment the reference counter of the given statistics object. + + def_API('Z3_stats_inc_ref', VOID, (_in(CONTEXT), _in(STATS))) */ void Z3_API Z3_stats_inc_ref(__in Z3_context c, __in Z3_stats s); /** \brief Decrement the reference counter of the given statistics object. + + def_API('Z3_stats_dec_ref', VOID, (_in(CONTEXT), _in(STATS))) */ void Z3_API Z3_stats_dec_ref(__in Z3_context c, __in Z3_stats s); #endif /** \brief Return the number of statistical data in \c s. + + def_API('Z3_stats_size', UINT, (_in(CONTEXT), _in(STATS))) */ unsigned Z3_API Z3_stats_size(__in Z3_context c, __in Z3_stats s); @@ -5864,6 +6749,8 @@ END_MLAPI_EXCLUDE \brief Return the key (a string) for a particular statistical data. \pre idx < Z3_stats_size(c, s) + + def_API('Z3_stats_get_key', STRING, (_in(CONTEXT), _in(STATS), _in(UINT))) */ Z3_string Z3_API Z3_stats_get_key(__in Z3_context c, __in Z3_stats s, __in unsigned idx); @@ -5871,6 +6758,8 @@ END_MLAPI_EXCLUDE \brief Return Z3_TRUE if the given statistical data is a unsigned integer. \pre idx < Z3_stats_size(c, s) + + def_API('Z3_stats_is_uint', BOOL, (_in(CONTEXT), _in(STATS), _in(UINT))) */ Z3_bool Z3_API Z3_stats_is_uint(__in Z3_context c, __in Z3_stats s, __in unsigned idx); @@ -5878,6 +6767,8 @@ END_MLAPI_EXCLUDE \brief Return Z3_TRUE if the given statistical data is a double. \pre idx < Z3_stats_size(c, s) + + def_API('Z3_stats_is_double', BOOL, (_in(CONTEXT), _in(STATS), _in(UINT))) */ Z3_bool Z3_API Z3_stats_is_double(__in Z3_context c, __in Z3_stats s, __in unsigned idx); @@ -5885,6 +6776,8 @@ END_MLAPI_EXCLUDE \brief Return the unsigned value of the given statistical data. \pre idx < Z3_stats_size(c, s) && Z3_stats_is_uint(c, s) + + def_API('Z3_stats_get_uint_value', UINT, (_in(CONTEXT), _in(STATS), _in(UINT))) */ unsigned Z3_API Z3_stats_get_uint_value(__in Z3_context c, __in Z3_stats s, __in unsigned idx); @@ -5892,6 +6785,8 @@ END_MLAPI_EXCLUDE \brief Return the double value of the given statistical data. \pre idx < Z3_stats_size(c, s) && Z3_stats_is_double(c, s) + + def_API('Z3_stats_get_double_value', DOUBLE, (_in(CONTEXT), _in(STATS), _in(UINT))) */ double Z3_API Z3_stats_get_double_value(__in Z3_context c, __in Z3_stats s, __in unsigned idx); @@ -5912,6 +6807,8 @@ END_MLAPI_EXCLUDE \deprecated This method just asserts a (universally quantified) formula that asserts that the new function is injective. It is compatible with the old interface for solving: #Z3_assert_cnstr, #Z3_check_assumptions, etc. + + def_API('Z3_mk_injective_function', FUNC_DECL, (_in(CONTEXT), _in(SYMBOL), _in(UINT), _in_array(2, SORT), _in(SORT))) */ Z3_func_decl Z3_API Z3_mk_injective_function( __in Z3_context c, @@ -5934,6 +6831,8 @@ END_MLAPI_EXCLUDE Return \c Z3_TRUE if the logic was changed successfully, and \c Z3_FALSE otherwise. \deprecated Subsumed by #Z3_mk_solver_for_logic + + def_API('Z3_set_logic', VOID, (_in(CONTEXT), _in(STRING))) */ Z3_bool Z3_API Z3_set_logic(__in Z3_context c, __in Z3_string logic); @@ -5947,6 +6846,8 @@ END_MLAPI_EXCLUDE \sa Z3_pop \deprecated Subsumed by #Z3_solver_push + + def_API('Z3_push', VOID, (_in(CONTEXT),)) */ void Z3_API Z3_push(__in Z3_context c); @@ -5962,6 +6863,8 @@ END_MLAPI_EXCLUDE \sa Z3_push \deprecated Subsumed by #Z3_solver_pop + + def_API('Z3_pop', VOID, (_in(CONTEXT), _in(UINT))) */ void Z3_API Z3_pop(__in Z3_context c, __in unsigned num_scopes); @@ -5974,6 +6877,8 @@ END_MLAPI_EXCLUDE \sa Z3_pop \deprecated Subsumed by #Z3_solver_get_num_scopes. + + def_API('Z3_get_num_scopes', UINT, (_in(CONTEXT),)) */ unsigned Z3_API Z3_get_num_scopes(__in Z3_context c); @@ -5995,6 +6900,8 @@ END_MLAPI_EXCLUDE \conly reference counting APIs for managing AST nodes. \mlonly \deprecated This function has no effect. \endmlonly + + def_API('Z3_persist_ast', VOID, (_in(CONTEXT), _in(AST), _in(UINT))) */ void Z3_API Z3_persist_ast(__in Z3_context c, __in Z3_ast a, __in unsigned num_scopes); @@ -6011,6 +6918,8 @@ END_MLAPI_EXCLUDE \sa Z3_check_and_get_model \deprecated Subsumed by #Z3_solver_assert + + def_API('Z3_assert_cnstr', VOID, (_in(CONTEXT), _in(AST))) */ void Z3_API Z3_assert_cnstr(__in Z3_context c, __in Z3_ast a); @@ -6034,6 +6943,8 @@ END_MLAPI_EXCLUDE \conly \sa Z3_del_model \deprecated Subsumed by #Z3_solver_check + + def_API('Z3_check_and_get_model', INT, (_in(CONTEXT), _out(MODEL))) */ Z3_lbool Z3_API Z3_check_and_get_model(__in Z3_context c, __out Z3_model * m); @@ -6045,6 +6956,8 @@ END_MLAPI_EXCLUDE \sa Z3_check_and_get_model \deprecated Subsumed by #Z3_solver_check + + def_API('Z3_check', INT, (_in(CONTEXT),)) */ Z3_lbool Z3_API Z3_check(__in Z3_context c); @@ -6083,6 +6996,8 @@ END_MLAPI_EXCLUDE \conly \sa Z3_del_model \deprecated Subsumed by #Z3_solver_check_assumptions + + def_API('Z3_check_assumptions', INT, (_in(CONTEXT), _in(UINT), _in_array(1, AST), _out(MODEL), _out(AST), _out(UINT), _out_array2(1, 5, AST))) */ Z3_lbool Z3_API Z3_check_assumptions( __in Z3_context c, @@ -6111,6 +7026,8 @@ END_MLAPI_EXCLUDE \sa Z3_check \deprecated Subsumed by Z3_solver API + + def_API('Z3_get_implied_equalities', UINT, (_in(CONTEXT), _in(UINT), _in_array(1, AST), _out_array(1, UINT))) */ Z3_lbool Z3_API Z3_get_implied_equalities( __in Z3_context c, @@ -6125,6 +7042,8 @@ END_MLAPI_EXCLUDE \sa Z3_check_and_get_model \deprecated Subsumed by Z3_solver API + + def_API('Z3_del_model', VOID, (_in(CONTEXT), _in(MODEL))) */ void Z3_API Z3_del_model(__in Z3_context c, __in Z3_model m); @@ -6143,6 +7062,8 @@ END_MLAPI_EXCLUDE than the one performing the check. \deprecated Use #Z3_interrupt instead. + + def_API('Z3_soft_check_cancel', VOID, (_in(CONTEXT), )) */ void Z3_API Z3_soft_check_cancel(__in Z3_context c); @@ -6153,6 +7074,8 @@ END_MLAPI_EXCLUDE use this facility to determine the more detailed cause of search failure. \deprecated Subsumed by #Z3_solver_get_reason_unknown + + def_API('Z3_get_search_failure', UINT, (_in(CONTEXT), )) */ Z3_search_failure Z3_API Z3_get_search_failure(__in Z3_context c); @@ -6178,6 +7101,8 @@ END_MLAPI_EXCLUDE \deprecated Labels are only supported by the old Solver API. This feature is not essential (it can be simulated using auxiliary Boolean variables). It is only available for backward compatibility. + + def_API('Z3_mk_label', AST, (_in(CONTEXT), _in(SYMBOL), _in(BOOL), _in(AST))) */ Z3_ast Z3_API Z3_mk_label(__in Z3_context c, __in Z3_symbol s, Z3_bool is_pos, Z3_ast f); @@ -6191,6 +7116,8 @@ END_MLAPI_EXCLUDE \sa Z3_get_literal \deprecated This procedure is based on the old Solver API. + + def_API('Z3_get_relevant_labels', LITERALS, (_in(CONTEXT), )) */ Z3_literals Z3_API Z3_get_relevant_labels(__in Z3_context c); @@ -6203,6 +7130,8 @@ END_MLAPI_EXCLUDE \sa Z3_get_literal \deprecated This procedure is based on the old Solver API. + + def_API('Z3_get_relevant_literals', LITERALS, (_in(CONTEXT), )) */ Z3_literals Z3_API Z3_get_relevant_literals(__in Z3_context c); @@ -6216,6 +7145,8 @@ END_MLAPI_EXCLUDE \sa Z3_get_literal \deprecated This procedure is based on the old Solver API. + + def_API('Z3_get_guessed_literals', LITERALS, (_in(CONTEXT), )) */ Z3_literals Z3_API Z3_get_guessed_literals(__in Z3_context c); @@ -6225,6 +7156,8 @@ END_MLAPI_EXCLUDE \sa Z3_get_relevant_labels \deprecated This procedure is based on the old Solver API. + + def_API('Z3_del_literals', VOID, (_in(CONTEXT), _in(LITERALS))) */ void Z3_API Z3_del_literals(__in Z3_context c, __in Z3_literals lbls); @@ -6234,6 +7167,8 @@ END_MLAPI_EXCLUDE \sa Z3_get_relevant_labels \deprecated This procedure is based on the old Solver API. + + def_API('Z3_get_num_literals', UINT, (_in(CONTEXT), _in(LITERALS))) */ unsigned Z3_API Z3_get_num_literals(__in Z3_context c, __in Z3_literals lbls); @@ -6241,6 +7176,8 @@ END_MLAPI_EXCLUDE \brief Retrieve label symbol at idx. \deprecated This procedure is based on the old Solver API. + + def_API('Z3_get_label_symbol', SYMBOL, (_in(CONTEXT), _in(LITERALS), _in(UINT))) */ Z3_symbol Z3_API Z3_get_label_symbol(__in Z3_context c, __in Z3_literals lbls, __in unsigned idx); @@ -6248,6 +7185,8 @@ END_MLAPI_EXCLUDE \brief Retrieve literal expression at idx. \deprecated This procedure is based on the old Solver API. + + def_API('Z3_get_literal', AST, (_in(CONTEXT), _in(LITERALS), _in(UINT))) */ Z3_ast Z3_API Z3_get_literal(__in Z3_context c, __in Z3_literals lbls, __in unsigned idx); @@ -6259,6 +7198,8 @@ END_MLAPI_EXCLUDE \sa Z3_block_literals \deprecated This procedure is based on the old Solver API. + + def_API('Z3_disable_literal', VOID, (_in(CONTEXT), _in(LITERALS), _in(UINT))) */ void Z3_API Z3_disable_literal(__in Z3_context c, __in Z3_literals lbls, __in unsigned idx); @@ -6266,6 +7207,8 @@ END_MLAPI_EXCLUDE \brief Block subsequent checks using the remaining enabled labels. \deprecated This procedure is based on the old Solver API. + + def_API('Z3_block_literals', VOID, (_in(CONTEXT), _in(LITERALS))) */ void Z3_API Z3_block_literals(__in Z3_context c, __in Z3_literals lbls); @@ -6284,6 +7227,8 @@ END_MLAPI_EXCLUDE \sa Z3_get_model_constant \deprecated use #Z3_model_get_num_consts + + def_API('Z3_get_model_num_constants', UINT, (_in(CONTEXT), _in(MODEL))) */ unsigned Z3_API Z3_get_model_num_constants(__in Z3_context c, __in Z3_model m); @@ -6296,6 +7241,8 @@ END_MLAPI_EXCLUDE \pre i < Z3_get_model_num_constants(c, m) \deprecated use #Z3_model_get_const_decl + + def_API('Z3_get_model_constant', FUNC_DECL, (_in(CONTEXT), _in(MODEL), _in(UINT))) */ Z3_func_decl Z3_API Z3_get_model_constant(__in Z3_context c, __in Z3_model m, __in unsigned i); @@ -6306,6 +7253,8 @@ END_MLAPI_EXCLUDE Each entry in the finite map represents the value of a function given a set of arguments. \deprecated use #Z3_model_get_num_funcs + + def_API('Z3_get_model_num_funcs', UINT, (_in(CONTEXT), _in(MODEL))) */ unsigned Z3_API Z3_get_model_num_funcs(__in Z3_context c, __in Z3_model m); @@ -6318,6 +7267,8 @@ END_MLAPI_EXCLUDE \sa Z3_get_model_num_funcs \deprecated use #Z3_model_get_func_decl + + def_API('Z3_get_model_func_decl', FUNC_DECL, (_in(CONTEXT), _in(MODEL), _in(UINT))) */ Z3_func_decl Z3_API Z3_get_model_func_decl(__in Z3_context c, __in Z3_model m, __in unsigned i); @@ -6326,6 +7277,8 @@ END_MLAPI_EXCLUDE in the given model. \deprecated Consider using #Z3_model_eval or #Z3_model_get_func_interp + + def_API('Z3_eval_func_decl', BOOL, (_in(CONTEXT), _in(MODEL), _in(FUNC_DECL), _out(AST))) */ Z3_bool Z3_API Z3_eval_func_decl(__in Z3_context c, __in Z3_model m, __in Z3_func_decl decl, __out Z3_ast* v); @@ -6341,6 +7294,8 @@ END_MLAPI_EXCLUDE Return the number of entries mapping to non-default values of the array. \deprecated Use #Z3_is_as_array + + def_API('Z3_is_array_value', BOOL, (_in(CONTEXT), _in(MODEL), _in(AST), _out(UINT))) */ Z3_bool Z3_API Z3_is_array_value(__in Z3_context c, __in Z3_model m, __in Z3_ast v, __out unsigned* num_entries); @@ -6352,6 +7307,8 @@ END_MLAPI_EXCLUDE \pre Z3_TRUE == Z3_is_array_value(c, v, &num_entries) \deprecated Use Z3_func_interp objects and #Z3_get_as_array_func_decl + + def_API('Z3_get_array_value', VOID, (_in(CONTEXT), _in(MODEL), _in(AST), _in(UINT), _out_array(3, AST), _out_array(3, AST), _out (AST))) */ void Z3_API Z3_get_array_value(__in Z3_context c, __in Z3_model m, @@ -6378,6 +7335,8 @@ END_MLAPI_EXCLUDE \sa Z3_get_model_func_entry_arg \deprecated Use Z3_func_interp objects + + def_API('Z3_get_model_func_else', AST, (_in(CONTEXT), _in(MODEL), _in(UINT))) */ Z3_ast Z3_API Z3_get_model_func_else(__in Z3_context c, __in Z3_model m, __in unsigned i); @@ -6397,6 +7356,8 @@ END_MLAPI_EXCLUDE \sa Z3_get_model_func_entry_arg \deprecated Use Z3_func_interp objects + + def_API('Z3_get_model_func_num_entries', UINT, (_in(CONTEXT), _in(MODEL), _in(UINT))) */ unsigned Z3_API Z3_get_model_func_num_entries(__in Z3_context c, __in Z3_model m, __in unsigned i); @@ -6421,6 +7382,8 @@ END_MLAPI_EXCLUDE \sa Z3_get_model_func_entry_arg \deprecated Use Z3_func_interp objects + + def_API('Z3_get_model_func_entry_num_args', UINT, (_in(CONTEXT), _in(MODEL), _in(UINT), _in(UINT))) */ unsigned Z3_API Z3_get_model_func_entry_num_args(__in Z3_context c, __in Z3_model m, @@ -6449,6 +7412,8 @@ END_MLAPI_EXCLUDE \sa Z3_get_model_func_entry_num_args \deprecated Use Z3_func_interp objects + + def_API('Z3_get_model_func_entry_arg', AST, (_in(CONTEXT), _in(MODEL), _in(UINT), _in(UINT), _in(UINT))) */ Z3_ast Z3_API Z3_get_model_func_entry_arg(__in Z3_context c, __in Z3_model m, @@ -6476,6 +7441,8 @@ END_MLAPI_EXCLUDE \sa Z3_get_model_func_num_entries \deprecated Use Z3_func_interp objects + + def_API('Z3_get_model_func_entry_value', AST, (_in(CONTEXT), _in(MODEL), _in(UINT), _in(UINT))) */ Z3_ast Z3_API Z3_get_model_func_entry_value(__in Z3_context c, __in Z3_model m, @@ -6498,6 +7465,8 @@ END_MLAPI_EXCLUDE - \c t is type incorrect. \deprecated Use #Z3_model_eval + + def_API('Z3_eval', BOOL, (_in(CONTEXT), _in(MODEL), _in(AST), _out(AST))) */ Z3_bool Z3_API Z3_eval(__in Z3_context c, __in Z3_model m, __in Z3_ast t, __out Z3_ast * v); @@ -6508,6 +7477,8 @@ END_MLAPI_EXCLUDE without going over terms. \deprecated Consider using #Z3_model_eval and #Z3_substitute_vars + + def_API('Z3_eval_decl', BOOL, (_in(CONTEXT), _in(MODEL), _in(FUNC_DECL), _in(UINT), _in_array(3, AST), _out(AST))) */ Z3_bool Z3_API Z3_eval_decl(__in Z3_context c, __in Z3_model m, __in Z3_func_decl d, @@ -6534,6 +7505,8 @@ END_MLAPI_EXCLUDE \deprecated This method is obsolete. It just displays the internal representation of the global solver available for backward compatibility reasons. + + def_API('Z3_context_to_string', STRING, (_in(CONTEXT),)) */ Z3_string Z3_API Z3_context_to_string(__in Z3_context c); @@ -6549,6 +7522,8 @@ END_MLAPI_EXCLUDE \deprecated This method is based on the old solver API. Use #Z3_stats_to_string when using the new solver API. + + def_API('Z3_statistics_to_string', STRING, (_in(CONTEXT),)) */ Z3_string Z3_API Z3_statistics_to_string(__in Z3_context c); @@ -6562,6 +7537,8 @@ END_MLAPI_EXCLUDE if there has been a call to #Z3_check or #Z3_check_and_get_model. \deprecated This method is based on the old solver API. + + def_API('Z3_get_context_assignment', AST, (_in(CONTEXT),)) */ Z3_ast Z3_API Z3_get_context_assignment(__in Z3_context c); diff --git a/python/mk_z3consts.py b/python/mk_z3consts.py deleted file mode 100644 index 35f6839c2..000000000 --- a/python/mk_z3consts.py +++ /dev/null @@ -1,74 +0,0 @@ -############################################ -# Copyright (c) 2012 Microsoft Corporation -# -# Extract enumeration types from z3_api.h -# -# Author: Leonardo de Moura (leonardo) -############################################ -import re -import os - -blank_pat = re.compile("^ *$") -comment_pat = re.compile("^ *//.*$") -typedef_pat = re.compile("typedef enum *") -typedef2_pat = re.compile("typedef enum { *") -openbrace_pat = re.compile("{ *") -closebrace_pat = re.compile("}.*;") - -api = open('..%slib%sz3_api.h' % (os.sep, os.sep), 'r') - -z3consts = open('z3consts.py', 'w') -z3consts.write('# Automatically generated file, generator: mk_z3consts.py\n\n') - -SEARCHING = 0 -FOUND_ENUM = 1 -IN_ENUM = 2 - -mode = SEARCHING -decls = {} -idx = 0 - -linenum = 1 -for line in api: - m1 = blank_pat.match(line) - m2 = comment_pat.match(line) - if m1 or m2: - # skip blank lines and comments - linenum = linenum + 1 - elif mode == SEARCHING: - m = typedef_pat.match(line) - if m: - mode = FOUND_ENUM - m = typedef2_pat.match(line) - if m: - mode = IN_ENUM - decls = {} - idx = 0 - elif mode == FOUND_ENUM: - m = openbrace_pat.match(line) - if m: - mode = IN_ENUM - decls = {} - idx = 0 - else: - assert False, "Invalid z3_api.h, line: %s" % linenum - else: - assert mode == IN_ENUM - words = re.split('[^\-a-zA-Z0-9_]+', line) - m = closebrace_pat.match(line) - if m: - name = words[1] - z3consts.write('# enum %s\n' % name) - for k, i in decls.iteritems(): - z3consts.write('%s = %s\n' % (k, i)) - z3consts.write('\n') - mode = SEARCHING - else: - if words[2] != '': - if len(words[2]) > 1 and words[2][1] == 'x': - idx = int(words[2], 16) - else: - idx = int(words[2]) - decls[words[1]] = idx - idx = idx + 1 - linenum = linenum + 1 diff --git a/python/mk_z3tactics.py b/python/mk_z3tactics.py deleted file mode 100644 index 9773697b9..000000000 --- a/python/mk_z3tactics.py +++ /dev/null @@ -1,39 +0,0 @@ -############################################ -# Copyright (c) 2012 Microsoft Corporation -# -# Extract tactics and probes from install_tactics.cpp -# -# Author: Leonardo de Moura (leonardo) -############################################ -import re -import os - -tactic_pat = re.compile("^[ \t]*ADD_TACTIC_CMD") -probe_pat = re.compile("^[ \t]*ADD_PROBE") - -cppfile = open('..%slib%sinstall_tactics.cpp' % (os.sep, os.sep), 'r') - -z3tactics = open('z3tactics.py', 'w') -z3tactics.write('# Automatically generated file, generator: mk_z3tactics.py\n') -z3tactics.write('import z3core\n') -z3tactics.write('import z3\n\n') - - -for line in cppfile: - m1 = tactic_pat.match(line) - m2 = probe_pat.match(line) - if m1: - words = re.split('[^\-a-zA-Z0-9_]+', line) - tactic = words[2] - py_tactic = tactic.replace('-', '_') - z3tactics.write('def %s_tactic(ctx=None):\n' % py_tactic) - z3tactics.write(' ctx = z3._get_ctx(ctx)\n') - z3tactics.write(' return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), \'%s\'), ctx)\n\n' % tactic) - elif m2: - words = re.split('[^\-a-zA-Z0-9_]+', line) - probe = words[2] - py_probe = probe.replace('-', '_') - z3tactics.write('def %s_probe(ctx=None):\n' % py_probe) - z3tactics.write(' ctx = z3._get_ctx(ctx)\n') - z3tactics.write(' return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), \'%s\'), ctx)\n\n' % probe) - diff --git a/python/z3consts.py b/python/z3consts.py index 808e9aac7..caa7daf4d 100644 --- a/python/z3consts.py +++ b/python/z3consts.py @@ -1,241 +1,241 @@ -# Automatically generated file, generator: mk_z3consts.py - -# enum Z3_lbool -Z3_L_TRUE = 1 -Z3_L_UNDEF = 0 -Z3_L_FALSE = -1 - -# enum Z3_symbol_kind -Z3_INT_SYMBOL = 0 -Z3_STRING_SYMBOL = 1 - -# enum Z3_parameter_kind -Z3_PARAMETER_FUNC_DECL = 6 -Z3_PARAMETER_DOUBLE = 1 -Z3_PARAMETER_SYMBOL = 3 -Z3_PARAMETER_INT = 0 -Z3_PARAMETER_AST = 5 -Z3_PARAMETER_SORT = 4 -Z3_PARAMETER_RATIONAL = 2 - -# enum Z3_sort_kind -Z3_BV_SORT = 4 -Z3_FINITE_DOMAIN_SORT = 8 -Z3_ARRAY_SORT = 5 -Z3_UNKNOWN_SORT = 1000 -Z3_RELATION_SORT = 7 -Z3_REAL_SORT = 3 -Z3_INT_SORT = 2 -Z3_UNINTERPRETED_SORT = 0 -Z3_BOOL_SORT = 1 -Z3_DATATYPE_SORT = 6 - -# enum Z3_ast_kind -Z3_VAR_AST = 2 -Z3_SORT_AST = 4 -Z3_QUANTIFIER_AST = 3 -Z3_UNKNOWN_AST = 1000 -Z3_FUNC_DECL_AST = 5 -Z3_NUMERAL_AST = 0 -Z3_APP_AST = 1 - -# enum Z3_decl_kind -Z3_OP_LABEL = 1792 -Z3_OP_PR_REWRITE = 1294 -Z3_OP_UNINTERPRETED = 2051 -Z3_OP_SUB = 519 -Z3_OP_ZERO_EXT = 1058 -Z3_OP_ADD = 518 -Z3_OP_IS_INT = 528 -Z3_OP_BREDOR = 1061 -Z3_OP_BNOT = 1051 -Z3_OP_BNOR = 1054 -Z3_OP_PR_CNF_STAR = 1315 -Z3_OP_RA_JOIN = 1539 -Z3_OP_LE = 514 -Z3_OP_SET_UNION = 773 -Z3_OP_PR_UNDEF = 1280 -Z3_OP_BREDAND = 1062 -Z3_OP_LT = 516 -Z3_OP_RA_UNION = 1540 -Z3_OP_BADD = 1028 -Z3_OP_BUREM0 = 1039 -Z3_OP_OEQ = 267 -Z3_OP_PR_MODUS_PONENS = 1284 -Z3_OP_RA_CLONE = 1548 -Z3_OP_REPEAT = 1060 -Z3_OP_RA_NEGATION_FILTER = 1544 -Z3_OP_BSMOD0 = 1040 -Z3_OP_BLSHR = 1065 -Z3_OP_BASHR = 1066 -Z3_OP_PR_UNIT_RESOLUTION = 1304 -Z3_OP_ROTATE_RIGHT = 1068 -Z3_OP_ARRAY_DEFAULT = 772 -Z3_OP_PR_PULL_QUANT = 1296 -Z3_OP_PR_APPLY_DEF = 1310 -Z3_OP_PR_REWRITE_STAR = 1295 -Z3_OP_IDIV = 523 -Z3_OP_PR_GOAL = 1283 -Z3_OP_PR_IFF_TRUE = 1305 -Z3_OP_LABEL_LIT = 1793 -Z3_OP_BOR = 1050 -Z3_OP_PR_SYMMETRY = 1286 -Z3_OP_TRUE = 256 -Z3_OP_SET_COMPLEMENT = 776 -Z3_OP_CONCAT = 1056 -Z3_OP_PR_NOT_OR_ELIM = 1293 -Z3_OP_IFF = 263 -Z3_OP_BSHL = 1064 -Z3_OP_PR_TRANSITIVITY = 1287 -Z3_OP_SGT = 1048 -Z3_OP_RA_WIDEN = 1541 -Z3_OP_PR_DEF_INTRO = 1309 -Z3_OP_NOT = 265 -Z3_OP_PR_QUANT_INTRO = 1290 -Z3_OP_UGT = 1047 -Z3_OP_DT_RECOGNISER = 2049 -Z3_OP_SET_INTERSECT = 774 -Z3_OP_BSREM = 1033 -Z3_OP_RA_STORE = 1536 -Z3_OP_SLT = 1046 -Z3_OP_ROTATE_LEFT = 1067 -Z3_OP_PR_NNF_NEG = 1313 -Z3_OP_PR_REFLEXIVITY = 1285 -Z3_OP_ULEQ = 1041 -Z3_OP_BIT1 = 1025 -Z3_OP_BIT0 = 1026 -Z3_OP_EQ = 258 -Z3_OP_BMUL = 1030 -Z3_OP_ARRAY_MAP = 771 -Z3_OP_STORE = 768 -Z3_OP_PR_HYPOTHESIS = 1302 -Z3_OP_RA_RENAME = 1545 -Z3_OP_AND = 261 -Z3_OP_TO_REAL = 526 -Z3_OP_PR_NNF_POS = 1312 -Z3_OP_PR_AND_ELIM = 1292 -Z3_OP_MOD = 525 -Z3_OP_BUDIV0 = 1037 -Z3_OP_PR_TRUE = 1281 -Z3_OP_BNAND = 1053 -Z3_OP_PR_ELIM_UNUSED_VARS = 1299 -Z3_OP_RA_FILTER = 1543 -Z3_OP_FD_LT = 1549 -Z3_OP_RA_EMPTY = 1537 -Z3_OP_DIV = 522 -Z3_OP_ANUM = 512 -Z3_OP_MUL = 521 -Z3_OP_UGEQ = 1043 -Z3_OP_BSREM0 = 1038 -Z3_OP_PR_TH_LEMMA = 1318 -Z3_OP_BXOR = 1052 -Z3_OP_DISTINCT = 259 -Z3_OP_PR_IFF_FALSE = 1306 -Z3_OP_BV2INT = 1072 -Z3_OP_EXT_ROTATE_LEFT = 1069 -Z3_OP_PR_PULL_QUANT_STAR = 1297 -Z3_OP_BSUB = 1029 -Z3_OP_PR_ASSERTED = 1282 -Z3_OP_BXNOR = 1055 -Z3_OP_EXTRACT = 1059 -Z3_OP_PR_DER = 1300 -Z3_OP_DT_CONSTRUCTOR = 2048 -Z3_OP_GT = 517 -Z3_OP_BUREM = 1034 -Z3_OP_IMPLIES = 266 -Z3_OP_SLEQ = 1042 -Z3_OP_GE = 515 -Z3_OP_BAND = 1049 -Z3_OP_ITE = 260 -Z3_OP_AS_ARRAY = 778 -Z3_OP_RA_SELECT = 1547 -Z3_OP_CONST_ARRAY = 770 -Z3_OP_BSDIV = 1031 -Z3_OP_OR = 262 -Z3_OP_PR_HYPER_RESOLVE = 1319 -Z3_OP_AGNUM = 513 -Z3_OP_PR_PUSH_QUANT = 1298 -Z3_OP_BSMOD = 1035 -Z3_OP_PR_IFF_OEQ = 1311 -Z3_OP_PR_LEMMA = 1303 -Z3_OP_SET_SUBSET = 777 -Z3_OP_SELECT = 769 -Z3_OP_RA_PROJECT = 1542 -Z3_OP_BNEG = 1027 -Z3_OP_UMINUS = 520 -Z3_OP_REM = 524 -Z3_OP_TO_INT = 527 -Z3_OP_PR_QUANT_INST = 1301 -Z3_OP_SGEQ = 1044 -Z3_OP_POWER = 529 -Z3_OP_XOR3 = 1074 -Z3_OP_RA_IS_EMPTY = 1538 -Z3_OP_CARRY = 1073 -Z3_OP_DT_ACCESSOR = 2050 -Z3_OP_PR_TRANSITIVITY_STAR = 1288 -Z3_OP_PR_NNF_STAR = 1314 -Z3_OP_PR_COMMUTATIVITY = 1307 -Z3_OP_ULT = 1045 -Z3_OP_BSDIV0 = 1036 -Z3_OP_SET_DIFFERENCE = 775 -Z3_OP_INT2BV = 1071 -Z3_OP_XOR = 264 -Z3_OP_PR_MODUS_PONENS_OEQ = 1317 -Z3_OP_BNUM = 1024 -Z3_OP_BUDIV = 1032 -Z3_OP_PR_MONOTONICITY = 1289 -Z3_OP_PR_DEF_AXIOM = 1308 -Z3_OP_FALSE = 257 -Z3_OP_EXT_ROTATE_RIGHT = 1070 -Z3_OP_PR_DISTRIBUTIVITY = 1291 -Z3_OP_SIGN_EXT = 1057 -Z3_OP_PR_SKOLEMIZE = 1316 -Z3_OP_BCOMP = 1063 -Z3_OP_RA_COMPLEMENT = 1546 - -# enum Z3_param_kind -Z3_PK_BOOL = 1 -Z3_PK_SYMBOL = 3 -Z3_PK_OTHER = 5 -Z3_PK_INVALID = 6 -Z3_PK_UINT = 0 -Z3_PK_STRING = 4 -Z3_PK_DOUBLE = 2 - -# enum Z3_search_failure -Z3_QUANTIFIERS = 7 -Z3_UNKNOWN = 1 -Z3_CANCELED = 4 -Z3_MEMOUT_WATERMARK = 3 -Z3_THEORY = 6 -Z3_NO_FAILURE = 0 -Z3_TIMEOUT = 2 -Z3_NUM_CONFLICTS = 5 - -# enum Z3_ast_print_mode -Z3_PRINT_SMTLIB2_COMPLIANT = 3 -Z3_PRINT_SMTLIB_COMPLIANT = 2 -Z3_PRINT_SMTLIB_FULL = 0 -Z3_PRINT_LOW_LEVEL = 1 - -# enum Z3_error_code -Z3_INVALID_PATTERN = 6 -Z3_MEMOUT_FAIL = 7 -Z3_NO_PARSER = 5 -Z3_OK = 0 -Z3_INVALID_ARG = 3 -Z3_EXCEPTION = 12 -Z3_IOB = 2 -Z3_INTERNAL_FATAL = 9 -Z3_INVALID_USAGE = 10 -Z3_FILE_ACCESS_ERROR = 8 -Z3_SORT_ERROR = 1 -Z3_PARSER_ERROR = 4 -Z3_DEC_REF_ERROR = 11 - -# enum Z3_goal_prec -Z3_GOAL_UNDER = 1 -Z3_GOAL_PRECISE = 0 -Z3_GOAL_UNDER_OVER = 3 -Z3_GOAL_OVER = 2 - +# Automatically generated file, generator: update_api.py + +# enum Z3_lbool +Z3_L_TRUE = 1 +Z3_L_UNDEF = 0 +Z3_L_FALSE = -1 + +# enum Z3_symbol_kind +Z3_INT_SYMBOL = 0 +Z3_STRING_SYMBOL = 1 + +# enum Z3_parameter_kind +Z3_PARAMETER_FUNC_DECL = 6 +Z3_PARAMETER_DOUBLE = 1 +Z3_PARAMETER_SYMBOL = 3 +Z3_PARAMETER_INT = 0 +Z3_PARAMETER_AST = 5 +Z3_PARAMETER_SORT = 4 +Z3_PARAMETER_RATIONAL = 2 + +# enum Z3_sort_kind +Z3_BV_SORT = 4 +Z3_FINITE_DOMAIN_SORT = 8 +Z3_ARRAY_SORT = 5 +Z3_UNKNOWN_SORT = 1000 +Z3_RELATION_SORT = 7 +Z3_REAL_SORT = 3 +Z3_INT_SORT = 2 +Z3_UNINTERPRETED_SORT = 0 +Z3_BOOL_SORT = 1 +Z3_DATATYPE_SORT = 6 + +# enum Z3_ast_kind +Z3_VAR_AST = 2 +Z3_SORT_AST = 4 +Z3_QUANTIFIER_AST = 3 +Z3_UNKNOWN_AST = 1000 +Z3_FUNC_DECL_AST = 5 +Z3_NUMERAL_AST = 0 +Z3_APP_AST = 1 + +# enum Z3_decl_kind +Z3_OP_LABEL = 1792 +Z3_OP_PR_REWRITE = 1294 +Z3_OP_UNINTERPRETED = 2051 +Z3_OP_SUB = 519 +Z3_OP_ZERO_EXT = 1058 +Z3_OP_ADD = 518 +Z3_OP_IS_INT = 528 +Z3_OP_BREDOR = 1061 +Z3_OP_BNOT = 1051 +Z3_OP_BNOR = 1054 +Z3_OP_PR_CNF_STAR = 1315 +Z3_OP_RA_JOIN = 1539 +Z3_OP_LE = 514 +Z3_OP_SET_UNION = 773 +Z3_OP_PR_UNDEF = 1280 +Z3_OP_BREDAND = 1062 +Z3_OP_LT = 516 +Z3_OP_RA_UNION = 1540 +Z3_OP_BADD = 1028 +Z3_OP_BUREM0 = 1039 +Z3_OP_OEQ = 267 +Z3_OP_PR_MODUS_PONENS = 1284 +Z3_OP_RA_CLONE = 1548 +Z3_OP_REPEAT = 1060 +Z3_OP_RA_NEGATION_FILTER = 1544 +Z3_OP_BSMOD0 = 1040 +Z3_OP_BLSHR = 1065 +Z3_OP_BASHR = 1066 +Z3_OP_PR_UNIT_RESOLUTION = 1304 +Z3_OP_ROTATE_RIGHT = 1068 +Z3_OP_ARRAY_DEFAULT = 772 +Z3_OP_PR_PULL_QUANT = 1296 +Z3_OP_PR_APPLY_DEF = 1310 +Z3_OP_PR_REWRITE_STAR = 1295 +Z3_OP_IDIV = 523 +Z3_OP_PR_GOAL = 1283 +Z3_OP_PR_IFF_TRUE = 1305 +Z3_OP_LABEL_LIT = 1793 +Z3_OP_BOR = 1050 +Z3_OP_PR_SYMMETRY = 1286 +Z3_OP_TRUE = 256 +Z3_OP_SET_COMPLEMENT = 776 +Z3_OP_CONCAT = 1056 +Z3_OP_PR_NOT_OR_ELIM = 1293 +Z3_OP_IFF = 263 +Z3_OP_BSHL = 1064 +Z3_OP_PR_TRANSITIVITY = 1287 +Z3_OP_SGT = 1048 +Z3_OP_RA_WIDEN = 1541 +Z3_OP_PR_DEF_INTRO = 1309 +Z3_OP_NOT = 265 +Z3_OP_PR_QUANT_INTRO = 1290 +Z3_OP_UGT = 1047 +Z3_OP_DT_RECOGNISER = 2049 +Z3_OP_SET_INTERSECT = 774 +Z3_OP_BSREM = 1033 +Z3_OP_RA_STORE = 1536 +Z3_OP_SLT = 1046 +Z3_OP_ROTATE_LEFT = 1067 +Z3_OP_PR_NNF_NEG = 1313 +Z3_OP_PR_REFLEXIVITY = 1285 +Z3_OP_ULEQ = 1041 +Z3_OP_BIT1 = 1025 +Z3_OP_BIT0 = 1026 +Z3_OP_EQ = 258 +Z3_OP_BMUL = 1030 +Z3_OP_ARRAY_MAP = 771 +Z3_OP_STORE = 768 +Z3_OP_PR_HYPOTHESIS = 1302 +Z3_OP_RA_RENAME = 1545 +Z3_OP_AND = 261 +Z3_OP_TO_REAL = 526 +Z3_OP_PR_NNF_POS = 1312 +Z3_OP_PR_AND_ELIM = 1292 +Z3_OP_MOD = 525 +Z3_OP_BUDIV0 = 1037 +Z3_OP_PR_TRUE = 1281 +Z3_OP_BNAND = 1053 +Z3_OP_PR_ELIM_UNUSED_VARS = 1299 +Z3_OP_RA_FILTER = 1543 +Z3_OP_FD_LT = 1549 +Z3_OP_RA_EMPTY = 1537 +Z3_OP_DIV = 522 +Z3_OP_ANUM = 512 +Z3_OP_MUL = 521 +Z3_OP_UGEQ = 1043 +Z3_OP_BSREM0 = 1038 +Z3_OP_PR_TH_LEMMA = 1318 +Z3_OP_BXOR = 1052 +Z3_OP_DISTINCT = 259 +Z3_OP_PR_IFF_FALSE = 1306 +Z3_OP_BV2INT = 1072 +Z3_OP_EXT_ROTATE_LEFT = 1069 +Z3_OP_PR_PULL_QUANT_STAR = 1297 +Z3_OP_BSUB = 1029 +Z3_OP_PR_ASSERTED = 1282 +Z3_OP_BXNOR = 1055 +Z3_OP_EXTRACT = 1059 +Z3_OP_PR_DER = 1300 +Z3_OP_DT_CONSTRUCTOR = 2048 +Z3_OP_GT = 517 +Z3_OP_BUREM = 1034 +Z3_OP_IMPLIES = 266 +Z3_OP_SLEQ = 1042 +Z3_OP_GE = 515 +Z3_OP_BAND = 1049 +Z3_OP_ITE = 260 +Z3_OP_AS_ARRAY = 778 +Z3_OP_RA_SELECT = 1547 +Z3_OP_CONST_ARRAY = 770 +Z3_OP_BSDIV = 1031 +Z3_OP_OR = 262 +Z3_OP_PR_HYPER_RESOLVE = 1319 +Z3_OP_AGNUM = 513 +Z3_OP_PR_PUSH_QUANT = 1298 +Z3_OP_BSMOD = 1035 +Z3_OP_PR_IFF_OEQ = 1311 +Z3_OP_PR_LEMMA = 1303 +Z3_OP_SET_SUBSET = 777 +Z3_OP_SELECT = 769 +Z3_OP_RA_PROJECT = 1542 +Z3_OP_BNEG = 1027 +Z3_OP_UMINUS = 520 +Z3_OP_REM = 524 +Z3_OP_TO_INT = 527 +Z3_OP_PR_QUANT_INST = 1301 +Z3_OP_SGEQ = 1044 +Z3_OP_POWER = 529 +Z3_OP_XOR3 = 1074 +Z3_OP_RA_IS_EMPTY = 1538 +Z3_OP_CARRY = 1073 +Z3_OP_DT_ACCESSOR = 2050 +Z3_OP_PR_TRANSITIVITY_STAR = 1288 +Z3_OP_PR_NNF_STAR = 1314 +Z3_OP_PR_COMMUTATIVITY = 1307 +Z3_OP_ULT = 1045 +Z3_OP_BSDIV0 = 1036 +Z3_OP_SET_DIFFERENCE = 775 +Z3_OP_INT2BV = 1071 +Z3_OP_XOR = 264 +Z3_OP_PR_MODUS_PONENS_OEQ = 1317 +Z3_OP_BNUM = 1024 +Z3_OP_BUDIV = 1032 +Z3_OP_PR_MONOTONICITY = 1289 +Z3_OP_PR_DEF_AXIOM = 1308 +Z3_OP_FALSE = 257 +Z3_OP_EXT_ROTATE_RIGHT = 1070 +Z3_OP_PR_DISTRIBUTIVITY = 1291 +Z3_OP_SIGN_EXT = 1057 +Z3_OP_PR_SKOLEMIZE = 1316 +Z3_OP_BCOMP = 1063 +Z3_OP_RA_COMPLEMENT = 1546 + +# enum Z3_param_kind +Z3_PK_BOOL = 1 +Z3_PK_SYMBOL = 3 +Z3_PK_OTHER = 5 +Z3_PK_INVALID = 6 +Z3_PK_UINT = 0 +Z3_PK_STRING = 4 +Z3_PK_DOUBLE = 2 + +# enum Z3_search_failure +Z3_QUANTIFIERS = 7 +Z3_UNKNOWN = 1 +Z3_CANCELED = 4 +Z3_MEMOUT_WATERMARK = 3 +Z3_THEORY = 6 +Z3_NO_FAILURE = 0 +Z3_TIMEOUT = 2 +Z3_NUM_CONFLICTS = 5 + +# enum Z3_ast_print_mode +Z3_PRINT_SMTLIB2_COMPLIANT = 3 +Z3_PRINT_SMTLIB_COMPLIANT = 2 +Z3_PRINT_SMTLIB_FULL = 0 +Z3_PRINT_LOW_LEVEL = 1 + +# enum Z3_error_code +Z3_INVALID_PATTERN = 6 +Z3_MEMOUT_FAIL = 7 +Z3_NO_PARSER = 5 +Z3_OK = 0 +Z3_INVALID_ARG = 3 +Z3_EXCEPTION = 12 +Z3_IOB = 2 +Z3_INTERNAL_FATAL = 9 +Z3_INVALID_USAGE = 10 +Z3_FILE_ACCESS_ERROR = 8 +Z3_SORT_ERROR = 1 +Z3_PARSER_ERROR = 4 +Z3_DEC_REF_ERROR = 11 + +# enum Z3_goal_prec +Z3_GOAL_UNDER = 1 +Z3_GOAL_PRECISE = 0 +Z3_GOAL_UNDER_OVER = 3 +Z3_GOAL_OVER = 2 + diff --git a/python/z3core.py b/python/z3core.py index 5ae71a35d..3086d8784 100644 --- a/python/z3core.py +++ b/python/z3core.py @@ -1,4144 +1,4130 @@ -# Automatically generated file, generator: api.py -import sys, os -import ctypes -from z3types import * -from z3consts import * - -def _find_lib(): - _dir = os.path.dirname(os.path.abspath(__file__)) - libs = ['z3.dll', 'libz3.so', 'libz3.dylib'] - if sys.maxsize > 2**32: - locs = [_dir, '%s%s..%sx64%sexternal' % (_dir, os.sep, os.sep, os.sep), '%s%s..%sbin%sexternal' % (_dir, os.sep, os.sep, os.sep)] - else: - locs = [_dir, '%s%s..%sexternal' % (_dir, os.sep, os.sep), '%s%s..%sbin%sexternal' % (_dir, os.sep, os.sep, os.sep)] - for loc in locs: - for lib in libs: - f = '%s%s%s' % (loc, os.sep, lib) - if os.path.exists(f): - return f - return None - -_lib = None -def lib(): - if _lib == None: - l = _find_lib() - if l == None: - raise Z3Exception("init(Z3_LIBRARY_PATH) must be invoked before using Z3-python") - init(l) - assert _lib != None - return _lib - -def init(PATH): - global _lib - _lib = ctypes.CDLL(PATH) - _lib.Z3_mk_config.restype = Config - _lib.Z3_mk_config.argtypes = [] - _lib.Z3_del_config.argtypes = [Config] - _lib.Z3_set_param_value.argtypes = [Config, ctypes.c_char_p, ctypes.c_char_p] - _lib.Z3_mk_context.restype = ContextObj - _lib.Z3_mk_context.argtypes = [Config] - _lib.Z3_mk_context_rc.restype = ContextObj - _lib.Z3_mk_context_rc.argtypes = [Config] - _lib.Z3_set_logic.argtypes = [ContextObj, ctypes.c_char_p] - _lib.Z3_del_context.argtypes = [ContextObj] - _lib.Z3_inc_ref.argtypes = [ContextObj, Ast] - _lib.Z3_dec_ref.argtypes = [ContextObj, Ast] - _lib.Z3_toggle_warning_messages.argtypes = [ctypes.c_bool] - _lib.Z3_update_param_value.argtypes = [ContextObj, ctypes.c_char_p, ctypes.c_char_p] - _lib.Z3_get_param_value.restype = ctypes.c_bool - _lib.Z3_get_param_value.argtypes = [ContextObj, ctypes.c_char_p, ctypes.POINTER(ctypes.c_char_p)] - _lib.Z3_mk_int_symbol.restype = Symbol - _lib.Z3_mk_int_symbol.argtypes = [ContextObj, ctypes.c_int] - _lib.Z3_mk_string_symbol.restype = Symbol - _lib.Z3_mk_string_symbol.argtypes = [ContextObj, ctypes.c_char_p] - _lib.Z3_is_eq_sort.restype = ctypes.c_bool - _lib.Z3_is_eq_sort.argtypes = [ContextObj, Sort, Sort] - _lib.Z3_mk_uninterpreted_sort.restype = Sort - _lib.Z3_mk_uninterpreted_sort.argtypes = [ContextObj, Symbol] - _lib.Z3_mk_bool_sort.restype = Sort - _lib.Z3_mk_bool_sort.argtypes = [ContextObj] - _lib.Z3_mk_int_sort.restype = Sort - _lib.Z3_mk_int_sort.argtypes = [ContextObj] - _lib.Z3_mk_real_sort.restype = Sort - _lib.Z3_mk_real_sort.argtypes = [ContextObj] - _lib.Z3_mk_bv_sort.restype = Sort - _lib.Z3_mk_bv_sort.argtypes = [ContextObj, ctypes.c_uint] - _lib.Z3_mk_array_sort.restype = Sort - _lib.Z3_mk_array_sort.argtypes = [ContextObj, Sort, Sort] - _lib.Z3_mk_tuple_sort.restype = Sort - _lib.Z3_mk_tuple_sort.argtypes = [ContextObj, Symbol, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(Sort), ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl)] - _lib.Z3_mk_enumeration_sort.restype = Sort - _lib.Z3_mk_enumeration_sort.argtypes = [ContextObj, Symbol, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl)] - _lib.Z3_mk_list_sort.restype = Sort - _lib.Z3_mk_list_sort.argtypes = [ContextObj, Symbol, Sort, ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl)] - _lib.Z3_mk_constructor.restype = Constructor - _lib.Z3_mk_constructor.argtypes = [ContextObj, Symbol, Symbol, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(Sort), ctypes.POINTER(ctypes.c_uint)] - _lib.Z3_query_constructor.argtypes = [ContextObj, Constructor, ctypes.c_uint, ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl)] - _lib.Z3_del_constructor.argtypes = [ContextObj, Constructor] - _lib.Z3_mk_datatype.restype = Sort - _lib.Z3_mk_datatype.argtypes = [ContextObj, Symbol, ctypes.c_uint, ctypes.POINTER(Constructor)] - _lib.Z3_mk_constructor_list.restype = ConstructorList - _lib.Z3_mk_constructor_list.argtypes = [ContextObj, ctypes.c_uint, ctypes.POINTER(Constructor)] - _lib.Z3_del_constructor_list.argtypes = [ContextObj, ConstructorList] - _lib.Z3_mk_datatypes.argtypes = [ContextObj, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(Sort), ctypes.POINTER(ConstructorList)] - _lib.Z3_is_eq_ast.restype = ctypes.c_bool - _lib.Z3_is_eq_ast.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_is_eq_func_decl.restype = ctypes.c_bool - _lib.Z3_is_eq_func_decl.argtypes = [ContextObj, FuncDecl, FuncDecl] - _lib.Z3_mk_func_decl.restype = FuncDecl - _lib.Z3_mk_func_decl.argtypes = [ContextObj, Symbol, ctypes.c_uint, ctypes.POINTER(Sort), Sort] - _lib.Z3_mk_app.restype = Ast - _lib.Z3_mk_app.argtypes = [ContextObj, FuncDecl, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_mk_const.restype = Ast - _lib.Z3_mk_const.argtypes = [ContextObj, Symbol, Sort] - _lib.Z3_mk_label.restype = Ast - _lib.Z3_mk_label.argtypes = [ContextObj, Symbol, ctypes.c_bool, Ast] - _lib.Z3_mk_fresh_func_decl.restype = FuncDecl - _lib.Z3_mk_fresh_func_decl.argtypes = [ContextObj, ctypes.c_char_p, ctypes.c_uint, ctypes.POINTER(Sort), Sort] - _lib.Z3_mk_fresh_const.restype = Ast - _lib.Z3_mk_fresh_const.argtypes = [ContextObj, ctypes.c_char_p, Sort] - _lib.Z3_mk_true.restype = Ast - _lib.Z3_mk_true.argtypes = [ContextObj] - _lib.Z3_mk_false.restype = Ast - _lib.Z3_mk_false.argtypes = [ContextObj] - _lib.Z3_mk_eq.restype = Ast - _lib.Z3_mk_eq.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_distinct.restype = Ast - _lib.Z3_mk_distinct.argtypes = [ContextObj, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_mk_not.restype = Ast - _lib.Z3_mk_not.argtypes = [ContextObj, Ast] - _lib.Z3_mk_ite.restype = Ast - _lib.Z3_mk_ite.argtypes = [ContextObj, Ast, Ast, Ast] - _lib.Z3_mk_iff.restype = Ast - _lib.Z3_mk_iff.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_implies.restype = Ast - _lib.Z3_mk_implies.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_xor.restype = Ast - _lib.Z3_mk_xor.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_and.restype = Ast - _lib.Z3_mk_and.argtypes = [ContextObj, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_mk_or.restype = Ast - _lib.Z3_mk_or.argtypes = [ContextObj, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_mk_add.restype = Ast - _lib.Z3_mk_add.argtypes = [ContextObj, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_mk_mul.restype = Ast - _lib.Z3_mk_mul.argtypes = [ContextObj, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_mk_sub.restype = Ast - _lib.Z3_mk_sub.argtypes = [ContextObj, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_mk_unary_minus.restype = Ast - _lib.Z3_mk_unary_minus.argtypes = [ContextObj, Ast] - _lib.Z3_mk_div.restype = Ast - _lib.Z3_mk_div.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_mod.restype = Ast - _lib.Z3_mk_mod.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_rem.restype = Ast - _lib.Z3_mk_rem.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_power.restype = Ast - _lib.Z3_mk_power.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_is_algebraic_number.restype = ctypes.c_bool - _lib.Z3_is_algebraic_number.argtypes = [ContextObj, Ast] - _lib.Z3_get_algebraic_number_lower.restype = Ast - _lib.Z3_get_algebraic_number_lower.argtypes = [ContextObj, Ast, ctypes.c_uint] - _lib.Z3_get_algebraic_number_upper.restype = Ast - _lib.Z3_get_algebraic_number_upper.argtypes = [ContextObj, Ast, ctypes.c_uint] - _lib.Z3_mk_lt.restype = Ast - _lib.Z3_mk_lt.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_le.restype = Ast - _lib.Z3_mk_le.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_gt.restype = Ast - _lib.Z3_mk_gt.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_ge.restype = Ast - _lib.Z3_mk_ge.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_int2real.restype = Ast - _lib.Z3_mk_int2real.argtypes = [ContextObj, Ast] - _lib.Z3_mk_real2int.restype = Ast - _lib.Z3_mk_real2int.argtypes = [ContextObj, Ast] - _lib.Z3_mk_is_int.restype = Ast - _lib.Z3_mk_is_int.argtypes = [ContextObj, Ast] - _lib.Z3_mk_bvnot.restype = Ast - _lib.Z3_mk_bvnot.argtypes = [ContextObj, Ast] - _lib.Z3_mk_bvredand.restype = Ast - _lib.Z3_mk_bvredand.argtypes = [ContextObj, Ast] - _lib.Z3_mk_bvredor.restype = Ast - _lib.Z3_mk_bvredor.argtypes = [ContextObj, Ast] - _lib.Z3_mk_bvand.restype = Ast - _lib.Z3_mk_bvand.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvor.restype = Ast - _lib.Z3_mk_bvor.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvxor.restype = Ast - _lib.Z3_mk_bvxor.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvnand.restype = Ast - _lib.Z3_mk_bvnand.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvnor.restype = Ast - _lib.Z3_mk_bvnor.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvxnor.restype = Ast - _lib.Z3_mk_bvxnor.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvneg.restype = Ast - _lib.Z3_mk_bvneg.argtypes = [ContextObj, Ast] - _lib.Z3_mk_bvadd.restype = Ast - _lib.Z3_mk_bvadd.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvsub.restype = Ast - _lib.Z3_mk_bvsub.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvmul.restype = Ast - _lib.Z3_mk_bvmul.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvudiv.restype = Ast - _lib.Z3_mk_bvudiv.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvsdiv.restype = Ast - _lib.Z3_mk_bvsdiv.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvurem.restype = Ast - _lib.Z3_mk_bvurem.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvsrem.restype = Ast - _lib.Z3_mk_bvsrem.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvsmod.restype = Ast - _lib.Z3_mk_bvsmod.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvult.restype = Ast - _lib.Z3_mk_bvult.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvslt.restype = Ast - _lib.Z3_mk_bvslt.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvule.restype = Ast - _lib.Z3_mk_bvule.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvsle.restype = Ast - _lib.Z3_mk_bvsle.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvuge.restype = Ast - _lib.Z3_mk_bvuge.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvsge.restype = Ast - _lib.Z3_mk_bvsge.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvugt.restype = Ast - _lib.Z3_mk_bvugt.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvsgt.restype = Ast - _lib.Z3_mk_bvsgt.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_concat.restype = Ast - _lib.Z3_mk_concat.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_extract.restype = Ast - _lib.Z3_mk_extract.argtypes = [ContextObj, ctypes.c_uint, ctypes.c_uint, Ast] - _lib.Z3_mk_sign_ext.restype = Ast - _lib.Z3_mk_sign_ext.argtypes = [ContextObj, ctypes.c_uint, Ast] - _lib.Z3_mk_zero_ext.restype = Ast - _lib.Z3_mk_zero_ext.argtypes = [ContextObj, ctypes.c_uint, Ast] - _lib.Z3_mk_repeat.restype = Ast - _lib.Z3_mk_repeat.argtypes = [ContextObj, ctypes.c_uint, Ast] - _lib.Z3_mk_bvshl.restype = Ast - _lib.Z3_mk_bvshl.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvlshr.restype = Ast - _lib.Z3_mk_bvlshr.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvashr.restype = Ast - _lib.Z3_mk_bvashr.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_rotate_left.restype = Ast - _lib.Z3_mk_rotate_left.argtypes = [ContextObj, ctypes.c_uint, Ast] - _lib.Z3_mk_rotate_right.restype = Ast - _lib.Z3_mk_rotate_right.argtypes = [ContextObj, ctypes.c_uint, Ast] - _lib.Z3_mk_ext_rotate_left.restype = Ast - _lib.Z3_mk_ext_rotate_left.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_ext_rotate_right.restype = Ast - _lib.Z3_mk_ext_rotate_right.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_int2bv.restype = Ast - _lib.Z3_mk_int2bv.argtypes = [ContextObj, ctypes.c_uint, Ast] - _lib.Z3_mk_bv2int.restype = Ast - _lib.Z3_mk_bv2int.argtypes = [ContextObj, Ast, ctypes.c_bool] - _lib.Z3_mk_bvadd_no_overflow.restype = Ast - _lib.Z3_mk_bvadd_no_overflow.argtypes = [ContextObj, Ast, Ast, ctypes.c_bool] - _lib.Z3_mk_bvadd_no_underflow.restype = Ast - _lib.Z3_mk_bvadd_no_underflow.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvsub_no_overflow.restype = Ast - _lib.Z3_mk_bvsub_no_overflow.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvsub_no_underflow.restype = Ast - _lib.Z3_mk_bvsub_no_underflow.argtypes = [ContextObj, Ast, Ast, ctypes.c_bool] - _lib.Z3_mk_bvsdiv_no_overflow.restype = Ast - _lib.Z3_mk_bvsdiv_no_overflow.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_bvneg_no_overflow.restype = Ast - _lib.Z3_mk_bvneg_no_overflow.argtypes = [ContextObj, Ast] - _lib.Z3_mk_bvmul_no_overflow.restype = Ast - _lib.Z3_mk_bvmul_no_overflow.argtypes = [ContextObj, Ast, Ast, ctypes.c_bool] - _lib.Z3_mk_bvmul_no_underflow.restype = Ast - _lib.Z3_mk_bvmul_no_underflow.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_select.restype = Ast - _lib.Z3_mk_select.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_store.restype = Ast - _lib.Z3_mk_store.argtypes = [ContextObj, Ast, Ast, Ast] - _lib.Z3_mk_const_array.restype = Ast - _lib.Z3_mk_const_array.argtypes = [ContextObj, Sort, Ast] - _lib.Z3_mk_map.restype = Ast - _lib.Z3_mk_map.argtypes = [ContextObj, FuncDecl, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_mk_array_default.restype = Ast - _lib.Z3_mk_array_default.argtypes = [ContextObj, Ast] - _lib.Z3_mk_set_sort.restype = Sort - _lib.Z3_mk_set_sort.argtypes = [ContextObj, Sort] - _lib.Z3_mk_empty_set.restype = Ast - _lib.Z3_mk_empty_set.argtypes = [ContextObj, Sort] - _lib.Z3_mk_full_set.restype = Ast - _lib.Z3_mk_full_set.argtypes = [ContextObj, Sort] - _lib.Z3_mk_set_add.restype = Ast - _lib.Z3_mk_set_add.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_set_del.restype = Ast - _lib.Z3_mk_set_del.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_set_union.restype = Ast - _lib.Z3_mk_set_union.argtypes = [ContextObj, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_mk_set_intersect.restype = Ast - _lib.Z3_mk_set_intersect.argtypes = [ContextObj, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_mk_set_difference.restype = Ast - _lib.Z3_mk_set_difference.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_set_complement.restype = Ast - _lib.Z3_mk_set_complement.argtypes = [ContextObj, Ast] - _lib.Z3_mk_set_member.restype = Ast - _lib.Z3_mk_set_member.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_set_subset.restype = Ast - _lib.Z3_mk_set_subset.argtypes = [ContextObj, Ast, Ast] - _lib.Z3_mk_numeral.restype = Ast - _lib.Z3_mk_numeral.argtypes = [ContextObj, ctypes.c_char_p, Sort] - _lib.Z3_mk_real.restype = Ast - _lib.Z3_mk_real.argtypes = [ContextObj, ctypes.c_int, ctypes.c_int] - _lib.Z3_mk_int.restype = Ast - _lib.Z3_mk_int.argtypes = [ContextObj, ctypes.c_int, Sort] - _lib.Z3_mk_unsigned_int.restype = Ast - _lib.Z3_mk_unsigned_int.argtypes = [ContextObj, ctypes.c_uint, Sort] - _lib.Z3_mk_int64.restype = Ast - _lib.Z3_mk_int64.argtypes = [ContextObj, ctypes.c_longlong, Sort] - _lib.Z3_mk_unsigned_int64.restype = Ast - _lib.Z3_mk_unsigned_int64.argtypes = [ContextObj, ctypes.c_ulonglong, Sort] - _lib.Z3_mk_pattern.restype = Pattern - _lib.Z3_mk_pattern.argtypes = [ContextObj, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_mk_bound.restype = Ast - _lib.Z3_mk_bound.argtypes = [ContextObj, ctypes.c_uint, Sort] - _lib.Z3_mk_forall.restype = Ast - _lib.Z3_mk_forall.argtypes = [ContextObj, ctypes.c_uint, ctypes.c_uint, ctypes.POINTER(Pattern), ctypes.c_uint, ctypes.POINTER(Sort), ctypes.POINTER(Symbol), Ast] - _lib.Z3_mk_exists.restype = Ast - _lib.Z3_mk_exists.argtypes = [ContextObj, ctypes.c_uint, ctypes.c_uint, ctypes.POINTER(Pattern), ctypes.c_uint, ctypes.POINTER(Sort), ctypes.POINTER(Symbol), Ast] - _lib.Z3_mk_quantifier.restype = Ast - _lib.Z3_mk_quantifier.argtypes = [ContextObj, ctypes.c_bool, ctypes.c_uint, ctypes.c_uint, ctypes.POINTER(Pattern), ctypes.c_uint, ctypes.POINTER(Sort), ctypes.POINTER(Symbol), Ast] - _lib.Z3_mk_quantifier_ex.restype = Ast - _lib.Z3_mk_quantifier_ex.argtypes = [ContextObj, ctypes.c_bool, ctypes.c_uint, Symbol, Symbol, ctypes.c_uint, ctypes.POINTER(Pattern), ctypes.c_uint, ctypes.POINTER(Ast), ctypes.c_uint, ctypes.POINTER(Sort), ctypes.POINTER(Symbol), Ast] - _lib.Z3_mk_forall_const.restype = Ast - _lib.Z3_mk_forall_const.argtypes = [ContextObj, ctypes.c_uint, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.c_uint, ctypes.POINTER(Pattern), Ast] - _lib.Z3_mk_exists_const.restype = Ast - _lib.Z3_mk_exists_const.argtypes = [ContextObj, ctypes.c_uint, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.c_uint, ctypes.POINTER(Pattern), Ast] - _lib.Z3_mk_quantifier_const.restype = Ast - _lib.Z3_mk_quantifier_const.argtypes = [ContextObj, ctypes.c_bool, ctypes.c_uint, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.c_uint, ctypes.POINTER(Pattern), Ast] - _lib.Z3_mk_quantifier_const_ex.restype = Ast - _lib.Z3_mk_quantifier_const_ex.argtypes = [ContextObj, ctypes.c_bool, ctypes.c_uint, Symbol, Symbol, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.c_uint, ctypes.POINTER(Pattern), ctypes.c_uint, ctypes.POINTER(Ast), Ast] - _lib.Z3_get_ast_id.restype = ctypes.c_uint - _lib.Z3_get_ast_id.argtypes = [ContextObj, Ast] - _lib.Z3_get_func_decl_id.restype = ctypes.c_uint - _lib.Z3_get_func_decl_id.argtypes = [ContextObj, FuncDecl] - _lib.Z3_get_sort_id.restype = ctypes.c_uint - _lib.Z3_get_sort_id.argtypes = [ContextObj, Sort] - _lib.Z3_is_well_sorted.restype = ctypes.c_bool - _lib.Z3_is_well_sorted.argtypes = [ContextObj, Ast] - _lib.Z3_get_symbol_kind.restype = ctypes.c_uint - _lib.Z3_get_symbol_kind.argtypes = [ContextObj, Symbol] - _lib.Z3_get_symbol_int.restype = ctypes.c_int - _lib.Z3_get_symbol_int.argtypes = [ContextObj, Symbol] - _lib.Z3_get_symbol_string.restype = ctypes.c_char_p - _lib.Z3_get_symbol_string.argtypes = [ContextObj, Symbol] - _lib.Z3_get_ast_kind.restype = ctypes.c_uint - _lib.Z3_get_ast_kind.argtypes = [ContextObj, Ast] - _lib.Z3_get_ast_hash.restype = ctypes.c_uint - _lib.Z3_get_ast_hash.argtypes = [ContextObj, Ast] - _lib.Z3_get_numeral_string.restype = ctypes.c_char_p - _lib.Z3_get_numeral_string.argtypes = [ContextObj, Ast] - _lib.Z3_get_numeral_decimal_string.restype = ctypes.c_char_p - _lib.Z3_get_numeral_decimal_string.argtypes = [ContextObj, Ast, ctypes.c_uint] - _lib.Z3_get_numerator.restype = Ast - _lib.Z3_get_numerator.argtypes = [ContextObj, Ast] - _lib.Z3_get_denominator.restype = Ast - _lib.Z3_get_denominator.argtypes = [ContextObj, Ast] - _lib.Z3_get_numeral_small.restype = ctypes.c_bool - _lib.Z3_get_numeral_small.argtypes = [ContextObj, Ast, ctypes.POINTER(ctypes.c_longlong), ctypes.POINTER(ctypes.c_longlong)] - _lib.Z3_get_numeral_int.restype = ctypes.c_bool - _lib.Z3_get_numeral_int.argtypes = [ContextObj, Ast, ctypes.POINTER(ctypes.c_int)] - _lib.Z3_get_numeral_uint.restype = ctypes.c_bool - _lib.Z3_get_numeral_uint.argtypes = [ContextObj, Ast, ctypes.POINTER(ctypes.c_uint)] - _lib.Z3_get_numeral_uint64.restype = ctypes.c_bool - _lib.Z3_get_numeral_uint64.argtypes = [ContextObj, Ast, ctypes.POINTER(ctypes.c_ulonglong)] - _lib.Z3_get_numeral_int64.restype = ctypes.c_bool - _lib.Z3_get_numeral_int64.argtypes = [ContextObj, Ast, ctypes.POINTER(ctypes.c_longlong)] - _lib.Z3_get_numeral_rational_int64.restype = ctypes.c_bool - _lib.Z3_get_numeral_rational_int64.argtypes = [ContextObj, Ast, ctypes.POINTER(ctypes.c_longlong), ctypes.POINTER(ctypes.c_longlong)] - _lib.Z3_get_bool_value.restype = ctypes.c_uint - _lib.Z3_get_bool_value.argtypes = [ContextObj, Ast] - _lib.Z3_get_app_decl.restype = FuncDecl - _lib.Z3_get_app_decl.argtypes = [ContextObj, Ast] - _lib.Z3_get_app_num_args.restype = ctypes.c_uint - _lib.Z3_get_app_num_args.argtypes = [ContextObj, Ast] - _lib.Z3_get_app_arg.restype = Ast - _lib.Z3_get_app_arg.argtypes = [ContextObj, Ast, ctypes.c_uint] - _lib.Z3_get_index_value.restype = ctypes.c_uint - _lib.Z3_get_index_value.argtypes = [ContextObj, Ast] - _lib.Z3_is_quantifier_forall.restype = ctypes.c_bool - _lib.Z3_is_quantifier_forall.argtypes = [ContextObj, Ast] - _lib.Z3_get_quantifier_weight.restype = ctypes.c_uint - _lib.Z3_get_quantifier_weight.argtypes = [ContextObj, Ast] - _lib.Z3_get_quantifier_num_patterns.restype = ctypes.c_uint - _lib.Z3_get_quantifier_num_patterns.argtypes = [ContextObj, Ast] - _lib.Z3_get_quantifier_pattern_ast.restype = Pattern - _lib.Z3_get_quantifier_pattern_ast.argtypes = [ContextObj, Ast, ctypes.c_uint] - _lib.Z3_get_quantifier_num_no_patterns.restype = ctypes.c_uint - _lib.Z3_get_quantifier_num_no_patterns.argtypes = [ContextObj, Ast] - _lib.Z3_get_quantifier_no_pattern_ast.restype = Ast - _lib.Z3_get_quantifier_no_pattern_ast.argtypes = [ContextObj, Ast, ctypes.c_uint] - _lib.Z3_get_quantifier_bound_name.restype = Symbol - _lib.Z3_get_quantifier_bound_name.argtypes = [ContextObj, Ast, ctypes.c_uint] - _lib.Z3_get_quantifier_bound_sort.restype = Sort - _lib.Z3_get_quantifier_bound_sort.argtypes = [ContextObj, Ast, ctypes.c_uint] - _lib.Z3_get_quantifier_body.restype = Ast - _lib.Z3_get_quantifier_body.argtypes = [ContextObj, Ast] - _lib.Z3_get_quantifier_num_bound.restype = ctypes.c_uint - _lib.Z3_get_quantifier_num_bound.argtypes = [ContextObj, Ast] - _lib.Z3_get_decl_name.restype = Symbol - _lib.Z3_get_decl_name.argtypes = [ContextObj, FuncDecl] - _lib.Z3_get_decl_num_parameters.restype = ctypes.c_uint - _lib.Z3_get_decl_num_parameters.argtypes = [ContextObj, FuncDecl] - _lib.Z3_get_decl_parameter_kind.restype = ctypes.c_uint - _lib.Z3_get_decl_parameter_kind.argtypes = [ContextObj, FuncDecl, ctypes.c_uint] - _lib.Z3_get_decl_int_parameter.restype = ctypes.c_int - _lib.Z3_get_decl_int_parameter.argtypes = [ContextObj, FuncDecl, ctypes.c_uint] - _lib.Z3_get_decl_double_parameter.restype = ctypes.c_double - _lib.Z3_get_decl_double_parameter.argtypes = [ContextObj, FuncDecl, ctypes.c_uint] - _lib.Z3_get_decl_symbol_parameter.restype = Symbol - _lib.Z3_get_decl_symbol_parameter.argtypes = [ContextObj, FuncDecl, ctypes.c_uint] - _lib.Z3_get_decl_sort_parameter.restype = Sort - _lib.Z3_get_decl_sort_parameter.argtypes = [ContextObj, FuncDecl, ctypes.c_uint] - _lib.Z3_get_decl_ast_parameter.restype = Ast - _lib.Z3_get_decl_ast_parameter.argtypes = [ContextObj, FuncDecl, ctypes.c_uint] - _lib.Z3_get_decl_func_decl_parameter.restype = FuncDecl - _lib.Z3_get_decl_func_decl_parameter.argtypes = [ContextObj, FuncDecl, ctypes.c_uint] - _lib.Z3_get_decl_rational_parameter.restype = ctypes.c_char_p - _lib.Z3_get_decl_rational_parameter.argtypes = [ContextObj, FuncDecl, ctypes.c_uint] - _lib.Z3_get_sort_name.restype = Symbol - _lib.Z3_get_sort_name.argtypes = [ContextObj, Sort] - _lib.Z3_get_sort.restype = Sort - _lib.Z3_get_sort.argtypes = [ContextObj, Ast] - _lib.Z3_get_domain_size.restype = ctypes.c_uint - _lib.Z3_get_domain_size.argtypes = [ContextObj, FuncDecl] - _lib.Z3_get_domain.restype = Sort - _lib.Z3_get_domain.argtypes = [ContextObj, FuncDecl, ctypes.c_uint] - _lib.Z3_get_range.restype = Sort - _lib.Z3_get_range.argtypes = [ContextObj, FuncDecl] - _lib.Z3_get_sort_kind.restype = ctypes.c_uint - _lib.Z3_get_sort_kind.argtypes = [ContextObj, Sort] - _lib.Z3_get_bv_sort_size.restype = ctypes.c_uint - _lib.Z3_get_bv_sort_size.argtypes = [ContextObj, Sort] - _lib.Z3_get_array_sort_domain.restype = Sort - _lib.Z3_get_array_sort_domain.argtypes = [ContextObj, Sort] - _lib.Z3_get_array_sort_range.restype = Sort - _lib.Z3_get_array_sort_range.argtypes = [ContextObj, Sort] - _lib.Z3_get_tuple_sort_mk_decl.restype = FuncDecl - _lib.Z3_get_tuple_sort_mk_decl.argtypes = [ContextObj, Sort] - _lib.Z3_get_decl_kind.restype = ctypes.c_uint - _lib.Z3_get_decl_kind.argtypes = [ContextObj, FuncDecl] - _lib.Z3_get_tuple_sort_num_fields.restype = ctypes.c_uint - _lib.Z3_get_tuple_sort_num_fields.argtypes = [ContextObj, Sort] - _lib.Z3_get_tuple_sort_field_decl.restype = FuncDecl - _lib.Z3_get_tuple_sort_field_decl.argtypes = [ContextObj, Sort, ctypes.c_uint] - _lib.Z3_get_datatype_sort_num_constructors.restype = ctypes.c_uint - _lib.Z3_get_datatype_sort_num_constructors.argtypes = [ContextObj, Sort] - _lib.Z3_get_datatype_sort_constructor.restype = FuncDecl - _lib.Z3_get_datatype_sort_constructor.argtypes = [ContextObj, Sort, ctypes.c_uint] - _lib.Z3_get_datatype_sort_recognizer.restype = FuncDecl - _lib.Z3_get_datatype_sort_recognizer.argtypes = [ContextObj, Sort, ctypes.c_uint] - _lib.Z3_get_datatype_sort_constructor_accessor.restype = FuncDecl - _lib.Z3_get_datatype_sort_constructor_accessor.argtypes = [ContextObj, Sort, ctypes.c_uint, ctypes.c_uint] - _lib.Z3_get_relation_arity.restype = ctypes.c_uint - _lib.Z3_get_relation_arity.argtypes = [ContextObj, Sort] - _lib.Z3_get_relation_column.restype = Sort - _lib.Z3_get_relation_column.argtypes = [ContextObj, Sort, ctypes.c_uint] - _lib.Z3_get_finite_domain_sort_size.restype = ctypes.c_bool - _lib.Z3_get_finite_domain_sort_size.argtypes = [ContextObj, Sort, ctypes.POINTER(ctypes.c_ulonglong)] - _lib.Z3_mk_finite_domain_sort.restype = Sort - _lib.Z3_mk_finite_domain_sort.argtypes = [ContextObj, Symbol, ctypes.c_ulonglong] - _lib.Z3_get_pattern_num_terms.restype = ctypes.c_uint - _lib.Z3_get_pattern_num_terms.argtypes = [ContextObj, Pattern] - _lib.Z3_get_pattern.restype = Ast - _lib.Z3_get_pattern.argtypes = [ContextObj, Pattern, ctypes.c_uint] - _lib.Z3_simplify.restype = Ast - _lib.Z3_simplify.argtypes = [ContextObj, Ast] - _lib.Z3_simplify_ex.restype = Ast - _lib.Z3_simplify_ex.argtypes = [ContextObj, Ast, Params] - _lib.Z3_simplify_get_help.restype = ctypes.c_char_p - _lib.Z3_simplify_get_help.argtypes = [ContextObj] - _lib.Z3_simplify_get_param_descrs.restype = ParamDescrs - _lib.Z3_simplify_get_param_descrs.argtypes = [ContextObj] - _lib.Z3_update_term.restype = Ast - _lib.Z3_update_term.argtypes = [ContextObj, Ast, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_substitute.restype = Ast - _lib.Z3_substitute.argtypes = [ContextObj, Ast, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.POINTER(Ast)] - _lib.Z3_substitute_vars.restype = Ast - _lib.Z3_substitute_vars.argtypes = [ContextObj, Ast, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_sort_to_ast.restype = Ast - _lib.Z3_sort_to_ast.argtypes = [ContextObj, Sort] - _lib.Z3_func_decl_to_ast.restype = Ast - _lib.Z3_func_decl_to_ast.argtypes = [ContextObj, FuncDecl] - _lib.Z3_pattern_to_ast.restype = Ast - _lib.Z3_pattern_to_ast.argtypes = [ContextObj, Pattern] - _lib.Z3_app_to_ast.restype = Ast - _lib.Z3_app_to_ast.argtypes = [ContextObj, Ast] - _lib.Z3_to_app.restype = Ast - _lib.Z3_to_app.argtypes = [ContextObj, Ast] - _lib.Z3_to_func_decl.restype = FuncDecl - _lib.Z3_to_func_decl.argtypes = [ContextObj, Ast] - _lib.Z3_push.argtypes = [ContextObj] - _lib.Z3_pop.argtypes = [ContextObj, ctypes.c_uint] - _lib.Z3_get_num_scopes.restype = ctypes.c_uint - _lib.Z3_get_num_scopes.argtypes = [ContextObj] - _lib.Z3_persist_ast.argtypes = [ContextObj, Ast, ctypes.c_uint] - _lib.Z3_assert_cnstr.argtypes = [ContextObj, Ast] - _lib.Z3_check_and_get_model.restype = ctypes.c_int - _lib.Z3_check_and_get_model.argtypes = [ContextObj, ctypes.POINTER(Model)] - _lib.Z3_check.restype = ctypes.c_int - _lib.Z3_check.argtypes = [ContextObj] - _lib.Z3_check_assumptions.restype = ctypes.c_int - _lib.Z3_check_assumptions.argtypes = [ContextObj, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.POINTER(Model), ctypes.POINTER(Ast), ctypes.POINTER(ctypes.c_uint), ctypes.POINTER(Ast)] - _lib.Z3_get_implied_equalities.restype = ctypes.c_uint - _lib.Z3_get_implied_equalities.argtypes = [ContextObj, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.POINTER(ctypes.c_uint)] - _lib.Z3_del_model.argtypes = [ContextObj, Model] - _lib.Z3_soft_check_cancel.argtypes = [ContextObj] - _lib.Z3_get_search_failure.restype = ctypes.c_uint - _lib.Z3_get_search_failure.argtypes = [ContextObj] - _lib.Z3_get_relevant_labels.restype = Literals - _lib.Z3_get_relevant_labels.argtypes = [ContextObj] - _lib.Z3_get_relevant_literals.restype = Literals - _lib.Z3_get_relevant_literals.argtypes = [ContextObj] - _lib.Z3_get_guessed_literals.restype = Literals - _lib.Z3_get_guessed_literals.argtypes = [ContextObj] - _lib.Z3_del_literals.argtypes = [ContextObj, Literals] - _lib.Z3_get_num_literals.restype = ctypes.c_uint - _lib.Z3_get_num_literals.argtypes = [ContextObj, Literals] - _lib.Z3_get_label_symbol.restype = Symbol - _lib.Z3_get_label_symbol.argtypes = [ContextObj, Literals, ctypes.c_uint] - _lib.Z3_get_literal.restype = Ast - _lib.Z3_get_literal.argtypes = [ContextObj, Literals, ctypes.c_uint] - _lib.Z3_disable_literal.argtypes = [ContextObj, Literals, ctypes.c_uint] - _lib.Z3_block_literals.argtypes = [ContextObj, Literals] - _lib.Z3_model_inc_ref.argtypes = [ContextObj, Model] - _lib.Z3_model_dec_ref.argtypes = [ContextObj, Model] - _lib.Z3_model_get_const_interp.restype = Ast - _lib.Z3_model_get_const_interp.argtypes = [ContextObj, Model, FuncDecl] - _lib.Z3_model_get_func_interp.restype = FuncInterpObj - _lib.Z3_model_get_func_interp.argtypes = [ContextObj, Model, FuncDecl] - _lib.Z3_model_get_num_consts.restype = ctypes.c_uint - _lib.Z3_model_get_num_consts.argtypes = [ContextObj, Model] - _lib.Z3_model_get_const_decl.restype = FuncDecl - _lib.Z3_model_get_const_decl.argtypes = [ContextObj, Model, ctypes.c_uint] - _lib.Z3_model_get_num_funcs.restype = ctypes.c_uint - _lib.Z3_model_get_num_funcs.argtypes = [ContextObj, Model] - _lib.Z3_model_get_func_decl.restype = FuncDecl - _lib.Z3_model_get_func_decl.argtypes = [ContextObj, Model, ctypes.c_uint] - _lib.Z3_model_eval.restype = ctypes.c_bool - _lib.Z3_model_eval.argtypes = [ContextObj, Model, Ast, ctypes.c_bool, ctypes.POINTER(Ast)] - _lib.Z3_model_get_num_sorts.restype = ctypes.c_uint - _lib.Z3_model_get_num_sorts.argtypes = [ContextObj, Model] - _lib.Z3_model_get_sort.restype = Sort - _lib.Z3_model_get_sort.argtypes = [ContextObj, Model, ctypes.c_uint] - _lib.Z3_model_get_sort_universe.restype = AstVectorObj - _lib.Z3_model_get_sort_universe.argtypes = [ContextObj, Model, Sort] - _lib.Z3_is_as_array.restype = ctypes.c_bool - _lib.Z3_is_as_array.argtypes = [ContextObj, Ast] - _lib.Z3_get_as_array_func_decl.restype = FuncDecl - _lib.Z3_get_as_array_func_decl.argtypes = [ContextObj, Ast] - _lib.Z3_func_interp_inc_ref.argtypes = [ContextObj, FuncInterpObj] - _lib.Z3_func_interp_dec_ref.argtypes = [ContextObj, FuncInterpObj] - _lib.Z3_func_interp_get_num_entries.restype = ctypes.c_uint - _lib.Z3_func_interp_get_num_entries.argtypes = [ContextObj, FuncInterpObj] - _lib.Z3_func_interp_get_entry.restype = FuncEntryObj - _lib.Z3_func_interp_get_entry.argtypes = [ContextObj, FuncInterpObj, ctypes.c_uint] - _lib.Z3_func_interp_get_else.restype = Ast - _lib.Z3_func_interp_get_else.argtypes = [ContextObj, FuncInterpObj] - _lib.Z3_func_interp_get_arity.restype = ctypes.c_uint - _lib.Z3_func_interp_get_arity.argtypes = [ContextObj, FuncInterpObj] - _lib.Z3_func_entry_inc_ref.argtypes = [ContextObj, FuncEntryObj] - _lib.Z3_func_entry_dec_ref.argtypes = [ContextObj, FuncEntryObj] - _lib.Z3_func_entry_get_value.restype = Ast - _lib.Z3_func_entry_get_value.argtypes = [ContextObj, FuncEntryObj] - _lib.Z3_func_entry_get_num_args.restype = ctypes.c_uint - _lib.Z3_func_entry_get_num_args.argtypes = [ContextObj, FuncEntryObj] - _lib.Z3_func_entry_get_arg.restype = Ast - _lib.Z3_func_entry_get_arg.argtypes = [ContextObj, FuncEntryObj, ctypes.c_uint] - _lib.Z3_get_model_num_constants.restype = ctypes.c_uint - _lib.Z3_get_model_num_constants.argtypes = [ContextObj, Model] - _lib.Z3_get_model_constant.restype = FuncDecl - _lib.Z3_get_model_constant.argtypes = [ContextObj, Model, ctypes.c_uint] - _lib.Z3_eval_func_decl.restype = ctypes.c_bool - _lib.Z3_eval_func_decl.argtypes = [ContextObj, Model, FuncDecl, ctypes.POINTER(Ast)] - _lib.Z3_is_array_value.restype = ctypes.c_bool - _lib.Z3_is_array_value.argtypes = [ContextObj, Model, Ast, ctypes.POINTER(ctypes.c_uint)] - _lib.Z3_get_array_value.argtypes = [ContextObj, Model, Ast, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.POINTER(Ast), ctypes.POINTER(Ast)] - _lib.Z3_get_model_num_funcs.restype = ctypes.c_uint - _lib.Z3_get_model_num_funcs.argtypes = [ContextObj, Model] - _lib.Z3_get_model_func_decl.restype = FuncDecl - _lib.Z3_get_model_func_decl.argtypes = [ContextObj, Model, ctypes.c_uint] - _lib.Z3_get_model_func_else.restype = Ast - _lib.Z3_get_model_func_else.argtypes = [ContextObj, Model, ctypes.c_uint] - _lib.Z3_get_model_func_num_entries.restype = ctypes.c_uint - _lib.Z3_get_model_func_num_entries.argtypes = [ContextObj, Model, ctypes.c_uint] - _lib.Z3_get_model_func_entry_num_args.restype = ctypes.c_uint - _lib.Z3_get_model_func_entry_num_args.argtypes = [ContextObj, Model, ctypes.c_uint, ctypes.c_uint] - _lib.Z3_get_model_func_entry_arg.restype = Ast - _lib.Z3_get_model_func_entry_arg.argtypes = [ContextObj, Model, ctypes.c_uint, ctypes.c_uint, ctypes.c_uint] - _lib.Z3_get_model_func_entry_value.restype = Ast - _lib.Z3_get_model_func_entry_value.argtypes = [ContextObj, Model, ctypes.c_uint, ctypes.c_uint] - _lib.Z3_eval.restype = ctypes.c_bool - _lib.Z3_eval.argtypes = [ContextObj, Model, Ast, ctypes.POINTER(Ast)] - _lib.Z3_eval_decl.restype = ctypes.c_bool - _lib.Z3_eval_decl.argtypes = [ContextObj, Model, FuncDecl, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.POINTER(Ast)] - _lib.Z3_set_ast_print_mode.argtypes = [ContextObj, ctypes.c_uint] - _lib.Z3_ast_to_string.restype = ctypes.c_char_p - _lib.Z3_ast_to_string.argtypes = [ContextObj, Ast] - _lib.Z3_pattern_to_string.restype = ctypes.c_char_p - _lib.Z3_pattern_to_string.argtypes = [ContextObj, Pattern] - _lib.Z3_sort_to_string.restype = ctypes.c_char_p - _lib.Z3_sort_to_string.argtypes = [ContextObj, Sort] - _lib.Z3_func_decl_to_string.restype = ctypes.c_char_p - _lib.Z3_func_decl_to_string.argtypes = [ContextObj, FuncDecl] - _lib.Z3_model_to_string.restype = ctypes.c_char_p - _lib.Z3_model_to_string.argtypes = [ContextObj, Model] - _lib.Z3_benchmark_to_smtlib_string.restype = ctypes.c_char_p - _lib.Z3_benchmark_to_smtlib_string.argtypes = [ContextObj, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_uint, ctypes.POINTER(Ast), Ast] - _lib.Z3_context_to_string.restype = ctypes.c_char_p - _lib.Z3_context_to_string.argtypes = [ContextObj] - _lib.Z3_statistics_to_string.restype = ctypes.c_char_p - _lib.Z3_statistics_to_string.argtypes = [ContextObj] - _lib.Z3_get_context_assignment.restype = Ast - _lib.Z3_get_context_assignment.argtypes = [ContextObj] - _lib.Z3_parse_smtlib_string.argtypes = [ContextObj, ctypes.c_char_p, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(Sort), ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(FuncDecl)] - _lib.Z3_parse_smtlib_file.argtypes = [ContextObj, ctypes.c_char_p, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(Sort), ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(FuncDecl)] - _lib.Z3_get_smtlib_num_formulas.restype = ctypes.c_uint - _lib.Z3_get_smtlib_num_formulas.argtypes = [ContextObj] - _lib.Z3_get_smtlib_formula.restype = Ast - _lib.Z3_get_smtlib_formula.argtypes = [ContextObj, ctypes.c_uint] - _lib.Z3_get_smtlib_num_assumptions.restype = ctypes.c_uint - _lib.Z3_get_smtlib_num_assumptions.argtypes = [ContextObj] - _lib.Z3_get_smtlib_assumption.restype = Ast - _lib.Z3_get_smtlib_assumption.argtypes = [ContextObj, ctypes.c_uint] - _lib.Z3_get_smtlib_num_decls.restype = ctypes.c_uint - _lib.Z3_get_smtlib_num_decls.argtypes = [ContextObj] - _lib.Z3_get_smtlib_decl.restype = FuncDecl - _lib.Z3_get_smtlib_decl.argtypes = [ContextObj, ctypes.c_uint] - _lib.Z3_get_smtlib_num_sorts.restype = ctypes.c_uint - _lib.Z3_get_smtlib_num_sorts.argtypes = [ContextObj] - _lib.Z3_get_smtlib_sort.restype = Sort - _lib.Z3_get_smtlib_sort.argtypes = [ContextObj, ctypes.c_uint] - _lib.Z3_get_smtlib_error.restype = ctypes.c_char_p - _lib.Z3_get_smtlib_error.argtypes = [ContextObj] - _lib.Z3_parse_z3_string.restype = Ast - _lib.Z3_parse_z3_string.argtypes = [ContextObj, ctypes.c_char_p] - _lib.Z3_parse_z3_file.restype = Ast - _lib.Z3_parse_z3_file.argtypes = [ContextObj, ctypes.c_char_p] - _lib.Z3_parse_smtlib2_string.restype = Ast - _lib.Z3_parse_smtlib2_string.argtypes = [ContextObj, ctypes.c_char_p, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(Sort), ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(FuncDecl)] - _lib.Z3_parse_smtlib2_file.restype = Ast - _lib.Z3_parse_smtlib2_file.argtypes = [ContextObj, ctypes.c_char_p, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(Sort), ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(FuncDecl)] - _lib.Z3_get_error_code.restype = ctypes.c_uint - _lib.Z3_get_error_code.argtypes = [ContextObj] - _lib.Z3_set_error.argtypes = [ContextObj, ctypes.c_uint] - _lib.Z3_get_error_msg.restype = ctypes.c_char_p - _lib.Z3_get_error_msg.argtypes = [ctypes.c_uint] - _lib.Z3_get_version.argtypes = [ctypes.POINTER(ctypes.c_uint), ctypes.POINTER(ctypes.c_uint), ctypes.POINTER(ctypes.c_uint), ctypes.POINTER(ctypes.c_uint)] - _lib.Z3_reset_memory.argtypes = [] - _lib.Z3_is_app.restype = ctypes.c_bool - _lib.Z3_is_app.argtypes = [ContextObj, Ast] - _lib.Z3_is_numeral_ast.restype = ctypes.c_bool - _lib.Z3_is_numeral_ast.argtypes = [ContextObj, Ast] - _lib.Z3_get_arity.restype = ctypes.c_uint - _lib.Z3_get_arity.argtypes = [ContextObj, FuncDecl] - _lib.Z3_mk_injective_function.restype = FuncDecl - _lib.Z3_mk_injective_function.argtypes = [ContextObj, Symbol, ctypes.c_uint, ctypes.POINTER(Sort), Sort] - _lib.Z3_mk_fixedpoint.restype = FixedpointObj - _lib.Z3_mk_fixedpoint.argtypes = [ContextObj] - _lib.Z3_fixedpoint_inc_ref.argtypes = [ContextObj, FixedpointObj] - _lib.Z3_fixedpoint_dec_ref.argtypes = [ContextObj, FixedpointObj] - _lib.Z3_fixedpoint_push.argtypes = [ContextObj, FixedpointObj] - _lib.Z3_fixedpoint_pop.argtypes = [ContextObj, FixedpointObj] - _lib.Z3_fixedpoint_register_relation.argtypes = [ContextObj, FixedpointObj, FuncDecl] - _lib.Z3_fixedpoint_assert.argtypes = [ContextObj, FixedpointObj, Ast] - _lib.Z3_fixedpoint_add_rule.argtypes = [ContextObj, FixedpointObj, Ast, Symbol] - _lib.Z3_fixedpoint_add_fact.argtypes = [ContextObj, FixedpointObj, FuncDecl, ctypes.c_uint, ctypes.POINTER(ctypes.c_uint)] - _lib.Z3_fixedpoint_query.restype = ctypes.c_int - _lib.Z3_fixedpoint_query.argtypes = [ContextObj, FixedpointObj, Ast] - _lib.Z3_fixedpoint_query_relations.restype = ctypes.c_int - _lib.Z3_fixedpoint_query_relations.argtypes = [ContextObj, FixedpointObj, ctypes.c_uint, ctypes.POINTER(FuncDecl)] - _lib.Z3_fixedpoint_get_answer.restype = Ast - _lib.Z3_fixedpoint_get_answer.argtypes = [ContextObj, FixedpointObj] - _lib.Z3_fixedpoint_update_rule.argtypes = [ContextObj, FixedpointObj, Ast, Symbol] - _lib.Z3_fixedpoint_get_num_levels.restype = ctypes.c_uint - _lib.Z3_fixedpoint_get_num_levels.argtypes = [ContextObj, FixedpointObj, FuncDecl] - _lib.Z3_fixedpoint_get_cover_delta.restype = Ast - _lib.Z3_fixedpoint_get_cover_delta.argtypes = [ContextObj, FixedpointObj, ctypes.c_int, FuncDecl] - _lib.Z3_fixedpoint_add_cover.argtypes = [ContextObj, FixedpointObj, ctypes.c_int, FuncDecl, Ast] - _lib.Z3_fixedpoint_get_statistics.restype = StatsObj - _lib.Z3_fixedpoint_get_statistics.argtypes = [ContextObj, FixedpointObj] - _lib.Z3_fixedpoint_get_help.restype = ctypes.c_char_p - _lib.Z3_fixedpoint_get_help.argtypes = [ContextObj, FixedpointObj] - _lib.Z3_fixedpoint_get_param_descrs.restype = ParamDescrs - _lib.Z3_fixedpoint_get_param_descrs.argtypes = [ContextObj, FixedpointObj] - _lib.Z3_fixedpoint_set_params.argtypes = [ContextObj, FixedpointObj, Params] - _lib.Z3_fixedpoint_to_string.restype = ctypes.c_char_p - _lib.Z3_fixedpoint_to_string.argtypes = [ContextObj, FixedpointObj, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_fixedpoint_get_reason_unknown.restype = ctypes.c_char_p - _lib.Z3_fixedpoint_get_reason_unknown.argtypes = [ContextObj, FixedpointObj] - _lib.Z3_fixedpoint_set_predicate_representation.argtypes = [ContextObj, FixedpointObj, FuncDecl, ctypes.c_uint, ctypes.POINTER(Symbol)] - _lib.Z3_fixedpoint_simplify_rules.restype = AstVectorObj - _lib.Z3_fixedpoint_simplify_rules.argtypes = [ContextObj, FixedpointObj, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.c_uint, ctypes.POINTER(FuncDecl)] - _lib.Z3_mk_params.restype = Params - _lib.Z3_mk_params.argtypes = [ContextObj] - _lib.Z3_params_inc_ref.argtypes = [ContextObj, Params] - _lib.Z3_params_dec_ref.argtypes = [ContextObj, Params] - _lib.Z3_params_set_bool.argtypes = [ContextObj, Params, Symbol, ctypes.c_bool] - _lib.Z3_params_set_uint.argtypes = [ContextObj, Params, Symbol, ctypes.c_uint] - _lib.Z3_params_set_double.argtypes = [ContextObj, Params, Symbol, ctypes.c_double] - _lib.Z3_params_set_symbol.argtypes = [ContextObj, Params, Symbol, Symbol] - _lib.Z3_params_to_string.restype = ctypes.c_char_p - _lib.Z3_params_to_string.argtypes = [ContextObj, Params] - _lib.Z3_params_validate.argtypes = [ContextObj, Params, ParamDescrs] - _lib.Z3_param_descrs_inc_ref.argtypes = [ContextObj, ParamDescrs] - _lib.Z3_param_descrs_dec_ref.argtypes = [ContextObj, ParamDescrs] - _lib.Z3_param_descrs_get_kind.restype = ctypes.c_uint - _lib.Z3_param_descrs_get_kind.argtypes = [ContextObj, ParamDescrs, Symbol] - _lib.Z3_param_descrs_size.restype = ctypes.c_uint - _lib.Z3_param_descrs_size.argtypes = [ContextObj, ParamDescrs] - _lib.Z3_param_descrs_get_name.restype = Symbol - _lib.Z3_param_descrs_get_name.argtypes = [ContextObj, ParamDescrs, ctypes.c_uint] - _lib.Z3_param_descrs_to_string.restype = ctypes.c_char_p - _lib.Z3_param_descrs_to_string.argtypes = [ContextObj, ParamDescrs] - _lib.Z3_interrupt.argtypes = [ContextObj] - _lib.Z3_get_error_msg_ex.restype = ctypes.c_char_p - _lib.Z3_get_error_msg_ex.argtypes = [ContextObj, ctypes.c_uint] - _lib.Z3_translate.restype = Ast - _lib.Z3_translate.argtypes = [ContextObj, Ast, ContextObj] - _lib.Z3_mk_goal.restype = GoalObj - _lib.Z3_mk_goal.argtypes = [ContextObj, ctypes.c_bool, ctypes.c_bool, ctypes.c_bool] - _lib.Z3_goal_inc_ref.argtypes = [ContextObj, GoalObj] - _lib.Z3_goal_dec_ref.argtypes = [ContextObj, GoalObj] - _lib.Z3_goal_precision.restype = ctypes.c_uint - _lib.Z3_goal_precision.argtypes = [ContextObj, GoalObj] - _lib.Z3_goal_assert.argtypes = [ContextObj, GoalObj, Ast] - _lib.Z3_goal_inconsistent.restype = ctypes.c_bool - _lib.Z3_goal_inconsistent.argtypes = [ContextObj, GoalObj] - _lib.Z3_goal_depth.restype = ctypes.c_uint - _lib.Z3_goal_depth.argtypes = [ContextObj, GoalObj] - _lib.Z3_goal_reset.argtypes = [ContextObj, GoalObj] - _lib.Z3_goal_size.restype = ctypes.c_uint - _lib.Z3_goal_size.argtypes = [ContextObj, GoalObj] - _lib.Z3_goal_formula.restype = Ast - _lib.Z3_goal_formula.argtypes = [ContextObj, GoalObj, ctypes.c_uint] - _lib.Z3_goal_num_exprs.restype = ctypes.c_uint - _lib.Z3_goal_num_exprs.argtypes = [ContextObj, GoalObj] - _lib.Z3_goal_is_decided_sat.restype = ctypes.c_bool - _lib.Z3_goal_is_decided_sat.argtypes = [ContextObj, GoalObj] - _lib.Z3_goal_is_decided_unsat.restype = ctypes.c_bool - _lib.Z3_goal_is_decided_unsat.argtypes = [ContextObj, GoalObj] - _lib.Z3_goal_translate.restype = GoalObj - _lib.Z3_goal_translate.argtypes = [ContextObj, GoalObj, ContextObj] - _lib.Z3_goal_to_string.restype = ctypes.c_char_p - _lib.Z3_goal_to_string.argtypes = [ContextObj, GoalObj] - _lib.Z3_mk_tactic.restype = TacticObj - _lib.Z3_mk_tactic.argtypes = [ContextObj, ctypes.c_char_p] - _lib.Z3_mk_probe.restype = ProbeObj - _lib.Z3_mk_probe.argtypes = [ContextObj, ctypes.c_char_p] - _lib.Z3_tactic_inc_ref.argtypes = [ContextObj, TacticObj] - _lib.Z3_tactic_dec_ref.argtypes = [ContextObj, TacticObj] - _lib.Z3_probe_inc_ref.argtypes = [ContextObj, ProbeObj] - _lib.Z3_probe_dec_ref.argtypes = [ContextObj, ProbeObj] - _lib.Z3_tactic_and_then.restype = TacticObj - _lib.Z3_tactic_and_then.argtypes = [ContextObj, TacticObj, TacticObj] - _lib.Z3_tactic_or_else.restype = TacticObj - _lib.Z3_tactic_or_else.argtypes = [ContextObj, TacticObj, TacticObj] - _lib.Z3_tactic_par_or.restype = TacticObj - _lib.Z3_tactic_par_or.argtypes = [ContextObj, ctypes.c_uint, ctypes.POINTER(TacticObj)] - _lib.Z3_tactic_par_and_then.restype = TacticObj - _lib.Z3_tactic_par_and_then.argtypes = [ContextObj, TacticObj, TacticObj] - _lib.Z3_tactic_try_for.restype = TacticObj - _lib.Z3_tactic_try_for.argtypes = [ContextObj, TacticObj, ctypes.c_uint] - _lib.Z3_tactic_when.restype = TacticObj - _lib.Z3_tactic_when.argtypes = [ContextObj, ProbeObj, TacticObj] - _lib.Z3_tactic_cond.restype = TacticObj - _lib.Z3_tactic_cond.argtypes = [ContextObj, ProbeObj, TacticObj, TacticObj] - _lib.Z3_tactic_repeat.restype = TacticObj - _lib.Z3_tactic_repeat.argtypes = [ContextObj, TacticObj, ctypes.c_uint] - _lib.Z3_tactic_skip.restype = TacticObj - _lib.Z3_tactic_skip.argtypes = [ContextObj] - _lib.Z3_tactic_fail.restype = TacticObj - _lib.Z3_tactic_fail.argtypes = [ContextObj] - _lib.Z3_tactic_fail_if.restype = TacticObj - _lib.Z3_tactic_fail_if.argtypes = [ContextObj, ProbeObj] - _lib.Z3_tactic_fail_if_not_decided.restype = TacticObj - _lib.Z3_tactic_fail_if_not_decided.argtypes = [ContextObj] - _lib.Z3_tactic_using_params.restype = TacticObj - _lib.Z3_tactic_using_params.argtypes = [ContextObj, TacticObj, Params] - _lib.Z3_probe_const.restype = ProbeObj - _lib.Z3_probe_const.argtypes = [ContextObj, ctypes.c_double] - _lib.Z3_probe_lt.restype = ProbeObj - _lib.Z3_probe_lt.argtypes = [ContextObj, ProbeObj, ProbeObj] - _lib.Z3_probe_le.restype = ProbeObj - _lib.Z3_probe_le.argtypes = [ContextObj, ProbeObj, ProbeObj] - _lib.Z3_probe_gt.restype = ProbeObj - _lib.Z3_probe_gt.argtypes = [ContextObj, ProbeObj, ProbeObj] - _lib.Z3_probe_ge.restype = ProbeObj - _lib.Z3_probe_ge.argtypes = [ContextObj, ProbeObj, ProbeObj] - _lib.Z3_probe_eq.restype = ProbeObj - _lib.Z3_probe_eq.argtypes = [ContextObj, ProbeObj, ProbeObj] - _lib.Z3_probe_and.restype = ProbeObj - _lib.Z3_probe_and.argtypes = [ContextObj, ProbeObj, ProbeObj] - _lib.Z3_probe_or.restype = ProbeObj - _lib.Z3_probe_or.argtypes = [ContextObj, ProbeObj, ProbeObj] - _lib.Z3_probe_not.restype = ProbeObj - _lib.Z3_probe_not.argtypes = [ContextObj, ProbeObj] - _lib.Z3_get_num_tactics.restype = ctypes.c_uint - _lib.Z3_get_num_tactics.argtypes = [ContextObj] - _lib.Z3_get_tactic_name.restype = ctypes.c_char_p - _lib.Z3_get_tactic_name.argtypes = [ContextObj, ctypes.c_uint] - _lib.Z3_get_num_probes.restype = ctypes.c_uint - _lib.Z3_get_num_probes.argtypes = [ContextObj] - _lib.Z3_get_probe_name.restype = ctypes.c_char_p - _lib.Z3_get_probe_name.argtypes = [ContextObj, ctypes.c_uint] - _lib.Z3_tactic_get_help.restype = ctypes.c_char_p - _lib.Z3_tactic_get_help.argtypes = [ContextObj, TacticObj] - _lib.Z3_tactic_get_param_descrs.restype = ParamDescrs - _lib.Z3_tactic_get_param_descrs.argtypes = [ContextObj, TacticObj] - _lib.Z3_tactic_get_descr.restype = ctypes.c_char_p - _lib.Z3_tactic_get_descr.argtypes = [ContextObj, ctypes.c_char_p] - _lib.Z3_probe_get_descr.restype = ctypes.c_char_p - _lib.Z3_probe_get_descr.argtypes = [ContextObj, ctypes.c_char_p] - _lib.Z3_probe_apply.restype = ctypes.c_double - _lib.Z3_probe_apply.argtypes = [ContextObj, ProbeObj, GoalObj] - _lib.Z3_tactic_apply.restype = ApplyResultObj - _lib.Z3_tactic_apply.argtypes = [ContextObj, TacticObj, GoalObj] - _lib.Z3_tactic_apply_ex.restype = ApplyResultObj - _lib.Z3_tactic_apply_ex.argtypes = [ContextObj, TacticObj, GoalObj, Params] - _lib.Z3_apply_result_inc_ref.argtypes = [ContextObj, ApplyResultObj] - _lib.Z3_apply_result_dec_ref.argtypes = [ContextObj, ApplyResultObj] - _lib.Z3_apply_result_to_string.restype = ctypes.c_char_p - _lib.Z3_apply_result_to_string.argtypes = [ContextObj, ApplyResultObj] - _lib.Z3_apply_result_get_num_subgoals.restype = ctypes.c_uint - _lib.Z3_apply_result_get_num_subgoals.argtypes = [ContextObj, ApplyResultObj] - _lib.Z3_apply_result_get_subgoal.restype = GoalObj - _lib.Z3_apply_result_get_subgoal.argtypes = [ContextObj, ApplyResultObj, ctypes.c_uint] - _lib.Z3_apply_result_convert_model.restype = Model - _lib.Z3_apply_result_convert_model.argtypes = [ContextObj, ApplyResultObj, ctypes.c_uint, Model] - _lib.Z3_mk_solver.restype = SolverObj - _lib.Z3_mk_solver.argtypes = [ContextObj] - _lib.Z3_mk_simple_solver.restype = SolverObj - _lib.Z3_mk_simple_solver.argtypes = [ContextObj] - _lib.Z3_mk_solver_for_logic.restype = SolverObj - _lib.Z3_mk_solver_for_logic.argtypes = [ContextObj, Symbol] - _lib.Z3_mk_solver_from_tactic.restype = SolverObj - _lib.Z3_mk_solver_from_tactic.argtypes = [ContextObj, TacticObj] - _lib.Z3_solver_get_help.restype = ctypes.c_char_p - _lib.Z3_solver_get_help.argtypes = [ContextObj, SolverObj] - _lib.Z3_solver_get_param_descrs.restype = ParamDescrs - _lib.Z3_solver_get_param_descrs.argtypes = [ContextObj, SolverObj] - _lib.Z3_solver_set_params.argtypes = [ContextObj, SolverObj, Params] - _lib.Z3_solver_inc_ref.argtypes = [ContextObj, SolverObj] - _lib.Z3_solver_dec_ref.argtypes = [ContextObj, SolverObj] - _lib.Z3_solver_push.argtypes = [ContextObj, SolverObj] - _lib.Z3_solver_pop.argtypes = [ContextObj, SolverObj, ctypes.c_uint] - _lib.Z3_solver_reset.argtypes = [ContextObj, SolverObj] - _lib.Z3_solver_get_num_scopes.restype = ctypes.c_uint - _lib.Z3_solver_get_num_scopes.argtypes = [ContextObj, SolverObj] - _lib.Z3_solver_assert.argtypes = [ContextObj, SolverObj, Ast] - _lib.Z3_solver_get_assertions.restype = AstVectorObj - _lib.Z3_solver_get_assertions.argtypes = [ContextObj, SolverObj] - _lib.Z3_solver_check.restype = ctypes.c_int - _lib.Z3_solver_check.argtypes = [ContextObj, SolverObj] - _lib.Z3_solver_check_assumptions.restype = ctypes.c_int - _lib.Z3_solver_check_assumptions.argtypes = [ContextObj, SolverObj, ctypes.c_uint, ctypes.POINTER(Ast)] - _lib.Z3_solver_get_model.restype = Model - _lib.Z3_solver_get_model.argtypes = [ContextObj, SolverObj] - _lib.Z3_solver_get_proof.restype = Ast - _lib.Z3_solver_get_proof.argtypes = [ContextObj, SolverObj] - _lib.Z3_solver_get_unsat_core.restype = AstVectorObj - _lib.Z3_solver_get_unsat_core.argtypes = [ContextObj, SolverObj] - _lib.Z3_solver_get_reason_unknown.restype = ctypes.c_char_p - _lib.Z3_solver_get_reason_unknown.argtypes = [ContextObj, SolverObj] - _lib.Z3_solver_get_statistics.restype = StatsObj - _lib.Z3_solver_get_statistics.argtypes = [ContextObj, SolverObj] - _lib.Z3_solver_to_string.restype = ctypes.c_char_p - _lib.Z3_solver_to_string.argtypes = [ContextObj, SolverObj] - _lib.Z3_stats_to_string.restype = ctypes.c_char_p - _lib.Z3_stats_to_string.argtypes = [ContextObj, StatsObj] - _lib.Z3_stats_inc_ref.argtypes = [ContextObj, StatsObj] - _lib.Z3_stats_dec_ref.argtypes = [ContextObj, StatsObj] - _lib.Z3_stats_size.restype = ctypes.c_uint - _lib.Z3_stats_size.argtypes = [ContextObj, StatsObj] - _lib.Z3_stats_get_key.restype = ctypes.c_char_p - _lib.Z3_stats_get_key.argtypes = [ContextObj, StatsObj, ctypes.c_uint] - _lib.Z3_stats_is_uint.restype = ctypes.c_bool - _lib.Z3_stats_is_uint.argtypes = [ContextObj, StatsObj, ctypes.c_uint] - _lib.Z3_stats_is_double.restype = ctypes.c_bool - _lib.Z3_stats_is_double.argtypes = [ContextObj, StatsObj, ctypes.c_uint] - _lib.Z3_stats_get_uint_value.restype = ctypes.c_uint - _lib.Z3_stats_get_uint_value.argtypes = [ContextObj, StatsObj, ctypes.c_uint] - _lib.Z3_stats_get_double_value.restype = ctypes.c_double - _lib.Z3_stats_get_double_value.argtypes = [ContextObj, StatsObj, ctypes.c_uint] - _lib.Z3_mk_ast_vector.restype = AstVectorObj - _lib.Z3_mk_ast_vector.argtypes = [ContextObj] - _lib.Z3_ast_vector_inc_ref.argtypes = [ContextObj, AstVectorObj] - _lib.Z3_ast_vector_dec_ref.argtypes = [ContextObj, AstVectorObj] - _lib.Z3_ast_vector_size.restype = ctypes.c_uint - _lib.Z3_ast_vector_size.argtypes = [ContextObj, AstVectorObj] - _lib.Z3_ast_vector_get.restype = Ast - _lib.Z3_ast_vector_get.argtypes = [ContextObj, AstVectorObj, ctypes.c_uint] - _lib.Z3_ast_vector_set.argtypes = [ContextObj, AstVectorObj, ctypes.c_uint, Ast] - _lib.Z3_ast_vector_resize.argtypes = [ContextObj, AstVectorObj, ctypes.c_uint] - _lib.Z3_ast_vector_push.argtypes = [ContextObj, AstVectorObj, Ast] - _lib.Z3_ast_vector_translate.restype = AstVectorObj - _lib.Z3_ast_vector_translate.argtypes = [ContextObj, AstVectorObj, ContextObj] - _lib.Z3_ast_vector_to_string.restype = ctypes.c_char_p - _lib.Z3_ast_vector_to_string.argtypes = [ContextObj, AstVectorObj] - _lib.Z3_mk_ast_map.restype = AstMapObj - _lib.Z3_mk_ast_map.argtypes = [ContextObj] - _lib.Z3_ast_map_inc_ref.argtypes = [ContextObj, AstMapObj] - _lib.Z3_ast_map_dec_ref.argtypes = [ContextObj, AstMapObj] - _lib.Z3_ast_map_contains.restype = ctypes.c_bool - _lib.Z3_ast_map_contains.argtypes = [ContextObj, AstMapObj, Ast] - _lib.Z3_ast_map_find.restype = Ast - _lib.Z3_ast_map_find.argtypes = [ContextObj, AstMapObj, Ast] - _lib.Z3_ast_map_insert.argtypes = [ContextObj, AstMapObj, Ast, Ast] - _lib.Z3_ast_map_erase.argtypes = [ContextObj, AstMapObj, Ast] - _lib.Z3_ast_map_size.restype = ctypes.c_uint - _lib.Z3_ast_map_size.argtypes = [ContextObj, AstMapObj] - _lib.Z3_ast_map_reset.argtypes = [ContextObj, AstMapObj] - _lib.Z3_ast_map_keys.restype = AstVectorObj - _lib.Z3_ast_map_keys.argtypes = [ContextObj, AstMapObj] - _lib.Z3_ast_map_to_string.restype = ctypes.c_char_p - _lib.Z3_ast_map_to_string.argtypes = [ContextObj, AstMapObj] - _lib.Z3_open_log.restype = ctypes.c_int - _lib.Z3_open_log.argtypes = [ctypes.c_char_p] - _lib.Z3_append_log.argtypes = [ctypes.c_char_p] - _lib.Z3_close_log.argtypes = [] - -def Z3_mk_config(): - r = lib().Z3_mk_config() - return r - -def Z3_del_config(a0): - lib().Z3_del_config(a0) - -def Z3_set_param_value(a0, a1, a2): - lib().Z3_set_param_value(a0, a1, a2) - -def Z3_mk_context(a0): - r = lib().Z3_mk_context(a0) - return r - -def Z3_mk_context_rc(a0): - r = lib().Z3_mk_context_rc(a0) - return r - -def Z3_set_logic(a0, a1): - lib().Z3_set_logic(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_del_context(a0): - lib().Z3_del_context(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_inc_ref(a0, a1): - lib().Z3_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_dec_ref(a0, a1): - lib().Z3_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_toggle_warning_messages(a0): - lib().Z3_toggle_warning_messages(a0) - -def Z3_update_param_value(a0, a1, a2): - lib().Z3_update_param_value(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_get_param_value(a0, a1, a2): - r = lib().Z3_get_param_value(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_int_symbol(a0, a1): - r = lib().Z3_mk_int_symbol(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_string_symbol(a0, a1): - r = lib().Z3_mk_string_symbol(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_is_eq_sort(a0, a1, a2): - r = lib().Z3_is_eq_sort(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_uninterpreted_sort(a0, a1): - r = lib().Z3_mk_uninterpreted_sort(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bool_sort(a0): - r = lib().Z3_mk_bool_sort(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_int_sort(a0): - r = lib().Z3_mk_int_sort(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_real_sort(a0): - r = lib().Z3_mk_real_sort(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bv_sort(a0, a1): - r = lib().Z3_mk_bv_sort(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_array_sort(a0, a1, a2): - r = lib().Z3_mk_array_sort(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_tuple_sort(a0, a1, a2, a3, a4, a5, a6): - r = lib().Z3_mk_tuple_sort(a0, a1, a2, a3, a4, a5, a6) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_enumeration_sort(a0, a1, a2, a3, a4, a5): - r = lib().Z3_mk_enumeration_sort(a0, a1, a2, a3, a4, a5) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_list_sort(a0, a1, a2, a3, a4, a5, a6, a7, a8): - r = lib().Z3_mk_list_sort(a0, a1, a2, a3, a4, a5, a6, a7, a8) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_constructor(a0, a1, a2, a3, a4, a5, a6): - r = lib().Z3_mk_constructor(a0, a1, a2, a3, a4, a5, a6) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_query_constructor(a0, a1, a2, a3, a4, a5): - lib().Z3_query_constructor(a0, a1, a2, a3, a4, a5) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_del_constructor(a0, a1): - lib().Z3_del_constructor(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_mk_datatype(a0, a1, a2, a3): - r = lib().Z3_mk_datatype(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_constructor_list(a0, a1, a2): - r = lib().Z3_mk_constructor_list(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_del_constructor_list(a0, a1): - lib().Z3_del_constructor_list(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_mk_datatypes(a0, a1, a2, a3, a4): - lib().Z3_mk_datatypes(a0, a1, a2, a3, a4) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_is_eq_ast(a0, a1, a2): - r = lib().Z3_is_eq_ast(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_is_eq_func_decl(a0, a1, a2): - r = lib().Z3_is_eq_func_decl(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_func_decl(a0, a1, a2, a3, a4): - r = lib().Z3_mk_func_decl(a0, a1, a2, a3, a4) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_app(a0, a1, a2, a3): - r = lib().Z3_mk_app(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_const(a0, a1, a2): - r = lib().Z3_mk_const(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_label(a0, a1, a2, a3): - r = lib().Z3_mk_label(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_fresh_func_decl(a0, a1, a2, a3, a4): - r = lib().Z3_mk_fresh_func_decl(a0, a1, a2, a3, a4) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_fresh_const(a0, a1, a2): - r = lib().Z3_mk_fresh_const(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_true(a0): - r = lib().Z3_mk_true(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_false(a0): - r = lib().Z3_mk_false(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_eq(a0, a1, a2): - r = lib().Z3_mk_eq(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_distinct(a0, a1, a2): - r = lib().Z3_mk_distinct(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_not(a0, a1): - r = lib().Z3_mk_not(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_ite(a0, a1, a2, a3): - r = lib().Z3_mk_ite(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_iff(a0, a1, a2): - r = lib().Z3_mk_iff(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_implies(a0, a1, a2): - r = lib().Z3_mk_implies(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_xor(a0, a1, a2): - r = lib().Z3_mk_xor(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_and(a0, a1, a2): - r = lib().Z3_mk_and(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_or(a0, a1, a2): - r = lib().Z3_mk_or(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_add(a0, a1, a2): - r = lib().Z3_mk_add(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_mul(a0, a1, a2): - r = lib().Z3_mk_mul(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_sub(a0, a1, a2): - r = lib().Z3_mk_sub(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_unary_minus(a0, a1): - r = lib().Z3_mk_unary_minus(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_div(a0, a1, a2): - r = lib().Z3_mk_div(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_mod(a0, a1, a2): - r = lib().Z3_mk_mod(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_rem(a0, a1, a2): - r = lib().Z3_mk_rem(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_power(a0, a1, a2): - r = lib().Z3_mk_power(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_is_algebraic_number(a0, a1): - r = lib().Z3_is_algebraic_number(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_algebraic_number_lower(a0, a1, a2): - r = lib().Z3_get_algebraic_number_lower(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_algebraic_number_upper(a0, a1, a2): - r = lib().Z3_get_algebraic_number_upper(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_lt(a0, a1, a2): - r = lib().Z3_mk_lt(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_le(a0, a1, a2): - r = lib().Z3_mk_le(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_gt(a0, a1, a2): - r = lib().Z3_mk_gt(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_ge(a0, a1, a2): - r = lib().Z3_mk_ge(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_int2real(a0, a1): - r = lib().Z3_mk_int2real(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_real2int(a0, a1): - r = lib().Z3_mk_real2int(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_is_int(a0, a1): - r = lib().Z3_mk_is_int(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvnot(a0, a1): - r = lib().Z3_mk_bvnot(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvredand(a0, a1): - r = lib().Z3_mk_bvredand(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvredor(a0, a1): - r = lib().Z3_mk_bvredor(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvand(a0, a1, a2): - r = lib().Z3_mk_bvand(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvor(a0, a1, a2): - r = lib().Z3_mk_bvor(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvxor(a0, a1, a2): - r = lib().Z3_mk_bvxor(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvnand(a0, a1, a2): - r = lib().Z3_mk_bvnand(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvnor(a0, a1, a2): - r = lib().Z3_mk_bvnor(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvxnor(a0, a1, a2): - r = lib().Z3_mk_bvxnor(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvneg(a0, a1): - r = lib().Z3_mk_bvneg(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvadd(a0, a1, a2): - r = lib().Z3_mk_bvadd(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvsub(a0, a1, a2): - r = lib().Z3_mk_bvsub(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvmul(a0, a1, a2): - r = lib().Z3_mk_bvmul(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvudiv(a0, a1, a2): - r = lib().Z3_mk_bvudiv(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvsdiv(a0, a1, a2): - r = lib().Z3_mk_bvsdiv(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvurem(a0, a1, a2): - r = lib().Z3_mk_bvurem(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvsrem(a0, a1, a2): - r = lib().Z3_mk_bvsrem(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvsmod(a0, a1, a2): - r = lib().Z3_mk_bvsmod(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvult(a0, a1, a2): - r = lib().Z3_mk_bvult(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvslt(a0, a1, a2): - r = lib().Z3_mk_bvslt(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvule(a0, a1, a2): - r = lib().Z3_mk_bvule(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvsle(a0, a1, a2): - r = lib().Z3_mk_bvsle(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvuge(a0, a1, a2): - r = lib().Z3_mk_bvuge(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvsge(a0, a1, a2): - r = lib().Z3_mk_bvsge(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvugt(a0, a1, a2): - r = lib().Z3_mk_bvugt(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvsgt(a0, a1, a2): - r = lib().Z3_mk_bvsgt(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_concat(a0, a1, a2): - r = lib().Z3_mk_concat(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_extract(a0, a1, a2, a3): - r = lib().Z3_mk_extract(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_sign_ext(a0, a1, a2): - r = lib().Z3_mk_sign_ext(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_zero_ext(a0, a1, a2): - r = lib().Z3_mk_zero_ext(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_repeat(a0, a1, a2): - r = lib().Z3_mk_repeat(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvshl(a0, a1, a2): - r = lib().Z3_mk_bvshl(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvlshr(a0, a1, a2): - r = lib().Z3_mk_bvlshr(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvashr(a0, a1, a2): - r = lib().Z3_mk_bvashr(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_rotate_left(a0, a1, a2): - r = lib().Z3_mk_rotate_left(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_rotate_right(a0, a1, a2): - r = lib().Z3_mk_rotate_right(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_ext_rotate_left(a0, a1, a2): - r = lib().Z3_mk_ext_rotate_left(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_ext_rotate_right(a0, a1, a2): - r = lib().Z3_mk_ext_rotate_right(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_int2bv(a0, a1, a2): - r = lib().Z3_mk_int2bv(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bv2int(a0, a1, a2): - r = lib().Z3_mk_bv2int(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvadd_no_overflow(a0, a1, a2, a3): - r = lib().Z3_mk_bvadd_no_overflow(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvadd_no_underflow(a0, a1, a2): - r = lib().Z3_mk_bvadd_no_underflow(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvsub_no_overflow(a0, a1, a2): - r = lib().Z3_mk_bvsub_no_overflow(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvsub_no_underflow(a0, a1, a2, a3): - r = lib().Z3_mk_bvsub_no_underflow(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvsdiv_no_overflow(a0, a1, a2): - r = lib().Z3_mk_bvsdiv_no_overflow(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvneg_no_overflow(a0, a1): - r = lib().Z3_mk_bvneg_no_overflow(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvmul_no_overflow(a0, a1, a2, a3): - r = lib().Z3_mk_bvmul_no_overflow(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bvmul_no_underflow(a0, a1, a2): - r = lib().Z3_mk_bvmul_no_underflow(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_select(a0, a1, a2): - r = lib().Z3_mk_select(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_store(a0, a1, a2, a3): - r = lib().Z3_mk_store(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_const_array(a0, a1, a2): - r = lib().Z3_mk_const_array(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_map(a0, a1, a2, a3): - r = lib().Z3_mk_map(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_array_default(a0, a1): - r = lib().Z3_mk_array_default(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_set_sort(a0, a1): - r = lib().Z3_mk_set_sort(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_empty_set(a0, a1): - r = lib().Z3_mk_empty_set(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_full_set(a0, a1): - r = lib().Z3_mk_full_set(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_set_add(a0, a1, a2): - r = lib().Z3_mk_set_add(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_set_del(a0, a1, a2): - r = lib().Z3_mk_set_del(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_set_union(a0, a1, a2): - r = lib().Z3_mk_set_union(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_set_intersect(a0, a1, a2): - r = lib().Z3_mk_set_intersect(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_set_difference(a0, a1, a2): - r = lib().Z3_mk_set_difference(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_set_complement(a0, a1): - r = lib().Z3_mk_set_complement(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_set_member(a0, a1, a2): - r = lib().Z3_mk_set_member(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_set_subset(a0, a1, a2): - r = lib().Z3_mk_set_subset(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_numeral(a0, a1, a2): - r = lib().Z3_mk_numeral(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_real(a0, a1, a2): - r = lib().Z3_mk_real(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_int(a0, a1, a2): - r = lib().Z3_mk_int(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_unsigned_int(a0, a1, a2): - r = lib().Z3_mk_unsigned_int(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_int64(a0, a1, a2): - r = lib().Z3_mk_int64(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_unsigned_int64(a0, a1, a2): - r = lib().Z3_mk_unsigned_int64(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_pattern(a0, a1, a2): - r = lib().Z3_mk_pattern(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_bound(a0, a1, a2): - r = lib().Z3_mk_bound(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_forall(a0, a1, a2, a3, a4, a5, a6, a7): - r = lib().Z3_mk_forall(a0, a1, a2, a3, a4, a5, a6, a7) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_exists(a0, a1, a2, a3, a4, a5, a6, a7): - r = lib().Z3_mk_exists(a0, a1, a2, a3, a4, a5, a6, a7) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_quantifier(a0, a1, a2, a3, a4, a5, a6, a7, a8): - r = lib().Z3_mk_quantifier(a0, a1, a2, a3, a4, a5, a6, a7, a8) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_quantifier_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12): - r = lib().Z3_mk_quantifier_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_forall_const(a0, a1, a2, a3, a4, a5, a6): - r = lib().Z3_mk_forall_const(a0, a1, a2, a3, a4, a5, a6) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_exists_const(a0, a1, a2, a3, a4, a5, a6): - r = lib().Z3_mk_exists_const(a0, a1, a2, a3, a4, a5, a6) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_quantifier_const(a0, a1, a2, a3, a4, a5, a6, a7): - r = lib().Z3_mk_quantifier_const(a0, a1, a2, a3, a4, a5, a6, a7) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_quantifier_const_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11): - r = lib().Z3_mk_quantifier_const_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_ast_id(a0, a1): - r = lib().Z3_get_ast_id(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_func_decl_id(a0, a1): - r = lib().Z3_get_func_decl_id(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_sort_id(a0, a1): - r = lib().Z3_get_sort_id(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_is_well_sorted(a0, a1): - r = lib().Z3_is_well_sorted(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_symbol_kind(a0, a1): - r = lib().Z3_get_symbol_kind(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_symbol_int(a0, a1): - r = lib().Z3_get_symbol_int(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_symbol_string(a0, a1): - r = lib().Z3_get_symbol_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_ast_kind(a0, a1): - r = lib().Z3_get_ast_kind(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_ast_hash(a0, a1): - r = lib().Z3_get_ast_hash(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_numeral_string(a0, a1): - r = lib().Z3_get_numeral_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_numeral_decimal_string(a0, a1, a2): - r = lib().Z3_get_numeral_decimal_string(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_numerator(a0, a1): - r = lib().Z3_get_numerator(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_denominator(a0, a1): - r = lib().Z3_get_denominator(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_numeral_small(a0, a1, a2, a3): - r = lib().Z3_get_numeral_small(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_numeral_int(a0, a1, a2): - r = lib().Z3_get_numeral_int(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_numeral_uint(a0, a1, a2): - r = lib().Z3_get_numeral_uint(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_numeral_uint64(a0, a1, a2): - r = lib().Z3_get_numeral_uint64(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_numeral_int64(a0, a1, a2): - r = lib().Z3_get_numeral_int64(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_numeral_rational_int64(a0, a1, a2, a3): - r = lib().Z3_get_numeral_rational_int64(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_bool_value(a0, a1): - r = lib().Z3_get_bool_value(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_app_decl(a0, a1): - r = lib().Z3_get_app_decl(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_app_num_args(a0, a1): - r = lib().Z3_get_app_num_args(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_app_arg(a0, a1, a2): - r = lib().Z3_get_app_arg(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_index_value(a0, a1): - r = lib().Z3_get_index_value(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_is_quantifier_forall(a0, a1): - r = lib().Z3_is_quantifier_forall(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_quantifier_weight(a0, a1): - r = lib().Z3_get_quantifier_weight(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_quantifier_num_patterns(a0, a1): - r = lib().Z3_get_quantifier_num_patterns(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_quantifier_pattern_ast(a0, a1, a2): - r = lib().Z3_get_quantifier_pattern_ast(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_quantifier_num_no_patterns(a0, a1): - r = lib().Z3_get_quantifier_num_no_patterns(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_quantifier_no_pattern_ast(a0, a1, a2): - r = lib().Z3_get_quantifier_no_pattern_ast(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_quantifier_bound_name(a0, a1, a2): - r = lib().Z3_get_quantifier_bound_name(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_quantifier_bound_sort(a0, a1, a2): - r = lib().Z3_get_quantifier_bound_sort(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_quantifier_body(a0, a1): - r = lib().Z3_get_quantifier_body(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_quantifier_num_bound(a0, a1): - r = lib().Z3_get_quantifier_num_bound(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_decl_name(a0, a1): - r = lib().Z3_get_decl_name(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_decl_num_parameters(a0, a1): - r = lib().Z3_get_decl_num_parameters(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_decl_parameter_kind(a0, a1, a2): - r = lib().Z3_get_decl_parameter_kind(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_decl_int_parameter(a0, a1, a2): - r = lib().Z3_get_decl_int_parameter(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_decl_double_parameter(a0, a1, a2): - r = lib().Z3_get_decl_double_parameter(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_decl_symbol_parameter(a0, a1, a2): - r = lib().Z3_get_decl_symbol_parameter(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_decl_sort_parameter(a0, a1, a2): - r = lib().Z3_get_decl_sort_parameter(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_decl_ast_parameter(a0, a1, a2): - r = lib().Z3_get_decl_ast_parameter(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_decl_func_decl_parameter(a0, a1, a2): - r = lib().Z3_get_decl_func_decl_parameter(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_decl_rational_parameter(a0, a1, a2): - r = lib().Z3_get_decl_rational_parameter(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_sort_name(a0, a1): - r = lib().Z3_get_sort_name(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_sort(a0, a1): - r = lib().Z3_get_sort(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_domain_size(a0, a1): - r = lib().Z3_get_domain_size(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_domain(a0, a1, a2): - r = lib().Z3_get_domain(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_range(a0, a1): - r = lib().Z3_get_range(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_sort_kind(a0, a1): - r = lib().Z3_get_sort_kind(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_bv_sort_size(a0, a1): - r = lib().Z3_get_bv_sort_size(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_array_sort_domain(a0, a1): - r = lib().Z3_get_array_sort_domain(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_array_sort_range(a0, a1): - r = lib().Z3_get_array_sort_range(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_tuple_sort_mk_decl(a0, a1): - r = lib().Z3_get_tuple_sort_mk_decl(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_decl_kind(a0, a1): - r = lib().Z3_get_decl_kind(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_tuple_sort_num_fields(a0, a1): - r = lib().Z3_get_tuple_sort_num_fields(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_tuple_sort_field_decl(a0, a1, a2): - r = lib().Z3_get_tuple_sort_field_decl(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_datatype_sort_num_constructors(a0, a1): - r = lib().Z3_get_datatype_sort_num_constructors(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_datatype_sort_constructor(a0, a1, a2): - r = lib().Z3_get_datatype_sort_constructor(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_datatype_sort_recognizer(a0, a1, a2): - r = lib().Z3_get_datatype_sort_recognizer(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_datatype_sort_constructor_accessor(a0, a1, a2, a3): - r = lib().Z3_get_datatype_sort_constructor_accessor(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_relation_arity(a0, a1): - r = lib().Z3_get_relation_arity(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_relation_column(a0, a1, a2): - r = lib().Z3_get_relation_column(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_finite_domain_sort_size(a0, a1, a2): - r = lib().Z3_get_finite_domain_sort_size(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_finite_domain_sort(a0, a1, a2): - r = lib().Z3_mk_finite_domain_sort(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_pattern_num_terms(a0, a1): - r = lib().Z3_get_pattern_num_terms(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_pattern(a0, a1, a2): - r = lib().Z3_get_pattern(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_simplify(a0, a1): - r = lib().Z3_simplify(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_simplify_ex(a0, a1, a2): - r = lib().Z3_simplify_ex(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_simplify_get_help(a0): - r = lib().Z3_simplify_get_help(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_simplify_get_param_descrs(a0): - r = lib().Z3_simplify_get_param_descrs(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_update_term(a0, a1, a2, a3): - r = lib().Z3_update_term(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_substitute(a0, a1, a2, a3, a4): - r = lib().Z3_substitute(a0, a1, a2, a3, a4) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_substitute_vars(a0, a1, a2, a3): - r = lib().Z3_substitute_vars(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_sort_to_ast(a0, a1): - r = lib().Z3_sort_to_ast(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_func_decl_to_ast(a0, a1): - r = lib().Z3_func_decl_to_ast(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_pattern_to_ast(a0, a1): - r = lib().Z3_pattern_to_ast(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_app_to_ast(a0, a1): - r = lib().Z3_app_to_ast(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_to_app(a0, a1): - r = lib().Z3_to_app(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_to_func_decl(a0, a1): - r = lib().Z3_to_func_decl(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_push(a0): - lib().Z3_push(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_pop(a0, a1): - lib().Z3_pop(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_get_num_scopes(a0): - r = lib().Z3_get_num_scopes(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_persist_ast(a0, a1, a2): - lib().Z3_persist_ast(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_assert_cnstr(a0, a1): - lib().Z3_assert_cnstr(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_check_and_get_model(a0, a1): - r = lib().Z3_check_and_get_model(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_check(a0): - r = lib().Z3_check(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_check_assumptions(a0, a1, a2, a3, a4, a5, a6): - r = lib().Z3_check_assumptions(a0, a1, a2, a3, a4, a5, a6) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_implied_equalities(a0, a1, a2, a3): - r = lib().Z3_get_implied_equalities(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_del_model(a0, a1): - lib().Z3_del_model(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_soft_check_cancel(a0): - lib().Z3_soft_check_cancel(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_get_search_failure(a0): - r = lib().Z3_get_search_failure(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_relevant_labels(a0): - r = lib().Z3_get_relevant_labels(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_relevant_literals(a0): - r = lib().Z3_get_relevant_literals(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_guessed_literals(a0): - r = lib().Z3_get_guessed_literals(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_del_literals(a0, a1): - lib().Z3_del_literals(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_get_num_literals(a0, a1): - r = lib().Z3_get_num_literals(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_label_symbol(a0, a1, a2): - r = lib().Z3_get_label_symbol(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_literal(a0, a1, a2): - r = lib().Z3_get_literal(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_disable_literal(a0, a1, a2): - lib().Z3_disable_literal(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_block_literals(a0, a1): - lib().Z3_block_literals(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_model_inc_ref(a0, a1): - lib().Z3_model_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_model_dec_ref(a0, a1): - lib().Z3_model_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_model_get_const_interp(a0, a1, a2): - r = lib().Z3_model_get_const_interp(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_model_get_func_interp(a0, a1, a2): - r = lib().Z3_model_get_func_interp(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_model_get_num_consts(a0, a1): - r = lib().Z3_model_get_num_consts(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_model_get_const_decl(a0, a1, a2): - r = lib().Z3_model_get_const_decl(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_model_get_num_funcs(a0, a1): - r = lib().Z3_model_get_num_funcs(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_model_get_func_decl(a0, a1, a2): - r = lib().Z3_model_get_func_decl(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_model_eval(a0, a1, a2, a3, a4): - r = lib().Z3_model_eval(a0, a1, a2, a3, a4) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_model_get_num_sorts(a0, a1): - r = lib().Z3_model_get_num_sorts(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_model_get_sort(a0, a1, a2): - r = lib().Z3_model_get_sort(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_model_get_sort_universe(a0, a1, a2): - r = lib().Z3_model_get_sort_universe(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_is_as_array(a0, a1): - r = lib().Z3_is_as_array(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_as_array_func_decl(a0, a1): - r = lib().Z3_get_as_array_func_decl(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_func_interp_inc_ref(a0, a1): - lib().Z3_func_interp_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_func_interp_dec_ref(a0, a1): - lib().Z3_func_interp_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_func_interp_get_num_entries(a0, a1): - r = lib().Z3_func_interp_get_num_entries(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_func_interp_get_entry(a0, a1, a2): - r = lib().Z3_func_interp_get_entry(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_func_interp_get_else(a0, a1): - r = lib().Z3_func_interp_get_else(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_func_interp_get_arity(a0, a1): - r = lib().Z3_func_interp_get_arity(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_func_entry_inc_ref(a0, a1): - lib().Z3_func_entry_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_func_entry_dec_ref(a0, a1): - lib().Z3_func_entry_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_func_entry_get_value(a0, a1): - r = lib().Z3_func_entry_get_value(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_func_entry_get_num_args(a0, a1): - r = lib().Z3_func_entry_get_num_args(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_func_entry_get_arg(a0, a1, a2): - r = lib().Z3_func_entry_get_arg(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_model_num_constants(a0, a1): - r = lib().Z3_get_model_num_constants(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_model_constant(a0, a1, a2): - r = lib().Z3_get_model_constant(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_eval_func_decl(a0, a1, a2, a3): - r = lib().Z3_eval_func_decl(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_is_array_value(a0, a1, a2, a3): - r = lib().Z3_is_array_value(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_array_value(a0, a1, a2, a3, a4, a5, a6): - lib().Z3_get_array_value(a0, a1, a2, a3, a4, a5, a6) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_get_model_num_funcs(a0, a1): - r = lib().Z3_get_model_num_funcs(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_model_func_decl(a0, a1, a2): - r = lib().Z3_get_model_func_decl(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_model_func_else(a0, a1, a2): - r = lib().Z3_get_model_func_else(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_model_func_num_entries(a0, a1, a2): - r = lib().Z3_get_model_func_num_entries(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_model_func_entry_num_args(a0, a1, a2, a3): - r = lib().Z3_get_model_func_entry_num_args(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_model_func_entry_arg(a0, a1, a2, a3, a4): - r = lib().Z3_get_model_func_entry_arg(a0, a1, a2, a3, a4) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_model_func_entry_value(a0, a1, a2, a3): - r = lib().Z3_get_model_func_entry_value(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_eval(a0, a1, a2, a3): - r = lib().Z3_eval(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_eval_decl(a0, a1, a2, a3, a4, a5): - r = lib().Z3_eval_decl(a0, a1, a2, a3, a4, a5) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_set_ast_print_mode(a0, a1): - lib().Z3_set_ast_print_mode(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_ast_to_string(a0, a1): - r = lib().Z3_ast_to_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_pattern_to_string(a0, a1): - r = lib().Z3_pattern_to_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_sort_to_string(a0, a1): - r = lib().Z3_sort_to_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_func_decl_to_string(a0, a1): - r = lib().Z3_func_decl_to_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_model_to_string(a0, a1): - r = lib().Z3_model_to_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_benchmark_to_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7): - r = lib().Z3_benchmark_to_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_context_to_string(a0): - r = lib().Z3_context_to_string(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_statistics_to_string(a0): - r = lib().Z3_statistics_to_string(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_context_assignment(a0): - r = lib().Z3_get_context_assignment(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_parse_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7): - lib().Z3_parse_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_parse_smtlib_file(a0, a1, a2, a3, a4, a5, a6, a7): - lib().Z3_parse_smtlib_file(a0, a1, a2, a3, a4, a5, a6, a7) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_get_smtlib_num_formulas(a0): - r = lib().Z3_get_smtlib_num_formulas(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_smtlib_formula(a0, a1): - r = lib().Z3_get_smtlib_formula(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_smtlib_num_assumptions(a0): - r = lib().Z3_get_smtlib_num_assumptions(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_smtlib_assumption(a0, a1): - r = lib().Z3_get_smtlib_assumption(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_smtlib_num_decls(a0): - r = lib().Z3_get_smtlib_num_decls(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_smtlib_decl(a0, a1): - r = lib().Z3_get_smtlib_decl(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_smtlib_num_sorts(a0): - r = lib().Z3_get_smtlib_num_sorts(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_smtlib_sort(a0, a1): - r = lib().Z3_get_smtlib_sort(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_smtlib_error(a0): - r = lib().Z3_get_smtlib_error(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_parse_z3_string(a0, a1): - r = lib().Z3_parse_z3_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_parse_z3_file(a0, a1): - r = lib().Z3_parse_z3_file(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_parse_smtlib2_string(a0, a1, a2, a3, a4, a5, a6, a7): - r = lib().Z3_parse_smtlib2_string(a0, a1, a2, a3, a4, a5, a6, a7) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_parse_smtlib2_file(a0, a1, a2, a3, a4, a5, a6, a7): - r = lib().Z3_parse_smtlib2_file(a0, a1, a2, a3, a4, a5, a6, a7) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_error_code(a0): - r = lib().Z3_get_error_code(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_set_error(a0, a1): - lib().Z3_set_error(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_get_error_msg(a0): - r = lib().Z3_get_error_msg(a0) - return r - -def Z3_get_version(a0, a1, a2, a3): - lib().Z3_get_version(a0, a1, a2, a3) - -def Z3_reset_memory(): - lib().Z3_reset_memory() - -def Z3_is_app(a0, a1): - r = lib().Z3_is_app(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_is_numeral_ast(a0, a1): - r = lib().Z3_is_numeral_ast(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_arity(a0, a1): - r = lib().Z3_get_arity(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_injective_function(a0, a1, a2, a3, a4): - r = lib().Z3_mk_injective_function(a0, a1, a2, a3, a4) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_fixedpoint(a0): - r = lib().Z3_mk_fixedpoint(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_fixedpoint_inc_ref(a0, a1): - lib().Z3_fixedpoint_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_fixedpoint_dec_ref(a0, a1): - lib().Z3_fixedpoint_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_fixedpoint_push(a0, a1): - lib().Z3_fixedpoint_push(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_fixedpoint_pop(a0, a1): - lib().Z3_fixedpoint_pop(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_fixedpoint_register_relation(a0, a1, a2): - lib().Z3_fixedpoint_register_relation(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_fixedpoint_assert(a0, a1, a2): - lib().Z3_fixedpoint_assert(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_fixedpoint_add_rule(a0, a1, a2, a3): - lib().Z3_fixedpoint_add_rule(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_fixedpoint_add_fact(a0, a1, a2, a3, a4): - lib().Z3_fixedpoint_add_fact(a0, a1, a2, a3, a4) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_fixedpoint_query(a0, a1, a2): - r = lib().Z3_fixedpoint_query(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_fixedpoint_query_relations(a0, a1, a2, a3): - r = lib().Z3_fixedpoint_query_relations(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_fixedpoint_get_answer(a0, a1): - r = lib().Z3_fixedpoint_get_answer(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_fixedpoint_update_rule(a0, a1, a2, a3): - lib().Z3_fixedpoint_update_rule(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_fixedpoint_get_num_levels(a0, a1, a2): - r = lib().Z3_fixedpoint_get_num_levels(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_fixedpoint_get_cover_delta(a0, a1, a2, a3): - r = lib().Z3_fixedpoint_get_cover_delta(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_fixedpoint_add_cover(a0, a1, a2, a3, a4): - lib().Z3_fixedpoint_add_cover(a0, a1, a2, a3, a4) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_fixedpoint_get_statistics(a0, a1): - r = lib().Z3_fixedpoint_get_statistics(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_fixedpoint_get_help(a0, a1): - r = lib().Z3_fixedpoint_get_help(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_fixedpoint_get_param_descrs(a0, a1): - r = lib().Z3_fixedpoint_get_param_descrs(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_fixedpoint_set_params(a0, a1, a2): - lib().Z3_fixedpoint_set_params(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_fixedpoint_to_string(a0, a1, a2, a3): - r = lib().Z3_fixedpoint_to_string(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_fixedpoint_get_reason_unknown(a0, a1): - r = lib().Z3_fixedpoint_get_reason_unknown(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_fixedpoint_set_predicate_representation(a0, a1, a2, a3, a4): - lib().Z3_fixedpoint_set_predicate_representation(a0, a1, a2, a3, a4) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_fixedpoint_simplify_rules(a0, a1, a2, a3, a4, a5): - r = lib().Z3_fixedpoint_simplify_rules(a0, a1, a2, a3, a4, a5) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_params(a0): - r = lib().Z3_mk_params(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_params_inc_ref(a0, a1): - lib().Z3_params_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_params_dec_ref(a0, a1): - lib().Z3_params_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_params_set_bool(a0, a1, a2, a3): - lib().Z3_params_set_bool(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_params_set_uint(a0, a1, a2, a3): - lib().Z3_params_set_uint(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_params_set_double(a0, a1, a2, a3): - lib().Z3_params_set_double(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_params_set_symbol(a0, a1, a2, a3): - lib().Z3_params_set_symbol(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_params_to_string(a0, a1): - r = lib().Z3_params_to_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_params_validate(a0, a1, a2): - lib().Z3_params_validate(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_param_descrs_inc_ref(a0, a1): - lib().Z3_param_descrs_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_param_descrs_dec_ref(a0, a1): - lib().Z3_param_descrs_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_param_descrs_get_kind(a0, a1, a2): - r = lib().Z3_param_descrs_get_kind(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_param_descrs_size(a0, a1): - r = lib().Z3_param_descrs_size(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_param_descrs_get_name(a0, a1, a2): - r = lib().Z3_param_descrs_get_name(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_param_descrs_to_string(a0, a1): - r = lib().Z3_param_descrs_to_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_interrupt(a0): - lib().Z3_interrupt(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_get_error_msg_ex(a0, a1): - r = lib().Z3_get_error_msg_ex(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_translate(a0, a1, a2): - r = lib().Z3_translate(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_goal(a0, a1, a2, a3): - r = lib().Z3_mk_goal(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_goal_inc_ref(a0, a1): - lib().Z3_goal_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_goal_dec_ref(a0, a1): - lib().Z3_goal_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_goal_precision(a0, a1): - r = lib().Z3_goal_precision(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_goal_assert(a0, a1, a2): - lib().Z3_goal_assert(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_goal_inconsistent(a0, a1): - r = lib().Z3_goal_inconsistent(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_goal_depth(a0, a1): - r = lib().Z3_goal_depth(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_goal_reset(a0, a1): - lib().Z3_goal_reset(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_goal_size(a0, a1): - r = lib().Z3_goal_size(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_goal_formula(a0, a1, a2): - r = lib().Z3_goal_formula(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_goal_num_exprs(a0, a1): - r = lib().Z3_goal_num_exprs(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_goal_is_decided_sat(a0, a1): - r = lib().Z3_goal_is_decided_sat(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_goal_is_decided_unsat(a0, a1): - r = lib().Z3_goal_is_decided_unsat(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_goal_translate(a0, a1, a2): - r = lib().Z3_goal_translate(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_goal_to_string(a0, a1): - r = lib().Z3_goal_to_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_tactic(a0, a1): - r = lib().Z3_mk_tactic(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_probe(a0, a1): - r = lib().Z3_mk_probe(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_inc_ref(a0, a1): - lib().Z3_tactic_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_tactic_dec_ref(a0, a1): - lib().Z3_tactic_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_probe_inc_ref(a0, a1): - lib().Z3_probe_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_probe_dec_ref(a0, a1): - lib().Z3_probe_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_tactic_and_then(a0, a1, a2): - r = lib().Z3_tactic_and_then(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_or_else(a0, a1, a2): - r = lib().Z3_tactic_or_else(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_par_or(a0, a1, a2): - r = lib().Z3_tactic_par_or(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_par_and_then(a0, a1, a2): - r = lib().Z3_tactic_par_and_then(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_try_for(a0, a1, a2): - r = lib().Z3_tactic_try_for(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_when(a0, a1, a2): - r = lib().Z3_tactic_when(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_cond(a0, a1, a2, a3): - r = lib().Z3_tactic_cond(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_repeat(a0, a1, a2): - r = lib().Z3_tactic_repeat(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_skip(a0): - r = lib().Z3_tactic_skip(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_fail(a0): - r = lib().Z3_tactic_fail(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_fail_if(a0, a1): - r = lib().Z3_tactic_fail_if(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_fail_if_not_decided(a0): - r = lib().Z3_tactic_fail_if_not_decided(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_using_params(a0, a1, a2): - r = lib().Z3_tactic_using_params(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_probe_const(a0, a1): - r = lib().Z3_probe_const(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_probe_lt(a0, a1, a2): - r = lib().Z3_probe_lt(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_probe_le(a0, a1, a2): - r = lib().Z3_probe_le(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_probe_gt(a0, a1, a2): - r = lib().Z3_probe_gt(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_probe_ge(a0, a1, a2): - r = lib().Z3_probe_ge(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_probe_eq(a0, a1, a2): - r = lib().Z3_probe_eq(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_probe_and(a0, a1, a2): - r = lib().Z3_probe_and(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_probe_or(a0, a1, a2): - r = lib().Z3_probe_or(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_probe_not(a0, a1): - r = lib().Z3_probe_not(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_num_tactics(a0): - r = lib().Z3_get_num_tactics(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_tactic_name(a0, a1): - r = lib().Z3_get_tactic_name(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_num_probes(a0): - r = lib().Z3_get_num_probes(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_get_probe_name(a0, a1): - r = lib().Z3_get_probe_name(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_get_help(a0, a1): - r = lib().Z3_tactic_get_help(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_get_param_descrs(a0, a1): - r = lib().Z3_tactic_get_param_descrs(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_get_descr(a0, a1): - r = lib().Z3_tactic_get_descr(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_probe_get_descr(a0, a1): - r = lib().Z3_probe_get_descr(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_probe_apply(a0, a1, a2): - r = lib().Z3_probe_apply(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_apply(a0, a1, a2): - r = lib().Z3_tactic_apply(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_tactic_apply_ex(a0, a1, a2, a3): - r = lib().Z3_tactic_apply_ex(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_apply_result_inc_ref(a0, a1): - lib().Z3_apply_result_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_apply_result_dec_ref(a0, a1): - lib().Z3_apply_result_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_apply_result_to_string(a0, a1): - r = lib().Z3_apply_result_to_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_apply_result_get_num_subgoals(a0, a1): - r = lib().Z3_apply_result_get_num_subgoals(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_apply_result_get_subgoal(a0, a1, a2): - r = lib().Z3_apply_result_get_subgoal(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_apply_result_convert_model(a0, a1, a2, a3): - r = lib().Z3_apply_result_convert_model(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_solver(a0): - r = lib().Z3_mk_solver(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_simple_solver(a0): - r = lib().Z3_mk_simple_solver(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_solver_for_logic(a0, a1): - r = lib().Z3_mk_solver_for_logic(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_solver_from_tactic(a0, a1): - r = lib().Z3_mk_solver_from_tactic(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_solver_get_help(a0, a1): - r = lib().Z3_solver_get_help(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_solver_get_param_descrs(a0, a1): - r = lib().Z3_solver_get_param_descrs(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_solver_set_params(a0, a1, a2): - lib().Z3_solver_set_params(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_solver_inc_ref(a0, a1): - lib().Z3_solver_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_solver_dec_ref(a0, a1): - lib().Z3_solver_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_solver_push(a0, a1): - lib().Z3_solver_push(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_solver_pop(a0, a1, a2): - lib().Z3_solver_pop(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_solver_reset(a0, a1): - lib().Z3_solver_reset(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_solver_get_num_scopes(a0, a1): - r = lib().Z3_solver_get_num_scopes(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_solver_assert(a0, a1, a2): - lib().Z3_solver_assert(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_solver_get_assertions(a0, a1): - r = lib().Z3_solver_get_assertions(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_solver_check(a0, a1): - r = lib().Z3_solver_check(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_solver_check_assumptions(a0, a1, a2, a3): - r = lib().Z3_solver_check_assumptions(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_solver_get_model(a0, a1): - r = lib().Z3_solver_get_model(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_solver_get_proof(a0, a1): - r = lib().Z3_solver_get_proof(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_solver_get_unsat_core(a0, a1): - r = lib().Z3_solver_get_unsat_core(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_solver_get_reason_unknown(a0, a1): - r = lib().Z3_solver_get_reason_unknown(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_solver_get_statistics(a0, a1): - r = lib().Z3_solver_get_statistics(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_solver_to_string(a0, a1): - r = lib().Z3_solver_to_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_stats_to_string(a0, a1): - r = lib().Z3_stats_to_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_stats_inc_ref(a0, a1): - lib().Z3_stats_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_stats_dec_ref(a0, a1): - lib().Z3_stats_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_stats_size(a0, a1): - r = lib().Z3_stats_size(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_stats_get_key(a0, a1, a2): - r = lib().Z3_stats_get_key(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_stats_is_uint(a0, a1, a2): - r = lib().Z3_stats_is_uint(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_stats_is_double(a0, a1, a2): - r = lib().Z3_stats_is_double(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_stats_get_uint_value(a0, a1, a2): - r = lib().Z3_stats_get_uint_value(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_stats_get_double_value(a0, a1, a2): - r = lib().Z3_stats_get_double_value(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_ast_vector(a0): - r = lib().Z3_mk_ast_vector(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_ast_vector_inc_ref(a0, a1): - lib().Z3_ast_vector_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_ast_vector_dec_ref(a0, a1): - lib().Z3_ast_vector_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_ast_vector_size(a0, a1): - r = lib().Z3_ast_vector_size(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_ast_vector_get(a0, a1, a2): - r = lib().Z3_ast_vector_get(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_ast_vector_set(a0, a1, a2, a3): - lib().Z3_ast_vector_set(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_ast_vector_resize(a0, a1, a2): - lib().Z3_ast_vector_resize(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_ast_vector_push(a0, a1, a2): - lib().Z3_ast_vector_push(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_ast_vector_translate(a0, a1, a2): - r = lib().Z3_ast_vector_translate(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_ast_vector_to_string(a0, a1): - r = lib().Z3_ast_vector_to_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_mk_ast_map(a0): - r = lib().Z3_mk_ast_map(a0) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_ast_map_inc_ref(a0, a1): - lib().Z3_ast_map_inc_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_ast_map_dec_ref(a0, a1): - lib().Z3_ast_map_dec_ref(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_ast_map_contains(a0, a1, a2): - r = lib().Z3_ast_map_contains(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_ast_map_find(a0, a1, a2): - r = lib().Z3_ast_map_find(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_ast_map_insert(a0, a1, a2, a3): - lib().Z3_ast_map_insert(a0, a1, a2, a3) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_ast_map_erase(a0, a1, a2): - lib().Z3_ast_map_erase(a0, a1, a2) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_ast_map_size(a0, a1): - r = lib().Z3_ast_map_size(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_ast_map_reset(a0, a1): - lib().Z3_ast_map_reset(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - -def Z3_ast_map_keys(a0, a1): - r = lib().Z3_ast_map_keys(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_ast_map_to_string(a0, a1): - r = lib().Z3_ast_map_to_string(a0, a1) - err = lib().Z3_get_error_code(a0) - if err != Z3_OK: - raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) - return r - -def Z3_open_log(a0): - r = lib().Z3_open_log(a0) - return r - -def Z3_append_log(a0): - lib().Z3_append_log(a0) - -def Z3_close_log(): - lib().Z3_close_log() - +# Automatically generated file, generator: update_api.py +import sys, os +import ctypes +from z3types import * +from z3consts import * + +def _find_lib(): + _dir = os.path.dirname(os.path.abspath(__file__)) + libs = ['z3.dll', 'libz3.so', 'libz3.dylib'] + if sys.maxsize > 2**32: + locs = [_dir, '%s%s..%sx64%sexternal' % (_dir, os.sep, os.sep, os.sep), '%s%s..%sbin%sexternal' % (_dir, os.sep, os.sep, os.sep)] + else: + locs = [_dir, '%s%s..%sexternal' % (_dir, os.sep, os.sep), '%s%s..%sbin%sexternal' % (_dir, os.sep, os.sep, os.sep)] + for loc in locs: + for lib in libs: + f = '%s%s%s' % (loc, os.sep, lib) + if os.path.exists(f): + return f + return None + +_lib = None +def lib(): + if _lib == None: + l = _find_lib() + if l == None: + raise Z3Exception("init(Z3_LIBRARY_PATH) must be invoked before using Z3-python") + init(l) + assert _lib != None + return _lib + +def init(PATH): + global _lib + _lib = ctypes.CDLL(PATH) + _lib.Z3_mk_config.restype = Config + _lib.Z3_mk_config.argtypes = [] + _lib.Z3_del_config.argtypes = [Config] + _lib.Z3_set_param_value.argtypes = [Config, ctypes.c_char_p, ctypes.c_char_p] + _lib.Z3_mk_context.restype = Context + _lib.Z3_mk_context.argtypes = [Config] + _lib.Z3_mk_context_rc.restype = Context + _lib.Z3_mk_context_rc.argtypes = [Config] + _lib.Z3_del_context.argtypes = [Context] + _lib.Z3_inc_ref.argtypes = [Context, Ast] + _lib.Z3_dec_ref.argtypes = [Context, Ast] + _lib.Z3_update_param_value.argtypes = [Context, ctypes.c_char_p, ctypes.c_char_p] + _lib.Z3_get_param_value.restype = ctypes.c_bool + _lib.Z3_get_param_value.argtypes = [Context, ctypes.c_char_p, ctypes.POINTER(ctypes.c_char_p)] + _lib.Z3_interrupt.argtypes = [Context] + _lib.Z3_mk_params.restype = Params + _lib.Z3_mk_params.argtypes = [Context] + _lib.Z3_params_inc_ref.argtypes = [Context, Params] + _lib.Z3_params_dec_ref.argtypes = [Context, Params] + _lib.Z3_params_set_bool.argtypes = [Context, Params, Symbol, ctypes.c_bool] + _lib.Z3_params_set_uint.argtypes = [Context, Params, Symbol, ctypes.c_uint] + _lib.Z3_params_set_double.argtypes = [Context, Params, Symbol, ctypes.c_double] + _lib.Z3_params_set_symbol.argtypes = [Context, Params, Symbol, Symbol] + _lib.Z3_params_to_string.restype = ctypes.c_char_p + _lib.Z3_params_to_string.argtypes = [Context, Params] + _lib.Z3_params_validate.argtypes = [Context, Params, ParamDescrs] + _lib.Z3_param_descrs_inc_ref.argtypes = [Context, ParamDescrs] + _lib.Z3_param_descrs_dec_ref.argtypes = [Context, ParamDescrs] + _lib.Z3_param_descrs_get_kind.restype = ctypes.c_uint + _lib.Z3_param_descrs_get_kind.argtypes = [Context, ParamDescrs, Symbol] + _lib.Z3_param_descrs_size.restype = ctypes.c_uint + _lib.Z3_param_descrs_size.argtypes = [Context, ParamDescrs] + _lib.Z3_param_descrs_get_name.restype = Symbol + _lib.Z3_param_descrs_get_name.argtypes = [Context, ParamDescrs, ctypes.c_uint] + _lib.Z3_param_descrs_to_string.restype = ctypes.c_char_p + _lib.Z3_param_descrs_to_string.argtypes = [Context, ParamDescrs] + _lib.Z3_mk_int_symbol.restype = Symbol + _lib.Z3_mk_int_symbol.argtypes = [Context, ctypes.c_int] + _lib.Z3_mk_string_symbol.restype = Symbol + _lib.Z3_mk_string_symbol.argtypes = [Context, ctypes.c_char_p] + _lib.Z3_mk_uninterpreted_sort.restype = Sort + _lib.Z3_mk_uninterpreted_sort.argtypes = [Context, Symbol] + _lib.Z3_mk_bool_sort.restype = Sort + _lib.Z3_mk_bool_sort.argtypes = [Context] + _lib.Z3_mk_int_sort.restype = Sort + _lib.Z3_mk_int_sort.argtypes = [Context] + _lib.Z3_mk_real_sort.restype = Sort + _lib.Z3_mk_real_sort.argtypes = [Context] + _lib.Z3_mk_bv_sort.restype = Sort + _lib.Z3_mk_bv_sort.argtypes = [Context, ctypes.c_uint] + _lib.Z3_mk_finite_domain_sort.restype = Sort + _lib.Z3_mk_finite_domain_sort.argtypes = [Context, Symbol, ctypes.c_ulonglong] + _lib.Z3_mk_array_sort.restype = Sort + _lib.Z3_mk_array_sort.argtypes = [Context, Sort, Sort] + _lib.Z3_mk_tuple_sort.restype = Sort + _lib.Z3_mk_tuple_sort.argtypes = [Context, Symbol, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(Sort), ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl)] + _lib.Z3_mk_enumeration_sort.restype = Sort + _lib.Z3_mk_enumeration_sort.argtypes = [Context, Symbol, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl)] + _lib.Z3_mk_list_sort.restype = Sort + _lib.Z3_mk_list_sort.argtypes = [Context, Symbol, Sort, ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl)] + _lib.Z3_mk_constructor.restype = Constructor + _lib.Z3_mk_constructor.argtypes = [Context, Symbol, Symbol, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(Sort), ctypes.POINTER(ctypes.c_uint)] + _lib.Z3_del_constructor.argtypes = [Context, Constructor] + _lib.Z3_mk_datatype.restype = Sort + _lib.Z3_mk_datatype.argtypes = [Context, Symbol, ctypes.c_uint, ctypes.POINTER(Constructor)] + _lib.Z3_mk_constructor_list.restype = ConstructorList + _lib.Z3_mk_constructor_list.argtypes = [Context, ctypes.c_uint, ctypes.POINTER(Constructor)] + _lib.Z3_del_constructor_list.argtypes = [Context, ConstructorList] + _lib.Z3_mk_datatypes.argtypes = [Context, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(Sort), ctypes.POINTER(ConstructorList)] + _lib.Z3_query_constructor.argtypes = [Context, Constructor, ctypes.c_uint, ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl), ctypes.POINTER(FuncDecl)] + _lib.Z3_mk_func_decl.restype = FuncDecl + _lib.Z3_mk_func_decl.argtypes = [Context, Symbol, ctypes.c_uint, ctypes.POINTER(Sort), Sort] + _lib.Z3_mk_app.restype = Ast + _lib.Z3_mk_app.argtypes = [Context, FuncDecl, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_mk_const.restype = Ast + _lib.Z3_mk_const.argtypes = [Context, Symbol, Sort] + _lib.Z3_mk_fresh_func_decl.restype = FuncDecl + _lib.Z3_mk_fresh_func_decl.argtypes = [Context, ctypes.c_char_p, ctypes.c_uint, ctypes.POINTER(Sort), Sort] + _lib.Z3_mk_fresh_const.restype = Ast + _lib.Z3_mk_fresh_const.argtypes = [Context, ctypes.c_char_p, Sort] + _lib.Z3_mk_true.restype = Ast + _lib.Z3_mk_true.argtypes = [Context] + _lib.Z3_mk_false.restype = Ast + _lib.Z3_mk_false.argtypes = [Context] + _lib.Z3_mk_eq.restype = Ast + _lib.Z3_mk_eq.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_distinct.restype = Ast + _lib.Z3_mk_distinct.argtypes = [Context, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_mk_not.restype = Ast + _lib.Z3_mk_not.argtypes = [Context, Ast] + _lib.Z3_mk_ite.restype = Ast + _lib.Z3_mk_ite.argtypes = [Context, Ast, Ast, Ast] + _lib.Z3_mk_iff.restype = Ast + _lib.Z3_mk_iff.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_implies.restype = Ast + _lib.Z3_mk_implies.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_xor.restype = Ast + _lib.Z3_mk_xor.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_and.restype = Ast + _lib.Z3_mk_and.argtypes = [Context, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_mk_or.restype = Ast + _lib.Z3_mk_or.argtypes = [Context, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_mk_add.restype = Ast + _lib.Z3_mk_add.argtypes = [Context, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_mk_mul.restype = Ast + _lib.Z3_mk_mul.argtypes = [Context, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_mk_sub.restype = Ast + _lib.Z3_mk_sub.argtypes = [Context, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_mk_unary_minus.restype = Ast + _lib.Z3_mk_unary_minus.argtypes = [Context, Ast] + _lib.Z3_mk_div.restype = Ast + _lib.Z3_mk_div.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_mod.restype = Ast + _lib.Z3_mk_mod.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_rem.restype = Ast + _lib.Z3_mk_rem.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_power.restype = Ast + _lib.Z3_mk_power.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_lt.restype = Ast + _lib.Z3_mk_lt.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_le.restype = Ast + _lib.Z3_mk_le.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_gt.restype = Ast + _lib.Z3_mk_gt.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_ge.restype = Ast + _lib.Z3_mk_ge.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_int2real.restype = Ast + _lib.Z3_mk_int2real.argtypes = [Context, Ast] + _lib.Z3_mk_real2int.restype = Ast + _lib.Z3_mk_real2int.argtypes = [Context, Ast] + _lib.Z3_mk_is_int.restype = Ast + _lib.Z3_mk_is_int.argtypes = [Context, Ast] + _lib.Z3_mk_bvnot.restype = Ast + _lib.Z3_mk_bvnot.argtypes = [Context, Ast] + _lib.Z3_mk_bvredand.restype = Ast + _lib.Z3_mk_bvredand.argtypes = [Context, Ast] + _lib.Z3_mk_bvredor.restype = Ast + _lib.Z3_mk_bvredor.argtypes = [Context, Ast] + _lib.Z3_mk_bvand.restype = Ast + _lib.Z3_mk_bvand.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvor.restype = Ast + _lib.Z3_mk_bvor.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvxor.restype = Ast + _lib.Z3_mk_bvxor.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvnand.restype = Ast + _lib.Z3_mk_bvnand.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvnor.restype = Ast + _lib.Z3_mk_bvnor.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvxnor.restype = Ast + _lib.Z3_mk_bvxnor.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvneg.restype = Ast + _lib.Z3_mk_bvneg.argtypes = [Context, Ast] + _lib.Z3_mk_bvadd.restype = Ast + _lib.Z3_mk_bvadd.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvsub.restype = Ast + _lib.Z3_mk_bvsub.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvmul.restype = Ast + _lib.Z3_mk_bvmul.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvudiv.restype = Ast + _lib.Z3_mk_bvudiv.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvsdiv.restype = Ast + _lib.Z3_mk_bvsdiv.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvurem.restype = Ast + _lib.Z3_mk_bvurem.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvsrem.restype = Ast + _lib.Z3_mk_bvsrem.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvsmod.restype = Ast + _lib.Z3_mk_bvsmod.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvult.restype = Ast + _lib.Z3_mk_bvult.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvslt.restype = Ast + _lib.Z3_mk_bvslt.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvule.restype = Ast + _lib.Z3_mk_bvule.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvsle.restype = Ast + _lib.Z3_mk_bvsle.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvuge.restype = Ast + _lib.Z3_mk_bvuge.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvsge.restype = Ast + _lib.Z3_mk_bvsge.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvugt.restype = Ast + _lib.Z3_mk_bvugt.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvsgt.restype = Ast + _lib.Z3_mk_bvsgt.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_concat.restype = Ast + _lib.Z3_mk_concat.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_extract.restype = Ast + _lib.Z3_mk_extract.argtypes = [Context, ctypes.c_uint, ctypes.c_uint, Ast] + _lib.Z3_mk_sign_ext.restype = Ast + _lib.Z3_mk_sign_ext.argtypes = [Context, ctypes.c_uint, Ast] + _lib.Z3_mk_zero_ext.restype = Ast + _lib.Z3_mk_zero_ext.argtypes = [Context, ctypes.c_uint, Ast] + _lib.Z3_mk_repeat.restype = Ast + _lib.Z3_mk_repeat.argtypes = [Context, ctypes.c_uint, Ast] + _lib.Z3_mk_bvshl.restype = Ast + _lib.Z3_mk_bvshl.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvlshr.restype = Ast + _lib.Z3_mk_bvlshr.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvashr.restype = Ast + _lib.Z3_mk_bvashr.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_rotate_left.restype = Ast + _lib.Z3_mk_rotate_left.argtypes = [Context, ctypes.c_uint, Ast] + _lib.Z3_mk_rotate_right.restype = Ast + _lib.Z3_mk_rotate_right.argtypes = [Context, ctypes.c_uint, Ast] + _lib.Z3_mk_ext_rotate_left.restype = Ast + _lib.Z3_mk_ext_rotate_left.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_ext_rotate_right.restype = Ast + _lib.Z3_mk_ext_rotate_right.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_int2bv.restype = Ast + _lib.Z3_mk_int2bv.argtypes = [Context, ctypes.c_uint, Ast] + _lib.Z3_mk_bv2int.restype = Ast + _lib.Z3_mk_bv2int.argtypes = [Context, Ast, ctypes.c_bool] + _lib.Z3_mk_bvadd_no_overflow.restype = Ast + _lib.Z3_mk_bvadd_no_overflow.argtypes = [Context, Ast, Ast, ctypes.c_bool] + _lib.Z3_mk_bvadd_no_underflow.restype = Ast + _lib.Z3_mk_bvadd_no_underflow.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvsub_no_overflow.restype = Ast + _lib.Z3_mk_bvsub_no_overflow.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvsub_no_underflow.restype = Ast + _lib.Z3_mk_bvsub_no_underflow.argtypes = [Context, Ast, Ast, ctypes.c_bool] + _lib.Z3_mk_bvsdiv_no_overflow.restype = Ast + _lib.Z3_mk_bvsdiv_no_overflow.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_bvneg_no_overflow.restype = Ast + _lib.Z3_mk_bvneg_no_overflow.argtypes = [Context, Ast] + _lib.Z3_mk_bvmul_no_overflow.restype = Ast + _lib.Z3_mk_bvmul_no_overflow.argtypes = [Context, Ast, Ast, ctypes.c_bool] + _lib.Z3_mk_bvmul_no_underflow.restype = Ast + _lib.Z3_mk_bvmul_no_underflow.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_select.restype = Ast + _lib.Z3_mk_select.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_store.restype = Ast + _lib.Z3_mk_store.argtypes = [Context, Ast, Ast, Ast] + _lib.Z3_mk_const_array.restype = Ast + _lib.Z3_mk_const_array.argtypes = [Context, Sort, Ast] + _lib.Z3_mk_map.restype = Ast + _lib.Z3_mk_map.argtypes = [Context, FuncDecl, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_mk_array_default.restype = Ast + _lib.Z3_mk_array_default.argtypes = [Context, Ast] + _lib.Z3_mk_set_sort.restype = Sort + _lib.Z3_mk_set_sort.argtypes = [Context, Sort] + _lib.Z3_mk_empty_set.restype = Ast + _lib.Z3_mk_empty_set.argtypes = [Context, Sort] + _lib.Z3_mk_full_set.restype = Ast + _lib.Z3_mk_full_set.argtypes = [Context, Sort] + _lib.Z3_mk_set_add.restype = Ast + _lib.Z3_mk_set_add.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_set_del.restype = Ast + _lib.Z3_mk_set_del.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_set_union.restype = Ast + _lib.Z3_mk_set_union.argtypes = [Context, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_mk_set_intersect.restype = Ast + _lib.Z3_mk_set_intersect.argtypes = [Context, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_mk_set_difference.restype = Ast + _lib.Z3_mk_set_difference.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_set_complement.restype = Ast + _lib.Z3_mk_set_complement.argtypes = [Context, Ast] + _lib.Z3_mk_set_member.restype = Ast + _lib.Z3_mk_set_member.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_set_subset.restype = Ast + _lib.Z3_mk_set_subset.argtypes = [Context, Ast, Ast] + _lib.Z3_mk_numeral.restype = Ast + _lib.Z3_mk_numeral.argtypes = [Context, ctypes.c_char_p, Sort] + _lib.Z3_mk_real.restype = Ast + _lib.Z3_mk_real.argtypes = [Context, ctypes.c_int, ctypes.c_int] + _lib.Z3_mk_int.restype = Ast + _lib.Z3_mk_int.argtypes = [Context, ctypes.c_int, Sort] + _lib.Z3_mk_unsigned_int.restype = Ast + _lib.Z3_mk_unsigned_int.argtypes = [Context, ctypes.c_uint, Sort] + _lib.Z3_mk_int64.restype = Ast + _lib.Z3_mk_int64.argtypes = [Context, ctypes.c_longlong, Sort] + _lib.Z3_mk_unsigned_int64.restype = Ast + _lib.Z3_mk_unsigned_int64.argtypes = [Context, ctypes.c_ulonglong, Sort] + _lib.Z3_mk_pattern.restype = Pattern + _lib.Z3_mk_pattern.argtypes = [Context, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_mk_bound.restype = Ast + _lib.Z3_mk_bound.argtypes = [Context, ctypes.c_uint, Sort] + _lib.Z3_mk_forall.restype = Ast + _lib.Z3_mk_forall.argtypes = [Context, ctypes.c_uint, ctypes.c_uint, ctypes.POINTER(Pattern), ctypes.c_uint, ctypes.POINTER(Sort), ctypes.POINTER(Symbol), Ast] + _lib.Z3_mk_exists.restype = Ast + _lib.Z3_mk_exists.argtypes = [Context, ctypes.c_uint, ctypes.c_uint, ctypes.POINTER(Pattern), ctypes.c_uint, ctypes.POINTER(Sort), ctypes.POINTER(Symbol), Ast] + _lib.Z3_mk_quantifier.restype = Ast + _lib.Z3_mk_quantifier.argtypes = [Context, ctypes.c_bool, ctypes.c_uint, ctypes.c_uint, ctypes.POINTER(Pattern), ctypes.c_uint, ctypes.POINTER(Sort), ctypes.POINTER(Symbol), Ast] + _lib.Z3_mk_quantifier_ex.restype = Ast + _lib.Z3_mk_quantifier_ex.argtypes = [Context, ctypes.c_bool, ctypes.c_uint, Symbol, Symbol, ctypes.c_uint, ctypes.POINTER(Pattern), ctypes.c_uint, ctypes.POINTER(Ast), ctypes.c_uint, ctypes.POINTER(Sort), ctypes.POINTER(Symbol), Ast] + _lib.Z3_mk_forall_const.restype = Ast + _lib.Z3_mk_forall_const.argtypes = [Context, ctypes.c_uint, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.c_uint, ctypes.POINTER(Pattern), Ast] + _lib.Z3_mk_exists_const.restype = Ast + _lib.Z3_mk_exists_const.argtypes = [Context, ctypes.c_uint, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.c_uint, ctypes.POINTER(Pattern), Ast] + _lib.Z3_mk_quantifier_const.restype = Ast + _lib.Z3_mk_quantifier_const.argtypes = [Context, ctypes.c_bool, ctypes.c_uint, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.c_uint, ctypes.POINTER(Pattern), Ast] + _lib.Z3_mk_quantifier_const_ex.restype = Ast + _lib.Z3_mk_quantifier_const_ex.argtypes = [Context, ctypes.c_bool, ctypes.c_uint, Symbol, Symbol, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.c_uint, ctypes.POINTER(Pattern), ctypes.c_uint, ctypes.POINTER(Ast), Ast] + _lib.Z3_get_symbol_kind.restype = ctypes.c_uint + _lib.Z3_get_symbol_kind.argtypes = [Context, Symbol] + _lib.Z3_get_symbol_int.restype = ctypes.c_int + _lib.Z3_get_symbol_int.argtypes = [Context, Symbol] + _lib.Z3_get_symbol_string.restype = ctypes.c_char_p + _lib.Z3_get_symbol_string.argtypes = [Context, Symbol] + _lib.Z3_get_sort_name.restype = Symbol + _lib.Z3_get_sort_name.argtypes = [Context, Sort] + _lib.Z3_get_sort_id.restype = ctypes.c_uint + _lib.Z3_get_sort_id.argtypes = [Context, Sort] + _lib.Z3_sort_to_ast.restype = Ast + _lib.Z3_sort_to_ast.argtypes = [Context, Sort] + _lib.Z3_is_eq_sort.restype = ctypes.c_bool + _lib.Z3_is_eq_sort.argtypes = [Context, Sort, Sort] + _lib.Z3_get_sort_kind.restype = ctypes.c_uint + _lib.Z3_get_sort_kind.argtypes = [Context, Sort] + _lib.Z3_get_bv_sort_size.restype = ctypes.c_uint + _lib.Z3_get_bv_sort_size.argtypes = [Context, Sort] + _lib.Z3_get_finite_domain_sort_size.restype = ctypes.c_bool + _lib.Z3_get_finite_domain_sort_size.argtypes = [Context, Sort, ctypes.POINTER(ctypes.c_ulonglong)] + _lib.Z3_get_array_sort_domain.restype = Sort + _lib.Z3_get_array_sort_domain.argtypes = [Context, Sort] + _lib.Z3_get_array_sort_range.restype = Sort + _lib.Z3_get_array_sort_range.argtypes = [Context, Sort] + _lib.Z3_get_tuple_sort_mk_decl.restype = FuncDecl + _lib.Z3_get_tuple_sort_mk_decl.argtypes = [Context, Sort] + _lib.Z3_get_tuple_sort_num_fields.restype = ctypes.c_uint + _lib.Z3_get_tuple_sort_num_fields.argtypes = [Context, Sort] + _lib.Z3_get_tuple_sort_field_decl.restype = FuncDecl + _lib.Z3_get_tuple_sort_field_decl.argtypes = [Context, Sort, ctypes.c_uint] + _lib.Z3_get_datatype_sort_num_constructors.restype = ctypes.c_uint + _lib.Z3_get_datatype_sort_num_constructors.argtypes = [Context, Sort] + _lib.Z3_get_datatype_sort_constructor.restype = FuncDecl + _lib.Z3_get_datatype_sort_constructor.argtypes = [Context, Sort, ctypes.c_uint] + _lib.Z3_get_datatype_sort_recognizer.restype = FuncDecl + _lib.Z3_get_datatype_sort_recognizer.argtypes = [Context, Sort, ctypes.c_uint] + _lib.Z3_get_datatype_sort_constructor_accessor.restype = FuncDecl + _lib.Z3_get_datatype_sort_constructor_accessor.argtypes = [Context, Sort, ctypes.c_uint, ctypes.c_uint] + _lib.Z3_get_relation_arity.restype = ctypes.c_uint + _lib.Z3_get_relation_arity.argtypes = [Context, Sort] + _lib.Z3_get_relation_column.restype = Sort + _lib.Z3_get_relation_column.argtypes = [Context, Sort, ctypes.c_uint] + _lib.Z3_func_decl_to_ast.restype = Ast + _lib.Z3_func_decl_to_ast.argtypes = [Context, FuncDecl] + _lib.Z3_is_eq_func_decl.restype = ctypes.c_bool + _lib.Z3_is_eq_func_decl.argtypes = [Context, FuncDecl, FuncDecl] + _lib.Z3_get_func_decl_id.restype = ctypes.c_uint + _lib.Z3_get_func_decl_id.argtypes = [Context, FuncDecl] + _lib.Z3_get_decl_name.restype = Symbol + _lib.Z3_get_decl_name.argtypes = [Context, FuncDecl] + _lib.Z3_get_decl_kind.restype = ctypes.c_uint + _lib.Z3_get_decl_kind.argtypes = [Context, FuncDecl] + _lib.Z3_get_domain_size.restype = ctypes.c_uint + _lib.Z3_get_domain_size.argtypes = [Context, FuncDecl] + _lib.Z3_get_arity.restype = ctypes.c_uint + _lib.Z3_get_arity.argtypes = [Context, FuncDecl] + _lib.Z3_get_domain.restype = Sort + _lib.Z3_get_domain.argtypes = [Context, FuncDecl, ctypes.c_uint] + _lib.Z3_get_range.restype = Sort + _lib.Z3_get_range.argtypes = [Context, FuncDecl] + _lib.Z3_get_decl_num_parameters.restype = ctypes.c_uint + _lib.Z3_get_decl_num_parameters.argtypes = [Context, FuncDecl] + _lib.Z3_get_decl_parameter_kind.restype = ctypes.c_uint + _lib.Z3_get_decl_parameter_kind.argtypes = [Context, FuncDecl, ctypes.c_uint] + _lib.Z3_get_decl_int_parameter.restype = ctypes.c_int + _lib.Z3_get_decl_int_parameter.argtypes = [Context, FuncDecl, ctypes.c_uint] + _lib.Z3_get_decl_double_parameter.restype = ctypes.c_double + _lib.Z3_get_decl_double_parameter.argtypes = [Context, FuncDecl, ctypes.c_uint] + _lib.Z3_get_decl_symbol_parameter.restype = Symbol + _lib.Z3_get_decl_symbol_parameter.argtypes = [Context, FuncDecl, ctypes.c_uint] + _lib.Z3_get_decl_sort_parameter.restype = Sort + _lib.Z3_get_decl_sort_parameter.argtypes = [Context, FuncDecl, ctypes.c_uint] + _lib.Z3_get_decl_ast_parameter.restype = Ast + _lib.Z3_get_decl_ast_parameter.argtypes = [Context, FuncDecl, ctypes.c_uint] + _lib.Z3_get_decl_func_decl_parameter.restype = FuncDecl + _lib.Z3_get_decl_func_decl_parameter.argtypes = [Context, FuncDecl, ctypes.c_uint] + _lib.Z3_get_decl_rational_parameter.restype = ctypes.c_char_p + _lib.Z3_get_decl_rational_parameter.argtypes = [Context, FuncDecl, ctypes.c_uint] + _lib.Z3_app_to_ast.restype = Ast + _lib.Z3_app_to_ast.argtypes = [Context, Ast] + _lib.Z3_get_app_decl.restype = FuncDecl + _lib.Z3_get_app_decl.argtypes = [Context, Ast] + _lib.Z3_get_app_num_args.restype = ctypes.c_uint + _lib.Z3_get_app_num_args.argtypes = [Context, Ast] + _lib.Z3_get_app_arg.restype = Ast + _lib.Z3_get_app_arg.argtypes = [Context, Ast, ctypes.c_uint] + _lib.Z3_is_eq_ast.restype = ctypes.c_bool + _lib.Z3_is_eq_ast.argtypes = [Context, Ast, Ast] + _lib.Z3_get_ast_id.restype = ctypes.c_uint + _lib.Z3_get_ast_id.argtypes = [Context, Ast] + _lib.Z3_get_ast_hash.restype = ctypes.c_uint + _lib.Z3_get_ast_hash.argtypes = [Context, Ast] + _lib.Z3_get_sort.restype = Sort + _lib.Z3_get_sort.argtypes = [Context, Ast] + _lib.Z3_is_well_sorted.restype = ctypes.c_bool + _lib.Z3_is_well_sorted.argtypes = [Context, Ast] + _lib.Z3_get_bool_value.restype = ctypes.c_uint + _lib.Z3_get_bool_value.argtypes = [Context, Ast] + _lib.Z3_get_ast_kind.restype = ctypes.c_uint + _lib.Z3_get_ast_kind.argtypes = [Context, Ast] + _lib.Z3_is_app.restype = ctypes.c_bool + _lib.Z3_is_app.argtypes = [Context, Ast] + _lib.Z3_is_numeral_ast.restype = ctypes.c_bool + _lib.Z3_is_numeral_ast.argtypes = [Context, Ast] + _lib.Z3_is_algebraic_number.restype = ctypes.c_bool + _lib.Z3_is_algebraic_number.argtypes = [Context, Ast] + _lib.Z3_to_app.restype = Ast + _lib.Z3_to_app.argtypes = [Context, Ast] + _lib.Z3_to_func_decl.restype = FuncDecl + _lib.Z3_to_func_decl.argtypes = [Context, Ast] + _lib.Z3_get_numeral_string.restype = ctypes.c_char_p + _lib.Z3_get_numeral_string.argtypes = [Context, Ast] + _lib.Z3_get_numeral_decimal_string.restype = ctypes.c_char_p + _lib.Z3_get_numeral_decimal_string.argtypes = [Context, Ast, ctypes.c_uint] + _lib.Z3_get_numerator.restype = Ast + _lib.Z3_get_numerator.argtypes = [Context, Ast] + _lib.Z3_get_denominator.restype = Ast + _lib.Z3_get_denominator.argtypes = [Context, Ast] + _lib.Z3_get_numeral_small.restype = ctypes.c_bool + _lib.Z3_get_numeral_small.argtypes = [Context, Ast, ctypes.POINTER(ctypes.c_longlong), ctypes.POINTER(ctypes.c_longlong)] + _lib.Z3_get_numeral_int.restype = ctypes.c_bool + _lib.Z3_get_numeral_int.argtypes = [Context, Ast, ctypes.POINTER(ctypes.c_int)] + _lib.Z3_get_numeral_uint.restype = ctypes.c_bool + _lib.Z3_get_numeral_uint.argtypes = [Context, Ast, ctypes.POINTER(ctypes.c_uint)] + _lib.Z3_get_numeral_uint64.restype = ctypes.c_bool + _lib.Z3_get_numeral_uint64.argtypes = [Context, Ast, ctypes.POINTER(ctypes.c_ulonglong)] + _lib.Z3_get_numeral_int64.restype = ctypes.c_bool + _lib.Z3_get_numeral_int64.argtypes = [Context, Ast, ctypes.POINTER(ctypes.c_longlong)] + _lib.Z3_get_numeral_rational_int64.restype = ctypes.c_bool + _lib.Z3_get_numeral_rational_int64.argtypes = [Context, Ast, ctypes.POINTER(ctypes.c_longlong), ctypes.POINTER(ctypes.c_longlong)] + _lib.Z3_get_algebraic_number_lower.restype = Ast + _lib.Z3_get_algebraic_number_lower.argtypes = [Context, Ast, ctypes.c_uint] + _lib.Z3_get_algebraic_number_upper.restype = Ast + _lib.Z3_get_algebraic_number_upper.argtypes = [Context, Ast, ctypes.c_uint] + _lib.Z3_pattern_to_ast.restype = Ast + _lib.Z3_pattern_to_ast.argtypes = [Context, Pattern] + _lib.Z3_get_pattern_num_terms.restype = ctypes.c_uint + _lib.Z3_get_pattern_num_terms.argtypes = [Context, Pattern] + _lib.Z3_get_pattern.restype = Ast + _lib.Z3_get_pattern.argtypes = [Context, Pattern, ctypes.c_uint] + _lib.Z3_get_index_value.restype = ctypes.c_uint + _lib.Z3_get_index_value.argtypes = [Context, Ast] + _lib.Z3_is_quantifier_forall.restype = ctypes.c_bool + _lib.Z3_is_quantifier_forall.argtypes = [Context, Ast] + _lib.Z3_get_quantifier_weight.restype = ctypes.c_uint + _lib.Z3_get_quantifier_weight.argtypes = [Context, Ast] + _lib.Z3_get_quantifier_num_patterns.restype = ctypes.c_uint + _lib.Z3_get_quantifier_num_patterns.argtypes = [Context, Ast] + _lib.Z3_get_quantifier_pattern_ast.restype = Pattern + _lib.Z3_get_quantifier_pattern_ast.argtypes = [Context, Ast, ctypes.c_uint] + _lib.Z3_get_quantifier_num_no_patterns.restype = ctypes.c_uint + _lib.Z3_get_quantifier_num_no_patterns.argtypes = [Context, Ast] + _lib.Z3_get_quantifier_no_pattern_ast.restype = Ast + _lib.Z3_get_quantifier_no_pattern_ast.argtypes = [Context, Ast, ctypes.c_uint] + _lib.Z3_get_quantifier_num_bound.restype = ctypes.c_uint + _lib.Z3_get_quantifier_num_bound.argtypes = [Context, Ast] + _lib.Z3_get_quantifier_bound_name.restype = Symbol + _lib.Z3_get_quantifier_bound_name.argtypes = [Context, Ast, ctypes.c_uint] + _lib.Z3_get_quantifier_bound_sort.restype = Sort + _lib.Z3_get_quantifier_bound_sort.argtypes = [Context, Ast, ctypes.c_uint] + _lib.Z3_get_quantifier_body.restype = Ast + _lib.Z3_get_quantifier_body.argtypes = [Context, Ast] + _lib.Z3_simplify.restype = Ast + _lib.Z3_simplify.argtypes = [Context, Ast] + _lib.Z3_simplify_ex.restype = Ast + _lib.Z3_simplify_ex.argtypes = [Context, Ast, Params] + _lib.Z3_simplify_get_help.restype = ctypes.c_char_p + _lib.Z3_simplify_get_help.argtypes = [Context] + _lib.Z3_simplify_get_param_descrs.restype = ParamDescrs + _lib.Z3_simplify_get_param_descrs.argtypes = [Context] + _lib.Z3_update_term.restype = Ast + _lib.Z3_update_term.argtypes = [Context, Ast, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_substitute.restype = Ast + _lib.Z3_substitute.argtypes = [Context, Ast, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.POINTER(Ast)] + _lib.Z3_substitute_vars.restype = Ast + _lib.Z3_substitute_vars.argtypes = [Context, Ast, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_translate.restype = Ast + _lib.Z3_translate.argtypes = [Context, Ast, Context] + _lib.Z3_model_inc_ref.argtypes = [Context, Model] + _lib.Z3_model_dec_ref.argtypes = [Context, Model] + _lib.Z3_model_eval.restype = ctypes.c_bool + _lib.Z3_model_eval.argtypes = [Context, Model, Ast, ctypes.c_bool, ctypes.POINTER(Ast)] + _lib.Z3_model_get_const_interp.restype = Ast + _lib.Z3_model_get_const_interp.argtypes = [Context, Model, FuncDecl] + _lib.Z3_model_get_func_interp.restype = FuncInterpObj + _lib.Z3_model_get_func_interp.argtypes = [Context, Model, FuncDecl] + _lib.Z3_model_get_num_consts.restype = ctypes.c_uint + _lib.Z3_model_get_num_consts.argtypes = [Context, Model] + _lib.Z3_model_get_const_decl.restype = FuncDecl + _lib.Z3_model_get_const_decl.argtypes = [Context, Model, ctypes.c_uint] + _lib.Z3_model_get_num_funcs.restype = ctypes.c_uint + _lib.Z3_model_get_num_funcs.argtypes = [Context, Model] + _lib.Z3_model_get_func_decl.restype = FuncDecl + _lib.Z3_model_get_func_decl.argtypes = [Context, Model, ctypes.c_uint] + _lib.Z3_model_get_num_sorts.restype = ctypes.c_uint + _lib.Z3_model_get_num_sorts.argtypes = [Context, Model] + _lib.Z3_model_get_sort.restype = Sort + _lib.Z3_model_get_sort.argtypes = [Context, Model, ctypes.c_uint] + _lib.Z3_model_get_sort_universe.restype = AstVectorObj + _lib.Z3_model_get_sort_universe.argtypes = [Context, Model, Sort] + _lib.Z3_is_as_array.restype = ctypes.c_bool + _lib.Z3_is_as_array.argtypes = [Context, Ast] + _lib.Z3_get_as_array_func_decl.restype = FuncDecl + _lib.Z3_get_as_array_func_decl.argtypes = [Context, Ast] + _lib.Z3_func_interp_inc_ref.argtypes = [Context, FuncInterpObj] + _lib.Z3_func_interp_dec_ref.argtypes = [Context, FuncInterpObj] + _lib.Z3_func_interp_get_num_entries.restype = ctypes.c_uint + _lib.Z3_func_interp_get_num_entries.argtypes = [Context, FuncInterpObj] + _lib.Z3_func_interp_get_entry.restype = FuncEntryObj + _lib.Z3_func_interp_get_entry.argtypes = [Context, FuncInterpObj, ctypes.c_uint] + _lib.Z3_func_interp_get_else.restype = Ast + _lib.Z3_func_interp_get_else.argtypes = [Context, FuncInterpObj] + _lib.Z3_func_interp_get_arity.restype = ctypes.c_uint + _lib.Z3_func_interp_get_arity.argtypes = [Context, FuncInterpObj] + _lib.Z3_func_entry_inc_ref.argtypes = [Context, FuncEntryObj] + _lib.Z3_func_entry_dec_ref.argtypes = [Context, FuncEntryObj] + _lib.Z3_func_entry_get_value.restype = Ast + _lib.Z3_func_entry_get_value.argtypes = [Context, FuncEntryObj] + _lib.Z3_func_entry_get_num_args.restype = ctypes.c_uint + _lib.Z3_func_entry_get_num_args.argtypes = [Context, FuncEntryObj] + _lib.Z3_func_entry_get_arg.restype = Ast + _lib.Z3_func_entry_get_arg.argtypes = [Context, FuncEntryObj, ctypes.c_uint] + _lib.Z3_toggle_warning_messages.argtypes = [ctypes.c_bool] + _lib.Z3_set_ast_print_mode.argtypes = [Context, ctypes.c_uint] + _lib.Z3_ast_to_string.restype = ctypes.c_char_p + _lib.Z3_ast_to_string.argtypes = [Context, Ast] + _lib.Z3_pattern_to_string.restype = ctypes.c_char_p + _lib.Z3_pattern_to_string.argtypes = [Context, Pattern] + _lib.Z3_sort_to_string.restype = ctypes.c_char_p + _lib.Z3_sort_to_string.argtypes = [Context, Sort] + _lib.Z3_func_decl_to_string.restype = ctypes.c_char_p + _lib.Z3_func_decl_to_string.argtypes = [Context, FuncDecl] + _lib.Z3_model_to_string.restype = ctypes.c_char_p + _lib.Z3_model_to_string.argtypes = [Context, Model] + _lib.Z3_benchmark_to_smtlib_string.restype = ctypes.c_char_p + _lib.Z3_benchmark_to_smtlib_string.argtypes = [Context, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_uint, ctypes.POINTER(Ast), Ast] + _lib.Z3_parse_smtlib2_string.restype = Ast + _lib.Z3_parse_smtlib2_string.argtypes = [Context, ctypes.c_char_p, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(Sort), ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(FuncDecl)] + _lib.Z3_parse_smtlib2_file.restype = Ast + _lib.Z3_parse_smtlib2_file.argtypes = [Context, ctypes.c_char_p, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(Sort), ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(FuncDecl)] + _lib.Z3_parse_smtlib_string.argtypes = [Context, ctypes.c_char_p, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(Sort), ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(FuncDecl)] + _lib.Z3_parse_smtlib_file.argtypes = [Context, ctypes.c_char_p, ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(Sort), ctypes.c_uint, ctypes.POINTER(Symbol), ctypes.POINTER(FuncDecl)] + _lib.Z3_get_smtlib_num_formulas.restype = ctypes.c_uint + _lib.Z3_get_smtlib_num_formulas.argtypes = [Context] + _lib.Z3_get_smtlib_formula.restype = Ast + _lib.Z3_get_smtlib_formula.argtypes = [Context, ctypes.c_uint] + _lib.Z3_get_smtlib_num_assumptions.restype = ctypes.c_uint + _lib.Z3_get_smtlib_num_assumptions.argtypes = [Context] + _lib.Z3_get_smtlib_assumption.restype = Ast + _lib.Z3_get_smtlib_assumption.argtypes = [Context, ctypes.c_uint] + _lib.Z3_get_smtlib_num_decls.restype = ctypes.c_uint + _lib.Z3_get_smtlib_num_decls.argtypes = [Context] + _lib.Z3_get_smtlib_decl.restype = FuncDecl + _lib.Z3_get_smtlib_decl.argtypes = [Context, ctypes.c_uint] + _lib.Z3_get_smtlib_num_sorts.restype = ctypes.c_uint + _lib.Z3_get_smtlib_num_sorts.argtypes = [Context] + _lib.Z3_get_smtlib_sort.restype = Sort + _lib.Z3_get_smtlib_sort.argtypes = [Context, ctypes.c_uint] + _lib.Z3_get_smtlib_error.restype = ctypes.c_char_p + _lib.Z3_get_smtlib_error.argtypes = [Context] + _lib.Z3_parse_z3_string.restype = Ast + _lib.Z3_parse_z3_string.argtypes = [Context, ctypes.c_char_p] + _lib.Z3_parse_z3_file.restype = Ast + _lib.Z3_parse_z3_file.argtypes = [Context, ctypes.c_char_p] + _lib.Z3_get_error_code.restype = ctypes.c_uint + _lib.Z3_get_error_code.argtypes = [Context] + _lib.Z3_set_error.argtypes = [Context, ctypes.c_uint] + _lib.Z3_get_error_msg.restype = ctypes.c_char_p + _lib.Z3_get_error_msg.argtypes = [ctypes.c_uint] + _lib.Z3_get_error_msg_ex.restype = ctypes.c_char_p + _lib.Z3_get_error_msg_ex.argtypes = [Context, ctypes.c_uint] + _lib.Z3_get_version.argtypes = [ctypes.POINTER(ctypes.c_uint), ctypes.POINTER(ctypes.c_uint), ctypes.POINTER(ctypes.c_uint), ctypes.POINTER(ctypes.c_uint)] + _lib.Z3_reset_memory.argtypes = [] + _lib.Z3_mk_fixedpoint.restype = FixedpointObj + _lib.Z3_mk_fixedpoint.argtypes = [Context] + _lib.Z3_fixedpoint_inc_ref.argtypes = [Context, FixedpointObj] + _lib.Z3_fixedpoint_dec_ref.argtypes = [Context, FixedpointObj] + _lib.Z3_fixedpoint_add_rule.argtypes = [Context, FixedpointObj, Ast, Symbol] + _lib.Z3_fixedpoint_add_fact.argtypes = [Context, FixedpointObj, FuncDecl, ctypes.c_uint, ctypes.POINTER(ctypes.c_uint)] + _lib.Z3_fixedpoint_assert.argtypes = [Context, FixedpointObj, Ast] + _lib.Z3_fixedpoint_query.restype = ctypes.c_int + _lib.Z3_fixedpoint_query.argtypes = [Context, FixedpointObj, Ast] + _lib.Z3_fixedpoint_query_relations.restype = ctypes.c_int + _lib.Z3_fixedpoint_query_relations.argtypes = [Context, FixedpointObj, ctypes.c_uint, ctypes.POINTER(FuncDecl)] + _lib.Z3_fixedpoint_get_answer.restype = Ast + _lib.Z3_fixedpoint_get_answer.argtypes = [Context, FixedpointObj] + _lib.Z3_fixedpoint_get_reason_unknown.restype = ctypes.c_char_p + _lib.Z3_fixedpoint_get_reason_unknown.argtypes = [Context, FixedpointObj] + _lib.Z3_fixedpoint_update_rule.argtypes = [Context, FixedpointObj, Ast, Symbol] + _lib.Z3_fixedpoint_get_num_levels.restype = ctypes.c_uint + _lib.Z3_fixedpoint_get_num_levels.argtypes = [Context, FixedpointObj, FuncDecl] + _lib.Z3_fixedpoint_get_cover_delta.restype = Ast + _lib.Z3_fixedpoint_get_cover_delta.argtypes = [Context, FixedpointObj, ctypes.c_int, FuncDecl] + _lib.Z3_fixedpoint_add_cover.argtypes = [Context, FixedpointObj, ctypes.c_int, FuncDecl, Ast] + _lib.Z3_fixedpoint_get_statistics.restype = StatsObj + _lib.Z3_fixedpoint_get_statistics.argtypes = [Context, FixedpointObj] + _lib.Z3_fixedpoint_register_relation.argtypes = [Context, FixedpointObj, FuncDecl] + _lib.Z3_fixedpoint_set_predicate_representation.argtypes = [Context, FixedpointObj, FuncDecl, ctypes.c_uint, ctypes.POINTER(Symbol)] + _lib.Z3_fixedpoint_simplify_rules.restype = AstVectorObj + _lib.Z3_fixedpoint_simplify_rules.argtypes = [Context, FixedpointObj, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.c_uint, ctypes.POINTER(FuncDecl)] + _lib.Z3_fixedpoint_set_params.argtypes = [Context, FixedpointObj, Params] + _lib.Z3_fixedpoint_get_help.restype = ctypes.c_char_p + _lib.Z3_fixedpoint_get_help.argtypes = [Context, FixedpointObj] + _lib.Z3_fixedpoint_get_param_descrs.restype = ParamDescrs + _lib.Z3_fixedpoint_get_param_descrs.argtypes = [Context, FixedpointObj] + _lib.Z3_fixedpoint_to_string.restype = ctypes.c_char_p + _lib.Z3_fixedpoint_to_string.argtypes = [Context, FixedpointObj, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_fixedpoint_push.argtypes = [Context, FixedpointObj] + _lib.Z3_fixedpoint_pop.argtypes = [Context, FixedpointObj] + _lib.Z3_mk_ast_vector.restype = AstVectorObj + _lib.Z3_mk_ast_vector.argtypes = [Context] + _lib.Z3_ast_vector_inc_ref.argtypes = [Context, AstVectorObj] + _lib.Z3_ast_vector_dec_ref.argtypes = [Context, AstVectorObj] + _lib.Z3_ast_vector_size.restype = ctypes.c_uint + _lib.Z3_ast_vector_size.argtypes = [Context, AstVectorObj] + _lib.Z3_ast_vector_get.restype = Ast + _lib.Z3_ast_vector_get.argtypes = [Context, AstVectorObj, ctypes.c_uint] + _lib.Z3_ast_vector_set.argtypes = [Context, AstVectorObj, ctypes.c_uint, Ast] + _lib.Z3_ast_vector_resize.argtypes = [Context, AstVectorObj, ctypes.c_uint] + _lib.Z3_ast_vector_push.argtypes = [Context, AstVectorObj, Ast] + _lib.Z3_ast_vector_translate.restype = AstVectorObj + _lib.Z3_ast_vector_translate.argtypes = [Context, AstVectorObj, Context] + _lib.Z3_ast_vector_to_string.restype = ctypes.c_char_p + _lib.Z3_ast_vector_to_string.argtypes = [Context, AstVectorObj] + _lib.Z3_mk_ast_map.restype = AstMapObj + _lib.Z3_mk_ast_map.argtypes = [Context] + _lib.Z3_ast_map_inc_ref.argtypes = [Context, AstMapObj] + _lib.Z3_ast_map_dec_ref.argtypes = [Context, AstMapObj] + _lib.Z3_ast_map_contains.restype = ctypes.c_bool + _lib.Z3_ast_map_contains.argtypes = [Context, AstMapObj, Ast] + _lib.Z3_ast_map_find.restype = Ast + _lib.Z3_ast_map_find.argtypes = [Context, AstMapObj, Ast] + _lib.Z3_ast_map_insert.argtypes = [Context, AstMapObj, Ast, Ast] + _lib.Z3_ast_map_erase.argtypes = [Context, AstMapObj, Ast] + _lib.Z3_ast_map_reset.argtypes = [Context, AstMapObj] + _lib.Z3_ast_map_size.restype = ctypes.c_uint + _lib.Z3_ast_map_size.argtypes = [Context, AstMapObj] + _lib.Z3_ast_map_keys.restype = AstVectorObj + _lib.Z3_ast_map_keys.argtypes = [Context, AstMapObj] + _lib.Z3_ast_map_to_string.restype = ctypes.c_char_p + _lib.Z3_ast_map_to_string.argtypes = [Context, AstMapObj] + _lib.Z3_mk_goal.restype = GoalObj + _lib.Z3_mk_goal.argtypes = [Context, ctypes.c_bool, ctypes.c_bool, ctypes.c_bool] + _lib.Z3_goal_inc_ref.argtypes = [Context, GoalObj] + _lib.Z3_goal_dec_ref.argtypes = [Context, GoalObj] + _lib.Z3_goal_precision.restype = ctypes.c_uint + _lib.Z3_goal_precision.argtypes = [Context, GoalObj] + _lib.Z3_goal_assert.argtypes = [Context, GoalObj, Ast] + _lib.Z3_goal_inconsistent.restype = ctypes.c_bool + _lib.Z3_goal_inconsistent.argtypes = [Context, GoalObj] + _lib.Z3_goal_depth.restype = ctypes.c_uint + _lib.Z3_goal_depth.argtypes = [Context, GoalObj] + _lib.Z3_goal_reset.argtypes = [Context, GoalObj] + _lib.Z3_goal_size.restype = ctypes.c_uint + _lib.Z3_goal_size.argtypes = [Context, GoalObj] + _lib.Z3_goal_formula.restype = Ast + _lib.Z3_goal_formula.argtypes = [Context, GoalObj, ctypes.c_uint] + _lib.Z3_goal_num_exprs.restype = ctypes.c_uint + _lib.Z3_goal_num_exprs.argtypes = [Context, GoalObj] + _lib.Z3_goal_is_decided_sat.restype = ctypes.c_bool + _lib.Z3_goal_is_decided_sat.argtypes = [Context, GoalObj] + _lib.Z3_goal_is_decided_unsat.restype = ctypes.c_bool + _lib.Z3_goal_is_decided_unsat.argtypes = [Context, GoalObj] + _lib.Z3_goal_translate.restype = GoalObj + _lib.Z3_goal_translate.argtypes = [Context, GoalObj, Context] + _lib.Z3_goal_to_string.restype = ctypes.c_char_p + _lib.Z3_goal_to_string.argtypes = [Context, GoalObj] + _lib.Z3_mk_tactic.restype = TacticObj + _lib.Z3_mk_tactic.argtypes = [Context, ctypes.c_char_p] + _lib.Z3_tactic_inc_ref.argtypes = [Context, TacticObj] + _lib.Z3_tactic_dec_ref.argtypes = [Context, TacticObj] + _lib.Z3_mk_probe.restype = ProbeObj + _lib.Z3_mk_probe.argtypes = [Context, ctypes.c_char_p] + _lib.Z3_probe_inc_ref.argtypes = [Context, ProbeObj] + _lib.Z3_probe_dec_ref.argtypes = [Context, ProbeObj] + _lib.Z3_tactic_and_then.restype = TacticObj + _lib.Z3_tactic_and_then.argtypes = [Context, TacticObj, TacticObj] + _lib.Z3_tactic_or_else.restype = TacticObj + _lib.Z3_tactic_or_else.argtypes = [Context, TacticObj, TacticObj] + _lib.Z3_tactic_par_or.restype = TacticObj + _lib.Z3_tactic_par_or.argtypes = [Context, ctypes.c_uint, ctypes.POINTER(TacticObj)] + _lib.Z3_tactic_par_and_then.restype = TacticObj + _lib.Z3_tactic_par_and_then.argtypes = [Context, TacticObj, TacticObj] + _lib.Z3_tactic_try_for.restype = TacticObj + _lib.Z3_tactic_try_for.argtypes = [Context, TacticObj, ctypes.c_uint] + _lib.Z3_tactic_when.restype = TacticObj + _lib.Z3_tactic_when.argtypes = [Context, ProbeObj, TacticObj] + _lib.Z3_tactic_cond.restype = TacticObj + _lib.Z3_tactic_cond.argtypes = [Context, ProbeObj, TacticObj, TacticObj] + _lib.Z3_tactic_repeat.restype = TacticObj + _lib.Z3_tactic_repeat.argtypes = [Context, TacticObj, ctypes.c_uint] + _lib.Z3_tactic_skip.restype = TacticObj + _lib.Z3_tactic_skip.argtypes = [Context] + _lib.Z3_tactic_fail.restype = TacticObj + _lib.Z3_tactic_fail.argtypes = [Context] + _lib.Z3_tactic_fail_if.restype = TacticObj + _lib.Z3_tactic_fail_if.argtypes = [Context, ProbeObj] + _lib.Z3_tactic_fail_if_not_decided.restype = TacticObj + _lib.Z3_tactic_fail_if_not_decided.argtypes = [Context] + _lib.Z3_tactic_using_params.restype = TacticObj + _lib.Z3_tactic_using_params.argtypes = [Context, TacticObj, Params] + _lib.Z3_probe_const.restype = ProbeObj + _lib.Z3_probe_const.argtypes = [Context, ctypes.c_double] + _lib.Z3_probe_lt.restype = ProbeObj + _lib.Z3_probe_lt.argtypes = [Context, ProbeObj, ProbeObj] + _lib.Z3_probe_gt.restype = ProbeObj + _lib.Z3_probe_gt.argtypes = [Context, ProbeObj, ProbeObj] + _lib.Z3_probe_le.restype = ProbeObj + _lib.Z3_probe_le.argtypes = [Context, ProbeObj, ProbeObj] + _lib.Z3_probe_ge.restype = ProbeObj + _lib.Z3_probe_ge.argtypes = [Context, ProbeObj, ProbeObj] + _lib.Z3_probe_eq.restype = ProbeObj + _lib.Z3_probe_eq.argtypes = [Context, ProbeObj, ProbeObj] + _lib.Z3_probe_and.restype = ProbeObj + _lib.Z3_probe_and.argtypes = [Context, ProbeObj, ProbeObj] + _lib.Z3_probe_or.restype = ProbeObj + _lib.Z3_probe_or.argtypes = [Context, ProbeObj, ProbeObj] + _lib.Z3_probe_not.restype = ProbeObj + _lib.Z3_probe_not.argtypes = [Context, ProbeObj] + _lib.Z3_get_num_tactics.restype = ctypes.c_uint + _lib.Z3_get_num_tactics.argtypes = [Context] + _lib.Z3_get_tactic_name.restype = ctypes.c_char_p + _lib.Z3_get_tactic_name.argtypes = [Context, ctypes.c_uint] + _lib.Z3_get_num_probes.restype = ctypes.c_uint + _lib.Z3_get_num_probes.argtypes = [Context] + _lib.Z3_get_probe_name.restype = ctypes.c_char_p + _lib.Z3_get_probe_name.argtypes = [Context, ctypes.c_uint] + _lib.Z3_tactic_get_help.restype = ctypes.c_char_p + _lib.Z3_tactic_get_help.argtypes = [Context, TacticObj] + _lib.Z3_tactic_get_param_descrs.restype = ParamDescrs + _lib.Z3_tactic_get_param_descrs.argtypes = [Context, TacticObj] + _lib.Z3_tactic_get_descr.restype = ctypes.c_char_p + _lib.Z3_tactic_get_descr.argtypes = [Context, ctypes.c_char_p] + _lib.Z3_probe_get_descr.restype = ctypes.c_char_p + _lib.Z3_probe_get_descr.argtypes = [Context, ctypes.c_char_p] + _lib.Z3_probe_apply.restype = ctypes.c_double + _lib.Z3_probe_apply.argtypes = [Context, ProbeObj, GoalObj] + _lib.Z3_tactic_apply.restype = ApplyResultObj + _lib.Z3_tactic_apply.argtypes = [Context, TacticObj, GoalObj] + _lib.Z3_tactic_apply_ex.restype = ApplyResultObj + _lib.Z3_tactic_apply_ex.argtypes = [Context, TacticObj, GoalObj, Params] + _lib.Z3_apply_result_inc_ref.argtypes = [Context, ApplyResultObj] + _lib.Z3_apply_result_dec_ref.argtypes = [Context, ApplyResultObj] + _lib.Z3_apply_result_to_string.restype = ctypes.c_char_p + _lib.Z3_apply_result_to_string.argtypes = [Context, ApplyResultObj] + _lib.Z3_apply_result_get_num_subgoals.restype = ctypes.c_uint + _lib.Z3_apply_result_get_num_subgoals.argtypes = [Context, ApplyResultObj] + _lib.Z3_apply_result_get_subgoal.restype = GoalObj + _lib.Z3_apply_result_get_subgoal.argtypes = [Context, ApplyResultObj, ctypes.c_uint] + _lib.Z3_apply_result_convert_model.restype = Model + _lib.Z3_apply_result_convert_model.argtypes = [Context, ApplyResultObj, ctypes.c_uint, Model] + _lib.Z3_mk_solver.restype = SolverObj + _lib.Z3_mk_solver.argtypes = [Context] + _lib.Z3_mk_simple_solver.restype = SolverObj + _lib.Z3_mk_simple_solver.argtypes = [Context] + _lib.Z3_mk_solver_for_logic.restype = SolverObj + _lib.Z3_mk_solver_for_logic.argtypes = [Context, Symbol] + _lib.Z3_mk_solver_from_tactic.restype = SolverObj + _lib.Z3_mk_solver_from_tactic.argtypes = [Context, TacticObj] + _lib.Z3_solver_get_help.restype = ctypes.c_char_p + _lib.Z3_solver_get_help.argtypes = [Context, SolverObj] + _lib.Z3_solver_get_param_descrs.restype = ParamDescrs + _lib.Z3_solver_get_param_descrs.argtypes = [Context, SolverObj] + _lib.Z3_solver_set_params.argtypes = [Context, SolverObj, Params] + _lib.Z3_solver_inc_ref.argtypes = [Context, SolverObj] + _lib.Z3_solver_dec_ref.argtypes = [Context, SolverObj] + _lib.Z3_solver_push.argtypes = [Context, SolverObj] + _lib.Z3_solver_pop.argtypes = [Context, SolverObj, ctypes.c_uint] + _lib.Z3_solver_reset.argtypes = [Context, SolverObj] + _lib.Z3_solver_get_num_scopes.restype = ctypes.c_uint + _lib.Z3_solver_get_num_scopes.argtypes = [Context, SolverObj] + _lib.Z3_solver_assert.argtypes = [Context, SolverObj, Ast] + _lib.Z3_solver_get_assertions.restype = AstVectorObj + _lib.Z3_solver_get_assertions.argtypes = [Context, SolverObj] + _lib.Z3_solver_check.restype = ctypes.c_int + _lib.Z3_solver_check.argtypes = [Context, SolverObj] + _lib.Z3_solver_check_assumptions.restype = ctypes.c_int + _lib.Z3_solver_check_assumptions.argtypes = [Context, SolverObj, ctypes.c_uint, ctypes.POINTER(Ast)] + _lib.Z3_solver_get_model.restype = Model + _lib.Z3_solver_get_model.argtypes = [Context, SolverObj] + _lib.Z3_solver_get_proof.restype = Ast + _lib.Z3_solver_get_proof.argtypes = [Context, SolverObj] + _lib.Z3_solver_get_unsat_core.restype = AstVectorObj + _lib.Z3_solver_get_unsat_core.argtypes = [Context, SolverObj] + _lib.Z3_solver_get_reason_unknown.restype = ctypes.c_char_p + _lib.Z3_solver_get_reason_unknown.argtypes = [Context, SolverObj] + _lib.Z3_solver_get_statistics.restype = StatsObj + _lib.Z3_solver_get_statistics.argtypes = [Context, SolverObj] + _lib.Z3_solver_to_string.restype = ctypes.c_char_p + _lib.Z3_solver_to_string.argtypes = [Context, SolverObj] + _lib.Z3_stats_to_string.restype = ctypes.c_char_p + _lib.Z3_stats_to_string.argtypes = [Context, StatsObj] + _lib.Z3_stats_inc_ref.argtypes = [Context, StatsObj] + _lib.Z3_stats_dec_ref.argtypes = [Context, StatsObj] + _lib.Z3_stats_size.restype = ctypes.c_uint + _lib.Z3_stats_size.argtypes = [Context, StatsObj] + _lib.Z3_stats_get_key.restype = ctypes.c_char_p + _lib.Z3_stats_get_key.argtypes = [Context, StatsObj, ctypes.c_uint] + _lib.Z3_stats_is_uint.restype = ctypes.c_bool + _lib.Z3_stats_is_uint.argtypes = [Context, StatsObj, ctypes.c_uint] + _lib.Z3_stats_is_double.restype = ctypes.c_bool + _lib.Z3_stats_is_double.argtypes = [Context, StatsObj, ctypes.c_uint] + _lib.Z3_stats_get_uint_value.restype = ctypes.c_uint + _lib.Z3_stats_get_uint_value.argtypes = [Context, StatsObj, ctypes.c_uint] + _lib.Z3_stats_get_double_value.restype = ctypes.c_double + _lib.Z3_stats_get_double_value.argtypes = [Context, StatsObj, ctypes.c_uint] + _lib.Z3_mk_injective_function.restype = FuncDecl + _lib.Z3_mk_injective_function.argtypes = [Context, Symbol, ctypes.c_uint, ctypes.POINTER(Sort), Sort] + _lib.Z3_set_logic.argtypes = [Context, ctypes.c_char_p] + _lib.Z3_push.argtypes = [Context] + _lib.Z3_pop.argtypes = [Context, ctypes.c_uint] + _lib.Z3_get_num_scopes.restype = ctypes.c_uint + _lib.Z3_get_num_scopes.argtypes = [Context] + _lib.Z3_persist_ast.argtypes = [Context, Ast, ctypes.c_uint] + _lib.Z3_assert_cnstr.argtypes = [Context, Ast] + _lib.Z3_check_and_get_model.restype = ctypes.c_int + _lib.Z3_check_and_get_model.argtypes = [Context, ctypes.POINTER(Model)] + _lib.Z3_check.restype = ctypes.c_int + _lib.Z3_check.argtypes = [Context] + _lib.Z3_check_assumptions.restype = ctypes.c_int + _lib.Z3_check_assumptions.argtypes = [Context, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.POINTER(Model), ctypes.POINTER(Ast), ctypes.POINTER(ctypes.c_uint), ctypes.POINTER(Ast)] + _lib.Z3_get_implied_equalities.restype = ctypes.c_uint + _lib.Z3_get_implied_equalities.argtypes = [Context, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.POINTER(ctypes.c_uint)] + _lib.Z3_del_model.argtypes = [Context, Model] + _lib.Z3_soft_check_cancel.argtypes = [Context] + _lib.Z3_get_search_failure.restype = ctypes.c_uint + _lib.Z3_get_search_failure.argtypes = [Context] + _lib.Z3_mk_label.restype = Ast + _lib.Z3_mk_label.argtypes = [Context, Symbol, ctypes.c_bool, Ast] + _lib.Z3_get_relevant_labels.restype = Literals + _lib.Z3_get_relevant_labels.argtypes = [Context] + _lib.Z3_get_relevant_literals.restype = Literals + _lib.Z3_get_relevant_literals.argtypes = [Context] + _lib.Z3_get_guessed_literals.restype = Literals + _lib.Z3_get_guessed_literals.argtypes = [Context] + _lib.Z3_del_literals.argtypes = [Context, Literals] + _lib.Z3_get_num_literals.restype = ctypes.c_uint + _lib.Z3_get_num_literals.argtypes = [Context, Literals] + _lib.Z3_get_label_symbol.restype = Symbol + _lib.Z3_get_label_symbol.argtypes = [Context, Literals, ctypes.c_uint] + _lib.Z3_get_literal.restype = Ast + _lib.Z3_get_literal.argtypes = [Context, Literals, ctypes.c_uint] + _lib.Z3_disable_literal.argtypes = [Context, Literals, ctypes.c_uint] + _lib.Z3_block_literals.argtypes = [Context, Literals] + _lib.Z3_get_model_num_constants.restype = ctypes.c_uint + _lib.Z3_get_model_num_constants.argtypes = [Context, Model] + _lib.Z3_get_model_constant.restype = FuncDecl + _lib.Z3_get_model_constant.argtypes = [Context, Model, ctypes.c_uint] + _lib.Z3_get_model_num_funcs.restype = ctypes.c_uint + _lib.Z3_get_model_num_funcs.argtypes = [Context, Model] + _lib.Z3_get_model_func_decl.restype = FuncDecl + _lib.Z3_get_model_func_decl.argtypes = [Context, Model, ctypes.c_uint] + _lib.Z3_eval_func_decl.restype = ctypes.c_bool + _lib.Z3_eval_func_decl.argtypes = [Context, Model, FuncDecl, ctypes.POINTER(Ast)] + _lib.Z3_is_array_value.restype = ctypes.c_bool + _lib.Z3_is_array_value.argtypes = [Context, Model, Ast, ctypes.POINTER(ctypes.c_uint)] + _lib.Z3_get_array_value.argtypes = [Context, Model, Ast, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.POINTER(Ast), ctypes.POINTER(Ast)] + _lib.Z3_get_model_func_else.restype = Ast + _lib.Z3_get_model_func_else.argtypes = [Context, Model, ctypes.c_uint] + _lib.Z3_get_model_func_num_entries.restype = ctypes.c_uint + _lib.Z3_get_model_func_num_entries.argtypes = [Context, Model, ctypes.c_uint] + _lib.Z3_get_model_func_entry_num_args.restype = ctypes.c_uint + _lib.Z3_get_model_func_entry_num_args.argtypes = [Context, Model, ctypes.c_uint, ctypes.c_uint] + _lib.Z3_get_model_func_entry_arg.restype = Ast + _lib.Z3_get_model_func_entry_arg.argtypes = [Context, Model, ctypes.c_uint, ctypes.c_uint, ctypes.c_uint] + _lib.Z3_get_model_func_entry_value.restype = Ast + _lib.Z3_get_model_func_entry_value.argtypes = [Context, Model, ctypes.c_uint, ctypes.c_uint] + _lib.Z3_eval.restype = ctypes.c_bool + _lib.Z3_eval.argtypes = [Context, Model, Ast, ctypes.POINTER(Ast)] + _lib.Z3_eval_decl.restype = ctypes.c_bool + _lib.Z3_eval_decl.argtypes = [Context, Model, FuncDecl, ctypes.c_uint, ctypes.POINTER(Ast), ctypes.POINTER(Ast)] + _lib.Z3_context_to_string.restype = ctypes.c_char_p + _lib.Z3_context_to_string.argtypes = [Context] + _lib.Z3_statistics_to_string.restype = ctypes.c_char_p + _lib.Z3_statistics_to_string.argtypes = [Context] + _lib.Z3_get_context_assignment.restype = Ast + _lib.Z3_get_context_assignment.argtypes = [Context] + +def Z3_mk_config(): + r = lib().Z3_mk_config() + return r + +def Z3_del_config(a0): + lib().Z3_del_config(a0) + +def Z3_set_param_value(a0, a1, a2): + lib().Z3_set_param_value(a0, a1, a2) + +def Z3_mk_context(a0): + r = lib().Z3_mk_context(a0) + return r + +def Z3_mk_context_rc(a0): + r = lib().Z3_mk_context_rc(a0) + return r + +def Z3_del_context(a0): + lib().Z3_del_context(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_inc_ref(a0, a1): + lib().Z3_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_dec_ref(a0, a1): + lib().Z3_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_update_param_value(a0, a1, a2): + lib().Z3_update_param_value(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_get_param_value(a0, a1, a2): + r = lib().Z3_get_param_value(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_interrupt(a0): + lib().Z3_interrupt(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_mk_params(a0): + r = lib().Z3_mk_params(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_params_inc_ref(a0, a1): + lib().Z3_params_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_params_dec_ref(a0, a1): + lib().Z3_params_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_params_set_bool(a0, a1, a2, a3): + lib().Z3_params_set_bool(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_params_set_uint(a0, a1, a2, a3): + lib().Z3_params_set_uint(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_params_set_double(a0, a1, a2, a3): + lib().Z3_params_set_double(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_params_set_symbol(a0, a1, a2, a3): + lib().Z3_params_set_symbol(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_params_to_string(a0, a1): + r = lib().Z3_params_to_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_params_validate(a0, a1, a2): + lib().Z3_params_validate(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_param_descrs_inc_ref(a0, a1): + lib().Z3_param_descrs_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_param_descrs_dec_ref(a0, a1): + lib().Z3_param_descrs_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_param_descrs_get_kind(a0, a1, a2): + r = lib().Z3_param_descrs_get_kind(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_param_descrs_size(a0, a1): + r = lib().Z3_param_descrs_size(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_param_descrs_get_name(a0, a1, a2): + r = lib().Z3_param_descrs_get_name(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_param_descrs_to_string(a0, a1): + r = lib().Z3_param_descrs_to_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_int_symbol(a0, a1): + r = lib().Z3_mk_int_symbol(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_string_symbol(a0, a1): + r = lib().Z3_mk_string_symbol(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_uninterpreted_sort(a0, a1): + r = lib().Z3_mk_uninterpreted_sort(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bool_sort(a0): + r = lib().Z3_mk_bool_sort(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_int_sort(a0): + r = lib().Z3_mk_int_sort(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_real_sort(a0): + r = lib().Z3_mk_real_sort(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bv_sort(a0, a1): + r = lib().Z3_mk_bv_sort(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_finite_domain_sort(a0, a1, a2): + r = lib().Z3_mk_finite_domain_sort(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_array_sort(a0, a1, a2): + r = lib().Z3_mk_array_sort(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_tuple_sort(a0, a1, a2, a3, a4, a5, a6): + r = lib().Z3_mk_tuple_sort(a0, a1, a2, a3, a4, a5, a6) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_enumeration_sort(a0, a1, a2, a3, a4, a5): + r = lib().Z3_mk_enumeration_sort(a0, a1, a2, a3, a4, a5) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_list_sort(a0, a1, a2, a3, a4, a5, a6, a7, a8): + r = lib().Z3_mk_list_sort(a0, a1, a2, a3, a4, a5, a6, a7, a8) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_constructor(a0, a1, a2, a3, a4, a5, a6): + r = lib().Z3_mk_constructor(a0, a1, a2, a3, a4, a5, a6) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_del_constructor(a0, a1): + lib().Z3_del_constructor(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_mk_datatype(a0, a1, a2, a3): + r = lib().Z3_mk_datatype(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_constructor_list(a0, a1, a2): + r = lib().Z3_mk_constructor_list(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_del_constructor_list(a0, a1): + lib().Z3_del_constructor_list(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_mk_datatypes(a0, a1, a2, a3, a4): + lib().Z3_mk_datatypes(a0, a1, a2, a3, a4) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_query_constructor(a0, a1, a2, a3, a4, a5): + lib().Z3_query_constructor(a0, a1, a2, a3, a4, a5) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_mk_func_decl(a0, a1, a2, a3, a4): + r = lib().Z3_mk_func_decl(a0, a1, a2, a3, a4) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_app(a0, a1, a2, a3): + r = lib().Z3_mk_app(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_const(a0, a1, a2): + r = lib().Z3_mk_const(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_fresh_func_decl(a0, a1, a2, a3, a4): + r = lib().Z3_mk_fresh_func_decl(a0, a1, a2, a3, a4) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_fresh_const(a0, a1, a2): + r = lib().Z3_mk_fresh_const(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_true(a0): + r = lib().Z3_mk_true(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_false(a0): + r = lib().Z3_mk_false(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_eq(a0, a1, a2): + r = lib().Z3_mk_eq(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_distinct(a0, a1, a2): + r = lib().Z3_mk_distinct(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_not(a0, a1): + r = lib().Z3_mk_not(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_ite(a0, a1, a2, a3): + r = lib().Z3_mk_ite(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_iff(a0, a1, a2): + r = lib().Z3_mk_iff(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_implies(a0, a1, a2): + r = lib().Z3_mk_implies(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_xor(a0, a1, a2): + r = lib().Z3_mk_xor(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_and(a0, a1, a2): + r = lib().Z3_mk_and(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_or(a0, a1, a2): + r = lib().Z3_mk_or(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_add(a0, a1, a2): + r = lib().Z3_mk_add(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_mul(a0, a1, a2): + r = lib().Z3_mk_mul(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_sub(a0, a1, a2): + r = lib().Z3_mk_sub(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_unary_minus(a0, a1): + r = lib().Z3_mk_unary_minus(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_div(a0, a1, a2): + r = lib().Z3_mk_div(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_mod(a0, a1, a2): + r = lib().Z3_mk_mod(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_rem(a0, a1, a2): + r = lib().Z3_mk_rem(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_power(a0, a1, a2): + r = lib().Z3_mk_power(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_lt(a0, a1, a2): + r = lib().Z3_mk_lt(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_le(a0, a1, a2): + r = lib().Z3_mk_le(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_gt(a0, a1, a2): + r = lib().Z3_mk_gt(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_ge(a0, a1, a2): + r = lib().Z3_mk_ge(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_int2real(a0, a1): + r = lib().Z3_mk_int2real(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_real2int(a0, a1): + r = lib().Z3_mk_real2int(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_is_int(a0, a1): + r = lib().Z3_mk_is_int(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvnot(a0, a1): + r = lib().Z3_mk_bvnot(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvredand(a0, a1): + r = lib().Z3_mk_bvredand(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvredor(a0, a1): + r = lib().Z3_mk_bvredor(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvand(a0, a1, a2): + r = lib().Z3_mk_bvand(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvor(a0, a1, a2): + r = lib().Z3_mk_bvor(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvxor(a0, a1, a2): + r = lib().Z3_mk_bvxor(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvnand(a0, a1, a2): + r = lib().Z3_mk_bvnand(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvnor(a0, a1, a2): + r = lib().Z3_mk_bvnor(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvxnor(a0, a1, a2): + r = lib().Z3_mk_bvxnor(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvneg(a0, a1): + r = lib().Z3_mk_bvneg(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvadd(a0, a1, a2): + r = lib().Z3_mk_bvadd(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvsub(a0, a1, a2): + r = lib().Z3_mk_bvsub(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvmul(a0, a1, a2): + r = lib().Z3_mk_bvmul(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvudiv(a0, a1, a2): + r = lib().Z3_mk_bvudiv(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvsdiv(a0, a1, a2): + r = lib().Z3_mk_bvsdiv(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvurem(a0, a1, a2): + r = lib().Z3_mk_bvurem(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvsrem(a0, a1, a2): + r = lib().Z3_mk_bvsrem(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvsmod(a0, a1, a2): + r = lib().Z3_mk_bvsmod(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvult(a0, a1, a2): + r = lib().Z3_mk_bvult(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvslt(a0, a1, a2): + r = lib().Z3_mk_bvslt(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvule(a0, a1, a2): + r = lib().Z3_mk_bvule(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvsle(a0, a1, a2): + r = lib().Z3_mk_bvsle(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvuge(a0, a1, a2): + r = lib().Z3_mk_bvuge(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvsge(a0, a1, a2): + r = lib().Z3_mk_bvsge(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvugt(a0, a1, a2): + r = lib().Z3_mk_bvugt(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvsgt(a0, a1, a2): + r = lib().Z3_mk_bvsgt(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_concat(a0, a1, a2): + r = lib().Z3_mk_concat(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_extract(a0, a1, a2, a3): + r = lib().Z3_mk_extract(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_sign_ext(a0, a1, a2): + r = lib().Z3_mk_sign_ext(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_zero_ext(a0, a1, a2): + r = lib().Z3_mk_zero_ext(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_repeat(a0, a1, a2): + r = lib().Z3_mk_repeat(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvshl(a0, a1, a2): + r = lib().Z3_mk_bvshl(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvlshr(a0, a1, a2): + r = lib().Z3_mk_bvlshr(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvashr(a0, a1, a2): + r = lib().Z3_mk_bvashr(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_rotate_left(a0, a1, a2): + r = lib().Z3_mk_rotate_left(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_rotate_right(a0, a1, a2): + r = lib().Z3_mk_rotate_right(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_ext_rotate_left(a0, a1, a2): + r = lib().Z3_mk_ext_rotate_left(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_ext_rotate_right(a0, a1, a2): + r = lib().Z3_mk_ext_rotate_right(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_int2bv(a0, a1, a2): + r = lib().Z3_mk_int2bv(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bv2int(a0, a1, a2): + r = lib().Z3_mk_bv2int(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvadd_no_overflow(a0, a1, a2, a3): + r = lib().Z3_mk_bvadd_no_overflow(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvadd_no_underflow(a0, a1, a2): + r = lib().Z3_mk_bvadd_no_underflow(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvsub_no_overflow(a0, a1, a2): + r = lib().Z3_mk_bvsub_no_overflow(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvsub_no_underflow(a0, a1, a2, a3): + r = lib().Z3_mk_bvsub_no_underflow(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvsdiv_no_overflow(a0, a1, a2): + r = lib().Z3_mk_bvsdiv_no_overflow(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvneg_no_overflow(a0, a1): + r = lib().Z3_mk_bvneg_no_overflow(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvmul_no_overflow(a0, a1, a2, a3): + r = lib().Z3_mk_bvmul_no_overflow(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bvmul_no_underflow(a0, a1, a2): + r = lib().Z3_mk_bvmul_no_underflow(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_select(a0, a1, a2): + r = lib().Z3_mk_select(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_store(a0, a1, a2, a3): + r = lib().Z3_mk_store(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_const_array(a0, a1, a2): + r = lib().Z3_mk_const_array(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_map(a0, a1, a2, a3): + r = lib().Z3_mk_map(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_array_default(a0, a1): + r = lib().Z3_mk_array_default(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_set_sort(a0, a1): + r = lib().Z3_mk_set_sort(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_empty_set(a0, a1): + r = lib().Z3_mk_empty_set(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_full_set(a0, a1): + r = lib().Z3_mk_full_set(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_set_add(a0, a1, a2): + r = lib().Z3_mk_set_add(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_set_del(a0, a1, a2): + r = lib().Z3_mk_set_del(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_set_union(a0, a1, a2): + r = lib().Z3_mk_set_union(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_set_intersect(a0, a1, a2): + r = lib().Z3_mk_set_intersect(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_set_difference(a0, a1, a2): + r = lib().Z3_mk_set_difference(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_set_complement(a0, a1): + r = lib().Z3_mk_set_complement(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_set_member(a0, a1, a2): + r = lib().Z3_mk_set_member(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_set_subset(a0, a1, a2): + r = lib().Z3_mk_set_subset(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_numeral(a0, a1, a2): + r = lib().Z3_mk_numeral(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_real(a0, a1, a2): + r = lib().Z3_mk_real(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_int(a0, a1, a2): + r = lib().Z3_mk_int(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_unsigned_int(a0, a1, a2): + r = lib().Z3_mk_unsigned_int(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_int64(a0, a1, a2): + r = lib().Z3_mk_int64(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_unsigned_int64(a0, a1, a2): + r = lib().Z3_mk_unsigned_int64(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_pattern(a0, a1, a2): + r = lib().Z3_mk_pattern(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_bound(a0, a1, a2): + r = lib().Z3_mk_bound(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_forall(a0, a1, a2, a3, a4, a5, a6, a7): + r = lib().Z3_mk_forall(a0, a1, a2, a3, a4, a5, a6, a7) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_exists(a0, a1, a2, a3, a4, a5, a6, a7): + r = lib().Z3_mk_exists(a0, a1, a2, a3, a4, a5, a6, a7) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_quantifier(a0, a1, a2, a3, a4, a5, a6, a7, a8): + r = lib().Z3_mk_quantifier(a0, a1, a2, a3, a4, a5, a6, a7, a8) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_quantifier_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12): + r = lib().Z3_mk_quantifier_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_forall_const(a0, a1, a2, a3, a4, a5, a6): + r = lib().Z3_mk_forall_const(a0, a1, a2, a3, a4, a5, a6) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_exists_const(a0, a1, a2, a3, a4, a5, a6): + r = lib().Z3_mk_exists_const(a0, a1, a2, a3, a4, a5, a6) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_quantifier_const(a0, a1, a2, a3, a4, a5, a6, a7): + r = lib().Z3_mk_quantifier_const(a0, a1, a2, a3, a4, a5, a6, a7) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_quantifier_const_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11): + r = lib().Z3_mk_quantifier_const_ex(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_symbol_kind(a0, a1): + r = lib().Z3_get_symbol_kind(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_symbol_int(a0, a1): + r = lib().Z3_get_symbol_int(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_symbol_string(a0, a1): + r = lib().Z3_get_symbol_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_sort_name(a0, a1): + r = lib().Z3_get_sort_name(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_sort_id(a0, a1): + r = lib().Z3_get_sort_id(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_sort_to_ast(a0, a1): + r = lib().Z3_sort_to_ast(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_is_eq_sort(a0, a1, a2): + r = lib().Z3_is_eq_sort(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_sort_kind(a0, a1): + r = lib().Z3_get_sort_kind(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_bv_sort_size(a0, a1): + r = lib().Z3_get_bv_sort_size(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_finite_domain_sort_size(a0, a1, a2): + r = lib().Z3_get_finite_domain_sort_size(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_array_sort_domain(a0, a1): + r = lib().Z3_get_array_sort_domain(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_array_sort_range(a0, a1): + r = lib().Z3_get_array_sort_range(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_tuple_sort_mk_decl(a0, a1): + r = lib().Z3_get_tuple_sort_mk_decl(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_tuple_sort_num_fields(a0, a1): + r = lib().Z3_get_tuple_sort_num_fields(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_tuple_sort_field_decl(a0, a1, a2): + r = lib().Z3_get_tuple_sort_field_decl(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_datatype_sort_num_constructors(a0, a1): + r = lib().Z3_get_datatype_sort_num_constructors(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_datatype_sort_constructor(a0, a1, a2): + r = lib().Z3_get_datatype_sort_constructor(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_datatype_sort_recognizer(a0, a1, a2): + r = lib().Z3_get_datatype_sort_recognizer(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_datatype_sort_constructor_accessor(a0, a1, a2, a3): + r = lib().Z3_get_datatype_sort_constructor_accessor(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_relation_arity(a0, a1): + r = lib().Z3_get_relation_arity(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_relation_column(a0, a1, a2): + r = lib().Z3_get_relation_column(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_func_decl_to_ast(a0, a1): + r = lib().Z3_func_decl_to_ast(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_is_eq_func_decl(a0, a1, a2): + r = lib().Z3_is_eq_func_decl(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_func_decl_id(a0, a1): + r = lib().Z3_get_func_decl_id(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_decl_name(a0, a1): + r = lib().Z3_get_decl_name(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_decl_kind(a0, a1): + r = lib().Z3_get_decl_kind(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_domain_size(a0, a1): + r = lib().Z3_get_domain_size(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_arity(a0, a1): + r = lib().Z3_get_arity(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_domain(a0, a1, a2): + r = lib().Z3_get_domain(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_range(a0, a1): + r = lib().Z3_get_range(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_decl_num_parameters(a0, a1): + r = lib().Z3_get_decl_num_parameters(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_decl_parameter_kind(a0, a1, a2): + r = lib().Z3_get_decl_parameter_kind(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_decl_int_parameter(a0, a1, a2): + r = lib().Z3_get_decl_int_parameter(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_decl_double_parameter(a0, a1, a2): + r = lib().Z3_get_decl_double_parameter(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_decl_symbol_parameter(a0, a1, a2): + r = lib().Z3_get_decl_symbol_parameter(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_decl_sort_parameter(a0, a1, a2): + r = lib().Z3_get_decl_sort_parameter(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_decl_ast_parameter(a0, a1, a2): + r = lib().Z3_get_decl_ast_parameter(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_decl_func_decl_parameter(a0, a1, a2): + r = lib().Z3_get_decl_func_decl_parameter(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_decl_rational_parameter(a0, a1, a2): + r = lib().Z3_get_decl_rational_parameter(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_app_to_ast(a0, a1): + r = lib().Z3_app_to_ast(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_app_decl(a0, a1): + r = lib().Z3_get_app_decl(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_app_num_args(a0, a1): + r = lib().Z3_get_app_num_args(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_app_arg(a0, a1, a2): + r = lib().Z3_get_app_arg(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_is_eq_ast(a0, a1, a2): + r = lib().Z3_is_eq_ast(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_ast_id(a0, a1): + r = lib().Z3_get_ast_id(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_ast_hash(a0, a1): + r = lib().Z3_get_ast_hash(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_sort(a0, a1): + r = lib().Z3_get_sort(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_is_well_sorted(a0, a1): + r = lib().Z3_is_well_sorted(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_bool_value(a0, a1): + r = lib().Z3_get_bool_value(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_ast_kind(a0, a1): + r = lib().Z3_get_ast_kind(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_is_app(a0, a1): + r = lib().Z3_is_app(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_is_numeral_ast(a0, a1): + r = lib().Z3_is_numeral_ast(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_is_algebraic_number(a0, a1): + r = lib().Z3_is_algebraic_number(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_to_app(a0, a1): + r = lib().Z3_to_app(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_to_func_decl(a0, a1): + r = lib().Z3_to_func_decl(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_numeral_string(a0, a1): + r = lib().Z3_get_numeral_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_numeral_decimal_string(a0, a1, a2): + r = lib().Z3_get_numeral_decimal_string(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_numerator(a0, a1): + r = lib().Z3_get_numerator(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_denominator(a0, a1): + r = lib().Z3_get_denominator(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_numeral_small(a0, a1, a2, a3): + r = lib().Z3_get_numeral_small(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_numeral_int(a0, a1, a2): + r = lib().Z3_get_numeral_int(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_numeral_uint(a0, a1, a2): + r = lib().Z3_get_numeral_uint(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_numeral_uint64(a0, a1, a2): + r = lib().Z3_get_numeral_uint64(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_numeral_int64(a0, a1, a2): + r = lib().Z3_get_numeral_int64(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_numeral_rational_int64(a0, a1, a2, a3): + r = lib().Z3_get_numeral_rational_int64(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_algebraic_number_lower(a0, a1, a2): + r = lib().Z3_get_algebraic_number_lower(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_algebraic_number_upper(a0, a1, a2): + r = lib().Z3_get_algebraic_number_upper(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_pattern_to_ast(a0, a1): + r = lib().Z3_pattern_to_ast(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_pattern_num_terms(a0, a1): + r = lib().Z3_get_pattern_num_terms(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_pattern(a0, a1, a2): + r = lib().Z3_get_pattern(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_index_value(a0, a1): + r = lib().Z3_get_index_value(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_is_quantifier_forall(a0, a1): + r = lib().Z3_is_quantifier_forall(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_quantifier_weight(a0, a1): + r = lib().Z3_get_quantifier_weight(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_quantifier_num_patterns(a0, a1): + r = lib().Z3_get_quantifier_num_patterns(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_quantifier_pattern_ast(a0, a1, a2): + r = lib().Z3_get_quantifier_pattern_ast(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_quantifier_num_no_patterns(a0, a1): + r = lib().Z3_get_quantifier_num_no_patterns(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_quantifier_no_pattern_ast(a0, a1, a2): + r = lib().Z3_get_quantifier_no_pattern_ast(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_quantifier_num_bound(a0, a1): + r = lib().Z3_get_quantifier_num_bound(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_quantifier_bound_name(a0, a1, a2): + r = lib().Z3_get_quantifier_bound_name(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_quantifier_bound_sort(a0, a1, a2): + r = lib().Z3_get_quantifier_bound_sort(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_quantifier_body(a0, a1): + r = lib().Z3_get_quantifier_body(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_simplify(a0, a1): + r = lib().Z3_simplify(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_simplify_ex(a0, a1, a2): + r = lib().Z3_simplify_ex(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_simplify_get_help(a0): + r = lib().Z3_simplify_get_help(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_simplify_get_param_descrs(a0): + r = lib().Z3_simplify_get_param_descrs(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_update_term(a0, a1, a2, a3): + r = lib().Z3_update_term(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_substitute(a0, a1, a2, a3, a4): + r = lib().Z3_substitute(a0, a1, a2, a3, a4) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_substitute_vars(a0, a1, a2, a3): + r = lib().Z3_substitute_vars(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_translate(a0, a1, a2): + r = lib().Z3_translate(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_model_inc_ref(a0, a1): + lib().Z3_model_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_model_dec_ref(a0, a1): + lib().Z3_model_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_model_eval(a0, a1, a2, a3, a4): + r = lib().Z3_model_eval(a0, a1, a2, a3, a4) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_model_get_const_interp(a0, a1, a2): + r = lib().Z3_model_get_const_interp(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_model_get_func_interp(a0, a1, a2): + r = lib().Z3_model_get_func_interp(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_model_get_num_consts(a0, a1): + r = lib().Z3_model_get_num_consts(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_model_get_const_decl(a0, a1, a2): + r = lib().Z3_model_get_const_decl(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_model_get_num_funcs(a0, a1): + r = lib().Z3_model_get_num_funcs(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_model_get_func_decl(a0, a1, a2): + r = lib().Z3_model_get_func_decl(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_model_get_num_sorts(a0, a1): + r = lib().Z3_model_get_num_sorts(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_model_get_sort(a0, a1, a2): + r = lib().Z3_model_get_sort(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_model_get_sort_universe(a0, a1, a2): + r = lib().Z3_model_get_sort_universe(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_is_as_array(a0, a1): + r = lib().Z3_is_as_array(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_as_array_func_decl(a0, a1): + r = lib().Z3_get_as_array_func_decl(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_func_interp_inc_ref(a0, a1): + lib().Z3_func_interp_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_func_interp_dec_ref(a0, a1): + lib().Z3_func_interp_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_func_interp_get_num_entries(a0, a1): + r = lib().Z3_func_interp_get_num_entries(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_func_interp_get_entry(a0, a1, a2): + r = lib().Z3_func_interp_get_entry(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_func_interp_get_else(a0, a1): + r = lib().Z3_func_interp_get_else(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_func_interp_get_arity(a0, a1): + r = lib().Z3_func_interp_get_arity(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_func_entry_inc_ref(a0, a1): + lib().Z3_func_entry_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_func_entry_dec_ref(a0, a1): + lib().Z3_func_entry_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_func_entry_get_value(a0, a1): + r = lib().Z3_func_entry_get_value(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_func_entry_get_num_args(a0, a1): + r = lib().Z3_func_entry_get_num_args(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_func_entry_get_arg(a0, a1, a2): + r = lib().Z3_func_entry_get_arg(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_toggle_warning_messages(a0): + lib().Z3_toggle_warning_messages(a0) + +def Z3_set_ast_print_mode(a0, a1): + lib().Z3_set_ast_print_mode(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_ast_to_string(a0, a1): + r = lib().Z3_ast_to_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_pattern_to_string(a0, a1): + r = lib().Z3_pattern_to_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_sort_to_string(a0, a1): + r = lib().Z3_sort_to_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_func_decl_to_string(a0, a1): + r = lib().Z3_func_decl_to_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_model_to_string(a0, a1): + r = lib().Z3_model_to_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_benchmark_to_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7): + r = lib().Z3_benchmark_to_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_parse_smtlib2_string(a0, a1, a2, a3, a4, a5, a6, a7): + r = lib().Z3_parse_smtlib2_string(a0, a1, a2, a3, a4, a5, a6, a7) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_parse_smtlib2_file(a0, a1, a2, a3, a4, a5, a6, a7): + r = lib().Z3_parse_smtlib2_file(a0, a1, a2, a3, a4, a5, a6, a7) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_parse_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7): + lib().Z3_parse_smtlib_string(a0, a1, a2, a3, a4, a5, a6, a7) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_parse_smtlib_file(a0, a1, a2, a3, a4, a5, a6, a7): + lib().Z3_parse_smtlib_file(a0, a1, a2, a3, a4, a5, a6, a7) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_get_smtlib_num_formulas(a0): + r = lib().Z3_get_smtlib_num_formulas(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_smtlib_formula(a0, a1): + r = lib().Z3_get_smtlib_formula(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_smtlib_num_assumptions(a0): + r = lib().Z3_get_smtlib_num_assumptions(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_smtlib_assumption(a0, a1): + r = lib().Z3_get_smtlib_assumption(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_smtlib_num_decls(a0): + r = lib().Z3_get_smtlib_num_decls(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_smtlib_decl(a0, a1): + r = lib().Z3_get_smtlib_decl(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_smtlib_num_sorts(a0): + r = lib().Z3_get_smtlib_num_sorts(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_smtlib_sort(a0, a1): + r = lib().Z3_get_smtlib_sort(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_smtlib_error(a0): + r = lib().Z3_get_smtlib_error(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_parse_z3_string(a0, a1): + r = lib().Z3_parse_z3_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_parse_z3_file(a0, a1): + r = lib().Z3_parse_z3_file(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_error_code(a0): + r = lib().Z3_get_error_code(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_set_error(a0, a1): + lib().Z3_set_error(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_get_error_msg(a0): + r = lib().Z3_get_error_msg(a0) + return r + +def Z3_get_error_msg_ex(a0, a1): + r = lib().Z3_get_error_msg_ex(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_version(a0, a1, a2, a3): + lib().Z3_get_version(a0, a1, a2, a3) + +def Z3_reset_memory(): + lib().Z3_reset_memory() + +def Z3_mk_fixedpoint(a0): + r = lib().Z3_mk_fixedpoint(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_fixedpoint_inc_ref(a0, a1): + lib().Z3_fixedpoint_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_fixedpoint_dec_ref(a0, a1): + lib().Z3_fixedpoint_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_fixedpoint_add_rule(a0, a1, a2, a3): + lib().Z3_fixedpoint_add_rule(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_fixedpoint_add_fact(a0, a1, a2, a3, a4): + lib().Z3_fixedpoint_add_fact(a0, a1, a2, a3, a4) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_fixedpoint_assert(a0, a1, a2): + lib().Z3_fixedpoint_assert(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_fixedpoint_query(a0, a1, a2): + r = lib().Z3_fixedpoint_query(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_fixedpoint_query_relations(a0, a1, a2, a3): + r = lib().Z3_fixedpoint_query_relations(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_fixedpoint_get_answer(a0, a1): + r = lib().Z3_fixedpoint_get_answer(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_fixedpoint_get_reason_unknown(a0, a1): + r = lib().Z3_fixedpoint_get_reason_unknown(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_fixedpoint_update_rule(a0, a1, a2, a3): + lib().Z3_fixedpoint_update_rule(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_fixedpoint_get_num_levels(a0, a1, a2): + r = lib().Z3_fixedpoint_get_num_levels(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_fixedpoint_get_cover_delta(a0, a1, a2, a3): + r = lib().Z3_fixedpoint_get_cover_delta(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_fixedpoint_add_cover(a0, a1, a2, a3, a4): + lib().Z3_fixedpoint_add_cover(a0, a1, a2, a3, a4) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_fixedpoint_get_statistics(a0, a1): + r = lib().Z3_fixedpoint_get_statistics(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_fixedpoint_register_relation(a0, a1, a2): + lib().Z3_fixedpoint_register_relation(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_fixedpoint_set_predicate_representation(a0, a1, a2, a3, a4): + lib().Z3_fixedpoint_set_predicate_representation(a0, a1, a2, a3, a4) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_fixedpoint_simplify_rules(a0, a1, a2, a3, a4, a5): + r = lib().Z3_fixedpoint_simplify_rules(a0, a1, a2, a3, a4, a5) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_fixedpoint_set_params(a0, a1, a2): + lib().Z3_fixedpoint_set_params(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_fixedpoint_get_help(a0, a1): + r = lib().Z3_fixedpoint_get_help(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_fixedpoint_get_param_descrs(a0, a1): + r = lib().Z3_fixedpoint_get_param_descrs(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_fixedpoint_to_string(a0, a1, a2, a3): + r = lib().Z3_fixedpoint_to_string(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_fixedpoint_push(a0, a1): + lib().Z3_fixedpoint_push(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_fixedpoint_pop(a0, a1): + lib().Z3_fixedpoint_pop(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_mk_ast_vector(a0): + r = lib().Z3_mk_ast_vector(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_ast_vector_inc_ref(a0, a1): + lib().Z3_ast_vector_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_ast_vector_dec_ref(a0, a1): + lib().Z3_ast_vector_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_ast_vector_size(a0, a1): + r = lib().Z3_ast_vector_size(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_ast_vector_get(a0, a1, a2): + r = lib().Z3_ast_vector_get(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_ast_vector_set(a0, a1, a2, a3): + lib().Z3_ast_vector_set(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_ast_vector_resize(a0, a1, a2): + lib().Z3_ast_vector_resize(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_ast_vector_push(a0, a1, a2): + lib().Z3_ast_vector_push(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_ast_vector_translate(a0, a1, a2): + r = lib().Z3_ast_vector_translate(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_ast_vector_to_string(a0, a1): + r = lib().Z3_ast_vector_to_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_ast_map(a0): + r = lib().Z3_mk_ast_map(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_ast_map_inc_ref(a0, a1): + lib().Z3_ast_map_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_ast_map_dec_ref(a0, a1): + lib().Z3_ast_map_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_ast_map_contains(a0, a1, a2): + r = lib().Z3_ast_map_contains(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_ast_map_find(a0, a1, a2): + r = lib().Z3_ast_map_find(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_ast_map_insert(a0, a1, a2, a3): + lib().Z3_ast_map_insert(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_ast_map_erase(a0, a1, a2): + lib().Z3_ast_map_erase(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_ast_map_reset(a0, a1): + lib().Z3_ast_map_reset(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_ast_map_size(a0, a1): + r = lib().Z3_ast_map_size(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_ast_map_keys(a0, a1): + r = lib().Z3_ast_map_keys(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_ast_map_to_string(a0, a1): + r = lib().Z3_ast_map_to_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_goal(a0, a1, a2, a3): + r = lib().Z3_mk_goal(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_goal_inc_ref(a0, a1): + lib().Z3_goal_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_goal_dec_ref(a0, a1): + lib().Z3_goal_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_goal_precision(a0, a1): + r = lib().Z3_goal_precision(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_goal_assert(a0, a1, a2): + lib().Z3_goal_assert(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_goal_inconsistent(a0, a1): + r = lib().Z3_goal_inconsistent(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_goal_depth(a0, a1): + r = lib().Z3_goal_depth(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_goal_reset(a0, a1): + lib().Z3_goal_reset(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_goal_size(a0, a1): + r = lib().Z3_goal_size(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_goal_formula(a0, a1, a2): + r = lib().Z3_goal_formula(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_goal_num_exprs(a0, a1): + r = lib().Z3_goal_num_exprs(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_goal_is_decided_sat(a0, a1): + r = lib().Z3_goal_is_decided_sat(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_goal_is_decided_unsat(a0, a1): + r = lib().Z3_goal_is_decided_unsat(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_goal_translate(a0, a1, a2): + r = lib().Z3_goal_translate(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_goal_to_string(a0, a1): + r = lib().Z3_goal_to_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_tactic(a0, a1): + r = lib().Z3_mk_tactic(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_inc_ref(a0, a1): + lib().Z3_tactic_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_tactic_dec_ref(a0, a1): + lib().Z3_tactic_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_mk_probe(a0, a1): + r = lib().Z3_mk_probe(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_probe_inc_ref(a0, a1): + lib().Z3_probe_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_probe_dec_ref(a0, a1): + lib().Z3_probe_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_tactic_and_then(a0, a1, a2): + r = lib().Z3_tactic_and_then(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_or_else(a0, a1, a2): + r = lib().Z3_tactic_or_else(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_par_or(a0, a1, a2): + r = lib().Z3_tactic_par_or(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_par_and_then(a0, a1, a2): + r = lib().Z3_tactic_par_and_then(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_try_for(a0, a1, a2): + r = lib().Z3_tactic_try_for(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_when(a0, a1, a2): + r = lib().Z3_tactic_when(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_cond(a0, a1, a2, a3): + r = lib().Z3_tactic_cond(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_repeat(a0, a1, a2): + r = lib().Z3_tactic_repeat(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_skip(a0): + r = lib().Z3_tactic_skip(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_fail(a0): + r = lib().Z3_tactic_fail(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_fail_if(a0, a1): + r = lib().Z3_tactic_fail_if(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_fail_if_not_decided(a0): + r = lib().Z3_tactic_fail_if_not_decided(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_using_params(a0, a1, a2): + r = lib().Z3_tactic_using_params(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_probe_const(a0, a1): + r = lib().Z3_probe_const(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_probe_lt(a0, a1, a2): + r = lib().Z3_probe_lt(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_probe_gt(a0, a1, a2): + r = lib().Z3_probe_gt(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_probe_le(a0, a1, a2): + r = lib().Z3_probe_le(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_probe_ge(a0, a1, a2): + r = lib().Z3_probe_ge(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_probe_eq(a0, a1, a2): + r = lib().Z3_probe_eq(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_probe_and(a0, a1, a2): + r = lib().Z3_probe_and(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_probe_or(a0, a1, a2): + r = lib().Z3_probe_or(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_probe_not(a0, a1): + r = lib().Z3_probe_not(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_num_tactics(a0): + r = lib().Z3_get_num_tactics(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_tactic_name(a0, a1): + r = lib().Z3_get_tactic_name(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_num_probes(a0): + r = lib().Z3_get_num_probes(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_probe_name(a0, a1): + r = lib().Z3_get_probe_name(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_get_help(a0, a1): + r = lib().Z3_tactic_get_help(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_get_param_descrs(a0, a1): + r = lib().Z3_tactic_get_param_descrs(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_get_descr(a0, a1): + r = lib().Z3_tactic_get_descr(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_probe_get_descr(a0, a1): + r = lib().Z3_probe_get_descr(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_probe_apply(a0, a1, a2): + r = lib().Z3_probe_apply(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_apply(a0, a1, a2): + r = lib().Z3_tactic_apply(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_tactic_apply_ex(a0, a1, a2, a3): + r = lib().Z3_tactic_apply_ex(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_apply_result_inc_ref(a0, a1): + lib().Z3_apply_result_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_apply_result_dec_ref(a0, a1): + lib().Z3_apply_result_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_apply_result_to_string(a0, a1): + r = lib().Z3_apply_result_to_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_apply_result_get_num_subgoals(a0, a1): + r = lib().Z3_apply_result_get_num_subgoals(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_apply_result_get_subgoal(a0, a1, a2): + r = lib().Z3_apply_result_get_subgoal(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_apply_result_convert_model(a0, a1, a2, a3): + r = lib().Z3_apply_result_convert_model(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_solver(a0): + r = lib().Z3_mk_solver(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_simple_solver(a0): + r = lib().Z3_mk_simple_solver(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_solver_for_logic(a0, a1): + r = lib().Z3_mk_solver_for_logic(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_solver_from_tactic(a0, a1): + r = lib().Z3_mk_solver_from_tactic(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_solver_get_help(a0, a1): + r = lib().Z3_solver_get_help(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_solver_get_param_descrs(a0, a1): + r = lib().Z3_solver_get_param_descrs(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_solver_set_params(a0, a1, a2): + lib().Z3_solver_set_params(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_solver_inc_ref(a0, a1): + lib().Z3_solver_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_solver_dec_ref(a0, a1): + lib().Z3_solver_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_solver_push(a0, a1): + lib().Z3_solver_push(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_solver_pop(a0, a1, a2): + lib().Z3_solver_pop(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_solver_reset(a0, a1): + lib().Z3_solver_reset(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_solver_get_num_scopes(a0, a1): + r = lib().Z3_solver_get_num_scopes(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_solver_assert(a0, a1, a2): + lib().Z3_solver_assert(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_solver_get_assertions(a0, a1): + r = lib().Z3_solver_get_assertions(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_solver_check(a0, a1): + r = lib().Z3_solver_check(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_solver_check_assumptions(a0, a1, a2, a3): + r = lib().Z3_solver_check_assumptions(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_solver_get_model(a0, a1): + r = lib().Z3_solver_get_model(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_solver_get_proof(a0, a1): + r = lib().Z3_solver_get_proof(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_solver_get_unsat_core(a0, a1): + r = lib().Z3_solver_get_unsat_core(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_solver_get_reason_unknown(a0, a1): + r = lib().Z3_solver_get_reason_unknown(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_solver_get_statistics(a0, a1): + r = lib().Z3_solver_get_statistics(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_solver_to_string(a0, a1): + r = lib().Z3_solver_to_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_stats_to_string(a0, a1): + r = lib().Z3_stats_to_string(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_stats_inc_ref(a0, a1): + lib().Z3_stats_inc_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_stats_dec_ref(a0, a1): + lib().Z3_stats_dec_ref(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_stats_size(a0, a1): + r = lib().Z3_stats_size(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_stats_get_key(a0, a1, a2): + r = lib().Z3_stats_get_key(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_stats_is_uint(a0, a1, a2): + r = lib().Z3_stats_is_uint(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_stats_is_double(a0, a1, a2): + r = lib().Z3_stats_is_double(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_stats_get_uint_value(a0, a1, a2): + r = lib().Z3_stats_get_uint_value(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_stats_get_double_value(a0, a1, a2): + r = lib().Z3_stats_get_double_value(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_injective_function(a0, a1, a2, a3, a4): + r = lib().Z3_mk_injective_function(a0, a1, a2, a3, a4) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_set_logic(a0, a1): + lib().Z3_set_logic(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_push(a0): + lib().Z3_push(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_pop(a0, a1): + lib().Z3_pop(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_get_num_scopes(a0): + r = lib().Z3_get_num_scopes(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_persist_ast(a0, a1, a2): + lib().Z3_persist_ast(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_assert_cnstr(a0, a1): + lib().Z3_assert_cnstr(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_check_and_get_model(a0, a1): + r = lib().Z3_check_and_get_model(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_check(a0): + r = lib().Z3_check(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_check_assumptions(a0, a1, a2, a3, a4, a5, a6): + r = lib().Z3_check_assumptions(a0, a1, a2, a3, a4, a5, a6) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_implied_equalities(a0, a1, a2, a3): + r = lib().Z3_get_implied_equalities(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_del_model(a0, a1): + lib().Z3_del_model(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_soft_check_cancel(a0): + lib().Z3_soft_check_cancel(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_get_search_failure(a0): + r = lib().Z3_get_search_failure(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_mk_label(a0, a1, a2, a3): + r = lib().Z3_mk_label(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_relevant_labels(a0): + r = lib().Z3_get_relevant_labels(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_relevant_literals(a0): + r = lib().Z3_get_relevant_literals(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_guessed_literals(a0): + r = lib().Z3_get_guessed_literals(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_del_literals(a0, a1): + lib().Z3_del_literals(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_get_num_literals(a0, a1): + r = lib().Z3_get_num_literals(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_label_symbol(a0, a1, a2): + r = lib().Z3_get_label_symbol(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_literal(a0, a1, a2): + r = lib().Z3_get_literal(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_disable_literal(a0, a1, a2): + lib().Z3_disable_literal(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_block_literals(a0, a1): + lib().Z3_block_literals(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_get_model_num_constants(a0, a1): + r = lib().Z3_get_model_num_constants(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_model_constant(a0, a1, a2): + r = lib().Z3_get_model_constant(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_model_num_funcs(a0, a1): + r = lib().Z3_get_model_num_funcs(a0, a1) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_model_func_decl(a0, a1, a2): + r = lib().Z3_get_model_func_decl(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_eval_func_decl(a0, a1, a2, a3): + r = lib().Z3_eval_func_decl(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_is_array_value(a0, a1, a2, a3): + r = lib().Z3_is_array_value(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_array_value(a0, a1, a2, a3, a4, a5, a6): + lib().Z3_get_array_value(a0, a1, a2, a3, a4, a5, a6) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + +def Z3_get_model_func_else(a0, a1, a2): + r = lib().Z3_get_model_func_else(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_model_func_num_entries(a0, a1, a2): + r = lib().Z3_get_model_func_num_entries(a0, a1, a2) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_model_func_entry_num_args(a0, a1, a2, a3): + r = lib().Z3_get_model_func_entry_num_args(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_model_func_entry_arg(a0, a1, a2, a3, a4): + r = lib().Z3_get_model_func_entry_arg(a0, a1, a2, a3, a4) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_model_func_entry_value(a0, a1, a2, a3): + r = lib().Z3_get_model_func_entry_value(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_eval(a0, a1, a2, a3): + r = lib().Z3_eval(a0, a1, a2, a3) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_eval_decl(a0, a1, a2, a3, a4, a5): + r = lib().Z3_eval_decl(a0, a1, a2, a3, a4, a5) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_context_to_string(a0): + r = lib().Z3_context_to_string(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_statistics_to_string(a0): + r = lib().Z3_statistics_to_string(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + +def Z3_get_context_assignment(a0): + r = lib().Z3_get_context_assignment(a0) + err = lib().Z3_get_error_code(a0) + if err != Z3_OK: + raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err)) + return r + diff --git a/python/z3tactics.py b/python/z3tactics.py index 138a6efab..a7f057fb7 100644 --- a/python/z3tactics.py +++ b/python/z3tactics.py @@ -1,356 +1,360 @@ -# Automatically generated file, generator: mk_z3tactics.py -import z3core -import z3 - -def simplify_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'simplify'), ctx) - -def split_clause_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'split-clause'), ctx) - -def normalize_bounds_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'normalize-bounds'), ctx) - -def elim_uncnstr_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'elim-uncnstr'), ctx) - -def elim_and_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'elim-and'), ctx) - -def add_bounds_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'add-bounds'), ctx) - -def aig_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'aig'), ctx) - -def skip_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'skip'), ctx) - -def fail_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'fail'), ctx) - -def smt_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'smt'), ctx) - -def bit_blast_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'bit-blast'), ctx) - -def bv1_blast_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'bv1-blast'), ctx) - -def sat_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'sat'), ctx) - -def sat_preprocess_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'sat-preprocess'), ctx) - -def ctx_simplify_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'ctx-simplify'), ctx) - -def ctx_solver_simplify_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'ctx-solver-simplify'), ctx) - -def der_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'der'), ctx) - -def unit_subsume_simplify_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'unit-subsume-simplify'), ctx) - -def occf_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'occf'), ctx) - -def qe_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qe'), ctx) - -def qe_sat_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qe-sat'), ctx) - -def propagate_values_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'propagate-values'), ctx) - -def snf_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'snf'), ctx) - -def nnf_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'nnf'), ctx) - -def solve_eqs_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'solve-eqs'), ctx) - -def max_bv_sharing_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'max-bv-sharing'), ctx) - -def elim_term_ite_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'elim-term-ite'), ctx) - -def fix_dl_var_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'fix-dl-var'), ctx) - -def tseitin_cnf_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'tseitin-cnf'), ctx) - -def tseitin_cnf_core_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'tseitin-cnf-core'), ctx) - -def degree_shift_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'degree-shift'), ctx) - -def purify_arith_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'purify-arith'), ctx) - -def nlsat_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'nlsat'), ctx) - -def factor_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'factor'), ctx) - -def fm_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'fm'), ctx) - -def fail_if_undecided_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'fail-if-undecided'), ctx) - -def diff_neq_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'diff-neq'), ctx) - -def lia2pb_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'lia2pb'), ctx) - -def fpa2bv_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'fpa2bv'), ctx) - -def qffpa_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qffpa'), ctx) - -def pb2bv_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'pb2bv'), ctx) - -def recover_01_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'recover-01'), ctx) - -def symmetry_reduce_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'symmetry-reduce'), ctx) - -def distribute_forall_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'distribute-forall'), ctx) - -def reduce_args_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'reduce-args'), ctx) - -def reduce_bv_size_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'reduce-bv-size'), ctx) - -def propagate_ineqs_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'propagate-ineqs'), ctx) - -def cofactor_term_ite_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'cofactor-term-ite'), ctx) - -def mip_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'mip'), ctx) - -def nla2bv_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'nla2bv'), ctx) - -def vsubst_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'vsubst'), ctx) - -def qfbv_sls_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qfbv-sls'), ctx) - -def qflia_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qflia'), ctx) - -def qflra_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qflra'), ctx) - -def qfnia_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qfnia'), ctx) - -def qfnra_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qfnra'), ctx) - -def qfbv_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qfbv'), ctx) - -def subpaving_tactic(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'subpaving'), ctx) - -def memory_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'memory'), ctx) - -def depth_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'depth'), ctx) - -def size_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'size'), ctx) - -def num_exprs_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'num-exprs'), ctx) - -def num_consts_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'num-consts'), ctx) - -def num_bool_consts_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'num-bool-consts'), ctx) - -def num_arith_consts_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'num-arith-consts'), ctx) - -def num_bv_consts_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'num-bv-consts'), ctx) - -def produce_proofs_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'produce-proofs'), ctx) - -def produce_model_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'produce-model'), ctx) - -def produce_unsat_cores_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'produce-unsat-cores'), ctx) - -def has_patterns_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'has-patterns'), ctx) - -def is_propositional_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-propositional'), ctx) - -def is_qfbv_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-qfbv'), ctx) - -def is_qfbv_eq_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-qfbv-eq'), ctx) - -def is_qflia_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-qflia'), ctx) - -def is_qflra_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-qflra'), ctx) - -def is_qflira_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-qflira'), ctx) - -def is_ilp_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-ilp'), ctx) - -def is_mip_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-mip'), ctx) - -def is_unbounded_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-unbounded'), ctx) - -def is_pb_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-pb'), ctx) - -def arith_max_deg_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'arith-max-deg'), ctx) - -def arith_avg_deg_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'arith-avg-deg'), ctx) - -def arith_max_bw_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'arith-max-bw'), ctx) - -def arith_avg_bw_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'arith-avg-bw'), ctx) - -def is_qfnia_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-qfnia'), ctx) - -def is_qfnra_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-qfnra'), ctx) - -def is_nia_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-nia'), ctx) - -def is_nra_probe(ctx=None): - ctx = z3._get_ctx(ctx) - return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-nra'), ctx) - +# Automatically generated file, generator: update_api.py +import z3core +import z3 + +def simplify_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'simplify'), ctx) + +def split_clause_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'split-clause'), ctx) + +def normalize_bounds_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'normalize-bounds'), ctx) + +def elim_uncnstr_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'elim-uncnstr'), ctx) + +def elim_and_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'elim-and'), ctx) + +def add_bounds_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'add-bounds'), ctx) + +def aig_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'aig'), ctx) + +def skip_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'skip'), ctx) + +def fail_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'fail'), ctx) + +def smt_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'smt'), ctx) + +def bit_blast_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'bit-blast'), ctx) + +def bv1_blast_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'bv1-blast'), ctx) + +def sat_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'sat'), ctx) + +def sat_preprocess_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'sat-preprocess'), ctx) + +def ctx_simplify_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'ctx-simplify'), ctx) + +def ctx_solver_simplify_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'ctx-solver-simplify'), ctx) + +def der_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'der'), ctx) + +def unit_subsume_simplify_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'unit-subsume-simplify'), ctx) + +def occf_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'occf'), ctx) + +def qe_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qe'), ctx) + +def qe_sat_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qe-sat'), ctx) + +def propagate_values_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'propagate-values'), ctx) + +def snf_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'snf'), ctx) + +def nnf_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'nnf'), ctx) + +def solve_eqs_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'solve-eqs'), ctx) + +def max_bv_sharing_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'max-bv-sharing'), ctx) + +def elim_term_ite_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'elim-term-ite'), ctx) + +def fix_dl_var_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'fix-dl-var'), ctx) + +def tseitin_cnf_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'tseitin-cnf'), ctx) + +def tseitin_cnf_core_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'tseitin-cnf-core'), ctx) + +def degree_shift_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'degree-shift'), ctx) + +def purify_arith_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'purify-arith'), ctx) + +def nlsat_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'nlsat'), ctx) + +def factor_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'factor'), ctx) + +def fm_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'fm'), ctx) + +def fail_if_undecided_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'fail-if-undecided'), ctx) + +def diff_neq_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'diff-neq'), ctx) + +def lia2pb_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'lia2pb'), ctx) + +def fpa2bv_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'fpa2bv'), ctx) + +def qffpa_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qffpa'), ctx) + +def pb2bv_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'pb2bv'), ctx) + +def recover_01_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'recover-01'), ctx) + +def symmetry_reduce_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'symmetry-reduce'), ctx) + +def distribute_forall_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'distribute-forall'), ctx) + +def reduce_args_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'reduce-args'), ctx) + +def reduce_bv_size_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'reduce-bv-size'), ctx) + +def propagate_ineqs_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'propagate-ineqs'), ctx) + +def cofactor_term_ite_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'cofactor-term-ite'), ctx) + +def mip_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'mip'), ctx) + +def nla2bv_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'nla2bv'), ctx) + +def vsubst_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'vsubst'), ctx) + +def qfbv_sls_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qfbv-sls'), ctx) + +def qflia_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qflia'), ctx) + +def qflra_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qflra'), ctx) + +def qfnia_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qfnia'), ctx) + +def qfnra_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qfnra'), ctx) + +def qfnra_nlsat_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qfnra-nlsat'), ctx) + +def qfbv_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'qfbv'), ctx) + +def subpaving_tactic(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), 'subpaving'), ctx) + +def memory_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'memory'), ctx) + +def depth_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'depth'), ctx) + +def size_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'size'), ctx) + +def num_exprs_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'num-exprs'), ctx) + +def num_consts_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'num-consts'), ctx) + +def num_bool_consts_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'num-bool-consts'), ctx) + +def num_arith_consts_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'num-arith-consts'), ctx) + +def num_bv_consts_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'num-bv-consts'), ctx) + +def produce_proofs_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'produce-proofs'), ctx) + +def produce_model_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'produce-model'), ctx) + +def produce_unsat_cores_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'produce-unsat-cores'), ctx) + +def has_patterns_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'has-patterns'), ctx) + +def is_propositional_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-propositional'), ctx) + +def is_qfbv_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-qfbv'), ctx) + +def is_qfbv_eq_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-qfbv-eq'), ctx) + +def is_qflia_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-qflia'), ctx) + +def is_qflra_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-qflra'), ctx) + +def is_qflira_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-qflira'), ctx) + +def is_ilp_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-ilp'), ctx) + +def is_mip_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-mip'), ctx) + +def is_unbounded_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-unbounded'), ctx) + +def is_pb_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-pb'), ctx) + +def arith_max_deg_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'arith-max-deg'), ctx) + +def arith_avg_deg_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'arith-avg-deg'), ctx) + +def arith_max_bw_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'arith-max-bw'), ctx) + +def arith_avg_bw_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'arith-avg-bw'), ctx) + +def is_qfnia_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-qfnia'), ctx) + +def is_qfnra_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-qfnra'), ctx) + +def is_nia_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-nia'), ctx) + +def is_nra_probe(ctx=None): + ctx = z3._get_ctx(ctx) + return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), 'is-nra'), ctx) + diff --git a/update_api.cmd b/update_api.cmd deleted file mode 100644 index ff4a0f0b6..000000000 --- a/update_api.cmd +++ /dev/null @@ -1,13 +0,0 @@ -pushd dll -python mk_def.py -popd -pushd lib -python api.py -popd -pushd Microsoft.Z3 -python mk_z3consts.py -popd -pushd python -python mk_z3consts.py -python mk_z3tactics.py -popd diff --git a/update_api.py b/update_api.py new file mode 100644 index 000000000..e4a0d2742 --- /dev/null +++ b/update_api.py @@ -0,0 +1,868 @@ +############################################ +# Copyright (c) 2012 Microsoft Corporation +# +# Scripts for generate API bindings and definitions +# +# Author: Leonardo de Moura (leonardo) +############################################ +import re +import sys +import os +from sets import Set + +API_FILES = [] + +def add_api_file(dir, file): + API_FILES.append("%s%s%s" % (dir, os.sep, file)) + +add_api_file('lib', 'z3_api.h') + +# Extract enumeration types from z3_api.h, and add .Net definitions +def mk_z3consts_donet(): + blank_pat = re.compile("^ *$") + comment_pat = re.compile("^ *//.*$") + typedef_pat = re.compile("typedef enum *") + typedef2_pat = re.compile("typedef enum { *") + openbrace_pat = re.compile("{ *") + closebrace_pat = re.compile("}.*;") + + DeprecatedEnums = { 'Z3_search_failure' } + z3consts = open('Microsoft.Z3%sEnumerations.cs' % os.sep, 'w') + z3consts.write('// Automatically generated file, generator: update_api.py\n\n') + z3consts.write('using System;\n\n' + '#pragma warning disable 1591\n\n' + 'namespace Microsoft.Z3\n' + '{\n'); + + for api_file in API_FILES: + api = open(api_file, 'r') + + SEARCHING = 0 + FOUND_ENUM = 1 + IN_ENUM = 2 + + mode = SEARCHING + decls = {} + idx = 0 + + linenum = 1 + for line in api: + m1 = blank_pat.match(line) + m2 = comment_pat.match(line) + if m1 or m2: + # skip blank lines and comments + linenum = linenum + 1 + elif mode == SEARCHING: + m = typedef_pat.match(line) + if m: + mode = FOUND_ENUM + m = typedef2_pat.match(line) + if m: + mode = IN_ENUM + decls = {} + idx = 0 + elif mode == FOUND_ENUM: + m = openbrace_pat.match(line) + if m: + mode = IN_ENUM + decls = {} + idx = 0 + else: + assert False, "Invalid %s, line: %s" % (api_file, linenum) + else: + assert mode == IN_ENUM + words = re.split('[^\-a-zA-Z0-9_]+', line) + m = closebrace_pat.match(line) + if m: + name = words[1] + if name not in DeprecatedEnums: + z3consts.write(' /// %s\n' % name) + z3consts.write(' public enum %s {\n' % name) + z3consts.write + for k, i in decls.iteritems(): + z3consts.write(' %s = %s,\n' % (k, i)) + z3consts.write(' }\n\n') + mode = SEARCHING + else: + if words[2] != '': + if len(words[2]) > 1 and words[2][1] == 'x': + idx = int(words[2], 16) + else: + idx = int(words[2]) + decls[words[1]] = idx + idx = idx + 1 + linenum = linenum + 1 + z3consts.write('}\n'); + + +# Extract enumeration types from z3_api.h, and add python definitions. +def mk_z3consts_py(): + blank_pat = re.compile("^ *$") + comment_pat = re.compile("^ *//.*$") + typedef_pat = re.compile("typedef enum *") + typedef2_pat = re.compile("typedef enum { *") + openbrace_pat = re.compile("{ *") + closebrace_pat = re.compile("}.*;") + + z3consts = open('python%sz3consts.py' % (os.sep), 'w') + z3consts.write('# Automatically generated file, generator: update_api.py\n\n') + + for api_file in API_FILES: + api = open(api_file, 'r') + + SEARCHING = 0 + FOUND_ENUM = 1 + IN_ENUM = 2 + + mode = SEARCHING + decls = {} + idx = 0 + + linenum = 1 + for line in api: + m1 = blank_pat.match(line) + m2 = comment_pat.match(line) + if m1 or m2: + # skip blank lines and comments + linenum = linenum + 1 + elif mode == SEARCHING: + m = typedef_pat.match(line) + if m: + mode = FOUND_ENUM + m = typedef2_pat.match(line) + if m: + mode = IN_ENUM + decls = {} + idx = 0 + elif mode == FOUND_ENUM: + m = openbrace_pat.match(line) + if m: + mode = IN_ENUM + decls = {} + idx = 0 + else: + assert False, "Invalid %s, line: %s" % (api_file, linenum) + else: + assert mode == IN_ENUM + words = re.split('[^\-a-zA-Z0-9_]+', line) + m = closebrace_pat.match(line) + if m: + name = words[1] + z3consts.write('# enum %s\n' % name) + for k, i in decls.iteritems(): + z3consts.write('%s = %s\n' % (k, i)) + z3consts.write('\n') + mode = SEARCHING + else: + if words[2] != '': + if len(words[2]) > 1 and words[2][1] == 'x': + idx = int(words[2], 16) + else: + idx = int(words[2]) + decls[words[1]] = idx + idx = idx + 1 + linenum = linenum + 1 + +# Extract tactic and probe definitions from lib\install_tactics.cpp, and +# Add python function definitions for them. +def mk_z3tactics_py(): + tactic_pat = re.compile("^[ \t]*ADD_TACTIC_CMD") + probe_pat = re.compile("^[ \t]*ADD_PROBE") + + cppfile = open('lib%sinstall_tactics.cpp' % os.sep, 'r') + z3tactics = open('python%sz3tactics.py' % os.sep, 'w') + + z3tactics.write('# Automatically generated file, generator: update_api.py\n') + z3tactics.write('import z3core\n') + z3tactics.write('import z3\n\n') + + for line in cppfile: + m1 = tactic_pat.match(line) + m2 = probe_pat.match(line) + if m1: + words = re.split('[^\-a-zA-Z0-9_]+', line) + tactic = words[2] + py_tactic = tactic.replace('-', '_') + z3tactics.write('def %s_tactic(ctx=None):\n' % py_tactic) + z3tactics.write(' ctx = z3._get_ctx(ctx)\n') + z3tactics.write(' return z3.Tactic(z3core.Z3_mk_tactic(ctx.ref(), \'%s\'), ctx)\n\n' % tactic) + elif m2: + words = re.split('[^\-a-zA-Z0-9_]+', line) + probe = words[2] + py_probe = probe.replace('-', '_') + z3tactics.write('def %s_probe(ctx=None):\n' % py_probe) + z3tactics.write(' ctx = z3._get_ctx(ctx)\n') + z3tactics.write(' return z3.Probe(z3core.Z3_mk_probe(ctx.ref(), \'%s\'), ctx)\n\n' % probe) + +# Create .def files for DLL generation +def mk_dll_defs(): + pat1 = re.compile(".*Z3_API.*") + z3def = open('dll%sz3.def' % os.sep, 'w') + z3dbgdef = open('dll%sz3_dbg.def' % os.sep, 'w') + z3def.write('LIBRARY "Z3"\nEXPORTS\n') + z3dbgdef.write('LIBRARY "Z3_DBG"\nEXPORTS\n') + for api_file in API_FILES: + api = open(api_file, 'r') + num = 1 + for line in api: + m = pat1.match(line) + if m: + words = re.split('\W+', line) + i = 0 + for w in words: + if w == 'Z3_API': + f = words[i+1] + z3def.write('\t%s @%s\n' % (f, num)) + z3dbgdef.write('\t%s @%s\n' % (f, num)) + i = i + 1 + num = num + 1 + +# +# Generate logging support and bindings +# + +log_h = open('lib%sapi_log_macros.h' % os.sep, 'w') +log_c = open('lib%sapi_log_macros.cpp' % os.sep, 'w') +exe_c = open('lib%sapi_commands.cpp' % os.sep, 'w') +core_py = open('python%sz3core.py' % os.sep, 'w') +dotnet_fileout = 'Microsoft.Z3%sNative.cs' % os.sep +## +log_h.write('// Automatically generated file, generator: update_api.py\n') +log_h.write('#include\"z3.h\"\n') +## +log_c.write('// Automatically generated file, generator: update_api.py\n') +log_c.write('#include\n') +log_c.write('#include\"z3.h\"\n') +log_c.write('#include\"api_log_macros.h\"\n') +log_c.write('#include\"z3_logger.h\"\n') +## +exe_c.write('// Automatically generated file, generator: update_api.py\n') +exe_c.write('#include\"z3.h\"\n') +exe_c.write('#include\"z3_replayer.h\"\n') +## +log_h.write('extern std::ostream * g_z3_log;\n') +log_h.write('extern bool g_z3_log_enabled;\n') +log_h.write('class z3_log_ctx { bool m_prev; public: z3_log_ctx():m_prev(g_z3_log_enabled) { g_z3_log_enabled = false; } ~z3_log_ctx() { g_z3_log_enabled = m_prev; } bool enabled() const { return m_prev; } };\n') +log_h.write('inline void SetR(void * obj) { *g_z3_log << "= " << obj << "\\n"; }\ninline void SetO(void * obj, unsigned pos) { *g_z3_log << "* " << obj << " " << pos << "\\n"; } \ninline void SetAO(void * obj, unsigned pos, unsigned idx) { *g_z3_log << "@ " << obj << " " << pos << " " << idx << "\\n"; }\n') +log_h.write('#define RETURN_Z3(Z3RES) if (_LOG_CTX.enabled()) { SetR(Z3RES); } return Z3RES\n') +log_h.write('void _Z3_append_log(char const * msg);\n') +## +exe_c.write('void Z3_replacer_error_handler(Z3_context ctx, Z3_error_code c) { printf("[REPLAYER ERROR HANDLER]: %s\\n", Z3_get_error_msg_ex(ctx, c)); }\n') +## +core_py.write('# Automatically generated file, generator: update_api.py\n') +core_py.write('import sys, os\n') +core_py.write('import ctypes\n') +core_py.write('from z3types import *\n') +core_py.write('from z3consts import *\n') +core_py.write(""" +def _find_lib(): + _dir = os.path.dirname(os.path.abspath(__file__)) + libs = ['z3.dll', 'libz3.so', 'libz3.dylib'] + if sys.maxsize > 2**32: + locs = [_dir, '%s%s..%sx64%sexternal' % (_dir, os.sep, os.sep, os.sep), '%s%s..%sbin%sexternal' % (_dir, os.sep, os.sep, os.sep)] + else: + locs = [_dir, '%s%s..%sexternal' % (_dir, os.sep, os.sep), '%s%s..%sbin%sexternal' % (_dir, os.sep, os.sep, os.sep)] + for loc in locs: + for lib in libs: + f = '%s%s%s' % (loc, os.sep, lib) + if os.path.exists(f): + return f + return None + +_lib = None +def lib(): + if _lib == None: + l = _find_lib() + if l == None: + raise Z3Exception("init(Z3_LIBRARY_PATH) must be invoked before using Z3-python") + init(l) + assert _lib != None + return _lib + +def init(PATH): + global _lib + _lib = ctypes.CDLL(PATH) +""") + +IN = 0 +OUT = 1 +INOUT = 2 +IN_ARRAY = 3 +OUT_ARRAY = 4 +INOUT_ARRAY = 5 + +# Primitive Types +VOID = 0 +VOID_PTR = 1 +INT = 2 +UINT = 3 +INT64 = 4 +UINT64 = 5 +STRING = 6 +STRING_PTR = 7 +BOOL = 8 +SYMBOL = 9 +PRINT_MODE = 10 +ERROR_CODE = 11 +DOUBLE = 12 + +FIRST_OBJ_ID = 100 + +def is_obj(ty): + return ty >= FIRST_OBJ_ID + +Type2Str = { VOID : 'void', VOID_PTR : 'void*', INT : 'int', UINT : 'unsigned', INT64 : '__int64', UINT64 : '__uint64', DOUBLE : 'double', + STRING : 'Z3_string', STRING_PTR : 'Z3_string_ptr', BOOL : 'Z3_bool', SYMBOL : 'Z3_symbol', + PRINT_MODE : 'Z3_ast_print_mode', ERROR_CODE : 'Z3_error_code', + } + +Type2PyStr = { VOID_PTR : 'ctypes.c_void_p', INT : 'ctypes.c_int', UINT : 'ctypes.c_uint', INT64 : 'ctypes.c_longlong', + UINT64 : 'ctypes.c_ulonglong', DOUBLE : 'ctypes.c_double', + STRING : 'ctypes.c_char_p', STRING_PTR : 'ctypes.POINTER(ctypes.c_char_p)', BOOL : 'ctypes.c_bool', SYMBOL : 'Symbol', + PRINT_MODE : 'ctypes.c_uint', ERROR_CODE : 'ctypes.c_uint', + } + +# Mapping to .NET types +Type2Dotnet = { VOID : 'void', VOID_PTR : 'IntPtr', INT : 'int', UINT : 'uint', INT64 : 'Int64', UINT64 : 'UInt64', DOUBLE : 'double', + STRING : 'string', STRING_PTR : 'byte**', BOOL : 'int', SYMBOL : 'IntPtr', + PRINT_MODE : 'uint', ERROR_CODE : 'uint' } + +next_type_id = FIRST_OBJ_ID + +def def_Type(var, c_type, py_type): + global next_type_id + exec ('%s = %s' % (var, next_type_id)) in globals() + Type2Str[next_type_id] = c_type + Type2PyStr[next_type_id] = py_type + next_type_id = next_type_id + 1 + +def def_Types(): + pat1 = re.compile(" *def_Type.*") + for api_file in API_FILES: + api = open(api_file, 'r') + for line in api: + m = pat1.match(line) + if m: + print line.strip() + eval(line) + for k, v in Type2Str.iteritems(): + if is_obj(k): + Type2Dotnet[k] = v + +def type2str(ty): + global Type2Str + return Type2Str[ty] + +def type2pystr(ty): + global Type2PyStr + return Type2PyStr[ty] + +def type2dotnet(ty): + global Type2Dotnet + return Type2Dotnet[ty] + +def _in(ty): + return (IN, ty); + +def _in_array(sz, ty): + return (IN_ARRAY, ty, sz); + +def _out(ty): + return (OUT, ty); + +def _out_array(sz, ty): + return (OUT_ARRAY, ty, sz, sz); + +# cap contains the position of the argument that stores the capacity of the array +# sz contains the position of the output argument that stores the (real) size of the array +def _out_array2(cap, sz, ty): + return (OUT_ARRAY, ty, cap, sz) + +def _inout_array(sz, ty): + return (INOUT_ARRAY, ty, sz, sz); + +def param_kind(p): + return p[0] + +def param_type(p): + return p[1] + +def param_array_capacity_pos(p): + return p[2] + +def param_array_size_pos(p): + return p[3] + +def param2str(p): + if param_kind(p) == IN_ARRAY: + return "%s const *" % type2str(param_type(p)) + elif param_kind(p) == OUT_ARRAY or param_kind(p) == IN_ARRAY or param_kind(p) == INOUT_ARRAY: + return "%s*" % type2str(param_type(p)) + elif param_kind(p) == OUT: + return "%s*" % type2str(param_type(p)) + else: + return type2str(param_type(p)) + + +def param2dotnet(p): + k = param_kind(p) + if k == OUT: + if param_type(p) == STRING: + return "out IntPtr" + else: + return "[In, Out] ref %s" % type2dotnet(param_type(p)) + if k == IN_ARRAY: + return "[In] %s[]" % type2dotnet(param_type(p)) + if k == INOUT_ARRAY: + return "[In, Out] %s[]" % type2dotnet(param_type(p)) + if k == OUT_ARRAY: + return "[Out] %s[]" % type2dotnet(param_type(p)) + else: + return type2dotnet(param_type(p)) + +def param2pystr(p): + if param_kind(p) == IN_ARRAY or param_kind(p) == OUT_ARRAY or param_kind(p) == IN_ARRAY or param_kind(p) == INOUT_ARRAY or param_kind(p) == OUT: + return "ctypes.POINTER(%s)" % type2pystr(param_type(p)) + else: + return type2pystr(param_type(p)) + +# Save name, result, params to generate wrapper +_API2PY = [] + +def mk_py_binding(name, result, params): + global core_py + global _API2PY + _API2PY.append((name, result, params)) + if result != VOID: + core_py.write(" _lib.%s.restype = %s\n" % (name, type2pystr(result))) + core_py.write(" _lib.%s.argtypes = [" % name) + first = True + for p in params: + if first: + first = False + else: + core_py.write(", ") + core_py.write(param2pystr(p)) + core_py.write("]\n") + +def extra_API(name, result, params): + mk_py_binding(name, result, params) + reg_dotnet(name, result, params) + +def display_args(num): + for i in range(num): + if i > 0: + core_py.write(", ") + core_py.write("a%s" % i) + +def mk_py_wrappers(): + core_py.write("\n") + for sig in _API2PY: + name = sig[0] + result = sig[1] + params = sig[2] + num = len(params) + core_py.write("def %s(" % name) + display_args(num) + core_py.write("):\n") + if result != VOID: + core_py.write(" r = lib().%s(" % name) + else: + core_py.write(" lib().%s(" % name) + display_args(num) + core_py.write(")\n") + if len(params) > 0 and param_type(params[0]) == CONTEXT: + core_py.write(" err = lib().Z3_get_error_code(a0)\n") + core_py.write(" if err != Z3_OK:\n") + core_py.write(" raise Z3Exception(lib().Z3_get_error_msg_ex(a0, err))\n") + if result != VOID: + core_py.write(" return r\n") + core_py.write("\n") + + +## .NET API native interface +_dotnet_decls = [] +def reg_dotnet(name, result, params): + global _dotnet_decls + _dotnet_decls.append((name, result, params)) + +def mk_dotnet(): + global Type2Str + global dotnet_fileout + dotnet = open(dotnet_fileout, 'w') + dotnet.write('// Automatically generated file, generator: api.py\n') + dotnet.write('using System;\n') + dotnet.write('using System.Collections.Generic;\n') + dotnet.write('using System.Text;\n') + dotnet.write('using System.Runtime.InteropServices;\n\n') + dotnet.write('#pragma warning disable 1591\n\n'); + dotnet.write('namespace Microsoft.Z3\n') + dotnet.write('{\n') + for k, v in Type2Str.iteritems(): + if is_obj(k): + dotnet.write(' using %s = System.IntPtr;\n' % v) + dotnet.write('\n'); + dotnet.write(' public class Native\n') + dotnet.write(' {\n\n') + dotnet.write(' [UnmanagedFunctionPointer(CallingConvention.Cdecl)]\n') + dotnet.write(' public delegate void Z3_error_handler(Z3_context c, Z3_error_code e);\n\n') + dotnet.write(' public unsafe class LIB\n') + dotnet.write(' {\n') + dotnet.write(' #if DEBUG\n' + ' const string Z3_DLL_NAME = \"z3_dbg.dll\";\n' + ' #else\n' + ' const string Z3_DLL_NAME = \"z3.dll\";\n' + ' #endif\n\n'); + dotnet.write(' [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]\n') + dotnet.write(' public extern static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1);\n\n') + for name, result, params in _dotnet_decls: + dotnet.write(' [DllImport(Z3_DLL_NAME, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]\n') + dotnet.write(' ') + if result == STRING: + dotnet.write('public extern static IntPtr %s(' % (name)) + else: + dotnet.write('public extern static %s %s(' % (type2dotnet(result), name)) + first = True + i = 0; + for param in params: + if first: + first = False + else: + dotnet.write(', ') + dotnet.write('%s a%d' % (param2dotnet(param), i)) + i = i + 1 + dotnet.write(');\n\n') + dotnet.write(' }\n') + + +DotnetUnwrapped = { 'Z3_del_context' } + +def mk_dotnet_wrappers(): + global Type2Str + global dotnet_fileout + dotnet = open(dotnet_fileout, 'a') + dotnet.write("\n") + dotnet.write(" public static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1) {\n") + dotnet.write(" LIB.Z3_set_error_handler(a0, a1);\n") + dotnet.write(" Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0);\n") + dotnet.write(" if (err != Z3_error_code.Z3_OK)\n") + dotnet.write(" throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));\n") + dotnet.write(" }\n\n") + for name, result, params in _dotnet_decls: + if result == STRING: + dotnet.write(' public static string %s(' % (name)) + else: + dotnet.write(' public static %s %s(' % (type2dotnet(result), name)) + first = True + i = 0; + for param in params: + if first: + first = False + else: + dotnet.write(', ') + dotnet.write('%s a%d' % (param2dotnet(param), i)) + i = i + 1 + dotnet.write(') {\n') + dotnet.write(' ') + if result == STRING: + dotnet.write('IntPtr r = '); + elif result != VOID: + dotnet.write('%s r = ' % type2dotnet(result)); + dotnet.write('LIB.%s(' % (name)) + first = True + i = 0 + for param in params: + if first: + first = False + else: + dotnet.write(', ') + if param_kind(param) == OUT: + if param_type(param) == STRING: + dotnet.write('out '); + else: + dotnet.write('ref ') + dotnet.write('a%d' % i) + i = i + 1 + dotnet.write(');\n'); + if name not in DotnetUnwrapped: + if len(params) > 0 and param_type(params[0]) == CONTEXT: + dotnet.write(" Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0);\n") + dotnet.write(" if (err != Z3_error_code.Z3_OK)\n") + dotnet.write(" throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err)));\n") + if result == STRING: + dotnet.write(" return Marshal.PtrToStringAnsi(r);\n") + elif result != VOID: + dotnet.write(" return r;\n") + dotnet.write(" }\n\n") + dotnet.write(" }\n\n") + dotnet.write("}\n\n") + +def mk_log_header(file, name, params): + file.write("void log_%s(" % name) + i = 0 + for p in params: + if i > 0: + file.write(", "); + file.write("%s a%s" % (param2str(p), i)) + i = i + 1 + file.write(")"); + +def log_param(p): + kind = param_kind(p) + ty = param_type(p) + return is_obj(ty) and (kind == OUT or kind == INOUT or kind == OUT_ARRAY or kind == INOUT_ARRAY) + +def log_result(result, params): + for p in params: + if log_param(p): + return True + return False + +def mk_log_macro(file, name, params): + file.write("#define LOG_%s(" % name) + i = 0 + for p in params: + if i > 0: + file.write(", ") + file.write("_ARG%s" % i) + i = i + 1 + file.write(") z3_log_ctx _LOG_CTX; ") + auxs = Set([]) + i = 0 + for p in params: + if log_param(p): + kind = param_kind(p) + if kind == OUT_ARRAY or kind == INOUT_ARRAY: + cap = param_array_capacity_pos(p) + if cap not in auxs: + auxs.add(cap) + file.write("unsigned Z3ARG%s; " % cap) + sz = param_array_size_pos(p) + if sz not in auxs: + auxs.add(sz) + file.write("unsigned * Z3ARG%s; " % sz) + file.write("%s Z3ARG%s; " % (param2str(p), i)) + i = i + 1 + file.write("if (_LOG_CTX.enabled()) { log_%s(" % name) + i = 0 + for p in params: + if (i > 0): + file.write(', ') + file.write("_ARG%s" %i) + i = i + 1 + file.write("); ") + auxs = Set([]) + i = 0 + for p in params: + if log_param(p): + kind = param_kind(p) + if kind == OUT_ARRAY or kind == INOUT_ARRAY: + cap = param_array_capacity_pos(p) + if cap not in auxs: + auxs.add(cap) + file.write("Z3ARG%s = _ARG%s; " % (cap, cap)) + sz = param_array_size_pos(p) + if sz not in auxs: + auxs.add(sz) + file.write("Z3ARG%s = _ARG%s; " % (sz, sz)) + file.write("Z3ARG%s = _ARG%s; " % (i, i)) + i = i + 1 + file.write("}\n") + +def mk_log_result_macro(file, name, result, params): + file.write("#define RETURN_%s" % name) + if is_obj(result): + file.write("(Z3RES)") + file.write(" ") + file.write("if (_LOG_CTX.enabled()) { ") + if is_obj(result): + file.write("SetR(Z3RES); ") + i = 0 + for p in params: + if log_param(p): + kind = param_kind(p) + if kind == OUT_ARRAY or kind == INOUT_ARRAY: + cap = param_array_capacity_pos(p) + sz = param_array_size_pos(p) + if cap == sz: + file.write("for (unsigned i = 0; i < Z3ARG%s; i++) { SetAO(Z3ARG%s[i], %s, i); } " % (sz, i, i)) + else: + file.write("for (unsigned i = 0; Z3ARG%s && i < *Z3ARG%s; i++) { SetAO(Z3ARG%s[i], %s, i); } " % (sz, sz, i, i)) + if kind == OUT or kind == INOUT: + file.write("SetO((Z3ARG%s == 0 ? 0 : *Z3ARG%s), %s); " % (i, i, i)) + i = i + 1 + file.write("} ") + if is_obj(result): + file.write("return Z3RES\n") + else: + file.write("return\n") + +def mk_exec_header(file, name): + file.write("void exec_%s(z3_replayer & in)" % name) + +def error(msg): + sys.stderr.write(msg) + exit(-1) + +next_id = 0 +API2Id = {} + +def def_API(name, result, params): + global API2Id, next_id + global log_h, log_c + print 'def_API(%s)' % name + # print "generating ", name + mk_py_binding(name, result, params) + reg_dotnet(name, result, params) + API2Id[next_id] = name + mk_log_header(log_h, name, params) + log_h.write(';\n') + mk_log_header(log_c, name, params) + log_c.write(' {\n R();\n') + mk_exec_header(exe_c, name) + exe_c.write(' {\n') + # Create Log function & Function call + i = 0 + exe_c.write(" ") + if is_obj(result): + exe_c.write("%s result = " % type2str(result)) + exe_c.write("%s(\n " % name) + for p in params: + kind = param_kind(p) + ty = param_type(p) + if (i > 0): + exe_c.write(",\n ") + if kind == IN: + if is_obj(ty): + log_c.write(" P(a%s);\n" % i) + exe_c.write("reinterpret_cast<%s>(in.get_obj(%s))" % (param2str(p), i)) + elif ty == STRING: + log_c.write(" S(a%s);\n" % i) + exe_c.write("in.get_str(%s)" % i) + elif ty == SYMBOL: + log_c.write(" Sy(a%s);\n" % i) + exe_c.write("in.get_symbol(%s)" % i) + elif ty == UINT: + log_c.write(" U(a%s);\n" % i) + exe_c.write("in.get_uint(%s)" % i) + elif ty == UINT64: + log_c.write(" U(a%s);\n" % i) + exe_c.write("in.get_uint64(%s)" % i) + elif ty == INT: + log_c.write(" I(a%s);\n" % i) + exe_c.write("in.get_int(%s)" % i) + elif ty == INT64: + log_c.write(" I(a%s);\n" % i) + exe_c.write("in.get_int64(%s)" % i) + elif ty == DOUBLE: + log_c.write(" D(a%s);\n" % i) + exe_c.write("in.get_double(%s)" % i) + elif ty == BOOL: + log_c.write(" I(a%s);\n" % i) + exe_c.write("in.get_bool(%s)" % i) + elif ty == PRINT_MODE or ty == ERROR_CODE: + log_c.write(" U(static_cast(a%s));\n" % i); + exe_c.write("static_cast<%s>(in.get_uint(%s))" % (type2str(ty), i)) + else: + error("unsupported parameter for %s, %s" % (name, p)) + elif kind == INOUT: + error("unsupported parameter for %s, %s" % (name, p)) + elif kind == OUT: + if is_obj(ty): + log_c.write(" P(0);\n") + exe_c.write("reinterpret_cast<%s>(in.get_obj_addr(%s))" % (param2str(p), i)) + elif ty == STRING: + log_c.write(" S(\"\");\n") + exe_c.write("in.get_str_addr(%s)" % i) + elif ty == UINT: + log_c.write(" U(0);\n") + exe_c.write("in.get_uint_addr(%s)" % i) + elif ty == UINT64: + log_c.write(" U(0);\n") + exe_c.write("in.get_uint64_addr(%s)" % i) + elif ty == INT: + log_c.write(" I(0);\n") + exe_c.write("in.get_int_addr(%s)" % i) + elif ty == INT64: + log_c.write(" I(0);\n") + exe_c.write("in.get_int64_addr(%s)" % i) + else: + error("unsupported parameter for %s, %s" % (name, p)) + elif kind == IN_ARRAY or kind == INOUT_ARRAY: + sz = param_array_capacity_pos(p) + log_c.write(" for (unsigned i = 0; i < a%s; i++) { " % sz) + if is_obj(ty): + log_c.write("P(a%s[i]);" % i) + log_c.write(" }\n") + log_c.write(" Ap(a%s);\n" % sz) + exe_c.write("reinterpret_cast<%s*>(in.get_obj_array(%s))" % (type2str(ty), i)) + elif ty == SYMBOL: + log_c.write("Sy(a%s[i]);" % i) + log_c.write(" }\n") + log_c.write(" Asy(a%s);\n" % sz) + exe_c.write("in.get_symbol_array(%s)" % i) + elif ty == UINT: + log_c.write("U(a%s[i]);" % i) + log_c.write(" }\n") + log_c.write(" Au(a%s);\n" % sz) + exe_c.write("in.get_uint_array(%s)" % i) + else: + error ("unsupported parameter for %s, %s" % (name, p)) + elif kind == OUT_ARRAY: + sz = param_array_capacity_pos(p) + log_c.write(" for (unsigned i = 0; i < a%s; i++) { " % sz) + if is_obj(ty): + log_c.write("P(0);") + log_c.write(" }\n") + log_c.write(" Ap(a%s);\n" % sz) + exe_c.write("reinterpret_cast<%s*>(in.get_obj_array(%s))" % (type2str(ty), i)) + elif ty == UINT: + log_c.write("U(0);") + log_c.write(" }\n") + log_c.write(" Au(a%s);\n" % sz) + exe_c.write("in.get_uint_array(%s)" % i) + else: + error ("unsupported parameter for %s, %s" % (name, p)) + else: + error ("unsupported parameter for %s, %s" % (name, p)) + i = i + 1 + log_c.write(" C(%s);\n" % next_id) + exe_c.write(");\n") + if is_obj(result): + exe_c.write(" in.store_result(result);\n") + if name == 'Z3_mk_context' or name == 'Z3_mk_context_rc': + exe_c.write(" Z3_set_error_handler(result, Z3_replacer_error_handler);") + log_c.write('}\n') + exe_c.write('}\n') + mk_log_macro(log_h, name, params) + if log_result(result, params): + mk_log_result_macro(log_h, name, result, params) + next_id = next_id + 1 + +def mk_bindings(): + exe_c.write("void register_z3_replayer_cmds(z3_replayer & in) {\n") + for key, val in API2Id.items(): + exe_c.write(" in.register_cmd(%s, exec_%s);\n" % (key, val)) + exe_c.write("}\n") + +# Collect API(...) commands from +def def_APIs(): + pat1 = re.compile(" *def_API.*") + for api_file in API_FILES: + api = open(api_file, 'r') + for line in api: + m = pat1.match(line) + if m: + eval(line) + +mk_z3consts_donet() +mk_z3consts_py() +mk_z3tactics_py() +mk_dll_defs() +def_Types() +def_APIs() +mk_bindings() +mk_py_wrappers() +mk_dotnet() +mk_dotnet_wrappers() + diff --git a/update_api.sh b/update_api.sh deleted file mode 100755 index 796ae2497..000000000 --- a/update_api.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -cd dll -python mk_def.py -cd .. -cd lib -python api.py -cd .. -cd Microsoft.Z3 -python mk_z3consts.py -cd .. -cd python -python mk_z3consts.py -python mk_z3tactics.py -cd .. diff --git a/update_api.txt b/update_api.txt index 7cccfc101..8b777b160 100644 --- a/update_api.txt +++ b/update_api.txt @@ -1,26 +1,11 @@ Instructions for updating external Z3 API ----------------------------------------- -1) Add the new function to the file lib\z3_api.h -2) If the function requires logging, then add its definition to lib\api.py. -Each definition is a call to the API function in this python script. -This function has the following signature: -API(function name, return type, argument list) -The return type only needs to be specified if the function returns a Z3 object. -The file lib\api.py contains many examples. -3) Execute update_api.cmd (on Windows) update_api.sh (on Linux or OSX) -This script updates the .def files in the directory dll, and generates the API logging macros. - -If one only wants to generate the logging macros. Then it only needs to execute -cd lib -python api.py - -The script api.py generates the following files: -lib\z3_api_log.h: macros and function definitions for logging API invocations. -lib\z3_api_log.cpp -lib\z3_api_commands.cpp: bindings for z3_replayer.cpp (log interpreter) - - +The python "macros": def_Type() and def_API() are used to add new types and function definitions to the Z3 API. +The .h files listed at update_api.py contain these definitions. +See lib\z3_api.py for many examples. +To generate bindings and the API logging infrastructure, the following command must be used: + python update_api.py