]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_refiner/nCicMetaSubst.mli
some more work for ng-coercions
[helm.git] / helm / software / components / ng_refiner / nCicMetaSubst.mli
index f7378d13becccd03eec9c4bf8ed2250662b279e8..92cfa0908311a30f4a4fbf5fc20779d26e480af7 100644 (file)
 exception MetaSubstFailure of string Lazy.t
 exception Uncertain of string Lazy.t
 
+(* the index of the last created meta *)
+val maxmeta: unit -> int
+
 (* the delift function takes in input a metavariable index, a local_context
- * and a term t, and substitutes every Rel in t with its position in
+ * and a term t, and substitutes every subterm t' of t with its position 
+ * (searched up-to unification) in
  * the local_context (which is the Rel moved to the canonical context).
  * Typically, the list of optional terms is the explicit
  * substitution that is applied to a metavariable occurrence and the result of
@@ -53,8 +57,6 @@ val saturate:
     NCic.context -> NCic.term -> int ->
        NCic.term * NCic.metasenv * NCic.term list
 
-val flexible: NCic.substitution -> NCic.term list -> bool
-
 val in_scope_tag : string
 val out_scope_tag : int -> string
 val is_out_scope_tag : string -> bool