package rocq-runtime
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).
Source
val eq_annot :
('a -> 'a -> bool) ->
('r -> 'r -> bool) ->
('a, 'r) pbinder_annot ->
('a, 'r) pbinder_annot ->
boolSource
val map_annot_relevance_het :
('r1 -> 'r2) ->
('a, 'r1) pbinder_annot ->
('a, 'r2) pbinder_annotAlways Relevant
Relevant + Name
Relevant + Anonymous
Representation of contexts that can capture anonymous as well as non-anonymous variables. Individual declarations are then designated by de Bruijn indexes.