X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic%2FcicUtil.mli;h=c9dd896b9c3902f199976bbd5259e1c80fc329d2;hb=3c1a432c1612f8ed21f5b2220005599c4d9da1d5;hp=b8d71f51f96da76779f64a2efc25ba58e1565750;hpb=8d07bbad4976d7dc1b99918cc3513fe40cd1ee9f;p=helm.git diff --git a/helm/software/components/cic/cicUtil.mli b/helm/software/components/cic/cicUtil.mli index b8d71f51f..c9dd896b9 100644 --- a/helm/software/components/cic/cicUtil.mli +++ b/helm/software/components/cic/cicUtil.mli @@ -53,6 +53,8 @@ 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 is_generated: Cic.obj -> bool (** mk_rels [howmany] [from] * creates a list of [howmany] rels starting from [from] in decreasing order *) @@ -62,3 +64,14 @@ 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, folded applications, non-positive rels + *) +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