package colibri2

  1. Overview
  2. Docs
type s =
  1. | Lambda of {
    1. subst : Subst.t;
    2. ty_vars : Expr.Ty.Var.t list;
    3. term_vars : Expr.Term.Var.t list;
    4. body : Expr.Term.t;
    5. ty : Ty.t;
    }
  2. | Cst of Expr.Term.Const.t
  3. | App of {
    1. app : Node.t;
    2. tyargs : Ty.t list;
    3. args : Node.t Colibri2_popop_lib.IArray.t;
    4. ty : Ty.t;
    }
type t
val key : (s, t) ThTerm.Kind.t
val node : t -> Node.t

Return a class from a thterm

val sem : t -> s

Return the sem from a thterm

val thterm : t -> ThTerm.t
val of_thterm : ThTerm.t -> t option

Return the user type if the ThTerm belongs to this module

val coerce_thterm : ThTerm.t -> t

Return the user type. Raise if the ThTerm does not belong to this module

OCaml

Innovation. Community. Security.