package coq
Formal proof management system
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.14.0.tar.gz
sha256=b1501d686c21836302191ae30f610cca57fb309214c126518ca009363ad2cd3c
doc/coq-core.vernac/ComCoercion/index.html
Module ComCoercion
Source
Classes and coercions.
Source
val try_add_new_coercion_with_target :
Names.GlobRef.t ->
local:bool ->
poly:bool ->
source:Coercionops.cl_typ ->
target:Coercionops.cl_typ ->
unit
try_add_new_coercion_with_target ref s src tg
declares ref
as a coercion from src
to tg
try_add_new_coercion ref s
declares ref
, assumed to be of type (x1:T1)...(xn:Tn)src->tg
, as a coercion from src
to tg
try_add_new_coercion_subclass cst s
expects that cst
denotes a transparent constant which unfolds to some class tg
; it declares an identity coercion from cst
to tg
, named something like "Id_cst_tg"
Source
val try_add_new_coercion_with_source :
Names.GlobRef.t ->
local:bool ->
poly:bool ->
source:Coercionops.cl_typ ->
unit
try_add_new_coercion_with_source ref s src
declares ref
as a coercion from src
to tg
where the target is inferred from the type of ref
Source
val try_add_new_identity_coercion :
Names.Id.t ->
local:bool ->
poly:bool ->
source:Coercionops.cl_typ ->
target:Coercionops.cl_typ ->
unit
try_add_new_identity_coercion id s src tg
enriches the environment with a new definition of name id
declared as an identity coercion from src
to tg
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>