package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.18.0.tar.gz
md5=8d852367b54f095d9fbabd000304d450
sha512=46922d5f2eb6802a148a52fd3e7f0be8370c93e7bc33cee05cf4a2044290845b10ccddbaa306f29c808e7c5019700763e37e45ff6deb507b874a4348010fed50

doc/coq-core.kernel/Context/index.html

Module ContextSource

The modules defined below represent a local context as defined by Chapter 4 in the Reference Manual:

A local context is an ordered list of of local declarations of names that we call variables.

A local declaration of some variable can be either:

  • a local assumption, or
  • a local definition.

Local assumptions are denoted in the Reference Manual as (name : typ) and local definitions are there denoted as (name := value : typ).

Sourcetype 'a binder_annot = {
  1. binder_name : 'a;
  2. binder_relevance : Sorts.relevance;
}
Sourceval eq_annot : ('a -> 'a -> bool) -> 'a binder_annot -> 'a binder_annot -> bool
Sourceval hash_annot : ('a -> int) -> 'a binder_annot -> int
Sourceval map_annot : ('a -> 'b) -> 'a binder_annot -> 'b binder_annot
Sourceval make_annot : 'a -> Sorts.relevance -> 'a binder_annot
Sourceval binder_name : 'a binder_annot -> 'a
Sourceval binder_relevance : 'a binder_annot -> Sorts.relevance
Sourceval annotR : 'a -> 'a binder_annot

Always Relevant

Relevant + Name

Relevant + Anonymous

Sourcemodule Rel : sig ... end

Representation of contexts that can capture anonymous as well as non-anonymous variables. Individual declarations are then designated by de Bruijn indexes.

Sourcemodule Named : sig ... end

This module represents contexts that can capture non-anonymous variables. Individual declarations are then designated by the identifiers they bind.

Sourcemodule Compacted : sig ... end
OCaml

Innovation. Community. Security.