exception Uncertain of string
exception AssertFailure of string
+exception SubstNotFound of int
+
(* The entry (i,t) in a substitution means that *)
(* (META i) have been instantiated with t. *)
-type substitution = (int * Cic.term) list
+type substitution = (int * (Cic.context * Cic.term)) list
+
+ (** @raise SubstNotFound *)
+val lookup_subst: int -> substitution -> Cic.context * Cic.term
(* apply_subst subst t *)
(* applies the substitution [subst] to [t] *)
Cic.metasenv -> substitution -> Cic.context -> Cic.term -> Cic.term
val tempi_type_of_aux : float ref
+val tempi_subst : float ref
val tempi_type_of_aux_subst : float ref
(*** delifting ***)
val fppterm: Format.formatter -> Cic.term -> unit
val fppmetasenv: Format.formatter -> Cic.metasenv -> unit
+(*
+(* DEBUG *)
+val print_counters: unit -> unit
+val reset_counters: unit -> unit
+*)
+