package coq

  1. Overview
  2. Docs
Formal proof management system

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.16.0.tar.gz
sha256=36577b55f4a4b1c64682c387de7abea932d0fd42fc0cd5406927dca344f53587

doc/coq-core.kernel/Mod_typing/index.html

Module Mod_typingSource

Main functions for translating module entries

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).

Low-level function for translating a module struct entry :

  • We translate to a module when a ModPath.t is given, otherwise to a module type.
  • The first output is the expanded signature
  • The second output is the algebraic expression, kept mostly for the extraction.

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.