exception Impossible of int;;
exception NotRefinable of string;;
+exception Uncertain of string;;
exception WrongUriToConstant of string;;
exception WrongUriToVariable of string;;
exception WrongUriToMutualInductiveDefinitions of string;;
| (C.Sort s1, C.Sort s2) ->
(*CSC manca la gestione degli universi!!! *)
C.Sort C.Type,subst',metasenv'
+ | (C.Meta _,_)
+ | (_,C.Meta _) ->
+ raise
+ (Uncertain
+ ("Two sorts were expected, found " ^ CicPp.ppterm t1'' ^ " and " ^
+ CicPp.ppterm t2''))
| (_,_) ->
raise
(NotRefinable
in
CicReduction.fdebug := -1 ;
eat_prods subst' metasenv' context (CicSubstitution.subst hete t) tl
+ | Cic.Meta _ as t ->
+ raise
+ (Uncertain
+ ("Prod expected, " ^ CicPp.ppterm t ^ " found"))
| _ -> raise (NotRefinable "Appl: wrong Prod-type")
)
in
*)
exception NotRefinable of string
+exception Uncertain of string
exception WrongUriToConstant of string
exception WrongUriToVariable of string
exception WrongUriToMutualInductiveDefinitions of string