(* enriched metasenv, new term, its type, metavriable to
* be unified with the old term *)
(NCic.metasenv * NCic.term * NCic.term * NCic.term) list
+
+(* returns (coercion,arity,arg) *)
+val match_coercion:
+ #status -> metasenv:NCic.metasenv -> subst:NCic.substitution ->
+ context:NCic.context -> NCic.term -> (NCic.term * int * int) option