package lambdapi
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=920de48ec6c2c3223b6b93879bb65d07ea24aa27f7f7176b3de16e5e467b9939
sha512=135f132730825adeb084669222e68bc999de97b12378fae6abcd9f91ae13093eab29fa49c854adb28d064d52c9890c0f5c8ff9d47a9916f66fe5e0fba3479759
doc/lambdapi.export/Export/Xtc/index.html
Module Export.Xtc
Source
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 "."
.
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.
print_term ppf p
outputs XTC format corresponding to the term t
, to ppf
.
print_rule ppf s r
outputs the rule declaration corresponding r
(on the symbol s
), to ppf
.
print_tl_rule
is identical to print_rule
but for type-level rule
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.
to_XTC ppf sign
outputs a XTC representation of the rewriting system of the signature sign
to ppf
.