Module Solver.Lit
module T = TLiterals depend on terms
val sign : t -> boolGet the sign. A negated literal has sign
false.
val atom : T.Term.store -> ?sign:bool -> T.Term.t -> tatom store tmakes a literal out of a term, possibly normalizing its sign in the process.- parameter sign
if provided, and
sign=false, negate the resulting lit.
val norm_sign : t -> t * boolnorm_sign (+t)is+t, true, andnorm_sign (-t)is+t, false. In both cases the term is positive, and the boolean reflects the initial sign.
val equal : t -> t -> boolval hash : t -> intval pp : t Sidekick_core.Fmt.printer