]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicTypeChecker.mli
Procedural: bugfix in the generation of intros for letin: the bodies and types of...
[helm.git] / helm / software / components / ng_kernel / nCicTypeChecker.mli
index 3308633d6737c909b3329b5043fa1a65614a7912..6ad40b8bb555c91f1f339fcb97861918b40eb724 100644 (file)
@@ -34,7 +34,7 @@ val typeof:
     NCic.term
 
 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 +53,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