]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicTypeChecker.mli
- fixed hint generation, more hints are generated
[helm.git] / helm / software / components / ng_kernel / nCicTypeChecker.mli
index 07781350c653ada82b26efd3399000d19c8bca9d..24701683e39e36c7421f433824b7badb3374da0d 100644 (file)
@@ -32,3 +32,26 @@ val typeof:
   subst:NCic.substitution -> metasenv:NCic.metasenv -> 
   NCic.context -> NCic.term -> 
     NCic.term
+
+val get_relevance : 
+  metasenv:NCic.metasenv -> subst:NCic.substitution ->
+  NCic.context -> NCic.term -> NCic.term list -> bool list
+
+(* type_of_branch subst context leftno outtype 
+ *   (constr @ lefts) (ty_constr @ lefts)  *)
+val type_of_branch : 
+  subst:NCic.substitution ->
+    NCic.context -> int -> NCic.term -> NCic.term -> NCic.term -> 
+     NCic.term
+
+(* ind = indtype @ lefts
+ * arity1 = constructor type @ lefts
+ * arity2 = outtype *)
+val check_allowed_sort_elimination : 
+  subst:NCic.substitution ->
+  metasenv:NCic.metasenv ->
+  NReference.reference -> NCic.context -> 
+    NCic.term -> NCic.term -> NCic.term -> unit
+
+val debruijn: NUri.uri -> int -> NCic.context -> NCic.term -> NCic.term
+