package dolmen_type

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = Type.T.t

The type of terms

val void : t

The only value of type unit.

val eq : t -> t -> t

Build the equality of two terms.

val _true : t

The smybol for true

val _false : t

The symbol for false

val neg : t -> t

Negation.

val _or : t list -> t

Disjunction of formulas

val _and : t list -> t

Conjunction of formulas

val imply : t -> t -> t

Implication

val equiv : t -> t -> t

Equivalence

val xor : t -> t -> t

Exclusive disjunction.

val ite : t -> t -> t -> t

ite condition then_t else_t creates a conditional branch.

val distinct : t list -> t

Distinct constraints on terms.

val in_interval : t -> (bool * bool) -> t -> t -> t

Semantic trigger: "in interval" check.

val maps_to : Type.T.Var.t -> t -> t

Semantic trigger: maps to.