]> matita.cs.unibo.it Git - helm.git/blobdiff - components/library/coercGraph.mli
BIG FAT COMMIT REGARDING COERCIONS:
[helm.git] / components / library / coercGraph.mli
index 01f3fecf69ab1d564f5910c6d60241e398d41fba..9e99d68f8cf02321645a9c4e3e88f3835070d779 100644 (file)
@@ -36,9 +36,18 @@ type coercion_search_result =
 val look_for_coercion :
   Cic.term -> Cic.term -> coercion_search_result
 
+val look_for_coercion' :
+  CoercDb.coerc_carr -> CoercDb.coerc_carr -> coercion_search_result
+
 val is_a_coercion: Cic.term -> bool
+val is_a_coercion_to_funclass: Cic.term -> int option
+
+(* checks if term is a constant or 
+ * a constant applyed that is marked with (`Class `Coercion) *)
+val is_composite: Cic.term -> bool
+
+
 val source_of: Cic.term -> Cic.term
-val target_of: Cic.term -> Cic.term
 
 val generate_dot_file: unit -> string