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/Tac2print/index.html

Module Ltac2_plugin.Tac2printSource

Prints the shortest name for the constant. Also works for constants not in the nametab (because they're local to another module).

Printing types
Sourcetype typ_level =
  1. | T5_l
  2. | T5_r
  3. | T2
  4. | T1
  5. | T0
Sourceval pr_glbtype_gen : ('a -> string) -> typ_level -> 'a Tac2expr.glb_typexpr -> Pp.t
Sourceval pr_glbtype : ('a -> string) -> 'a Tac2expr.glb_typexpr -> Pp.t
Printing expressions
Sourceval pr_constructor : Tac2expr.ltac_constructor -> Pp.t
Sourceval pr_internal_constructor : Tac2expr.type_constant -> int -> bool -> Pp.t
Sourceval pr_projection : Tac2expr.ltac_projection -> Pp.t
Sourceval pr_glbexpr : avoid:Names.Id.Set.t -> Tac2expr.glb_tacexpr -> Pp.t
Sourceval pr_partial_pat : Tac2expr.PartialPat.t -> Pp.t
Sourceval partial_pat_of_glb_pat : Tac2expr.glb_pat -> Tac2expr.PartialPat.t

Utility function

Printing values
Sourcetype val_printer = {
  1. val_printer : 'a. Environ.env -> Evd.evar_map -> Tac2val.valexpr -> 'a Tac2expr.glb_typexpr list -> Pp.t;
}
Sourceval register_val_printer : Tac2expr.type_constant -> val_printer -> unit
Utilities
Sourceval int_name : unit -> int -> string

Create a function that give names to integers. The names are generated on the fly, in the order they are encountered.

Ltac2 primitives
Sourcetype format =
  1. | FmtString
  2. | FmtInt
  3. | FmtConstr
  4. | FmtIdent
  5. | FmtLiteral of string
  6. | FmtAlpha
Sourceval val_format : format list Tac2dyn.Val.tag
Sourceexception InvalidFormat
Sourceval parse_format : string -> format list
OCaml

Innovation. Community. Security.