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/ltac2_plugin/Ltac2_plugin/Tac2typing_env/index.html

Module Ltac2_plugin.Tac2typing_envSource

Sourcemodule TVar : sig ... end
Sourcetype t
Sourceval empty_env : ?strict:bool -> unit -> t

default strict:true

Sourceval set_rec : (Names.KerName.t * int) Names.Id.Map.t -> t -> t
Sourceval reject_unbound_tvar : t -> t
Sourceval env_strict : t -> bool
Sourceval env_name : t -> TVar.t -> string
Sourceval fresh_id : t -> TVar.t
Sourceval get_alias : Names.lident -> t -> TVar.t
Sourceval find_rec_var : Names.Id.t -> t -> (Names.KerName.t * int) option
Sourcetype mix_var =
  1. | GVar of TVar.t
  2. | LVar of int
Sourcetype mix_type_scheme = int * mix_var Tac2expr.glb_typexpr
Sourceval mem_var : Names.Id.t -> t -> bool
Sourceval find_var : Names.Id.t -> t -> mix_type_scheme
Sourceval is_used_var : Names.Id.t -> t -> bool
Sourceval bound_vars : t -> Names.Id.Set.t

View function, allows to ensure head normal forms

Sourceval pr_glbtype : t -> TVar.t Tac2expr.glb_typexpr -> Pp.t
Sourceval eq_or_tuple : ('a -> 'b -> bool) -> 'a Tac2expr.or_tuple -> 'b Tac2expr.or_tuple -> bool

unify0 raises CannotUnify, unify raises usererror

Sourceval push_name : Names.Name.t -> mix_type_scheme -> t -> t
Sourceval normalize : t -> (int Stdlib.ref * int Tac2expr.glb_typexpr TVar.Map.t Stdlib.ref) -> TVar.t Tac2expr.glb_typexpr -> int Tac2expr.glb_typexpr
OCaml

Innovation. Community. Security.