(* index (\x.c ?? x ??): A -> B
index_coercion db c A B \arity_left(c ??x??) \position(x,??x??)
*)
val index_coercion:
(* index (\x.c ?? x ??): A -> B
index_coercion db c A B \arity_left(c ??x??) \position(x,??x??)
*)
val index_coercion:
NCic.metasenv -> NCic.substitution -> NCic.context ->
(* inferred type, expected type *)
NCic.term -> NCic.term ->
(* enriched metasenv, new term, its type, metavriable to
* be unified with the old term *)
(NCic.metasenv * NCic.term * NCic.term * NCic.term) list
NCic.metasenv -> NCic.substitution -> NCic.context ->
(* inferred type, expected type *)
NCic.term -> NCic.term ->
(* enriched metasenv, new term, its type, metavriable to
* be unified with the old term *)
(NCic.metasenv * NCic.term * NCic.term * NCic.term) list