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/ltac_plugin/Ltac_plugin/Taccoerce/index.html

Module Ltac_plugin.TaccoerceSource

Coercions from highest level generic arguments to actual data used by Ltac interpretation. Those functions examinate dynamic types and try to return something sensible according to the object content.

Sourceexception CannotCoerceTo of string

Exception raised whenever a coercion failed.

Sourcetype appl =
  1. | UnnamedAppl
    (*

    For generic applications: nothing is printed

    *)
  2. | GlbAppl of (Names.KerName.t * Geninterp.Val.t list) list
    (*

    For calls to global constants, some may alias other.

    *)

Abstract application, to print ltac functions

High-level access to values

The of_* functions cast a given argument into a value. The to_* do the converse, and return None if there is a type mismatch.

Sourcemodule Value : sig ... end
Coercion functions
Sourceval coerce_to_constr_context : Value.t -> Constr_matching.context
Sourceval coerce_var_to_ident : bool -> Environ.env -> Evd.evar_map -> Value.t -> Names.Id.t
Sourceval coerce_to_ident_not_fresh : Evd.evar_map -> Value.t -> Names.Id.t
Sourceval coerce_to_intro_pattern_naming : Evd.evar_map -> Value.t -> Namegen.intro_pattern_naming_expr
Sourceval coerce_to_hint_base : Value.t -> string
Sourceval coerce_to_int : Value.t -> int
Sourceval coerce_to_closed_constr : Environ.env -> Value.t -> EConstr.constr
Sourceval coerce_to_evaluable_ref : Environ.env -> Evd.evar_map -> Value.t -> Evaluable.t
Sourceval coerce_to_constr_list : Environ.env -> Value.t -> EConstr.constr list
Sourceval coerce_to_intro_pattern_list : ?loc:Loc.t -> Evd.evar_map -> Value.t -> Tacexpr.intro_patterns
Sourceval coerce_to_hyp : Environ.env -> Evd.evar_map -> Value.t -> Names.Id.t
Sourceval coerce_to_hyp_list : Environ.env -> Evd.evar_map -> Value.t -> Names.Id.t list
Sourceval coerce_to_reference : Evd.evar_map -> Value.t -> Names.GlobRef.t
Sourceval coerce_to_quantified_hypothesis : Evd.evar_map -> Value.t -> Tactypes.quantified_hypothesis
Sourceval coerce_to_decl_or_quant_hyp : Evd.evar_map -> Value.t -> Tactypes.quantified_hypothesis
Sourceval coerce_to_int_list : Value.t -> int list
Sourceval error_ltac_variable : ?loc:Loc.t -> Names.Id.t -> (Environ.env * Evd.evar_map) option -> Value.t -> string -> 'a
Sourceval pr_value : (Environ.env * Evd.evar_map) option -> Geninterp.Val.t -> Pp.t
OCaml

Innovation. Community. Security.