(************************************************************************) (* * The Coq Proof Assistant / The Coq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* ?lax:bool -> env -> evar_map -> constr -> types (** No-evar version of [get_type_of] *) val get_type_of_constr : ?polyprop:bool -> ?lax:bool -> env -> ?uctx:UState.t -> Constr.t -> Constr.types val get_sort_of : ?polyprop:bool -> env -> evar_map -> types -> Sorts.t (* When [truncation_style] is [true], tells if the type has been explicitly truncated to Prop or (impredicative) Set; in particular, singleton type and small inductive types, which have all eliminations to Type, are in Type *) val get_sort_family_of : ?truncation_style:bool -> ?polyprop:bool -> env -> evar_map -> types -> Sorts.family (** Makes an unsafe judgment from a constr *) val get_judgment_of : env -> evar_map -> constr -> unsafe_judgment val type_of_global_reference_knowing_parameters : env -> evar_map -> constr -> constr array -> types val type_of_global_reference_knowing_conclusion : env -> evar_map -> constr -> types -> evar_map * types val sorts_of_context : env -> evar_map -> rel_context -> Sorts.t list val expand_projection : env -> evar_map -> Names.Projection.t -> constr -> constr list -> constr val print_retype_error : retype_error -> Pp.t val relevance_of_term : env -> evar_map -> constr -> Sorts.relevance val relevance_of_type : env -> evar_map -> types -> Sorts.relevance val relevance_of_sort : ESorts.t -> Sorts.relevance val relevance_of_sort_family : Sorts.family -> Sorts.relevance