Module Term.App


module App: sig  end
Operations on term applications.

val mk_const : Sym.t -> Term.t
mk_const c constructs a function application of symbol c to the empty argument list.
Parameters:
c : Sym.t
val mk_app : Sym.t -> Term.t list -> Term.t
mk_app f l constructs a function application of symbol f to a list l.
Parameters:
f : Sym.t
l : Term.t list
val destruct : Term.t -> Sym.t * Term.t list
destruct a destructure an application a of the form App(f, l) into (f, l).
Parameters:
a : Term.t
val sym_of : Term.t -> Sym.t
sym_of a returns the function symbol f of an application a of the form App(f,_).
Parameters:
a : Term.t
val theory_of : Term.t -> Th.t
theory_of a returns the theory associated with the top-level function symbol of a, and raises Not_found otherwise.
Parameters:
? : Term.t
val args_of : Term.t -> Term.t list
sym_of a returns the argument list l of an application a of the form App(_,l, _).
Parameters:
a : Term.t