package dolmen
A module for constant symbols that occur in terms.
type t = term_cst
The type of constant symbols that can occur in terms
val print : Stdlib.Format.formatter -> t -> unit
Printer.
val hash : t -> int
A hash function for term constants, should be suitable to create hashtables.
An equality function on term constants. Should be compatible with the hash function.
val arity : t -> int * int
Returns the arity of a term constant.
Get the list of values bound to a list tag, returning the empty list if no value is bound.
Optionally bind an additional value to a list tag.
Bind a list of additional values to a list tag.
Satisfy the required interface for the typing of tptp's Thf.
include Dolmen_intf.Term.Tptp_Thf_Core_Const with type t := t
val _true : t
The smybol for true
val _false : t
The symbol for false
val neg : t
Negation.
val or_ : t
Binary disjunction of formulas
val and_ : t
Binary conjunction of formulas
val nand : t
Not-and
val nor : t
Not-or
val imply : t
Implication
val implied : t
Reverse implication
val equiv : t
Equivalence
val xor : t
Exclusive disjunction.
val ite : t
ite condition then_t else_t
creates a conditional branch.
val eq : t
Build the equality of two terms.
val neq : t
Binary disequality.
val pi : t
Higher-order encoding of universla quantification.
val sigma : t
Higher-order encoding of existancial quantification.