From: Andrea Asperti Date: Fri, 22 Oct 2004 12:07:14 +0000 (+0000) Subject: - ported to typed explicit subst X-Git-Tag: V_0_0_10~46 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=03dbf66cecebcfa5cf6b7ba8a9b0f0b0a55dde6e;p=helm.git - ported to typed explicit subst --- diff --git a/helm/ocaml/cic_unification/cicMkImplicit.mli b/helm/ocaml/cic_unification/cicMkImplicit.mli index 1356fce58..7821bef40 100644 --- a/helm/ocaml/cic_unification/cicMkImplicit.mli +++ b/helm/ocaml/cic_unification/cicMkImplicit.mli @@ -32,33 +32,33 @@ val identity_relocation_list_for_metavariable : (* Returns the first meta whose number is above the *) (* number of the higher meta. *) -val new_meta : Cic.metasenv -> CicMetaSubst.substitution -> int +val new_meta : Cic.metasenv -> Cic.substitution -> int (** [mk_implicit metasenv context] * add a fresh metavariable to the given metasenv, using given context * @return the new metasenv and the index of the added conjecture *) -val mk_implicit: Cic.metasenv -> CicMetaSubst.substitution -> Cic.context -> Cic.metasenv * int +val mk_implicit: Cic.metasenv -> Cic.substitution -> Cic.context -> Cic.metasenv * int (** as above, but the fresh metavariable represents a type *) -val mk_implicit_type: Cic.metasenv -> CicMetaSubst.substitution -> Cic.context -> Cic.metasenv * int +val mk_implicit_type: Cic.metasenv -> Cic.substitution -> Cic.context -> Cic.metasenv * int (** as above, but the fresh metavariable represents a sort *) -val mk_implicit_sort: Cic.metasenv -> CicMetaSubst.substitution -> Cic.metasenv * int +val mk_implicit_sort: Cic.metasenv -> Cic.substitution -> Cic.metasenv * int (** [mk_implicit metasenv context] create n fresh metavariables *) val n_fresh_metas: - Cic.metasenv -> CicMetaSubst.substitution -> Cic.context -> int -> Cic.metasenv * Cic.term list + Cic.metasenv -> Cic.substitution -> Cic.context -> int -> Cic.metasenv * Cic.term list (** [fresh_subst metasenv context uris] takes in input a list of uri and creates a fresh explicit substitution *) val fresh_subst: Cic.metasenv -> - CicMetaSubst.substitution -> + Cic.substitution -> Cic.context -> UriManager.uri list -> Cic.metasenv * (Cic.term Cic.explicit_named_substitution) val expand_implicits: - Cic.metasenv -> CicMetaSubst.substitution -> Cic.context -> Cic.term -> + Cic.metasenv -> Cic.substitution -> Cic.context -> Cic.term -> Cic.metasenv * Cic.term