Minisat.LitSome representation of literals that will be accepted by minisat. NOTE the representation used by minisat is not based on sign but parity. Do not try to encode negative literals as negative integers.
val hash : t -> intval make : int -> tmake n creates the literal whose index is n. NOTE n must be strictly positive. Use neg to obtain the negation of a literal.
val sign : t -> boolSign: true if the literal is positive, false for a negated literal. Invariants: sign (abs x) = true sign (neg x) = not (sign x)
val to_int : t -> intval to_string : t -> string