]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicUntrusted.mli
patches for hints & unification:
[helm.git] / helm / software / components / ng_kernel / nCicUntrusted.mli
index cb0b54b82ef18e72451b275c3e7912989e46cbb7..7ff7f9335b6c2b5561171907fae35e12811ed73a 100644 (file)
@@ -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