module Expr:sig..end
The module defining formulas
SAT Formulas
This modules implements formuals adequate for use in a pure SAT Solver. Atomic formuals are represented using integers, that should allow near optimal efficiency (both in terms of space and time).
include Formula_intf.S
This modules implements the requirements for implementing an SAT Solver.
val make : int -> tMake a proposition from an integer.
val fresh : unit -> tMake a fresh atom
val compare : t -> t -> intCompare atoms
val sign : t -> boolIs the given atom positive ?
val apply_sign : bool -> t -> tapply_sign b is the identity if b is true, and the negation
function if b is false.
val set_sign : bool -> t -> tReturn the atom with the sign set.