]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_refiner/nCicUnifHint.mli
snapshot for CSC
[helm.git] / helm / software / components / ng_refiner / nCicUnifHint.mli
index 7582c3df61f5f2fed4c3ed23fe8d1331590507e5..87519352c4b783b0ba4955cb300517b34cc95bb3 100644 (file)
 
 type db
 
-val index_hint: 
-  db -> NCic.context -> NCic.term -> NCic.term -> int -> db
+exception HintNotValid
+
+class status :
+ object ('self)
+  method uhint_db: db
+  method set_uhint_db: db -> 'self
+  method set_unifhint_status: < uhint_db : db; .. > -> 'self
+ end
 
-val add_user_provided_hint : Cic.term -> int -> unit 
+val index_hint: 
+  #status as 'status -> NCic.context -> NCic.term -> NCic.term -> int -> 'status
 
-val empty_db : db
+val add_user_provided_hint :
+  #status as 'status -> NCic.term -> int -> 'status
 
 val look_for_hint:
-    db ->
+    #status ->
     NCic.metasenv -> NCic.substitution -> NCic.context -> 
     NCic.term -> NCic.term -> 
       (NCic.metasenv * 
         (NCic.term * NCic.term) * (NCic.term * NCic.term) list) list
+
+val eq_class_of:
+      #status -> NCic.term -> NCic.term list