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/rocq-runtime.kernel/Mod_typing/index.html

Module Mod_typingSource

Main functions for translating module entries

Sourcetype 'a vm_handler = {
  1. vm_handler : Environ.env -> Declarations.universes -> Constr.t -> 'a -> 'a * Vmlibrary.indirect_code option;
}
Sourcetype 'a vm_state = 'a * 'a vm_handler

translate_module produces a module_body out of a module_entry. In the output fields:

  • mod_expr is Abstract for a MType entry, or Algebraic for MExpr.
  • mod_type_alg is None only for a MExpr without explicit signature.

translate_modtype produces a module_type_body whose mod_type_alg cannot be None (and of course mod_expr is Abstract).

From an already-translated (or interactive) implementation and an (optional) signature entry, produces a final module_body

translate_mse_incl translate the mse of a module or module type given to an Include

OCaml

Innovation. Community. Security.