X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic%2FcicInspect.mli;h=a5b79b36d475d0aca0bd741bf9b293350ef75447;hb=f9abd21eb0d26cf9b632af4df819225be4d091e3;hp=c4bcd8aaf060a8e54216e9faf68455f3aa2a6d79;hpb=00e0c1d5cff8d5b5588185e1a70352a2e7a1a8e9;p=helm.git diff --git a/helm/software/components/cic/cicInspect.mli b/helm/software/components/cic/cicInspect.mli index c4bcd8aaf..a5b79b36d 100644 --- a/helm/software/components/cic/cicInspect.mli +++ b/helm/software/components/cic/cicInspect.mli @@ -30,3 +30,9 @@ val overlaps: S.t -> S.t -> bool val get_rels_from_premise: int -> Cic.term -> S.t val get_mutinds_of_uri: UriManager.uri -> Cic.term -> S.t + +(* count_nodes n t returns n + the number of nodes in t *) +(* implicits, metas and casts are counted if ~meta:true *) +(* if ~meta:false, complies with *) +(* F.Guidi: Procedural representation of CIC Proof Terms. Last version *) +val count_nodes: meta:bool -> int -> Cic.term -> int