package z3

  1. Overview
  2. Docs
type lbool =
  1. | L_FALSE
  2. | L_UNDEF
  3. | L_TRUE
val int_of_lbool : lbool -> int
val lbool_of_int : int -> lbool
type symbol_kind =
  1. | INT_SYMBOL
  2. | STRING_SYMBOL
val int_of_symbol_kind : symbol_kind -> int
val symbol_kind_of_int : int -> symbol_kind
type parameter_kind =
  1. | PARAMETER_INT
  2. | PARAMETER_DOUBLE
  3. | PARAMETER_RATIONAL
  4. | PARAMETER_SYMBOL
  5. | PARAMETER_SORT
  6. | PARAMETER_AST
  7. | PARAMETER_FUNC_DECL
val int_of_parameter_kind : parameter_kind -> int
val parameter_kind_of_int : int -> parameter_kind
type sort_kind =
  1. | UNINTERPRETED_SORT
  2. | BOOL_SORT
  3. | INT_SORT
  4. | REAL_SORT
  5. | BV_SORT
  6. | ARRAY_SORT
  7. | DATATYPE_SORT
  8. | RELATION_SORT
  9. | FINITE_DOMAIN_SORT
  10. | FLOATING_POINT_SORT
  11. | ROUNDING_MODE_SORT
  12. | SEQ_SORT
  13. | RE_SORT
  14. | CHAR_SORT
  15. | TYPE_VAR
  16. | UNKNOWN_SORT
val int_of_sort_kind : sort_kind -> int
val sort_kind_of_int : int -> sort_kind
type ast_kind =
  1. | NUMERAL_AST
  2. | APP_AST
  3. | VAR_AST
  4. | QUANTIFIER_AST
  5. | SORT_AST
  6. | FUNC_DECL_AST
  7. | UNKNOWN_AST
val int_of_ast_kind : ast_kind -> int
val ast_kind_of_int : int -> ast_kind
type decl_kind =
  1. | OP_TRUE
  2. | OP_FALSE
  3. | OP_EQ
  4. | OP_DISTINCT
  5. | OP_ITE
  6. | OP_AND
  7. | OP_OR
  8. | OP_IFF
  9. | OP_XOR
  10. | OP_NOT
  11. | OP_IMPLIES
  12. | OP_OEQ
  13. | OP_ANUM
  14. | OP_AGNUM
  15. | OP_LE
  16. | OP_GE
  17. | OP_LT
  18. | OP_GT
  19. | OP_ADD
  20. | OP_SUB
  21. | OP_UMINUS
  22. | OP_MUL
  23. | OP_DIV
  24. | OP_IDIV
  25. | OP_REM
  26. | OP_MOD
  27. | OP_TO_REAL
  28. | OP_TO_INT
  29. | OP_IS_INT
  30. | OP_POWER
  31. | OP_ABS
  32. | OP_STORE
  33. | OP_SELECT
  34. | OP_CONST_ARRAY
  35. | OP_ARRAY_MAP
  36. | OP_ARRAY_DEFAULT
  37. | OP_SET_UNION
  38. | OP_SET_INTERSECT
  39. | OP_SET_DIFFERENCE
  40. | OP_SET_COMPLEMENT
  41. | OP_SET_SUBSET
  42. | OP_AS_ARRAY
  43. | OP_ARRAY_EXT
  44. | OP_SET_HAS_SIZE
  45. | OP_SET_CARD
  46. | OP_BNUM
  47. | OP_BIT1
  48. | OP_BIT0
  49. | OP_BNEG
  50. | OP_BADD
  51. | OP_BSUB
  52. | OP_BMUL
  53. | OP_BSDIV
  54. | OP_BUDIV
  55. | OP_BSREM
  56. | OP_BUREM
  57. | OP_BSMOD
  58. | OP_BSDIV0
  59. | OP_BUDIV0
  60. | OP_BSREM0
  61. | OP_BUREM0
  62. | OP_BSMOD0
  63. | OP_ULEQ
  64. | OP_SLEQ
  65. | OP_UGEQ
  66. | OP_SGEQ
  67. | OP_ULT
  68. | OP_SLT
  69. | OP_UGT
  70. | OP_SGT
  71. | OP_BAND
  72. | OP_BOR
  73. | OP_BNOT
  74. | OP_BXOR
  75. | OP_BNAND
  76. | OP_BNOR
  77. | OP_BXNOR
  78. | OP_CONCAT
  79. | OP_SIGN_EXT
  80. | OP_ZERO_EXT
  81. | OP_EXTRACT
  82. | OP_REPEAT
  83. | OP_BREDOR
  84. | OP_BREDAND
  85. | OP_BCOMP
  86. | OP_BSHL
  87. | OP_BLSHR
  88. | OP_BASHR
  89. | OP_ROTATE_LEFT
  90. | OP_ROTATE_RIGHT
  91. | OP_EXT_ROTATE_LEFT
  92. | OP_EXT_ROTATE_RIGHT
  93. | OP_BIT2BOOL
  94. | OP_INT2BV
  95. | OP_BV2INT
  96. | OP_CARRY
  97. | OP_XOR3
  98. | OP_BSMUL_NO_OVFL
  99. | OP_BUMUL_NO_OVFL
  100. | OP_BSMUL_NO_UDFL
  101. | OP_BSDIV_I
  102. | OP_BUDIV_I
  103. | OP_BSREM_I
  104. | OP_BUREM_I
  105. | OP_BSMOD_I
  106. | OP_PR_UNDEF
  107. | OP_PR_TRUE
  108. | OP_PR_ASSERTED
  109. | OP_PR_GOAL
  110. | OP_PR_MODUS_PONENS
  111. | OP_PR_REFLEXIVITY
  112. | OP_PR_SYMMETRY
  113. | OP_PR_TRANSITIVITY
  114. | OP_PR_TRANSITIVITY_STAR
  115. | OP_PR_MONOTONICITY
  116. | OP_PR_QUANT_INTRO
  117. | OP_PR_BIND
  118. | OP_PR_DISTRIBUTIVITY
  119. | OP_PR_AND_ELIM
  120. | OP_PR_NOT_OR_ELIM
  121. | OP_PR_REWRITE
  122. | OP_PR_REWRITE_STAR
  123. | OP_PR_PULL_QUANT
  124. | OP_PR_PUSH_QUANT
  125. | OP_PR_ELIM_UNUSED_VARS
  126. | OP_PR_DER
  127. | OP_PR_QUANT_INST
  128. | OP_PR_HYPOTHESIS
  129. | OP_PR_LEMMA
  130. | OP_PR_UNIT_RESOLUTION
  131. | OP_PR_IFF_TRUE
  132. | OP_PR_IFF_FALSE
  133. | OP_PR_COMMUTATIVITY
  134. | OP_PR_DEF_AXIOM
  135. | OP_PR_ASSUMPTION_ADD
  136. | OP_PR_LEMMA_ADD
  137. | OP_PR_REDUNDANT_DEL
  138. | OP_PR_CLAUSE_TRAIL
  139. | OP_PR_DEF_INTRO
  140. | OP_PR_APPLY_DEF
  141. | OP_PR_IFF_OEQ
  142. | OP_PR_NNF_POS
  143. | OP_PR_NNF_NEG
  144. | OP_PR_SKOLEMIZE
  145. | OP_PR_MODUS_PONENS_OEQ
  146. | OP_PR_TH_LEMMA
  147. | OP_PR_HYPER_RESOLVE
  148. | OP_RA_STORE
  149. | OP_RA_EMPTY
  150. | OP_RA_IS_EMPTY
  151. | OP_RA_JOIN
  152. | OP_RA_UNION
  153. | OP_RA_WIDEN
  154. | OP_RA_PROJECT
  155. | OP_RA_FILTER
  156. | OP_RA_NEGATION_FILTER
  157. | OP_RA_RENAME
  158. | OP_RA_COMPLEMENT
  159. | OP_RA_SELECT
  160. | OP_RA_CLONE
  161. | OP_FD_CONSTANT
  162. | OP_FD_LT
  163. | OP_SEQ_UNIT
  164. | OP_SEQ_EMPTY
  165. | OP_SEQ_CONCAT
  166. | OP_SEQ_PREFIX
  167. | OP_SEQ_SUFFIX
  168. | OP_SEQ_CONTAINS
  169. | OP_SEQ_EXTRACT
  170. | OP_SEQ_REPLACE
  171. | OP_SEQ_REPLACE_RE
  172. | OP_SEQ_REPLACE_RE_ALL
  173. | OP_SEQ_REPLACE_ALL
  174. | OP_SEQ_AT
  175. | OP_SEQ_NTH
  176. | OP_SEQ_LENGTH
  177. | OP_SEQ_INDEX
  178. | OP_SEQ_LAST_INDEX
  179. | OP_SEQ_TO_RE
  180. | OP_SEQ_IN_RE
  181. | OP_SEQ_MAP
  182. | OP_SEQ_MAPI
  183. | OP_SEQ_FOLDL
  184. | OP_SEQ_FOLDLI
  185. | OP_STR_TO_INT
  186. | OP_INT_TO_STR
  187. | OP_UBV_TO_STR
  188. | OP_SBV_TO_STR
  189. | OP_STR_TO_CODE
  190. | OP_STR_FROM_CODE
  191. | OP_STRING_LT
  192. | OP_STRING_LE
  193. | OP_RE_PLUS
  194. | OP_RE_STAR
  195. | OP_RE_OPTION
  196. | OP_RE_CONCAT
  197. | OP_RE_UNION
  198. | OP_RE_RANGE
  199. | OP_RE_DIFF
  200. | OP_RE_INTERSECT
  201. | OP_RE_LOOP
  202. | OP_RE_POWER
  203. | OP_RE_COMPLEMENT
  204. | OP_RE_EMPTY_SET
  205. | OP_RE_FULL_SET
  206. | OP_RE_FULL_CHAR_SET
  207. | OP_RE_OF_PRED
  208. | OP_RE_REVERSE
  209. | OP_RE_DERIVATIVE
  210. | OP_CHAR_CONST
  211. | OP_CHAR_LE
  212. | OP_CHAR_TO_INT
  213. | OP_CHAR_TO_BV
  214. | OP_CHAR_FROM_BV
  215. | OP_CHAR_IS_DIGIT
  216. | OP_LABEL
  217. | OP_LABEL_LIT
  218. | OP_DT_CONSTRUCTOR
  219. | OP_DT_RECOGNISER
  220. | OP_DT_IS
  221. | OP_DT_ACCESSOR
  222. | OP_DT_UPDATE_FIELD
  223. | OP_PB_AT_MOST
  224. | OP_PB_AT_LEAST
  225. | OP_PB_LE
  226. | OP_PB_GE
  227. | OP_PB_EQ
  228. | OP_SPECIAL_RELATION_LO
  229. | OP_SPECIAL_RELATION_PO
  230. | OP_SPECIAL_RELATION_PLO
  231. | OP_SPECIAL_RELATION_TO
  232. | OP_SPECIAL_RELATION_TC
  233. | OP_SPECIAL_RELATION_TRC
  234. | OP_FPA_RM_NEAREST_TIES_TO_EVEN
  235. | OP_FPA_RM_NEAREST_TIES_TO_AWAY
  236. | OP_FPA_RM_TOWARD_POSITIVE
  237. | OP_FPA_RM_TOWARD_NEGATIVE
  238. | OP_FPA_RM_TOWARD_ZERO
  239. | OP_FPA_NUM
  240. | OP_FPA_PLUS_INF
  241. | OP_FPA_MINUS_INF
  242. | OP_FPA_NAN
  243. | OP_FPA_PLUS_ZERO
  244. | OP_FPA_MINUS_ZERO
  245. | OP_FPA_ADD
  246. | OP_FPA_SUB
  247. | OP_FPA_NEG
  248. | OP_FPA_MUL
  249. | OP_FPA_DIV
  250. | OP_FPA_REM
  251. | OP_FPA_ABS
  252. | OP_FPA_MIN
  253. | OP_FPA_MAX
  254. | OP_FPA_FMA
  255. | OP_FPA_SQRT
  256. | OP_FPA_ROUND_TO_INTEGRAL
  257. | OP_FPA_EQ
  258. | OP_FPA_LT
  259. | OP_FPA_GT
  260. | OP_FPA_LE
  261. | OP_FPA_GE
  262. | OP_FPA_IS_NAN
  263. | OP_FPA_IS_INF
  264. | OP_FPA_IS_ZERO
  265. | OP_FPA_IS_NORMAL
  266. | OP_FPA_IS_SUBNORMAL
  267. | OP_FPA_IS_NEGATIVE
  268. | OP_FPA_IS_POSITIVE
  269. | OP_FPA_FP
  270. | OP_FPA_TO_FP
  271. | OP_FPA_TO_FP_UNSIGNED
  272. | OP_FPA_TO_UBV
  273. | OP_FPA_TO_SBV
  274. | OP_FPA_TO_REAL
  275. | OP_FPA_TO_IEEE_BV
  276. | OP_FPA_BVWRAP
  277. | OP_FPA_BV2RM
  278. | OP_INTERNAL
  279. | OP_RECURSIVE
  280. | OP_UNINTERPRETED
val int_of_decl_kind : decl_kind -> int
val decl_kind_of_int : int -> decl_kind
type param_kind =
  1. | PK_UINT
  2. | PK_BOOL
  3. | PK_DOUBLE
  4. | PK_SYMBOL
  5. | PK_STRING
  6. | PK_OTHER
  7. | PK_INVALID
val int_of_param_kind : param_kind -> int
val param_kind_of_int : int -> param_kind
type ast_print_mode =
  1. | PRINT_SMTLIB_FULL
  2. | PRINT_LOW_LEVEL
  3. | PRINT_SMTLIB2_COMPLIANT
val int_of_ast_print_mode : ast_print_mode -> int
val ast_print_mode_of_int : int -> ast_print_mode
type error_code =
  1. | OK
  2. | SORT_ERROR
  3. | IOB
  4. | INVALID_ARG
  5. | PARSER_ERROR
  6. | NO_PARSER
  7. | INVALID_PATTERN
  8. | MEMOUT_FAIL
  9. | FILE_ACCESS_ERROR
  10. | INTERNAL_FATAL
  11. | INVALID_USAGE
  12. | DEC_REF_ERROR
  13. | EXCEPTION
val int_of_error_code : error_code -> int
val error_code_of_int : int -> error_code
type goal_prec =
  1. | GOAL_PRECISE
  2. | GOAL_UNDER
  3. | GOAL_OVER
  4. | GOAL_UNDER_OVER
val int_of_goal_prec : goal_prec -> int
val goal_prec_of_int : int -> goal_prec
OCaml

Innovation. Community. Security.