package coq-core
The Coq Proof Assistant -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.19.0.tar.gz
md5=64b49dbc3205477bd7517642c0b9cbb6
sha512=02fb5b4fb575af79e092492cbec6dc0d15a1d74a07f827f657a72d4e6066532630e5a6d15be4acdb73314bd40b9a321f9ea0584e0ccfe51fd3a56353bd30db9b
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)"
>