open Printf
-exception AssertFailure of string;;
exception UnificationFailure of string;;
+exception Uncertain of string;;
+exception AssertFailure of string;;
let debug_print = prerr_endline
fo_unif_subst subst context metasenv lifted_oldt t
with Not_found ->
let t',metasenv',subst' =
+ try
CicMetaSubst.delift n subst context metasenv l t
+ with
+ (CicMetaSubst.MetaSubstFailure msg)-> raise(UnificationFailure msg)
+ | (CicMetaSubst.Uncertain msg) -> raise (Uncertain msg)
in
(n, t')::subst', metasenv'
in