package msat

  1. Overview
  2. Docs

Parameters

module Log : Log_intf.S

Signature

exception Bad_atom
type atom = Fsat.t
type clause
type proof
type res =
  1. | Sat
  2. | Unsat
val new_atom : unit -> atom
val make : int -> atom
val neg : atom -> atom
val abs : atom -> atom
val sign : atom -> bool
val apply_sign : bool -> atom -> atom
val set_sign : bool -> atom -> atom
val hash : atom -> int
val equal : atom -> atom -> bool
val compare : atom -> atom -> int
val iter_atoms : (atom -> unit) -> unit
val solve : unit -> res
val eval : atom -> bool
val assume : ?tag:int -> atom list list -> unit
val tag_clause : clause -> int option
val get_proof : unit -> proof
val unsat_core : proof -> clause list
val print_atom : Format.formatter -> atom -> unit
val print_clause : Format.formatter -> clause -> unit
val print_proof : Format.formatter -> proof -> unit
OCaml

Innovation. Community. Security.