package lambdapi

  1. Overview
  2. Docs
Proof assistant for the λΠ-calculus modulo rewriting

Install

Dune Dependency

Authors

Maintainers

Sources

lambdapi-2.5.0.tbz
sha256=9bc8ae3694dd51bd5742e7aba760bd2878c4b0e5ef9b3d4a7b06f3cd303b611d
sha512=c812c3129b3d85b0c4d7e741d11137dbb4fe2a0aaba3a5968409080b742924ecb506280c19ad83ef6bc910346db96d87780313fa7683c29345edae16ae79c704

doc/lambdapi.parsing/Parsing/Pretty/index.html

Module Parsing.PrettySource

Pretty-printing the parser-level AST.

This module defines functions that allow printing elements of syntax found in the parser-level abstract syntax. This is used, for example, to print a file in the Lambdapi syntax, given the AST obtained when parsing a file in the Dedukti syntax.

Sourceval keyword_table : (string, LpLexer.token) Hashtbl.t

Keywords table.

Sourceval is_keyword : string -> bool
Sourceval raw_ident : string Lplib.Base.pp
Sourceval param_id : Syntax.p_ident option Lplib.Base.pp
Sourceval param_ids : Syntax.p_ident option list Lplib.Base.pp
Sourcetype priority = [
  1. | `Func
  2. | `Appl
  3. | `Atom
]

The possible priority levels are `Func (top level, including abstraction and product), `Appl (application) and `Atom (smallest priority).

Sourceval params_list : Syntax.p_params list Lplib.Base.pp
Sourceval rule : string -> Syntax.p_rule Lplib.Base.pp
Sourceval inductive : string -> Syntax.p_inductive Lplib.Base.pp

unpack eqs transforms a p_term of the form LpLexer.cons (LpLexer.equiv t u) (LpLexer.cons (LpLexer.equiv v w) ...) into a list [(t,u); (v,w); ...]. See unif_rule.ml.

OCaml

Innovation. Community. Security.