package rocq-runtime
The Rocq Prover -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
rocq-9.0.0.tar.gz
md5=8d522602d23e7a665631826dab9aa92b
sha512=f4f76a6a178e421c99ee7a331a2fd97a06e9c5d0168d7e60c44e3820d8e1a124370ea104ad90c7f87a9a1e9d87b2d0d7d2d387c998feeaed4a75ed04e176a4be
doc/rocq-runtime.pretyping/TemplateArity/index.html
Module TemplateArity
Source
Source
type template_arity =
| NonTemplateArg of Names.Name.t EConstr.binder_annot * EConstr.types * template_arity
| TemplateArg of Names.Name.t EConstr.binder_annot * EConstr.rel_context * Univ.Level.t * template_arity
| DefParam of Names.Name.t EConstr.binder_annot * EConstr.constr * EConstr.types * template_arity
| CtorType of Declarations.template_universes * EConstr.types
| IndType of Declarations.template_universes * EConstr.rel_context * Sorts.t
NB: the types and rel_contexts may mention previous args eg "sigT : forall A, (A -> Type) -> Type" is "TemplateArg (, u, TemplateArg (_:Rel 1
, v, IndType (_, , Type@max(u,v)
)))" note the "Rel 1"
be Prop if all these levels are Prop
Source
val get_template_arity :
Environ.env ->
Names.inductive ->
ctoropt:int option ->
template_can_be_prop * template_arity
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>