]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_refiner/nCicUnifHint.mli
added auto_cache in the dupable status after an
[helm.git] / helm / software / components / ng_refiner / nCicUnifHint.mli
index bb8bc6af16bd436edb7f0a52cb840c474fff1793..421ef9ffb66e0d48672e3b2e01a4ecd1ab24d147 100644 (file)
 
 type db
 
-val index_hint: 
-  db -> NCic.context -> NCic.term -> NCic.term -> int -> db
+exception HintNotValid
+
+class type g_status =
+ object
+  method uhint_db: db
+ end
+
+class status :
+ object ('self)
+  inherit g_status
+  method set_uhint_db: db -> 'self
+  method set_unifhint_status: #g_status -> 'self
+ end
 
-val add_user_provided_hint : db -> Cic.term -> int -> db 
+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
+
+val generate_dot_file: #status -> Format.formatter -> unit