Module Batsat.Lit
val equal : t -> t -> bool
val hash : t -> int
val compare : t -> t -> int
val make : int -> t
make n
creates the literal whose index isn
. NOTEn
must be strictly positive. Useneg
to obtain the negation of a literal.
val sign : t -> bool
Sign:
true
if the literal is positive,false
for a negated literal. Invariants:sign (abs x) = true
sign (neg x) = not (sign x)