module FuncDecl:sig..end
Function declarations
type func_decl
module Parameter:sig..end
Parameters of Func_Decls
val mk_func_decl : context ->
Symbol.symbol ->
Sort.sort list -> Sort.sort -> func_declCreates a new function declaration.
val mk_func_decl_s : context ->
string -> Sort.sort list -> Sort.sort -> func_declCreates a new function declaration.
val mk_rec_func_decl : context ->
Symbol.symbol ->
Sort.sort list -> Sort.sort -> func_declCreates a function declaration that can be used in a recursive function definition.
FuncDecl.add_rec_def
val mk_rec_func_decl_s : context ->
string -> Sort.sort list -> Sort.sort -> func_declCreates a function declaration that can be used in a recursive function definition.
FuncDecl.add_rec_def
val add_rec_def : context ->
func_decl -> Expr.expr list -> Expr.expr -> unitRegisters a recursive function definition
val mk_fresh_func_decl : context ->
string -> Sort.sort list -> Sort.sort -> func_declCreates a fresh function declaration with a name prefixed with a prefix string.
val mk_const_decl : context -> Symbol.symbol -> Sort.sort -> func_declCreates a new constant function declaration.
val mk_const_decl_s : context -> string -> Sort.sort -> func_declCreates a new constant function declaration.
val mk_fresh_const_decl : context -> string -> Sort.sort -> func_declCreates a fresh constant function declaration with a name prefixed with a prefix string.
FuncDecl.mk_func_decl
FuncDecl.mk_func_decl
val equal : func_decl -> func_decl -> boolComparison operator.
val to_string : func_decl -> stringA string representations of the function declaration.
val get_id : func_decl -> intReturns a unique identifier for the function declaration.
val get_arity : func_decl -> intThe arity of the function declaration
val get_domain_size : func_decl -> intThe size of the domain of the function declaration
FuncDecl.get_arity
val get_domain : func_decl -> Sort.sort listThe domain of the function declaration
val get_range : func_decl -> Sort.sortThe range of the function declaration
val get_decl_kind : func_decl -> Z3enums.decl_kindThe kind of the function declaration.
val get_name : func_decl -> Symbol.symbolThe name of the function declaration
val get_num_parameters : func_decl -> intThe number of parameters of the function declaration
val get_parameters : func_decl -> Parameter.parameter listThe parameters of the function declaration
val apply : func_decl -> Expr.expr list -> Expr.exprCreate expression that applies function to arguments.