Enums Reference (Z3 5.3.3)¶
All 10 Z3 C enumerations (370 entries) are extracted by compiling and running a probe against z3.h. Every enum implements ImplicitlyCopyable, Equatable, Hashable, and Writable, and is exported from both z3_mojo and z3_mojo.c.
AstKind (Z3_ast_kind)¶
The different kinds of Z3 AST (abstract syntax trees). That is, terms, formulas and types.
7 members.
| Member | Value |
|---|---|
AstKind.NUMERAL_AST |
0 |
AstKind.APP_AST |
1 |
AstKind.VAR_AST |
2 |
AstKind.QUANTIFIER_AST |
3 |
AstKind.SORT_AST |
4 |
AstKind.FUNC_DECL_AST |
5 |
AstKind.UNKNOWN_AST |
1000 |
AstPrintMode (Z3_ast_print_mode)¶
Z3 pretty printing modes (See Z3_set_ast_print_mode).
3 members.
| Member | Value |
|---|---|
AstPrintMode.SMTLIB_FULL |
0 |
AstPrintMode.LOW_LEVEL |
1 |
AstPrintMode.SMTLIB2_COMPLIANT |
2 |
DeclKind (Z3_decl_kind)¶
The different kinds of interpreted function kinds.
304 members.
| Member | Value |
|---|---|
DeclKind.TRUE |
256 |
DeclKind.FALSE |
257 |
DeclKind.EQ |
258 |
DeclKind.DISTINCT |
259 |
DeclKind.ITE |
260 |
DeclKind.AND |
261 |
DeclKind.OR |
262 |
DeclKind.IFF |
263 |
DeclKind.XOR |
264 |
DeclKind.NOT |
265 |
DeclKind.IMPLIES |
266 |
DeclKind.OEQ |
267 |
DeclKind.ANUM |
512 |
DeclKind.AGNUM |
513 |
DeclKind.LE |
514 |
DeclKind.GE |
515 |
DeclKind.LT |
516 |
DeclKind.GT |
517 |
DeclKind.ADD |
518 |
DeclKind.SUB |
519 |
DeclKind.UMINUS |
520 |
DeclKind.MUL |
521 |
DeclKind.DIV |
522 |
DeclKind.IDIV |
523 |
DeclKind.REM |
524 |
DeclKind.MOD |
525 |
DeclKind.TO_REAL |
526 |
DeclKind.TO_INT |
527 |
DeclKind.IS_INT |
528 |
DeclKind.POWER |
529 |
DeclKind.ABS |
530 |
DeclKind.COMPLEX |
531 |
DeclKind.REAL_PART |
532 |
DeclKind.IMAG_PART |
533 |
DeclKind.STORE |
768 |
DeclKind.SELECT |
769 |
DeclKind.CONST_ARRAY |
770 |
DeclKind.ARRAY_MAP |
771 |
DeclKind.ARRAY_DEFAULT |
772 |
DeclKind.SET_UNION |
773 |
DeclKind.SET_INTERSECT |
774 |
DeclKind.SET_DIFFERENCE |
775 |
DeclKind.SET_COMPLEMENT |
776 |
DeclKind.SET_SUBSET |
777 |
DeclKind.AS_ARRAY |
778 |
DeclKind.ARRAY_EXT |
779 |
DeclKind.BNUM |
1024 |
DeclKind.BIT1 |
1025 |
DeclKind.BIT0 |
1026 |
DeclKind.BNEG |
1027 |
DeclKind.BADD |
1028 |
DeclKind.BSUB |
1029 |
DeclKind.BMUL |
1030 |
DeclKind.BSDIV |
1031 |
DeclKind.BUDIV |
1032 |
DeclKind.BSREM |
1033 |
DeclKind.BUREM |
1034 |
DeclKind.BSMOD |
1035 |
DeclKind.BSDIV0 |
1036 |
DeclKind.BUDIV0 |
1037 |
DeclKind.BSREM0 |
1038 |
DeclKind.BUREM0 |
1039 |
DeclKind.BSMOD0 |
1040 |
DeclKind.ULEQ |
1041 |
DeclKind.SLEQ |
1042 |
DeclKind.UGEQ |
1043 |
DeclKind.SGEQ |
1044 |
DeclKind.ULT |
1045 |
DeclKind.SLT |
1046 |
DeclKind.UGT |
1047 |
DeclKind.SGT |
1048 |
DeclKind.BAND |
1049 |
DeclKind.BOR |
1050 |
DeclKind.BNOT |
1051 |
DeclKind.BXOR |
1052 |
DeclKind.BNAND |
1053 |
DeclKind.BNOR |
1054 |
DeclKind.BXNOR |
1055 |
DeclKind.CONCAT |
1056 |
DeclKind.SIGN_EXT |
1057 |
DeclKind.ZERO_EXT |
1058 |
DeclKind.EXTRACT |
1059 |
DeclKind.REPEAT |
1060 |
DeclKind.BREDOR |
1061 |
DeclKind.BREDAND |
1062 |
DeclKind.BCOMP |
1063 |
DeclKind.BSHL |
1064 |
DeclKind.BLSHR |
1065 |
DeclKind.BASHR |
1066 |
DeclKind.ROTATE_LEFT |
1067 |
DeclKind.ROTATE_RIGHT |
1068 |
DeclKind.EXT_ROTATE_LEFT |
1069 |
DeclKind.EXT_ROTATE_RIGHT |
1070 |
DeclKind.BIT2BOOL |
1071 |
DeclKind.INT2BV |
1072 |
DeclKind.BV2INT |
1073 |
DeclKind.SBV2INT |
1074 |
DeclKind.CARRY |
1075 |
DeclKind.XOR3 |
1076 |
DeclKind.BSMUL_NO_OVFL |
1077 |
DeclKind.BUMUL_NO_OVFL |
1078 |
DeclKind.BSMUL_NO_UDFL |
1079 |
DeclKind.BSDIV_I |
1080 |
DeclKind.BUDIV_I |
1081 |
DeclKind.BSREM_I |
1082 |
DeclKind.BUREM_I |
1083 |
DeclKind.BSMOD_I |
1084 |
DeclKind.MKBV |
1085 |
DeclKind.PR_UNDEF |
1280 |
DeclKind.PR_TRUE |
1281 |
DeclKind.PR_ASSERTED |
1282 |
DeclKind.PR_GOAL |
1283 |
DeclKind.PR_MODUS_PONENS |
1284 |
DeclKind.PR_REFLEXIVITY |
1285 |
DeclKind.PR_SYMMETRY |
1286 |
DeclKind.PR_TRANSITIVITY |
1287 |
DeclKind.PR_TRANSITIVITY_STAR |
1288 |
DeclKind.PR_MONOTONICITY |
1289 |
DeclKind.PR_QUANT_INTRO |
1290 |
DeclKind.PR_BIND |
1291 |
DeclKind.PR_DISTRIBUTIVITY |
1292 |
DeclKind.PR_AND_ELIM |
1293 |
DeclKind.PR_NOT_OR_ELIM |
1294 |
DeclKind.PR_REWRITE |
1295 |
DeclKind.PR_REWRITE_STAR |
1296 |
DeclKind.PR_PULL_QUANT |
1297 |
DeclKind.PR_PUSH_QUANT |
1298 |
DeclKind.PR_ELIM_UNUSED_VARS |
1299 |
DeclKind.PR_DER |
1300 |
DeclKind.PR_QUANT_INST |
1301 |
DeclKind.PR_HYPOTHESIS |
1302 |
DeclKind.PR_LEMMA |
1303 |
DeclKind.PR_UNIT_RESOLUTION |
1304 |
DeclKind.PR_IFF_TRUE |
1305 |
DeclKind.PR_IFF_FALSE |
1306 |
DeclKind.PR_COMMUTATIVITY |
1307 |
DeclKind.PR_DEF_AXIOM |
1308 |
DeclKind.PR_ASSUMPTION_ADD |
1309 |
DeclKind.PR_LEMMA_ADD |
1310 |
DeclKind.PR_REDUNDANT_DEL |
1311 |
DeclKind.PR_CLAUSE_TRAIL |
1312 |
DeclKind.PR_DEF_INTRO |
1313 |
DeclKind.PR_APPLY_DEF |
1314 |
DeclKind.PR_IFF_OEQ |
1315 |
DeclKind.PR_NNF_POS |
1316 |
DeclKind.PR_NNF_NEG |
1317 |
DeclKind.PR_SKOLEMIZE |
1318 |
DeclKind.PR_MODUS_PONENS_OEQ |
1319 |
DeclKind.PR_TH_LEMMA |
1320 |
DeclKind.PR_HYPER_RESOLVE |
1321 |
DeclKind.PR_TH_ASSUMPTION_ADD |
1322 |
DeclKind.PR_TH_LEMMA_ADD |
1323 |
DeclKind.RA_STORE |
1536 |
DeclKind.RA_EMPTY |
1537 |
DeclKind.RA_IS_EMPTY |
1538 |
DeclKind.RA_JOIN |
1539 |
DeclKind.RA_UNION |
1540 |
DeclKind.RA_WIDEN |
1541 |
DeclKind.RA_PROJECT |
1542 |
DeclKind.RA_FILTER |
1543 |
DeclKind.RA_NEGATION_FILTER |
1544 |
DeclKind.RA_RENAME |
1545 |
DeclKind.RA_COMPLEMENT |
1546 |
DeclKind.RA_SELECT |
1547 |
DeclKind.RA_CLONE |
1548 |
DeclKind.FD_CONSTANT |
1549 |
DeclKind.FD_LT |
1550 |
DeclKind.SEQ_UNIT |
1551 |
DeclKind.SEQ_EMPTY |
1552 |
DeclKind.SEQ_CONCAT |
1553 |
DeclKind.SEQ_PREFIX |
1554 |
DeclKind.SEQ_SUFFIX |
1555 |
DeclKind.SEQ_CONTAINS |
1556 |
DeclKind.SEQ_EXTRACT |
1557 |
DeclKind.SEQ_REPLACE |
1558 |
DeclKind.SEQ_REPLACE_RE |
1559 |
DeclKind.SEQ_REPLACE_RE_ALL |
1560 |
DeclKind.SEQ_REPLACE_ALL |
1561 |
DeclKind.SEQ_AT |
1562 |
DeclKind.SEQ_NTH |
1563 |
DeclKind.SEQ_LENGTH |
1564 |
DeclKind.SEQ_INDEX |
1565 |
DeclKind.SEQ_LAST_INDEX |
1566 |
DeclKind.SEQ_TO_RE |
1567 |
DeclKind.SEQ_IN_RE |
1568 |
DeclKind.SEQ_MAP |
1569 |
DeclKind.SEQ_MAPI |
1570 |
DeclKind.SEQ_FOLDL |
1571 |
DeclKind.SEQ_FOLDLI |
1572 |
DeclKind.SEQ_POWER |
1573 |
DeclKind.STR_TO_INT |
1574 |
DeclKind.INT_TO_STR |
1575 |
DeclKind.UBV_TO_STR |
1576 |
DeclKind.SBV_TO_STR |
1577 |
DeclKind.STR_TO_CODE |
1578 |
DeclKind.STR_FROM_CODE |
1579 |
DeclKind.STRING_LT |
1580 |
DeclKind.STRING_LE |
1581 |
DeclKind.RE_PLUS |
1582 |
DeclKind.RE_STAR |
1583 |
DeclKind.RE_OPTION |
1584 |
DeclKind.RE_CONCAT |
1585 |
DeclKind.RE_UNION |
1586 |
DeclKind.RE_RANGE |
1587 |
DeclKind.RE_DIFF |
1588 |
DeclKind.RE_INTERSECT |
1589 |
DeclKind.RE_LOOP |
1590 |
DeclKind.RE_POWER |
1591 |
DeclKind.RE_COMPLEMENT |
1592 |
DeclKind.RE_EMPTY_SET |
1593 |
DeclKind.RE_FULL_SET |
1594 |
DeclKind.RE_FULL_CHAR_SET |
1595 |
DeclKind.RE_OF_PRED |
1596 |
DeclKind.RE_REVERSE |
1597 |
DeclKind.RE_DERIVATIVE |
1598 |
DeclKind.CHAR_CONST |
1599 |
DeclKind.CHAR_LE |
1600 |
DeclKind.CHAR_TO_INT |
1601 |
DeclKind.CHAR_TO_BV |
1602 |
DeclKind.CHAR_FROM_BV |
1603 |
DeclKind.CHAR_IS_DIGIT |
1604 |
DeclKind.LABEL |
1792 |
DeclKind.LABEL_LIT |
1793 |
DeclKind.DT_CONSTRUCTOR |
2048 |
DeclKind.DT_RECOGNISER |
2049 |
DeclKind.DT_IS |
2050 |
DeclKind.DT_ACCESSOR |
2051 |
DeclKind.DT_UPDATE_FIELD |
2052 |
DeclKind.PB_AT_MOST |
2304 |
DeclKind.PB_AT_LEAST |
2305 |
DeclKind.PB_LE |
2306 |
DeclKind.PB_GE |
2307 |
DeclKind.PB_EQ |
2308 |
DeclKind.SPECIAL_RELATION_LO |
40960 |
DeclKind.SPECIAL_RELATION_PO |
40961 |
DeclKind.SPECIAL_RELATION_PLO |
40962 |
DeclKind.SPECIAL_RELATION_TO |
40963 |
DeclKind.SPECIAL_RELATION_TC |
40964 |
DeclKind.SPECIAL_RELATION_TRC |
40965 |
DeclKind.FPA_RM_NEAREST_TIES_TO_EVEN |
45056 |
DeclKind.FPA_RM_NEAREST_TIES_TO_AWAY |
45057 |
DeclKind.FPA_RM_TOWARD_POSITIVE |
45058 |
DeclKind.FPA_RM_TOWARD_NEGATIVE |
45059 |
DeclKind.FPA_RM_TOWARD_ZERO |
45060 |
DeclKind.FPA_NUM |
45061 |
DeclKind.FPA_PLUS_INF |
45062 |
DeclKind.FPA_MINUS_INF |
45063 |
DeclKind.FPA_NAN |
45064 |
DeclKind.FPA_PLUS_ZERO |
45065 |
DeclKind.FPA_MINUS_ZERO |
45066 |
DeclKind.FPA_ADD |
45067 |
DeclKind.FPA_SUB |
45068 |
DeclKind.FPA_NEG |
45069 |
DeclKind.FPA_MUL |
45070 |
DeclKind.FPA_DIV |
45071 |
DeclKind.FPA_REM |
45072 |
DeclKind.FPA_ABS |
45073 |
DeclKind.FPA_MIN |
45074 |
DeclKind.FPA_MAX |
45075 |
DeclKind.FPA_FMA |
45076 |
DeclKind.FPA_SQRT |
45077 |
DeclKind.FPA_ROUND_TO_INTEGRAL |
45078 |
DeclKind.FPA_EQ |
45079 |
DeclKind.FPA_LT |
45080 |
DeclKind.FPA_GT |
45081 |
DeclKind.FPA_LE |
45082 |
DeclKind.FPA_GE |
45083 |
DeclKind.FPA_IS_NAN |
45084 |
DeclKind.FPA_IS_INF |
45085 |
DeclKind.FPA_IS_ZERO |
45086 |
DeclKind.FPA_IS_NORMAL |
45087 |
DeclKind.FPA_IS_SUBNORMAL |
45088 |
DeclKind.FPA_IS_NEGATIVE |
45089 |
DeclKind.FPA_IS_POSITIVE |
45090 |
DeclKind.FPA_FP |
45091 |
DeclKind.FPA_TO_FP |
45092 |
DeclKind.FPA_TO_FP_UNSIGNED |
45093 |
DeclKind.FPA_TO_UBV |
45094 |
DeclKind.FPA_TO_SBV |
45095 |
DeclKind.FPA_TO_REAL |
45096 |
DeclKind.FPA_TO_IEEE_BV |
45097 |
DeclKind.FPA_BVWRAP |
45098 |
DeclKind.FPA_BV2RM |
45099 |
DeclKind.FINITE_SET_EMPTY |
49152 |
DeclKind.FINITE_SET_SINGLETON |
49153 |
DeclKind.FINITE_SET_UNION |
49154 |
DeclKind.FINITE_SET_INTERSECT |
49155 |
DeclKind.FINITE_SET_DIFFERENCE |
49156 |
DeclKind.FINITE_SET_IN |
49157 |
DeclKind.FINITE_SET_SIZE |
49158 |
DeclKind.FINITE_SET_SUBSET |
49159 |
DeclKind.FINITE_SET_MAP |
49160 |
DeclKind.FINITE_SET_FILTER |
49161 |
DeclKind.FINITE_SET_RANGE |
49162 |
DeclKind.FINITE_SET_EXT |
49163 |
DeclKind.FINITE_SET_MAP_INVERSE |
49164 |
DeclKind.INTERNAL |
49165 |
DeclKind.RECURSIVE |
49166 |
DeclKind.UNINTERPRETED |
49167 |
DeclKind.FF_NUM |
53248 |
DeclKind.FF_ADD |
53249 |
DeclKind.FF_MUL |
53250 |
DeclKind.FF_NEG |
53251 |
DeclKind.FF_BITSUM |
53252 |
ErrorCode (Z3_error_code)¶
Z3 error codes (See Z3_get_error_code).
13 members.
| Member | Value |
|---|---|
ErrorCode.OK |
0 |
ErrorCode.SORT_ERROR |
1 |
ErrorCode.IOB |
2 |
ErrorCode.INVALID_ARG |
3 |
ErrorCode.PARSER_ERROR |
4 |
ErrorCode.NO_PARSER |
5 |
ErrorCode.INVALID_PATTERN |
6 |
ErrorCode.MEMOUT_FAIL |
7 |
ErrorCode.FILE_ACCESS_ERROR |
8 |
ErrorCode.INTERNAL_FATAL |
9 |
ErrorCode.INVALID_USAGE |
10 |
ErrorCode.DEC_REF_ERROR |
11 |
ErrorCode.EXCEPTION |
12 |
GoalPrec (Z3_goal_prec)¶
A Goal is essentially a set of formulas. Z3 provide APIs for building strategies/tactics for solving and transforming Goals. Some of these transformations apply under/over approximations.
4 members.
| Member | Value |
|---|---|
GoalPrec.PRECISE |
0 |
GoalPrec.UNDER |
1 |
GoalPrec.OVER |
2 |
GoalPrec.UNDER_OVER |
3 |
Lbool (Z3_lbool)¶
Lifted Boolean type: false, undefined, true.
3 members.
| Member | Value |
|---|---|
Lbool.FALSE |
-1 |
Lbool.UNDEF |
0 |
Lbool.TRUE |
1 |
ParamKind (Z3_param_kind)¶
The different kinds of parameters that can be associated with parameter sets. (see Z3_mk_params).
7 members.
| Member | Value |
|---|---|
ParamKind.UINT |
0 |
ParamKind.BOOL |
1 |
ParamKind.DOUBLE |
2 |
ParamKind.SYMBOL |
3 |
ParamKind.STRING |
4 |
ParamKind.OTHER |
5 |
ParamKind.INVALID |
6 |
ParameterKind (Z3_parameter_kind)¶
The different kinds of parameters that can be associated with function symbols.
9 members.
| Member | Value |
|---|---|
ParameterKind.INT |
0 |
ParameterKind.DOUBLE |
1 |
ParameterKind.RATIONAL |
2 |
ParameterKind.SYMBOL |
3 |
ParameterKind.SORT |
4 |
ParameterKind.AST |
5 |
ParameterKind.FUNC_DECL |
6 |
ParameterKind.INTERNAL |
7 |
ParameterKind.ZSTRING |
8 |
SortKind (Z3_sort_kind)¶
The different kinds of Z3 types (See Z3_get_sort_kind).
18 members.
| Member | Value |
|---|---|
SortKind.UNINTERPRETED_SORT |
0 |
SortKind.BOOL_SORT |
1 |
SortKind.INT_SORT |
2 |
SortKind.REAL_SORT |
3 |
SortKind.BV_SORT |
4 |
SortKind.ARRAY_SORT |
5 |
SortKind.DATATYPE_SORT |
6 |
SortKind.RELATION_SORT |
7 |
SortKind.FINITE_DOMAIN_SORT |
8 |
SortKind.FLOATING_POINT_SORT |
9 |
SortKind.ROUNDING_MODE_SORT |
10 |
SortKind.SEQ_SORT |
11 |
SortKind.RE_SORT |
12 |
SortKind.CHAR_SORT |
13 |
SortKind.TYPE_VAR |
14 |
SortKind.FINITE_FIELD_SORT |
15 |
SortKind.COMPLEX_SORT |
16 |
SortKind.UNKNOWN_SORT |
1000 |
SymbolKind (Z3_symbol_kind)¶
The different kinds of symbol. In Z3, a symbol can be represented using integers and strings (See Z3_get_symbol_kind).
2 members.
| Member | Value |
|---|---|
SymbolKind.INT_SYMBOL |
0 |
SymbolKind.STRING_SYMBOL |
1 |