Module Himsg

This module provides functions to explain the type errors.

val explain_type_error : Environ.env -> Evd.evar_map -> Pretype_errors.type_error -> Pp.t
val explain_pretype_error : Environ.env -> Evd.evar_map -> Pretype_errors.pretype_error -> Pp.t
val explain_refiner_error : Environ.env -> Evd.evar_map -> Logic.refiner_error -> Pp.t
type arity_error =
| NonInformativeToInformative
| StrongEliminationOnNonSmallType
| WrongArity
val error_elim_explain : Sorts.family -> Sorts.family -> arity_error

Second argument is the familty of the inductive.