package lambdapi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambdapi-2.0.0.tbz
sha256=66d7d29f7a0d10493b8178c4c3aeb247971e24fab3eba1c54887e1b9a82fe005
sha512=69ecf2406e4c7225ab7f8ebe11624db5d2ab989c8f30f5b6e5d426fd8ef9102f142a2840af16fb9103bb712ebcf7d314635f8b413a05df66e7b7a38548867032

doc/lambdapi.tool/Tool/Xtc/index.html

Module Tool.XtcSource

This module provides a function to translate a signature to the XTC format used in the termination competition.

print_sym ppf s outputs the fully qualified name of s to ppf. Modules are separated with ".".

Sourcetype symb_status =
  1. | Object_level
  2. | Basic_type
  3. | Type_cstr

status s returns Type_cstr if s has a type of the form T1 -> ... -> Tn -> TYPE with n > 0, Basic_type if s has type TYPE and Object_level otherwise.

Sourceval print_term : int -> string -> Core.Term.term Lplib.Base.pp

print_term ppf p outputs XTC format corresponding to the term t, to ppf.

Sourceval print_type : int -> string -> Core.Term.term Lplib.Base.pp
Sourceval print_rule : Format.formatter -> int -> Core.Term.sym -> Core.Term.rule -> unit

print_rule ppf s r outputs the rule declaration corresponding r (on the symbol s), to ppf.

Sourceval print_tl_rule : Format.formatter -> int -> Core.Term.sym -> Core.Term.rule -> unit

print_tl_rule is identical to print_rule but for type-level rule

Sourceval get_vars : Core.Term.sym -> Core.Term.rule -> (string * Core.Term.term) list

get_vars s r returns the list of variables used in the rule r, in the form of a pair containing the name of the variable and its type, inferred by the solver.

Sourceval to_XTC : Format.formatter -> Core.Sign.t -> unit

to_XTC ppf sign outputs a XTC representation of the rewriting system of the signature sign to ppf.