package coq-core
The Coq Proof Assistant -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.17.1.tar.gz
sha512=9a35311acec2a806730b94ac7dceabc88837f235c52a14c026827d9b89433bd7fa9555a9fc6829aa49edfedb24c8bbaf1411ebf463b74a50aeb17cba47745b6b
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 for primitive records
*)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)"
>