package lambdapi

All checked builds pass
  1. Overview
  2. Docs
Proof assistant for the λΠ-calculus modulo rewriting

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambdapi-4.0.0.tbz
sha256=0e2e73e0ea0c674f1263bf85ed3453ed3d6084d38eea29974a03ba9e382d29d7
sha512=2831db57fcd09206687a92fc9ee7d363e87bcec5167949e9c8161d41c63d5887b9f3556bfd63a7a9a0c12e5a5dc61a397baf4f496ebdb2a2fce122142c05e7a1

doc/lambdapi.export/Export/Stt/index.html

Module Export.SttSource

Base module for translating lp proofs encoded in simple type theory.

Sourceval log : 'a Lplib.Base.outfmt -> 'a
Sourcemodule Qid : sig ... end
Sourcemodule QidMap : sig ... end

Symbols necessary to encode STT.

Sourcetype builtin =
  1. | Set
  2. | Prop
  3. | Arr
  4. | El
  5. | Imp
  6. | All
  7. | Prf
  8. | Eq
  9. | Or
  10. | And
  11. | Ex
  12. | Not
Sourceval index_of_builtin : builtin -> int
Sourceval nb_builtins : int
Sourceval builtin_of_index : int -> builtin
Sourceval index_of_name : string -> int option
Sourceval name_of_index : int -> string
Sourceval builtin : Core.Term.qident array

Set renaming map from file.

Sourceval set_renaming : string -> unit

Set symbols whose declarations have to be erased.

Sourceval mapping : string QidMap.t ref
Sourceval add_mapping : Parsing.Syntax.p_qident -> string -> unit
Sourceval set_mapping : string -> unit
Sourceval current_mp : string list ref
Sourceval is_mapped : string -> bool

Set encoding.

Sourceval encoding : builtin QidMap.t ref
Sourceval add_encoding : QidMap.key -> builtin -> unit
Sourceval set_encoding : string -> unit
Sourceval is_encoded : string -> bool

Map from symbol name to number of type variables (>0). A symbol with no entry is not polymorphic (arity =0).

Sourceval set_tvs_map : string -> unit

Basic printing functions. We use Printf for efficiency reasons.

Sourceval out : ('a, out_channel, unit) format -> 'a
Sourceval char : out_channel -> char -> unit
Sourceval newline : out_channel -> unit
Sourceval string : out_channel -> string -> unit
Sourceval int : out_channel -> int -> unit
Sourceval prefix : string -> (out_channel -> 'a -> 'b) -> out_channel -> 'a -> 'b
Sourceval suffix : (out_channel -> 'a -> 'b) -> string -> out_channel -> 'a -> unit
Sourceval list : (out_channel -> 'a -> unit) -> string -> out_channel -> 'a list -> unit

Translation of identifiers.

Sourceval check : (Common.Pos.popt -> string -> unit) ref
Sourceval translate_ident : Lplib.Extra.StrMap.key Common.Pos.loc -> string
Sourceval param_ids : out_channel -> Lplib.Extra.StrMap.key Common.Pos.loc option list -> unit
Sourceval path_elt : Common.Pos.popt -> out_channel -> string -> unit
Sourceval path : out_channel -> string list Common.Pos.loc -> unit

Translation of terms.

Sourceval stt : bool ref
Sourceval use_implicits : bool ref
Sourceval use_notations : bool ref

Set required file.

Sourceval require : string option ref
Sourceval set_requiring : string -> unit