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.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.
Sourcetype clausenv
Sourceval clenv_evd : clausenv -> Evd.evar_map
Sourceval update_clenv_evd : clausenv -> Evd.evar_map -> clausenv
Sourceval clenv_strip_proj_params : clausenv -> clausenv
Sourceval clenv_refresh : Environ.env -> Evd.evar_map -> Univ.ContextSet.t option -> clausenv -> clausenv
Sourceval clenv_arguments : clausenv -> Constr.metavariable list
Sourceval clenv_value : clausenv -> EConstr.constr

subject of clenv (instantiated)

Sourceval clenv_type : clausenv -> EConstr.types

type of clenv (instantiated)

Sourceval mk_clenv_from_n : Environ.env -> Evd.evar_map -> int -> (EConstr.constr * EConstr.types) -> clausenv
linking of clenvs
Unification with clenvs

Unifies the type of a meta with a term.

Bindings
Sourceval clenv_independent : clausenv -> Constr.metavariable list

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.

Sourceval clenv_missing : clausenv -> Constr.metavariable list

start with a clenv to refine with a given term with bindings

Sourceval make_clenv_binding_apply : Environ.env -> Evd.evar_map -> int option -> (EConstr.constr * EConstr.constr) -> EConstr.constr Tactypes.bindings -> clausenv

the 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

Sourceval clenv_push_prod : clausenv -> (Constr.metavariable * bool * clausenv) option

if the clause is a product, add an extra meta for this product

Clenv tactics
Sourceval res_pf : ?with_evars:bool -> ?with_classes:bool -> ?flags:Unification.unify_flags -> clausenv -> unit Proofview.tactic
Sourceval case_pf : ?with_evars:bool -> dep:bool -> (EConstr.constr * EConstr.types) -> unit Proofview.tactic
Sourceval clenv_pose_dependent_evars : ?with_evars:bool -> clausenv -> clausenv
Sourceval pr_clenv : clausenv -> Pp.t

Pretty-print (debug only)

Sourcemodule Internal : sig ... end
OCaml

Innovation. Community. Security.