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

Module Export.LeanSource

Translate parser-level Lambdapi commands to Lean.

There are two modes:

  • raw_lean: translation of commands as they are
  • stt_lean: 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.

Sourceval is_typ_Set : Parsing.Syntax.p_term_aux Common.Pos.loc option -> bool
Sourceval nonempty : out_channel -> Lplib.Extra.StrMap.key Common.Pos.loc option list -> unit

Translation of terms.

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

Translation of commands.

Sourceval req_mod : out_channel -> string list Common.Pos.loc -> unit
Sourceval open_mod : out_channel -> string list Common.Pos.loc -> unit
Sourceval openings : Parsing.Syntax.p_path list ref
Sourceval typ_vars : out_channel -> int -> unit
Sourceval unset_option : out_channel -> string -> unit
Sourceval print : string -> Parsing.Syntax.p_commands -> unit