]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicTypeChecker.mli
...
[helm.git] / helm / software / components / ng_kernel / nCicTypeChecker.mli
index 021d321a1fa686aa7ba2fb7146682f3216498b89..1c3080826158f1fe4b46aa2a5ac16029dc21cf34 100644 (file)
@@ -9,6 +9,8 @@
      \ /   This software is distributed as is, NO WARRANTY.     
       V_______________________________________________________________ *)
 
+(* $Id$ *)
+
 (* These are the only exceptions that will be raised *)
 exception TypeCheckerFailure of string Lazy.t
 exception AssertFailure of string Lazy.t
@@ -18,8 +20,11 @@ val set_logger:
    | `Type_checking_completed of NUri.uri
    | `Type_checking_interrupted of NUri.uri
    | `Type_checking_failed of NUri.uri
+   | `Trust_obj of NUri.uri
    ] -> unit) -> unit
 
+val set_trust : (NCic.obj -> bool) -> unit
+
 (* typechecks the object, raising an exception if illtyped *)
 val typecheck_obj : NCic.obj -> unit
 
@@ -27,3 +32,8 @@ val typeof:
   subst:NCic.substitution -> metasenv:NCic.metasenv -> 
   NCic.context -> NCic.term -> 
     NCic.term
+
+val get_relevance : 
+  subst:NCic.substitution ->
+  NCic.context -> NCic.term -> NCic.term list -> bool list
+