package mc2

  1. Overview
  2. Docs

Values

A value belongs in models. Every term must eventually be assigned to a value.

type t
type view
val equal : t -> t -> bool
val hash : t -> int
val is_bool : t -> bool
val is_true : t -> bool
val is_false : t -> bool
val as_bool : t -> bool option
val as_bool_exn : t -> bool
val bool_neg : t -> t
val view : t -> Mc2_core__.Solver_types.value_view

non-bool only

val tc : t -> Mc2_core__.Solver_types.tc_value

non-bool only

non-bool only

val true_ : t
val false_ : t
val of_bool : bool -> t
val make : Mc2_core__.Solver_types.tc_value -> view -> t

Main construction for values

module Tbl : CCHashtbl.S with type key = t
module TC : sig ... end
OCaml

Innovation. Community. Security.