type ty
type ty_var
type ty_cst
type term
type term_var
type term_cst
type formula