package msat
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=ba623630b0b8e0edc016079dd214c80b
sha512=51c133cefe8550125e7b1db18549e893bac15663fdd7a9fac87235c07de755f39eab9fc3cfdf6571612fd79b3d5b22f49f459581b480c7349bacddf2618c8a99
doc/msat.tseitin/Msat_tseitin/Make/index.html
Module Msat_tseitin.Make
This functor provides an implementation of Tseitin's CNF conversion.
CNF conversion
This modules converts arbitrary boolean formulas into CNF.
Parameters
Signature
type atom = F.tThe type of atomic formulas.
The type of arbitrary boolean formulas. Arbitrary boolean formulas can be built using functions in this module, and then converted to a CNF, which is a list of clauses that only use atomic formulas.
val f_true : tThe true formula, i.e a formula that is always satisfied.
val f_false : tThe false formula, i.e a formula that cannot be satisfied.
Creates the conjunction of a list of formulas. An empty conjunction is always satisfied.
Creates the disjunction of a list of formulas. An empty disjunction is never satisfied.
make_cnf f returns a conjunctive normal form of f under the form: a list (which is a conjunction) of lists (which are disjunctions) of atomic formulas.
val pp : Format.formatter -> t -> unitprint fmt f prints the formula on the formatter fmt.