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] *)
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
+