package rocq-runtime

  1. Overview
  2. Docs
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.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, 'r) pbinder_annot = {
  1. binder_name : 'a;
  2. binder_relevance : 'r;
}
Sourceval eq_annot : ('a -> 'a -> bool) -> ('r -> 'r -> bool) -> ('a, 'r) pbinder_annot -> ('a, 'r) pbinder_annot -> bool
Sourceval hash_annot : ('a -> int) -> ('a, Sorts.relevance) pbinder_annot -> int
Sourceval map_annot : ('a -> 'b) -> ('a, 'r) pbinder_annot -> ('b, 'r) pbinder_annot
Sourceval map_annot_relevance : ('r -> 'r) -> ('a, 'r) pbinder_annot -> ('a, 'r) pbinder_annot
Sourceval map_annot_relevance_het : ('r1 -> 'r2) -> ('a, 'r1) pbinder_annot -> ('a, 'r2) pbinder_annot
Sourceval make_annot : 'a -> 'r -> ('a, 'r) pbinder_annot
Sourceval binder_name : ('a, 'r) pbinder_annot -> 'a
Sourceval binder_relevance : ('a, 'r) pbinder_annot -> 'r
Sourceval annotR : 'a -> ('a, Sorts.relevance) pbinder_annot

Always Relevant

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.