package rocq-runtime
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
The Rocq Prover -- Core Binaries and Tools
Install
dune-project
Dependency
Authors
Maintainers
Sources
rocq-9.2.0.tar.gz
sha256=a45280ab4fbaac7540b136a6b073b4a6db15739ec1e149bded43fa6f4fc25f20
doc/rocq-runtime.proofs/Clenv/index.html
Module ClenvSource
This file defines clausenv, which is a deprecated way to handle open terms in the proof engine. This API is legacy.
The Type of Constructions clausale environments.
Source
val clenv_refresh :
Environ.env ->
Evd.evar_map ->
UnivGen.sort_context_set option ->
clausenv ->
clausenvsubject of clenv (instantiated)
type of clenv (instantiated)
Source
val mk_clenv_from :
Environ.env ->
Evd.evar_map ->
(EConstr.constr * EConstr.types) ->
clausenvSource
val mk_clenv_from_n :
Environ.env ->
Evd.evar_map ->
int ->
(EConstr.constr * EConstr.types) ->
clausenvlinking of clenvs
Source
val clenv_instantiate :
?flags:Unification.unify_flags ->
?submetas:(Constr.metavariable list * Unification.Meta.t) ->
Constr.metavariable ->
clausenv ->
(EConstr.constr * EConstr.types) ->
clausenvBindings
bindings where the key is the position in the template of the clenv (dependent or not). Positions can be negative meaning to start from the rightmost argument of the template.
start with a clenv to refine with a given term with bindings
Source
val make_clenv_binding_apply :
Environ.env ->
Evd.evar_map ->
int option ->
(EConstr.constr * EConstr.constr) ->
EConstr.constr Tactypes.bindings ->
clausenvthe arity of the lemma is fixed the optional int tells how many prods of the lemma have to be used use all of them if None
Source
val make_clenv_binding :
Environ.env ->
Evd.evar_map ->
(EConstr.constr * EConstr.constr) ->
EConstr.constr Tactypes.bindings ->
clausenvif the clause is a product, add an extra meta for this product
Clenv tactics
Source
val unify :
?flags:Unification.unify_flags ->
cv_pb:Conversion.conv_pb ->
EConstr.constr ->
unit Proofview.tacticSource
val res_pf :
?with_evars:bool ->
?with_classes:bool ->
?flags:Unification.unify_flags ->
clausenv ->
unit Proofview.tacticSource
val case_pf :
?with_evars:bool ->
dep:bool ->
(EConstr.constr * EConstr.types) ->
unit Proofview.tacticSource
val replace_clenv_metas :
Environ.env ->
Evd.evar_map ->
clausenv ->
Evd.evar_map * (EConstr.constr -> EConstr.constr)Source
exception ClenvCannotUnify of Environ.env
* Evd.evar_map
* clausenv
* Evd.econstr
* Evd.econstr
* Pretype_errors.unification_error option sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page