]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_refiner/nCicUnification.mli
fixed coercion mechanism w.r.t. undo/require
[helm.git] / helm / software / components / ng_refiner / nCicUnification.mli
index 23728e4f87d4340dc92855c615a77be0f42afef4..891c0738ecb9d9ee7b8e412c88526977918c562b 100644 (file)
@@ -15,13 +15,23 @@ exception UnificationFailure of string Lazy.t;;
 exception Uncertain of string Lazy.t;;
 exception AssertFailure of string Lazy.t;;
 
+val set_refiner_typeof:
+ (NRstatus.status ->
+   ?localise:(NCic.term -> Stdpp.location) ->
+   NCic.metasenv -> NCic.substitution -> NCic.context ->
+   NCic.term -> NCic.term option -> (* term, expected type *)
+     NCic.metasenv * NCic.substitution * NCic.term * NCic.term) -> unit
+
 val unify :
-  NRstatus.refiner_status ->
+  #NRstatus.status ->
   ?test_eq_only:bool -> (* default: false *)
   NCic.metasenv -> NCic.substitution -> NCic.context -> 
   NCic.term -> NCic.term ->
    NCic.metasenv * NCic.substitution
 
+(* this should be moved elsewhere *)
+val fix_sorts: NCic.term -> NCic.term
+
 (* 
 exception UnificationFailure of string Lazy.t;;
 exception Uncertain of string Lazy.t;;