Module Logtk__Type.Conv
val create : unit -> ctxval copy : ctx -> ctxval clear : ctx -> unitval enter_bvar : ctx -> VarMap.key -> int optionval exit_bvar : handle:int CCOpt.t -> ctx -> VarMap.key -> unitval find_bvar : ctx -> VarMap.key -> int optionval get_maxvar : ctx -> intval incr_maxvar : ctx -> unitval set_maxvar : ctx -> int -> unitval of_simple_term : ctx -> Logtk.TypedSTerm.t -> t optionconvert a simple typed term into a type. The term is assumed to be closed.
- returns
 an error message if the term is not a type
- parameter ctx
 context used to map
VartoHVar
val var_of_simple_term : ctx -> Logtk.TypedSTerm.t Logtk.Var.t -> t Logtk.HVar.tConvert a variable (and its type), and remember the binding.
val fresh_ty_var : ctx -> t Logtk.HVar.tFresh type variable
val var_to_simple_var : ?prefix:string -> ctx -> t Logtk.HVar.t -> Logtk.TypedSTerm.t Logtk.Var.t
exceptionError of Logtk.TypedSTerm.t
val of_simple_term_exn : ctx -> Logtk.TypedSTerm.t -> t- raises Invalid_argument
 if conversion is impossible
val to_simple_term : ?env:Logtk.TypedSTerm.t Logtk.Var.t Logtk.DBEnv.t -> ctx -> t -> Logtk.TypedSTerm.tconvert a type to a prolog term.
- parameter env
 the current environment for De Bruijn indices