package coq-core
The Coq Proof Assistant -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.19.2.tar.gz
md5=5d1187d5e44ed0163f76fb12dabf012e
sha512=91bc81530fa4f6498961583ad51eac5001f139881788b88e360a866ad8e2a6e2c5bce86d1a580ab4cd4782bf49d48318767df82471ce33ba3ac143e5569ad33c
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)"
>