package rocq-runtime

  1. Overview
  2. Docs
On This Page
  1. Notations
The Rocq Prover -- Core Binaries and Tools

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.0.1.tar.gz
sha256=051f7bf702ff0a3b370449728921e5a95e18bc2b31b8eb949d48422888c98af4

doc/ltac2_plugin/Ltac2_plugin/Tac2intern/index.html

Module Ltac2_plugin.Tac2internSource

Sourcetype context = (Names.Id.t * Tac2expr.type_scheme) list
Sourceval genintern_warn_not_unit : ?check_unused:bool -> Genintern.glob_sign -> (Names.Name.t * Tac2typing_env.mix_type_scheme) list -> Tac2expr.raw_tacexpr -> Tac2expr.glb_tacexpr

check_unused is deault true

Sourceval is_value : Tac2expr.glb_tacexpr -> bool

Check that a term is a value. Only values are safe to marshall between processes.

Sourceval is_pure_constructor : Tac2expr.type_constant -> bool
Sourceval check_unit : ?loc:Loc.t -> Tac2expr.type_scheme -> unit
Sourceval check_subtype : Tac2expr.type_scheme -> Tac2expr.type_scheme -> bool

check_subtype t1 t2 returns true iff all values of instances of type t1 also have type t2.

Notations

Replaces all qualified identifiers by their corresponding kernel name. The set represents bound variables in the context.

Sourceval debug_globalize_allow_ext : Names.Id.Set.t -> Tac2expr.raw_tacexpr -> Tac2expr.raw_tacexpr

Variant of globalize which can accept CTacExt using the provided function. Intended for debugging.

Errors

Sourceval error_nargs_mismatch : ?loc:Loc.t -> Tac2expr.ltac_constructor -> int -> int -> 'a
Sourceval error_nparams_mismatch : ?loc:Loc.t -> int -> int -> 'a

Misc