OCaml: Index


A
abstract [Test_mlapi]
abstract_example [Test_mlapi]
app_to_ast [Z3]
Summary: Convert a APP_AST into an AST.
array_example1 [Test_mlapi]
Prove store(a1, i1, v1) = store(a2, i2, v2) implies (i1 = i3 or i2 = i3 or select(a1, i3) = select(a2, i3)) .
array_example2 [Test_mlapi]
Show that distinct(a_0, ...
array_example3 [Test_mlapi]
Simple array type construction/deconstruction example.
assert_cnstr [Z3]
Summary: Assert a constraing into the logical context.
assert_comm_axiom [Test_mlapi]
Assert the axiom: function f is commutative.
assert_inj_axiom [Test_mlapi]
Assert the axiom: function f is injective in the i-th argument.
ast_to_string [Z3]
Summary: Convert the given AST node into a string.

B
benchmark_to_smtlib_string [Z3]
Summary: Convert the given benchmark into SMT-LIB formatted string.
bitvector_example1 [Test_mlapi]
Simple bit-vector example.
bitvector_example2 [Test_mlapi]
Find x and y such that: x ^ y - 103 == x * y
block_literals [Z3]
Summary: Block subsequent checks using the remaining enabled labels.

C
check [Z3]
Summary: Check whether the given logical context is consistent or not.
check [Test_mlapi]
Check whether the logical context is satisfiable, and compare the result with the expected result.
check2 [Test_mlapi]
Similar to #check, but uses #display_model instead of #Z3_model_to_string.
check_and_get_model [Z3]
Summary: Check whether the given logical context is consistent or not.
check_assumptions [Z3]
Summary: Check whether the given logical context and optional assumptions is consistent or not.
close_log [Z3]
Summary: Close interaction log.
context_to_string [Z3]
Summary: Convert the given logical context into a string.

D
del_config [Z3]
Summary: Delete the given configuration object.
del_constructor [Z3]
Summary: Reclaim memory allocated to constructor.
del_constructor_list [Z3]
Summary: reclaim memory allocated for constructor list.
del_context [Z3]
Summary: Delete the given logical context.
del_literals [Z3]
Summary: Delete a labels context.
del_model [Z3]
Summary: Delete a model object.
demorgan [Test_mlapi]
Demonstration of how Z3 can be used to prove validity of De Morgan's Duality Law: not(x and y) <-> (not x) or ( not y)
disable_literal [Z3]
Summary: Disable label.
display_ast [Test_mlapi]
display_function_interpretations [Test_mlapi]
Custom function interpretations pretty printer.
display_model [Test_mlapi]
Custom model pretty printer.
display_numeral [Test_mlapi]
display_sort [Test_mlapi]
Display the given type.
display_symbol [Test_mlapi]
Display a symbol in the given output stream.
display_version [Test_mlapi]
Display Z3 version in the standard output.

E
equal_sorts [Test_mlapi]
Auxiliary function to check whether two Z3 types are equal or not.
error_code_example1 [Test_mlapi]
Demonstrates how error codes can be read insted of registering an error handler.
error_code_example2 [Test_mlapi]
Demonstrates how Z3 exceptions can be used.
eval [Z3]
Summary: [ eval c m t ] Evaluate the AST node t in the given model.
eval_decl [Z3]
Summary: Evaluate declaration given values.
eval_example1 [Test_mlapi]
Demonstrate how to use #Z3_eval.
eval_func_decl [Z3]
Summary: Return the value of the given constant or function in the given model.
exitf [Test_mlapi]
Exit gracefully in case of error.

F
find_model_example1 [Test_mlapi]
Find a model for x xor y .
find_model_example2 [Test_mlapi]
Find a model for x < y + 1, x > 2 .
fprintf [Test_mlapi]
fprintf
func_decl_to_string [Z3]

G
get_app_arg [Z3]
Summary: [ get_app_arg c a i ] Return the i-th argument of the given application.
get_app_args [Z3]
[ get_app_args c a ] is the array of arguments of an application.
get_app_decl [Z3]
Summary: Return the declaration of a constant or function application.
get_app_num_args [Z3]
Summary: [ get_app_num_args c a ] Return the number of argument of an application.
get_array_sort [Z3]
[ get_array_sort c t ] is the domain and the range of t.
get_array_sort_domain [Z3]
Summary: [ get_array_sort_domain c t ] Return the domain of the given array sort.
get_array_sort_range [Z3]
Summary: [ get_array_sort_range c t ] Return the range of the given array sort.
get_array_value [Z3]
Summary: [ get_array_value c v ] An array values is represented as a dictionary plus a default (else) value.
get_ast_kind [Z3]
Summary: Return the kind of the given AST.
get_bool_value [Z3]
Summary: Return L_TRUE if a is true, L_FALSE if it is false, and L_UNDEF otherwise.
get_bv_sort_size [Z3]
Summary: [ get_bv_sort_size c t ] Return the size of the given bit-vector sort.
get_context_assignment [Z3]
Summary: Extract satisfying assignment from context as a conjunction.
get_datatype_sort [Z3]
get_datatype_sort_constructor [Z3]
Summary: Return idx'th constructor.
get_datatype_sort_constructor_accessor [Z3]
Summary: Return idx_a'th accessor for the idx_c'th constructor.
get_datatype_sort_num_constructors [Z3]
Summary: Return number of constructors for datatype.
get_datatype_sort_recognizer [Z3]
Summary: Return idx'th recognizer.
get_decl_ast_parameter [Z3]
Summary: Return the expresson value associated with an expression parameter.
get_decl_double_parameter [Z3]
Summary: Return the double value associated with an double parameter.
get_decl_func_decl_parameter [Z3]
Summary: Return the expresson value associated with an expression parameter.
get_decl_int_parameter [Z3]
Summary: Return the integer value associated with an integer parameter.
get_decl_kind [Z3]
Summary: Return declaration kind corresponding to declaration.
get_decl_name [Z3]
Summary: Return the constant declaration name as a symbol.
get_decl_num_parameters [Z3]
Summary: Return the number of parameters associated with a declaration.
get_decl_parameter_kind [Z3]
Summary: Return the parameter type associated with a declaration.
get_decl_rational_parameter [Z3]
Summary: Return the rational value, as a string, associated with a rational parameter.
get_decl_sort_parameter [Z3]
Summary: Return the sort value associated with a sort parameter.
get_decl_symbol_parameter [Z3]
Summary: Return the double value associated with an double parameter.
get_domain [Z3]
Summary: [ get_domain c d i ] Return the sort of the i-th parameter of the given function declaration.
get_domain_size [Z3]
Summary: Return the number of parameters of the given declaration.
get_domains [Z3]
[ get_app_args c d ] is the array of parameters of d.
get_guessed_literals [Z3]
Summary: Retrieve the set of literals that whose assignment were guess, but not propagated during the search.
get_implied_equalities [Z3]
Summary: Retrieve congruence class representatives for terms.
get_implied_equalities_example [Test_mlapi]
get_index_value [Z3]
Summary: Return index of de-Brujin bound variable.
get_label_symbol [Z3]
Summary: Retrieve label symbol at idx.
get_literal [Z3]
Summary: Retrieve literal expression at idx.
get_model_constant [Z3]
Summary: [ get_model_constant c m i ] Return the i-th constant in the given model.
get_model_constants [Z3]
[ get_model_constants c m ] is the array of constants in the model m.
get_model_func_decl [Z3]
Summary: [ get_model_func_decl c m i ] Return the declaration of the i-th function in the given model.
get_model_func_else [Z3]
Summary: [ get_model_func_else c m i ] Return the 'else' value of the i-th function interpretation in the given model.
get_model_func_entries [Z3]
[ get_model_func_entries c m i ] is the array of entries in the i'th function in the model m.
get_model_func_entry [Z3]
[ get_model_func_entry c m i j ] is the j'th entry in the i'th function in the model m.
get_model_func_entry_arg [Z3]
Summary: [ get_model_func_entry_arg c m i j k ] Return the k-th argument of the j-th entry of the i-th function interpretation in the given model.
get_model_func_entry_num_args [Z3]
Summary: [ get_model_func_entry_num_args c m i j ] Return the number of arguments of the j-th entry of the i-th function interpretation in the given model.
get_model_func_entry_value [Z3]
Summary: [ get_model_func_entry_value c m i j ] Return the return value of the j-th entry of the i-th function interpretation in the given model.
get_model_func_num_entries [Z3]
Summary: [ get_model_func_num_entries c m i ] Return the number of entries of the i-th function interpretation in the given model.
get_model_funcs [Z3]
[ get_model_funcs c m ] is the array of functions in the model m.
get_model_num_constants [Z3]
Summary: Return the number of constants assigned by the given model.
get_model_num_funcs [Z3]
Summary: Return the number of function interpretations in the given model.
get_num_literals [Z3]
Summary: Retrieve the number of label symbols that were returned.
get_numeral_int [Z3]
Summary: [ get_numeral_int c v ] Similar to Z3.get_numeral_string, but only succeeds if the value can fit in a machine int.
get_numeral_small [Z3]
Summary: Return numeral value, as a pair of 64 bit numbers if the representation fits.
get_numeral_string [Z3]
Summary: Return numeral value, as a string of a numeric constant term
get_numeral_uint [Z3]
Summary: [ get_numeral_uint c v ] Similar to Z3.get_numeral_string, but only succeeds if the value can fit in a machine unsigned int int.
get_pattern [Z3]
Summary: Return i'th ast in pattern.
get_pattern_num_terms [Z3]
Summary: Return number of terms in pattern.
get_quantifier_body [Z3]
Summary: Return body of quantifier.
get_quantifier_bound_name [Z3]
Summary: Return symbol of the i'th bound variable.
get_quantifier_bound_sort [Z3]
Summary: Return sort of the i'th bound variable.
get_quantifier_num_bound [Z3]
Summary: Return number of bound variables of quantifier.
get_quantifier_num_patterns [Z3]
Summary: Return number of patterns used in quantifier.
get_quantifier_pattern_ast [Z3]
Summary: Return i'th pattern.
get_quantifier_weight [Z3]
Summary: Obtain weight of quantifier.
get_range [Z3]
Summary: [ get_range c d ] Return the range of the given declaration.
get_relevant_labels [Z3]
Summary: Retrieve the set of labels that were relevant in the context of the current satisfied context.
get_relevant_literals [Z3]
Summary: Retrieve the set of literals that satisfy the current context.
get_search_failure [Z3]
Summary: Retrieve reason for search failure.
get_smtlib_assumption [Z3]
Summary: [ get_smtlib_assumption c i ] Return the i-th assumption parsed by the last call to Z3.parse_smtlib_string or Z3.parse_smtlib_file.
get_smtlib_assumptions [Z3]
[ get_smtlib_assumptions c ] is the array of assumptions created by a preceding call to Z3.parse_smtlib_string or Z3.parse_smtlib_file.
get_smtlib_decl [Z3]
Summary: [ get_smtlib_decl c i ] Return the i-th declaration parsed by the last call to Z3.parse_smtlib_string or Z3.parse_smtlib_file.
get_smtlib_decls [Z3]
[ get_smtlib_decls c ] is the array of declarations created by a preceding call to Z3.parse_smtlib_string or Z3.parse_smtlib_file.
get_smtlib_error [Z3]
Summary: [ get_smtlib_error c ] Retrieve that last error message information generated from parsing.
get_smtlib_formula [Z3]
Summary: [ get_smtlib_formula c i ] Return the i-th formula parsed by the last call to Z3.parse_smtlib_string or Z3.parse_smtlib_file.
get_smtlib_formulas [Z3]
[ get_smtlib_formulas c ] is the array of formulas created by a preceding call to Z3.parse_smtlib_string or Z3.parse_smtlib_file.
get_smtlib_num_assumptions [Z3]
Summary: Return the number of SMTLIB assumptions parsed by Z3.parse_smtlib_string or Z3.parse_smtlib_file.
get_smtlib_num_decls [Z3]
Summary: Return the number of declarations parsed by Z3.parse_smtlib_string or Z3.parse_smtlib_file.
get_smtlib_num_formulas [Z3]
Summary: Return the number of SMTLIB formulas parsed by the last call to Z3.parse_smtlib_string or Z3.parse_smtlib_file.
get_smtlib_num_sorts [Z3]
Summary: Return the number of sorts parsed by Z3.parse_smtlib_string or Z3.parse_smtlib_file.
get_smtlib_parse_results [Z3]
[ get_smtlib_parse_results c ] is the triple (get_smtlib_formulas c, get_smtlib_assumptions c, get_smtlib_decls c).
get_smtlib_sort [Z3]
Summary: [ get_smtlib_sort c i ] Return the i-th sort parsed by the last call to Z3.parse_smtlib_string or Z3.parse_smtlib_file.
get_sort [Z3]
Summary: Return the sort of an AST node.
get_sort_kind [Z3]
Summary: Return the sort kind (e.g., array, tuple, int, bool, etc).
get_sort_name [Z3]
Summary: Return the sort name as a symbol.
get_symbol_int [Z3]
Summary: [ get_symbol_int c s ] Return the symbol int value.
get_symbol_kind [Z3]
Summary: Return INT_SYMBOL if the symbol was constructed using Z3.mk_int_symbol, and STRING_SYMBOL if the symbol was constructed using Z3.mk_string_symbol.
get_symbol_string [Z3]
Summary: [ get_symbol_string c s ] Return the symbol name.
get_tuple_sort [Z3]
[ get_tuple_sort c ty ] is the pair (mk_decl, fields) where mk_decl is the constructor declaration of ty, and fields is the array of fields in ty.
get_tuple_sort_field_decl [Z3]
Summary: [ get_tuple_sort_field_decl c t i ] Return the i-th field declaration (i.e., projection function declaration) of the given tuple sort.
get_tuple_sort_mk_decl [Z3]
Summary: [ get_tuple_sort_mk_decl c t ] Return the constructor declaration of the given tuple sort.
get_tuple_sort_num_fields [Z3]
Summary: [ get_tuple_sort_num_fields c t ] Return the number of fields of the given tuple sort.
get_version [Z3]
Summary: Return Z3 version number information.

I
is_array_value [Z3]
Summary: [ is_array_value c v ] Determine whether the term encodes an array value.
is_eq_ast [Z3]
Summary: compare terms.
is_eq_sort [Z3]
Summary: compare sorts.
is_quantifier_forall [Z3]
Summary: Determine if quantifier is universal.
ite_example [Test_mlapi]
Example for creating an if-then-else expression.

M
main [Test_mlapi]
mk_add [Z3]
Summary: [ mk_add c [| t_1; ...; t_n |] ] Create the term: t_1 + ...
mk_and [Z3]
Summary: [ mk_and c [| t_1; ...; t_n |] ] Create the conjunction: t_1 and ...
mk_app [Z3]
Summary: Create a constant or function application.
mk_array_default [Z3]
Summary: Access the array default value.
mk_array_sort [Z3]
Summary: Create an array type.
mk_binary_app [Test_mlapi]
Create the binary function application: (f x y) .
mk_bool_sort [Z3]
Summary: Create the Boolean type.
mk_bool_var [Test_mlapi]
Create a boolean variable using the given name.
mk_bound [Z3]
Summary: Create a bound variable.
mk_bv2int [Z3]
Summary: [ mk_bv2int c t1 is_signed ] Create an integer from the bit-vector argument t1.
mk_bv_sort [Z3]
Summary: Create a bit-vector type of the given size.
mk_bvadd [Z3]
Summary: [ mk_bvadd c t1 t2 ] Standard two's complement addition.
mk_bvadd_no_overflow [Z3]
Summary: [ mk_bvadd_no_overflow c t1 t2 is_signed ] Create a predicate that checks that the bit-wise addition of t1 and t2 does not overflow.
mk_bvadd_no_underflow [Z3]
Summary: [ mk_bvadd_no_underflow c t1 t2 ] Create a predicate that checks that the bit-wise signed addition of t1 and t2 does not underflow.
mk_bvand [Z3]
Summary: [ mk_bvand c t1 t2 ] Bitwise and.
mk_bvashr [Z3]
Summary: [ mk_bvashr c t1 t2 ] Arithmetic shift right.
mk_bvlshr [Z3]
Summary: [ mk_bvlshr c t1 t2 ] Logical shift right.
mk_bvmul [Z3]
Summary: [ mk_bvmul c t1 t2 ] Standard two's complement multiplication.
mk_bvmul_no_overflow [Z3]
Summary: [ mk_bvmul_no_overflow c t1 t2 is_signed ] Create a predicate that checks that the bit-wise multiplication of t1 and t2 does not overflow.
mk_bvmul_no_underflow [Z3]
Summary: [ mk_bvmul_no_underflow c t1 t2 ] Create a predicate that checks that the bit-wise signed multiplication of t1 and t2 does not underflow.
mk_bvnand [Z3]
Summary: [ mk_bvnand c t1 t2 ] Bitwise nand.
mk_bvneg [Z3]
Summary: [ mk_bvneg c t1 ] Standard two's complement unary minus.
mk_bvneg_no_overflow [Z3]
Summary: [ mk_bvneg_no_overflow c t1 ] Check that bit-wise negation does not overflow when t1 is interpreted as a signed bit-vector.
mk_bvnor [Z3]
Summary: [ mk_bvnor c t1 t2 ] Bitwise nor.
mk_bvnot [Z3]
Summary: [ mk_bvneg c t1 ] Bitwise negation.
mk_bvor [Z3]
Summary: [ mk_bvor c t1 t2 ] Bitwise or.
mk_bvsdiv [Z3]
Summary: [ mk_bvsdiv c t1 t2 ] Two's complement signed division.
mk_bvsdiv_no_overflow [Z3]
Summary: [ mk_bvsdiv_no_overflow c t1 t2 ] Create a predicate that checks that the bit-wise signed division of t1 and t2 does not overflow.
mk_bvsge [Z3]
Summary: [ mk_bvsge c t1 t2 ] Two's complement signed greater than or equal to.
mk_bvsgt [Z3]
Summary: [ mk_bvsgt c t1 t2 ] Two's complement signed greater than.
mk_bvshl [Z3]
Summary: [ mk_bvshl c t1 t2 ] Shift left.
mk_bvsle [Z3]
Summary: [ mk_bvsle c t1 t2 ] Two's complement signed less than or equal to.
mk_bvslt [Z3]
Summary: [ mk_bvslt c t1 t2 ] Two's complement signed less than.
mk_bvsmod [Z3]
Summary: [ mk_bvsmod c t1 t2 ] Two's complement signed remainder (sign follows divisor).
mk_bvsrem [Z3]
Summary: [ mk_bvsrem c t1 t2 ] Two's complement signed remainder (sign follows dividend).
mk_bvsub [Z3]
Summary: [ mk_bvsub c t1 t2 ] Standard two's complement subtraction.
mk_bvsub_no_overflow [Z3]
Summary: [ mk_bvsub_no_overflow c t1 t2 ] Create a predicate that checks that the bit-wise signed subtraction of t1 and t2 does not overflow.
mk_bvsub_no_underflow [Z3]
Summary: [ mk_bvsub_no_underflow c t1 t2 is_signed ] Create a predicate that checks that the bit-wise subtraction of t1 and t2 does not underflow.
mk_bvudiv [Z3]
Summary: [ mk_bvudiv c t1 t2 ] Unsigned division.
mk_bvuge [Z3]
Summary: [ mk_bvuge c t1 t2 ] Unsigned greater than or equal to.
mk_bvugt [Z3]
Summary: [ mk_bvugt c t1 t2 ] Unsigned greater than.
mk_bvule [Z3]
Summary: [ mk_bvule c t1 t2 ] Unsigned less than or equal to.
mk_bvult [Z3]
Summary: [ mk_bvult c t1 t2 ] Unsigned less than.
mk_bvurem [Z3]
Summary: [ mk_bvurem c t1 t2 ] Unsigned remainder.
mk_bvxnor [Z3]
Summary: [ mk_bvxnor c t1 t2 ] Bitwise xnor.
mk_bvxor [Z3]
Summary: [ mk_bvxor c t1 t2 ] Bitwise exclusive-or.
mk_concat [Z3]
Summary: [ mk_concat c t1 t2 ] Concatenate the given bit-vectors.
mk_config [Z3]
Summary: Create a configuration.
mk_const [Z3]
Summary: Declare and create a constant.
mk_const_array [Z3]
Summary: Create the constant array.
mk_constructor [Z3]
Summary: Create a constructor.
mk_constructor_list [Z3]
Summary: Create list of constructors.
mk_context [Z3]
Summary: Create a logical context using the given configuration.
mk_context [Test_mlapi]
Create a logical context.
mk_context_x [Z3]
[ mk_context_x configs ] is a shorthand for the context with configurations in configs.
mk_datatype [Z3]
Summary: Create recursive datatype.
mk_datatypes [Z3]
Summary: Create mutually recursive datatypes.
mk_distinct [Z3]
Summary: [ mk_distinct c [| t_1; ...; t_n |] ] Create an AST node represeting a distinct construct.
mk_div [Z3]
Summary: [ mk_div c t_1 t_2 ] Create the term: t_1 div t_2.
mk_enumeration_sort [Z3]
Summary: Create a enumeration sort.
mk_eq [Z3]
Summary: [ mk_eq c l r ] Create an AST node representing l = r .
mk_exists [Z3]
Summary: Create an exists formula.
mk_exists_const [Z3]
Summary: Similar to Z3.mk_forall_const.
mk_extract [Z3]
Summary: [ mk_extract c high low t1 ] Extract the bits high down to low from a bitvector of size m to yield a new bitvector of size n, where n = high - low + 1 .
mk_false [Z3]
Summary: Create an AST node representing false.
mk_forall [Z3]
Summary: Create a forall formula.
mk_forall_const [Z3]
Summary: Create a universal quantifier using a list of constants that will form the set of bound variables.
mk_fresh_const [Z3]
Summary: Declare and create a fresh constant.
mk_fresh_func_decl [Z3]
Summary: Declare a fresh constant or function.
mk_func_decl [Z3]
Summary: Declare a constant or function.
mk_ge [Z3]
Summary: [ mk_ge c t1 t2 ] Create greater than or equal to.
mk_gt [Z3]
Summary: [ mk_gt c t1 t2 ] Create greater than.
mk_iff [Z3]
Summary: [ mk_iff c t1 t2 ] Create an AST node representing t1 iff t2 .
mk_implies [Z3]
Summary: [ mk_implies c t1 t2 ] Create an AST node representing t1 implies t2 .
mk_injective_function [Z3]
Summary: Create injective function declaration
mk_int [Z3]
Summary: Create a numeral of a given sort.
mk_int [Test_mlapi]
Create a Z3 integer node using a C int.
mk_int2bv [Z3]
Summary: [ mk_int2bv c n t1 ] Create an n bit bit-vector from the integer argument t1.
mk_int2real [Z3]
Summary: [ mk_int2real c t1 ] Coerce an integer to a real.
mk_int_sort [Z3]
Summary: Create an integer type.
mk_int_symbol [Z3]
Summary: Create a Z3 symbol using an integer.
mk_int_var [Test_mlapi]
Create an integer variable using the given name.
mk_ite [Z3]
Summary: [ mk_ite c t1 t2 t2 ] Create an AST node representing an if-then-else: ite(t1, t2, t3) .
mk_label [Z3]
Summary: Create a labeled formula.
mk_le [Z3]
Summary: [ mk_le c t1 t2 ] Create less than or equal to.
mk_list_sort [Z3]
Summary: Create a list sort
mk_lt [Z3]
Summary: [ mk_lt c t1 t2 ] Create less than.
mk_map [Z3]
Summary: [ mk_map f n args ] map f on the the argument arrays.
mk_mod [Z3]
Summary: [ mk_mod c t_1 t_2 ] Create the term: t_1 mod t_2.
mk_mul [Z3]
Summary: [ mk_mul c [| t_1; ...; t_n |] ] Create the term: t_1 * ...
mk_not [Z3]
Summary: [ mk_not c a ] Create an AST node representing not(a) .
mk_numeral [Z3]
Summary: Create a numeral of a given sort.
mk_or [Z3]
Summary: [ mk_or c [| t_1; ...; t_n |] ] Create the disjunction: t_1 or ...
mk_pattern [Z3]
Summary: Create a pattern for quantifier instantiation.
mk_quantifier [Z3]
Summary: Create a quantifier - universal or existential, with pattern hints.
mk_real [Z3]
Summary: Create a real from a fraction.
mk_real_sort [Z3]
Summary: Create a real type.
mk_real_var [Test_mlapi]
Create a real variable using the given name.
mk_rem [Z3]
Summary: [ mk_rem c t_1 t_2 ] Create the term: t_1 rem t_2.
mk_rotate_left [Z3]
Summary: [ mk_rotate_left c i t1 ] Rotate bits of t1 to the left i times.
mk_rotate_right [Z3]
Summary: [ mk_rotate_right c i t1 ] Rotate bits of t1 to the right i times.
mk_select [Z3]
Summary: [ mk_select c a i ] Array read.
mk_sign_ext [Z3]
Summary: [ mk_sign_ext c i t1 ] Sign-extend of the given bit-vector to the (signed) equivalent bitvector of size m+i , where m is the size of the given bit-vector.
mk_store [Z3]
Summary: [ mk_store c a i v ] Array update.
mk_string_symbol [Z3]
Summary: Create a Z3 symbol using a C string.
mk_sub [Z3]
Summary: [ mk_sub c [| t_1; ...; t_n |] ] Create the term: t_1 - ...
mk_true [Z3]
Summary: Create an AST node representing true.
mk_tuple_sort [Z3]
Summary: Create a tuple type.
mk_tuple_update [Test_mlapi]
Z3 does not support explicitly tuple updates.
mk_unary_app [Test_mlapi]
Create the unary function application: (f x) .
mk_unary_minus [Z3]
Summary: [ mk_unary_minus c arg ] Create the term: - arg.
mk_uninterpreted_sort [Z3]
Summary: Create a free (uninterpreted) type using the given name (symbol).
mk_unsigned_int [Z3]
Summary: Create a numeral of a given sort.
mk_var [Test_mlapi]
Create a variable using the given name and type.
mk_xor [Z3]
Summary: [ mk_xor c t1 t2 ] Create an AST node representing t1 xor t2 .
mk_zero_ext [Z3]
Summary: [ mk_zero_ext c i t1 ] Extend the given bit-vector with zeros to the (unsigned int) equivalent bitvector of size m+i , where m is the size of the given bit-vector.
model_to_string [Z3]
Summary: Convert the given model into a string.

O
open_log [Z3]
Summary: Log interaction to a file.

P
parse_smtlib_file [Z3]
Summary: Similar to Z3.parse_smtlib_string, but reads the benchmark from a file.
parse_smtlib_file_formula [Z3]
[ parse_smtlib_file_formula c ... ] calls (parse_smtlib_file c ...) and returns the single formula produced.
parse_smtlib_file_x [Z3]
[ parse_smtlib_file_x c ... ] is (parse_smtlib_file c ...; get_smtlib_parse_results c)
parse_smtlib_string [Z3]
Summary: [ parse_smtlib_string c str sort_names sorts decl_names decls ] Parse the given string using the SMT-LIB parser.
parse_smtlib_string_formula [Z3]
[ parse_smtlib_string_formula c ... ] calls (parse_smtlib_string c ...) and returns the single formula produced.
parse_smtlib_string_x [Z3]
[ parse_smtlib_string_x c ... ] is (parse_smtlib_string c ...; get_smtlib_parse_results c)
parse_z3_file [Z3]
Summary: Similar to Z3.parse_z3_string, but reads the benchmark from a file.
parse_z3_string [Z3]
Summary: [ parse_z3_string c str ] Parse the given string using the Z3 native parser.
parser_example1 [Test_mlapi]
Demonstrates how to use the SMTLIB parser.
parser_example2 [Test_mlapi]
Demonstrates how to initialize the parser symbol table.
parser_example3 [Test_mlapi]
Demonstrates how to initialize the parser symbol table.
parser_example4 [Test_mlapi]
Display the declarations, assumptions and formulas in a SMT-LIB string.
parser_example5 [Test_mlapi]
Demonstrates how to handle parser errors using Z3 exceptions.
pattern_to_string [Z3]
persist_ast [Z3]
Summary: Persist AST through num_scopes pops.
pop [Z3]
Summary: Backtrack.
printf [Test_mlapi]
printf
prove [Test_mlapi]
Prove that the constraints already asserted into the logical context implies the given formula.
prove_example1 [Test_mlapi]
Prove x = y implies g(x) = g(y) , and disprove x = y implies g(g(x)) = g(y) .
prove_example2 [Test_mlapi]
Prove not(g(g(x) - g(y)) = g(z)), x + z <= y <= x implies z < 0 .
push [Z3]
Summary: Create a backtracking point.
push_pop_example1 [Test_mlapi]
Show how push & pop can be used to create "backtracking" points.

Q
quantifier_example1 [Test_mlapi]
Prove that f(x, y) = f(w, v) implies y = v when f is injective in the second argument.
query_constructor [Z3]
Summary: Query constructor for declared funcions.

R
reset_memory [Z3]
Summary: Reset all allocated resources.

S
set_ast_print_mode [Z3]
Summary: Select mode for the format used for pretty-printing AST nodes.
set_param_value [Z3]
Summary: Set a configuration parameter.
simple_example [Test_mlapi]
"Hello world" example: create a Z3 logical context, and delete it.
simplify [Z3]
Summary: Interface to simplifier.
soft_check_cancel [Z3]
Summary: Cancel an ongoing check.
sort_refine [Z3]
[ sort_refine c t ] is the refined sort of t.
sort_to_string [Z3]
symbol_refine [Z3]
[ symbol_refine c s ] is the refined symbol of s.

T
term_refine [Z3]
[ term_refine c a ] is the refined term of a.
to_app [Z3]
Summary: Convert an AST into a APP_AST.
trace_off [Z3]
Summary: Disable trace messages.
trace_to_file [Z3]
Summary: Enable trace messages to a file
trace_to_stderr [Z3]
Summary: Enable trace messages to a standard error.
trace_to_stdout [Z3]
Summary: Enable trace messages to a standard output.
tuple_example1 [Test_mlapi]
Simple tuple type example.
two_contexts_example1 [Test_mlapi]
Several logical context can be used simultaneously.

U
unsat_core_and_proof_example [Test_mlapi]
Example for extracting unsatisfiable core and proof.