package msat
Install
Dune Dependency
Authors
Maintainers
Sources
md5=d13411fc725e3b53343f7c389560fbdf
sha512=8ecc179e61a695c69bba5014f10e8c80b4366bec365ffe7e3274ab3d7510388f91c792ce5e7950f50f44fb556a4b66aa3cc19a745a57eac1dd09c12a0081916b
doc/msat.sat/Msat_sat/Int_lit/index.html
Module Msat_sat.Int_lit
Source
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).
This modules implements the requirements for implementing an SAT Solver.
include Msat.Solver_intf.FORMULA
The type of atomic formulas over terms.
Hashing function for formulas. Should be such that two formulas equal according to Expr_intf.S.equal
have the same hash.
Printing function used among other thing for debugging.
Returns a 'normalized' form of the formula, possibly negated (in which case return Negated
). norm
must be so that a
and neg a
normalise to the same formula, but one returns Negated
and the other Same_sign
.
apply_sign b
is the identity if b
is true
, and the negation function if b
is false
.