]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_refiner/nCicMetaSubst.mli
fix convertibility in case of application test_eq_only is =true for
[helm.git] / helm / software / components / ng_refiner / nCicMetaSubst.mli
index 6c6ddf554e55def7d020a33a32bffba440e39894..1d7b6729e11ee5d6be2db10be7f2bbe3c8e08ebd 100644 (file)
@@ -52,11 +52,16 @@ val restrict:
     NCic.substitution ->
       int -> int list -> NCic.metasenv * NCic.substitution * int
 
+(* bool = true if the type of the new meta is closed *)
 val mk_meta: 
-    ?name:string ->
-    NCic.metasenv -> NCic.context -> NCic.term -> NCic.metasenv * NCic.term
+   ?name:string -> 
+   NCic.metasenv -> NCic.context -> 
+    [ `WithType of NCic.term | `Term | `Type | `Sort ] -> 
+    NCic.metasenv * NCic.term * NCic.term (* menv, instance, type *)
 
+(* returns the resulting type, the metasenv and the arguments *)
 val saturate:
-    ?delta:int -> NCic.metasenv -> NCic.context -> NCic.term -> int ->
+    ?delta:int -> NCic.metasenv -> NCic.substitution -> 
+    NCic.context -> NCic.term -> int ->
        NCic.term * NCic.metasenv * NCic.term list