module type S =sig..end
SMT formulas
type t
The type of atomic formulas.
type proof
An abstract type for proofs
val equal : t -> t -> boolEquality over formulas.
val hash : t -> intHashing function for formulas. Should be such that two formulas equal according
to Expr_intf.S.equal have the same hash.
val print : Format.formatter -> t -> unitPrinting function used among other thing for debugging.
val dummy : tFormula constant. A valid formula should never be physically equal to dummy
val neg : t -> tFormula negation. Should be an involution, i.e. equal a (neg neg a) should
always hold.
val norm : t -> t * Formula_intf.negatedReturns a 'normalized' form of the formula, possibly negated
(in which case return Negated). This function is used to recognize
the link between a formula a and its negation neg a, so the goal is
that a and neg a normalise to the same formula,
but one returns Same_sign and the other one returns Negated