X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fcomponents%2Flibrary%2FcoercGraph.mli;h=9e99d68f8cf02321645a9c4e3e88f3835070d779;hb=81ef66d9ad4cf863a770664190f96653e9777a57;hp=986ef8e472406b728a417768ed15f89fc32b916d;hpb=ae4ac93251c1a7178220d293a2a8ae9dc850fde3;p=helm.git diff --git a/helm/software/components/library/coercGraph.mli b/helm/software/components/library/coercGraph.mli index 986ef8e47..9e99d68f8 100644 --- a/helm/software/components/library/coercGraph.mli +++ b/helm/software/components/library/coercGraph.mli @@ -23,6 +23,8 @@ * http://cs.unibo.it/helm/. *) +(* $Id$ *) + (* This module implements the Query interface to the Coercion Graph *) type coercion_search_result = @@ -34,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