package rocq-runtime

  1. Overview
  2. Docs
The Rocq Prover -- Core Binaries and Tools

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.3.0.tar.gz
sha256=3f0fc283e8644394aa9c7a6e3995b6d9ebbe1e6dda712bf431f9c372dcef95ad

doc/ltac_plugin/Ltac_plugin/Tacinterp/index.html

Module Ltac_plugin.TacinterpSource

Sourceval ltac_trace_info : Tacexpr.ltac_stack Exninfo.t
Sourcemodule TacStore = Tacenv.TacStore
Sourcetype interp_sign = Tacenv.interp_sign = {
  1. lfun : Geninterp.Val.t Names.Id.Map.t;
  2. poly : PolyFlags.t;
  3. extra : TacStore.t;
}

Signature for interpretation: val\_interp and interpretation functions

Sourcemodule Value : sig ... end
Sourcetype value = Value.t

Values for interpretation

Sourceval extract_loc : interp_sign -> Loc.t option

Given an interpretation signature, extract all values which are coercible to a constr.

Sourceval set_debug : Tactic_debug.debug_info -> unit

Sets the debugger mode

Sourceval get_debug : unit -> Tactic_debug.debug_info

Gives the state of debug

Adds an interpretation function for extra generic arguments

Sourceval interp_genarg : (_, 'glb, 'top) Genarg.genarg_type -> interp_sign -> 'glb -> 'top Ftactic.t

Interprets any expression

Interprets an expression that evaluates to a constr

Interprets redexp arguments

Interprets tactic expressions

Initial call for interpretation

Same as eval_tactic, but with the provided interp_sign.

Sourceval tactic_of_value : interp_sign -> Tacarg.tacvalue -> unit Proofview.tactic
Sourceval tactic_of_val : interp_sign -> Value.t -> unit Proofview.tactic

Globalization + interpretation

Sourcetype ltac_expr = {
  1. global : bool;
  2. ast : Tacexpr.raw_tactic_expr;
}

Hides interpretation for pretty-print

Internals that can be useful for syntax extensions.

Sourceval interp_ltac_var : (value -> 'a) -> interp_sign -> (Environ.env * Evd.evar_map) option -> Names.lident -> 'a
Sourceval interp_int : interp_sign -> Names.lident -> int
Sourceval interp_int_or_var : interp_sign -> int Locus.or_var -> int
Sourceval default_ist : unit -> interp_sign

Empty ist with debug set on the current value.

Sourcemodule Register : sig ... end