package lambdapi

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

Install

Dune Dependency

Authors

Maintainers

Sources

lambdapi-2.5.1.tbz
sha256=2c251021b6fac40c05282ca183902da5b1008e69d9179d7a9543905c2c21a28a
sha512=69535f92766e6fedc2675fc214f0fb699bde2a06aa91d338c93c99756235a293cf16776f6328973dda07cf2ad402e58fe3104a08f1a896990c1778b42f7f9fcf

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

Module Parsing.DkRuleSource

get_args t decomposes the parser level term t into a spine (h,args), when h is the term at the head of the application and args is the list of all its arguments. The arguments are stored together with the position of the corresponding application node in the source code. Note that h is guaranteed not to be a P_Appl node. Term constructors with no equivalent in the dk syntax (like binary symbol applications) are not handled.

add_args t args builds the application of the term t to the arguments args. When args is empty, the returned value is exactly t. Note that this function is the inverse of get_args (in some sense).

Representation of a reduction rule, with its context.

Sourceval to_p_rule : p_dk_rule -> Syntax.p_rule

to_p_rule r transforms the dk representation of a rule into the lp representation.

OCaml

Innovation. Community. Security.