package coq-core
The Coq Proof Assistant -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.19.1.tar.gz
md5=13d2793fc6413aac5168822313e4864e
sha512=ec8379df34ba6e72bcf0218c66fef248b0e4c5c436fb3f2d7dd83a2c5f349dd0874a67484fcf9c0df3e5d5937d7ae2b2a79274725595b4b0065a381f70769b42
doc/coq-core.pretyping/Structures/Structure/index.html
Module Structures.Structure
Source
A structure S is a non recursive inductive type with a single constructor
Source
type projection = {
proj_name : Names.Name.t;
(*field name
*)proj_true : bool;
(*false = projection for a defined field (letin)
*)proj_canonical : bool;
(*false = not to be used for CS inference
*)proj_body : Names.Constant.t option;
(*the projection function
*)
}
A projection to a structure field
refreshes nparams, e.g. after section discharging
find isp
returns the Structure.t associated to the inductive path isp
if it corresponds to a structure, otherwise it fails with Not_found
raise Not_found
if not a structure projection
lookup_projections isp
returns the projections associated to the inductive path isp
if it corresponds to a structure, otherwise it fails with Not_found
raise Not_found
if not a projection
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>