]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicTypeChecker.mli
huge commit regarding the grafite_status:
[helm.git] / helm / software / components / ng_kernel / nCicTypeChecker.mli
index 3308633d6737c909b3329b5043fa1a65614a7912..df76faab71255607b1763621d755232a79565fe2 100644 (file)
@@ -33,8 +33,10 @@ val typeof:
   NCic.context -> NCic.term -> 
     NCic.term
 
+val height_of_obj_kind: NUri.uri -> NCic.obj_kind -> int
+
 val get_relevance : 
-  subst:NCic.substitution ->
+  metasenv:NCic.metasenv -> subst:NCic.substitution ->
   NCic.context -> NCic.term -> NCic.term list -> bool list
 
 (* type_of_branch subst context leftno outtype 
@@ -53,3 +55,8 @@ val check_allowed_sort_elimination :
   NReference.reference -> NCic.context -> 
     NCic.term -> NCic.term -> NCic.term -> unit
 
+(* Functions to be used by the refiner *)
+val debruijn: NUri.uri -> int -> NCic.context -> NCic.term -> NCic.term
+val are_all_occurrences_positive: 
+ subst:NCic.substitution ->
+  NCic.context -> NUri.uri -> int -> int -> int -> int -> NCic.term -> bool