]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/library/coercGraph.mli
Big commit to let Ferruccio try the merge_coercion patch.
[helm.git] / helm / ocaml / library / coercGraph.mli
index bd562414ee0e457c16240738ed3208c5dd03a521..b21fb96bef067c54effceef08f3ff1f99b1bc11f 100644 (file)
@@ -32,10 +32,17 @@ type coercion_search_result =
 val look_for_coercion :
   Cic.term -> Cic.term -> coercion_search_result
 
-(* it returns the list of composite coercions and their auxiliary lemmas  *)
+(* it returns the list of composite coercions                             *)
 (* composite coercions are always declared as such; they are added to the *)
-(* library only on demand (i.e. not when processing a .moo)               *)
+(* CoercDb adding them to the library is left to the caller               *)
 val add_coercion:
- basedir:string -> add_composites:bool -> UriManager.uri -> UriManager.uri list
+ UriManager.uri -> 
+   (UriManager.uri * Cic.obj) list
 
 val remove_coercion: UriManager.uri -> unit
+
+val is_a_coercion: Cic.term -> bool
+val source_of: Cic.term -> Cic.term
+val target_of: Cic.term -> Cic.term
+
+val remove_all: unit -> unit