package dolmen

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Term.ConstSource

A module for constant symbols that occur in terms.

The type of constant symbols that can occur in terms

Sourceval print : Format.formatter -> t -> unit

Printer.

Sourceval hash : t -> int

A hash function for term constants, should be suitable to create hashtables.

Sourceval equal : t -> t -> bool

An equality function on term constants. Should be compatible with the hash function.

Sourceval compare : t -> t -> int

Comparison function on variables.

Sourceval ty : t -> ty

Returns the type of a term constant.

Sourceval mk : Path.t -> ty -> t

Create a constant symbol.

Sourceval get_tag : t -> 'a Tag.t -> 'a option

Get the value bound to a tag.

Sourceval get_tag_list : t -> 'a list Tag.t -> 'a list

Get the list of values bound to a list tag, returning the empty list if no value is bound.

Sourceval get_tag_last : t -> 'a list Tag.t -> 'a option

Get the last value bound to a list tag.

Sourceval set_tag : t -> 'a Tag.t -> 'a -> unit

Set the value bound to the tag.

Sourceval add_tag : t -> 'a list Tag.t -> 'a -> unit

Bind an additional value to a list tag.

Sourceval add_tag_opt : t -> 'a list Tag.t -> 'a option -> unit

Optionally bind an additional value to a list tag.

Sourceval add_tag_list : t -> 'a list Tag.t -> 'a list -> unit

Bind a list of additional values to a list tag.

Sourceval unset_tag : t -> _ Tag.t -> unit

Remove the binding to the given tag.

Satisfy the required interface for the typing of tptp's Thf.

include Dolmen_intf.Term.Tptp_Thf_Core_Const with type t := t
Sourceval _true : t

The smybol for true

Sourceval _false : t

The symbol for false

Sourceval neg : t

Negation.

Sourceval or_ : t

Binary disjunction of formulas

Sourceval and_ : t

Binary conjunction of formulas

Sourceval nand : t

Not-and

Sourceval nor : t

Not-or

Sourceval imply : t

Implication

Sourceval implied : t

Reverse implication

Sourceval equiv : t

Equivalence

Sourceval xor : t

Exclusive disjunction.

Sourceval ite : t

ite condition then_t else_t creates a conditional branch.

Sourceval eq : t

Build the equality of two terms.

Sourceval neq : t

Binary disequality.

Sourceval pi : t

Higher-order encoding of universla quantification.

Sourceval sigma : t

Higher-order encoding of existancial quantification.

Sourceval eqs : int -> t

n-ary equality.

Sourceval distinct : int -> t

n-ary disequality.

Sourceval _and : int -> t

n-ary conjonction.

Sourceval _or : int -> t

n-ary disjunction.

Sourceval coerce : t

Type coercion.

Sourceval multi_trigger : int -> t

Multi_triggers, indexed by the number of triggers.

Sourceval semantic_trigger : t

Semantic_triggers.

Sourceval maps_to : t

Mapping (used in triggers).

Sourcemodule Int : sig ... end

A module for integer constant symbols that occur in terms.

Sourcemodule Rat : sig ... end

A module for rational constant symbols that occur in terms.

Sourcemodule Real : sig ... end

A module for real constant symbols that occur in terms.

Sourcemodule Array : sig ... end

A module for array constant symbols that occur in terms.

Sourcemodule Bitv : sig ... end

A module for bit vector constant symbols that occur in terms.

Sourcemodule Float : sig ... end

A module for floating point constant symbols that occur in terms.

Sourcemodule String : sig ... end

A module for string constant symbols that occur in terms.

OCaml

Innovation. Community. Security.