aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMatej Kosik2017-02-09 18:33:56 +0100
committerMatej Košík2017-04-10 13:16:58 +0200
commit538d8edf708ba049e60e6bc32902ba5fdca720bb (patch)
tree9a9a33f7c93dd635ea2322efa7a5125c0895a943 /kernel
parent9b627431516f2cf88312329def9e0ec5e8605a98 (diff)
comments: corrected in the Context module
Diffstat (limited to 'kernel')
-rw-r--r--kernel/context.mli10
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/context.mli b/kernel/context.mli
index 955e214cb9..4cc2d0e711 100644
--- a/kernel/context.mli
+++ b/kernel/context.mli
@@ -206,7 +206,7 @@ sig
val to_rel_decl : t -> Rel.Declaration.t
end
- (** Rel-context is represented as a list of declarations.
+ (** Named-context is represented as a list of declarations.
Inner-most declarations are at the beginning of the list.
Outer-most declarations are at the end of the list. *)
type t = Declaration.t list
@@ -214,7 +214,7 @@ sig
(** empty named-context *)
val empty : t
- (** Return a new rel-context enriched by with a given inner-most declaration. *)
+ (** Return a new named-context enriched by with a given inner-most declaration. *)
val add : Declaration.t -> t -> t
(** Return the number of {e local declarations} in a given named-context. *)
@@ -224,7 +224,7 @@ sig
@raise Not_found if the designated identifier is not bound in a given named-context. *)
val lookup : Id.t -> t -> Declaration.t
- (** Check whether given two rel-contexts are equal. *)
+ (** Check whether given two named-contexts are equal. *)
val equal : t -> t -> bool
(** Map all terms in a given named-context. *)
@@ -244,8 +244,8 @@ sig
(** Return the set of all identifiers bound in a given named-context. *)
val to_vars : t -> Id.Set.t
- (** [instance_from_named_context Ω] builds an instance [args] such
- that [Ω ⊢ args:Ω] where [Ω] is a named context and with the local
+ (** [to_instance Ω] builds an instance [args] such
+ that [Ω ⊢ args:Ω] where [Ω] is a named-context and with the local
definitions of [Ω] skipped. Example: for [id1:T,id2:=c,id3:U], it
gives [Var id1, Var id3]. All [idj] are supposed distinct. *)
val to_instance : t -> Constr.t list