package coq
Formal proof management system
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.14.1.tar.gz
sha256=3cbfc1e1a72b16d4744f5b64ede59586071e31d9c11c811a0372060727bfd9c3
doc/coq-core.pretyping/Coercionops/index.html
Module Coercionops
Source
Source
type cl_typ =
| CL_SORT
| CL_FUN
| CL_SECVAR of Names.variable
| CL_CONST of Names.Constant.t
| CL_IND of Names.inductive
| CL_PROJ of Names.Projection.Repr.t
This is the type of class kinds
This is the type of coercion kinds
Source
type coe_info_typ = {
coe_value : Names.GlobRef.t;
coe_local : bool;
coe_is_identity : bool;
coe_is_projection : Names.Projection.Repr.t option;
coe_source : cl_typ;
coe_target : cl_typ;
coe_param : int;
}
This is the type of infos for declared coercions
This is the type of paths from a class to another
Access to classes infos
Source
val find_class_type :
Environ.env ->
Evd.evar_map ->
EConstr.types ->
cl_typ * EConstr.EInstance.t * EConstr.constr list
find_class_type env sigma c
returns the head reference of c
, its universe instance and its arguments
raises Not_found
if not convertible to a class
Lookup functions for coercion paths
Source
val lookup_path_between :
Environ.env ->
Evd.evar_map ->
(EConstr.types * EConstr.types) ->
EConstr.types * EConstr.types * inheritance_path
Source
val lookup_path_to_fun_from :
Environ.env ->
Evd.evar_map ->
EConstr.types ->
EConstr.types * inheritance_path
Source
val lookup_path_to_sort_from :
Environ.env ->
Evd.evar_map ->
EConstr.types ->
EConstr.types * inheritance_path
Source
val lookup_pattern_path_between :
Environ.env ->
(Names.inductive * Names.inductive) ->
(Names.constructor * int) list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page