package lambdapi

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

Install

Dune Dependency

Authors

Maintainers

Sources

lambdapi-2.6.0.tbz
sha256=d01e5f13db2eaba6e4fe330667149e0059d4886c651ff9d6b672db2dfc9765ed
sha512=33b68c972aca37985ed73c527076198e7d4961c7e27c89cdabfe4d1cff97cd41ccfb85ae9499eb98ad9a0aefd920bc55555df6393fc441ac2429e4d99cddafa8

doc/lambdapi.core/Core/Print/index.html

Module Core.PrintSource

Pretty-printing for the core AST.

The functions of this module are used for printing terms and other objects defined in the Term module. This is mainly used for displaying log messages, and feedback in case of success or error while type-checking terms or testing convertibility.

Sourceval log_prnt : 'a Lplib.Base.outfmt -> 'a
Sourceval sig_state : Sig_state.sig_state Timed.ref

Current signature state.

Sourceval notation_of : Term.sym -> float Sign.notation option

notation_of s returns the notation of symbol s or None.

Sourceval print_domains : bool Timed.ref

Flag for printing the domains of λ-abstractions.

Sourceval print_implicits : bool Timed.ref

Flag for printing implicit arguments.

Sourceval print_meta_types : bool Timed.ref

Flag for printing the type of uninstanciated metavariables. Remark: this does not generate parsable terms; use for debug only.

Sourceval print_contexts : bool Timed.ref

Flag for printing contexts in unification problems.

Sourceval print_meta_args : bool Timed.ref

Flag for printing metavariable arguments.

Sourceval uid : string Lplib.Base.pp
Sourceval do_not_qualify : bool Timed.ref
Sourceval without_qualifying : (unit -> 'a) -> 'a
Sourceexception Not_a_nat

Exception raised when trying to convert a term into a nat.

Sourceval nat_of_term : Term.term -> int

nat_of_term t converts a term into a natural number.

Sourceval pos_of_term : Term.term -> int

pos_of_term t converts a term into a positive number.

Sourceval int_of_term : Term.term -> int

int_of_term t converts a term into a positive number.

Sourceval are_quant_args : Term.term list -> bool

are_quant_args args returns true iff args has only one argument that is an abstraction.

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 prod : (Term.term * bool list) Lplib.Base.pp
Sourceval constrs : Term.constr list Lplib.Base.pp
OCaml

Innovation. Community. Security.