]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/cic_unification/cicRefine.mli
Huge commit with several changes:
[helm.git] / helm / software / components / cic_unification / cicRefine.mli
index 924020cbb39f771bc4bdea179240fd6b7e858432..666099dce8cbc31656c374059b675de682a7c632 100644 (file)
@@ -35,6 +35,12 @@ val type_of_aux':
   Cic.metasenv -> Cic.context -> Cic.term -> CicUniv.universe_graph ->
    Cic.term * Cic.term * Cic.metasenv * CicUniv.universe_graph
 
+ (* this is the correct one and should be used by tactics to fold subst *)
+val type_of:
+  Cic.metasenv -> Cic.substitution -> 
+  Cic.context -> Cic.term -> CicUniv.universe_graph ->
+   Cic.term * Cic.term * Cic.metasenv * Cic.substitution *CicUniv.universe_graph
+
 (* typecheck metasenv uri obj graph                     *)
 (* refines [obj] and returns the refined form of [obj], *)
 (* the new metasenv and universe graph.                 *)
@@ -45,6 +51,7 @@ val typecheck :
    Cic.obj * Cic.metasenv * CicUniv.universe_graph
 
 val insert_coercions: bool ref (* initially true *)
+val pack_coercions : bool ref
 
 val pack_coercion_obj: Cic.obj -> Cic.obj