X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic%2FcicUtil.mli;h=66fbebe47ea8e2fa9038ecc3b79d1bb4bcb4f2b3;hb=3bfc56cd9b5afe52c3abfbef886ce82efa3bb3a3;hp=de8c020952ac0262d774ef6c7ad2fff39d5d543a;hpb=b4027b84fae91e907b6874060b91d89b6a1ad780;p=helm.git diff --git a/helm/software/components/cic/cicUtil.mli b/helm/software/components/cic/cicUtil.mli index de8c02095..66fbebe47 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] @@ -66,3 +65,13 @@ 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.context -> Cic.term -> bool + +val pp_term: + (string -> unit) -> Cic.metasenv -> Cic.context -> Cic.term -> unit +val pp_obj: + (string -> unit) -> Cic.obj -> unit