X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnCicUntrusted.mli;h=7ff7f9335b6c2b5561171907fae35e12811ed73a;hb=0c302a9fda708e5019e48d14c5419a8a65190745;hp=cb0b54b82ef18e72451b275c3e7912989e46cbb7;hpb=0431f79f14bbf2cdc38c099cacba3a2f71363d7b;p=helm.git diff --git a/helm/software/components/ng_kernel/nCicUntrusted.mli b/helm/software/components/ng_kernel/nCicUntrusted.mli index cb0b54b82..7ff7f9335 100644 --- a/helm/software/components/ng_kernel/nCicUntrusted.mli +++ b/helm/software/components/ng_kernel/nCicUntrusted.mli @@ -40,3 +40,8 @@ val apply_subst : NCic.substitution -> NCic.context -> NCic.term -> NCic.term val apply_subst_context : fix_projections:bool -> NCic.substitution -> NCic.context -> NCic.context val apply_subst_metasenv : NCic.substitution -> NCic.metasenv -> NCic.metasenv + +val count_occurrences : + subst:NCic.substitution -> int -> NCic.term -> int +(* quick, but with false negatives (since no ~subst), check for closed terms *) +val looks_closed : NCic.term -> bool