]> matita.cs.unibo.it Git - helm.git/blobdiff - matitaB/components/ng_refiner/nCicUnification.mli
refiner porting from matita 1.
[helm.git] / matitaB / components / ng_refiner / nCicUnification.mli
index ec21d66434fba1432521e56fa92e08288b5fed87..1ce5a95dbcaef3e47493c7c41cfaf6d360b9795e 100644 (file)
@@ -25,9 +25,13 @@ val unify :
 
 (* this should be moved elsewhere *)
 val fix_sorts: 
-  #NCic.status -> NCic.metasenv -> NCic.substitution -> 
+  #NCicEnvironment.status -> NCic.metasenv -> NCic.substitution -> 
     NCic.term -> NCic.metasenv * NCic.term
 
+(* this should be moved elsewhere *)
+(* The term must be in whd *)
+val could_reduce: #NCicCoercion.status -> subst:NCic.substitution -> NCic.context -> NCic.term -> bool
+
 (* delift_type_wrt_terms st m s c t args
  *   lift t (length args) 
  *      [ rel 1 ... rel (len args) / lift (length args) (arg_1 .. arg_n) ]
@@ -39,7 +43,7 @@ val delift_type_wrt_terms:
    NCic.metasenv * NCic.substitution * NCic.term
 
 val sortfy :#
- NCic.status -> exn -> NCic.metasenv -> NCic.substitution -> NCic.context ->
+ NCicEnvironment.status -> exn -> NCic.metasenv -> NCic.substitution -> NCic.context ->
   NCic.term -> NCic.metasenv * NCic.substitution * NCic.term
 
 val debug : bool ref