]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicTypeChecker.mli
Bug fixed: the debrujinate function (hence the one to compute objects height)
[helm.git] / helm / software / components / ng_kernel / nCicTypeChecker.mli
index df76faab71255607b1763621d755232a79565fe2..3cd11c0f8fa78744e1fc5eee50c4c6c1bdf081e5 100644 (file)
@@ -25,15 +25,12 @@ val set_logger:
 
 val set_trust : (NCic.obj -> bool) -> unit
 
-(* typechecks the object, raising an exception if illtyped *)
-val typecheck_obj : NCic.obj -> unit
-
 val typeof: 
   subst:NCic.substitution -> metasenv:NCic.metasenv -> 
   NCic.context -> NCic.term -> 
     NCic.term
 
-val height_of_obj_kind: NUri.uri -> NCic.obj_kind -> int
+val height_of_obj_kind: NUri.uri -> subst:NCic.substitution -> NCic.obj_kind -> int
 
 val get_relevance : 
   metasenv:NCic.metasenv -> subst:NCic.substitution ->
@@ -56,7 +53,9 @@ val check_allowed_sort_elimination :
     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 debruijn:
+ NUri.uri -> int -> subst:NCic.substitution -> 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