X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic%2FcicUtil.mli;h=c9dd896b9c3902f199976bbd5259e1c80fc329d2;hb=b714e87e96f14f332a5157567a4c62a4b28fa8eb;hp=9977d186465c24e245e4ea404a8ae6bf1c4ca812;hpb=468ee32f0fc7de271454ed94643b4dd7c9578e5f;p=helm.git diff --git a/helm/software/components/cic/cicUtil.mli b/helm/software/components/cic/cicUtil.mli index 9977d1864..c9dd896b9 100644 --- a/helm/software/components/cic/cicUtil.mli +++ b/helm/software/components/cic/cicUtil.mli @@ -54,7 +54,6 @@ 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] @@ -67,7 +66,12 @@ val rehash_obj: Cic.obj -> Cic.obj val alpha_equivalence: Cic.term -> Cic.term -> bool -(* FG: Consistency Check - * detects applications without arguments +(* FG: Consistency Check. Detects: + * applications without arguments, folded applications, non-positive rels *) -val is_sober: Cic.term -> bool +val is_sober: Cic.context -> Cic.term -> bool + +val pp_term: + (string -> unit) -> Cic.metasenv -> Cic.context -> Cic.term -> unit +val pp_obj: + (string -> unit) -> Cic.obj -> unit