X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=components%2Fcic%2FcicUtil.mli;h=9977d186465c24e245e4ea404a8ae6bf1c4ca812;hb=6ad533c972e6c9e9db53f38f972e7c0792160f2e;hp=b8d71f51f96da76779f64a2efc25ba58e1565750;hpb=6a1196490a40ebab9cdbba3649559c6fd1478187;p=helm.git diff --git a/components/cic/cicUtil.mli b/components/cic/cicUtil.mli index b8d71f51f..9977d1864 100644 --- a/components/cic/cicUtil.mli +++ b/components/cic/cicUtil.mli @@ -53,6 +53,9 @@ val id_of_annterm: Cic.annterm -> Cic.id val params_of_obj: Cic.obj -> UriManager.uri list val attributes_of_obj: Cic.obj -> Cic.attribute list +val projections_of_record: Cic.obj -> UriManager.uri -> UriManager.uri list +val arity_of_composed_coercion: Cic.obj -> int +val is_generated: Cic.obj -> bool (** mk_rels [howmany] [from] * creates a list of [howmany] rels starting from [from] in decreasing order *) @@ -62,3 +65,9 @@ val mk_rels : int -> int -> Cic.term list val rehash_term: Cic.term -> Cic.term val rehash_obj: Cic.obj -> Cic.obj +val alpha_equivalence: Cic.term -> Cic.term -> bool + +(* FG: Consistency Check + * detects applications without arguments + *) +val is_sober: Cic.term -> bool