]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/cic/cicUtil.mli
attributes now in the proof status: commit 2
[helm.git] / helm / software / components / cic / cicUtil.mli
index b6fd7459dea6176bbf931a2c4e513c4fffc54472..9b1fecf0c25de2218a593884d8f92d9fbd4f17b5 100644 (file)
@@ -35,6 +35,9 @@ val clean_up_local_context :
 
 val is_closed : Cic.term -> bool
 val is_meta_closed : Cic.term -> bool
+val metas_of_term : Cic.term -> (int * Cic.term option list) list
+(* as before but with no duplicates. may avoind some stack overflows *)
+val metas_of_term_set : Cic.term -> (int * Cic.term option list) list
 
   (** @raise Failure "not enough prods" *)
 val strip_prods: int -> Cic.term -> Cic.term
@@ -50,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 *)