package coq-core

  1. Overview
  2. Docs
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.kernel/Declareops/index.html

Module DeclareopsSource

Operations concerning types in Declarations : constant_body, mutual_inductive_body, module_body ...

Arities
Sourceval map_decl_arity : ('a -> 'c) -> ('b -> 'd) -> ('a, 'b) Declarations.declaration_arity -> ('c, 'd) Declarations.declaration_arity
Constants

Is there a actual body in const_body ?

Sourceval constant_has_body : 'a Declarations.pconstant_body -> bool
Sourceval constant_polymorphic_context : 'a Declarations.pconstant_body -> UVars.AbstractContext.t
Sourceval constant_is_polymorphic : 'a Declarations.pconstant_body -> bool

Is the constant polymorphic?

Return the universe context, in case the definition is polymorphic, otherwise the context is empty.

Sourceval is_opaque : 'a Declarations.pconstant_body -> bool
Inductive types
Sourceval pr_recarg : Declarations.recarg -> Pp.t
Sourceval pr_wf_paths : Declarations.wf_paths -> Pp.t
Sourceval dest_subterms : Declarations.wf_paths -> Declarations.wf_paths list array
Sourceval recarg_length : Declarations.wf_paths -> int -> int
Sourceval inductive_is_polymorphic : Declarations.mutual_inductive_body -> bool

Is the inductive polymorphic?

Is the inductive cumulative?

Sourceval inductive_is_cumulative : Declarations.mutual_inductive_body -> bool

Is the inductive cumulative?

Anomaly when not a primitive record or invalid proj_arg

Kernel flags

A default, safe set of flags for kernel type-checking

Hash-consing

Here, strictly speaking, we don't perform true hash-consing of the structure, but simply hash-cons all inner constr and other known elements

OCaml

Innovation. Community. Security.