(* (META i) have been instantiated with t. *)
type substitution = (int * Cic.term) list
-val delift :
- int -> substitution -> Cic.context -> Cic.metasenv ->
- (Cic.term option) list -> Cic.term ->
- Cic.term * Cic.metasenv * substitution
-
(* apply_subst subst t *)
(* applies the substitution [subst] to [t] *)
(* [subst] must be already unwinded *)
substitution -> Cic.term -> (Cic.name option) list -> string
val ppmetasenv: ?sep: string -> Cic.metasenv -> substitution -> string
-(** {2 Format-like pretty printers}
- * As above with prototypes suitable for toplevel/ocamldebug printers. No
- * subsitutions are applied here since such printers are required to be invoked
- * with only one argument.
- *)
-
-val fppsubst: Format.formatter -> substitution -> unit
-val fppterm: Format.formatter -> Cic.term -> unit
-val fppmetasenv: Format.formatter -> Cic.metasenv -> unit
-
(* {2 Kernel wrappers}
* From now on we recreate a kernel abstraction where substitutions are part of
* the calculus *)
val type_of_aux':
Cic.metasenv -> substitution -> Cic.context -> Cic.term -> Cic.term
+val tempi_type_of_aux : float ref
+val tempi_type_of_aux_subst : float ref
+
+(*** delifting ***)
+
+val delift :
+ int -> substitution -> Cic.context -> Cic.metasenv ->
+ (Cic.term option) list -> Cic.term ->
+ Cic.term * Cic.metasenv * substitution
+
+(** {2 Format-like pretty printers}
+ * As above with prototypes suitable for toplevel/ocamldebug printers. No
+ * subsitutions are applied here since such printers are required to be invoked
+ * with only one argument.
+ *)
+
+val fppsubst: Format.formatter -> substitution -> unit
+val fppterm: Format.formatter -> Cic.term -> unit
+val fppmetasenv: Format.formatter -> Cic.metasenv -> unit