package lambdapi

All checked builds pass
  1. Overview
  2. Docs
Proof assistant for the λΠ-calculus modulo rewriting

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambdapi-4.0.0.tbz
sha256=0e2e73e0ea0c674f1263bf85ed3453ed3d6084d38eea29974a03ba9e382d29d7
sha512=2831db57fcd09206687a92fc9ee7d363e87bcec5167949e9c8161d41c63d5887b9f3556bfd63a7a9a0c12e5a5dc61a397baf4f496ebdb2a2fce122142c05e7a1

doc/lambdapi.export/Export/Coq/index.html

Module Export.CoqSource

Translate parser-level Lambdapi commands to Rocq.

There are two modes:

  • raw_coq: translation of commands as they are
  • stt_coq: translation of commands modulo an encoding of simple type theory specified through a lambdapi file with the option --encoding. A map giving the number of type variables of each function symbol can be given as a .tvs file (as generated by hol2dk) with the option --arities.

In both modes, a renaming map can be provided with the option --renaming to rename some identifiers.

Valid Rocq identifiers (excluding unicode characters).

Sourceval is_valid_first_letter : char -> bool
Sourceval is_valid_letter : char -> bool
Sourceval is_valid_rocq_id : string -> bool

Translation of terms.

Sourceval raw_params : out_channel -> Parsing.Syntax.p_params -> unit
Sourceval params_list : out_channel -> Parsing.Syntax.p_params list -> unit
Sourceval params_list_in_abs : out_channel -> Parsing.Syntax.p_params list -> unit

Translation of commands.